NAME
Paws::ComputeOptimizer::ExportEBSVolumeRecommendations - Arguments for method ExportEBSVolumeRecommendations on Paws::ComputeOptimizer
DESCRIPTION
This class represents the parameters used for calling the method ExportEBSVolumeRecommendations on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method ExportEBSVolumeRecommendations.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExportEBSVolumeRecommendations.
SYNOPSIS
my $compute-optimizer = Paws->service('ComputeOptimizer');
my $ExportEBSVolumeRecommendationsResponse =
$compute -optimizer->ExportEBSVolumeRecommendations(
S3DestinationConfig => {
Bucket => 'MyDestinationBucket', # OPTIONAL
KeyPrefix => 'MyDestinationKeyPrefix', # OPTIONAL
},
AccountIds => [ 'MyAccountId', ... ], # OPTIONAL
FieldsToExport => [
'AccountId',
... # values: AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp
], # OPTIONAL
FileFormat => 'Csv', # OPTIONAL
Filters => [
{
Name => 'Finding', # values: Finding; OPTIONAL
Values => [ 'MyFilterValue', ... ], # OPTIONAL
},
...
], # OPTIONAL
IncludeMemberAccounts => 1, # OPTIONAL
);
# Results:
my $JobId = $ExportEBSVolumeRecommendationsResponse->JobId;
my $S3Destination = $ExportEBSVolumeRecommendationsResponse->S3Destination;
# Returns a Paws::ComputeOptimizer::ExportEBSVolumeRecommendationsResponse 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/ExportEBSVolumeRecommendations
ATTRIBUTES
AccountIds => ArrayRef[Str|Undef]
The IDs of the AWS accounts for which to export Amazon EBS volume 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::EBSFilter]
An array of objects that describe a filter to export a more specific set of Amazon EBS volume 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
SEE ALSO
This class forms part of Paws, documenting arguments for method ExportEBSVolumeRecommendations 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