aws-sdk-computeoptimizer 1.3.0 → 1.4.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e43b2cedaba77f16b6a9805ca8fc4aec36924218cd1e920718e971c8f59bde8
|
4
|
+
data.tar.gz: 85e7db04b65e542b5fd6dfd6aa797077d636cff7755a01238eacd2f91adff4e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01ba69a7f767448057d5a21dc9850dc8eb10dccedf46ed8fd2e4ff48d410e1e7e2399a68892a47f463573a1d5e4ad8d7d3441797c8ab231e1210ad31ee3b86f
|
7
|
+
data.tar.gz: 14802e60ddd2dccd858ae435d39b811b6d6a2a4317998fa4374c00eff8582537e9bf2cade7f7ab8c9617f6320060412c0beac369365056da3ce768eca6c1adde
|
@@ -25,7 +25,7 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
|
|
25
25
|
# structure.
|
26
26
|
#
|
27
27
|
# compute_optimizer = Aws::ComputeOptimizer::Client.new
|
28
|
-
# resp = compute_optimizer.
|
28
|
+
# resp = compute_optimizer.describe_recommendation_export_jobs(params)
|
29
29
|
#
|
30
30
|
# See {Client} for more information.
|
31
31
|
#
|
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
|
|
45
45
|
# @service
|
46
46
|
module Aws::ComputeOptimizer
|
47
47
|
|
48
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.4.1'
|
49
49
|
|
50
50
|
end
|
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::ComputeOptimizer
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
76
|
|
@@ -161,7 +163,7 @@ module Aws::ComputeOptimizer
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -318,6 +320,309 @@ module Aws::ComputeOptimizer
|
|
318
320
|
|
319
321
|
# @!group API Operations
|
320
322
|
|
323
|
+
# Describes recommendation export jobs created in the last seven days.
|
324
|
+
#
|
325
|
+
# Use the `ExportAutoScalingGroupRecommendations` or
|
326
|
+
# `ExportEC2InstanceRecommendations` actions to request an export of
|
327
|
+
# your recommendations. Then use the `DescribeRecommendationExportJobs`
|
328
|
+
# action to view your export jobs.
|
329
|
+
#
|
330
|
+
# @option params [Array<String>] :job_ids
|
331
|
+
# The identification numbers of the export jobs to return.
|
332
|
+
#
|
333
|
+
# An export job ID is returned when you create an export using the
|
334
|
+
# `ExportAutoScalingGroupRecommendations` or
|
335
|
+
# `ExportEC2InstanceRecommendations` actions.
|
336
|
+
#
|
337
|
+
# All export jobs created in the last seven days are returned if this
|
338
|
+
# parameter is omitted.
|
339
|
+
#
|
340
|
+
# @option params [Array<Types::JobFilter>] :filters
|
341
|
+
# An array of objects that describe a filter to return a more specific
|
342
|
+
# list of export jobs.
|
343
|
+
#
|
344
|
+
# @option params [String] :next_token
|
345
|
+
# The token to advance to the next page of export jobs.
|
346
|
+
#
|
347
|
+
# @option params [Integer] :max_results
|
348
|
+
# The maximum number of export jobs to return with a single request.
|
349
|
+
#
|
350
|
+
# To retrieve the remaining results, make another request with the
|
351
|
+
# returned `NextToken` value.
|
352
|
+
#
|
353
|
+
# @return [Types::DescribeRecommendationExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
354
|
+
#
|
355
|
+
# * {Types::DescribeRecommendationExportJobsResponse#recommendation_export_jobs #recommendation_export_jobs} => Array<Types::RecommendationExportJob>
|
356
|
+
# * {Types::DescribeRecommendationExportJobsResponse#next_token #next_token} => String
|
357
|
+
#
|
358
|
+
# @example Request syntax with placeholder values
|
359
|
+
#
|
360
|
+
# resp = client.describe_recommendation_export_jobs({
|
361
|
+
# job_ids: ["JobId"],
|
362
|
+
# filters: [
|
363
|
+
# {
|
364
|
+
# name: "ResourceType", # accepts ResourceType, JobStatus
|
365
|
+
# values: ["FilterValue"],
|
366
|
+
# },
|
367
|
+
# ],
|
368
|
+
# next_token: "NextToken",
|
369
|
+
# max_results: 1,
|
370
|
+
# })
|
371
|
+
#
|
372
|
+
# @example Response structure
|
373
|
+
#
|
374
|
+
# resp.recommendation_export_jobs #=> Array
|
375
|
+
# resp.recommendation_export_jobs[0].job_id #=> String
|
376
|
+
# resp.recommendation_export_jobs[0].destination.s3.bucket #=> String
|
377
|
+
# resp.recommendation_export_jobs[0].destination.s3.key #=> String
|
378
|
+
# resp.recommendation_export_jobs[0].destination.s3.metadata_key #=> String
|
379
|
+
# resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup"
|
380
|
+
# resp.recommendation_export_jobs[0].status #=> String, one of "Queued", "InProgress", "Complete", "Failed"
|
381
|
+
# resp.recommendation_export_jobs[0].creation_timestamp #=> Time
|
382
|
+
# resp.recommendation_export_jobs[0].last_updated_timestamp #=> Time
|
383
|
+
# resp.recommendation_export_jobs[0].failure_reason #=> String
|
384
|
+
# resp.next_token #=> String
|
385
|
+
#
|
386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DescribeRecommendationExportJobs AWS API Documentation
|
387
|
+
#
|
388
|
+
# @overload describe_recommendation_export_jobs(params = {})
|
389
|
+
# @param [Hash] params ({})
|
390
|
+
def describe_recommendation_export_jobs(params = {}, options = {})
|
391
|
+
req = build_request(:describe_recommendation_export_jobs, params)
|
392
|
+
req.send_request(options)
|
393
|
+
end
|
394
|
+
|
395
|
+
# Exports optimization recommendations for Auto Scaling groups.
|
396
|
+
#
|
397
|
+
# Recommendations are exported in a comma-separated values (.csv) file,
|
398
|
+
# and its metadata in a JavaScript Object Notation (.json) file, to an
|
399
|
+
# existing Amazon Simple Storage Service (Amazon S3) bucket that you
|
400
|
+
# specify. For more information, see [Exporting Recommendations][1] in
|
401
|
+
# the *Compute Optimizer User Guide*.
|
402
|
+
#
|
403
|
+
# You can have only one Auto Scaling group export job in progress per
|
404
|
+
# AWS Region.
|
405
|
+
#
|
406
|
+
#
|
407
|
+
#
|
408
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
|
409
|
+
#
|
410
|
+
# @option params [Array<String>] :account_ids
|
411
|
+
# The IDs of the AWS accounts for which to export Auto Scaling group
|
412
|
+
# recommendations.
|
413
|
+
#
|
414
|
+
# If your account is the master account of an organization, use this
|
415
|
+
# parameter to specify the member accounts for which you want to export
|
416
|
+
# recommendations.
|
417
|
+
#
|
418
|
+
# This parameter cannot be specified together with the include member
|
419
|
+
# accounts parameter. The parameters are mutually exclusive.
|
420
|
+
#
|
421
|
+
# Recommendations for member accounts are not included in the export if
|
422
|
+
# this parameter, or the include member accounts parameter, is omitted.
|
423
|
+
#
|
424
|
+
# You can specify multiple account IDs per request.
|
425
|
+
#
|
426
|
+
# @option params [Array<Types::Filter>] :filters
|
427
|
+
# An array of objects that describe a filter to export a more specific
|
428
|
+
# set of Auto Scaling group recommendations.
|
429
|
+
#
|
430
|
+
# @option params [Array<String>] :fields_to_export
|
431
|
+
# The recommendations data to include in the export file.
|
432
|
+
#
|
433
|
+
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
434
|
+
# An object to specify the destination Amazon Simple Storage Service
|
435
|
+
# (Amazon S3) bucket name and key prefix for the export job.
|
436
|
+
#
|
437
|
+
# You must create the destination Amazon S3 bucket for your
|
438
|
+
# recommendations export before you create the export job. Compute
|
439
|
+
# Optimizer does not create the S3 bucket for you. After you create the
|
440
|
+
# S3 bucket, ensure that it has the required permission policy to allow
|
441
|
+
# Compute Optimizer to write the export file to it. If you plan to
|
442
|
+
# specify an object prefix when you create the export job, you must
|
443
|
+
# include the object prefix in the policy that you add to the S3 bucket.
|
444
|
+
# For more information, see [Amazon S3 Bucket Policy for Compute
|
445
|
+
# Optimizer][1] in the *Compute Optimizer user guide*.
|
446
|
+
#
|
447
|
+
#
|
448
|
+
#
|
449
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
|
450
|
+
#
|
451
|
+
# @option params [String] :file_format
|
452
|
+
# The format of the export file.
|
453
|
+
#
|
454
|
+
# The only export file format currently supported is `Csv`.
|
455
|
+
#
|
456
|
+
# @option params [Boolean] :include_member_accounts
|
457
|
+
# Indicates whether to include recommendations for resources in all
|
458
|
+
# member accounts of the organization if your account is the master
|
459
|
+
# account of an organization.
|
460
|
+
#
|
461
|
+
# The member accounts must also be opted in to Compute Optimizer.
|
462
|
+
#
|
463
|
+
# Recommendations for member accounts of the organization are not
|
464
|
+
# included in the export file if this parameter is omitted.
|
465
|
+
#
|
466
|
+
# This parameter cannot be specified together with the account IDs
|
467
|
+
# parameter. The parameters are mutually exclusive.
|
468
|
+
#
|
469
|
+
# Recommendations for member accounts are not included in the export if
|
470
|
+
# this parameter, or the account IDs parameter, is omitted.
|
471
|
+
#
|
472
|
+
# @return [Types::ExportAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
473
|
+
#
|
474
|
+
# * {Types::ExportAutoScalingGroupRecommendationsResponse#job_id #job_id} => String
|
475
|
+
# * {Types::ExportAutoScalingGroupRecommendationsResponse#s3_destination #s3_destination} => Types::S3Destination
|
476
|
+
#
|
477
|
+
# @example Request syntax with placeholder values
|
478
|
+
#
|
479
|
+
# resp = client.export_auto_scaling_group_recommendations({
|
480
|
+
# account_ids: ["AccountId"],
|
481
|
+
# filters: [
|
482
|
+
# {
|
483
|
+
# name: "Finding", # accepts Finding, RecommendationSourceType
|
484
|
+
# values: ["FilterValue"],
|
485
|
+
# },
|
486
|
+
# ],
|
487
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, 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
|
488
|
+
# s3_destination_config: { # required
|
489
|
+
# bucket: "DestinationBucket",
|
490
|
+
# key_prefix: "DestinationKeyPrefix",
|
491
|
+
# },
|
492
|
+
# file_format: "Csv", # accepts Csv
|
493
|
+
# include_member_accounts: false,
|
494
|
+
# })
|
495
|
+
#
|
496
|
+
# @example Response structure
|
497
|
+
#
|
498
|
+
# resp.job_id #=> String
|
499
|
+
# resp.s3_destination.bucket #=> String
|
500
|
+
# resp.s3_destination.key #=> String
|
501
|
+
# resp.s3_destination.metadata_key #=> String
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportAutoScalingGroupRecommendations AWS API Documentation
|
504
|
+
#
|
505
|
+
# @overload export_auto_scaling_group_recommendations(params = {})
|
506
|
+
# @param [Hash] params ({})
|
507
|
+
def export_auto_scaling_group_recommendations(params = {}, options = {})
|
508
|
+
req = build_request(:export_auto_scaling_group_recommendations, params)
|
509
|
+
req.send_request(options)
|
510
|
+
end
|
511
|
+
|
512
|
+
# Exports optimization recommendations for Amazon EC2 instances.
|
513
|
+
#
|
514
|
+
# Recommendations are exported in a comma-separated values (.csv) file,
|
515
|
+
# and its metadata in a JavaScript Object Notation (.json) file, to an
|
516
|
+
# existing Amazon Simple Storage Service (Amazon S3) bucket that you
|
517
|
+
# specify. For more information, see [Exporting Recommendations][1] in
|
518
|
+
# the *Compute Optimizer User Guide*.
|
519
|
+
#
|
520
|
+
# You can have only one Amazon EC2 instance export job in progress per
|
521
|
+
# AWS Region.
|
522
|
+
#
|
523
|
+
#
|
524
|
+
#
|
525
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
|
526
|
+
#
|
527
|
+
# @option params [Array<String>] :account_ids
|
528
|
+
# The IDs of the AWS accounts for which to export instance
|
529
|
+
# recommendations.
|
530
|
+
#
|
531
|
+
# If your account is the master account of an organization, use this
|
532
|
+
# parameter to specify the member accounts for which you want to export
|
533
|
+
# recommendations.
|
534
|
+
#
|
535
|
+
# This parameter cannot be specified together with the include member
|
536
|
+
# accounts parameter. The parameters are mutually exclusive.
|
537
|
+
#
|
538
|
+
# Recommendations for member accounts are not included in the export if
|
539
|
+
# this parameter, or the include member accounts parameter, is omitted.
|
540
|
+
#
|
541
|
+
# You can specify multiple account IDs per request.
|
542
|
+
#
|
543
|
+
# @option params [Array<Types::Filter>] :filters
|
544
|
+
# An array of objects that describe a filter to export a more specific
|
545
|
+
# set of instance recommendations.
|
546
|
+
#
|
547
|
+
# @option params [Array<String>] :fields_to_export
|
548
|
+
# The recommendations data to include in the export file.
|
549
|
+
#
|
550
|
+
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
551
|
+
# An object to specify the destination Amazon Simple Storage Service
|
552
|
+
# (Amazon S3) bucket name and key prefix for the export job.
|
553
|
+
#
|
554
|
+
# You must create the destination Amazon S3 bucket for your
|
555
|
+
# recommendations export before you create the export job. Compute
|
556
|
+
# Optimizer does not create the S3 bucket for you. After you create the
|
557
|
+
# S3 bucket, ensure that it has the required permission policy to allow
|
558
|
+
# Compute Optimizer to write the export file to it. If you plan to
|
559
|
+
# specify an object prefix when you create the export job, you must
|
560
|
+
# include the object prefix in the policy that you add to the S3 bucket.
|
561
|
+
# For more information, see [Amazon S3 Bucket Policy for Compute
|
562
|
+
# Optimizer][1] in the *Compute Optimizer user guide*.
|
563
|
+
#
|
564
|
+
#
|
565
|
+
#
|
566
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
|
567
|
+
#
|
568
|
+
# @option params [String] :file_format
|
569
|
+
# The format of the export file.
|
570
|
+
#
|
571
|
+
# The only export file format currently supported is `Csv`.
|
572
|
+
#
|
573
|
+
# @option params [Boolean] :include_member_accounts
|
574
|
+
# Indicates whether to include recommendations for resources in all
|
575
|
+
# member accounts of the organization if your account is the master
|
576
|
+
# account of an organization.
|
577
|
+
#
|
578
|
+
# The member accounts must also be opted in to Compute Optimizer.
|
579
|
+
#
|
580
|
+
# Recommendations for member accounts of the organization are not
|
581
|
+
# included in the export file if this parameter is omitted.
|
582
|
+
#
|
583
|
+
# Recommendations for member accounts are not included in the export if
|
584
|
+
# this parameter, or the account IDs parameter, is omitted.
|
585
|
+
#
|
586
|
+
# @return [Types::ExportEC2InstanceRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
587
|
+
#
|
588
|
+
# * {Types::ExportEC2InstanceRecommendationsResponse#job_id #job_id} => String
|
589
|
+
# * {Types::ExportEC2InstanceRecommendationsResponse#s3_destination #s3_destination} => Types::S3Destination
|
590
|
+
#
|
591
|
+
# @example Request syntax with placeholder values
|
592
|
+
#
|
593
|
+
# resp = client.export_ec2_instance_recommendations({
|
594
|
+
# account_ids: ["AccountId"],
|
595
|
+
# filters: [
|
596
|
+
# {
|
597
|
+
# name: "Finding", # accepts Finding, RecommendationSourceType
|
598
|
+
# values: ["FilterValue"],
|
599
|
+
# },
|
600
|
+
# ],
|
601
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
602
|
+
# s3_destination_config: { # required
|
603
|
+
# bucket: "DestinationBucket",
|
604
|
+
# key_prefix: "DestinationKeyPrefix",
|
605
|
+
# },
|
606
|
+
# file_format: "Csv", # accepts Csv
|
607
|
+
# include_member_accounts: false,
|
608
|
+
# })
|
609
|
+
#
|
610
|
+
# @example Response structure
|
611
|
+
#
|
612
|
+
# resp.job_id #=> String
|
613
|
+
# resp.s3_destination.bucket #=> String
|
614
|
+
# resp.s3_destination.key #=> String
|
615
|
+
# resp.s3_destination.metadata_key #=> String
|
616
|
+
#
|
617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEC2InstanceRecommendations AWS API Documentation
|
618
|
+
#
|
619
|
+
# @overload export_ec2_instance_recommendations(params = {})
|
620
|
+
# @param [Hash] params ({})
|
621
|
+
def export_ec2_instance_recommendations(params = {}, options = {})
|
622
|
+
req = build_request(:export_ec2_instance_recommendations, params)
|
623
|
+
req.send_request(options)
|
624
|
+
end
|
625
|
+
|
321
626
|
# Returns Auto Scaling group recommendations.
|
322
627
|
#
|
323
628
|
# AWS Compute Optimizer currently generates recommendations for Auto
|
@@ -334,9 +639,13 @@ module Aws::ComputeOptimizer
|
|
334
639
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/what-is.html
|
335
640
|
#
|
336
641
|
# @option params [Array<String>] :account_ids
|
337
|
-
# The AWS
|
642
|
+
# The IDs of the AWS accounts for which to return Auto Scaling group
|
338
643
|
# recommendations.
|
339
644
|
#
|
645
|
+
# If your account is the master account of an organization, use this
|
646
|
+
# parameter to specify the member accounts for which you want to return
|
647
|
+
# Auto Scaling group recommendations.
|
648
|
+
#
|
340
649
|
# Only one account ID can be specified per request.
|
341
650
|
#
|
342
651
|
# @option params [Array<String>] :auto_scaling_group_arns
|
@@ -349,10 +658,10 @@ module Aws::ComputeOptimizer
|
|
349
658
|
#
|
350
659
|
# @option params [Integer] :max_results
|
351
660
|
# The maximum number of Auto Scaling group recommendations to return
|
352
|
-
# with a single
|
661
|
+
# with a single request.
|
353
662
|
#
|
354
|
-
# To retrieve the remaining results, make another
|
355
|
-
# `NextToken` value.
|
663
|
+
# To retrieve the remaining results, make another request with the
|
664
|
+
# returned `NextToken` value.
|
356
665
|
#
|
357
666
|
# @option params [Array<Types::Filter>] :filters
|
358
667
|
# An array of objects that describe a filter that returns a more
|
@@ -442,17 +751,22 @@ module Aws::ComputeOptimizer
|
|
442
751
|
#
|
443
752
|
# @option params [Integer] :max_results
|
444
753
|
# The maximum number of instance recommendations to return with a single
|
445
|
-
#
|
754
|
+
# request.
|
446
755
|
#
|
447
|
-
# To retrieve the remaining results, make another
|
448
|
-
# `NextToken` value.
|
756
|
+
# To retrieve the remaining results, make another request with the
|
757
|
+
# returned `NextToken` value.
|
449
758
|
#
|
450
759
|
# @option params [Array<Types::Filter>] :filters
|
451
760
|
# An array of objects that describe a filter that returns a more
|
452
761
|
# specific list of instance recommendations.
|
453
762
|
#
|
454
763
|
# @option params [Array<String>] :account_ids
|
455
|
-
# The AWS
|
764
|
+
# The IDs of the AWS accounts for which to return instance
|
765
|
+
# recommendations.
|
766
|
+
#
|
767
|
+
# If your account is the master account of an organization, use this
|
768
|
+
# parameter to specify the member accounts for which you want to return
|
769
|
+
# instance recommendations.
|
456
770
|
#
|
457
771
|
# Only one account ID can be specified per request.
|
458
772
|
#
|
@@ -574,7 +888,7 @@ module Aws::ComputeOptimizer
|
|
574
888
|
# Returns the enrollment (opt in) status of an account to the AWS
|
575
889
|
# Compute Optimizer service.
|
576
890
|
#
|
577
|
-
# If the account is
|
891
|
+
# If the account is the master account of an organization, this action
|
578
892
|
# also confirms the enrollment status of member accounts within the
|
579
893
|
# organization.
|
580
894
|
#
|
@@ -607,7 +921,12 @@ module Aws::ComputeOptimizer
|
|
607
921
|
# not optimized, or optimized.
|
608
922
|
#
|
609
923
|
# @option params [Array<String>] :account_ids
|
610
|
-
# The AWS
|
924
|
+
# The IDs of the AWS accounts for which to return recommendation
|
925
|
+
# summaries.
|
926
|
+
#
|
927
|
+
# If your account is the master account of an organization, use this
|
928
|
+
# parameter to specify the member accounts for which you want to return
|
929
|
+
# recommendation summaries.
|
611
930
|
#
|
612
931
|
# Only one account ID can be specified per request.
|
613
932
|
#
|
@@ -616,10 +935,10 @@ module Aws::ComputeOptimizer
|
|
616
935
|
#
|
617
936
|
# @option params [Integer] :max_results
|
618
937
|
# The maximum number of recommendation summaries to return with a single
|
619
|
-
#
|
938
|
+
# request.
|
620
939
|
#
|
621
|
-
# To retrieve the remaining results, make another
|
622
|
-
# `NextToken` value.
|
940
|
+
# To retrieve the remaining results, make another request with the
|
941
|
+
# returned `NextToken` value.
|
623
942
|
#
|
624
943
|
# @return [Types::GetRecommendationSummariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
625
944
|
#
|
@@ -656,8 +975,8 @@ module Aws::ComputeOptimizer
|
|
656
975
|
# Updates the enrollment (opt in) status of an account to the AWS
|
657
976
|
# Compute Optimizer service.
|
658
977
|
#
|
659
|
-
# If the account is a master account of an organization, this
|
660
|
-
#
|
978
|
+
# If the account is a master account of an organization, this action can
|
979
|
+
# also be used to enroll member accounts within the organization.
|
661
980
|
#
|
662
981
|
# @option params [required, String] :status
|
663
982
|
# The new enrollment status of the account.
|
@@ -666,8 +985,8 @@ module Aws::ComputeOptimizer
|
|
666
985
|
# `Pending` or `Failed` are specified.
|
667
986
|
#
|
668
987
|
# @option params [Boolean] :include_member_accounts
|
669
|
-
# Indicates whether to enroll member accounts
|
670
|
-
#
|
988
|
+
# Indicates whether to enroll member accounts of the organization if the
|
989
|
+
# your account is the master account of an organization.
|
671
990
|
#
|
672
991
|
# @return [Types::UpdateEnrollmentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
673
992
|
#
|
@@ -708,7 +1027,7 @@ module Aws::ComputeOptimizer
|
|
708
1027
|
params: params,
|
709
1028
|
config: config)
|
710
1029
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
711
|
-
context[:gem_version] = '1.
|
1030
|
+
context[:gem_version] = '1.4.1'
|
712
1031
|
Seahorse::Client::Request.new(handlers, context)
|
713
1032
|
end
|
714
1033
|
|