@aws-sdk/client-compute-optimizer-automation 3.938.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 (173) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +392 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1668 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +56 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +41 -0
  11. package/dist-es/ComputeOptimizerAutomation.js +53 -0
  12. package/dist-es/ComputeOptimizerAutomationClient.js +50 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/commands/AssociateAccountsCommand.js +16 -0
  16. package/dist-es/commands/CreateAutomationRuleCommand.js +16 -0
  17. package/dist-es/commands/DeleteAutomationRuleCommand.js +16 -0
  18. package/dist-es/commands/DisassociateAccountsCommand.js +16 -0
  19. package/dist-es/commands/GetAutomationEventCommand.js +16 -0
  20. package/dist-es/commands/GetAutomationRuleCommand.js +16 -0
  21. package/dist-es/commands/GetEnrollmentConfigurationCommand.js +16 -0
  22. package/dist-es/commands/ListAccountsCommand.js +16 -0
  23. package/dist-es/commands/ListAutomationEventStepsCommand.js +16 -0
  24. package/dist-es/commands/ListAutomationEventSummariesCommand.js +16 -0
  25. package/dist-es/commands/ListAutomationEventsCommand.js +16 -0
  26. package/dist-es/commands/ListAutomationRulePreviewCommand.js +16 -0
  27. package/dist-es/commands/ListAutomationRulePreviewSummariesCommand.js +16 -0
  28. package/dist-es/commands/ListAutomationRulesCommand.js +16 -0
  29. package/dist-es/commands/ListRecommendedActionSummariesCommand.js +16 -0
  30. package/dist-es/commands/ListRecommendedActionsCommand.js +16 -0
  31. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  32. package/dist-es/commands/RollbackAutomationEventCommand.js +16 -0
  33. package/dist-es/commands/StartAutomationEventCommand.js +16 -0
  34. package/dist-es/commands/TagResourceCommand.js +16 -0
  35. package/dist-es/commands/UntagResourceCommand.js +16 -0
  36. package/dist-es/commands/UpdateAutomationRuleCommand.js +16 -0
  37. package/dist-es/commands/UpdateEnrollmentConfigurationCommand.js +16 -0
  38. package/dist-es/commands/index.js +23 -0
  39. package/dist-es/endpoint/EndpointParameters.js +13 -0
  40. package/dist-es/endpoint/endpointResolver.js +14 -0
  41. package/dist-es/endpoint/ruleset.js +4 -0
  42. package/dist-es/extensionConfiguration.js +1 -0
  43. package/dist-es/index.js +7 -0
  44. package/dist-es/models/ComputeOptimizerAutomationServiceException.js +8 -0
  45. package/dist-es/models/enums.js +74 -0
  46. package/dist-es/models/errors.js +145 -0
  47. package/dist-es/models/models_0.js +28 -0
  48. package/dist-es/pagination/Interfaces.js +1 -0
  49. package/dist-es/pagination/ListAccountsPaginator.js +4 -0
  50. package/dist-es/pagination/ListAutomationEventStepsPaginator.js +4 -0
  51. package/dist-es/pagination/ListAutomationEventSummariesPaginator.js +4 -0
  52. package/dist-es/pagination/ListAutomationEventsPaginator.js +4 -0
  53. package/dist-es/pagination/ListAutomationRulePreviewPaginator.js +4 -0
  54. package/dist-es/pagination/ListAutomationRulePreviewSummariesPaginator.js +4 -0
  55. package/dist-es/pagination/ListAutomationRulesPaginator.js +4 -0
  56. package/dist-es/pagination/ListRecommendedActionSummariesPaginator.js +4 -0
  57. package/dist-es/pagination/ListRecommendedActionsPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +10 -0
  59. package/dist-es/runtimeConfig.browser.js +34 -0
  60. package/dist-es/runtimeConfig.js +51 -0
  61. package/dist-es/runtimeConfig.native.js +11 -0
  62. package/dist-es/runtimeConfig.shared.js +37 -0
  63. package/dist-es/runtimeExtensions.js +9 -0
  64. package/dist-es/schemas/schemas_0.js +950 -0
  65. package/dist-types/ComputeOptimizerAutomation.d.ts +178 -0
  66. package/dist-types/ComputeOptimizerAutomationClient.d.ts +219 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  69. package/dist-types/commands/AssociateAccountsCommand.d.ts +112 -0
  70. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +294 -0
  71. package/dist-types/commands/DeleteAutomationRuleCommand.d.ts +104 -0
  72. package/dist-types/commands/DisassociateAccountsCommand.d.ts +112 -0
  73. package/dist-types/commands/GetAutomationEventCommand.d.ts +117 -0
  74. package/dist-types/commands/GetAutomationRuleCommand.d.ts +195 -0
  75. package/dist-types/commands/GetEnrollmentConfigurationCommand.d.ts +99 -0
  76. package/dist-types/commands/ListAccountsCommand.d.ts +108 -0
  77. package/dist-types/commands/ListAutomationEventStepsCommand.d.ts +117 -0
  78. package/dist-types/commands/ListAutomationEventSummariesCommand.d.ts +130 -0
  79. package/dist-types/commands/ListAutomationEventsCommand.d.ts +130 -0
  80. package/dist-types/commands/ListAutomationRulePreviewCommand.d.ts +219 -0
  81. package/dist-types/commands/ListAutomationRulePreviewSummariesCommand.d.ts +186 -0
  82. package/dist-types/commands/ListAutomationRulesCommand.d.ts +133 -0
  83. package/dist-types/commands/ListRecommendedActionSummariesCommand.d.ts +118 -0
  84. package/dist-types/commands/ListRecommendedActionsCommand.d.ts +151 -0
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +103 -0
  86. package/dist-types/commands/RollbackAutomationEventCommand.d.ts +106 -0
  87. package/dist-types/commands/StartAutomationEventCommand.d.ts +110 -0
  88. package/dist-types/commands/TagResourceCommand.d.ts +110 -0
  89. package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
  90. package/dist-types/commands/UpdateAutomationRuleCommand.d.ts +281 -0
  91. package/dist-types/commands/UpdateEnrollmentConfigurationCommand.d.ts +110 -0
  92. package/dist-types/commands/index.d.ts +23 -0
  93. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  94. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  95. package/dist-types/endpoint/ruleset.d.ts +2 -0
  96. package/dist-types/extensionConfiguration.d.ts +9 -0
  97. package/dist-types/index.d.ts +16 -0
  98. package/dist-types/models/ComputeOptimizerAutomationServiceException.d.ts +14 -0
  99. package/dist-types/models/enums.d.ts +178 -0
  100. package/dist-types/models/errors.d.ts +146 -0
  101. package/dist-types/models/models_0.d.ts +2028 -0
  102. package/dist-types/pagination/Interfaces.d.ts +8 -0
  103. package/dist-types/pagination/ListAccountsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/ListAutomationEventStepsPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListAutomationEventSummariesPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListAutomationEventsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/ListAutomationRulePreviewPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListAutomationRulePreviewSummariesPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListAutomationRulesPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListRecommendedActionSummariesPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListRecommendedActionsPaginator.d.ts +7 -0
  112. package/dist-types/pagination/index.d.ts +10 -0
  113. package/dist-types/runtimeConfig.browser.d.ts +51 -0
  114. package/dist-types/runtimeConfig.d.ts +51 -0
  115. package/dist-types/runtimeConfig.native.d.ts +50 -0
  116. package/dist-types/runtimeConfig.shared.d.ts +22 -0
  117. package/dist-types/runtimeExtensions.d.ts +17 -0
  118. package/dist-types/schemas/schemas_0.d.ts +141 -0
  119. package/dist-types/ts3.4/ComputeOptimizerAutomation.d.ts +411 -0
  120. package/dist-types/ts3.4/ComputeOptimizerAutomationClient.d.ts +264 -0
  121. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  122. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  123. package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/DeleteAutomationRuleCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/GetAutomationEventCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/GetAutomationRuleCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/GetEnrollmentConfigurationCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +47 -0
  131. package/dist-types/ts3.4/commands/ListAutomationEventStepsCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/ListAutomationEventSummariesCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/ListAutomationEventsCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/ListAutomationRulePreviewCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/ListAutomationRulePreviewSummariesCommand.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/ListRecommendedActionSummariesCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  140. package/dist-types/ts3.4/commands/RollbackAutomationEventCommand.d.ts +51 -0
  141. package/dist-types/ts3.4/commands/StartAutomationEventCommand.d.ts +51 -0
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  143. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  144. package/dist-types/ts3.4/commands/UpdateAutomationRuleCommand.d.ts +51 -0
  145. package/dist-types/ts3.4/commands/UpdateEnrollmentConfigurationCommand.d.ts +51 -0
  146. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  147. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  148. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  149. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  150. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  151. package/dist-types/ts3.4/index.d.ts +11 -0
  152. package/dist-types/ts3.4/models/ComputeOptimizerAutomationServiceException.d.ts +9 -0
  153. package/dist-types/ts3.4/models/enums.d.ts +93 -0
  154. package/dist-types/ts3.4/models/errors.d.ts +87 -0
  155. package/dist-types/ts3.4/models/models_0.d.ts +520 -0
  156. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  157. package/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/ListAutomationEventStepsPaginator.d.ts +11 -0
  159. package/dist-types/ts3.4/pagination/ListAutomationEventSummariesPaginator.d.ts +11 -0
  160. package/dist-types/ts3.4/pagination/ListAutomationEventsPaginator.d.ts +11 -0
  161. package/dist-types/ts3.4/pagination/ListAutomationRulePreviewPaginator.d.ts +11 -0
  162. package/dist-types/ts3.4/pagination/ListAutomationRulePreviewSummariesPaginator.d.ts +11 -0
  163. package/dist-types/ts3.4/pagination/ListAutomationRulesPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/ListRecommendedActionSummariesPaginator.d.ts +11 -0
  165. package/dist-types/ts3.4/pagination/ListRecommendedActionsPaginator.d.ts +11 -0
  166. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  167. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -0
  168. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  169. package/dist-types/ts3.4/runtimeConfig.native.d.ts +102 -0
  170. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +27 -0
  171. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  172. package/dist-types/ts3.4/schemas/schemas_0.d.ts +146 -0
  173. package/package.json +99 -0
@@ -0,0 +1,98 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: ComputeOptimizerAutomationClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
+ defaultUserAgentProvider: (
17
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
+ ) => Promise<import("@smithy/types").UserAgent>;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<any>;
21
+ requestHandler:
22
+ | import("@smithy/protocol-http").HttpHandler<any>
23
+ | RequestHandler;
24
+ retryMode: string | import("@smithy/types").Provider<string>;
25
+ sha256: import("@smithy/types").HashConstructor;
26
+ streamCollector: import("@smithy/types").StreamCollector;
27
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
+ apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
33
+ urlParser: import("@smithy/types").UrlParser;
34
+ base64Decoder: import("@smithy/types").Decoder;
35
+ base64Encoder: (_input: Uint8Array | string) => string;
36
+ utf8Decoder: import("@smithy/types").Decoder;
37
+ utf8Encoder: (input: Uint8Array | string) => string;
38
+ disableHostPrefix: boolean;
39
+ serviceId: string;
40
+ profile?: string;
41
+ logger: import("@smithy/types").Logger;
42
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
47
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
+ userAgentAppId?:
49
+ | string
50
+ | undefined
51
+ | import("@smithy/types").Provider<string | undefined>;
52
+ retryStrategy?:
53
+ | import("@smithy/types").RetryStrategy
54
+ | import("@smithy/types").RetryStrategyV2;
55
+ endpoint?:
56
+ | ((
57
+ | string
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ) &
63
+ (
64
+ | string
65
+ | import("@smithy/types").Provider<string>
66
+ | import("@smithy/types").Endpoint
67
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
+ | import("@smithy/types").EndpointV2
69
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
70
+ ))
71
+ | undefined;
72
+ endpointProvider: (
73
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
74
+ context?: {
75
+ logger?: import("@smithy/types").Logger;
76
+ }
77
+ ) => import("@smithy/types").EndpointV2;
78
+ tls?: boolean;
79
+ serviceConfiguredEndpoint?: never;
80
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
81
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
82
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComputeOptimizerAutomationHttpAuthSchemeProvider;
83
+ credentials?:
84
+ | import("@smithy/types").AwsCredentialIdentity
85
+ | import("@smithy/types").AwsCredentialIdentityProvider;
86
+ signer?:
87
+ | import("@smithy/types").RequestSigner
88
+ | ((
89
+ authScheme?: import("@smithy/types").AuthScheme
90
+ ) => Promise<import("@smithy/types").RequestSigner>);
91
+ signingEscapePath?: boolean;
92
+ systemClockOffset?: number;
93
+ signingRegion?: string;
94
+ signerConstructor?: new (
95
+ options: import("@smithy/signature-v4").SignatureV4Init &
96
+ import("@smithy/signature-v4").SignatureV4CryptoInit
97
+ ) => import("@smithy/types").RequestSigner;
98
+ };
@@ -0,0 +1,93 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: ComputeOptimizerAutomationClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ credentialDefaultProvider:
13
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
+ | ((
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
+ defaultUserAgentProvider: (
18
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
19
+ ) => Promise<import("@smithy/types").UserAgent>;
20
+ maxAttempts: number | import("@smithy/types").Provider<number>;
21
+ region: string | import("@smithy/types").Provider<string>;
22
+ requestHandler:
23
+ | RequestHandler
24
+ | import("@smithy/protocol-http").HttpHandler<any>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ sha256: import("@smithy/types").HashConstructor;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
+ apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
33
+ urlParser: import("@smithy/types").UrlParser;
34
+ base64Decoder: import("@smithy/types").Decoder;
35
+ base64Encoder: (_input: Uint8Array | string) => string;
36
+ utf8Decoder: import("@smithy/types").Decoder;
37
+ utf8Encoder: (input: Uint8Array | string) => string;
38
+ disableHostPrefix: boolean;
39
+ serviceId: string;
40
+ profile?: string;
41
+ logger: import("@smithy/types").Logger;
42
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
47
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
+ retryStrategy?:
49
+ | import("@smithy/types").RetryStrategy
50
+ | import("@smithy/types").RetryStrategyV2;
51
+ endpoint?:
52
+ | ((
53
+ | string
54
+ | import("@smithy/types").Endpoint
55
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
+ | import("@smithy/types").EndpointV2
57
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
+ ) &
59
+ (
60
+ | string
61
+ | import("@smithy/types").Provider<string>
62
+ | import("@smithy/types").Endpoint
63
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
+ | import("@smithy/types").EndpointV2
65
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
+ ))
67
+ | undefined;
68
+ endpointProvider: (
69
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
70
+ context?: {
71
+ logger?: import("@smithy/types").Logger;
72
+ }
73
+ ) => import("@smithy/types").EndpointV2;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComputeOptimizerAutomationHttpAuthSchemeProvider;
78
+ credentials?:
79
+ | import("@smithy/types").AwsCredentialIdentity
80
+ | import("@smithy/types").AwsCredentialIdentityProvider;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme
85
+ ) => Promise<import("@smithy/types").RequestSigner>);
86
+ signingEscapePath?: boolean;
87
+ systemClockOffset?: number;
88
+ signingRegion?: string;
89
+ signerConstructor?: new (
90
+ options: import("@smithy/signature-v4").SignatureV4Init &
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ ) => import("@smithy/types").RequestSigner;
93
+ };
@@ -0,0 +1,102 @@
1
+ import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: ComputeOptimizerAutomationClientConfig
4
+ ) => {
5
+ runtime: string;
6
+ sha256: import("@smithy/types").HashConstructor;
7
+ requestHandler:
8
+ | import("@smithy/types").NodeHttpHandlerOptions
9
+ | import("@smithy/types").FetchHttpHandlerOptions
10
+ | Record<string, unknown>
11
+ | import("@smithy/protocol-http").HttpHandler<any>
12
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
+ apiVersion: string;
14
+ cacheMiddleware?: boolean;
15
+ urlParser: import("@smithy/types").UrlParser;
16
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ base64Decoder: import("@smithy/types").Decoder;
19
+ base64Encoder: (_input: Uint8Array | string) => string;
20
+ utf8Decoder: import("@smithy/types").Decoder;
21
+ utf8Encoder: (input: Uint8Array | string) => string;
22
+ disableHostPrefix: boolean;
23
+ serviceId: string;
24
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
27
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
+ region: string | import("@smithy/types").Provider<any>;
29
+ profile?: string;
30
+ defaultUserAgentProvider: (
31
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
32
+ ) => Promise<import("@smithy/types").UserAgent>;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
38
+ maxAttempts: number | import("@smithy/types").Provider<number>;
39
+ retryMode: string | import("@smithy/types").Provider<string>;
40
+ logger: import("@smithy/types").Logger;
41
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
42
+ protocol: import("@smithy/types").ClientProtocol<
43
+ import("@smithy/types").HttpRequest,
44
+ import("@smithy/types").HttpResponse
45
+ >;
46
+ defaultsMode:
47
+ | import("@smithy/smithy-client").DefaultsMode
48
+ | import("@smithy/types").Provider<
49
+ import("@smithy/smithy-client").DefaultsMode
50
+ >;
51
+ customUserAgent?: string | import("@smithy/types").UserAgent;
52
+ userAgentAppId?:
53
+ | string
54
+ | undefined
55
+ | import("@smithy/types").Provider<string | undefined>;
56
+ retryStrategy?:
57
+ | import("@smithy/types").RetryStrategy
58
+ | import("@smithy/types").RetryStrategyV2;
59
+ endpoint?:
60
+ | ((
61
+ | string
62
+ | import("@smithy/types").Endpoint
63
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
+ | import("@smithy/types").EndpointV2
65
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
+ ) &
67
+ (
68
+ | string
69
+ | import("@smithy/types").Provider<string>
70
+ | import("@smithy/types").Endpoint
71
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
72
+ | import("@smithy/types").EndpointV2
73
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
74
+ ))
75
+ | undefined;
76
+ endpointProvider: (
77
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
+ context?: {
79
+ logger?: import("@smithy/types").Logger;
80
+ }
81
+ ) => import("@smithy/types").EndpointV2;
82
+ tls?: boolean;
83
+ serviceConfiguredEndpoint?: never;
84
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
85
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
86
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComputeOptimizerAutomationHttpAuthSchemeProvider;
87
+ credentials?:
88
+ | import("@smithy/types").AwsCredentialIdentity
89
+ | import("@smithy/types").AwsCredentialIdentityProvider;
90
+ signer?:
91
+ | import("@smithy/types").RequestSigner
92
+ | ((
93
+ authScheme?: import("@smithy/types").AuthScheme
94
+ ) => Promise<import("@smithy/types").RequestSigner>);
95
+ signingEscapePath?: boolean;
96
+ systemClockOffset?: number;
97
+ signingRegion?: string;
98
+ signerConstructor?: new (
99
+ options: import("@smithy/signature-v4").SignatureV4Init &
100
+ import("@smithy/signature-v4").SignatureV4CryptoInit
101
+ ) => import("@smithy/types").RequestSigner;
102
+ };
@@ -0,0 +1,27 @@
1
+ import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: ComputeOptimizerAutomationClientConfig
4
+ ) => {
5
+ apiVersion: string;
6
+ base64Decoder: import("@smithy/types").Decoder;
7
+ base64Encoder: (_input: Uint8Array | string) => string;
8
+ disableHostPrefix: boolean;
9
+ endpointProvider: (
10
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
+ context?: {
12
+ logger?: import("@smithy/types").Logger;
13
+ }
14
+ ) => import("@smithy/types").EndpointV2;
15
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
16
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComputeOptimizerAutomationHttpAuthSchemeProvider;
17
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
+ logger: import("@smithy/types").Logger;
19
+ protocol: import("@smithy/types").ClientProtocol<
20
+ import("@smithy/types").HttpRequest,
21
+ import("@smithy/types").HttpResponse
22
+ >;
23
+ serviceId: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ };
@@ -0,0 +1,13 @@
1
+ import { ComputeOptimizerAutomationExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(
4
+ extensionConfiguration: ComputeOptimizerAutomationExtensionConfiguration
5
+ ): void;
6
+ }
7
+ export interface RuntimeExtensionsConfig {
8
+ extensions: RuntimeExtension[];
9
+ }
10
+ export declare const resolveRuntimeExtensions: (
11
+ runtimeConfig: any,
12
+ extensions: RuntimeExtension[]
13
+ ) => any;
@@ -0,0 +1,146 @@
1
+ import {
2
+ StaticErrorSchema,
3
+ StaticListSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ } from "@smithy/types";
7
+ export declare var AccessDeniedException: StaticErrorSchema;
8
+ export declare var AccountInfo: StaticStructureSchema;
9
+ export declare var AssociateAccountsRequest: StaticStructureSchema;
10
+ export declare var AssociateAccountsResponse: StaticStructureSchema;
11
+ export declare var AutomationEvent: StaticStructureSchema;
12
+ export declare var AutomationEventFilter: StaticStructureSchema;
13
+ export declare var AutomationEventStep: StaticStructureSchema;
14
+ export declare var AutomationEventSummary: StaticStructureSchema;
15
+ export declare var AutomationRule: StaticStructureSchema;
16
+ export declare var CreateAutomationRuleRequest: StaticStructureSchema;
17
+ export declare var CreateAutomationRuleResponse: StaticStructureSchema;
18
+ export declare var Criteria: StaticStructureSchema;
19
+ export declare var DeleteAutomationRuleRequest: StaticStructureSchema;
20
+ export declare var DeleteAutomationRuleResponse: StaticStructureSchema;
21
+ export declare var DisassociateAccountsRequest: StaticStructureSchema;
22
+ export declare var DisassociateAccountsResponse: StaticStructureSchema;
23
+ export declare var DoubleCriteriaCondition: StaticStructureSchema;
24
+ export declare var EbsVolume: StaticStructureSchema;
25
+ export declare var EbsVolumeConfiguration: StaticStructureSchema;
26
+ export declare var EstimatedMonthlySavings: StaticStructureSchema;
27
+ export declare var Filter: StaticStructureSchema;
28
+ export declare var ForbiddenException: StaticErrorSchema;
29
+ export declare var GetAutomationEventRequest: StaticStructureSchema;
30
+ export declare var GetAutomationEventResponse: StaticStructureSchema;
31
+ export declare var GetAutomationRuleRequest: StaticStructureSchema;
32
+ export declare var GetAutomationRuleResponse: StaticStructureSchema;
33
+ export declare var GetEnrollmentConfigurationRequest: StaticStructureSchema;
34
+ export declare var GetEnrollmentConfigurationResponse: StaticStructureSchema;
35
+ export declare var IdempotencyTokenInUseException: StaticErrorSchema;
36
+ export declare var IdempotentParameterMismatchException: StaticErrorSchema;
37
+ export declare var IntegerCriteriaCondition: StaticStructureSchema;
38
+ export declare var InternalServerException: StaticErrorSchema;
39
+ export declare var InvalidParameterValueException: StaticErrorSchema;
40
+ export declare var ListAccountsRequest: StaticStructureSchema;
41
+ export declare var ListAccountsResponse: StaticStructureSchema;
42
+ export declare var ListAutomationEventsRequest: StaticStructureSchema;
43
+ export declare var ListAutomationEventsResponse: StaticStructureSchema;
44
+ export declare var ListAutomationEventStepsRequest: StaticStructureSchema;
45
+ export declare var ListAutomationEventStepsResponse: StaticStructureSchema;
46
+ export declare var ListAutomationEventSummariesRequest: StaticStructureSchema;
47
+ export declare var ListAutomationEventSummariesResponse: StaticStructureSchema;
48
+ export declare var ListAutomationRulePreviewRequest: StaticStructureSchema;
49
+ export declare var ListAutomationRulePreviewResponse: StaticStructureSchema;
50
+ export declare var ListAutomationRulePreviewSummariesRequest: StaticStructureSchema;
51
+ export declare var ListAutomationRulePreviewSummariesResponse: StaticStructureSchema;
52
+ export declare var ListAutomationRulesRequest: StaticStructureSchema;
53
+ export declare var ListAutomationRulesResponse: StaticStructureSchema;
54
+ export declare var ListRecommendedActionsRequest: StaticStructureSchema;
55
+ export declare var ListRecommendedActionsResponse: StaticStructureSchema;
56
+ export declare var ListRecommendedActionSummariesRequest: StaticStructureSchema;
57
+ export declare var ListRecommendedActionSummariesResponse: StaticStructureSchema;
58
+ export declare var ListTagsForResourceRequest: StaticStructureSchema;
59
+ export declare var ListTagsForResourceResponse: StaticStructureSchema;
60
+ export declare var NotManagementAccountException: StaticErrorSchema;
61
+ export declare var OptInRequiredException: StaticErrorSchema;
62
+ export declare var OrganizationConfiguration: StaticStructureSchema;
63
+ export declare var OrganizationScope: StaticStructureSchema;
64
+ export declare var PreviewResult: StaticStructureSchema;
65
+ export declare var PreviewResultSummary: StaticStructureSchema;
66
+ export declare var RecommendedAction: StaticStructureSchema;
67
+ export declare var RecommendedActionFilter: StaticStructureSchema;
68
+ export declare var RecommendedActionSummary: StaticStructureSchema;
69
+ export declare var RecommendedActionTotal: StaticStructureSchema;
70
+ export declare var ResourceNotFoundException: StaticErrorSchema;
71
+ export declare var ResourceTagsCriteriaCondition: StaticStructureSchema;
72
+ export declare var RollbackAutomationEventRequest: StaticStructureSchema;
73
+ export declare var RollbackAutomationEventResponse: StaticStructureSchema;
74
+ export declare var RulePreviewTotal: StaticStructureSchema;
75
+ export declare var Schedule: StaticStructureSchema;
76
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
77
+ export declare var ServiceUnavailableException: StaticErrorSchema;
78
+ export declare var StartAutomationEventRequest: StaticStructureSchema;
79
+ export declare var StartAutomationEventResponse: StaticStructureSchema;
80
+ export declare var StringCriteriaCondition: StaticStructureSchema;
81
+ export declare var SummaryDimension: StaticStructureSchema;
82
+ export declare var SummaryTotals: StaticStructureSchema;
83
+ export declare var Tag: StaticStructureSchema;
84
+ export declare var TagResourceRequest: StaticStructureSchema;
85
+ export declare var TagResourceResponse: StaticStructureSchema;
86
+ export declare var ThrottlingException: StaticErrorSchema;
87
+ export declare var TimePeriod: StaticStructureSchema;
88
+ export declare var UntagResourceRequest: StaticStructureSchema;
89
+ export declare var UntagResourceResponse: StaticStructureSchema;
90
+ export declare var UpdateAutomationRuleRequest: StaticStructureSchema;
91
+ export declare var UpdateAutomationRuleResponse: StaticStructureSchema;
92
+ export declare var UpdateEnrollmentConfigurationRequest: StaticStructureSchema;
93
+ export declare var UpdateEnrollmentConfigurationResponse: StaticStructureSchema;
94
+ export declare var __Unit: "unit";
95
+ export declare var ComputeOptimizerAutomationServiceException: StaticErrorSchema;
96
+ export declare var AccountIdList: number;
97
+ export declare var AccountInfoList: StaticListSchema;
98
+ export declare var AutomationEventFilterList: StaticListSchema;
99
+ export declare var AutomationEvents: StaticListSchema;
100
+ export declare var AutomationEventSteps: StaticListSchema;
101
+ export declare var AutomationEventSummaryList: StaticListSchema;
102
+ export declare var AutomationRules: StaticListSchema;
103
+ export declare var DoubleCriteriaConditionList: StaticListSchema;
104
+ export declare var DoubleList: number;
105
+ export declare var FilterList: StaticListSchema;
106
+ export declare var FilterValues: number;
107
+ export declare var IntegerCriteriaConditionList: StaticListSchema;
108
+ export declare var IntegerList: number;
109
+ export declare var OrganizationConfigurationAccountIds: number;
110
+ export declare var PreviewResults: StaticListSchema;
111
+ export declare var PreviewResultSummaries: StaticListSchema;
112
+ export declare var RecommendedActionFilterList: StaticListSchema;
113
+ export declare var RecommendedActions: StaticListSchema;
114
+ export declare var RecommendedActionSummaries: StaticListSchema;
115
+ export declare var RecommendedActionTypeList: number;
116
+ export declare var ResourceTagsCriteriaConditionList: StaticListSchema;
117
+ export declare var StringCriteriaConditionList: StaticListSchema;
118
+ export declare var StringCriteriaValues: number;
119
+ export declare var StringList: number;
120
+ export declare var SummaryDimensions: StaticListSchema;
121
+ export declare var TagKeyList: number;
122
+ export declare var TagList: StaticListSchema;
123
+ export declare var ResourceDetails: StaticStructureSchema;
124
+ export declare var AssociateAccounts: StaticOperationSchema;
125
+ export declare var CreateAutomationRule: StaticOperationSchema;
126
+ export declare var DeleteAutomationRule: StaticOperationSchema;
127
+ export declare var DisassociateAccounts: StaticOperationSchema;
128
+ export declare var GetAutomationEvent: StaticOperationSchema;
129
+ export declare var GetAutomationRule: StaticOperationSchema;
130
+ export declare var GetEnrollmentConfiguration: StaticOperationSchema;
131
+ export declare var ListAccounts: StaticOperationSchema;
132
+ export declare var ListAutomationEvents: StaticOperationSchema;
133
+ export declare var ListAutomationEventSteps: StaticOperationSchema;
134
+ export declare var ListAutomationEventSummaries: StaticOperationSchema;
135
+ export declare var ListAutomationRulePreview: StaticOperationSchema;
136
+ export declare var ListAutomationRulePreviewSummaries: StaticOperationSchema;
137
+ export declare var ListAutomationRules: StaticOperationSchema;
138
+ export declare var ListRecommendedActions: StaticOperationSchema;
139
+ export declare var ListRecommendedActionSummaries: StaticOperationSchema;
140
+ export declare var ListTagsForResource: StaticOperationSchema;
141
+ export declare var RollbackAutomationEvent: StaticOperationSchema;
142
+ export declare var StartAutomationEvent: StaticOperationSchema;
143
+ export declare var TagResource: StaticOperationSchema;
144
+ export declare var UntagResource: StaticOperationSchema;
145
+ export declare var UpdateAutomationRule: StaticOperationSchema;
146
+ export declare var UpdateEnrollmentConfiguration: StaticOperationSchema;
package/package.json ADDED
@@ -0,0 +1,99 @@
1
+ {
2
+ "name": "@aws-sdk/client-compute-optimizer-automation",
3
+ "description": "AWS SDK for JavaScript Compute Optimizer Automation Client for Node.js, Browser and React Native",
4
+ "version": "3.938.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-compute-optimizer-automation",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "extract:docs": "api-extractor run --local",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo compute-optimizer-automation"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "types": "./dist-types/index.d.ts",
18
+ "module": "./dist-es/index.js",
19
+ "sideEffects": false,
20
+ "dependencies": {
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.5",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
+ "@smithy/util-base64": "^4.3.0",
51
+ "@smithy/util-body-length-browser": "^4.2.0",
52
+ "@smithy/util-body-length-node": "^4.2.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
+ "@smithy/util-utf8": "^4.2.0",
59
+ "tslib": "^2.6.2"
60
+ },
61
+ "devDependencies": {
62
+ "@tsconfig/node18": "18.2.4",
63
+ "@types/node": "^18.19.69",
64
+ "concurrently": "7.0.0",
65
+ "downlevel-dts": "0.10.1",
66
+ "rimraf": "3.0.2",
67
+ "typescript": "~5.8.3"
68
+ },
69
+ "engines": {
70
+ "node": ">=18.0.0"
71
+ },
72
+ "typesVersions": {
73
+ "<4.0": {
74
+ "dist-types/*": [
75
+ "dist-types/ts3.4/*"
76
+ ]
77
+ }
78
+ },
79
+ "files": [
80
+ "dist-*/**"
81
+ ],
82
+ "author": {
83
+ "name": "AWS SDK for JavaScript Team",
84
+ "url": "https://aws.amazon.com/javascript/"
85
+ },
86
+ "license": "Apache-2.0",
87
+ "browser": {
88
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
89
+ },
90
+ "react-native": {
91
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
92
+ },
93
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-compute-optimizer-automation",
94
+ "repository": {
95
+ "type": "git",
96
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
97
+ "directory": "clients/client-compute-optimizer-automation"
98
+ }
99
+ }