aws-sdk-computeoptimizer 1.52.0 → 1.54.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +27 -17
- data/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +33 -17
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +546 -0
- data/sig/errors.rbs +43 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1028 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
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" | "MemoryUtilization")?,
|
515
|
+
metric_parameters: {
|
516
|
+
threshold: ("P90" | "P95" | "P99_5")?,
|
517
|
+
headroom: ("PERCENT_30" | "PERCENT_20" | "PERCENT_10" | "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
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,43 @@
|
|
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
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InvalidParameterValueException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class MissingAuthenticationToken < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class OptInRequiredException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class ServiceUnavailableException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|