NAME
Paws::ComputeOptimizer::ExportAutoScalingGroupRecommendations - Arguments for method ExportAutoScalingGroupRecommendations on Paws::ComputeOptimizer
DESCRIPTION
This class represents the parameters used for calling the method ExportAutoScalingGroupRecommendations on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method ExportAutoScalingGroupRecommendations.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExportAutoScalingGroupRecommendations.
SYNOPSIS
my $compute-optimizer = Paws->service('ComputeOptimizer');
my $ExportAutoScalingGroupRecommendationsResponse =
$compute -optimizer->ExportAutoScalingGroupRecommendations(
S3DestinationConfig => {
Bucket => 'MyDestinationBucket', # OPTIONAL
KeyPrefix => 'MyDestinationKeyPrefix', # OPTIONAL
},
AccountIds => [ 'MyAccountId', ... ], # OPTIONAL
FieldsToExport => [
'AccountId',
... # values: 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
], # OPTIONAL
FileFormat => 'Csv', # OPTIONAL
Filters => [
{
Name => 'Finding'
, # values: Finding, FindingReasonCodes, RecommendationSourceType; OPTIONAL
Values => [ 'MyFilterValue', ... ], # OPTIONAL
},
...
], # OPTIONAL
IncludeMemberAccounts => 1, # OPTIONAL
);
# Results:
my $JobId = $ExportAutoScalingGroupRecommendationsResponse->JobId;
my $S3Destination =
$ExportAutoScalingGroupRecommendationsResponse->S3Destination;
# Returns a Paws::ComputeOptimizer::ExportAutoScalingGroupRecommendationsResponse object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer/ExportAutoScalingGroupRecommendations
ATTRIBUTES
AccountIds => ArrayRef[Str|Undef]
The IDs of the AWS accounts for which to export Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
FieldsToExport => ArrayRef[Str|Undef]
The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) in the Compute Optimizer User Guide.
FileFormat => Str
The format of the export file.
The only export file format currently supported is Csv
.
Valid values are: "Csv"
Filters => ArrayRef[Paws::ComputeOptimizer::Filter]
An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.
IncludeMemberAccounts => Bool
Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and AWS Organizations trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) in the AWS Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
REQUIRED S3DestinationConfig => Paws::ComputeOptimizer::S3DestinationConfig
An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) in the Compute Optimizer user guide.
SEE ALSO
This class forms part of Paws, documenting arguments for method ExportAutoScalingGroupRecommendations in Paws::ComputeOptimizer
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues