aws-sdk-computeoptimizer 1.52.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36a2da7116d3d4b8109e304c7b3a81120dd95cde094e4a142c40fcf10faef4cd
4
- data.tar.gz: 977efab98248bd73f5cb6cea73cae1598c03472ac1773fc8ede63db03ece6a84
3
+ metadata.gz: aa0892280c30429e7d7414411099733000028b166cd1fcb4eff6216c47aeaf7c
4
+ data.tar.gz: 06f4e1b889df1de48a856690a650012a22511f52f54614c630a634791c713493
5
5
  SHA512:
6
- metadata.gz: 394153f84dd4293d05f9baf8c9dffe178d786030ba0fe234669063633c5d0304362fea42b0eb0bdb7bca980e1adb38ce559e9ea8a702134036c4ac41c2c4cfa3
7
- data.tar.gz: dbaa0d59acc96c85c660e086210c7f8e475d90d672f0ab24b5dacb8a2bfa04c005b2322e68f95eaa06757b6e18def0030bde224acaff71d0e348349692242ca3
6
+ metadata.gz: 0002ddefcf75dcc8162487ff3bff7654c7fb6c7bfeccddad8ac87c65b1f2c8f33eabd96d84de874c0a4fdd4207a46d9c5bb98fdef4a8e8fc7204b1988daf7b08
7
+ data.tar.gz: 132683dfbb4b913b316de4920f08637cd186010d926b144fa833e6b21630e4550487f6ab8ac07a11d5695bc3b00f6ac8cd9bcf6f20ecf6c49e6df06357d11d29
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.52.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -2855,7 +2855,7 @@ module Aws::ComputeOptimizer
2855
2855
  params: params,
2856
2856
  config: config)
2857
2857
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2858
- context[:gem_version] = '1.52.0'
2858
+ context[:gem_version] = '1.53.0'
2859
2859
  Seahorse::Client::Request.new(handlers, context)
2860
2860
  end
2861
2861
 
@@ -14,6 +14,7 @@ module Aws::ComputeOptimizer
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ComputeOptimizer::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
52
52
  # @!group service
53
53
  module Aws::ComputeOptimizer
54
54
 
55
- GEM_VERSION = '1.52.0'
55
+ GEM_VERSION = '1.53.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,546 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ComputeOptimizer
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _DeleteRecommendationPreferencesResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRecommendationPreferencesResponse]
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#delete_recommendation_preferences-instance_method
80
+ def delete_recommendation_preferences: (
81
+ resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License"),
82
+ ?scope: {
83
+ name: ("Organization" | "AccountId" | "ResourceArn")?,
84
+ value: ::String?
85
+ },
86
+ recommendation_preference_names: Array[("EnhancedInfrastructureMetrics" | "InferredWorkloadTypes" | "ExternalMetricsPreference" | "LookBackPeriodPreference" | "PreferredResources" | "UtilizationPreferences")]
87
+ ) -> _DeleteRecommendationPreferencesResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRecommendationPreferencesResponseSuccess
89
+
90
+ interface _DescribeRecommendationExportJobsResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRecommendationExportJobsResponse]
92
+ def recommendation_export_jobs: () -> ::Array[Types::RecommendationExportJob]
93
+ def next_token: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#describe_recommendation_export_jobs-instance_method
96
+ def describe_recommendation_export_jobs: (
97
+ ?job_ids: Array[::String],
98
+ ?filters: Array[
99
+ {
100
+ name: ("ResourceType" | "JobStatus")?,
101
+ values: Array[::String]?
102
+ },
103
+ ],
104
+ ?next_token: ::String,
105
+ ?max_results: ::Integer
106
+ ) -> _DescribeRecommendationExportJobsResponseSuccess
107
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRecommendationExportJobsResponseSuccess
108
+
109
+ interface _ExportAutoScalingGroupRecommendationsResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportAutoScalingGroupRecommendationsResponse]
111
+ def job_id: () -> ::String
112
+ def s3_destination: () -> Types::S3Destination
113
+ end
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_auto_scaling_group_recommendations-instance_method
115
+ def export_auto_scaling_group_recommendations: (
116
+ ?account_ids: Array[::String],
117
+ ?filters: Array[
118
+ {
119
+ name: ("Finding" | "FindingReasonCodes" | "RecommendationSourceType" | "InferredWorkloadTypes")?,
120
+ values: Array[::String]?
121
+ },
122
+ ],
123
+ ?fields_to_export: Array[("AccountId" | "AutoScalingGroupArn" | "AutoScalingGroupName" | "Finding" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEbsReadOpsPerSecondMaximum" | "UtilizationMetricsEbsWriteOpsPerSecondMaximum" | "UtilizationMetricsEbsReadBytesPerSecondMaximum" | "UtilizationMetricsEbsWriteBytesPerSecondMaximum" | "UtilizationMetricsDiskReadOpsPerSecondMaximum" | "UtilizationMetricsDiskWriteOpsPerSecondMaximum" | "UtilizationMetricsDiskReadBytesPerSecondMaximum" | "UtilizationMetricsDiskWriteBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkPacketsInPerSecondMaximum" | "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" | "LookbackPeriodInDays" | "CurrentConfigurationInstanceType" | "CurrentConfigurationDesiredCapacity" | "CurrentConfigurationMinSize" | "CurrentConfigurationMaxSize" | "CurrentOnDemandPrice" | "CurrentStandardOneYearNoUpfrontReservedPrice" | "CurrentStandardThreeYearNoUpfrontReservedPrice" | "CurrentVCpus" | "CurrentMemory" | "CurrentStorage" | "CurrentNetwork" | "RecommendationOptionsConfigurationInstanceType" | "RecommendationOptionsConfigurationDesiredCapacity" | "RecommendationOptionsConfigurationMinSize" | "RecommendationOptionsConfigurationMaxSize" | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" | "RecommendationOptionsPerformanceRisk" | "RecommendationOptionsOnDemandPrice" | "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" | "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" | "RecommendationOptionsVcpus" | "RecommendationOptionsMemory" | "RecommendationOptionsStorage" | "RecommendationOptionsNetwork" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesInferredWorkloadTypes" | "InferredWorkloadTypes" | "RecommendationOptionsMigrationEffort" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod")],
124
+ s3_destination_config: {
125
+ bucket: ::String?,
126
+ key_prefix: ::String?
127
+ },
128
+ ?file_format: ("Csv"),
129
+ ?include_member_accounts: bool,
130
+ ?recommendation_preferences: {
131
+ cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
132
+ }
133
+ ) -> _ExportAutoScalingGroupRecommendationsResponseSuccess
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportAutoScalingGroupRecommendationsResponseSuccess
135
+
136
+ interface _ExportEBSVolumeRecommendationsResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportEBSVolumeRecommendationsResponse]
138
+ def job_id: () -> ::String
139
+ def s3_destination: () -> Types::S3Destination
140
+ end
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_ebs_volume_recommendations-instance_method
142
+ def export_ebs_volume_recommendations: (
143
+ ?account_ids: Array[::String],
144
+ ?filters: Array[
145
+ {
146
+ name: ("Finding")?,
147
+ values: Array[::String]?
148
+ },
149
+ ],
150
+ ?fields_to_export: Array[("AccountId" | "VolumeArn" | "Finding" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsVolumeReadBytesPerSecondMaximum" | "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" | "LookbackPeriodInDays" | "CurrentConfigurationVolumeType" | "CurrentConfigurationVolumeBaselineIOPS" | "CurrentConfigurationVolumeBaselineThroughput" | "CurrentConfigurationVolumeBurstIOPS" | "CurrentConfigurationVolumeBurstThroughput" | "CurrentConfigurationVolumeSize" | "CurrentMonthlyPrice" | "RecommendationOptionsConfigurationVolumeType" | "RecommendationOptionsConfigurationVolumeBaselineIOPS" | "RecommendationOptionsConfigurationVolumeBaselineThroughput" | "RecommendationOptionsConfigurationVolumeBurstIOPS" | "RecommendationOptionsConfigurationVolumeBurstThroughput" | "RecommendationOptionsConfigurationVolumeSize" | "RecommendationOptionsMonthlyPrice" | "RecommendationOptionsPerformanceRisk" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "RootVolume" | "Tags" | "CurrentConfigurationRootVolume" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
151
+ s3_destination_config: {
152
+ bucket: ::String?,
153
+ key_prefix: ::String?
154
+ },
155
+ ?file_format: ("Csv"),
156
+ ?include_member_accounts: bool
157
+ ) -> _ExportEBSVolumeRecommendationsResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportEBSVolumeRecommendationsResponseSuccess
159
+
160
+ interface _ExportEC2InstanceRecommendationsResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportEC2InstanceRecommendationsResponse]
162
+ def job_id: () -> ::String
163
+ def s3_destination: () -> Types::S3Destination
164
+ end
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_ec2_instance_recommendations-instance_method
166
+ def export_ec2_instance_recommendations: (
167
+ ?account_ids: Array[::String],
168
+ ?filters: Array[
169
+ {
170
+ name: ("Finding" | "FindingReasonCodes" | "RecommendationSourceType" | "InferredWorkloadTypes")?,
171
+ values: Array[::String]?
172
+ },
173
+ ],
174
+ ?fields_to_export: Array[("AccountId" | "InstanceArn" | "InstanceName" | "Finding" | "FindingReasonCodes" | "LookbackPeriodInDays" | "CurrentInstanceType" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEbsReadOpsPerSecondMaximum" | "UtilizationMetricsEbsWriteOpsPerSecondMaximum" | "UtilizationMetricsEbsReadBytesPerSecondMaximum" | "UtilizationMetricsEbsWriteBytesPerSecondMaximum" | "UtilizationMetricsDiskReadOpsPerSecondMaximum" | "UtilizationMetricsDiskWriteOpsPerSecondMaximum" | "UtilizationMetricsDiskReadBytesPerSecondMaximum" | "UtilizationMetricsDiskWriteBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkPacketsInPerSecondMaximum" | "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" | "CurrentOnDemandPrice" | "CurrentStandardOneYearNoUpfrontReservedPrice" | "CurrentStandardThreeYearNoUpfrontReservedPrice" | "CurrentVCpus" | "CurrentMemory" | "CurrentStorage" | "CurrentNetwork" | "RecommendationOptionsInstanceType" | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" | "RecommendationOptionsPlatformDifferences" | "RecommendationOptionsPerformanceRisk" | "RecommendationOptionsVcpus" | "RecommendationOptionsMemory" | "RecommendationOptionsStorage" | "RecommendationOptionsNetwork" | "RecommendationOptionsOnDemandPrice" | "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" | "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" | "RecommendationsSourcesRecommendationSourceArn" | "RecommendationsSourcesRecommendationSourceType" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesInferredWorkloadTypes" | "InferredWorkloadTypes" | "RecommendationOptionsMigrationEffort" | "EffectiveRecommendationPreferencesExternalMetricsSource" | "InstanceState" | "Tags" | "ExternalMetricStatusCode" | "ExternalMetricStatusReason" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "Idle" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesUtilizationPreferences" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
175
+ s3_destination_config: {
176
+ bucket: ::String?,
177
+ key_prefix: ::String?
178
+ },
179
+ ?file_format: ("Csv"),
180
+ ?include_member_accounts: bool,
181
+ ?recommendation_preferences: {
182
+ cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
183
+ }
184
+ ) -> _ExportEC2InstanceRecommendationsResponseSuccess
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportEC2InstanceRecommendationsResponseSuccess
186
+
187
+ interface _ExportECSServiceRecommendationsResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportECSServiceRecommendationsResponse]
189
+ def job_id: () -> ::String
190
+ def s3_destination: () -> Types::S3Destination
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_ecs_service_recommendations-instance_method
193
+ def export_ecs_service_recommendations: (
194
+ ?account_ids: Array[::String],
195
+ ?filters: Array[
196
+ {
197
+ name: ("Finding" | "FindingReasonCode")?,
198
+ values: Array[::String]?
199
+ },
200
+ ],
201
+ ?fields_to_export: Array[("AccountId" | "ServiceArn" | "LookbackPeriodInDays" | "LastRefreshTimestamp" | "LaunchType" | "CurrentPerformanceRisk" | "CurrentServiceConfigurationMemory" | "CurrentServiceConfigurationCpu" | "CurrentServiceConfigurationTaskDefinitionArn" | "CurrentServiceConfigurationAutoScalingConfiguration" | "CurrentServiceContainerConfigurations" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "Finding" | "FindingReasonCodes" | "RecommendationOptionsMemory" | "RecommendationOptionsCpu" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "RecommendationOptionsContainerRecommendations" | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" | "Tags" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
202
+ s3_destination_config: {
203
+ bucket: ::String?,
204
+ key_prefix: ::String?
205
+ },
206
+ ?file_format: ("Csv"),
207
+ ?include_member_accounts: bool
208
+ ) -> _ExportECSServiceRecommendationsResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportECSServiceRecommendationsResponseSuccess
210
+
211
+ interface _ExportLambdaFunctionRecommendationsResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportLambdaFunctionRecommendationsResponse]
213
+ def job_id: () -> ::String
214
+ def s3_destination: () -> Types::S3Destination
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_lambda_function_recommendations-instance_method
217
+ def export_lambda_function_recommendations: (
218
+ ?account_ids: Array[::String],
219
+ ?filters: Array[
220
+ {
221
+ name: ("Finding" | "FindingReasonCode")?,
222
+ values: Array[::String]?
223
+ },
224
+ ],
225
+ ?fields_to_export: Array[("AccountId" | "FunctionArn" | "FunctionVersion" | "Finding" | "FindingReasonCodes" | "NumberOfInvocations" | "UtilizationMetricsDurationMaximum" | "UtilizationMetricsDurationAverage" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsMemoryAverage" | "LookbackPeriodInDays" | "CurrentConfigurationMemorySize" | "CurrentConfigurationTimeout" | "CurrentCostTotal" | "CurrentCostAverage" | "RecommendationOptionsConfigurationMemorySize" | "RecommendationOptionsCostLow" | "RecommendationOptionsCostHigh" | "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound" | "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound" | "RecommendationOptionsProjectedUtilizationMetricsDurationExpected" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "Tags" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
226
+ s3_destination_config: {
227
+ bucket: ::String?,
228
+ key_prefix: ::String?
229
+ },
230
+ ?file_format: ("Csv"),
231
+ ?include_member_accounts: bool
232
+ ) -> _ExportLambdaFunctionRecommendationsResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportLambdaFunctionRecommendationsResponseSuccess
234
+
235
+ interface _ExportLicenseRecommendationsResponseSuccess
236
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportLicenseRecommendationsResponse]
237
+ def job_id: () -> ::String
238
+ def s3_destination: () -> Types::S3Destination
239
+ end
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_license_recommendations-instance_method
241
+ def export_license_recommendations: (
242
+ ?account_ids: Array[::String],
243
+ ?filters: Array[
244
+ {
245
+ name: ("Finding" | "FindingReasonCode" | "LicenseName")?,
246
+ values: Array[::String]?
247
+ },
248
+ ],
249
+ ?fields_to_export: Array[("AccountId" | "ResourceArn" | "LookbackPeriodInDays" | "LastRefreshTimestamp" | "Finding" | "FindingReasonCodes" | "CurrentLicenseConfigurationNumberOfCores" | "CurrentLicenseConfigurationInstanceType" | "CurrentLicenseConfigurationOperatingSystem" | "CurrentLicenseConfigurationLicenseName" | "CurrentLicenseConfigurationLicenseEdition" | "CurrentLicenseConfigurationLicenseModel" | "CurrentLicenseConfigurationLicenseVersion" | "CurrentLicenseConfigurationMetricsSource" | "RecommendationOptionsOperatingSystem" | "RecommendationOptionsLicenseEdition" | "RecommendationOptionsLicenseModel" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "Tags")],
250
+ s3_destination_config: {
251
+ bucket: ::String?,
252
+ key_prefix: ::String?
253
+ },
254
+ ?file_format: ("Csv"),
255
+ ?include_member_accounts: bool
256
+ ) -> _ExportLicenseRecommendationsResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportLicenseRecommendationsResponseSuccess
258
+
259
+ interface _GetAutoScalingGroupRecommendationsResponseSuccess
260
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutoScalingGroupRecommendationsResponse]
261
+ def next_token: () -> ::String
262
+ def auto_scaling_group_recommendations: () -> ::Array[Types::AutoScalingGroupRecommendation]
263
+ def errors: () -> ::Array[Types::GetRecommendationError]
264
+ end
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_auto_scaling_group_recommendations-instance_method
266
+ def get_auto_scaling_group_recommendations: (
267
+ ?account_ids: Array[::String],
268
+ ?auto_scaling_group_arns: Array[::String],
269
+ ?next_token: ::String,
270
+ ?max_results: ::Integer,
271
+ ?filters: Array[
272
+ {
273
+ name: ("Finding" | "FindingReasonCodes" | "RecommendationSourceType" | "InferredWorkloadTypes")?,
274
+ values: Array[::String]?
275
+ },
276
+ ],
277
+ ?recommendation_preferences: {
278
+ cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
279
+ }
280
+ ) -> _GetAutoScalingGroupRecommendationsResponseSuccess
281
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutoScalingGroupRecommendationsResponseSuccess
282
+
283
+ interface _GetEBSVolumeRecommendationsResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEBSVolumeRecommendationsResponse]
285
+ def next_token: () -> ::String
286
+ def volume_recommendations: () -> ::Array[Types::VolumeRecommendation]
287
+ def errors: () -> ::Array[Types::GetRecommendationError]
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_ebs_volume_recommendations-instance_method
290
+ def get_ebs_volume_recommendations: (
291
+ ?volume_arns: Array[::String],
292
+ ?next_token: ::String,
293
+ ?max_results: ::Integer,
294
+ ?filters: Array[
295
+ {
296
+ name: ("Finding")?,
297
+ values: Array[::String]?
298
+ },
299
+ ],
300
+ ?account_ids: Array[::String]
301
+ ) -> _GetEBSVolumeRecommendationsResponseSuccess
302
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEBSVolumeRecommendationsResponseSuccess
303
+
304
+ interface _GetEC2InstanceRecommendationsResponseSuccess
305
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEC2InstanceRecommendationsResponse]
306
+ def next_token: () -> ::String
307
+ def instance_recommendations: () -> ::Array[Types::InstanceRecommendation]
308
+ def errors: () -> ::Array[Types::GetRecommendationError]
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_ec2_instance_recommendations-instance_method
311
+ def get_ec2_instance_recommendations: (
312
+ ?instance_arns: Array[::String],
313
+ ?next_token: ::String,
314
+ ?max_results: ::Integer,
315
+ ?filters: Array[
316
+ {
317
+ name: ("Finding" | "FindingReasonCodes" | "RecommendationSourceType" | "InferredWorkloadTypes")?,
318
+ values: Array[::String]?
319
+ },
320
+ ],
321
+ ?account_ids: Array[::String],
322
+ ?recommendation_preferences: {
323
+ cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
324
+ }
325
+ ) -> _GetEC2InstanceRecommendationsResponseSuccess
326
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEC2InstanceRecommendationsResponseSuccess
327
+
328
+ interface _GetEC2RecommendationProjectedMetricsResponseSuccess
329
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEC2RecommendationProjectedMetricsResponse]
330
+ def recommended_option_projected_metrics: () -> ::Array[Types::RecommendedOptionProjectedMetric]
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_ec2_recommendation_projected_metrics-instance_method
333
+ def get_ec2_recommendation_projected_metrics: (
334
+ instance_arn: ::String,
335
+ stat: ("Maximum" | "Average"),
336
+ period: ::Integer,
337
+ start_time: ::Time,
338
+ end_time: ::Time,
339
+ ?recommendation_preferences: {
340
+ cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
341
+ }
342
+ ) -> _GetEC2RecommendationProjectedMetricsResponseSuccess
343
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEC2RecommendationProjectedMetricsResponseSuccess
344
+
345
+ interface _GetECSServiceRecommendationProjectedMetricsResponseSuccess
346
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetECSServiceRecommendationProjectedMetricsResponse]
347
+ def recommended_option_projected_metrics: () -> ::Array[Types::ECSServiceRecommendedOptionProjectedMetric]
348
+ end
349
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_ecs_service_recommendation_projected_metrics-instance_method
350
+ def get_ecs_service_recommendation_projected_metrics: (
351
+ service_arn: ::String,
352
+ stat: ("Maximum" | "Average"),
353
+ period: ::Integer,
354
+ start_time: ::Time,
355
+ end_time: ::Time
356
+ ) -> _GetECSServiceRecommendationProjectedMetricsResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetECSServiceRecommendationProjectedMetricsResponseSuccess
358
+
359
+ interface _GetECSServiceRecommendationsResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetECSServiceRecommendationsResponse]
361
+ def next_token: () -> ::String
362
+ def ecs_service_recommendations: () -> ::Array[Types::ECSServiceRecommendation]
363
+ def errors: () -> ::Array[Types::GetRecommendationError]
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_ecs_service_recommendations-instance_method
366
+ def get_ecs_service_recommendations: (
367
+ ?service_arns: Array[::String],
368
+ ?next_token: ::String,
369
+ ?max_results: ::Integer,
370
+ ?filters: Array[
371
+ {
372
+ name: ("Finding" | "FindingReasonCode")?,
373
+ values: Array[::String]?
374
+ },
375
+ ],
376
+ ?account_ids: Array[::String]
377
+ ) -> _GetECSServiceRecommendationsResponseSuccess
378
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetECSServiceRecommendationsResponseSuccess
379
+
380
+ interface _GetEffectiveRecommendationPreferencesResponseSuccess
381
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEffectiveRecommendationPreferencesResponse]
382
+ def enhanced_infrastructure_metrics: () -> ("Active" | "Inactive")
383
+ def external_metrics_preference: () -> Types::ExternalMetricsPreference
384
+ def look_back_period: () -> ("DAYS_14" | "DAYS_32" | "DAYS_93")
385
+ def utilization_preferences: () -> ::Array[Types::UtilizationPreference]
386
+ def preferred_resources: () -> ::Array[Types::EffectivePreferredResource]
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_effective_recommendation_preferences-instance_method
389
+ def get_effective_recommendation_preferences: (
390
+ resource_arn: ::String
391
+ ) -> _GetEffectiveRecommendationPreferencesResponseSuccess
392
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEffectiveRecommendationPreferencesResponseSuccess
393
+
394
+ interface _GetEnrollmentStatusResponseSuccess
395
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEnrollmentStatusResponse]
396
+ def status: () -> ("Active" | "Inactive" | "Pending" | "Failed")
397
+ def status_reason: () -> ::String
398
+ def member_accounts_enrolled: () -> bool
399
+ def last_updated_timestamp: () -> ::Time
400
+ def number_of_member_accounts_opted_in: () -> ::Integer
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_enrollment_status-instance_method
403
+ def get_enrollment_status: (
404
+ ) -> _GetEnrollmentStatusResponseSuccess
405
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnrollmentStatusResponseSuccess
406
+
407
+ interface _GetEnrollmentStatusesForOrganizationResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEnrollmentStatusesForOrganizationResponse]
409
+ def account_enrollment_statuses: () -> ::Array[Types::AccountEnrollmentStatus]
410
+ def next_token: () -> ::String
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_enrollment_statuses_for_organization-instance_method
413
+ def get_enrollment_statuses_for_organization: (
414
+ ?filters: Array[
415
+ {
416
+ name: ("Status")?,
417
+ values: Array[::String]?
418
+ },
419
+ ],
420
+ ?next_token: ::String,
421
+ ?max_results: ::Integer
422
+ ) -> _GetEnrollmentStatusesForOrganizationResponseSuccess
423
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnrollmentStatusesForOrganizationResponseSuccess
424
+
425
+ interface _GetLambdaFunctionRecommendationsResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLambdaFunctionRecommendationsResponse]
427
+ def next_token: () -> ::String
428
+ def lambda_function_recommendations: () -> ::Array[Types::LambdaFunctionRecommendation]
429
+ end
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_lambda_function_recommendations-instance_method
431
+ def get_lambda_function_recommendations: (
432
+ ?function_arns: Array[::String],
433
+ ?account_ids: Array[::String],
434
+ ?filters: Array[
435
+ {
436
+ name: ("Finding" | "FindingReasonCode")?,
437
+ values: Array[::String]?
438
+ },
439
+ ],
440
+ ?next_token: ::String,
441
+ ?max_results: ::Integer
442
+ ) -> _GetLambdaFunctionRecommendationsResponseSuccess
443
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLambdaFunctionRecommendationsResponseSuccess
444
+
445
+ interface _GetLicenseRecommendationsResponseSuccess
446
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLicenseRecommendationsResponse]
447
+ def next_token: () -> ::String
448
+ def license_recommendations: () -> ::Array[Types::LicenseRecommendation]
449
+ def errors: () -> ::Array[Types::GetRecommendationError]
450
+ end
451
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_license_recommendations-instance_method
452
+ def get_license_recommendations: (
453
+ ?resource_arns: Array[::String],
454
+ ?next_token: ::String,
455
+ ?max_results: ::Integer,
456
+ ?filters: Array[
457
+ {
458
+ name: ("Finding" | "FindingReasonCode" | "LicenseName")?,
459
+ values: Array[::String]?
460
+ },
461
+ ],
462
+ ?account_ids: Array[::String]
463
+ ) -> _GetLicenseRecommendationsResponseSuccess
464
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseRecommendationsResponseSuccess
465
+
466
+ interface _GetRecommendationPreferencesResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationPreferencesResponse]
468
+ def next_token: () -> ::String
469
+ def recommendation_preferences_details: () -> ::Array[Types::RecommendationPreferencesDetail]
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_recommendation_preferences-instance_method
472
+ def get_recommendation_preferences: (
473
+ resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License"),
474
+ ?scope: {
475
+ name: ("Organization" | "AccountId" | "ResourceArn")?,
476
+ value: ::String?
477
+ },
478
+ ?next_token: ::String,
479
+ ?max_results: ::Integer
480
+ ) -> _GetRecommendationPreferencesResponseSuccess
481
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendationPreferencesResponseSuccess
482
+
483
+ interface _GetRecommendationSummariesResponseSuccess
484
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationSummariesResponse]
485
+ def next_token: () -> ::String
486
+ def recommendation_summaries: () -> ::Array[Types::RecommendationSummary]
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_recommendation_summaries-instance_method
489
+ def get_recommendation_summaries: (
490
+ ?account_ids: Array[::String],
491
+ ?next_token: ::String,
492
+ ?max_results: ::Integer
493
+ ) -> _GetRecommendationSummariesResponseSuccess
494
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendationSummariesResponseSuccess
495
+
496
+ interface _PutRecommendationPreferencesResponseSuccess
497
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRecommendationPreferencesResponse]
498
+ end
499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#put_recommendation_preferences-instance_method
500
+ def put_recommendation_preferences: (
501
+ resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License"),
502
+ ?scope: {
503
+ name: ("Organization" | "AccountId" | "ResourceArn")?,
504
+ value: ::String?
505
+ },
506
+ ?enhanced_infrastructure_metrics: ("Active" | "Inactive"),
507
+ ?inferred_workload_types: ("Active" | "Inactive"),
508
+ ?external_metrics_preference: {
509
+ source: ("Datadog" | "Dynatrace" | "NewRelic" | "Instana")?
510
+ },
511
+ ?look_back_period: ("DAYS_14" | "DAYS_32" | "DAYS_93"),
512
+ ?utilization_preferences: Array[
513
+ {
514
+ metric_name: ("CpuUtilization")?,
515
+ metric_parameters: {
516
+ threshold: ("P90" | "P95" | "P99_5")?,
517
+ headroom: ("PERCENT_30" | "PERCENT_20" | "PERCENT_0")?
518
+ }?
519
+ },
520
+ ],
521
+ ?preferred_resources: Array[
522
+ {
523
+ name: ("Ec2InstanceTypes")?,
524
+ include_list: Array[::String]?,
525
+ exclude_list: Array[::String]?
526
+ },
527
+ ],
528
+ ?savings_estimation_mode: ("AfterDiscounts" | "BeforeDiscounts")
529
+ ) -> _PutRecommendationPreferencesResponseSuccess
530
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRecommendationPreferencesResponseSuccess
531
+
532
+ interface _UpdateEnrollmentStatusResponseSuccess
533
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEnrollmentStatusResponse]
534
+ def status: () -> ("Active" | "Inactive" | "Pending" | "Failed")
535
+ def status_reason: () -> ::String
536
+ end
537
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#update_enrollment_status-instance_method
538
+ def update_enrollment_status: (
539
+ status: ("Active" | "Inactive" | "Pending" | "Failed"),
540
+ ?include_member_accounts: bool
541
+ ) -> _UpdateEnrollmentStatusResponseSuccess
542
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEnrollmentStatusResponseSuccess
543
+ end
544
+ end
545
+ end
546
+