Documentation ¶
Overview ¶
Package computeoptimizer provides the client and types for making API requests to AWS Compute Optimizer.
Compute Optimizer is a service that analyzes the configuration and utilization metrics of your Amazon Web Services compute resources, such as Amazon EC2 instances, Amazon EC2 Auto Scaling groups, Lambda functions, Amazon EBS volumes, and Amazon ECS services on Fargate. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, in addition to projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, including the required permissions to use the service, see the Compute Optimizer User Guide (https://docs.aws.amazon.com/compute-optimizer/latest/ug/).
See https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01 for more information on this service.
See computeoptimizer package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/computeoptimizer/
Using the Client ¶
To contact AWS Compute Optimizer with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Compute Optimizer client ComputeOptimizer for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/computeoptimizer/#New
Index ¶
- Constants
- func AutoScalingConfiguration_Values() []string
- func CpuVendorArchitecture_Values() []string
- func Currency_Values() []string
- func CurrentPerformanceRisk_Values() []string
- func EBSFilterName_Values() []string
- func EBSFinding_Values() []string
- func EBSMetricName_Values() []string
- func ECSServiceLaunchType_Values() []string
- func ECSServiceMetricName_Values() []string
- func ECSServiceMetricStatistic_Values() []string
- func ECSServiceRecommendationFilterName_Values() []string
- func ECSServiceRecommendationFindingReasonCode_Values() []string
- func ECSServiceRecommendationFinding_Values() []string
- func EnhancedInfrastructureMetrics_Values() []string
- func EnrollmentFilterName_Values() []string
- func ExportableAutoScalingGroupField_Values() []string
- func ExportableECSServiceField_Values() []string
- func ExportableInstanceField_Values() []string
- func ExportableLambdaFunctionField_Values() []string
- func ExportableLicenseField_Values() []string
- func ExportableVolumeField_Values() []string
- func ExternalMetricStatusCode_Values() []string
- func ExternalMetricsSource_Values() []string
- func FileFormat_Values() []string
- func FilterName_Values() []string
- func FindingReasonCode_Values() []string
- func Finding_Values() []string
- func InferredWorkloadType_Values() []string
- func InferredWorkloadTypesPreference_Values() []string
- func InstanceIdle_Values() []string
- func InstanceRecommendationFindingReasonCode_Values() []string
- func InstanceState_Values() []string
- func JobFilterName_Values() []string
- func JobStatus_Values() []string
- func LambdaFunctionMemoryMetricName_Values() []string
- func LambdaFunctionMemoryMetricStatistic_Values() []string
- func LambdaFunctionMetricName_Values() []string
- func LambdaFunctionMetricStatistic_Values() []string
- func LambdaFunctionRecommendationFilterName_Values() []string
- func LambdaFunctionRecommendationFindingReasonCode_Values() []string
- func LambdaFunctionRecommendationFinding_Values() []string
- func LicenseEdition_Values() []string
- func LicenseFindingReasonCode_Values() []string
- func LicenseFinding_Values() []string
- func LicenseModel_Values() []string
- func LicenseName_Values() []string
- func LicenseRecommendationFilterName_Values() []string
- func MetricName_Values() []string
- func MetricSourceProvider_Values() []string
- func MetricStatistic_Values() []string
- func MigrationEffort_Values() []string
- func PlatformDifference_Values() []string
- func RecommendationPreferenceName_Values() []string
- func RecommendationSourceType_Values() []string
- func ResourceType_Values() []string
- func ScopeName_Values() []string
- func Status_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AccountEnrollmentStatus
- func (s AccountEnrollmentStatus) GoString() string
- func (s *AccountEnrollmentStatus) SetAccountId(v string) *AccountEnrollmentStatus
- func (s *AccountEnrollmentStatus) SetLastUpdatedTimestamp(v time.Time) *AccountEnrollmentStatus
- func (s *AccountEnrollmentStatus) SetStatus(v string) *AccountEnrollmentStatus
- func (s *AccountEnrollmentStatus) SetStatusReason(v string) *AccountEnrollmentStatus
- func (s AccountEnrollmentStatus) String() string
- type AutoScalingGroupConfiguration
- func (s AutoScalingGroupConfiguration) GoString() string
- func (s *AutoScalingGroupConfiguration) SetDesiredCapacity(v int64) *AutoScalingGroupConfiguration
- func (s *AutoScalingGroupConfiguration) SetInstanceType(v string) *AutoScalingGroupConfiguration
- func (s *AutoScalingGroupConfiguration) SetMaxSize(v int64) *AutoScalingGroupConfiguration
- func (s *AutoScalingGroupConfiguration) SetMinSize(v int64) *AutoScalingGroupConfiguration
- func (s AutoScalingGroupConfiguration) String() string
- type AutoScalingGroupRecommendation
- func (s AutoScalingGroupRecommendation) GoString() string
- func (s *AutoScalingGroupRecommendation) SetAccountId(v string) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetAutoScalingGroupArn(v string) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetAutoScalingGroupName(v string) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetCurrentConfiguration(v *AutoScalingGroupConfiguration) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetCurrentInstanceGpuInfo(v *GpuInfo) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetCurrentPerformanceRisk(v string) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetEffectiveRecommendationPreferences(v *EffectiveRecommendationPreferences) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetFinding(v string) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetInferredWorkloadTypes(v []*string) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetLastRefreshTimestamp(v time.Time) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetLookBackPeriodInDays(v float64) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetRecommendationOptions(v []*AutoScalingGroupRecommendationOption) *AutoScalingGroupRecommendation
- func (s *AutoScalingGroupRecommendation) SetUtilizationMetrics(v []*UtilizationMetric) *AutoScalingGroupRecommendation
- func (s AutoScalingGroupRecommendation) String() string
- type AutoScalingGroupRecommendationOption
- func (s AutoScalingGroupRecommendationOption) GoString() string
- func (s *AutoScalingGroupRecommendationOption) SetConfiguration(v *AutoScalingGroupConfiguration) *AutoScalingGroupRecommendationOption
- func (s *AutoScalingGroupRecommendationOption) SetInstanceGpuInfo(v *GpuInfo) *AutoScalingGroupRecommendationOption
- func (s *AutoScalingGroupRecommendationOption) SetMigrationEffort(v string) *AutoScalingGroupRecommendationOption
- func (s *AutoScalingGroupRecommendationOption) SetPerformanceRisk(v float64) *AutoScalingGroupRecommendationOption
- func (s *AutoScalingGroupRecommendationOption) SetProjectedUtilizationMetrics(v []*UtilizationMetric) *AutoScalingGroupRecommendationOption
- func (s *AutoScalingGroupRecommendationOption) SetRank(v int64) *AutoScalingGroupRecommendationOption
- func (s *AutoScalingGroupRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *AutoScalingGroupRecommendationOption
- func (s AutoScalingGroupRecommendationOption) String() string
- type ComputeOptimizer
- func (c *ComputeOptimizer) DeleteRecommendationPreferences(input *DeleteRecommendationPreferencesInput) (*DeleteRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) DeleteRecommendationPreferencesRequest(input *DeleteRecommendationPreferencesInput) (req *request.Request, output *DeleteRecommendationPreferencesOutput)
- func (c *ComputeOptimizer) DeleteRecommendationPreferencesWithContext(ctx aws.Context, input *DeleteRecommendationPreferencesInput, ...) (*DeleteRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) DescribeRecommendationExportJobs(input *DescribeRecommendationExportJobsInput) (*DescribeRecommendationExportJobsOutput, error)
- func (c *ComputeOptimizer) DescribeRecommendationExportJobsPages(input *DescribeRecommendationExportJobsInput, ...) error
- func (c *ComputeOptimizer) DescribeRecommendationExportJobsPagesWithContext(ctx aws.Context, input *DescribeRecommendationExportJobsInput, ...) error
- func (c *ComputeOptimizer) DescribeRecommendationExportJobsRequest(input *DescribeRecommendationExportJobsInput) (req *request.Request, output *DescribeRecommendationExportJobsOutput)
- func (c *ComputeOptimizer) DescribeRecommendationExportJobsWithContext(ctx aws.Context, input *DescribeRecommendationExportJobsInput, ...) (*DescribeRecommendationExportJobsOutput, error)
- func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendations(input *ExportAutoScalingGroupRecommendationsInput) (*ExportAutoScalingGroupRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *ExportAutoScalingGroupRecommendationsInput) (req *request.Request, output *ExportAutoScalingGroupRecommendationsOutput)
- func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsWithContext(ctx aws.Context, input *ExportAutoScalingGroupRecommendationsInput, ...) (*ExportAutoScalingGroupRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportEBSVolumeRecommendations(input *ExportEBSVolumeRecommendationsInput) (*ExportEBSVolumeRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEBSVolumeRecommendationsInput) (req *request.Request, output *ExportEBSVolumeRecommendationsOutput)
- func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsWithContext(ctx aws.Context, input *ExportEBSVolumeRecommendationsInput, ...) (*ExportEBSVolumeRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportEC2InstanceRecommendations(input *ExportEC2InstanceRecommendationsInput) (*ExportEC2InstanceRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *ExportEC2InstanceRecommendationsInput) (req *request.Request, output *ExportEC2InstanceRecommendationsOutput)
- func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsWithContext(ctx aws.Context, input *ExportEC2InstanceRecommendationsInput, ...) (*ExportEC2InstanceRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportECSServiceRecommendations(input *ExportECSServiceRecommendationsInput) (*ExportECSServiceRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportECSServiceRecommendationsRequest(input *ExportECSServiceRecommendationsInput) (req *request.Request, output *ExportECSServiceRecommendationsOutput)
- func (c *ComputeOptimizer) ExportECSServiceRecommendationsWithContext(ctx aws.Context, input *ExportECSServiceRecommendationsInput, ...) (*ExportECSServiceRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportLambdaFunctionRecommendations(input *ExportLambdaFunctionRecommendationsInput) (*ExportLambdaFunctionRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *ExportLambdaFunctionRecommendationsInput) (req *request.Request, output *ExportLambdaFunctionRecommendationsOutput)
- func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsWithContext(ctx aws.Context, input *ExportLambdaFunctionRecommendationsInput, ...) (*ExportLambdaFunctionRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportLicenseRecommendations(input *ExportLicenseRecommendationsInput) (*ExportLicenseRecommendationsOutput, error)
- func (c *ComputeOptimizer) ExportLicenseRecommendationsRequest(input *ExportLicenseRecommendationsInput) (req *request.Request, output *ExportLicenseRecommendationsOutput)
- func (c *ComputeOptimizer) ExportLicenseRecommendationsWithContext(ctx aws.Context, input *ExportLicenseRecommendationsInput, ...) (*ExportLicenseRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetAutoScalingGroupRecommendations(input *GetAutoScalingGroupRecommendationsInput) (*GetAutoScalingGroupRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetAutoScalingGroupRecommendationsInput) (req *request.Request, output *GetAutoScalingGroupRecommendationsOutput)
- func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsWithContext(ctx aws.Context, input *GetAutoScalingGroupRecommendationsInput, ...) (*GetAutoScalingGroupRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetEBSVolumeRecommendations(input *GetEBSVolumeRecommendationsInput) (*GetEBSVolumeRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolumeRecommendationsInput) (req *request.Request, output *GetEBSVolumeRecommendationsOutput)
- func (c *ComputeOptimizer) GetEBSVolumeRecommendationsWithContext(ctx aws.Context, input *GetEBSVolumeRecommendationsInput, ...) (*GetEBSVolumeRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetEC2InstanceRecommendations(input *GetEC2InstanceRecommendationsInput) (*GetEC2InstanceRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2InstanceRecommendationsInput) (req *request.Request, output *GetEC2InstanceRecommendationsOutput)
- func (c *ComputeOptimizer) GetEC2InstanceRecommendationsWithContext(ctx aws.Context, input *GetEC2InstanceRecommendationsInput, ...) (*GetEC2InstanceRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetrics(input *GetEC2RecommendationProjectedMetricsInput) (*GetEC2RecommendationProjectedMetricsOutput, error)
- func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest(input *GetEC2RecommendationProjectedMetricsInput) (req *request.Request, output *GetEC2RecommendationProjectedMetricsOutput)
- func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsWithContext(ctx aws.Context, input *GetEC2RecommendationProjectedMetricsInput, ...) (*GetEC2RecommendationProjectedMetricsOutput, error)
- func (c *ComputeOptimizer) GetECSServiceRecommendationProjectedMetrics(input *GetECSServiceRecommendationProjectedMetricsInput) (*GetECSServiceRecommendationProjectedMetricsOutput, error)
- func (c *ComputeOptimizer) GetECSServiceRecommendationProjectedMetricsRequest(input *GetECSServiceRecommendationProjectedMetricsInput) (req *request.Request, ...)
- func (c *ComputeOptimizer) GetECSServiceRecommendationProjectedMetricsWithContext(ctx aws.Context, input *GetECSServiceRecommendationProjectedMetricsInput, ...) (*GetECSServiceRecommendationProjectedMetricsOutput, error)
- func (c *ComputeOptimizer) GetECSServiceRecommendations(input *GetECSServiceRecommendationsInput) (*GetECSServiceRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetECSServiceRecommendationsRequest(input *GetECSServiceRecommendationsInput) (req *request.Request, output *GetECSServiceRecommendationsOutput)
- func (c *ComputeOptimizer) GetECSServiceRecommendationsWithContext(ctx aws.Context, input *GetECSServiceRecommendationsInput, ...) (*GetECSServiceRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetEffectiveRecommendationPreferences(input *GetEffectiveRecommendationPreferencesInput) (*GetEffectiveRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) GetEffectiveRecommendationPreferencesRequest(input *GetEffectiveRecommendationPreferencesInput) (req *request.Request, output *GetEffectiveRecommendationPreferencesOutput)
- func (c *ComputeOptimizer) GetEffectiveRecommendationPreferencesWithContext(ctx aws.Context, input *GetEffectiveRecommendationPreferencesInput, ...) (*GetEffectiveRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) GetEnrollmentStatus(input *GetEnrollmentStatusInput) (*GetEnrollmentStatusOutput, error)
- func (c *ComputeOptimizer) GetEnrollmentStatusRequest(input *GetEnrollmentStatusInput) (req *request.Request, output *GetEnrollmentStatusOutput)
- func (c *ComputeOptimizer) GetEnrollmentStatusWithContext(ctx aws.Context, input *GetEnrollmentStatusInput, opts ...request.Option) (*GetEnrollmentStatusOutput, error)
- func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganization(input *GetEnrollmentStatusesForOrganizationInput) (*GetEnrollmentStatusesForOrganizationOutput, error)
- func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationPages(input *GetEnrollmentStatusesForOrganizationInput, ...) error
- func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationPagesWithContext(ctx aws.Context, input *GetEnrollmentStatusesForOrganizationInput, ...) error
- func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationRequest(input *GetEnrollmentStatusesForOrganizationInput) (req *request.Request, output *GetEnrollmentStatusesForOrganizationOutput)
- func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationWithContext(ctx aws.Context, input *GetEnrollmentStatusesForOrganizationInput, ...) (*GetEnrollmentStatusesForOrganizationOutput, error)
- func (c *ComputeOptimizer) GetLambdaFunctionRecommendations(input *GetLambdaFunctionRecommendationsInput) (*GetLambdaFunctionRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsPages(input *GetLambdaFunctionRecommendationsInput, ...) error
- func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsPagesWithContext(ctx aws.Context, input *GetLambdaFunctionRecommendationsInput, ...) error
- func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLambdaFunctionRecommendationsInput) (req *request.Request, output *GetLambdaFunctionRecommendationsOutput)
- func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsWithContext(ctx aws.Context, input *GetLambdaFunctionRecommendationsInput, ...) (*GetLambdaFunctionRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetLicenseRecommendations(input *GetLicenseRecommendationsInput) (*GetLicenseRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetLicenseRecommendationsRequest(input *GetLicenseRecommendationsInput) (req *request.Request, output *GetLicenseRecommendationsOutput)
- func (c *ComputeOptimizer) GetLicenseRecommendationsWithContext(ctx aws.Context, input *GetLicenseRecommendationsInput, opts ...request.Option) (*GetLicenseRecommendationsOutput, error)
- func (c *ComputeOptimizer) GetRecommendationPreferences(input *GetRecommendationPreferencesInput) (*GetRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) GetRecommendationPreferencesPages(input *GetRecommendationPreferencesInput, ...) error
- func (c *ComputeOptimizer) GetRecommendationPreferencesPagesWithContext(ctx aws.Context, input *GetRecommendationPreferencesInput, ...) error
- func (c *ComputeOptimizer) GetRecommendationPreferencesRequest(input *GetRecommendationPreferencesInput) (req *request.Request, output *GetRecommendationPreferencesOutput)
- func (c *ComputeOptimizer) GetRecommendationPreferencesWithContext(ctx aws.Context, input *GetRecommendationPreferencesInput, ...) (*GetRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) GetRecommendationSummaries(input *GetRecommendationSummariesInput) (*GetRecommendationSummariesOutput, error)
- func (c *ComputeOptimizer) GetRecommendationSummariesPages(input *GetRecommendationSummariesInput, ...) error
- func (c *ComputeOptimizer) GetRecommendationSummariesPagesWithContext(ctx aws.Context, input *GetRecommendationSummariesInput, ...) error
- func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommendationSummariesInput) (req *request.Request, output *GetRecommendationSummariesOutput)
- func (c *ComputeOptimizer) GetRecommendationSummariesWithContext(ctx aws.Context, input *GetRecommendationSummariesInput, ...) (*GetRecommendationSummariesOutput, error)
- func (c *ComputeOptimizer) PutRecommendationPreferences(input *PutRecommendationPreferencesInput) (*PutRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) PutRecommendationPreferencesRequest(input *PutRecommendationPreferencesInput) (req *request.Request, output *PutRecommendationPreferencesOutput)
- func (c *ComputeOptimizer) PutRecommendationPreferencesWithContext(ctx aws.Context, input *PutRecommendationPreferencesInput, ...) (*PutRecommendationPreferencesOutput, error)
- func (c *ComputeOptimizer) UpdateEnrollmentStatus(input *UpdateEnrollmentStatusInput) (*UpdateEnrollmentStatusOutput, error)
- func (c *ComputeOptimizer) UpdateEnrollmentStatusRequest(input *UpdateEnrollmentStatusInput) (req *request.Request, output *UpdateEnrollmentStatusOutput)
- func (c *ComputeOptimizer) UpdateEnrollmentStatusWithContext(ctx aws.Context, input *UpdateEnrollmentStatusInput, opts ...request.Option) (*UpdateEnrollmentStatusOutput, error)
- type ContainerConfiguration
- func (s ContainerConfiguration) GoString() string
- func (s *ContainerConfiguration) SetContainerName(v string) *ContainerConfiguration
- func (s *ContainerConfiguration) SetCpu(v int64) *ContainerConfiguration
- func (s *ContainerConfiguration) SetMemorySizeConfiguration(v *MemorySizeConfiguration) *ContainerConfiguration
- func (s ContainerConfiguration) String() string
- type ContainerRecommendation
- func (s ContainerRecommendation) GoString() string
- func (s *ContainerRecommendation) SetContainerName(v string) *ContainerRecommendation
- func (s *ContainerRecommendation) SetCpu(v int64) *ContainerRecommendation
- func (s *ContainerRecommendation) SetMemorySizeConfiguration(v *MemorySizeConfiguration) *ContainerRecommendation
- func (s ContainerRecommendation) String() string
- type CurrentPerformanceRiskRatings
- func (s CurrentPerformanceRiskRatings) GoString() string
- func (s *CurrentPerformanceRiskRatings) SetHigh(v int64) *CurrentPerformanceRiskRatings
- func (s *CurrentPerformanceRiskRatings) SetLow(v int64) *CurrentPerformanceRiskRatings
- func (s *CurrentPerformanceRiskRatings) SetMedium(v int64) *CurrentPerformanceRiskRatings
- func (s *CurrentPerformanceRiskRatings) SetVeryLow(v int64) *CurrentPerformanceRiskRatings
- func (s CurrentPerformanceRiskRatings) String() string
- type DeleteRecommendationPreferencesInput
- func (s DeleteRecommendationPreferencesInput) GoString() string
- func (s *DeleteRecommendationPreferencesInput) SetRecommendationPreferenceNames(v []*string) *DeleteRecommendationPreferencesInput
- func (s *DeleteRecommendationPreferencesInput) SetResourceType(v string) *DeleteRecommendationPreferencesInput
- func (s *DeleteRecommendationPreferencesInput) SetScope(v *Scope) *DeleteRecommendationPreferencesInput
- func (s DeleteRecommendationPreferencesInput) String() string
- func (s *DeleteRecommendationPreferencesInput) Validate() error
- type DeleteRecommendationPreferencesOutput
- type DescribeRecommendationExportJobsInput
- func (s DescribeRecommendationExportJobsInput) GoString() string
- func (s *DescribeRecommendationExportJobsInput) SetFilters(v []*JobFilter) *DescribeRecommendationExportJobsInput
- func (s *DescribeRecommendationExportJobsInput) SetJobIds(v []*string) *DescribeRecommendationExportJobsInput
- func (s *DescribeRecommendationExportJobsInput) SetMaxResults(v int64) *DescribeRecommendationExportJobsInput
- func (s *DescribeRecommendationExportJobsInput) SetNextToken(v string) *DescribeRecommendationExportJobsInput
- func (s DescribeRecommendationExportJobsInput) String() string
- type DescribeRecommendationExportJobsOutput
- func (s DescribeRecommendationExportJobsOutput) GoString() string
- func (s *DescribeRecommendationExportJobsOutput) SetNextToken(v string) *DescribeRecommendationExportJobsOutput
- func (s *DescribeRecommendationExportJobsOutput) SetRecommendationExportJobs(v []*RecommendationExportJob) *DescribeRecommendationExportJobsOutput
- func (s DescribeRecommendationExportJobsOutput) String() string
- type EBSFilter
- type EBSUtilizationMetric
- func (s EBSUtilizationMetric) GoString() string
- func (s *EBSUtilizationMetric) SetName(v string) *EBSUtilizationMetric
- func (s *EBSUtilizationMetric) SetStatistic(v string) *EBSUtilizationMetric
- func (s *EBSUtilizationMetric) SetValue(v float64) *EBSUtilizationMetric
- func (s EBSUtilizationMetric) String() string
- type ECSServiceProjectedMetric
- func (s ECSServiceProjectedMetric) GoString() string
- func (s *ECSServiceProjectedMetric) SetLowerBoundValues(v []*float64) *ECSServiceProjectedMetric
- func (s *ECSServiceProjectedMetric) SetName(v string) *ECSServiceProjectedMetric
- func (s *ECSServiceProjectedMetric) SetTimestamps(v []*time.Time) *ECSServiceProjectedMetric
- func (s *ECSServiceProjectedMetric) SetUpperBoundValues(v []*float64) *ECSServiceProjectedMetric
- func (s ECSServiceProjectedMetric) String() string
- type ECSServiceProjectedUtilizationMetric
- func (s ECSServiceProjectedUtilizationMetric) GoString() string
- func (s *ECSServiceProjectedUtilizationMetric) SetLowerBoundValue(v float64) *ECSServiceProjectedUtilizationMetric
- func (s *ECSServiceProjectedUtilizationMetric) SetName(v string) *ECSServiceProjectedUtilizationMetric
- func (s *ECSServiceProjectedUtilizationMetric) SetStatistic(v string) *ECSServiceProjectedUtilizationMetric
- func (s *ECSServiceProjectedUtilizationMetric) SetUpperBoundValue(v float64) *ECSServiceProjectedUtilizationMetric
- func (s ECSServiceProjectedUtilizationMetric) String() string
- type ECSServiceRecommendation
- func (s ECSServiceRecommendation) GoString() string
- func (s *ECSServiceRecommendation) SetAccountId(v string) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetCurrentPerformanceRisk(v string) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetCurrentServiceConfiguration(v *ServiceConfiguration) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetFinding(v string) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetFindingReasonCodes(v []*string) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetLastRefreshTimestamp(v time.Time) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetLaunchType(v string) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetLookbackPeriodInDays(v float64) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetServiceArn(v string) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetServiceRecommendationOptions(v []*ECSServiceRecommendationOption) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetTags(v []*Tag) *ECSServiceRecommendation
- func (s *ECSServiceRecommendation) SetUtilizationMetrics(v []*ECSServiceUtilizationMetric) *ECSServiceRecommendation
- func (s ECSServiceRecommendation) String() string
- type ECSServiceRecommendationFilter
- func (s ECSServiceRecommendationFilter) GoString() string
- func (s *ECSServiceRecommendationFilter) SetName(v string) *ECSServiceRecommendationFilter
- func (s *ECSServiceRecommendationFilter) SetValues(v []*string) *ECSServiceRecommendationFilter
- func (s ECSServiceRecommendationFilter) String() string
- type ECSServiceRecommendationOption
- func (s ECSServiceRecommendationOption) GoString() string
- func (s *ECSServiceRecommendationOption) SetContainerRecommendations(v []*ContainerRecommendation) *ECSServiceRecommendationOption
- func (s *ECSServiceRecommendationOption) SetCpu(v int64) *ECSServiceRecommendationOption
- func (s *ECSServiceRecommendationOption) SetMemory(v int64) *ECSServiceRecommendationOption
- func (s *ECSServiceRecommendationOption) SetProjectedUtilizationMetrics(v []*ECSServiceProjectedUtilizationMetric) *ECSServiceRecommendationOption
- func (s *ECSServiceRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *ECSServiceRecommendationOption
- func (s ECSServiceRecommendationOption) String() string
- type ECSServiceRecommendedOptionProjectedMetric
- func (s ECSServiceRecommendedOptionProjectedMetric) GoString() string
- func (s *ECSServiceRecommendedOptionProjectedMetric) SetProjectedMetrics(v []*ECSServiceProjectedMetric) *ECSServiceRecommendedOptionProjectedMetric
- func (s *ECSServiceRecommendedOptionProjectedMetric) SetRecommendedCpuUnits(v int64) *ECSServiceRecommendedOptionProjectedMetric
- func (s *ECSServiceRecommendedOptionProjectedMetric) SetRecommendedMemorySize(v int64) *ECSServiceRecommendedOptionProjectedMetric
- func (s ECSServiceRecommendedOptionProjectedMetric) String() string
- type ECSServiceUtilizationMetric
- func (s ECSServiceUtilizationMetric) GoString() string
- func (s *ECSServiceUtilizationMetric) SetName(v string) *ECSServiceUtilizationMetric
- func (s *ECSServiceUtilizationMetric) SetStatistic(v string) *ECSServiceUtilizationMetric
- func (s *ECSServiceUtilizationMetric) SetValue(v float64) *ECSServiceUtilizationMetric
- func (s ECSServiceUtilizationMetric) String() string
- type EffectiveRecommendationPreferences
- func (s EffectiveRecommendationPreferences) GoString() string
- func (s *EffectiveRecommendationPreferences) SetCpuVendorArchitectures(v []*string) *EffectiveRecommendationPreferences
- func (s *EffectiveRecommendationPreferences) SetEnhancedInfrastructureMetrics(v string) *EffectiveRecommendationPreferences
- func (s *EffectiveRecommendationPreferences) SetExternalMetricsPreference(v *ExternalMetricsPreference) *EffectiveRecommendationPreferences
- func (s *EffectiveRecommendationPreferences) SetInferredWorkloadTypes(v string) *EffectiveRecommendationPreferences
- func (s EffectiveRecommendationPreferences) String() string
- type EnrollmentFilter
- type EstimatedMonthlySavings
- type ExportAutoScalingGroupRecommendationsInput
- func (s ExportAutoScalingGroupRecommendationsInput) GoString() string
- func (s *ExportAutoScalingGroupRecommendationsInput) SetAccountIds(v []*string) *ExportAutoScalingGroupRecommendationsInput
- func (s *ExportAutoScalingGroupRecommendationsInput) SetFieldsToExport(v []*string) *ExportAutoScalingGroupRecommendationsInput
- func (s *ExportAutoScalingGroupRecommendationsInput) SetFileFormat(v string) *ExportAutoScalingGroupRecommendationsInput
- func (s *ExportAutoScalingGroupRecommendationsInput) SetFilters(v []*Filter) *ExportAutoScalingGroupRecommendationsInput
- func (s *ExportAutoScalingGroupRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportAutoScalingGroupRecommendationsInput
- func (s *ExportAutoScalingGroupRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportAutoScalingGroupRecommendationsInput
- func (s *ExportAutoScalingGroupRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportAutoScalingGroupRecommendationsInput
- func (s ExportAutoScalingGroupRecommendationsInput) String() string
- func (s *ExportAutoScalingGroupRecommendationsInput) Validate() error
- type ExportAutoScalingGroupRecommendationsOutput
- func (s ExportAutoScalingGroupRecommendationsOutput) GoString() string
- func (s *ExportAutoScalingGroupRecommendationsOutput) SetJobId(v string) *ExportAutoScalingGroupRecommendationsOutput
- func (s *ExportAutoScalingGroupRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportAutoScalingGroupRecommendationsOutput
- func (s ExportAutoScalingGroupRecommendationsOutput) String() string
- type ExportDestination
- type ExportEBSVolumeRecommendationsInput
- func (s ExportEBSVolumeRecommendationsInput) GoString() string
- func (s *ExportEBSVolumeRecommendationsInput) SetAccountIds(v []*string) *ExportEBSVolumeRecommendationsInput
- func (s *ExportEBSVolumeRecommendationsInput) SetFieldsToExport(v []*string) *ExportEBSVolumeRecommendationsInput
- func (s *ExportEBSVolumeRecommendationsInput) SetFileFormat(v string) *ExportEBSVolumeRecommendationsInput
- func (s *ExportEBSVolumeRecommendationsInput) SetFilters(v []*EBSFilter) *ExportEBSVolumeRecommendationsInput
- func (s *ExportEBSVolumeRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportEBSVolumeRecommendationsInput
- func (s *ExportEBSVolumeRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportEBSVolumeRecommendationsInput
- func (s ExportEBSVolumeRecommendationsInput) String() string
- func (s *ExportEBSVolumeRecommendationsInput) Validate() error
- type ExportEBSVolumeRecommendationsOutput
- func (s ExportEBSVolumeRecommendationsOutput) GoString() string
- func (s *ExportEBSVolumeRecommendationsOutput) SetJobId(v string) *ExportEBSVolumeRecommendationsOutput
- func (s *ExportEBSVolumeRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportEBSVolumeRecommendationsOutput
- func (s ExportEBSVolumeRecommendationsOutput) String() string
- type ExportEC2InstanceRecommendationsInput
- func (s ExportEC2InstanceRecommendationsInput) GoString() string
- func (s *ExportEC2InstanceRecommendationsInput) SetAccountIds(v []*string) *ExportEC2InstanceRecommendationsInput
- func (s *ExportEC2InstanceRecommendationsInput) SetFieldsToExport(v []*string) *ExportEC2InstanceRecommendationsInput
- func (s *ExportEC2InstanceRecommendationsInput) SetFileFormat(v string) *ExportEC2InstanceRecommendationsInput
- func (s *ExportEC2InstanceRecommendationsInput) SetFilters(v []*Filter) *ExportEC2InstanceRecommendationsInput
- func (s *ExportEC2InstanceRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportEC2InstanceRecommendationsInput
- func (s *ExportEC2InstanceRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportEC2InstanceRecommendationsInput
- func (s *ExportEC2InstanceRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportEC2InstanceRecommendationsInput
- func (s ExportEC2InstanceRecommendationsInput) String() string
- func (s *ExportEC2InstanceRecommendationsInput) Validate() error
- type ExportEC2InstanceRecommendationsOutput
- func (s ExportEC2InstanceRecommendationsOutput) GoString() string
- func (s *ExportEC2InstanceRecommendationsOutput) SetJobId(v string) *ExportEC2InstanceRecommendationsOutput
- func (s *ExportEC2InstanceRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportEC2InstanceRecommendationsOutput
- func (s ExportEC2InstanceRecommendationsOutput) String() string
- type ExportECSServiceRecommendationsInput
- func (s ExportECSServiceRecommendationsInput) GoString() string
- func (s *ExportECSServiceRecommendationsInput) SetAccountIds(v []*string) *ExportECSServiceRecommendationsInput
- func (s *ExportECSServiceRecommendationsInput) SetFieldsToExport(v []*string) *ExportECSServiceRecommendationsInput
- func (s *ExportECSServiceRecommendationsInput) SetFileFormat(v string) *ExportECSServiceRecommendationsInput
- func (s *ExportECSServiceRecommendationsInput) SetFilters(v []*ECSServiceRecommendationFilter) *ExportECSServiceRecommendationsInput
- func (s *ExportECSServiceRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportECSServiceRecommendationsInput
- func (s *ExportECSServiceRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportECSServiceRecommendationsInput
- func (s ExportECSServiceRecommendationsInput) String() string
- func (s *ExportECSServiceRecommendationsInput) Validate() error
- type ExportECSServiceRecommendationsOutput
- func (s ExportECSServiceRecommendationsOutput) GoString() string
- func (s *ExportECSServiceRecommendationsOutput) SetJobId(v string) *ExportECSServiceRecommendationsOutput
- func (s *ExportECSServiceRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportECSServiceRecommendationsOutput
- func (s ExportECSServiceRecommendationsOutput) String() string
- type ExportLambdaFunctionRecommendationsInput
- func (s ExportLambdaFunctionRecommendationsInput) GoString() string
- func (s *ExportLambdaFunctionRecommendationsInput) SetAccountIds(v []*string) *ExportLambdaFunctionRecommendationsInput
- func (s *ExportLambdaFunctionRecommendationsInput) SetFieldsToExport(v []*string) *ExportLambdaFunctionRecommendationsInput
- func (s *ExportLambdaFunctionRecommendationsInput) SetFileFormat(v string) *ExportLambdaFunctionRecommendationsInput
- func (s *ExportLambdaFunctionRecommendationsInput) SetFilters(v []*LambdaFunctionRecommendationFilter) *ExportLambdaFunctionRecommendationsInput
- func (s *ExportLambdaFunctionRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportLambdaFunctionRecommendationsInput
- func (s *ExportLambdaFunctionRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportLambdaFunctionRecommendationsInput
- func (s ExportLambdaFunctionRecommendationsInput) String() string
- func (s *ExportLambdaFunctionRecommendationsInput) Validate() error
- type ExportLambdaFunctionRecommendationsOutput
- func (s ExportLambdaFunctionRecommendationsOutput) GoString() string
- func (s *ExportLambdaFunctionRecommendationsOutput) SetJobId(v string) *ExportLambdaFunctionRecommendationsOutput
- func (s *ExportLambdaFunctionRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportLambdaFunctionRecommendationsOutput
- func (s ExportLambdaFunctionRecommendationsOutput) String() string
- type ExportLicenseRecommendationsInput
- func (s ExportLicenseRecommendationsInput) GoString() string
- func (s *ExportLicenseRecommendationsInput) SetAccountIds(v []*string) *ExportLicenseRecommendationsInput
- func (s *ExportLicenseRecommendationsInput) SetFieldsToExport(v []*string) *ExportLicenseRecommendationsInput
- func (s *ExportLicenseRecommendationsInput) SetFileFormat(v string) *ExportLicenseRecommendationsInput
- func (s *ExportLicenseRecommendationsInput) SetFilters(v []*LicenseRecommendationFilter) *ExportLicenseRecommendationsInput
- func (s *ExportLicenseRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportLicenseRecommendationsInput
- func (s *ExportLicenseRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportLicenseRecommendationsInput
- func (s ExportLicenseRecommendationsInput) String() string
- func (s *ExportLicenseRecommendationsInput) Validate() error
- type ExportLicenseRecommendationsOutput
- func (s ExportLicenseRecommendationsOutput) GoString() string
- func (s *ExportLicenseRecommendationsOutput) SetJobId(v string) *ExportLicenseRecommendationsOutput
- func (s *ExportLicenseRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportLicenseRecommendationsOutput
- func (s ExportLicenseRecommendationsOutput) String() string
- type ExternalMetricStatus
- type ExternalMetricsPreference
- type Filter
- type GetAutoScalingGroupRecommendationsInput
- func (s GetAutoScalingGroupRecommendationsInput) GoString() string
- func (s *GetAutoScalingGroupRecommendationsInput) SetAccountIds(v []*string) *GetAutoScalingGroupRecommendationsInput
- func (s *GetAutoScalingGroupRecommendationsInput) SetAutoScalingGroupArns(v []*string) *GetAutoScalingGroupRecommendationsInput
- func (s *GetAutoScalingGroupRecommendationsInput) SetFilters(v []*Filter) *GetAutoScalingGroupRecommendationsInput
- func (s *GetAutoScalingGroupRecommendationsInput) SetMaxResults(v int64) *GetAutoScalingGroupRecommendationsInput
- func (s *GetAutoScalingGroupRecommendationsInput) SetNextToken(v string) *GetAutoScalingGroupRecommendationsInput
- func (s *GetAutoScalingGroupRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetAutoScalingGroupRecommendationsInput
- func (s GetAutoScalingGroupRecommendationsInput) String() string
- type GetAutoScalingGroupRecommendationsOutput
- func (s GetAutoScalingGroupRecommendationsOutput) GoString() string
- func (s *GetAutoScalingGroupRecommendationsOutput) SetAutoScalingGroupRecommendations(v []*AutoScalingGroupRecommendation) *GetAutoScalingGroupRecommendationsOutput
- func (s *GetAutoScalingGroupRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetAutoScalingGroupRecommendationsOutput
- func (s *GetAutoScalingGroupRecommendationsOutput) SetNextToken(v string) *GetAutoScalingGroupRecommendationsOutput
- func (s GetAutoScalingGroupRecommendationsOutput) String() string
- type GetEBSVolumeRecommendationsInput
- func (s GetEBSVolumeRecommendationsInput) GoString() string
- func (s *GetEBSVolumeRecommendationsInput) SetAccountIds(v []*string) *GetEBSVolumeRecommendationsInput
- func (s *GetEBSVolumeRecommendationsInput) SetFilters(v []*EBSFilter) *GetEBSVolumeRecommendationsInput
- func (s *GetEBSVolumeRecommendationsInput) SetMaxResults(v int64) *GetEBSVolumeRecommendationsInput
- func (s *GetEBSVolumeRecommendationsInput) SetNextToken(v string) *GetEBSVolumeRecommendationsInput
- func (s *GetEBSVolumeRecommendationsInput) SetVolumeArns(v []*string) *GetEBSVolumeRecommendationsInput
- func (s GetEBSVolumeRecommendationsInput) String() string
- type GetEBSVolumeRecommendationsOutput
- func (s GetEBSVolumeRecommendationsOutput) GoString() string
- func (s *GetEBSVolumeRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetEBSVolumeRecommendationsOutput
- func (s *GetEBSVolumeRecommendationsOutput) SetNextToken(v string) *GetEBSVolumeRecommendationsOutput
- func (s *GetEBSVolumeRecommendationsOutput) SetVolumeRecommendations(v []*VolumeRecommendation) *GetEBSVolumeRecommendationsOutput
- func (s GetEBSVolumeRecommendationsOutput) String() string
- type GetEC2InstanceRecommendationsInput
- func (s GetEC2InstanceRecommendationsInput) GoString() string
- func (s *GetEC2InstanceRecommendationsInput) SetAccountIds(v []*string) *GetEC2InstanceRecommendationsInput
- func (s *GetEC2InstanceRecommendationsInput) SetFilters(v []*Filter) *GetEC2InstanceRecommendationsInput
- func (s *GetEC2InstanceRecommendationsInput) SetInstanceArns(v []*string) *GetEC2InstanceRecommendationsInput
- func (s *GetEC2InstanceRecommendationsInput) SetMaxResults(v int64) *GetEC2InstanceRecommendationsInput
- func (s *GetEC2InstanceRecommendationsInput) SetNextToken(v string) *GetEC2InstanceRecommendationsInput
- func (s *GetEC2InstanceRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetEC2InstanceRecommendationsInput
- func (s GetEC2InstanceRecommendationsInput) String() string
- type GetEC2InstanceRecommendationsOutput
- func (s GetEC2InstanceRecommendationsOutput) GoString() string
- func (s *GetEC2InstanceRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetEC2InstanceRecommendationsOutput
- func (s *GetEC2InstanceRecommendationsOutput) SetInstanceRecommendations(v []*InstanceRecommendation) *GetEC2InstanceRecommendationsOutput
- func (s *GetEC2InstanceRecommendationsOutput) SetNextToken(v string) *GetEC2InstanceRecommendationsOutput
- func (s GetEC2InstanceRecommendationsOutput) String() string
- type GetEC2RecommendationProjectedMetricsInput
- func (s GetEC2RecommendationProjectedMetricsInput) GoString() string
- func (s *GetEC2RecommendationProjectedMetricsInput) SetEndTime(v time.Time) *GetEC2RecommendationProjectedMetricsInput
- func (s *GetEC2RecommendationProjectedMetricsInput) SetInstanceArn(v string) *GetEC2RecommendationProjectedMetricsInput
- func (s *GetEC2RecommendationProjectedMetricsInput) SetPeriod(v int64) *GetEC2RecommendationProjectedMetricsInput
- func (s *GetEC2RecommendationProjectedMetricsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetEC2RecommendationProjectedMetricsInput
- func (s *GetEC2RecommendationProjectedMetricsInput) SetStartTime(v time.Time) *GetEC2RecommendationProjectedMetricsInput
- func (s *GetEC2RecommendationProjectedMetricsInput) SetStat(v string) *GetEC2RecommendationProjectedMetricsInput
- func (s GetEC2RecommendationProjectedMetricsInput) String() string
- func (s *GetEC2RecommendationProjectedMetricsInput) Validate() error
- type GetEC2RecommendationProjectedMetricsOutput
- func (s GetEC2RecommendationProjectedMetricsOutput) GoString() string
- func (s *GetEC2RecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics(v []*RecommendedOptionProjectedMetric) *GetEC2RecommendationProjectedMetricsOutput
- func (s GetEC2RecommendationProjectedMetricsOutput) String() string
- type GetECSServiceRecommendationProjectedMetricsInput
- func (s GetECSServiceRecommendationProjectedMetricsInput) GoString() string
- func (s *GetECSServiceRecommendationProjectedMetricsInput) SetEndTime(v time.Time) *GetECSServiceRecommendationProjectedMetricsInput
- func (s *GetECSServiceRecommendationProjectedMetricsInput) SetPeriod(v int64) *GetECSServiceRecommendationProjectedMetricsInput
- func (s *GetECSServiceRecommendationProjectedMetricsInput) SetServiceArn(v string) *GetECSServiceRecommendationProjectedMetricsInput
- func (s *GetECSServiceRecommendationProjectedMetricsInput) SetStartTime(v time.Time) *GetECSServiceRecommendationProjectedMetricsInput
- func (s *GetECSServiceRecommendationProjectedMetricsInput) SetStat(v string) *GetECSServiceRecommendationProjectedMetricsInput
- func (s GetECSServiceRecommendationProjectedMetricsInput) String() string
- func (s *GetECSServiceRecommendationProjectedMetricsInput) Validate() error
- type GetECSServiceRecommendationProjectedMetricsOutput
- func (s GetECSServiceRecommendationProjectedMetricsOutput) GoString() string
- func (s *GetECSServiceRecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics(v []*ECSServiceRecommendedOptionProjectedMetric) *GetECSServiceRecommendationProjectedMetricsOutput
- func (s GetECSServiceRecommendationProjectedMetricsOutput) String() string
- type GetECSServiceRecommendationsInput
- func (s GetECSServiceRecommendationsInput) GoString() string
- func (s *GetECSServiceRecommendationsInput) SetAccountIds(v []*string) *GetECSServiceRecommendationsInput
- func (s *GetECSServiceRecommendationsInput) SetFilters(v []*ECSServiceRecommendationFilter) *GetECSServiceRecommendationsInput
- func (s *GetECSServiceRecommendationsInput) SetMaxResults(v int64) *GetECSServiceRecommendationsInput
- func (s *GetECSServiceRecommendationsInput) SetNextToken(v string) *GetECSServiceRecommendationsInput
- func (s *GetECSServiceRecommendationsInput) SetServiceArns(v []*string) *GetECSServiceRecommendationsInput
- func (s GetECSServiceRecommendationsInput) String() string
- type GetECSServiceRecommendationsOutput
- func (s GetECSServiceRecommendationsOutput) GoString() string
- func (s *GetECSServiceRecommendationsOutput) SetEcsServiceRecommendations(v []*ECSServiceRecommendation) *GetECSServiceRecommendationsOutput
- func (s *GetECSServiceRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetECSServiceRecommendationsOutput
- func (s *GetECSServiceRecommendationsOutput) SetNextToken(v string) *GetECSServiceRecommendationsOutput
- func (s GetECSServiceRecommendationsOutput) String() string
- type GetEffectiveRecommendationPreferencesInput
- func (s GetEffectiveRecommendationPreferencesInput) GoString() string
- func (s *GetEffectiveRecommendationPreferencesInput) SetResourceArn(v string) *GetEffectiveRecommendationPreferencesInput
- func (s GetEffectiveRecommendationPreferencesInput) String() string
- func (s *GetEffectiveRecommendationPreferencesInput) Validate() error
- type GetEffectiveRecommendationPreferencesOutput
- func (s GetEffectiveRecommendationPreferencesOutput) GoString() string
- func (s *GetEffectiveRecommendationPreferencesOutput) SetEnhancedInfrastructureMetrics(v string) *GetEffectiveRecommendationPreferencesOutput
- func (s *GetEffectiveRecommendationPreferencesOutput) SetExternalMetricsPreference(v *ExternalMetricsPreference) *GetEffectiveRecommendationPreferencesOutput
- func (s GetEffectiveRecommendationPreferencesOutput) String() string
- type GetEnrollmentStatusInput
- type GetEnrollmentStatusOutput
- func (s GetEnrollmentStatusOutput) GoString() string
- func (s *GetEnrollmentStatusOutput) SetLastUpdatedTimestamp(v time.Time) *GetEnrollmentStatusOutput
- func (s *GetEnrollmentStatusOutput) SetMemberAccountsEnrolled(v bool) *GetEnrollmentStatusOutput
- func (s *GetEnrollmentStatusOutput) SetNumberOfMemberAccountsOptedIn(v int64) *GetEnrollmentStatusOutput
- func (s *GetEnrollmentStatusOutput) SetStatus(v string) *GetEnrollmentStatusOutput
- func (s *GetEnrollmentStatusOutput) SetStatusReason(v string) *GetEnrollmentStatusOutput
- func (s GetEnrollmentStatusOutput) String() string
- type GetEnrollmentStatusesForOrganizationInput
- func (s GetEnrollmentStatusesForOrganizationInput) GoString() string
- func (s *GetEnrollmentStatusesForOrganizationInput) SetFilters(v []*EnrollmentFilter) *GetEnrollmentStatusesForOrganizationInput
- func (s *GetEnrollmentStatusesForOrganizationInput) SetMaxResults(v int64) *GetEnrollmentStatusesForOrganizationInput
- func (s *GetEnrollmentStatusesForOrganizationInput) SetNextToken(v string) *GetEnrollmentStatusesForOrganizationInput
- func (s GetEnrollmentStatusesForOrganizationInput) String() string
- type GetEnrollmentStatusesForOrganizationOutput
- func (s GetEnrollmentStatusesForOrganizationOutput) GoString() string
- func (s *GetEnrollmentStatusesForOrganizationOutput) SetAccountEnrollmentStatuses(v []*AccountEnrollmentStatus) *GetEnrollmentStatusesForOrganizationOutput
- func (s *GetEnrollmentStatusesForOrganizationOutput) SetNextToken(v string) *GetEnrollmentStatusesForOrganizationOutput
- func (s GetEnrollmentStatusesForOrganizationOutput) String() string
- type GetLambdaFunctionRecommendationsInput
- func (s GetLambdaFunctionRecommendationsInput) GoString() string
- func (s *GetLambdaFunctionRecommendationsInput) SetAccountIds(v []*string) *GetLambdaFunctionRecommendationsInput
- func (s *GetLambdaFunctionRecommendationsInput) SetFilters(v []*LambdaFunctionRecommendationFilter) *GetLambdaFunctionRecommendationsInput
- func (s *GetLambdaFunctionRecommendationsInput) SetFunctionArns(v []*string) *GetLambdaFunctionRecommendationsInput
- func (s *GetLambdaFunctionRecommendationsInput) SetMaxResults(v int64) *GetLambdaFunctionRecommendationsInput
- func (s *GetLambdaFunctionRecommendationsInput) SetNextToken(v string) *GetLambdaFunctionRecommendationsInput
- func (s GetLambdaFunctionRecommendationsInput) String() string
- type GetLambdaFunctionRecommendationsOutput
- func (s GetLambdaFunctionRecommendationsOutput) GoString() string
- func (s *GetLambdaFunctionRecommendationsOutput) SetLambdaFunctionRecommendations(v []*LambdaFunctionRecommendation) *GetLambdaFunctionRecommendationsOutput
- func (s *GetLambdaFunctionRecommendationsOutput) SetNextToken(v string) *GetLambdaFunctionRecommendationsOutput
- func (s GetLambdaFunctionRecommendationsOutput) String() string
- type GetLicenseRecommendationsInput
- func (s GetLicenseRecommendationsInput) GoString() string
- func (s *GetLicenseRecommendationsInput) SetAccountIds(v []*string) *GetLicenseRecommendationsInput
- func (s *GetLicenseRecommendationsInput) SetFilters(v []*LicenseRecommendationFilter) *GetLicenseRecommendationsInput
- func (s *GetLicenseRecommendationsInput) SetMaxResults(v int64) *GetLicenseRecommendationsInput
- func (s *GetLicenseRecommendationsInput) SetNextToken(v string) *GetLicenseRecommendationsInput
- func (s *GetLicenseRecommendationsInput) SetResourceArns(v []*string) *GetLicenseRecommendationsInput
- func (s GetLicenseRecommendationsInput) String() string
- type GetLicenseRecommendationsOutput
- func (s GetLicenseRecommendationsOutput) GoString() string
- func (s *GetLicenseRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetLicenseRecommendationsOutput
- func (s *GetLicenseRecommendationsOutput) SetLicenseRecommendations(v []*LicenseRecommendation) *GetLicenseRecommendationsOutput
- func (s *GetLicenseRecommendationsOutput) SetNextToken(v string) *GetLicenseRecommendationsOutput
- func (s GetLicenseRecommendationsOutput) String() string
- type GetRecommendationError
- func (s GetRecommendationError) GoString() string
- func (s *GetRecommendationError) SetCode(v string) *GetRecommendationError
- func (s *GetRecommendationError) SetIdentifier(v string) *GetRecommendationError
- func (s *GetRecommendationError) SetMessage(v string) *GetRecommendationError
- func (s GetRecommendationError) String() string
- type GetRecommendationPreferencesInput
- func (s GetRecommendationPreferencesInput) GoString() string
- func (s *GetRecommendationPreferencesInput) SetMaxResults(v int64) *GetRecommendationPreferencesInput
- func (s *GetRecommendationPreferencesInput) SetNextToken(v string) *GetRecommendationPreferencesInput
- func (s *GetRecommendationPreferencesInput) SetResourceType(v string) *GetRecommendationPreferencesInput
- func (s *GetRecommendationPreferencesInput) SetScope(v *Scope) *GetRecommendationPreferencesInput
- func (s GetRecommendationPreferencesInput) String() string
- func (s *GetRecommendationPreferencesInput) Validate() error
- type GetRecommendationPreferencesOutput
- func (s GetRecommendationPreferencesOutput) GoString() string
- func (s *GetRecommendationPreferencesOutput) SetNextToken(v string) *GetRecommendationPreferencesOutput
- func (s *GetRecommendationPreferencesOutput) SetRecommendationPreferencesDetails(v []*RecommendationPreferencesDetail) *GetRecommendationPreferencesOutput
- func (s GetRecommendationPreferencesOutput) String() string
- type GetRecommendationSummariesInput
- func (s GetRecommendationSummariesInput) GoString() string
- func (s *GetRecommendationSummariesInput) SetAccountIds(v []*string) *GetRecommendationSummariesInput
- func (s *GetRecommendationSummariesInput) SetMaxResults(v int64) *GetRecommendationSummariesInput
- func (s *GetRecommendationSummariesInput) SetNextToken(v string) *GetRecommendationSummariesInput
- func (s GetRecommendationSummariesInput) String() string
- type GetRecommendationSummariesOutput
- func (s GetRecommendationSummariesOutput) GoString() string
- func (s *GetRecommendationSummariesOutput) SetNextToken(v string) *GetRecommendationSummariesOutput
- func (s *GetRecommendationSummariesOutput) SetRecommendationSummaries(v []*RecommendationSummary) *GetRecommendationSummariesOutput
- func (s GetRecommendationSummariesOutput) String() string
- type Gpu
- type GpuInfo
- type InferredWorkloadSaving
- func (s InferredWorkloadSaving) GoString() string
- func (s *InferredWorkloadSaving) SetEstimatedMonthlySavings(v *EstimatedMonthlySavings) *InferredWorkloadSaving
- func (s *InferredWorkloadSaving) SetInferredWorkloadTypes(v []*string) *InferredWorkloadSaving
- func (s InferredWorkloadSaving) String() string
- type InstanceRecommendation
- func (s InstanceRecommendation) GoString() string
- func (s *InstanceRecommendation) SetAccountId(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetCurrentInstanceGpuInfo(v *GpuInfo) *InstanceRecommendation
- func (s *InstanceRecommendation) SetCurrentInstanceType(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetCurrentPerformanceRisk(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetEffectiveRecommendationPreferences(v *EffectiveRecommendationPreferences) *InstanceRecommendation
- func (s *InstanceRecommendation) SetExternalMetricStatus(v *ExternalMetricStatus) *InstanceRecommendation
- func (s *InstanceRecommendation) SetFinding(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetFindingReasonCodes(v []*string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetIdle(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetInferredWorkloadTypes(v []*string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetInstanceArn(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetInstanceName(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetInstanceState(v string) *InstanceRecommendation
- func (s *InstanceRecommendation) SetLastRefreshTimestamp(v time.Time) *InstanceRecommendation
- func (s *InstanceRecommendation) SetLookBackPeriodInDays(v float64) *InstanceRecommendation
- func (s *InstanceRecommendation) SetRecommendationOptions(v []*InstanceRecommendationOption) *InstanceRecommendation
- func (s *InstanceRecommendation) SetRecommendationSources(v []*RecommendationSource) *InstanceRecommendation
- func (s *InstanceRecommendation) SetTags(v []*Tag) *InstanceRecommendation
- func (s *InstanceRecommendation) SetUtilizationMetrics(v []*UtilizationMetric) *InstanceRecommendation
- func (s InstanceRecommendation) String() string
- type InstanceRecommendationOption
- func (s InstanceRecommendationOption) GoString() string
- func (s *InstanceRecommendationOption) SetInstanceGpuInfo(v *GpuInfo) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetInstanceType(v string) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetMigrationEffort(v string) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetPerformanceRisk(v float64) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetPlatformDifferences(v []*string) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetProjectedUtilizationMetrics(v []*UtilizationMetric) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetRank(v int64) *InstanceRecommendationOption
- func (s *InstanceRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *InstanceRecommendationOption
- func (s InstanceRecommendationOption) String() string
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type InvalidParameterValueException
- func (s *InvalidParameterValueException) Code() string
- func (s *InvalidParameterValueException) Error() string
- func (s InvalidParameterValueException) GoString() string
- func (s *InvalidParameterValueException) Message() string
- func (s *InvalidParameterValueException) OrigErr() error
- func (s *InvalidParameterValueException) RequestID() string
- func (s *InvalidParameterValueException) StatusCode() int
- func (s InvalidParameterValueException) String() string
- type JobFilter
- type LambdaFunctionMemoryProjectedMetric
- func (s LambdaFunctionMemoryProjectedMetric) GoString() string
- func (s *LambdaFunctionMemoryProjectedMetric) SetName(v string) *LambdaFunctionMemoryProjectedMetric
- func (s *LambdaFunctionMemoryProjectedMetric) SetStatistic(v string) *LambdaFunctionMemoryProjectedMetric
- func (s *LambdaFunctionMemoryProjectedMetric) SetValue(v float64) *LambdaFunctionMemoryProjectedMetric
- func (s LambdaFunctionMemoryProjectedMetric) String() string
- type LambdaFunctionMemoryRecommendationOption
- func (s LambdaFunctionMemoryRecommendationOption) GoString() string
- func (s *LambdaFunctionMemoryRecommendationOption) SetMemorySize(v int64) *LambdaFunctionMemoryRecommendationOption
- func (s *LambdaFunctionMemoryRecommendationOption) SetProjectedUtilizationMetrics(v []*LambdaFunctionMemoryProjectedMetric) *LambdaFunctionMemoryRecommendationOption
- func (s *LambdaFunctionMemoryRecommendationOption) SetRank(v int64) *LambdaFunctionMemoryRecommendationOption
- func (s *LambdaFunctionMemoryRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *LambdaFunctionMemoryRecommendationOption
- func (s LambdaFunctionMemoryRecommendationOption) String() string
- type LambdaFunctionRecommendation
- func (s LambdaFunctionRecommendation) GoString() string
- func (s *LambdaFunctionRecommendation) SetAccountId(v string) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetCurrentMemorySize(v int64) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetCurrentPerformanceRisk(v string) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetFinding(v string) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetFindingReasonCodes(v []*string) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetFunctionArn(v string) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetFunctionVersion(v string) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetLastRefreshTimestamp(v time.Time) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetLookbackPeriodInDays(v float64) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetMemorySizeRecommendationOptions(v []*LambdaFunctionMemoryRecommendationOption) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetNumberOfInvocations(v int64) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetTags(v []*Tag) *LambdaFunctionRecommendation
- func (s *LambdaFunctionRecommendation) SetUtilizationMetrics(v []*LambdaFunctionUtilizationMetric) *LambdaFunctionRecommendation
- func (s LambdaFunctionRecommendation) String() string
- type LambdaFunctionRecommendationFilter
- func (s LambdaFunctionRecommendationFilter) GoString() string
- func (s *LambdaFunctionRecommendationFilter) SetName(v string) *LambdaFunctionRecommendationFilter
- func (s *LambdaFunctionRecommendationFilter) SetValues(v []*string) *LambdaFunctionRecommendationFilter
- func (s LambdaFunctionRecommendationFilter) String() string
- type LambdaFunctionUtilizationMetric
- func (s LambdaFunctionUtilizationMetric) GoString() string
- func (s *LambdaFunctionUtilizationMetric) SetName(v string) *LambdaFunctionUtilizationMetric
- func (s *LambdaFunctionUtilizationMetric) SetStatistic(v string) *LambdaFunctionUtilizationMetric
- func (s *LambdaFunctionUtilizationMetric) SetValue(v float64) *LambdaFunctionUtilizationMetric
- func (s LambdaFunctionUtilizationMetric) String() string
- type LicenseConfiguration
- func (s LicenseConfiguration) GoString() string
- func (s *LicenseConfiguration) SetInstanceType(v string) *LicenseConfiguration
- func (s *LicenseConfiguration) SetLicenseEdition(v string) *LicenseConfiguration
- func (s *LicenseConfiguration) SetLicenseModel(v string) *LicenseConfiguration
- func (s *LicenseConfiguration) SetLicenseName(v string) *LicenseConfiguration
- func (s *LicenseConfiguration) SetLicenseVersion(v string) *LicenseConfiguration
- func (s *LicenseConfiguration) SetMetricsSource(v []*MetricSource) *LicenseConfiguration
- func (s *LicenseConfiguration) SetNumberOfCores(v int64) *LicenseConfiguration
- func (s *LicenseConfiguration) SetOperatingSystem(v string) *LicenseConfiguration
- func (s LicenseConfiguration) String() string
- type LicenseRecommendation
- func (s LicenseRecommendation) GoString() string
- func (s *LicenseRecommendation) SetAccountId(v string) *LicenseRecommendation
- func (s *LicenseRecommendation) SetCurrentLicenseConfiguration(v *LicenseConfiguration) *LicenseRecommendation
- func (s *LicenseRecommendation) SetFinding(v string) *LicenseRecommendation
- func (s *LicenseRecommendation) SetFindingReasonCodes(v []*string) *LicenseRecommendation
- func (s *LicenseRecommendation) SetLastRefreshTimestamp(v time.Time) *LicenseRecommendation
- func (s *LicenseRecommendation) SetLicenseRecommendationOptions(v []*LicenseRecommendationOption) *LicenseRecommendation
- func (s *LicenseRecommendation) SetLookbackPeriodInDays(v float64) *LicenseRecommendation
- func (s *LicenseRecommendation) SetResourceArn(v string) *LicenseRecommendation
- func (s *LicenseRecommendation) SetTags(v []*Tag) *LicenseRecommendation
- func (s LicenseRecommendation) String() string
- type LicenseRecommendationFilter
- type LicenseRecommendationOption
- func (s LicenseRecommendationOption) GoString() string
- func (s *LicenseRecommendationOption) SetLicenseEdition(v string) *LicenseRecommendationOption
- func (s *LicenseRecommendationOption) SetLicenseModel(v string) *LicenseRecommendationOption
- func (s *LicenseRecommendationOption) SetOperatingSystem(v string) *LicenseRecommendationOption
- func (s *LicenseRecommendationOption) SetRank(v int64) *LicenseRecommendationOption
- func (s *LicenseRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *LicenseRecommendationOption
- func (s LicenseRecommendationOption) String() string
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type MemorySizeConfiguration
- type MetricSource
- type MissingAuthenticationToken
- func (s *MissingAuthenticationToken) Code() string
- func (s *MissingAuthenticationToken) Error() string
- func (s MissingAuthenticationToken) GoString() string
- func (s *MissingAuthenticationToken) Message() string
- func (s *MissingAuthenticationToken) OrigErr() error
- func (s *MissingAuthenticationToken) RequestID() string
- func (s *MissingAuthenticationToken) StatusCode() int
- func (s MissingAuthenticationToken) String() string
- type OptInRequiredException
- func (s *OptInRequiredException) Code() string
- func (s *OptInRequiredException) Error() string
- func (s OptInRequiredException) GoString() string
- func (s *OptInRequiredException) Message() string
- func (s *OptInRequiredException) OrigErr() error
- func (s *OptInRequiredException) RequestID() string
- func (s *OptInRequiredException) StatusCode() int
- func (s OptInRequiredException) String() string
- type ProjectedMetric
- type PutRecommendationPreferencesInput
- func (s PutRecommendationPreferencesInput) GoString() string
- func (s *PutRecommendationPreferencesInput) SetEnhancedInfrastructureMetrics(v string) *PutRecommendationPreferencesInput
- func (s *PutRecommendationPreferencesInput) SetExternalMetricsPreference(v *ExternalMetricsPreference) *PutRecommendationPreferencesInput
- func (s *PutRecommendationPreferencesInput) SetInferredWorkloadTypes(v string) *PutRecommendationPreferencesInput
- func (s *PutRecommendationPreferencesInput) SetResourceType(v string) *PutRecommendationPreferencesInput
- func (s *PutRecommendationPreferencesInput) SetScope(v *Scope) *PutRecommendationPreferencesInput
- func (s PutRecommendationPreferencesInput) String() string
- func (s *PutRecommendationPreferencesInput) Validate() error
- type PutRecommendationPreferencesOutput
- type ReasonCodeSummary
- type RecommendationExportJob
- func (s RecommendationExportJob) GoString() string
- func (s *RecommendationExportJob) SetCreationTimestamp(v time.Time) *RecommendationExportJob
- func (s *RecommendationExportJob) SetDestination(v *ExportDestination) *RecommendationExportJob
- func (s *RecommendationExportJob) SetFailureReason(v string) *RecommendationExportJob
- func (s *RecommendationExportJob) SetJobId(v string) *RecommendationExportJob
- func (s *RecommendationExportJob) SetLastUpdatedTimestamp(v time.Time) *RecommendationExportJob
- func (s *RecommendationExportJob) SetResourceType(v string) *RecommendationExportJob
- func (s *RecommendationExportJob) SetStatus(v string) *RecommendationExportJob
- func (s RecommendationExportJob) String() string
- type RecommendationPreferences
- type RecommendationPreferencesDetail
- func (s RecommendationPreferencesDetail) GoString() string
- func (s *RecommendationPreferencesDetail) SetEnhancedInfrastructureMetrics(v string) *RecommendationPreferencesDetail
- func (s *RecommendationPreferencesDetail) SetExternalMetricsPreference(v *ExternalMetricsPreference) *RecommendationPreferencesDetail
- func (s *RecommendationPreferencesDetail) SetInferredWorkloadTypes(v string) *RecommendationPreferencesDetail
- func (s *RecommendationPreferencesDetail) SetResourceType(v string) *RecommendationPreferencesDetail
- func (s *RecommendationPreferencesDetail) SetScope(v *Scope) *RecommendationPreferencesDetail
- func (s RecommendationPreferencesDetail) String() string
- type RecommendationSource
- type RecommendationSummary
- func (s RecommendationSummary) GoString() string
- func (s *RecommendationSummary) SetAccountId(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetCurrentPerformanceRiskRatings(v *CurrentPerformanceRiskRatings) *RecommendationSummary
- func (s *RecommendationSummary) SetInferredWorkloadSavings(v []*InferredWorkloadSaving) *RecommendationSummary
- func (s *RecommendationSummary) SetRecommendationResourceType(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetSavingsOpportunity(v *SavingsOpportunity) *RecommendationSummary
- func (s *RecommendationSummary) SetSummaries(v []*Summary) *RecommendationSummary
- func (s RecommendationSummary) String() string
- type RecommendedOptionProjectedMetric
- func (s RecommendedOptionProjectedMetric) GoString() string
- func (s *RecommendedOptionProjectedMetric) SetProjectedMetrics(v []*ProjectedMetric) *RecommendedOptionProjectedMetric
- func (s *RecommendedOptionProjectedMetric) SetRank(v int64) *RecommendedOptionProjectedMetric
- func (s *RecommendedOptionProjectedMetric) SetRecommendedInstanceType(v string) *RecommendedOptionProjectedMetric
- func (s RecommendedOptionProjectedMetric) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type S3Destination
- type S3DestinationConfig
- type SavingsOpportunity
- type Scope
- type ServiceConfiguration
- func (s ServiceConfiguration) GoString() string
- func (s *ServiceConfiguration) SetAutoScalingConfiguration(v string) *ServiceConfiguration
- func (s *ServiceConfiguration) SetContainerConfigurations(v []*ContainerConfiguration) *ServiceConfiguration
- func (s *ServiceConfiguration) SetCpu(v int64) *ServiceConfiguration
- func (s *ServiceConfiguration) SetMemory(v int64) *ServiceConfiguration
- func (s *ServiceConfiguration) SetTaskDefinitionArn(v string) *ServiceConfiguration
- func (s ServiceConfiguration) String() string
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type Summary
- type Tag
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UpdateEnrollmentStatusInput
- func (s UpdateEnrollmentStatusInput) GoString() string
- func (s *UpdateEnrollmentStatusInput) SetIncludeMemberAccounts(v bool) *UpdateEnrollmentStatusInput
- func (s *UpdateEnrollmentStatusInput) SetStatus(v string) *UpdateEnrollmentStatusInput
- func (s UpdateEnrollmentStatusInput) String() string
- func (s *UpdateEnrollmentStatusInput) Validate() error
- type UpdateEnrollmentStatusOutput
- type UtilizationMetric
- type VolumeConfiguration
- func (s VolumeConfiguration) GoString() string
- func (s *VolumeConfiguration) SetRootVolume(v bool) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeBaselineIOPS(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeBaselineThroughput(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeBurstIOPS(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeBurstThroughput(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeSize(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration
- func (s VolumeConfiguration) String() string
- type VolumeRecommendation
- func (s VolumeRecommendation) GoString() string
- func (s *VolumeRecommendation) SetAccountId(v string) *VolumeRecommendation
- func (s *VolumeRecommendation) SetCurrentConfiguration(v *VolumeConfiguration) *VolumeRecommendation
- func (s *VolumeRecommendation) SetCurrentPerformanceRisk(v string) *VolumeRecommendation
- func (s *VolumeRecommendation) SetFinding(v string) *VolumeRecommendation
- func (s *VolumeRecommendation) SetLastRefreshTimestamp(v time.Time) *VolumeRecommendation
- func (s *VolumeRecommendation) SetLookBackPeriodInDays(v float64) *VolumeRecommendation
- func (s *VolumeRecommendation) SetTags(v []*Tag) *VolumeRecommendation
- func (s *VolumeRecommendation) SetUtilizationMetrics(v []*EBSUtilizationMetric) *VolumeRecommendation
- func (s *VolumeRecommendation) SetVolumeArn(v string) *VolumeRecommendation
- func (s *VolumeRecommendation) SetVolumeRecommendationOptions(v []*VolumeRecommendationOption) *VolumeRecommendation
- func (s VolumeRecommendation) String() string
- type VolumeRecommendationOption
- func (s VolumeRecommendationOption) GoString() string
- func (s *VolumeRecommendationOption) SetConfiguration(v *VolumeConfiguration) *VolumeRecommendationOption
- func (s *VolumeRecommendationOption) SetPerformanceRisk(v float64) *VolumeRecommendationOption
- func (s *VolumeRecommendationOption) SetRank(v int64) *VolumeRecommendationOption
- func (s *VolumeRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *VolumeRecommendationOption
- func (s VolumeRecommendationOption) String() string
Constants ¶
const ( // AutoScalingConfigurationTargetTrackingScalingCpu is a AutoScalingConfiguration enum value AutoScalingConfigurationTargetTrackingScalingCpu = "TargetTrackingScalingCpu" // AutoScalingConfigurationTargetTrackingScalingMemory is a AutoScalingConfiguration enum value AutoScalingConfigurationTargetTrackingScalingMemory = "TargetTrackingScalingMemory" )
const ( // CpuVendorArchitectureAwsArm64 is a CpuVendorArchitecture enum value CpuVendorArchitectureAwsArm64 = "AWS_ARM64" // CpuVendorArchitectureCurrent is a CpuVendorArchitecture enum value CpuVendorArchitectureCurrent = "CURRENT" )
const ( // CurrencyUsd is a Currency enum value CurrencyUsd = "USD" // CurrencyCny is a Currency enum value CurrencyCny = "CNY" )
const ( // CurrentPerformanceRiskVeryLow is a CurrentPerformanceRisk enum value CurrentPerformanceRiskVeryLow = "VeryLow" // CurrentPerformanceRiskLow is a CurrentPerformanceRisk enum value CurrentPerformanceRiskLow = "Low" // CurrentPerformanceRiskMedium is a CurrentPerformanceRisk enum value CurrentPerformanceRiskMedium = "Medium" // CurrentPerformanceRiskHigh is a CurrentPerformanceRisk enum value CurrentPerformanceRiskHigh = "High" )
const ( // EBSFindingOptimized is a EBSFinding enum value EBSFindingOptimized = "Optimized" // EBSFindingNotOptimized is a EBSFinding enum value EBSFindingNotOptimized = "NotOptimized" )
const ( // EBSMetricNameVolumeReadOpsPerSecond is a EBSMetricName enum value EBSMetricNameVolumeReadOpsPerSecond = "VolumeReadOpsPerSecond" // EBSMetricNameVolumeWriteOpsPerSecond is a EBSMetricName enum value EBSMetricNameVolumeWriteOpsPerSecond = "VolumeWriteOpsPerSecond" // EBSMetricNameVolumeReadBytesPerSecond is a EBSMetricName enum value EBSMetricNameVolumeReadBytesPerSecond = "VolumeReadBytesPerSecond" // EBSMetricNameVolumeWriteBytesPerSecond is a EBSMetricName enum value EBSMetricNameVolumeWriteBytesPerSecond = "VolumeWriteBytesPerSecond" )
const ( // ECSServiceLaunchTypeEc2 is a ECSServiceLaunchType enum value ECSServiceLaunchTypeEc2 = "EC2" // ECSServiceLaunchTypeFargate is a ECSServiceLaunchType enum value ECSServiceLaunchTypeFargate = "Fargate" )
const ( // ECSServiceMetricNameCpu is a ECSServiceMetricName enum value ECSServiceMetricNameCpu = "Cpu" // ECSServiceMetricNameMemory is a ECSServiceMetricName enum value ECSServiceMetricNameMemory = "Memory" )
const ( // ECSServiceMetricStatisticMaximum is a ECSServiceMetricStatistic enum value ECSServiceMetricStatisticMaximum = "Maximum" // ECSServiceMetricStatisticAverage is a ECSServiceMetricStatistic enum value ECSServiceMetricStatisticAverage = "Average" )
const ( // ECSServiceRecommendationFilterNameFinding is a ECSServiceRecommendationFilterName enum value ECSServiceRecommendationFilterNameFinding = "Finding" // ECSServiceRecommendationFilterNameFindingReasonCode is a ECSServiceRecommendationFilterName enum value ECSServiceRecommendationFilterNameFindingReasonCode = "FindingReasonCode" )
const ( // ECSServiceRecommendationFindingOptimized is a ECSServiceRecommendationFinding enum value ECSServiceRecommendationFindingOptimized = "Optimized" // ECSServiceRecommendationFindingUnderprovisioned is a ECSServiceRecommendationFinding enum value ECSServiceRecommendationFindingUnderprovisioned = "Underprovisioned" // ECSServiceRecommendationFindingOverprovisioned is a ECSServiceRecommendationFinding enum value ECSServiceRecommendationFindingOverprovisioned = "Overprovisioned" )
const ( // ECSServiceRecommendationFindingReasonCodeMemoryOverprovisioned is a ECSServiceRecommendationFindingReasonCode enum value ECSServiceRecommendationFindingReasonCodeMemoryOverprovisioned = "MemoryOverprovisioned" // ECSServiceRecommendationFindingReasonCodeMemoryUnderprovisioned is a ECSServiceRecommendationFindingReasonCode enum value ECSServiceRecommendationFindingReasonCodeMemoryUnderprovisioned = "MemoryUnderprovisioned" // ECSServiceRecommendationFindingReasonCodeCpuoverprovisioned is a ECSServiceRecommendationFindingReasonCode enum value ECSServiceRecommendationFindingReasonCodeCpuoverprovisioned = "CPUOverprovisioned" // ECSServiceRecommendationFindingReasonCodeCpuunderprovisioned is a ECSServiceRecommendationFindingReasonCode enum value ECSServiceRecommendationFindingReasonCodeCpuunderprovisioned = "CPUUnderprovisioned" )
const ( // EnhancedInfrastructureMetricsActive is a EnhancedInfrastructureMetrics enum value EnhancedInfrastructureMetricsActive = "Active" // EnhancedInfrastructureMetricsInactive is a EnhancedInfrastructureMetrics enum value EnhancedInfrastructureMetricsInactive = "Inactive" )
const ( // ExportableAutoScalingGroupFieldAccountId is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldAccountId = "AccountId" // ExportableAutoScalingGroupFieldAutoScalingGroupArn is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldAutoScalingGroupArn = "AutoScalingGroupArn" // ExportableAutoScalingGroupFieldAutoScalingGroupName is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldAutoScalingGroupName = "AutoScalingGroupName" // ExportableAutoScalingGroupFieldFinding is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldFinding = "Finding" // ExportableAutoScalingGroupFieldUtilizationMetricsCpuMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsCpuMaximum = "UtilizationMetricsCpuMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsMemoryMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsMemoryMaximum = "UtilizationMetricsMemoryMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsEbsReadOpsPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsEbsReadOpsPerSecondMaximum = "UtilizationMetricsEbsReadOpsPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsEbsWriteOpsPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsEbsWriteOpsPerSecondMaximum = "UtilizationMetricsEbsWriteOpsPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsEbsReadBytesPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsEbsReadBytesPerSecondMaximum = "UtilizationMetricsEbsReadBytesPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsEbsWriteBytesPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsEbsWriteBytesPerSecondMaximum = "UtilizationMetricsEbsWriteBytesPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsDiskReadOpsPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsDiskReadOpsPerSecondMaximum = "UtilizationMetricsDiskReadOpsPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsDiskWriteOpsPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsDiskWriteOpsPerSecondMaximum = "UtilizationMetricsDiskWriteOpsPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsDiskReadBytesPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsDiskReadBytesPerSecondMaximum = "UtilizationMetricsDiskReadBytesPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsDiskWriteBytesPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsDiskWriteBytesPerSecondMaximum = "UtilizationMetricsDiskWriteBytesPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsNetworkInBytesPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsNetworkInBytesPerSecondMaximum = "UtilizationMetricsNetworkInBytesPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsNetworkOutBytesPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsNetworkOutBytesPerSecondMaximum = "UtilizationMetricsNetworkOutBytesPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsNetworkPacketsInPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsNetworkPacketsInPerSecondMaximum = "UtilizationMetricsNetworkPacketsInPerSecondMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsNetworkPacketsOutPerSecondMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsNetworkPacketsOutPerSecondMaximum = "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" // ExportableAutoScalingGroupFieldLookbackPeriodInDays is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldLookbackPeriodInDays = "LookbackPeriodInDays" // ExportableAutoScalingGroupFieldCurrentConfigurationInstanceType is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentConfigurationInstanceType = "CurrentConfigurationInstanceType" // ExportableAutoScalingGroupFieldCurrentConfigurationDesiredCapacity is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentConfigurationDesiredCapacity = "CurrentConfigurationDesiredCapacity" // ExportableAutoScalingGroupFieldCurrentConfigurationMinSize is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentConfigurationMinSize = "CurrentConfigurationMinSize" // ExportableAutoScalingGroupFieldCurrentConfigurationMaxSize is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentConfigurationMaxSize = "CurrentConfigurationMaxSize" // ExportableAutoScalingGroupFieldCurrentOnDemandPrice is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentOnDemandPrice = "CurrentOnDemandPrice" // ExportableAutoScalingGroupFieldCurrentStandardOneYearNoUpfrontReservedPrice is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentStandardOneYearNoUpfrontReservedPrice = "CurrentStandardOneYearNoUpfrontReservedPrice" // ExportableAutoScalingGroupFieldCurrentStandardThreeYearNoUpfrontReservedPrice is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentStandardThreeYearNoUpfrontReservedPrice = "CurrentStandardThreeYearNoUpfrontReservedPrice" // ExportableAutoScalingGroupFieldCurrentVcpus is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentVcpus = "CurrentVCpus" // ExportableAutoScalingGroupFieldCurrentMemory is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentMemory = "CurrentMemory" // ExportableAutoScalingGroupFieldCurrentStorage is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentStorage = "CurrentStorage" // ExportableAutoScalingGroupFieldCurrentNetwork is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentNetwork = "CurrentNetwork" // ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationInstanceType is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationInstanceType = "RecommendationOptionsConfigurationInstanceType" // ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationDesiredCapacity is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationDesiredCapacity = "RecommendationOptionsConfigurationDesiredCapacity" // ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationMinSize is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationMinSize = "RecommendationOptionsConfigurationMinSize" // ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationMaxSize is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsConfigurationMaxSize = "RecommendationOptionsConfigurationMaxSize" // ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsCpuMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsCpuMaximum = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" // ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsMemoryMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsMemoryMaximum = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" // ExportableAutoScalingGroupFieldRecommendationOptionsPerformanceRisk is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsPerformanceRisk = "RecommendationOptionsPerformanceRisk" // ExportableAutoScalingGroupFieldRecommendationOptionsOnDemandPrice is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsOnDemandPrice = "RecommendationOptionsOnDemandPrice" // ExportableAutoScalingGroupFieldRecommendationOptionsStandardOneYearNoUpfrontReservedPrice is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsStandardOneYearNoUpfrontReservedPrice = "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" // ExportableAutoScalingGroupFieldRecommendationOptionsStandardThreeYearNoUpfrontReservedPrice is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsStandardThreeYearNoUpfrontReservedPrice = "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" // ExportableAutoScalingGroupFieldRecommendationOptionsVcpus is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsVcpus = "RecommendationOptionsVcpus" // ExportableAutoScalingGroupFieldRecommendationOptionsMemory is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsMemory = "RecommendationOptionsMemory" // ExportableAutoScalingGroupFieldRecommendationOptionsStorage is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsStorage = "RecommendationOptionsStorage" // ExportableAutoScalingGroupFieldRecommendationOptionsNetwork is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsNetwork = "RecommendationOptionsNetwork" // ExportableAutoScalingGroupFieldLastRefreshTimestamp is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldLastRefreshTimestamp = "LastRefreshTimestamp" // ExportableAutoScalingGroupFieldCurrentPerformanceRisk is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentPerformanceRisk = "CurrentPerformanceRisk" // ExportableAutoScalingGroupFieldRecommendationOptionsSavingsOpportunityPercentage is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsSavingsOpportunityPercentage = "RecommendationOptionsSavingsOpportunityPercentage" // ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsCurrency = "RecommendationOptionsEstimatedMonthlySavingsCurrency" // ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesCpuVendorArchitectures is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesCpuVendorArchitectures = "EffectiveRecommendationPreferencesCpuVendorArchitectures" // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes = "EffectiveRecommendationPreferencesInferredWorkloadTypes" // ExportableAutoScalingGroupFieldInferredWorkloadTypes is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldInferredWorkloadTypes = "InferredWorkloadTypes" // ExportableAutoScalingGroupFieldRecommendationOptionsMigrationEffort is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsMigrationEffort = "RecommendationOptionsMigrationEffort" // ExportableAutoScalingGroupFieldCurrentInstanceGpuInfo is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldCurrentInstanceGpuInfo = "CurrentInstanceGpuInfo" // ExportableAutoScalingGroupFieldRecommendationOptionsInstanceGpuInfo is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsInstanceGpuInfo = "RecommendationOptionsInstanceGpuInfo" // ExportableAutoScalingGroupFieldUtilizationMetricsGpuPercentageMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsGpuPercentageMaximum = "UtilizationMetricsGpuPercentageMaximum" // ExportableAutoScalingGroupFieldUtilizationMetricsGpuMemoryPercentageMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldUtilizationMetricsGpuMemoryPercentageMaximum = "UtilizationMetricsGpuMemoryPercentageMaximum" // ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum = "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" // ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldRecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum = "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" )
const ( // ExportableECSServiceFieldAccountId is a ExportableECSServiceField enum value ExportableECSServiceFieldAccountId = "AccountId" // ExportableECSServiceFieldServiceArn is a ExportableECSServiceField enum value ExportableECSServiceFieldServiceArn = "ServiceArn" // ExportableECSServiceFieldLookbackPeriodInDays is a ExportableECSServiceField enum value ExportableECSServiceFieldLookbackPeriodInDays = "LookbackPeriodInDays" // ExportableECSServiceFieldLastRefreshTimestamp is a ExportableECSServiceField enum value ExportableECSServiceFieldLastRefreshTimestamp = "LastRefreshTimestamp" // ExportableECSServiceFieldLaunchType is a ExportableECSServiceField enum value ExportableECSServiceFieldLaunchType = "LaunchType" // ExportableECSServiceFieldCurrentPerformanceRisk is a ExportableECSServiceField enum value ExportableECSServiceFieldCurrentPerformanceRisk = "CurrentPerformanceRisk" // ExportableECSServiceFieldCurrentServiceConfigurationMemory is a ExportableECSServiceField enum value ExportableECSServiceFieldCurrentServiceConfigurationMemory = "CurrentServiceConfigurationMemory" // ExportableECSServiceFieldCurrentServiceConfigurationCpu is a ExportableECSServiceField enum value ExportableECSServiceFieldCurrentServiceConfigurationCpu = "CurrentServiceConfigurationCpu" // ExportableECSServiceFieldCurrentServiceConfigurationTaskDefinitionArn is a ExportableECSServiceField enum value ExportableECSServiceFieldCurrentServiceConfigurationTaskDefinitionArn = "CurrentServiceConfigurationTaskDefinitionArn" // ExportableECSServiceFieldCurrentServiceConfigurationAutoScalingConfiguration is a ExportableECSServiceField enum value ExportableECSServiceFieldCurrentServiceConfigurationAutoScalingConfiguration = "CurrentServiceConfigurationAutoScalingConfiguration" // ExportableECSServiceFieldCurrentServiceContainerConfigurations is a ExportableECSServiceField enum value ExportableECSServiceFieldCurrentServiceContainerConfigurations = "CurrentServiceContainerConfigurations" // ExportableECSServiceFieldUtilizationMetricsCpuMaximum is a ExportableECSServiceField enum value ExportableECSServiceFieldUtilizationMetricsCpuMaximum = "UtilizationMetricsCpuMaximum" // ExportableECSServiceFieldUtilizationMetricsMemoryMaximum is a ExportableECSServiceField enum value ExportableECSServiceFieldUtilizationMetricsMemoryMaximum = "UtilizationMetricsMemoryMaximum" // ExportableECSServiceFieldFinding is a ExportableECSServiceField enum value ExportableECSServiceFieldFinding = "Finding" // ExportableECSServiceFieldFindingReasonCodes is a ExportableECSServiceField enum value ExportableECSServiceFieldFindingReasonCodes = "FindingReasonCodes" // ExportableECSServiceFieldRecommendationOptionsMemory is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsMemory = "RecommendationOptionsMemory" // ExportableECSServiceFieldRecommendationOptionsCpu is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsCpu = "RecommendationOptionsCpu" // ExportableECSServiceFieldRecommendationOptionsSavingsOpportunityPercentage is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsSavingsOpportunityPercentage = "RecommendationOptionsSavingsOpportunityPercentage" // ExportableECSServiceFieldRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsEstimatedMonthlySavingsCurrency = "RecommendationOptionsEstimatedMonthlySavingsCurrency" // ExportableECSServiceFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" // ExportableECSServiceFieldRecommendationOptionsContainerRecommendations is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsContainerRecommendations = "RecommendationOptionsContainerRecommendations" // ExportableECSServiceFieldRecommendationOptionsProjectedUtilizationMetricsCpuMaximum is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsProjectedUtilizationMetricsCpuMaximum = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" // ExportableECSServiceFieldRecommendationOptionsProjectedUtilizationMetricsMemoryMaximum is a ExportableECSServiceField enum value ExportableECSServiceFieldRecommendationOptionsProjectedUtilizationMetricsMemoryMaximum = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" // ExportableECSServiceFieldTags is a ExportableECSServiceField enum value ExportableECSServiceFieldTags = "Tags" )
const ( // ExportableInstanceFieldAccountId is a ExportableInstanceField enum value ExportableInstanceFieldAccountId = "AccountId" // ExportableInstanceFieldInstanceArn is a ExportableInstanceField enum value ExportableInstanceFieldInstanceArn = "InstanceArn" // ExportableInstanceFieldInstanceName is a ExportableInstanceField enum value ExportableInstanceFieldInstanceName = "InstanceName" // ExportableInstanceFieldFinding is a ExportableInstanceField enum value ExportableInstanceFieldFinding = "Finding" // ExportableInstanceFieldFindingReasonCodes is a ExportableInstanceField enum value ExportableInstanceFieldFindingReasonCodes = "FindingReasonCodes" // ExportableInstanceFieldLookbackPeriodInDays is a ExportableInstanceField enum value ExportableInstanceFieldLookbackPeriodInDays = "LookbackPeriodInDays" // ExportableInstanceFieldCurrentInstanceType is a ExportableInstanceField enum value ExportableInstanceFieldCurrentInstanceType = "CurrentInstanceType" // ExportableInstanceFieldUtilizationMetricsCpuMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsCpuMaximum = "UtilizationMetricsCpuMaximum" // ExportableInstanceFieldUtilizationMetricsMemoryMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsMemoryMaximum = "UtilizationMetricsMemoryMaximum" // ExportableInstanceFieldUtilizationMetricsEbsReadOpsPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsEbsReadOpsPerSecondMaximum = "UtilizationMetricsEbsReadOpsPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsEbsWriteOpsPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsEbsWriteOpsPerSecondMaximum = "UtilizationMetricsEbsWriteOpsPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsEbsReadBytesPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsEbsReadBytesPerSecondMaximum = "UtilizationMetricsEbsReadBytesPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsEbsWriteBytesPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsEbsWriteBytesPerSecondMaximum = "UtilizationMetricsEbsWriteBytesPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsDiskReadOpsPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsDiskReadOpsPerSecondMaximum = "UtilizationMetricsDiskReadOpsPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsDiskWriteOpsPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsDiskWriteOpsPerSecondMaximum = "UtilizationMetricsDiskWriteOpsPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsDiskReadBytesPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsDiskReadBytesPerSecondMaximum = "UtilizationMetricsDiskReadBytesPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsDiskWriteBytesPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsDiskWriteBytesPerSecondMaximum = "UtilizationMetricsDiskWriteBytesPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsNetworkInBytesPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsNetworkInBytesPerSecondMaximum = "UtilizationMetricsNetworkInBytesPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsNetworkOutBytesPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsNetworkOutBytesPerSecondMaximum = "UtilizationMetricsNetworkOutBytesPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsNetworkPacketsInPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsNetworkPacketsInPerSecondMaximum = "UtilizationMetricsNetworkPacketsInPerSecondMaximum" // ExportableInstanceFieldUtilizationMetricsNetworkPacketsOutPerSecondMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsNetworkPacketsOutPerSecondMaximum = "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" // ExportableInstanceFieldCurrentOnDemandPrice is a ExportableInstanceField enum value ExportableInstanceFieldCurrentOnDemandPrice = "CurrentOnDemandPrice" // ExportableInstanceFieldCurrentStandardOneYearNoUpfrontReservedPrice is a ExportableInstanceField enum value ExportableInstanceFieldCurrentStandardOneYearNoUpfrontReservedPrice = "CurrentStandardOneYearNoUpfrontReservedPrice" // ExportableInstanceFieldCurrentStandardThreeYearNoUpfrontReservedPrice is a ExportableInstanceField enum value ExportableInstanceFieldCurrentStandardThreeYearNoUpfrontReservedPrice = "CurrentStandardThreeYearNoUpfrontReservedPrice" // ExportableInstanceFieldCurrentVcpus is a ExportableInstanceField enum value ExportableInstanceFieldCurrentVcpus = "CurrentVCpus" // ExportableInstanceFieldCurrentMemory is a ExportableInstanceField enum value ExportableInstanceFieldCurrentMemory = "CurrentMemory" // ExportableInstanceFieldCurrentStorage is a ExportableInstanceField enum value ExportableInstanceFieldCurrentStorage = "CurrentStorage" // ExportableInstanceFieldCurrentNetwork is a ExportableInstanceField enum value ExportableInstanceFieldCurrentNetwork = "CurrentNetwork" // ExportableInstanceFieldRecommendationOptionsInstanceType is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsInstanceType = "RecommendationOptionsInstanceType" // ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsCpuMaximum is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsCpuMaximum = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" // ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsMemoryMaximum is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsMemoryMaximum = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" // ExportableInstanceFieldRecommendationOptionsPlatformDifferences is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsPlatformDifferences = "RecommendationOptionsPlatformDifferences" // ExportableInstanceFieldRecommendationOptionsPerformanceRisk is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsPerformanceRisk = "RecommendationOptionsPerformanceRisk" // ExportableInstanceFieldRecommendationOptionsVcpus is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsVcpus = "RecommendationOptionsVcpus" // ExportableInstanceFieldRecommendationOptionsMemory is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsMemory = "RecommendationOptionsMemory" // ExportableInstanceFieldRecommendationOptionsStorage is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsStorage = "RecommendationOptionsStorage" // ExportableInstanceFieldRecommendationOptionsNetwork is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsNetwork = "RecommendationOptionsNetwork" // ExportableInstanceFieldRecommendationOptionsOnDemandPrice is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsOnDemandPrice = "RecommendationOptionsOnDemandPrice" // ExportableInstanceFieldRecommendationOptionsStandardOneYearNoUpfrontReservedPrice is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsStandardOneYearNoUpfrontReservedPrice = "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" // ExportableInstanceFieldRecommendationOptionsStandardThreeYearNoUpfrontReservedPrice is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsStandardThreeYearNoUpfrontReservedPrice = "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" // ExportableInstanceFieldRecommendationsSourcesRecommendationSourceArn is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationsSourcesRecommendationSourceArn = "RecommendationsSourcesRecommendationSourceArn" // ExportableInstanceFieldRecommendationsSourcesRecommendationSourceType is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationsSourcesRecommendationSourceType = "RecommendationsSourcesRecommendationSourceType" // ExportableInstanceFieldLastRefreshTimestamp is a ExportableInstanceField enum value ExportableInstanceFieldLastRefreshTimestamp = "LastRefreshTimestamp" // ExportableInstanceFieldCurrentPerformanceRisk is a ExportableInstanceField enum value ExportableInstanceFieldCurrentPerformanceRisk = "CurrentPerformanceRisk" // ExportableInstanceFieldRecommendationOptionsSavingsOpportunityPercentage is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsSavingsOpportunityPercentage = "RecommendationOptionsSavingsOpportunityPercentage" // ExportableInstanceFieldRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsEstimatedMonthlySavingsCurrency = "RecommendationOptionsEstimatedMonthlySavingsCurrency" // ExportableInstanceFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" // ExportableInstanceFieldEffectiveRecommendationPreferencesCpuVendorArchitectures is a ExportableInstanceField enum value ExportableInstanceFieldEffectiveRecommendationPreferencesCpuVendorArchitectures = "EffectiveRecommendationPreferencesCpuVendorArchitectures" // ExportableInstanceFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics is a ExportableInstanceField enum value ExportableInstanceFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" // ExportableInstanceFieldEffectiveRecommendationPreferencesInferredWorkloadTypes is a ExportableInstanceField enum value ExportableInstanceFieldEffectiveRecommendationPreferencesInferredWorkloadTypes = "EffectiveRecommendationPreferencesInferredWorkloadTypes" // ExportableInstanceFieldInferredWorkloadTypes is a ExportableInstanceField enum value ExportableInstanceFieldInferredWorkloadTypes = "InferredWorkloadTypes" // ExportableInstanceFieldRecommendationOptionsMigrationEffort is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsMigrationEffort = "RecommendationOptionsMigrationEffort" // ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource is a ExportableInstanceField enum value ExportableInstanceFieldEffectiveRecommendationPreferencesExternalMetricsSource = "EffectiveRecommendationPreferencesExternalMetricsSource" // ExportableInstanceFieldInstanceState is a ExportableInstanceField enum value ExportableInstanceFieldInstanceState = "InstanceState" // ExportableInstanceFieldTags is a ExportableInstanceField enum value ExportableInstanceFieldTags = "Tags" // ExportableInstanceFieldExternalMetricStatusCode is a ExportableInstanceField enum value ExportableInstanceFieldExternalMetricStatusCode = "ExternalMetricStatusCode" // ExportableInstanceFieldExternalMetricStatusReason is a ExportableInstanceField enum value ExportableInstanceFieldExternalMetricStatusReason = "ExternalMetricStatusReason" // ExportableInstanceFieldCurrentInstanceGpuInfo is a ExportableInstanceField enum value ExportableInstanceFieldCurrentInstanceGpuInfo = "CurrentInstanceGpuInfo" // ExportableInstanceFieldRecommendationOptionsInstanceGpuInfo is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsInstanceGpuInfo = "RecommendationOptionsInstanceGpuInfo" // ExportableInstanceFieldUtilizationMetricsGpuPercentageMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsGpuPercentageMaximum = "UtilizationMetricsGpuPercentageMaximum" // ExportableInstanceFieldUtilizationMetricsGpuMemoryPercentageMaximum is a ExportableInstanceField enum value ExportableInstanceFieldUtilizationMetricsGpuMemoryPercentageMaximum = "UtilizationMetricsGpuMemoryPercentageMaximum" // ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum = "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" // ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum is a ExportableInstanceField enum value ExportableInstanceFieldRecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum = "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" // ExportableInstanceFieldIdle is a ExportableInstanceField enum value ExportableInstanceFieldIdle = "Idle" )
const ( // ExportableLambdaFunctionFieldAccountId is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldAccountId = "AccountId" // ExportableLambdaFunctionFieldFunctionArn is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldFunctionArn = "FunctionArn" // ExportableLambdaFunctionFieldFunctionVersion is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldFunctionVersion = "FunctionVersion" // ExportableLambdaFunctionFieldFinding is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldFinding = "Finding" // ExportableLambdaFunctionFieldFindingReasonCodes is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldFindingReasonCodes = "FindingReasonCodes" // ExportableLambdaFunctionFieldNumberOfInvocations is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldNumberOfInvocations = "NumberOfInvocations" // ExportableLambdaFunctionFieldUtilizationMetricsDurationMaximum is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldUtilizationMetricsDurationMaximum = "UtilizationMetricsDurationMaximum" // ExportableLambdaFunctionFieldUtilizationMetricsDurationAverage is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldUtilizationMetricsDurationAverage = "UtilizationMetricsDurationAverage" // ExportableLambdaFunctionFieldUtilizationMetricsMemoryMaximum is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldUtilizationMetricsMemoryMaximum = "UtilizationMetricsMemoryMaximum" // ExportableLambdaFunctionFieldUtilizationMetricsMemoryAverage is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldUtilizationMetricsMemoryAverage = "UtilizationMetricsMemoryAverage" // ExportableLambdaFunctionFieldLookbackPeriodInDays is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldLookbackPeriodInDays = "LookbackPeriodInDays" // ExportableLambdaFunctionFieldCurrentConfigurationMemorySize is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldCurrentConfigurationMemorySize = "CurrentConfigurationMemorySize" // ExportableLambdaFunctionFieldCurrentConfigurationTimeout is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldCurrentConfigurationTimeout = "CurrentConfigurationTimeout" // ExportableLambdaFunctionFieldCurrentCostTotal is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldCurrentCostTotal = "CurrentCostTotal" // ExportableLambdaFunctionFieldCurrentCostAverage is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldCurrentCostAverage = "CurrentCostAverage" // ExportableLambdaFunctionFieldRecommendationOptionsConfigurationMemorySize is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsConfigurationMemorySize = "RecommendationOptionsConfigurationMemorySize" // ExportableLambdaFunctionFieldRecommendationOptionsCostLow is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsCostLow = "RecommendationOptionsCostLow" // ExportableLambdaFunctionFieldRecommendationOptionsCostHigh is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsCostHigh = "RecommendationOptionsCostHigh" // ExportableLambdaFunctionFieldRecommendationOptionsProjectedUtilizationMetricsDurationLowerBound is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsProjectedUtilizationMetricsDurationLowerBound = "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound" // ExportableLambdaFunctionFieldRecommendationOptionsProjectedUtilizationMetricsDurationUpperBound is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsProjectedUtilizationMetricsDurationUpperBound = "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound" // ExportableLambdaFunctionFieldRecommendationOptionsProjectedUtilizationMetricsDurationExpected is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsProjectedUtilizationMetricsDurationExpected = "RecommendationOptionsProjectedUtilizationMetricsDurationExpected" // ExportableLambdaFunctionFieldLastRefreshTimestamp is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldLastRefreshTimestamp = "LastRefreshTimestamp" // ExportableLambdaFunctionFieldCurrentPerformanceRisk is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldCurrentPerformanceRisk = "CurrentPerformanceRisk" // ExportableLambdaFunctionFieldRecommendationOptionsSavingsOpportunityPercentage is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsSavingsOpportunityPercentage = "RecommendationOptionsSavingsOpportunityPercentage" // ExportableLambdaFunctionFieldRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsEstimatedMonthlySavingsCurrency = "RecommendationOptionsEstimatedMonthlySavingsCurrency" // ExportableLambdaFunctionFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" // ExportableLambdaFunctionFieldTags is a ExportableLambdaFunctionField enum value ExportableLambdaFunctionFieldTags = "Tags" )
const ( // ExportableLicenseFieldAccountId is a ExportableLicenseField enum value ExportableLicenseFieldAccountId = "AccountId" // ExportableLicenseFieldResourceArn is a ExportableLicenseField enum value ExportableLicenseFieldResourceArn = "ResourceArn" // ExportableLicenseFieldLookbackPeriodInDays is a ExportableLicenseField enum value ExportableLicenseFieldLookbackPeriodInDays = "LookbackPeriodInDays" // ExportableLicenseFieldLastRefreshTimestamp is a ExportableLicenseField enum value ExportableLicenseFieldLastRefreshTimestamp = "LastRefreshTimestamp" // ExportableLicenseFieldFinding is a ExportableLicenseField enum value ExportableLicenseFieldFinding = "Finding" // ExportableLicenseFieldFindingReasonCodes is a ExportableLicenseField enum value ExportableLicenseFieldFindingReasonCodes = "FindingReasonCodes" // ExportableLicenseFieldCurrentLicenseConfigurationNumberOfCores is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationNumberOfCores = "CurrentLicenseConfigurationNumberOfCores" // ExportableLicenseFieldCurrentLicenseConfigurationInstanceType is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationInstanceType = "CurrentLicenseConfigurationInstanceType" // ExportableLicenseFieldCurrentLicenseConfigurationOperatingSystem is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationOperatingSystem = "CurrentLicenseConfigurationOperatingSystem" // ExportableLicenseFieldCurrentLicenseConfigurationLicenseName is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationLicenseName = "CurrentLicenseConfigurationLicenseName" // ExportableLicenseFieldCurrentLicenseConfigurationLicenseEdition is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationLicenseEdition = "CurrentLicenseConfigurationLicenseEdition" // ExportableLicenseFieldCurrentLicenseConfigurationLicenseModel is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationLicenseModel = "CurrentLicenseConfigurationLicenseModel" // ExportableLicenseFieldCurrentLicenseConfigurationLicenseVersion is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationLicenseVersion = "CurrentLicenseConfigurationLicenseVersion" // ExportableLicenseFieldCurrentLicenseConfigurationMetricsSource is a ExportableLicenseField enum value ExportableLicenseFieldCurrentLicenseConfigurationMetricsSource = "CurrentLicenseConfigurationMetricsSource" // ExportableLicenseFieldRecommendationOptionsOperatingSystem is a ExportableLicenseField enum value ExportableLicenseFieldRecommendationOptionsOperatingSystem = "RecommendationOptionsOperatingSystem" // ExportableLicenseFieldRecommendationOptionsLicenseEdition is a ExportableLicenseField enum value ExportableLicenseFieldRecommendationOptionsLicenseEdition = "RecommendationOptionsLicenseEdition" // ExportableLicenseFieldRecommendationOptionsLicenseModel is a ExportableLicenseField enum value ExportableLicenseFieldRecommendationOptionsLicenseModel = "RecommendationOptionsLicenseModel" // ExportableLicenseFieldRecommendationOptionsSavingsOpportunityPercentage is a ExportableLicenseField enum value ExportableLicenseFieldRecommendationOptionsSavingsOpportunityPercentage = "RecommendationOptionsSavingsOpportunityPercentage" // ExportableLicenseFieldRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableLicenseField enum value ExportableLicenseFieldRecommendationOptionsEstimatedMonthlySavingsCurrency = "RecommendationOptionsEstimatedMonthlySavingsCurrency" // ExportableLicenseFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableLicenseField enum value ExportableLicenseFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" // ExportableLicenseFieldTags is a ExportableLicenseField enum value ExportableLicenseFieldTags = "Tags" )
const ( // ExportableVolumeFieldAccountId is a ExportableVolumeField enum value ExportableVolumeFieldAccountId = "AccountId" // ExportableVolumeFieldVolumeArn is a ExportableVolumeField enum value ExportableVolumeFieldVolumeArn = "VolumeArn" // ExportableVolumeFieldFinding is a ExportableVolumeField enum value ExportableVolumeFieldFinding = "Finding" // ExportableVolumeFieldUtilizationMetricsVolumeReadOpsPerSecondMaximum is a ExportableVolumeField enum value ExportableVolumeFieldUtilizationMetricsVolumeReadOpsPerSecondMaximum = "UtilizationMetricsVolumeReadOpsPerSecondMaximum" // ExportableVolumeFieldUtilizationMetricsVolumeWriteOpsPerSecondMaximum is a ExportableVolumeField enum value ExportableVolumeFieldUtilizationMetricsVolumeWriteOpsPerSecondMaximum = "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" // ExportableVolumeFieldUtilizationMetricsVolumeReadBytesPerSecondMaximum is a ExportableVolumeField enum value ExportableVolumeFieldUtilizationMetricsVolumeReadBytesPerSecondMaximum = "UtilizationMetricsVolumeReadBytesPerSecondMaximum" // ExportableVolumeFieldUtilizationMetricsVolumeWriteBytesPerSecondMaximum is a ExportableVolumeField enum value ExportableVolumeFieldUtilizationMetricsVolumeWriteBytesPerSecondMaximum = "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" // ExportableVolumeFieldLookbackPeriodInDays is a ExportableVolumeField enum value ExportableVolumeFieldLookbackPeriodInDays = "LookbackPeriodInDays" // ExportableVolumeFieldCurrentConfigurationVolumeType is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationVolumeType = "CurrentConfigurationVolumeType" // ExportableVolumeFieldCurrentConfigurationVolumeBaselineIops is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationVolumeBaselineIops = "CurrentConfigurationVolumeBaselineIOPS" // ExportableVolumeFieldCurrentConfigurationVolumeBaselineThroughput is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationVolumeBaselineThroughput = "CurrentConfigurationVolumeBaselineThroughput" // ExportableVolumeFieldCurrentConfigurationVolumeBurstIops is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationVolumeBurstIops = "CurrentConfigurationVolumeBurstIOPS" // ExportableVolumeFieldCurrentConfigurationVolumeBurstThroughput is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationVolumeBurstThroughput = "CurrentConfigurationVolumeBurstThroughput" // ExportableVolumeFieldCurrentConfigurationVolumeSize is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationVolumeSize = "CurrentConfigurationVolumeSize" // ExportableVolumeFieldCurrentMonthlyPrice is a ExportableVolumeField enum value ExportableVolumeFieldCurrentMonthlyPrice = "CurrentMonthlyPrice" // ExportableVolumeFieldRecommendationOptionsConfigurationVolumeType is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsConfigurationVolumeType = "RecommendationOptionsConfigurationVolumeType" // ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBaselineIops is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBaselineIops = "RecommendationOptionsConfigurationVolumeBaselineIOPS" // ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBaselineThroughput is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBaselineThroughput = "RecommendationOptionsConfigurationVolumeBaselineThroughput" // ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBurstIops is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBurstIops = "RecommendationOptionsConfigurationVolumeBurstIOPS" // ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBurstThroughput is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsConfigurationVolumeBurstThroughput = "RecommendationOptionsConfigurationVolumeBurstThroughput" // ExportableVolumeFieldRecommendationOptionsConfigurationVolumeSize is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsConfigurationVolumeSize = "RecommendationOptionsConfigurationVolumeSize" // ExportableVolumeFieldRecommendationOptionsMonthlyPrice is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsMonthlyPrice = "RecommendationOptionsMonthlyPrice" // ExportableVolumeFieldRecommendationOptionsPerformanceRisk is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsPerformanceRisk = "RecommendationOptionsPerformanceRisk" // ExportableVolumeFieldLastRefreshTimestamp is a ExportableVolumeField enum value ExportableVolumeFieldLastRefreshTimestamp = "LastRefreshTimestamp" // ExportableVolumeFieldCurrentPerformanceRisk is a ExportableVolumeField enum value ExportableVolumeFieldCurrentPerformanceRisk = "CurrentPerformanceRisk" // ExportableVolumeFieldRecommendationOptionsSavingsOpportunityPercentage is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsSavingsOpportunityPercentage = "RecommendationOptionsSavingsOpportunityPercentage" // ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsCurrency is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsCurrency = "RecommendationOptionsEstimatedMonthlySavingsCurrency" // ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsValue is a ExportableVolumeField enum value ExportableVolumeFieldRecommendationOptionsEstimatedMonthlySavingsValue = "RecommendationOptionsEstimatedMonthlySavingsValue" // ExportableVolumeFieldRootVolume is a ExportableVolumeField enum value ExportableVolumeFieldRootVolume = "RootVolume" // ExportableVolumeFieldTags is a ExportableVolumeField enum value ExportableVolumeFieldTags = "Tags" // ExportableVolumeFieldCurrentConfigurationRootVolume is a ExportableVolumeField enum value ExportableVolumeFieldCurrentConfigurationRootVolume = "CurrentConfigurationRootVolume" )
const ( // ExternalMetricStatusCodeNoExternalMetricSet is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeNoExternalMetricSet = "NO_EXTERNAL_METRIC_SET" // ExternalMetricStatusCodeIntegrationSuccess is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeIntegrationSuccess = "INTEGRATION_SUCCESS" // ExternalMetricStatusCodeDatadogIntegrationError is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeDatadogIntegrationError = "DATADOG_INTEGRATION_ERROR" // ExternalMetricStatusCodeDynatraceIntegrationError is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeDynatraceIntegrationError = "DYNATRACE_INTEGRATION_ERROR" // ExternalMetricStatusCodeNewrelicIntegrationError is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeNewrelicIntegrationError = "NEWRELIC_INTEGRATION_ERROR" // ExternalMetricStatusCodeInstanaIntegrationError is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeInstanaIntegrationError = "INSTANA_INTEGRATION_ERROR" // ExternalMetricStatusCodeInsufficientDatadogMetrics is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeInsufficientDatadogMetrics = "INSUFFICIENT_DATADOG_METRICS" // ExternalMetricStatusCodeInsufficientDynatraceMetrics is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeInsufficientDynatraceMetrics = "INSUFFICIENT_DYNATRACE_METRICS" // ExternalMetricStatusCodeInsufficientNewrelicMetrics is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeInsufficientNewrelicMetrics = "INSUFFICIENT_NEWRELIC_METRICS" // ExternalMetricStatusCodeInsufficientInstanaMetrics is a ExternalMetricStatusCode enum value ExternalMetricStatusCodeInsufficientInstanaMetrics = "INSUFFICIENT_INSTANA_METRICS" )
const ( // ExternalMetricsSourceDatadog is a ExternalMetricsSource enum value ExternalMetricsSourceDatadog = "Datadog" // ExternalMetricsSourceDynatrace is a ExternalMetricsSource enum value ExternalMetricsSourceDynatrace = "Dynatrace" // ExternalMetricsSourceNewRelic is a ExternalMetricsSource enum value ExternalMetricsSourceNewRelic = "NewRelic" // ExternalMetricsSourceInstana is a ExternalMetricsSource enum value ExternalMetricsSourceInstana = "Instana" )
const ( // FilterNameFinding is a FilterName enum value FilterNameFinding = "Finding" // FilterNameFindingReasonCodes is a FilterName enum value FilterNameFindingReasonCodes = "FindingReasonCodes" // FilterNameRecommendationSourceType is a FilterName enum value FilterNameRecommendationSourceType = "RecommendationSourceType" // FilterNameInferredWorkloadTypes is a FilterName enum value FilterNameInferredWorkloadTypes = "InferredWorkloadTypes" )
const ( // FindingUnderprovisioned is a Finding enum value FindingUnderprovisioned = "Underprovisioned" // FindingOverprovisioned is a Finding enum value FindingOverprovisioned = "Overprovisioned" // FindingOptimized is a Finding enum value FindingOptimized = "Optimized" // FindingNotOptimized is a Finding enum value FindingNotOptimized = "NotOptimized" )
const ( // FindingReasonCodeMemoryOverprovisioned is a FindingReasonCode enum value FindingReasonCodeMemoryOverprovisioned = "MemoryOverprovisioned" // FindingReasonCodeMemoryUnderprovisioned is a FindingReasonCode enum value FindingReasonCodeMemoryUnderprovisioned = "MemoryUnderprovisioned" )
const ( // InferredWorkloadTypeAmazonEmr is a InferredWorkloadType enum value InferredWorkloadTypeAmazonEmr = "AmazonEmr" // InferredWorkloadTypeApacheCassandra is a InferredWorkloadType enum value InferredWorkloadTypeApacheCassandra = "ApacheCassandra" // InferredWorkloadTypeApacheHadoop is a InferredWorkloadType enum value InferredWorkloadTypeApacheHadoop = "ApacheHadoop" // InferredWorkloadTypeMemcached is a InferredWorkloadType enum value InferredWorkloadTypeMemcached = "Memcached" // InferredWorkloadTypeNginx is a InferredWorkloadType enum value InferredWorkloadTypeNginx = "Nginx" // InferredWorkloadTypePostgreSql is a InferredWorkloadType enum value InferredWorkloadTypePostgreSql = "PostgreSql" // InferredWorkloadTypeRedis is a InferredWorkloadType enum value InferredWorkloadTypeRedis = "Redis" // InferredWorkloadTypeKafka is a InferredWorkloadType enum value InferredWorkloadTypeKafka = "Kafka" // InferredWorkloadTypeSqlserver is a InferredWorkloadType enum value InferredWorkloadTypeSqlserver = "SQLServer" )
const ( // InferredWorkloadTypesPreferenceActive is a InferredWorkloadTypesPreference enum value InferredWorkloadTypesPreferenceActive = "Active" // InferredWorkloadTypesPreferenceInactive is a InferredWorkloadTypesPreference enum value InferredWorkloadTypesPreferenceInactive = "Inactive" )
const ( // InstanceIdleTrue is a InstanceIdle enum value InstanceIdleTrue = "True" // InstanceIdleFalse is a InstanceIdle enum value InstanceIdleFalse = "False" )
const ( // InstanceRecommendationFindingReasonCodeCpuoverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeCpuoverprovisioned = "CPUOverprovisioned" // InstanceRecommendationFindingReasonCodeCpuunderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeCpuunderprovisioned = "CPUUnderprovisioned" // InstanceRecommendationFindingReasonCodeMemoryOverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeMemoryOverprovisioned = "MemoryOverprovisioned" // InstanceRecommendationFindingReasonCodeMemoryUnderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeMemoryUnderprovisioned = "MemoryUnderprovisioned" // InstanceRecommendationFindingReasonCodeEbsthroughputOverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeEbsthroughputOverprovisioned = "EBSThroughputOverprovisioned" // InstanceRecommendationFindingReasonCodeEbsthroughputUnderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeEbsthroughputUnderprovisioned = "EBSThroughputUnderprovisioned" // InstanceRecommendationFindingReasonCodeEbsiopsoverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeEbsiopsoverprovisioned = "EBSIOPSOverprovisioned" // InstanceRecommendationFindingReasonCodeEbsiopsunderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeEbsiopsunderprovisioned = "EBSIOPSUnderprovisioned" // InstanceRecommendationFindingReasonCodeNetworkBandwidthOverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeNetworkBandwidthOverprovisioned = "NetworkBandwidthOverprovisioned" // InstanceRecommendationFindingReasonCodeNetworkBandwidthUnderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeNetworkBandwidthUnderprovisioned = "NetworkBandwidthUnderprovisioned" // InstanceRecommendationFindingReasonCodeNetworkPpsoverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeNetworkPpsoverprovisioned = "NetworkPPSOverprovisioned" // InstanceRecommendationFindingReasonCodeNetworkPpsunderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeNetworkPpsunderprovisioned = "NetworkPPSUnderprovisioned" // InstanceRecommendationFindingReasonCodeDiskIopsoverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeDiskIopsoverprovisioned = "DiskIOPSOverprovisioned" // InstanceRecommendationFindingReasonCodeDiskIopsunderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeDiskIopsunderprovisioned = "DiskIOPSUnderprovisioned" // InstanceRecommendationFindingReasonCodeDiskThroughputOverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeDiskThroughputOverprovisioned = "DiskThroughputOverprovisioned" // InstanceRecommendationFindingReasonCodeDiskThroughputUnderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeDiskThroughputUnderprovisioned = "DiskThroughputUnderprovisioned" // InstanceRecommendationFindingReasonCodeGpuunderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeGpuunderprovisioned = "GPUUnderprovisioned" // InstanceRecommendationFindingReasonCodeGpuoverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeGpuoverprovisioned = "GPUOverprovisioned" // InstanceRecommendationFindingReasonCodeGpumemoryUnderprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeGpumemoryUnderprovisioned = "GPUMemoryUnderprovisioned" // InstanceRecommendationFindingReasonCodeGpumemoryOverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeGpumemoryOverprovisioned = "GPUMemoryOverprovisioned" )
const ( // InstanceStatePending is a InstanceState enum value InstanceStatePending = "pending" // InstanceStateRunning is a InstanceState enum value InstanceStateRunning = "running" // InstanceStateShuttingDown is a InstanceState enum value InstanceStateShuttingDown = "shutting-down" // InstanceStateTerminated is a InstanceState enum value InstanceStateTerminated = "terminated" // InstanceStateStopping is a InstanceState enum value InstanceStateStopping = "stopping" // InstanceStateStopped is a InstanceState enum value InstanceStateStopped = "stopped" )
const ( // JobFilterNameResourceType is a JobFilterName enum value JobFilterNameResourceType = "ResourceType" // JobFilterNameJobStatus is a JobFilterName enum value JobFilterNameJobStatus = "JobStatus" )
const ( // JobStatusQueued is a JobStatus enum value JobStatusQueued = "Queued" // JobStatusInProgress is a JobStatus enum value JobStatusInProgress = "InProgress" // JobStatusComplete is a JobStatus enum value JobStatusComplete = "Complete" // JobStatusFailed is a JobStatus enum value JobStatusFailed = "Failed" )
const ( // LambdaFunctionMemoryMetricStatisticLowerBound is a LambdaFunctionMemoryMetricStatistic enum value LambdaFunctionMemoryMetricStatisticLowerBound = "LowerBound" // LambdaFunctionMemoryMetricStatisticUpperBound is a LambdaFunctionMemoryMetricStatistic enum value LambdaFunctionMemoryMetricStatisticUpperBound = "UpperBound" // LambdaFunctionMemoryMetricStatisticExpected is a LambdaFunctionMemoryMetricStatistic enum value LambdaFunctionMemoryMetricStatisticExpected = "Expected" )
const ( // LambdaFunctionMetricNameDuration is a LambdaFunctionMetricName enum value LambdaFunctionMetricNameDuration = "Duration" // LambdaFunctionMetricNameMemory is a LambdaFunctionMetricName enum value LambdaFunctionMetricNameMemory = "Memory" )
const ( // LambdaFunctionMetricStatisticMaximum is a LambdaFunctionMetricStatistic enum value LambdaFunctionMetricStatisticMaximum = "Maximum" // LambdaFunctionMetricStatisticAverage is a LambdaFunctionMetricStatistic enum value LambdaFunctionMetricStatisticAverage = "Average" )
const ( // LambdaFunctionRecommendationFilterNameFinding is a LambdaFunctionRecommendationFilterName enum value LambdaFunctionRecommendationFilterNameFinding = "Finding" // LambdaFunctionRecommendationFilterNameFindingReasonCode is a LambdaFunctionRecommendationFilterName enum value LambdaFunctionRecommendationFilterNameFindingReasonCode = "FindingReasonCode" )
const ( // LambdaFunctionRecommendationFindingOptimized is a LambdaFunctionRecommendationFinding enum value LambdaFunctionRecommendationFindingOptimized = "Optimized" // LambdaFunctionRecommendationFindingNotOptimized is a LambdaFunctionRecommendationFinding enum value LambdaFunctionRecommendationFindingNotOptimized = "NotOptimized" LambdaFunctionRecommendationFindingUnavailable = "Unavailable" )
const ( // LambdaFunctionRecommendationFindingReasonCodeMemoryOverprovisioned is a LambdaFunctionRecommendationFindingReasonCode enum value LambdaFunctionRecommendationFindingReasonCodeMemoryOverprovisioned = "MemoryOverprovisioned" // LambdaFunctionRecommendationFindingReasonCodeMemoryUnderprovisioned is a LambdaFunctionRecommendationFindingReasonCode enum value LambdaFunctionRecommendationFindingReasonCodeMemoryUnderprovisioned = "MemoryUnderprovisioned" // LambdaFunctionRecommendationFindingReasonCodeInsufficientData is a LambdaFunctionRecommendationFindingReasonCode enum value LambdaFunctionRecommendationFindingReasonCodeInsufficientData = "InsufficientData" // LambdaFunctionRecommendationFindingReasonCodeInconclusive is a LambdaFunctionRecommendationFindingReasonCode enum value LambdaFunctionRecommendationFindingReasonCodeInconclusive = "Inconclusive" )
const ( // LicenseEditionEnterprise is a LicenseEdition enum value LicenseEditionEnterprise = "Enterprise" // LicenseEditionStandard is a LicenseEdition enum value LicenseEditionStandard = "Standard" // LicenseEditionFree is a LicenseEdition enum value LicenseEditionFree = "Free" // LicenseEditionNoLicenseEditionFound is a LicenseEdition enum value LicenseEditionNoLicenseEditionFound = "NoLicenseEditionFound" )
const ( // LicenseFindingInsufficientMetrics is a LicenseFinding enum value LicenseFindingInsufficientMetrics = "InsufficientMetrics" // LicenseFindingOptimized is a LicenseFinding enum value LicenseFindingOptimized = "Optimized" // LicenseFindingNotOptimized is a LicenseFinding enum value LicenseFindingNotOptimized = "NotOptimized" )
const ( // LicenseFindingReasonCodeInvalidCloudWatchApplicationInsightsSetup is a LicenseFindingReasonCode enum value LicenseFindingReasonCodeInvalidCloudWatchApplicationInsightsSetup = "InvalidCloudWatchApplicationInsightsSetup" // LicenseFindingReasonCodeCloudWatchApplicationInsightsError is a LicenseFindingReasonCode enum value LicenseFindingReasonCodeCloudWatchApplicationInsightsError = "CloudWatchApplicationInsightsError" // LicenseFindingReasonCodeLicenseOverprovisioned is a LicenseFindingReasonCode enum value LicenseFindingReasonCodeLicenseOverprovisioned = "LicenseOverprovisioned" // LicenseFindingReasonCodeOptimized is a LicenseFindingReasonCode enum value LicenseFindingReasonCodeOptimized = "Optimized" )
const ( // LicenseModelLicenseIncluded is a LicenseModel enum value LicenseModelLicenseIncluded = "LicenseIncluded" // LicenseModelBringYourOwnLicense is a LicenseModel enum value LicenseModelBringYourOwnLicense = "BringYourOwnLicense" )
const ( // LicenseRecommendationFilterNameFinding is a LicenseRecommendationFilterName enum value LicenseRecommendationFilterNameFinding = "Finding" // LicenseRecommendationFilterNameFindingReasonCode is a LicenseRecommendationFilterName enum value LicenseRecommendationFilterNameFindingReasonCode = "FindingReasonCode" // LicenseRecommendationFilterNameLicenseName is a LicenseRecommendationFilterName enum value LicenseRecommendationFilterNameLicenseName = "LicenseName" )
const ( // MetricNameCpu is a MetricName enum value MetricNameCpu = "Cpu" // MetricNameMemory is a MetricName enum value MetricNameMemory = "Memory" // MetricNameEbsReadOpsPerSecond is a MetricName enum value MetricNameEbsReadOpsPerSecond = "EBS_READ_OPS_PER_SECOND" // MetricNameEbsWriteOpsPerSecond is a MetricName enum value MetricNameEbsWriteOpsPerSecond = "EBS_WRITE_OPS_PER_SECOND" // MetricNameEbsReadBytesPerSecond is a MetricName enum value MetricNameEbsReadBytesPerSecond = "EBS_READ_BYTES_PER_SECOND" // MetricNameEbsWriteBytesPerSecond is a MetricName enum value MetricNameEbsWriteBytesPerSecond = "EBS_WRITE_BYTES_PER_SECOND" // MetricNameDiskReadOpsPerSecond is a MetricName enum value MetricNameDiskReadOpsPerSecond = "DISK_READ_OPS_PER_SECOND" // MetricNameDiskWriteOpsPerSecond is a MetricName enum value MetricNameDiskWriteOpsPerSecond = "DISK_WRITE_OPS_PER_SECOND" // MetricNameDiskReadBytesPerSecond is a MetricName enum value MetricNameDiskReadBytesPerSecond = "DISK_READ_BYTES_PER_SECOND" // MetricNameDiskWriteBytesPerSecond is a MetricName enum value MetricNameDiskWriteBytesPerSecond = "DISK_WRITE_BYTES_PER_SECOND" // MetricNameNetworkInBytesPerSecond is a MetricName enum value MetricNameNetworkInBytesPerSecond = "NETWORK_IN_BYTES_PER_SECOND" // MetricNameNetworkOutBytesPerSecond is a MetricName enum value MetricNameNetworkOutBytesPerSecond = "NETWORK_OUT_BYTES_PER_SECOND" // MetricNameNetworkPacketsInPerSecond is a MetricName enum value MetricNameNetworkPacketsInPerSecond = "NETWORK_PACKETS_IN_PER_SECOND" // MetricNameNetworkPacketsOutPerSecond is a MetricName enum value MetricNameNetworkPacketsOutPerSecond = "NETWORK_PACKETS_OUT_PER_SECOND" // MetricNameGpuPercentage is a MetricName enum value MetricNameGpuPercentage = "GPU_PERCENTAGE" // MetricNameGpuMemoryPercentage is a MetricName enum value MetricNameGpuMemoryPercentage = "GPU_MEMORY_PERCENTAGE" )
const ( // MetricStatisticMaximum is a MetricStatistic enum value MetricStatisticMaximum = "Maximum" // MetricStatisticAverage is a MetricStatistic enum value MetricStatisticAverage = "Average" )
const ( // MigrationEffortVeryLow is a MigrationEffort enum value MigrationEffortVeryLow = "VeryLow" // MigrationEffortLow is a MigrationEffort enum value MigrationEffortLow = "Low" // MigrationEffortMedium is a MigrationEffort enum value MigrationEffortMedium = "Medium" // MigrationEffortHigh is a MigrationEffort enum value MigrationEffortHigh = "High" )
const ( // PlatformDifferenceHypervisor is a PlatformDifference enum value PlatformDifferenceHypervisor = "Hypervisor" // PlatformDifferenceNetworkInterface is a PlatformDifference enum value PlatformDifferenceNetworkInterface = "NetworkInterface" // PlatformDifferenceStorageInterface is a PlatformDifference enum value PlatformDifferenceStorageInterface = "StorageInterface" // PlatformDifferenceInstanceStoreAvailability is a PlatformDifference enum value PlatformDifferenceInstanceStoreAvailability = "InstanceStoreAvailability" // PlatformDifferenceVirtualizationType is a PlatformDifference enum value PlatformDifferenceVirtualizationType = "VirtualizationType" // PlatformDifferenceArchitecture is a PlatformDifference enum value PlatformDifferenceArchitecture = "Architecture" )
const ( // RecommendationPreferenceNameEnhancedInfrastructureMetrics is a RecommendationPreferenceName enum value RecommendationPreferenceNameEnhancedInfrastructureMetrics = "EnhancedInfrastructureMetrics" // RecommendationPreferenceNameInferredWorkloadTypes is a RecommendationPreferenceName enum value RecommendationPreferenceNameInferredWorkloadTypes = "InferredWorkloadTypes" // RecommendationPreferenceNameExternalMetricsPreference is a RecommendationPreferenceName enum value RecommendationPreferenceNameExternalMetricsPreference = "ExternalMetricsPreference" )
const ( // RecommendationSourceTypeEc2instance is a RecommendationSourceType enum value RecommendationSourceTypeEc2instance = "Ec2Instance" // RecommendationSourceTypeAutoScalingGroup is a RecommendationSourceType enum value RecommendationSourceTypeAutoScalingGroup = "AutoScalingGroup" // RecommendationSourceTypeEbsVolume is a RecommendationSourceType enum value RecommendationSourceTypeEbsVolume = "EbsVolume" // RecommendationSourceTypeLambdaFunction is a RecommendationSourceType enum value RecommendationSourceTypeLambdaFunction = "LambdaFunction" // RecommendationSourceTypeEcsService is a RecommendationSourceType enum value RecommendationSourceTypeEcsService = "EcsService" // RecommendationSourceTypeLicense is a RecommendationSourceType enum value RecommendationSourceTypeLicense = "License" )
const ( // ResourceTypeEc2instance is a ResourceType enum value ResourceTypeEc2instance = "Ec2Instance" // ResourceTypeAutoScalingGroup is a ResourceType enum value ResourceTypeAutoScalingGroup = "AutoScalingGroup" // ResourceTypeEbsVolume is a ResourceType enum value ResourceTypeEbsVolume = "EbsVolume" // ResourceTypeLambdaFunction is a ResourceType enum value ResourceTypeLambdaFunction = "LambdaFunction" // ResourceTypeNotApplicable is a ResourceType enum value ResourceTypeNotApplicable = "NotApplicable" // ResourceTypeEcsService is a ResourceType enum value ResourceTypeEcsService = "EcsService" // ResourceTypeLicense is a ResourceType enum value ResourceTypeLicense = "License" )
const ( // ScopeNameOrganization is a ScopeName enum value ScopeNameOrganization = "Organization" // ScopeNameAccountId is a ScopeName enum value ScopeNameAccountId = "AccountId" // ScopeNameResourceArn is a ScopeName enum value ScopeNameResourceArn = "ResourceArn" )
const ( // StatusActive is a Status enum value StatusActive = "Active" // StatusInactive is a Status enum value StatusInactive = "Inactive" // StatusPending is a Status enum value StatusPending = "Pending" // StatusFailed is a Status enum value StatusFailed = "Failed" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // An internal error has occurred. Try your call again. ErrCodeInternalServerException = "InternalServerException" // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // // The value supplied for the input parameter is out of range or not valid. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The request exceeds a limit of the service. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeMissingAuthenticationToken for service response error code // "MissingAuthenticationToken". // // The request must contain either a valid (registered) Amazon Web Services // access key ID or X.509 certificate. ErrCodeMissingAuthenticationToken = "MissingAuthenticationToken" // ErrCodeOptInRequiredException for service response error code // "OptInRequiredException". // // The account is not opted in to Compute Optimizer. ErrCodeOptInRequiredException = "OptInRequiredException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // A resource that is required for the action doesn't exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // "ServiceUnavailableException". // // The request has failed due to a temporary failure of the server. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The request was denied due to request throttling. ErrCodeThrottlingException = "ThrottlingException" )
const ( ServiceName = "Compute Optimizer" // Name of service. EndpointsID = "compute-optimizer" // ID to lookup a service endpoint with. ServiceID = "Compute Optimizer" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// EBSFilterNameFinding is a EBSFilterName enum value
EBSFilterNameFinding = "Finding"
)
const (
// EnrollmentFilterNameStatus is a EnrollmentFilterName enum value
EnrollmentFilterNameStatus = "Status"
)
const (
// FileFormatCsv is a FileFormat enum value
FileFormatCsv = "Csv"
)
const (
// LambdaFunctionMemoryMetricNameDuration is a LambdaFunctionMemoryMetricName enum value
LambdaFunctionMemoryMetricNameDuration = "Duration"
)
const (
// LicenseNameSqlserver is a LicenseName enum value
LicenseNameSqlserver = "SQLServer"
)
const (
// MetricSourceProviderCloudWatchApplicationInsights is a MetricSourceProvider enum value
MetricSourceProviderCloudWatchApplicationInsights = "CloudWatchApplicationInsights"
)
Variables ¶
This section is empty.
Functions ¶
func AutoScalingConfiguration_Values ¶
func AutoScalingConfiguration_Values() []string
AutoScalingConfiguration_Values returns all elements of the AutoScalingConfiguration enum
func CpuVendorArchitecture_Values ¶
func CpuVendorArchitecture_Values() []string
CpuVendorArchitecture_Values returns all elements of the CpuVendorArchitecture enum
func Currency_Values ¶
func Currency_Values() []string
Currency_Values returns all elements of the Currency enum
func CurrentPerformanceRisk_Values ¶
func CurrentPerformanceRisk_Values() []string
CurrentPerformanceRisk_Values returns all elements of the CurrentPerformanceRisk enum
func EBSFilterName_Values ¶
func EBSFilterName_Values() []string
EBSFilterName_Values returns all elements of the EBSFilterName enum
func EBSFinding_Values ¶
func EBSFinding_Values() []string
EBSFinding_Values returns all elements of the EBSFinding enum
func EBSMetricName_Values ¶
func EBSMetricName_Values() []string
EBSMetricName_Values returns all elements of the EBSMetricName enum
func ECSServiceLaunchType_Values ¶
func ECSServiceLaunchType_Values() []string
ECSServiceLaunchType_Values returns all elements of the ECSServiceLaunchType enum
func ECSServiceMetricName_Values ¶
func ECSServiceMetricName_Values() []string
ECSServiceMetricName_Values returns all elements of the ECSServiceMetricName enum
func ECSServiceMetricStatistic_Values ¶
func ECSServiceMetricStatistic_Values() []string
ECSServiceMetricStatistic_Values returns all elements of the ECSServiceMetricStatistic enum
func ECSServiceRecommendationFilterName_Values ¶
func ECSServiceRecommendationFilterName_Values() []string
ECSServiceRecommendationFilterName_Values returns all elements of the ECSServiceRecommendationFilterName enum
func ECSServiceRecommendationFindingReasonCode_Values ¶
func ECSServiceRecommendationFindingReasonCode_Values() []string
ECSServiceRecommendationFindingReasonCode_Values returns all elements of the ECSServiceRecommendationFindingReasonCode enum
func ECSServiceRecommendationFinding_Values ¶
func ECSServiceRecommendationFinding_Values() []string
ECSServiceRecommendationFinding_Values returns all elements of the ECSServiceRecommendationFinding enum
func EnhancedInfrastructureMetrics_Values ¶
func EnhancedInfrastructureMetrics_Values() []string
EnhancedInfrastructureMetrics_Values returns all elements of the EnhancedInfrastructureMetrics enum
func EnrollmentFilterName_Values ¶
func EnrollmentFilterName_Values() []string
EnrollmentFilterName_Values returns all elements of the EnrollmentFilterName enum
func ExportableAutoScalingGroupField_Values ¶
func ExportableAutoScalingGroupField_Values() []string
ExportableAutoScalingGroupField_Values returns all elements of the ExportableAutoScalingGroupField enum
func ExportableECSServiceField_Values ¶
func ExportableECSServiceField_Values() []string
ExportableECSServiceField_Values returns all elements of the ExportableECSServiceField enum
func ExportableInstanceField_Values ¶
func ExportableInstanceField_Values() []string
ExportableInstanceField_Values returns all elements of the ExportableInstanceField enum
func ExportableLambdaFunctionField_Values ¶
func ExportableLambdaFunctionField_Values() []string
ExportableLambdaFunctionField_Values returns all elements of the ExportableLambdaFunctionField enum
func ExportableLicenseField_Values ¶
func ExportableLicenseField_Values() []string
ExportableLicenseField_Values returns all elements of the ExportableLicenseField enum
func ExportableVolumeField_Values ¶
func ExportableVolumeField_Values() []string
ExportableVolumeField_Values returns all elements of the ExportableVolumeField enum
func ExternalMetricStatusCode_Values ¶
func ExternalMetricStatusCode_Values() []string
ExternalMetricStatusCode_Values returns all elements of the ExternalMetricStatusCode enum
func ExternalMetricsSource_Values ¶
func ExternalMetricsSource_Values() []string
ExternalMetricsSource_Values returns all elements of the ExternalMetricsSource enum
func FileFormat_Values ¶
func FileFormat_Values() []string
FileFormat_Values returns all elements of the FileFormat enum
func FilterName_Values ¶
func FilterName_Values() []string
FilterName_Values returns all elements of the FilterName enum
func FindingReasonCode_Values ¶
func FindingReasonCode_Values() []string
FindingReasonCode_Values returns all elements of the FindingReasonCode enum
func Finding_Values ¶
func Finding_Values() []string
Finding_Values returns all elements of the Finding enum
func InferredWorkloadType_Values ¶
func InferredWorkloadType_Values() []string
InferredWorkloadType_Values returns all elements of the InferredWorkloadType enum
func InferredWorkloadTypesPreference_Values ¶
func InferredWorkloadTypesPreference_Values() []string
InferredWorkloadTypesPreference_Values returns all elements of the InferredWorkloadTypesPreference enum
func InstanceIdle_Values ¶
func InstanceIdle_Values() []string
InstanceIdle_Values returns all elements of the InstanceIdle enum
func InstanceRecommendationFindingReasonCode_Values ¶
func InstanceRecommendationFindingReasonCode_Values() []string
InstanceRecommendationFindingReasonCode_Values returns all elements of the InstanceRecommendationFindingReasonCode enum
func InstanceState_Values ¶
func InstanceState_Values() []string
InstanceState_Values returns all elements of the InstanceState enum
func JobFilterName_Values ¶
func JobFilterName_Values() []string
JobFilterName_Values returns all elements of the JobFilterName enum
func JobStatus_Values ¶
func JobStatus_Values() []string
JobStatus_Values returns all elements of the JobStatus enum
func LambdaFunctionMemoryMetricName_Values ¶
func LambdaFunctionMemoryMetricName_Values() []string
LambdaFunctionMemoryMetricName_Values returns all elements of the LambdaFunctionMemoryMetricName enum
func LambdaFunctionMemoryMetricStatistic_Values ¶
func LambdaFunctionMemoryMetricStatistic_Values() []string
LambdaFunctionMemoryMetricStatistic_Values returns all elements of the LambdaFunctionMemoryMetricStatistic enum
func LambdaFunctionMetricName_Values ¶
func LambdaFunctionMetricName_Values() []string
LambdaFunctionMetricName_Values returns all elements of the LambdaFunctionMetricName enum
func LambdaFunctionMetricStatistic_Values ¶
func LambdaFunctionMetricStatistic_Values() []string
LambdaFunctionMetricStatistic_Values returns all elements of the LambdaFunctionMetricStatistic enum
func LambdaFunctionRecommendationFilterName_Values ¶
func LambdaFunctionRecommendationFilterName_Values() []string
LambdaFunctionRecommendationFilterName_Values returns all elements of the LambdaFunctionRecommendationFilterName enum
func LambdaFunctionRecommendationFindingReasonCode_Values ¶
func LambdaFunctionRecommendationFindingReasonCode_Values() []string
LambdaFunctionRecommendationFindingReasonCode_Values returns all elements of the LambdaFunctionRecommendationFindingReasonCode enum
func LambdaFunctionRecommendationFinding_Values ¶
func LambdaFunctionRecommendationFinding_Values() []string
LambdaFunctionRecommendationFinding_Values returns all elements of the LambdaFunctionRecommendationFinding enum
func LicenseEdition_Values ¶
func LicenseEdition_Values() []string
LicenseEdition_Values returns all elements of the LicenseEdition enum
func LicenseFindingReasonCode_Values ¶
func LicenseFindingReasonCode_Values() []string
LicenseFindingReasonCode_Values returns all elements of the LicenseFindingReasonCode enum
func LicenseFinding_Values ¶
func LicenseFinding_Values() []string
LicenseFinding_Values returns all elements of the LicenseFinding enum
func LicenseModel_Values ¶
func LicenseModel_Values() []string
LicenseModel_Values returns all elements of the LicenseModel enum
func LicenseName_Values ¶
func LicenseName_Values() []string
LicenseName_Values returns all elements of the LicenseName enum
func LicenseRecommendationFilterName_Values ¶
func LicenseRecommendationFilterName_Values() []string
LicenseRecommendationFilterName_Values returns all elements of the LicenseRecommendationFilterName enum
func MetricName_Values ¶
func MetricName_Values() []string
MetricName_Values returns all elements of the MetricName enum
func MetricSourceProvider_Values ¶
func MetricSourceProvider_Values() []string
MetricSourceProvider_Values returns all elements of the MetricSourceProvider enum
func MetricStatistic_Values ¶
func MetricStatistic_Values() []string
MetricStatistic_Values returns all elements of the MetricStatistic enum
func MigrationEffort_Values ¶
func MigrationEffort_Values() []string
MigrationEffort_Values returns all elements of the MigrationEffort enum
func PlatformDifference_Values ¶
func PlatformDifference_Values() []string
PlatformDifference_Values returns all elements of the PlatformDifference enum
func RecommendationPreferenceName_Values ¶
func RecommendationPreferenceName_Values() []string
RecommendationPreferenceName_Values returns all elements of the RecommendationPreferenceName enum
func RecommendationSourceType_Values ¶
func RecommendationSourceType_Values() []string
RecommendationSourceType_Values returns all elements of the RecommendationSourceType enum
func ResourceType_Values ¶
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func ScopeName_Values ¶
func ScopeName_Values() []string
ScopeName_Values returns all elements of the ScopeName enum
func Status_Values ¶
func Status_Values() []string
Status_Values returns all elements of the Status enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountEnrollmentStatus ¶
type AccountEnrollmentStatus struct { // The Amazon Web Services account ID. AccountId *string `locationName:"accountId" type:"string"` // The Unix epoch timestamp, in seconds, of when the account enrollment status // was last updated. LastUpdatedTimestamp *time.Time `locationName:"lastUpdatedTimestamp" type:"timestamp"` // The account enrollment status. Status *string `locationName:"status" type:"string" enum:"Status"` // The reason for the account enrollment status. // // For example, an account might show a status of Pending because member accounts // of an organization require more time to be enrolled in the service. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
Describes the enrollment status of an organization's member accounts in Compute Optimizer.
func (AccountEnrollmentStatus) GoString ¶
func (s AccountEnrollmentStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountEnrollmentStatus) SetAccountId ¶
func (s *AccountEnrollmentStatus) SetAccountId(v string) *AccountEnrollmentStatus
SetAccountId sets the AccountId field's value.
func (*AccountEnrollmentStatus) SetLastUpdatedTimestamp ¶
func (s *AccountEnrollmentStatus) SetLastUpdatedTimestamp(v time.Time) *AccountEnrollmentStatus
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (*AccountEnrollmentStatus) SetStatus ¶
func (s *AccountEnrollmentStatus) SetStatus(v string) *AccountEnrollmentStatus
SetStatus sets the Status field's value.
func (*AccountEnrollmentStatus) SetStatusReason ¶
func (s *AccountEnrollmentStatus) SetStatusReason(v string) *AccountEnrollmentStatus
SetStatusReason sets the StatusReason field's value.
func (AccountEnrollmentStatus) String ¶
func (s AccountEnrollmentStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AutoScalingGroupConfiguration ¶
type AutoScalingGroupConfiguration struct { // The desired capacity, or number of instances, for the Auto Scaling group. DesiredCapacity *int64 `locationName:"desiredCapacity" type:"integer"` // The instance type for the Auto Scaling group. InstanceType *string `locationName:"instanceType" type:"string"` // The maximum size, or maximum number of instances, for the Auto Scaling group. MaxSize *int64 `locationName:"maxSize" type:"integer"` // The minimum size, or minimum number of instances, for the Auto Scaling group. MinSize *int64 `locationName:"minSize" type:"integer"` // contains filtered or unexported fields }
Describes the configuration of an Auto Scaling group.
func (AutoScalingGroupConfiguration) GoString ¶
func (s AutoScalingGroupConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AutoScalingGroupConfiguration) SetDesiredCapacity ¶
func (s *AutoScalingGroupConfiguration) SetDesiredCapacity(v int64) *AutoScalingGroupConfiguration
SetDesiredCapacity sets the DesiredCapacity field's value.
func (*AutoScalingGroupConfiguration) SetInstanceType ¶
func (s *AutoScalingGroupConfiguration) SetInstanceType(v string) *AutoScalingGroupConfiguration
SetInstanceType sets the InstanceType field's value.
func (*AutoScalingGroupConfiguration) SetMaxSize ¶
func (s *AutoScalingGroupConfiguration) SetMaxSize(v int64) *AutoScalingGroupConfiguration
SetMaxSize sets the MaxSize field's value.
func (*AutoScalingGroupConfiguration) SetMinSize ¶
func (s *AutoScalingGroupConfiguration) SetMinSize(v int64) *AutoScalingGroupConfiguration
SetMinSize sets the MinSize field's value.
func (AutoScalingGroupConfiguration) String ¶
func (s AutoScalingGroupConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AutoScalingGroupRecommendation ¶
type AutoScalingGroupRecommendation struct { // The Amazon Web Services account ID of the Auto Scaling group. AccountId *string `locationName:"accountId" type:"string"` // The Amazon Resource Name (ARN) of the Auto Scaling group. AutoScalingGroupArn *string `locationName:"autoScalingGroupArn" type:"string"` // The name of the Auto Scaling group. AutoScalingGroupName *string `locationName:"autoScalingGroupName" type:"string"` // An array of objects that describe the current configuration of the Auto Scaling // group. CurrentConfiguration *AutoScalingGroupConfiguration `locationName:"currentConfiguration" type:"structure"` // Describes the GPU accelerator settings for the current instance type of the // Auto Scaling group. CurrentInstanceGpuInfo *GpuInfo `locationName:"currentInstanceGpuInfo" type:"structure"` // The risk of the current Auto Scaling group not meeting the performance needs // of its workloads. The higher the risk, the more likely the current Auto Scaling // group configuration has insufficient capacity and cannot meet workload requirements. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // An object that describes the effective recommendation preferences for the // Auto Scaling group. EffectiveRecommendationPreferences *EffectiveRecommendationPreferences `locationName:"effectiveRecommendationPreferences" type:"structure"` // The finding classification of the Auto Scaling group. // // Findings for Auto Scaling groups include: // // * NotOptimized —An Auto Scaling group is considered not optimized when // Compute Optimizer identifies a recommendation that can provide better // performance for your workload. // // * Optimized —An Auto Scaling group is considered optimized when Compute // Optimizer determines that the group is correctly provisioned to run your // workload based on the chosen instance type. For optimized resources, Compute // Optimizer might recommend a new generation instance type. Finding *string `locationName:"finding" type:"string" enum:"Finding"` // The applications that might be running on the instances in the Auto Scaling // group as inferred by Compute Optimizer. // // Compute Optimizer can infer if one of the following applications might be // running on the instances: // // * AmazonEmr - Infers that Amazon EMR might be running on the instances. // // * ApacheCassandra - Infers that Apache Cassandra might be running on the // instances. // // * ApacheHadoop - Infers that Apache Hadoop might be running on the instances. // // * Memcached - Infers that Memcached might be running on the instances. // // * NGINX - Infers that NGINX might be running on the instances. // // * PostgreSql - Infers that PostgreSQL might be running on the instances. // // * Redis - Infers that Redis might be running on the instances. // // * Kafka - Infers that Kafka might be running on the instance. // // * SQLServer - Infers that SQLServer might be running on the instance. InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list" enum:"InferredWorkloadType"` // The timestamp of when the Auto Scaling group recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the Auto // Scaling group. LookBackPeriodInDays *float64 `locationName:"lookBackPeriodInDays" type:"double"` // An array of objects that describe the recommendation options for the Auto // Scaling group. RecommendationOptions []*AutoScalingGroupRecommendationOption `locationName:"recommendationOptions" type:"list"` // An array of objects that describe the utilization metrics of the Auto Scaling // group. UtilizationMetrics []*UtilizationMetric `locationName:"utilizationMetrics" type:"list"` // contains filtered or unexported fields }
Describes an Auto Scaling group recommendation.
func (AutoScalingGroupRecommendation) GoString ¶
func (s AutoScalingGroupRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AutoScalingGroupRecommendation) SetAccountId ¶
func (s *AutoScalingGroupRecommendation) SetAccountId(v string) *AutoScalingGroupRecommendation
SetAccountId sets the AccountId field's value.
func (*AutoScalingGroupRecommendation) SetAutoScalingGroupArn ¶
func (s *AutoScalingGroupRecommendation) SetAutoScalingGroupArn(v string) *AutoScalingGroupRecommendation
SetAutoScalingGroupArn sets the AutoScalingGroupArn field's value.
func (*AutoScalingGroupRecommendation) SetAutoScalingGroupName ¶
func (s *AutoScalingGroupRecommendation) SetAutoScalingGroupName(v string) *AutoScalingGroupRecommendation
SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
func (*AutoScalingGroupRecommendation) SetCurrentConfiguration ¶
func (s *AutoScalingGroupRecommendation) SetCurrentConfiguration(v *AutoScalingGroupConfiguration) *AutoScalingGroupRecommendation
SetCurrentConfiguration sets the CurrentConfiguration field's value.
func (*AutoScalingGroupRecommendation) SetCurrentInstanceGpuInfo ¶
func (s *AutoScalingGroupRecommendation) SetCurrentInstanceGpuInfo(v *GpuInfo) *AutoScalingGroupRecommendation
SetCurrentInstanceGpuInfo sets the CurrentInstanceGpuInfo field's value.
func (*AutoScalingGroupRecommendation) SetCurrentPerformanceRisk ¶
func (s *AutoScalingGroupRecommendation) SetCurrentPerformanceRisk(v string) *AutoScalingGroupRecommendation
SetCurrentPerformanceRisk sets the CurrentPerformanceRisk field's value.
func (*AutoScalingGroupRecommendation) SetEffectiveRecommendationPreferences ¶
func (s *AutoScalingGroupRecommendation) SetEffectiveRecommendationPreferences(v *EffectiveRecommendationPreferences) *AutoScalingGroupRecommendation
SetEffectiveRecommendationPreferences sets the EffectiveRecommendationPreferences field's value.
func (*AutoScalingGroupRecommendation) SetFinding ¶
func (s *AutoScalingGroupRecommendation) SetFinding(v string) *AutoScalingGroupRecommendation
SetFinding sets the Finding field's value.
func (*AutoScalingGroupRecommendation) SetInferredWorkloadTypes ¶
func (s *AutoScalingGroupRecommendation) SetInferredWorkloadTypes(v []*string) *AutoScalingGroupRecommendation
SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value.
func (*AutoScalingGroupRecommendation) SetLastRefreshTimestamp ¶
func (s *AutoScalingGroupRecommendation) SetLastRefreshTimestamp(v time.Time) *AutoScalingGroupRecommendation
SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value.
func (*AutoScalingGroupRecommendation) SetLookBackPeriodInDays ¶
func (s *AutoScalingGroupRecommendation) SetLookBackPeriodInDays(v float64) *AutoScalingGroupRecommendation
SetLookBackPeriodInDays sets the LookBackPeriodInDays field's value.
func (*AutoScalingGroupRecommendation) SetRecommendationOptions ¶
func (s *AutoScalingGroupRecommendation) SetRecommendationOptions(v []*AutoScalingGroupRecommendationOption) *AutoScalingGroupRecommendation
SetRecommendationOptions sets the RecommendationOptions field's value.
func (*AutoScalingGroupRecommendation) SetUtilizationMetrics ¶
func (s *AutoScalingGroupRecommendation) SetUtilizationMetrics(v []*UtilizationMetric) *AutoScalingGroupRecommendation
SetUtilizationMetrics sets the UtilizationMetrics field's value.
func (AutoScalingGroupRecommendation) String ¶
func (s AutoScalingGroupRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AutoScalingGroupRecommendationOption ¶
type AutoScalingGroupRecommendationOption struct { // An array of objects that describe an Auto Scaling group configuration. Configuration *AutoScalingGroupConfiguration `locationName:"configuration" type:"structure"` // Describes the GPU accelerator settings for the recommended instance type // of the Auto Scaling group. InstanceGpuInfo *GpuInfo `locationName:"instanceGpuInfo" type:"structure"` // The level of effort required to migrate from the current instance type to // the recommended instance type. // // For example, the migration effort is Low if Amazon EMR is the inferred workload // type and an Amazon Web Services Graviton instance type is recommended. The // migration effort is Medium if a workload type couldn't be inferred but an // Amazon Web Services Graviton instance type is recommended. The migration // effort is VeryLow if both the current and recommended instance types are // of the same CPU architecture. MigrationEffort *string `locationName:"migrationEffort" type:"string" enum:"MigrationEffort"` // The performance risk of the Auto Scaling group configuration recommendation. // // Performance risk indicates the likelihood of the recommended instance type // not meeting the resource needs of your workload. Compute Optimizer calculates // an individual performance risk score for each specification of the recommended // instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, // disk IOPS, network throughput, and network PPS. The performance risk of the // recommended instance is calculated as the maximum performance risk score // across the analyzed resource specifications. // // The value ranges from 0 - 4, with 0 meaning that the recommended resource // is predicted to always provide enough hardware capability. The higher the // performance risk is, the more likely you should validate whether the recommendation // will meet the performance requirements of your workload before migrating // your resource. PerformanceRisk *float64 `locationName:"performanceRisk" type:"double"` // An array of objects that describe the projected utilization metrics of the // Auto Scaling group recommendation option. // // The Cpu and Memory metrics are the only projected utilization metrics returned. // Additionally, the Memory metric is returned only for resources that have // the unified CloudWatch agent installed on them. For more information, see // Enabling Memory Utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent). ProjectedUtilizationMetrics []*UtilizationMetric `locationName:"projectedUtilizationMetrics" type:"list"` // The rank of the Auto Scaling group recommendation option. // // The top recommendation option is ranked as 1. Rank *int64 `locationName:"rank" type:"integer"` // An object that describes the savings opportunity for the Auto Scaling group // recommendation option. Savings opportunity includes the estimated monthly // savings amount and percentage. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // contains filtered or unexported fields }
Describes a recommendation option for an Auto Scaling group.
func (AutoScalingGroupRecommendationOption) GoString ¶
func (s AutoScalingGroupRecommendationOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AutoScalingGroupRecommendationOption) SetConfiguration ¶
func (s *AutoScalingGroupRecommendationOption) SetConfiguration(v *AutoScalingGroupConfiguration) *AutoScalingGroupRecommendationOption
SetConfiguration sets the Configuration field's value.
func (*AutoScalingGroupRecommendationOption) SetInstanceGpuInfo ¶
func (s *AutoScalingGroupRecommendationOption) SetInstanceGpuInfo(v *GpuInfo) *AutoScalingGroupRecommendationOption
SetInstanceGpuInfo sets the InstanceGpuInfo field's value.
func (*AutoScalingGroupRecommendationOption) SetMigrationEffort ¶
func (s *AutoScalingGroupRecommendationOption) SetMigrationEffort(v string) *AutoScalingGroupRecommendationOption
SetMigrationEffort sets the MigrationEffort field's value.
func (*AutoScalingGroupRecommendationOption) SetPerformanceRisk ¶
func (s *AutoScalingGroupRecommendationOption) SetPerformanceRisk(v float64) *AutoScalingGroupRecommendationOption
SetPerformanceRisk sets the PerformanceRisk field's value.
func (*AutoScalingGroupRecommendationOption) SetProjectedUtilizationMetrics ¶
func (s *AutoScalingGroupRecommendationOption) SetProjectedUtilizationMetrics(v []*UtilizationMetric) *AutoScalingGroupRecommendationOption
SetProjectedUtilizationMetrics sets the ProjectedUtilizationMetrics field's value.
func (*AutoScalingGroupRecommendationOption) SetRank ¶
func (s *AutoScalingGroupRecommendationOption) SetRank(v int64) *AutoScalingGroupRecommendationOption
SetRank sets the Rank field's value.
func (*AutoScalingGroupRecommendationOption) SetSavingsOpportunity ¶
func (s *AutoScalingGroupRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *AutoScalingGroupRecommendationOption
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (AutoScalingGroupRecommendationOption) String ¶
func (s AutoScalingGroupRecommendationOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ComputeOptimizer ¶
ComputeOptimizer provides the API operation methods for making requests to AWS Compute Optimizer. See this package's package overview docs for details on the service.
ComputeOptimizer methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ComputeOptimizer
New creates a new instance of the ComputeOptimizer client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a ComputeOptimizer client from just a session. svc := computeoptimizer.New(mySession) // Create a ComputeOptimizer client with additional configuration svc := computeoptimizer.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ComputeOptimizer) DeleteRecommendationPreferences ¶
func (c *ComputeOptimizer) DeleteRecommendationPreferences(input *DeleteRecommendationPreferencesInput) (*DeleteRecommendationPreferencesOutput, error)
DeleteRecommendationPreferences API operation for AWS Compute Optimizer.
Deletes a recommendation preference, such as enhanced infrastructure metrics.
For more information, see Activating enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation DeleteRecommendationPreferences for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences
func (*ComputeOptimizer) DeleteRecommendationPreferencesRequest ¶
func (c *ComputeOptimizer) DeleteRecommendationPreferencesRequest(input *DeleteRecommendationPreferencesInput) (req *request.Request, output *DeleteRecommendationPreferencesOutput)
DeleteRecommendationPreferencesRequest generates a "aws/request.Request" representing the client's request for the DeleteRecommendationPreferences operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRecommendationPreferences for more information on using the DeleteRecommendationPreferences API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRecommendationPreferencesRequest method. req, resp := client.DeleteRecommendationPreferencesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences
func (*ComputeOptimizer) DeleteRecommendationPreferencesWithContext ¶
func (c *ComputeOptimizer) DeleteRecommendationPreferencesWithContext(ctx aws.Context, input *DeleteRecommendationPreferencesInput, opts ...request.Option) (*DeleteRecommendationPreferencesOutput, error)
DeleteRecommendationPreferencesWithContext is the same as DeleteRecommendationPreferences with the addition of the ability to pass a context and additional request options.
See DeleteRecommendationPreferences for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) DescribeRecommendationExportJobs ¶
func (c *ComputeOptimizer) DescribeRecommendationExportJobs(input *DescribeRecommendationExportJobsInput) (*DescribeRecommendationExportJobsOutput, error)
DescribeRecommendationExportJobs API operation for AWS Compute Optimizer.
Describes recommendation export jobs created in the last seven days.
Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation DescribeRecommendationExportJobs for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
func (*ComputeOptimizer) DescribeRecommendationExportJobsPages ¶
func (c *ComputeOptimizer) DescribeRecommendationExportJobsPages(input *DescribeRecommendationExportJobsInput, fn func(*DescribeRecommendationExportJobsOutput, bool) bool) error
DescribeRecommendationExportJobsPages iterates over the pages of a DescribeRecommendationExportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeRecommendationExportJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeRecommendationExportJobs operation. pageNum := 0 err := client.DescribeRecommendationExportJobsPages(params, func(page *computeoptimizer.DescribeRecommendationExportJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ComputeOptimizer) DescribeRecommendationExportJobsPagesWithContext ¶
func (c *ComputeOptimizer) DescribeRecommendationExportJobsPagesWithContext(ctx aws.Context, input *DescribeRecommendationExportJobsInput, fn func(*DescribeRecommendationExportJobsOutput, bool) bool, opts ...request.Option) error
DescribeRecommendationExportJobsPagesWithContext same as DescribeRecommendationExportJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) DescribeRecommendationExportJobsRequest ¶
func (c *ComputeOptimizer) DescribeRecommendationExportJobsRequest(input *DescribeRecommendationExportJobsInput) (req *request.Request, output *DescribeRecommendationExportJobsOutput)
DescribeRecommendationExportJobsRequest generates a "aws/request.Request" representing the client's request for the DescribeRecommendationExportJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRecommendationExportJobs for more information on using the DescribeRecommendationExportJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRecommendationExportJobsRequest method. req, resp := client.DescribeRecommendationExportJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) DescribeRecommendationExportJobsWithContext ¶
func (c *ComputeOptimizer) DescribeRecommendationExportJobsWithContext(ctx aws.Context, input *DescribeRecommendationExportJobsInput, opts ...request.Option) (*DescribeRecommendationExportJobsOutput, error)
DescribeRecommendationExportJobsWithContext is the same as DescribeRecommendationExportJobs with the addition of the ability to pass a context and additional request options.
See DescribeRecommendationExportJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) ExportAutoScalingGroupRecommendations ¶
func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendations(input *ExportAutoScalingGroupRecommendationsInput) (*ExportAutoScalingGroupRecommendationsOutput, error)
ExportAutoScalingGroupRecommendations API operation for AWS Compute Optimizer.
Exports optimization recommendations for Auto Scaling groups.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide.
You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation ExportAutoScalingGroupRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
func (*ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest ¶
func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *ExportAutoScalingGroupRecommendationsInput) (req *request.Request, output *ExportAutoScalingGroupRecommendationsOutput)
ExportAutoScalingGroupRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ExportAutoScalingGroupRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportAutoScalingGroupRecommendations for more information on using the ExportAutoScalingGroupRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportAutoScalingGroupRecommendationsRequest method. req, resp := client.ExportAutoScalingGroupRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) ExportAutoScalingGroupRecommendationsWithContext ¶
func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsWithContext(ctx aws.Context, input *ExportAutoScalingGroupRecommendationsInput, opts ...request.Option) (*ExportAutoScalingGroupRecommendationsOutput, error)
ExportAutoScalingGroupRecommendationsWithContext is the same as ExportAutoScalingGroupRecommendations with the addition of the ability to pass a context and additional request options.
See ExportAutoScalingGroupRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) ExportEBSVolumeRecommendations ¶
func (c *ComputeOptimizer) ExportEBSVolumeRecommendations(input *ExportEBSVolumeRecommendationsInput) (*ExportEBSVolumeRecommendationsOutput, error)
ExportEBSVolumeRecommendations API operation for AWS Compute Optimizer.
Exports optimization recommendations for Amazon EBS volumes.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide.
You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation ExportEBSVolumeRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEBSVolumeRecommendations
func (*ComputeOptimizer) ExportEBSVolumeRecommendationsRequest ¶
func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEBSVolumeRecommendationsInput) (req *request.Request, output *ExportEBSVolumeRecommendationsOutput)
ExportEBSVolumeRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ExportEBSVolumeRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportEBSVolumeRecommendations for more information on using the ExportEBSVolumeRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportEBSVolumeRecommendationsRequest method. req, resp := client.ExportEBSVolumeRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEBSVolumeRecommendations
func (*ComputeOptimizer) ExportEBSVolumeRecommendationsWithContext ¶
func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsWithContext(ctx aws.Context, input *ExportEBSVolumeRecommendationsInput, opts ...request.Option) (*ExportEBSVolumeRecommendationsOutput, error)
ExportEBSVolumeRecommendationsWithContext is the same as ExportEBSVolumeRecommendations with the addition of the ability to pass a context and additional request options.
See ExportEBSVolumeRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) ExportEC2InstanceRecommendations ¶
func (c *ComputeOptimizer) ExportEC2InstanceRecommendations(input *ExportEC2InstanceRecommendationsInput) (*ExportEC2InstanceRecommendationsOutput, error)
ExportEC2InstanceRecommendations API operation for AWS Compute Optimizer.
Exports optimization recommendations for Amazon EC2 instances.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide.
You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation ExportEC2InstanceRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
func (*ComputeOptimizer) ExportEC2InstanceRecommendationsRequest ¶
func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *ExportEC2InstanceRecommendationsInput) (req *request.Request, output *ExportEC2InstanceRecommendationsOutput)
ExportEC2InstanceRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ExportEC2InstanceRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportEC2InstanceRecommendations for more information on using the ExportEC2InstanceRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportEC2InstanceRecommendationsRequest method. req, resp := client.ExportEC2InstanceRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) ExportEC2InstanceRecommendationsWithContext ¶
func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsWithContext(ctx aws.Context, input *ExportEC2InstanceRecommendationsInput, opts ...request.Option) (*ExportEC2InstanceRecommendationsOutput, error)
ExportEC2InstanceRecommendationsWithContext is the same as ExportEC2InstanceRecommendations with the addition of the ability to pass a context and additional request options.
See ExportEC2InstanceRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) ExportECSServiceRecommendations ¶
func (c *ComputeOptimizer) ExportECSServiceRecommendations(input *ExportECSServiceRecommendationsInput) (*ExportECSServiceRecommendationsOutput, error)
ExportECSServiceRecommendations API operation for AWS Compute Optimizer.
Exports optimization recommendations for Amazon ECS services on Fargate.
Recommendations are exported in a CSV file, and its metadata in a JSON file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide.
You can only have one Amazon ECS service export job in progress per Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation ExportECSServiceRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportECSServiceRecommendations
func (*ComputeOptimizer) ExportECSServiceRecommendationsRequest ¶
func (c *ComputeOptimizer) ExportECSServiceRecommendationsRequest(input *ExportECSServiceRecommendationsInput) (req *request.Request, output *ExportECSServiceRecommendationsOutput)
ExportECSServiceRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ExportECSServiceRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportECSServiceRecommendations for more information on using the ExportECSServiceRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportECSServiceRecommendationsRequest method. req, resp := client.ExportECSServiceRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportECSServiceRecommendations
func (*ComputeOptimizer) ExportECSServiceRecommendationsWithContext ¶
func (c *ComputeOptimizer) ExportECSServiceRecommendationsWithContext(ctx aws.Context, input *ExportECSServiceRecommendationsInput, opts ...request.Option) (*ExportECSServiceRecommendationsOutput, error)
ExportECSServiceRecommendationsWithContext is the same as ExportECSServiceRecommendations with the addition of the ability to pass a context and additional request options.
See ExportECSServiceRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) ExportLambdaFunctionRecommendations ¶
func (c *ComputeOptimizer) ExportLambdaFunctionRecommendations(input *ExportLambdaFunctionRecommendationsInput) (*ExportLambdaFunctionRecommendationsOutput, error)
ExportLambdaFunctionRecommendations API operation for AWS Compute Optimizer.
Exports optimization recommendations for Lambda functions.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide.
You can have only one Lambda function export job in progress per Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation ExportLambdaFunctionRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
func (*ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest ¶
func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *ExportLambdaFunctionRecommendationsInput) (req *request.Request, output *ExportLambdaFunctionRecommendationsOutput)
ExportLambdaFunctionRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ExportLambdaFunctionRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportLambdaFunctionRecommendations for more information on using the ExportLambdaFunctionRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportLambdaFunctionRecommendationsRequest method. req, resp := client.ExportLambdaFunctionRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) ExportLambdaFunctionRecommendationsWithContext ¶
func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsWithContext(ctx aws.Context, input *ExportLambdaFunctionRecommendationsInput, opts ...request.Option) (*ExportLambdaFunctionRecommendationsOutput, error)
ExportLambdaFunctionRecommendationsWithContext is the same as ExportLambdaFunctionRecommendations with the addition of the ability to pass a context and additional request options.
See ExportLambdaFunctionRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) ExportLicenseRecommendations ¶
func (c *ComputeOptimizer) ExportLicenseRecommendations(input *ExportLicenseRecommendationsInput) (*ExportLicenseRecommendationsOutput, error)
ExportLicenseRecommendations API operation for AWS Compute Optimizer.
Export optimization recommendations for your licenses.
Recommendations are exported in a comma-separated values (CSV) file, and its metadata in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide.
You can have only one license export job in progress per Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation ExportLicenseRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportLicenseRecommendations
func (*ComputeOptimizer) ExportLicenseRecommendationsRequest ¶
func (c *ComputeOptimizer) ExportLicenseRecommendationsRequest(input *ExportLicenseRecommendationsInput) (req *request.Request, output *ExportLicenseRecommendationsOutput)
ExportLicenseRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ExportLicenseRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ExportLicenseRecommendations for more information on using the ExportLicenseRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ExportLicenseRecommendationsRequest method. req, resp := client.ExportLicenseRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportLicenseRecommendations
func (*ComputeOptimizer) ExportLicenseRecommendationsWithContext ¶
func (c *ComputeOptimizer) ExportLicenseRecommendationsWithContext(ctx aws.Context, input *ExportLicenseRecommendationsInput, opts ...request.Option) (*ExportLicenseRecommendationsOutput, error)
ExportLicenseRecommendationsWithContext is the same as ExportLicenseRecommendations with the addition of the ability to pass a context and additional request options.
See ExportLicenseRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetAutoScalingGroupRecommendations ¶
func (c *ComputeOptimizer) GetAutoScalingGroupRecommendations(input *GetAutoScalingGroupRecommendationsInput) (*GetAutoScalingGroupRecommendationsOutput, error)
GetAutoScalingGroupRecommendations API operation for AWS Compute Optimizer.
Returns Auto Scaling group recommendations.
Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetAutoScalingGroupRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
func (*ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest ¶
func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetAutoScalingGroupRecommendationsInput) (req *request.Request, output *GetAutoScalingGroupRecommendationsOutput)
GetAutoScalingGroupRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetAutoScalingGroupRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAutoScalingGroupRecommendations for more information on using the GetAutoScalingGroupRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAutoScalingGroupRecommendationsRequest method. req, resp := client.GetAutoScalingGroupRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) GetAutoScalingGroupRecommendationsWithContext ¶
func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsWithContext(ctx aws.Context, input *GetAutoScalingGroupRecommendationsInput, opts ...request.Option) (*GetAutoScalingGroupRecommendationsOutput, error)
GetAutoScalingGroupRecommendationsWithContext is the same as GetAutoScalingGroupRecommendations with the addition of the ability to pass a context and additional request options.
See GetAutoScalingGroupRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEBSVolumeRecommendations ¶
func (c *ComputeOptimizer) GetEBSVolumeRecommendations(input *GetEBSVolumeRecommendationsInput) (*GetEBSVolumeRecommendationsOutput, error)
GetEBSVolumeRecommendations API operation for AWS Compute Optimizer.
Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.
Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetEBSVolumeRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEBSVolumeRecommendations
func (*ComputeOptimizer) GetEBSVolumeRecommendationsRequest ¶
func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolumeRecommendationsInput) (req *request.Request, output *GetEBSVolumeRecommendationsOutput)
GetEBSVolumeRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetEBSVolumeRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEBSVolumeRecommendations for more information on using the GetEBSVolumeRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEBSVolumeRecommendationsRequest method. req, resp := client.GetEBSVolumeRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEBSVolumeRecommendations
func (*ComputeOptimizer) GetEBSVolumeRecommendationsWithContext ¶
func (c *ComputeOptimizer) GetEBSVolumeRecommendationsWithContext(ctx aws.Context, input *GetEBSVolumeRecommendationsInput, opts ...request.Option) (*GetEBSVolumeRecommendationsOutput, error)
GetEBSVolumeRecommendationsWithContext is the same as GetEBSVolumeRecommendations with the addition of the ability to pass a context and additional request options.
See GetEBSVolumeRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEC2InstanceRecommendations ¶
func (c *ComputeOptimizer) GetEC2InstanceRecommendations(input *GetEC2InstanceRecommendationsInput) (*GetEC2InstanceRecommendationsOutput, error)
GetEC2InstanceRecommendations API operation for AWS Compute Optimizer.
Returns Amazon EC2 instance recommendations.
Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetEC2InstanceRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2InstanceRecommendations
func (*ComputeOptimizer) GetEC2InstanceRecommendationsRequest ¶
func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2InstanceRecommendationsInput) (req *request.Request, output *GetEC2InstanceRecommendationsOutput)
GetEC2InstanceRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetEC2InstanceRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEC2InstanceRecommendations for more information on using the GetEC2InstanceRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEC2InstanceRecommendationsRequest method. req, resp := client.GetEC2InstanceRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2InstanceRecommendations
func (*ComputeOptimizer) GetEC2InstanceRecommendationsWithContext ¶
func (c *ComputeOptimizer) GetEC2InstanceRecommendationsWithContext(ctx aws.Context, input *GetEC2InstanceRecommendationsInput, opts ...request.Option) (*GetEC2InstanceRecommendationsOutput, error)
GetEC2InstanceRecommendationsWithContext is the same as GetEC2InstanceRecommendations with the addition of the ability to pass a context and additional request options.
See GetEC2InstanceRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEC2RecommendationProjectedMetrics ¶
func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetrics(input *GetEC2RecommendationProjectedMetricsInput) (*GetEC2RecommendationProjectedMetricsOutput, error)
GetEC2RecommendationProjectedMetrics API operation for AWS Compute Optimizer.
Returns the projected utilization metrics of Amazon EC2 instance recommendations.
The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetEC2RecommendationProjectedMetrics for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
func (*ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest ¶
func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest(input *GetEC2RecommendationProjectedMetricsInput) (req *request.Request, output *GetEC2RecommendationProjectedMetricsOutput)
GetEC2RecommendationProjectedMetricsRequest generates a "aws/request.Request" representing the client's request for the GetEC2RecommendationProjectedMetrics operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEC2RecommendationProjectedMetrics for more information on using the GetEC2RecommendationProjectedMetrics API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEC2RecommendationProjectedMetricsRequest method. req, resp := client.GetEC2RecommendationProjectedMetricsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) GetEC2RecommendationProjectedMetricsWithContext ¶
func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsWithContext(ctx aws.Context, input *GetEC2RecommendationProjectedMetricsInput, opts ...request.Option) (*GetEC2RecommendationProjectedMetricsOutput, error)
GetEC2RecommendationProjectedMetricsWithContext is the same as GetEC2RecommendationProjectedMetrics with the addition of the ability to pass a context and additional request options.
See GetEC2RecommendationProjectedMetrics for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetECSServiceRecommendationProjectedMetrics ¶
func (c *ComputeOptimizer) GetECSServiceRecommendationProjectedMetrics(input *GetECSServiceRecommendationProjectedMetricsInput) (*GetECSServiceRecommendationProjectedMetricsOutput, error)
GetECSServiceRecommendationProjectedMetrics API operation for AWS Compute Optimizer.
Returns the projected metrics of Amazon ECS service recommendations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetECSServiceRecommendationProjectedMetrics for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
func (*ComputeOptimizer) GetECSServiceRecommendationProjectedMetricsRequest ¶
func (c *ComputeOptimizer) GetECSServiceRecommendationProjectedMetricsRequest(input *GetECSServiceRecommendationProjectedMetricsInput) (req *request.Request, output *GetECSServiceRecommendationProjectedMetricsOutput)
GetECSServiceRecommendationProjectedMetricsRequest generates a "aws/request.Request" representing the client's request for the GetECSServiceRecommendationProjectedMetrics operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetECSServiceRecommendationProjectedMetrics for more information on using the GetECSServiceRecommendationProjectedMetrics API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetECSServiceRecommendationProjectedMetricsRequest method. req, resp := client.GetECSServiceRecommendationProjectedMetricsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) GetECSServiceRecommendationProjectedMetricsWithContext ¶
func (c *ComputeOptimizer) GetECSServiceRecommendationProjectedMetricsWithContext(ctx aws.Context, input *GetECSServiceRecommendationProjectedMetricsInput, opts ...request.Option) (*GetECSServiceRecommendationProjectedMetricsOutput, error)
GetECSServiceRecommendationProjectedMetricsWithContext is the same as GetECSServiceRecommendationProjectedMetrics with the addition of the ability to pass a context and additional request options.
See GetECSServiceRecommendationProjectedMetrics for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetECSServiceRecommendations ¶
func (c *ComputeOptimizer) GetECSServiceRecommendations(input *GetECSServiceRecommendationsInput) (*GetECSServiceRecommendationsOutput, error)
GetECSServiceRecommendations API operation for AWS Compute Optimizer.
Returns Amazon ECS service recommendations.
Compute Optimizer generates recommendations for Amazon ECS services on Fargate that meet a specific set of requirements. For more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetECSServiceRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetECSServiceRecommendations
func (*ComputeOptimizer) GetECSServiceRecommendationsRequest ¶
func (c *ComputeOptimizer) GetECSServiceRecommendationsRequest(input *GetECSServiceRecommendationsInput) (req *request.Request, output *GetECSServiceRecommendationsOutput)
GetECSServiceRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetECSServiceRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetECSServiceRecommendations for more information on using the GetECSServiceRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetECSServiceRecommendationsRequest method. req, resp := client.GetECSServiceRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetECSServiceRecommendations
func (*ComputeOptimizer) GetECSServiceRecommendationsWithContext ¶
func (c *ComputeOptimizer) GetECSServiceRecommendationsWithContext(ctx aws.Context, input *GetECSServiceRecommendationsInput, opts ...request.Option) (*GetECSServiceRecommendationsOutput, error)
GetECSServiceRecommendationsWithContext is the same as GetECSServiceRecommendations with the addition of the ability to pass a context and additional request options.
See GetECSServiceRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEffectiveRecommendationPreferences ¶
func (c *ComputeOptimizer) GetEffectiveRecommendationPreferences(input *GetEffectiveRecommendationPreferencesInput) (*GetEffectiveRecommendationPreferencesOutput, error)
GetEffectiveRecommendationPreferences API operation for AWS Compute Optimizer.
Returns the recommendation preferences that are in effect for a given resource, such as enhanced infrastructure metrics. Considers all applicable preferences that you might have set at the resource, account, and organization level.
When you create a recommendation preference, you can set its status to Active or Inactive. Use this action to view the recommendation preferences that are in effect, or Active.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetEffectiveRecommendationPreferences for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
func (*ComputeOptimizer) GetEffectiveRecommendationPreferencesRequest ¶
func (c *ComputeOptimizer) GetEffectiveRecommendationPreferencesRequest(input *GetEffectiveRecommendationPreferencesInput) (req *request.Request, output *GetEffectiveRecommendationPreferencesOutput)
GetEffectiveRecommendationPreferencesRequest generates a "aws/request.Request" representing the client's request for the GetEffectiveRecommendationPreferences operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEffectiveRecommendationPreferences for more information on using the GetEffectiveRecommendationPreferences API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEffectiveRecommendationPreferencesRequest method. req, resp := client.GetEffectiveRecommendationPreferencesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) GetEffectiveRecommendationPreferencesWithContext ¶
func (c *ComputeOptimizer) GetEffectiveRecommendationPreferencesWithContext(ctx aws.Context, input *GetEffectiveRecommendationPreferencesInput, opts ...request.Option) (*GetEffectiveRecommendationPreferencesOutput, error)
GetEffectiveRecommendationPreferencesWithContext is the same as GetEffectiveRecommendationPreferences with the addition of the ability to pass a context and additional request options.
See GetEffectiveRecommendationPreferences for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEnrollmentStatus ¶
func (c *ComputeOptimizer) GetEnrollmentStatus(input *GetEnrollmentStatusInput) (*GetEnrollmentStatusOutput, error)
GetEnrollmentStatus API operation for AWS Compute Optimizer.
Returns the enrollment (opt in) status of an account to the Compute Optimizer service.
If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetEnrollmentStatus for usage and error information.
Returned Error Types:
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatus
func (*ComputeOptimizer) GetEnrollmentStatusRequest ¶
func (c *ComputeOptimizer) GetEnrollmentStatusRequest(input *GetEnrollmentStatusInput) (req *request.Request, output *GetEnrollmentStatusOutput)
GetEnrollmentStatusRequest generates a "aws/request.Request" representing the client's request for the GetEnrollmentStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEnrollmentStatus for more information on using the GetEnrollmentStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEnrollmentStatusRequest method. req, resp := client.GetEnrollmentStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatus
func (*ComputeOptimizer) GetEnrollmentStatusWithContext ¶
func (c *ComputeOptimizer) GetEnrollmentStatusWithContext(ctx aws.Context, input *GetEnrollmentStatusInput, opts ...request.Option) (*GetEnrollmentStatusOutput, error)
GetEnrollmentStatusWithContext is the same as GetEnrollmentStatus with the addition of the ability to pass a context and additional request options.
See GetEnrollmentStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEnrollmentStatusesForOrganization ¶
func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganization(input *GetEnrollmentStatusesForOrganizationInput) (*GetEnrollmentStatusesForOrganizationOutput, error)
GetEnrollmentStatusesForOrganization API operation for AWS Compute Optimizer.
Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.
To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetEnrollmentStatusesForOrganization for usage and error information.
Returned Error Types:
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
func (*ComputeOptimizer) GetEnrollmentStatusesForOrganizationPages ¶
func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationPages(input *GetEnrollmentStatusesForOrganizationInput, fn func(*GetEnrollmentStatusesForOrganizationOutput, bool) bool) error
GetEnrollmentStatusesForOrganizationPages iterates over the pages of a GetEnrollmentStatusesForOrganization operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetEnrollmentStatusesForOrganization method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetEnrollmentStatusesForOrganization operation. pageNum := 0 err := client.GetEnrollmentStatusesForOrganizationPages(params, func(page *computeoptimizer.GetEnrollmentStatusesForOrganizationOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ComputeOptimizer) GetEnrollmentStatusesForOrganizationPagesWithContext ¶
func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationPagesWithContext(ctx aws.Context, input *GetEnrollmentStatusesForOrganizationInput, fn func(*GetEnrollmentStatusesForOrganizationOutput, bool) bool, opts ...request.Option) error
GetEnrollmentStatusesForOrganizationPagesWithContext same as GetEnrollmentStatusesForOrganizationPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetEnrollmentStatusesForOrganizationRequest ¶
func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationRequest(input *GetEnrollmentStatusesForOrganizationInput) (req *request.Request, output *GetEnrollmentStatusesForOrganizationOutput)
GetEnrollmentStatusesForOrganizationRequest generates a "aws/request.Request" representing the client's request for the GetEnrollmentStatusesForOrganization operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEnrollmentStatusesForOrganization for more information on using the GetEnrollmentStatusesForOrganization API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEnrollmentStatusesForOrganizationRequest method. req, resp := client.GetEnrollmentStatusesForOrganizationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) GetEnrollmentStatusesForOrganizationWithContext ¶
func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationWithContext(ctx aws.Context, input *GetEnrollmentStatusesForOrganizationInput, opts ...request.Option) (*GetEnrollmentStatusesForOrganizationOutput, error)
GetEnrollmentStatusesForOrganizationWithContext is the same as GetEnrollmentStatusesForOrganization with the addition of the ability to pass a context and additional request options.
See GetEnrollmentStatusesForOrganization for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetLambdaFunctionRecommendations ¶
func (c *ComputeOptimizer) GetLambdaFunctionRecommendations(input *GetLambdaFunctionRecommendationsInput) (*GetLambdaFunctionRecommendationsOutput, error)
GetLambdaFunctionRecommendations API operation for AWS Compute Optimizer.
Returns Lambda function recommendations.
Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetLambdaFunctionRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
LimitExceededException The request exceeds a limit of the service.
func (*ComputeOptimizer) GetLambdaFunctionRecommendationsPages ¶
func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsPages(input *GetLambdaFunctionRecommendationsInput, fn func(*GetLambdaFunctionRecommendationsOutput, bool) bool) error
GetLambdaFunctionRecommendationsPages iterates over the pages of a GetLambdaFunctionRecommendations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetLambdaFunctionRecommendations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetLambdaFunctionRecommendations operation. pageNum := 0 err := client.GetLambdaFunctionRecommendationsPages(params, func(page *computeoptimizer.GetLambdaFunctionRecommendationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ComputeOptimizer) GetLambdaFunctionRecommendationsPagesWithContext ¶
func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsPagesWithContext(ctx aws.Context, input *GetLambdaFunctionRecommendationsInput, fn func(*GetLambdaFunctionRecommendationsOutput, bool) bool, opts ...request.Option) error
GetLambdaFunctionRecommendationsPagesWithContext same as GetLambdaFunctionRecommendationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetLambdaFunctionRecommendationsRequest ¶
func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLambdaFunctionRecommendationsInput) (req *request.Request, output *GetLambdaFunctionRecommendationsOutput)
GetLambdaFunctionRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetLambdaFunctionRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLambdaFunctionRecommendations for more information on using the GetLambdaFunctionRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLambdaFunctionRecommendationsRequest method. req, resp := client.GetLambdaFunctionRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*ComputeOptimizer) GetLambdaFunctionRecommendationsWithContext ¶
func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsWithContext(ctx aws.Context, input *GetLambdaFunctionRecommendationsInput, opts ...request.Option) (*GetLambdaFunctionRecommendationsOutput, error)
GetLambdaFunctionRecommendationsWithContext is the same as GetLambdaFunctionRecommendations with the addition of the ability to pass a context and additional request options.
See GetLambdaFunctionRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetLicenseRecommendations ¶
func (c *ComputeOptimizer) GetLicenseRecommendations(input *GetLicenseRecommendationsInput) (*GetLicenseRecommendationsOutput, error)
GetLicenseRecommendations API operation for AWS Compute Optimizer.
Returns license recommendations for Amazon EC2 instances that run on a specific license.
Compute Optimizer generates recommendations for licenses that meet a specific set of requirements. For more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetLicenseRecommendations for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLicenseRecommendations
func (*ComputeOptimizer) GetLicenseRecommendationsRequest ¶
func (c *ComputeOptimizer) GetLicenseRecommendationsRequest(input *GetLicenseRecommendationsInput) (req *request.Request, output *GetLicenseRecommendationsOutput)
GetLicenseRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetLicenseRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLicenseRecommendations for more information on using the GetLicenseRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLicenseRecommendationsRequest method. req, resp := client.GetLicenseRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLicenseRecommendations
func (*ComputeOptimizer) GetLicenseRecommendationsWithContext ¶
func (c *ComputeOptimizer) GetLicenseRecommendationsWithContext(ctx aws.Context, input *GetLicenseRecommendationsInput, opts ...request.Option) (*GetLicenseRecommendationsOutput, error)
GetLicenseRecommendationsWithContext is the same as GetLicenseRecommendations with the addition of the ability to pass a context and additional request options.
See GetLicenseRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetRecommendationPreferences ¶
func (c *ComputeOptimizer) GetRecommendationPreferences(input *GetRecommendationPreferencesInput) (*GetRecommendationPreferencesOutput, error)
GetRecommendationPreferences API operation for AWS Compute Optimizer.
Returns existing recommendation preferences, such as enhanced infrastructure metrics.
Use the scope parameter to specify which preferences to return. You can specify to return preferences for an organization, a specific account ID, or a specific EC2 instance or Auto Scaling group Amazon Resource Name (ARN).
For more information, see Activating enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetRecommendationPreferences for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences
func (*ComputeOptimizer) GetRecommendationPreferencesPages ¶
func (c *ComputeOptimizer) GetRecommendationPreferencesPages(input *GetRecommendationPreferencesInput, fn func(*GetRecommendationPreferencesOutput, bool) bool) error
GetRecommendationPreferencesPages iterates over the pages of a GetRecommendationPreferences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetRecommendationPreferences method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetRecommendationPreferences operation. pageNum := 0 err := client.GetRecommendationPreferencesPages(params, func(page *computeoptimizer.GetRecommendationPreferencesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ComputeOptimizer) GetRecommendationPreferencesPagesWithContext ¶
func (c *ComputeOptimizer) GetRecommendationPreferencesPagesWithContext(ctx aws.Context, input *GetRecommendationPreferencesInput, fn func(*GetRecommendationPreferencesOutput, bool) bool, opts ...request.Option) error
GetRecommendationPreferencesPagesWithContext same as GetRecommendationPreferencesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetRecommendationPreferencesRequest ¶
func (c *ComputeOptimizer) GetRecommendationPreferencesRequest(input *GetRecommendationPreferencesInput) (req *request.Request, output *GetRecommendationPreferencesOutput)
GetRecommendationPreferencesRequest generates a "aws/request.Request" representing the client's request for the GetRecommendationPreferences operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRecommendationPreferences for more information on using the GetRecommendationPreferences API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRecommendationPreferencesRequest method. req, resp := client.GetRecommendationPreferencesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences
func (*ComputeOptimizer) GetRecommendationPreferencesWithContext ¶
func (c *ComputeOptimizer) GetRecommendationPreferencesWithContext(ctx aws.Context, input *GetRecommendationPreferencesInput, opts ...request.Option) (*GetRecommendationPreferencesOutput, error)
GetRecommendationPreferencesWithContext is the same as GetRecommendationPreferences with the addition of the ability to pass a context and additional request options.
See GetRecommendationPreferences for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetRecommendationSummaries ¶
func (c *ComputeOptimizer) GetRecommendationSummaries(input *GetRecommendationSummariesInput) (*GetRecommendationSummariesOutput, error)
GetRecommendationSummaries API operation for AWS Compute Optimizer.
Returns the optimization findings for an account.
It returns the number of:
Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized.
Auto Scaling groups in an account that are NotOptimized, or Optimized.
Amazon EBS volumes in an account that are NotOptimized, or Optimized.
Lambda functions in an account that are NotOptimized, or Optimized.
Amazon ECS services in an account that are Underprovisioned, Overprovisioned, or Optimized.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation GetRecommendationSummaries for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationSummaries
func (*ComputeOptimizer) GetRecommendationSummariesPages ¶
func (c *ComputeOptimizer) GetRecommendationSummariesPages(input *GetRecommendationSummariesInput, fn func(*GetRecommendationSummariesOutput, bool) bool) error
GetRecommendationSummariesPages iterates over the pages of a GetRecommendationSummaries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetRecommendationSummaries method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetRecommendationSummaries operation. pageNum := 0 err := client.GetRecommendationSummariesPages(params, func(page *computeoptimizer.GetRecommendationSummariesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ComputeOptimizer) GetRecommendationSummariesPagesWithContext ¶
func (c *ComputeOptimizer) GetRecommendationSummariesPagesWithContext(ctx aws.Context, input *GetRecommendationSummariesInput, fn func(*GetRecommendationSummariesOutput, bool) bool, opts ...request.Option) error
GetRecommendationSummariesPagesWithContext same as GetRecommendationSummariesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) GetRecommendationSummariesRequest ¶
func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommendationSummariesInput) (req *request.Request, output *GetRecommendationSummariesOutput)
GetRecommendationSummariesRequest generates a "aws/request.Request" representing the client's request for the GetRecommendationSummaries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRecommendationSummaries for more information on using the GetRecommendationSummaries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRecommendationSummariesRequest method. req, resp := client.GetRecommendationSummariesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationSummaries
func (*ComputeOptimizer) GetRecommendationSummariesWithContext ¶
func (c *ComputeOptimizer) GetRecommendationSummariesWithContext(ctx aws.Context, input *GetRecommendationSummariesInput, opts ...request.Option) (*GetRecommendationSummariesOutput, error)
GetRecommendationSummariesWithContext is the same as GetRecommendationSummaries with the addition of the ability to pass a context and additional request options.
See GetRecommendationSummaries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) PutRecommendationPreferences ¶
func (c *ComputeOptimizer) PutRecommendationPreferences(input *PutRecommendationPreferencesInput) (*PutRecommendationPreferencesOutput, error)
PutRecommendationPreferences API operation for AWS Compute Optimizer.
Creates a new recommendation preference or updates an existing recommendation preference, such as enhanced infrastructure metrics.
For more information, see Activating enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation PutRecommendationPreferences for usage and error information.
Returned Error Types:
OptInRequiredException The account is not opted in to Compute Optimizer.
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
ResourceNotFoundException A resource that is required for the action doesn't exist.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences
func (*ComputeOptimizer) PutRecommendationPreferencesRequest ¶
func (c *ComputeOptimizer) PutRecommendationPreferencesRequest(input *PutRecommendationPreferencesInput) (req *request.Request, output *PutRecommendationPreferencesOutput)
PutRecommendationPreferencesRequest generates a "aws/request.Request" representing the client's request for the PutRecommendationPreferences operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutRecommendationPreferences for more information on using the PutRecommendationPreferences API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutRecommendationPreferencesRequest method. req, resp := client.PutRecommendationPreferencesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences
func (*ComputeOptimizer) PutRecommendationPreferencesWithContext ¶
func (c *ComputeOptimizer) PutRecommendationPreferencesWithContext(ctx aws.Context, input *PutRecommendationPreferencesInput, opts ...request.Option) (*PutRecommendationPreferencesOutput, error)
PutRecommendationPreferencesWithContext is the same as PutRecommendationPreferences with the addition of the ability to pass a context and additional request options.
See PutRecommendationPreferences for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ComputeOptimizer) UpdateEnrollmentStatus ¶
func (c *ComputeOptimizer) UpdateEnrollmentStatus(input *UpdateEnrollmentStatusInput) (*UpdateEnrollmentStatusOutput, error)
UpdateEnrollmentStatus API operation for AWS Compute Optimizer.
Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.
If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.
You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html) in the Compute Optimizer User Guide.
When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html) in the Compute Optimizer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Compute Optimizer's API operation UpdateEnrollmentStatus for usage and error information.
Returned Error Types:
InternalServerException An internal error has occurred. Try your call again.
ServiceUnavailableException The request has failed due to a temporary failure of the server.
AccessDeniedException You do not have sufficient access to perform this action.
InvalidParameterValueException The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/UpdateEnrollmentStatus
func (*ComputeOptimizer) UpdateEnrollmentStatusRequest ¶
func (c *ComputeOptimizer) UpdateEnrollmentStatusRequest(input *UpdateEnrollmentStatusInput) (req *request.Request, output *UpdateEnrollmentStatusOutput)
UpdateEnrollmentStatusRequest generates a "aws/request.Request" representing the client's request for the UpdateEnrollmentStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEnrollmentStatus for more information on using the UpdateEnrollmentStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEnrollmentStatusRequest method. req, resp := client.UpdateEnrollmentStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/UpdateEnrollmentStatus
func (*ComputeOptimizer) UpdateEnrollmentStatusWithContext ¶
func (c *ComputeOptimizer) UpdateEnrollmentStatusWithContext(ctx aws.Context, input *UpdateEnrollmentStatusInput, opts ...request.Option) (*UpdateEnrollmentStatusOutput, error)
UpdateEnrollmentStatusWithContext is the same as UpdateEnrollmentStatus with the addition of the ability to pass a context and additional request options.
See UpdateEnrollmentStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type ContainerConfiguration ¶
type ContainerConfiguration struct { // The name of the container. ContainerName *string `locationName:"containerName" type:"string"` // The number of CPU units reserved for the container. Cpu *int64 `locationName:"cpu" type:"integer"` // The memory size configurations for the container. MemorySizeConfiguration *MemorySizeConfiguration `locationName:"memorySizeConfiguration" type:"structure"` // contains filtered or unexported fields }
Describes the container configurations within the tasks of your Amazon ECS service.
func (ContainerConfiguration) GoString ¶
func (s ContainerConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerConfiguration) SetContainerName ¶
func (s *ContainerConfiguration) SetContainerName(v string) *ContainerConfiguration
SetContainerName sets the ContainerName field's value.
func (*ContainerConfiguration) SetCpu ¶
func (s *ContainerConfiguration) SetCpu(v int64) *ContainerConfiguration
SetCpu sets the Cpu field's value.
func (*ContainerConfiguration) SetMemorySizeConfiguration ¶
func (s *ContainerConfiguration) SetMemorySizeConfiguration(v *MemorySizeConfiguration) *ContainerConfiguration
SetMemorySizeConfiguration sets the MemorySizeConfiguration field's value.
func (ContainerConfiguration) String ¶
func (s ContainerConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ContainerRecommendation ¶
type ContainerRecommendation struct { // The name of the container. ContainerName *string `locationName:"containerName" type:"string"` // The recommended number of CPU units reserved for the container. Cpu *int64 `locationName:"cpu" type:"integer"` // The recommended memory size configurations for the container. MemorySizeConfiguration *MemorySizeConfiguration `locationName:"memorySizeConfiguration" type:"structure"` // contains filtered or unexported fields }
The CPU and memory recommendations for a container within the tasks of your Amazon ECS service.
func (ContainerRecommendation) GoString ¶
func (s ContainerRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerRecommendation) SetContainerName ¶
func (s *ContainerRecommendation) SetContainerName(v string) *ContainerRecommendation
SetContainerName sets the ContainerName field's value.
func (*ContainerRecommendation) SetCpu ¶
func (s *ContainerRecommendation) SetCpu(v int64) *ContainerRecommendation
SetCpu sets the Cpu field's value.
func (*ContainerRecommendation) SetMemorySizeConfiguration ¶
func (s *ContainerRecommendation) SetMemorySizeConfiguration(v *MemorySizeConfiguration) *ContainerRecommendation
SetMemorySizeConfiguration sets the MemorySizeConfiguration field's value.
func (ContainerRecommendation) String ¶
func (s ContainerRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CurrentPerformanceRiskRatings ¶
type CurrentPerformanceRiskRatings struct { // A count of the applicable resource types with a high performance risk rating. High *int64 `locationName:"high" type:"long"` // A count of the applicable resource types with a low performance risk rating. Low *int64 `locationName:"low" type:"long"` // A count of the applicable resource types with a medium performance risk rating. Medium *int64 `locationName:"medium" type:"long"` // A count of the applicable resource types with a very low performance risk // rating. VeryLow *int64 `locationName:"veryLow" type:"long"` // contains filtered or unexported fields }
Describes the performance risk ratings for a given resource type.
Resources with a high or medium rating are at risk of not meeting the performance needs of their workloads, while resources with a low rating are performing well in their workloads.
func (CurrentPerformanceRiskRatings) GoString ¶
func (s CurrentPerformanceRiskRatings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CurrentPerformanceRiskRatings) SetHigh ¶
func (s *CurrentPerformanceRiskRatings) SetHigh(v int64) *CurrentPerformanceRiskRatings
SetHigh sets the High field's value.
func (*CurrentPerformanceRiskRatings) SetLow ¶
func (s *CurrentPerformanceRiskRatings) SetLow(v int64) *CurrentPerformanceRiskRatings
SetLow sets the Low field's value.
func (*CurrentPerformanceRiskRatings) SetMedium ¶
func (s *CurrentPerformanceRiskRatings) SetMedium(v int64) *CurrentPerformanceRiskRatings
SetMedium sets the Medium field's value.
func (*CurrentPerformanceRiskRatings) SetVeryLow ¶
func (s *CurrentPerformanceRiskRatings) SetVeryLow(v int64) *CurrentPerformanceRiskRatings
SetVeryLow sets the VeryLow field's value.
func (CurrentPerformanceRiskRatings) String ¶
func (s CurrentPerformanceRiskRatings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRecommendationPreferencesInput ¶
type DeleteRecommendationPreferencesInput struct { // The name of the recommendation preference to delete. // // RecommendationPreferenceNames is a required field RecommendationPreferenceNames []*string `locationName:"recommendationPreferenceNames" type:"list" required:"true" enum:"RecommendationPreferenceName"` // The target resource type of the recommendation preference to delete. // // The Ec2Instance option encompasses standalone instances and instances that // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // // The valid values for this parameter are Ec2Instance and AutoScalingGroup. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` // An object that describes the scope of the recommendation preference to delete. // // You can delete recommendation preferences that are created at the organization // level (for management accounts of an organization only), account level, and // resource level. For more information, see Activating enhanced infrastructure // metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. Scope *Scope `locationName:"scope" type:"structure"` // contains filtered or unexported fields }
func (DeleteRecommendationPreferencesInput) GoString ¶
func (s DeleteRecommendationPreferencesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRecommendationPreferencesInput) SetRecommendationPreferenceNames ¶
func (s *DeleteRecommendationPreferencesInput) SetRecommendationPreferenceNames(v []*string) *DeleteRecommendationPreferencesInput
SetRecommendationPreferenceNames sets the RecommendationPreferenceNames field's value.
func (*DeleteRecommendationPreferencesInput) SetResourceType ¶
func (s *DeleteRecommendationPreferencesInput) SetResourceType(v string) *DeleteRecommendationPreferencesInput
SetResourceType sets the ResourceType field's value.
func (*DeleteRecommendationPreferencesInput) SetScope ¶
func (s *DeleteRecommendationPreferencesInput) SetScope(v *Scope) *DeleteRecommendationPreferencesInput
SetScope sets the Scope field's value.
func (DeleteRecommendationPreferencesInput) String ¶
func (s DeleteRecommendationPreferencesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRecommendationPreferencesInput) Validate ¶
func (s *DeleteRecommendationPreferencesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRecommendationPreferencesOutput ¶
type DeleteRecommendationPreferencesOutput struct {
// contains filtered or unexported fields
}
func (DeleteRecommendationPreferencesOutput) GoString ¶
func (s DeleteRecommendationPreferencesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteRecommendationPreferencesOutput) String ¶
func (s DeleteRecommendationPreferencesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRecommendationExportJobsInput ¶
type DescribeRecommendationExportJobsInput struct { // An array of objects to specify a filter that returns a more specific list // of export jobs. Filters []*JobFilter `locationName:"filters" type:"list"` // The identification numbers of the export jobs to return. // // An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations // or ExportEC2InstanceRecommendations actions. // // All export jobs created in the last seven days are returned if this parameter // is omitted. JobIds []*string `locationName:"jobIds" type:"list"` // The maximum number of export jobs to return with a single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of export jobs. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeRecommendationExportJobsInput) GoString ¶
func (s DescribeRecommendationExportJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecommendationExportJobsInput) SetFilters ¶
func (s *DescribeRecommendationExportJobsInput) SetFilters(v []*JobFilter) *DescribeRecommendationExportJobsInput
SetFilters sets the Filters field's value.
func (*DescribeRecommendationExportJobsInput) SetJobIds ¶
func (s *DescribeRecommendationExportJobsInput) SetJobIds(v []*string) *DescribeRecommendationExportJobsInput
SetJobIds sets the JobIds field's value.
func (*DescribeRecommendationExportJobsInput) SetMaxResults ¶
func (s *DescribeRecommendationExportJobsInput) SetMaxResults(v int64) *DescribeRecommendationExportJobsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeRecommendationExportJobsInput) SetNextToken ¶
func (s *DescribeRecommendationExportJobsInput) SetNextToken(v string) *DescribeRecommendationExportJobsInput
SetNextToken sets the NextToken field's value.
func (DescribeRecommendationExportJobsInput) String ¶
func (s DescribeRecommendationExportJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRecommendationExportJobsOutput ¶
type DescribeRecommendationExportJobsOutput struct { // The token to use to advance to the next page of export jobs. // // This value is null when there are no more pages of export jobs to return. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that describe recommendation export jobs. RecommendationExportJobs []*RecommendationExportJob `locationName:"recommendationExportJobs" type:"list"` // contains filtered or unexported fields }
func (DescribeRecommendationExportJobsOutput) GoString ¶
func (s DescribeRecommendationExportJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecommendationExportJobsOutput) SetNextToken ¶
func (s *DescribeRecommendationExportJobsOutput) SetNextToken(v string) *DescribeRecommendationExportJobsOutput
SetNextToken sets the NextToken field's value.
func (*DescribeRecommendationExportJobsOutput) SetRecommendationExportJobs ¶
func (s *DescribeRecommendationExportJobsOutput) SetRecommendationExportJobs(v []*RecommendationExportJob) *DescribeRecommendationExportJobsOutput
SetRecommendationExportJobs sets the RecommendationExportJobs field's value.
func (DescribeRecommendationExportJobsOutput) String ¶
func (s DescribeRecommendationExportJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EBSFilter ¶
type EBSFilter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification // (for example, NotOptimized). // // You can filter your Amazon EBS volume recommendations by tag:key and tag-key // tags. // // A tag:key is a key and value combination of a tag assigned to your Amazon // EBS volume recommendations. Use the tag key in the filter name and the tag // value as the filter value. For example, to find all Amazon EBS volume recommendations // that have a tag with the key of Owner and the value of TeamA, specify tag:Owner // for the filter name and TeamA for the filter value. // // A tag-key is the key of a tag assigned to your Amazon EBS volume recommendations. // Use this filter to find all of your Amazon EBS volume recommendations that // have a tag with a specific key. This doesn’t consider the tag value. For // example, you can find your Amazon EBS volume recommendations with a tag key // value of Owner or without any tag keys assigned. Name *string `locationName:"name" type:"string" enum:"EBSFilterName"` // The value of the filter. // // The valid values are Optimized, or NotOptimized. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of Amazon Elastic Block Store (Amazon EBS) volume recommendations. Use this filter with the GetEBSVolumeRecommendations action.
You can use LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
func (EBSFilter) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EBSUtilizationMetric ¶
type EBSUtilizationMetric struct { // The name of the utilization metric. // // The following utilization metrics are available: // // * VolumeReadOpsPerSecond - The completed read operations per second from // the volume in a specified period of time. Unit: Count // // * VolumeWriteOpsPerSecond - The completed write operations per second // to the volume in a specified period of time. Unit: Count // // * VolumeReadBytesPerSecond - The bytes read per second from the volume // in a specified period of time. Unit: Bytes // // * VolumeWriteBytesPerSecond - The bytes written to the volume in a specified // period of time. Unit: Bytes Name *string `locationName:"name" type:"string" enum:"EBSMetricName"` // The statistic of the utilization metric. // // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return // utilization metrics using only the Maximum statistic, which is the highest // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"MetricStatistic"` // The value of the utilization metric. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
Describes a utilization metric of an Amazon Elastic Block Store (Amazon EBS) volume.
Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.
func (EBSUtilizationMetric) GoString ¶
func (s EBSUtilizationMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EBSUtilizationMetric) SetName ¶
func (s *EBSUtilizationMetric) SetName(v string) *EBSUtilizationMetric
SetName sets the Name field's value.
func (*EBSUtilizationMetric) SetStatistic ¶
func (s *EBSUtilizationMetric) SetStatistic(v string) *EBSUtilizationMetric
SetStatistic sets the Statistic field's value.
func (*EBSUtilizationMetric) SetValue ¶
func (s *EBSUtilizationMetric) SetValue(v float64) *EBSUtilizationMetric
SetValue sets the Value field's value.
func (EBSUtilizationMetric) String ¶
func (s EBSUtilizationMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceProjectedMetric ¶
type ECSServiceProjectedMetric struct { // The lower bound values for the projected metric. LowerBoundValues []*float64 `locationName:"lowerBoundValues" type:"list"` // The name of the projected metric. // // The following metrics are available: // // * Cpu — The percentage of allocated compute units that are currently // in use on the service tasks. // // * Memory — The percentage of memory that's currently in use on the service // tasks. Name *string `locationName:"name" type:"string" enum:"ECSServiceMetricName"` // The timestamps of the projected metric. Timestamps []*time.Time `locationName:"timestamps" type:"list"` // The upper bound values for the projected metric. UpperBoundValues []*float64 `locationName:"upperBoundValues" type:"list"` // contains filtered or unexported fields }
Describes the projected metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current Amazon ECS service and the recommended option, compare the metric data of your service against its projected metric data.
func (ECSServiceProjectedMetric) GoString ¶
func (s ECSServiceProjectedMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceProjectedMetric) SetLowerBoundValues ¶
func (s *ECSServiceProjectedMetric) SetLowerBoundValues(v []*float64) *ECSServiceProjectedMetric
SetLowerBoundValues sets the LowerBoundValues field's value.
func (*ECSServiceProjectedMetric) SetName ¶
func (s *ECSServiceProjectedMetric) SetName(v string) *ECSServiceProjectedMetric
SetName sets the Name field's value.
func (*ECSServiceProjectedMetric) SetTimestamps ¶
func (s *ECSServiceProjectedMetric) SetTimestamps(v []*time.Time) *ECSServiceProjectedMetric
SetTimestamps sets the Timestamps field's value.
func (*ECSServiceProjectedMetric) SetUpperBoundValues ¶
func (s *ECSServiceProjectedMetric) SetUpperBoundValues(v []*float64) *ECSServiceProjectedMetric
SetUpperBoundValues sets the UpperBoundValues field's value.
func (ECSServiceProjectedMetric) String ¶
func (s ECSServiceProjectedMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceProjectedUtilizationMetric ¶
type ECSServiceProjectedUtilizationMetric struct { // The lower bound values for the projected utilization metrics. LowerBoundValue *float64 `locationName:"lowerBoundValue" type:"double"` // The name of the projected utilization metric. // // The following utilization metrics are available: // // * Cpu — The percentage of allocated compute units that are currently // in use on the service tasks. // // * Memory — The percentage of memory that's currently in use on the service // tasks. Name *string `locationName:"name" type:"string" enum:"ECSServiceMetricName"` // The statistic of the projected utilization metric. // // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return // utilization metrics using only the Maximum statistic, which is the highest // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"ECSServiceMetricStatistic"` // The upper bound values for the projected utilization metrics. UpperBoundValue *float64 `locationName:"upperBoundValue" type:"double"` // contains filtered or unexported fields }
Describes the projected utilization metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current Amazon ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
func (ECSServiceProjectedUtilizationMetric) GoString ¶
func (s ECSServiceProjectedUtilizationMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceProjectedUtilizationMetric) SetLowerBoundValue ¶
func (s *ECSServiceProjectedUtilizationMetric) SetLowerBoundValue(v float64) *ECSServiceProjectedUtilizationMetric
SetLowerBoundValue sets the LowerBoundValue field's value.
func (*ECSServiceProjectedUtilizationMetric) SetName ¶
func (s *ECSServiceProjectedUtilizationMetric) SetName(v string) *ECSServiceProjectedUtilizationMetric
SetName sets the Name field's value.
func (*ECSServiceProjectedUtilizationMetric) SetStatistic ¶
func (s *ECSServiceProjectedUtilizationMetric) SetStatistic(v string) *ECSServiceProjectedUtilizationMetric
SetStatistic sets the Statistic field's value.
func (*ECSServiceProjectedUtilizationMetric) SetUpperBoundValue ¶
func (s *ECSServiceProjectedUtilizationMetric) SetUpperBoundValue(v float64) *ECSServiceProjectedUtilizationMetric
SetUpperBoundValue sets the UpperBoundValue field's value.
func (ECSServiceProjectedUtilizationMetric) String ¶
func (s ECSServiceProjectedUtilizationMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceRecommendation ¶
type ECSServiceRecommendation struct { // The Amazon Web Services account ID of the Amazon ECS service. AccountId *string `locationName:"accountId" type:"string"` // The risk of the current Amazon ECS service not meeting the performance needs // of its workloads. The higher the risk, the more likely the current service // can't meet the performance requirements of its workload. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // The configuration of the current Amazon ECS service. CurrentServiceConfiguration *ServiceConfiguration `locationName:"currentServiceConfiguration" type:"structure"` // The finding classification of an Amazon ECS service. // // Findings for Amazon ECS services include: // // * Underprovisioned — When Compute Optimizer detects that there’s not // enough memory or CPU, an Amazon ECS service is considered under-provisioned. // An under-provisioned service might result in poor application performance. // // * Overprovisioned — When Compute Optimizer detects that there’s excessive // memory or CPU, an Amazon ECS service is considered over-provisioned. An // over-provisioned service might result in additional infrastructure costs. // // * Optimized — When both the CPU and memory of your Amazon ECS service // meet the performance requirements of your workload, the service is considered // optimized. Finding *string `locationName:"finding" type:"string" enum:"ECSServiceRecommendationFinding"` // The reason for the finding classification of an Amazon ECS service. // // Finding reason codes for Amazon ECS services include: // // * CPUUnderprovisioned — The service CPU configuration can be sized up // to enhance the performance of your workload. This is identified by analyzing // the CPUUtilization metric of the current service during the look-back // period. // // * CPUOverprovisioned — The service CPU configuration can be sized down // while still meeting the performance requirements of your workload. This // is identified by analyzing the CPUUtilization metric of the current service // during the look-back period. // // * MemoryUnderprovisioned — The service memory configuration can be sized // up to enhance the performance of your workload. This is identified by // analyzing the MemoryUtilization metric of the current service during the // look-back period. // // * MemoryOverprovisioned — The service memory configuration can be sized // down while still meeting the performance requirements of your workload. // This is identified by analyzing the MemoryUtilization metric of the current // service during the look-back period. FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list" enum:"ECSServiceRecommendationFindingReasonCode"` // The timestamp of when the Amazon ECS service recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The launch type the Amazon ECS service is using. // // Compute Optimizer only supports the Fargate launch type. LaunchType *string `locationName:"launchType" type:"string" enum:"ECSServiceLaunchType"` // The number of days the Amazon ECS service utilization metrics were analyzed. LookbackPeriodInDays *float64 `locationName:"lookbackPeriodInDays" type:"double"` // The Amazon Resource Name (ARN) of the current Amazon ECS service. // // The following is the format of the ARN: // // arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name ServiceArn *string `locationName:"serviceArn" type:"string"` // An array of objects that describe the recommendation options for the Amazon // ECS service. ServiceRecommendationOptions []*ECSServiceRecommendationOption `locationName:"serviceRecommendationOptions" type:"list"` // A list of tags assigned to your Amazon ECS service recommendations. Tags []*Tag `locationName:"tags" type:"list"` // An array of objects that describe the utilization metrics of the Amazon ECS // service. UtilizationMetrics []*ECSServiceUtilizationMetric `locationName:"utilizationMetrics" type:"list"` // contains filtered or unexported fields }
Describes an Amazon ECS service recommendation.
func (ECSServiceRecommendation) GoString ¶
func (s ECSServiceRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceRecommendation) SetAccountId ¶
func (s *ECSServiceRecommendation) SetAccountId(v string) *ECSServiceRecommendation
SetAccountId sets the AccountId field's value.
func (*ECSServiceRecommendation) SetCurrentPerformanceRisk ¶
func (s *ECSServiceRecommendation) SetCurrentPerformanceRisk(v string) *ECSServiceRecommendation
SetCurrentPerformanceRisk sets the CurrentPerformanceRisk field's value.
func (*ECSServiceRecommendation) SetCurrentServiceConfiguration ¶
func (s *ECSServiceRecommendation) SetCurrentServiceConfiguration(v *ServiceConfiguration) *ECSServiceRecommendation
SetCurrentServiceConfiguration sets the CurrentServiceConfiguration field's value.
func (*ECSServiceRecommendation) SetFinding ¶
func (s *ECSServiceRecommendation) SetFinding(v string) *ECSServiceRecommendation
SetFinding sets the Finding field's value.
func (*ECSServiceRecommendation) SetFindingReasonCodes ¶
func (s *ECSServiceRecommendation) SetFindingReasonCodes(v []*string) *ECSServiceRecommendation
SetFindingReasonCodes sets the FindingReasonCodes field's value.
func (*ECSServiceRecommendation) SetLastRefreshTimestamp ¶
func (s *ECSServiceRecommendation) SetLastRefreshTimestamp(v time.Time) *ECSServiceRecommendation
SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value.
func (*ECSServiceRecommendation) SetLaunchType ¶
func (s *ECSServiceRecommendation) SetLaunchType(v string) *ECSServiceRecommendation
SetLaunchType sets the LaunchType field's value.
func (*ECSServiceRecommendation) SetLookbackPeriodInDays ¶
func (s *ECSServiceRecommendation) SetLookbackPeriodInDays(v float64) *ECSServiceRecommendation
SetLookbackPeriodInDays sets the LookbackPeriodInDays field's value.
func (*ECSServiceRecommendation) SetServiceArn ¶
func (s *ECSServiceRecommendation) SetServiceArn(v string) *ECSServiceRecommendation
SetServiceArn sets the ServiceArn field's value.
func (*ECSServiceRecommendation) SetServiceRecommendationOptions ¶
func (s *ECSServiceRecommendation) SetServiceRecommendationOptions(v []*ECSServiceRecommendationOption) *ECSServiceRecommendation
SetServiceRecommendationOptions sets the ServiceRecommendationOptions field's value.
func (*ECSServiceRecommendation) SetTags ¶
func (s *ECSServiceRecommendation) SetTags(v []*Tag) *ECSServiceRecommendation
SetTags sets the Tags field's value.
func (*ECSServiceRecommendation) SetUtilizationMetrics ¶
func (s *ECSServiceRecommendation) SetUtilizationMetrics(v []*ECSServiceUtilizationMetric) *ECSServiceRecommendation
SetUtilizationMetrics sets the UtilizationMetrics field's value.
func (ECSServiceRecommendation) String ¶
func (s ECSServiceRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceRecommendationFilter ¶
type ECSServiceRecommendationFilter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification. // // Specify FindingReasonCode to return recommendations with a specific finding // reason code. // // You can filter your Amazon ECS service recommendations by tag:key and tag-key // tags. // // A tag:key is a key and value combination of a tag assigned to your Amazon // ECS service recommendations. Use the tag key in the filter name and the tag // value as the filter value. For example, to find all Amazon ECS service recommendations // that have a tag with the key of Owner and the value of TeamA, specify tag:Owner // for the filter name and TeamA for the filter value. // // A tag-key is the key of a tag assigned to your Amazon ECS service recommendations. // Use this filter to find all of your Amazon ECS service recommendations that // have a tag with a specific key. This doesn’t consider the tag value. For // example, you can find your Amazon ECS service recommendations with a tag // key value of Owner or without any tag keys assigned. Name *string `locationName:"name" type:"string" enum:"ECSServiceRecommendationFilterName"` // The value of the filter. // // The valid values for this parameter are as follows: // // * If you specify the name parameter as Finding, specify Optimized, NotOptimized, // or Unavailable. // // * If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, // CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of Amazon ECS service recommendations. Use this filter with the GetECSServiceRecommendations action.
func (ECSServiceRecommendationFilter) GoString ¶
func (s ECSServiceRecommendationFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceRecommendationFilter) SetName ¶
func (s *ECSServiceRecommendationFilter) SetName(v string) *ECSServiceRecommendationFilter
SetName sets the Name field's value.
func (*ECSServiceRecommendationFilter) SetValues ¶
func (s *ECSServiceRecommendationFilter) SetValues(v []*string) *ECSServiceRecommendationFilter
SetValues sets the Values field's value.
func (ECSServiceRecommendationFilter) String ¶
func (s ECSServiceRecommendationFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceRecommendationOption ¶
type ECSServiceRecommendationOption struct { // The CPU and memory size recommendations for the containers within the task // of your Amazon ECS service. ContainerRecommendations []*ContainerRecommendation `locationName:"containerRecommendations" type:"list"` // The CPU size of the Amazon ECS service recommendation option. Cpu *int64 `locationName:"cpu" type:"integer"` // The memory size of the Amazon ECS service recommendation option. Memory *int64 `locationName:"memory" type:"integer"` // An array of objects that describe the projected utilization metrics of the // Amazon ECS service recommendation option. ProjectedUtilizationMetrics []*ECSServiceProjectedUtilizationMetric `locationName:"projectedUtilizationMetrics" type:"list"` // Describes the savings opportunity for recommendations of a given resource // type or for the recommendation option of an individual resource. // // Savings opportunity represents the estimated monthly savings you can achieve // by implementing a given Compute Optimizer recommendation. // // Savings opportunity data requires that you opt in to Cost Explorer, as well // as activate Receive Amazon EC2 resource recommendations in the Cost Explorer // preferences page. That creates a connection between Cost Explorer and Compute // Optimizer. With this connection, Cost Explorer generates savings estimates // considering the price of existing resources, the price of recommended resources, // and historical usage data. Estimated monthly savings reflects the projected // dollar savings associated with each of the recommendations generated. For // more information, see Enabling Cost Explorer (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) // and Optimizing your cost with Rightsizing Recommendations (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) // in the Cost Management User Guide. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // contains filtered or unexported fields }
Describes the recommendation options for an Amazon ECS service.
func (ECSServiceRecommendationOption) GoString ¶
func (s ECSServiceRecommendationOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceRecommendationOption) SetContainerRecommendations ¶
func (s *ECSServiceRecommendationOption) SetContainerRecommendations(v []*ContainerRecommendation) *ECSServiceRecommendationOption
SetContainerRecommendations sets the ContainerRecommendations field's value.
func (*ECSServiceRecommendationOption) SetCpu ¶
func (s *ECSServiceRecommendationOption) SetCpu(v int64) *ECSServiceRecommendationOption
SetCpu sets the Cpu field's value.
func (*ECSServiceRecommendationOption) SetMemory ¶
func (s *ECSServiceRecommendationOption) SetMemory(v int64) *ECSServiceRecommendationOption
SetMemory sets the Memory field's value.
func (*ECSServiceRecommendationOption) SetProjectedUtilizationMetrics ¶
func (s *ECSServiceRecommendationOption) SetProjectedUtilizationMetrics(v []*ECSServiceProjectedUtilizationMetric) *ECSServiceRecommendationOption
SetProjectedUtilizationMetrics sets the ProjectedUtilizationMetrics field's value.
func (*ECSServiceRecommendationOption) SetSavingsOpportunity ¶
func (s *ECSServiceRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *ECSServiceRecommendationOption
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (ECSServiceRecommendationOption) String ¶
func (s ECSServiceRecommendationOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceRecommendedOptionProjectedMetric ¶
type ECSServiceRecommendedOptionProjectedMetric struct { // An array of objects that describe the projected metric. ProjectedMetrics []*ECSServiceProjectedMetric `locationName:"projectedMetrics" type:"list"` // The recommended CPU size for the Amazon ECS service. RecommendedCpuUnits *int64 `locationName:"recommendedCpuUnits" type:"integer"` // The recommended memory size for the Amazon ECS service. RecommendedMemorySize *int64 `locationName:"recommendedMemorySize" type:"integer"` // contains filtered or unexported fields }
Describes the projected metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current Amazon ECS service and the recommended option, compare the metric data of your service against its projected metric data.
func (ECSServiceRecommendedOptionProjectedMetric) GoString ¶
func (s ECSServiceRecommendedOptionProjectedMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceRecommendedOptionProjectedMetric) SetProjectedMetrics ¶
func (s *ECSServiceRecommendedOptionProjectedMetric) SetProjectedMetrics(v []*ECSServiceProjectedMetric) *ECSServiceRecommendedOptionProjectedMetric
SetProjectedMetrics sets the ProjectedMetrics field's value.
func (*ECSServiceRecommendedOptionProjectedMetric) SetRecommendedCpuUnits ¶
func (s *ECSServiceRecommendedOptionProjectedMetric) SetRecommendedCpuUnits(v int64) *ECSServiceRecommendedOptionProjectedMetric
SetRecommendedCpuUnits sets the RecommendedCpuUnits field's value.
func (*ECSServiceRecommendedOptionProjectedMetric) SetRecommendedMemorySize ¶
func (s *ECSServiceRecommendedOptionProjectedMetric) SetRecommendedMemorySize(v int64) *ECSServiceRecommendedOptionProjectedMetric
SetRecommendedMemorySize sets the RecommendedMemorySize field's value.
func (ECSServiceRecommendedOptionProjectedMetric) String ¶
func (s ECSServiceRecommendedOptionProjectedMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ECSServiceUtilizationMetric ¶
type ECSServiceUtilizationMetric struct { // The name of the utilization metric. // // The following utilization metrics are available: // // * Cpu — The amount of CPU capacity that's used in the service. // // * Memory — The amount of memory that's used in the service. Name *string `locationName:"name" type:"string" enum:"ECSServiceMetricName"` // The statistic of the utilization metric. // // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return // utilization metrics using only the Maximum statistic, which is the highest // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"ECSServiceMetricStatistic"` // The value of the utilization metric. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
Describes the utilization metric of an Amazon ECS service.
To determine the performance difference between your current Amazon ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
func (ECSServiceUtilizationMetric) GoString ¶
func (s ECSServiceUtilizationMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ECSServiceUtilizationMetric) SetName ¶
func (s *ECSServiceUtilizationMetric) SetName(v string) *ECSServiceUtilizationMetric
SetName sets the Name field's value.
func (*ECSServiceUtilizationMetric) SetStatistic ¶
func (s *ECSServiceUtilizationMetric) SetStatistic(v string) *ECSServiceUtilizationMetric
SetStatistic sets the Statistic field's value.
func (*ECSServiceUtilizationMetric) SetValue ¶
func (s *ECSServiceUtilizationMetric) SetValue(v float64) *ECSServiceUtilizationMetric
SetValue sets the Value field's value.
func (ECSServiceUtilizationMetric) String ¶
func (s ECSServiceUtilizationMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EffectiveRecommendationPreferences ¶
type EffectiveRecommendationPreferences struct { // Describes the CPU vendor and architecture for an instance or Auto Scaling // group recommendations. // // For example, when you specify AWS_ARM64 with: // // * A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations // request, Compute Optimizer returns recommendations that consist of Graviton2 // instance types only. // // * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns // projected utilization metrics for Graviton2 instance type recommendations // only. // // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations // request, Compute Optimizer exports recommendations that consist of Graviton2 // instance types only. CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` // Describes the activation status of the enhanced infrastructure metrics preference. // // A status of Active confirms that the preference is applied in the latest // recommendation refresh, and a status of Inactive confirms that it's not yet // applied to recommendations. // // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` // An object that describes the external metrics recommendation preference. // // If the preference is applied in the latest recommendation refresh, an object // with a valid source value appears in the response. If the preference isn't // applied to the recommendations already, then this object doesn't appear in // the response. ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` // Describes the activation status of the inferred workload types preference. // // A status of Active confirms that the preference is applied in the latest // recommendation refresh. A status of Inactive confirms that it's not yet applied // to recommendations. InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` // contains filtered or unexported fields }
Describes the effective recommendation preferences for a resource.
func (EffectiveRecommendationPreferences) GoString ¶
func (s EffectiveRecommendationPreferences) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EffectiveRecommendationPreferences) SetCpuVendorArchitectures ¶
func (s *EffectiveRecommendationPreferences) SetCpuVendorArchitectures(v []*string) *EffectiveRecommendationPreferences
SetCpuVendorArchitectures sets the CpuVendorArchitectures field's value.
func (*EffectiveRecommendationPreferences) SetEnhancedInfrastructureMetrics ¶
func (s *EffectiveRecommendationPreferences) SetEnhancedInfrastructureMetrics(v string) *EffectiveRecommendationPreferences
SetEnhancedInfrastructureMetrics sets the EnhancedInfrastructureMetrics field's value.
func (*EffectiveRecommendationPreferences) SetExternalMetricsPreference ¶
func (s *EffectiveRecommendationPreferences) SetExternalMetricsPreference(v *ExternalMetricsPreference) *EffectiveRecommendationPreferences
SetExternalMetricsPreference sets the ExternalMetricsPreference field's value.
func (*EffectiveRecommendationPreferences) SetInferredWorkloadTypes ¶
func (s *EffectiveRecommendationPreferences) SetInferredWorkloadTypes(v string) *EffectiveRecommendationPreferences
SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value.
func (EffectiveRecommendationPreferences) String ¶
func (s EffectiveRecommendationPreferences) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnrollmentFilter ¶
type EnrollmentFilter struct { // The name of the filter. // // Specify Status to return accounts with a specific enrollment status (for // example, Active). Name *string `locationName:"name" type:"string" enum:"EnrollmentFilterName"` // The value of the filter. // // The valid values are Active, Inactive, Pending, and Failed. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of account enrollment statuses. Use this filter with the GetEnrollmentStatusesForOrganization action.
func (EnrollmentFilter) GoString ¶
func (s EnrollmentFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EnrollmentFilter) SetName ¶
func (s *EnrollmentFilter) SetName(v string) *EnrollmentFilter
SetName sets the Name field's value.
func (*EnrollmentFilter) SetValues ¶
func (s *EnrollmentFilter) SetValues(v []*string) *EnrollmentFilter
SetValues sets the Values field's value.
func (EnrollmentFilter) String ¶
func (s EnrollmentFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EstimatedMonthlySavings ¶
type EstimatedMonthlySavings struct { // The currency of the estimated monthly savings. Currency *string `locationName:"currency" type:"string" enum:"Currency"` // The value of the estimated monthly savings. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
Describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.
For more information, see Estimated monthly savings and savings opportunities (https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-ec2-recommendations.html#ec2-savings-calculation) in the Compute Optimizer User Guide.
func (EstimatedMonthlySavings) GoString ¶
func (s EstimatedMonthlySavings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EstimatedMonthlySavings) SetCurrency ¶
func (s *EstimatedMonthlySavings) SetCurrency(v string) *EstimatedMonthlySavings
SetCurrency sets the Currency field's value.
func (*EstimatedMonthlySavings) SetValue ¶
func (s *EstimatedMonthlySavings) SetValue(v float64) *EstimatedMonthlySavings
SetValue sets the Value field's value.
func (EstimatedMonthlySavings) String ¶
func (s EstimatedMonthlySavings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportAutoScalingGroupRecommendationsInput ¶
type ExportAutoScalingGroupRecommendationsInput struct { // The IDs of the Amazon Web Services 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. AccountIds []*string `locationName:"accountIds" type:"list"` // 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. FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableAutoScalingGroupField"` // The format of the export file. // // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` // An array of objects to specify a filter that exports a more specific set // of Auto Scaling group recommendations. Filters []*Filter `locationName:"filters" type:"list"` // 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 Amazon Web Services Organizations // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) // in the 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. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // An object to specify the preferences for the Auto Scaling group recommendations // to export. RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` // 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 permissions 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. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportAutoScalingGroupRecommendationsInput) GoString ¶
func (s ExportAutoScalingGroupRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportAutoScalingGroupRecommendationsInput) SetAccountIds ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetAccountIds(v []*string) *ExportAutoScalingGroupRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*ExportAutoScalingGroupRecommendationsInput) SetFieldsToExport ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetFieldsToExport(v []*string) *ExportAutoScalingGroupRecommendationsInput
SetFieldsToExport sets the FieldsToExport field's value.
func (*ExportAutoScalingGroupRecommendationsInput) SetFileFormat ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetFileFormat(v string) *ExportAutoScalingGroupRecommendationsInput
SetFileFormat sets the FileFormat field's value.
func (*ExportAutoScalingGroupRecommendationsInput) SetFilters ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetFilters(v []*Filter) *ExportAutoScalingGroupRecommendationsInput
SetFilters sets the Filters field's value.
func (*ExportAutoScalingGroupRecommendationsInput) SetIncludeMemberAccounts ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportAutoScalingGroupRecommendationsInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*ExportAutoScalingGroupRecommendationsInput) SetRecommendationPreferences ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportAutoScalingGroupRecommendationsInput
SetRecommendationPreferences sets the RecommendationPreferences field's value.
func (*ExportAutoScalingGroupRecommendationsInput) SetS3DestinationConfig ¶
func (s *ExportAutoScalingGroupRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportAutoScalingGroupRecommendationsInput
SetS3DestinationConfig sets the S3DestinationConfig field's value.
func (ExportAutoScalingGroupRecommendationsInput) String ¶
func (s ExportAutoScalingGroupRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportAutoScalingGroupRecommendationsInput) Validate ¶
func (s *ExportAutoScalingGroupRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportAutoScalingGroupRecommendationsOutput ¶
type ExportAutoScalingGroupRecommendationsOutput struct { // The identification number of the export job. // // Use the DescribeRecommendationExportJobs action, and specify the job ID to // view the status of an export job. JobId *string `locationName:"jobId" type:"string"` // An object that describes the destination Amazon S3 bucket of a recommendations // export file. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
func (ExportAutoScalingGroupRecommendationsOutput) GoString ¶
func (s ExportAutoScalingGroupRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportAutoScalingGroupRecommendationsOutput) SetJobId ¶
func (s *ExportAutoScalingGroupRecommendationsOutput) SetJobId(v string) *ExportAutoScalingGroupRecommendationsOutput
SetJobId sets the JobId field's value.
func (*ExportAutoScalingGroupRecommendationsOutput) SetS3Destination ¶
func (s *ExportAutoScalingGroupRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportAutoScalingGroupRecommendationsOutput
SetS3Destination sets the S3Destination field's value.
func (ExportAutoScalingGroupRecommendationsOutput) String ¶
func (s ExportAutoScalingGroupRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportDestination ¶
type ExportDestination struct { // An object that describes the destination Amazon Simple Storage Service (Amazon // S3) bucket name and object keys of a recommendations export file, and its // associated metadata file. S3 *S3Destination `locationName:"s3" type:"structure"` // contains filtered or unexported fields }
Describes the destination of the recommendations export and metadata files.
func (ExportDestination) GoString ¶
func (s ExportDestination) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportDestination) SetS3 ¶
func (s *ExportDestination) SetS3(v *S3Destination) *ExportDestination
SetS3 sets the S3 field's value.
func (ExportDestination) String ¶
func (s ExportDestination) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportEBSVolumeRecommendationsInput ¶
type ExportEBSVolumeRecommendationsInput struct { // The IDs of the Amazon Web Services 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. AccountIds []*string `locationName:"accountIds" type:"list"` // 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. FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableVolumeField"` // The format of the export file. // // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` // An array of objects to specify a filter that exports a more specific set // of Amazon EBS volume recommendations. Filters []*EBSFilter `locationName:"filters" type:"list"` // 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 Amazon Web Services Organizations // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) // in the 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. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and key prefix for a recommendations 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. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportEBSVolumeRecommendationsInput) GoString ¶
func (s ExportEBSVolumeRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportEBSVolumeRecommendationsInput) SetAccountIds ¶
func (s *ExportEBSVolumeRecommendationsInput) SetAccountIds(v []*string) *ExportEBSVolumeRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*ExportEBSVolumeRecommendationsInput) SetFieldsToExport ¶
func (s *ExportEBSVolumeRecommendationsInput) SetFieldsToExport(v []*string) *ExportEBSVolumeRecommendationsInput
SetFieldsToExport sets the FieldsToExport field's value.
func (*ExportEBSVolumeRecommendationsInput) SetFileFormat ¶
func (s *ExportEBSVolumeRecommendationsInput) SetFileFormat(v string) *ExportEBSVolumeRecommendationsInput
SetFileFormat sets the FileFormat field's value.
func (*ExportEBSVolumeRecommendationsInput) SetFilters ¶
func (s *ExportEBSVolumeRecommendationsInput) SetFilters(v []*EBSFilter) *ExportEBSVolumeRecommendationsInput
SetFilters sets the Filters field's value.
func (*ExportEBSVolumeRecommendationsInput) SetIncludeMemberAccounts ¶
func (s *ExportEBSVolumeRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportEBSVolumeRecommendationsInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*ExportEBSVolumeRecommendationsInput) SetS3DestinationConfig ¶
func (s *ExportEBSVolumeRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportEBSVolumeRecommendationsInput
SetS3DestinationConfig sets the S3DestinationConfig field's value.
func (ExportEBSVolumeRecommendationsInput) String ¶
func (s ExportEBSVolumeRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportEBSVolumeRecommendationsInput) Validate ¶
func (s *ExportEBSVolumeRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportEBSVolumeRecommendationsOutput ¶
type ExportEBSVolumeRecommendationsOutput struct { // The identification number of the export job. // // Use the DescribeRecommendationExportJobs action, and specify the job ID to // view the status of an export job. JobId *string `locationName:"jobId" type:"string"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and object keys of a recommendations export file, and its associated // metadata file. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
func (ExportEBSVolumeRecommendationsOutput) GoString ¶
func (s ExportEBSVolumeRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportEBSVolumeRecommendationsOutput) SetJobId ¶
func (s *ExportEBSVolumeRecommendationsOutput) SetJobId(v string) *ExportEBSVolumeRecommendationsOutput
SetJobId sets the JobId field's value.
func (*ExportEBSVolumeRecommendationsOutput) SetS3Destination ¶
func (s *ExportEBSVolumeRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportEBSVolumeRecommendationsOutput
SetS3Destination sets the S3Destination field's value.
func (ExportEBSVolumeRecommendationsOutput) String ¶
func (s ExportEBSVolumeRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportEC2InstanceRecommendationsInput ¶
type ExportEC2InstanceRecommendationsInput struct { // The IDs of the Amazon Web Services accounts for which to export instance // 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. AccountIds []*string `locationName:"accountIds" type:"list"` // 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. FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableInstanceField"` // The format of the export file. // // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` // An array of objects to specify a filter that exports a more specific set // of instance recommendations. Filters []*Filter `locationName:"filters" type:"list"` // 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 Amazon Web Services Organizations // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) // in the Compute Optimizer User Guide. // // Recommendations for member accounts of the organization are not included // in the export file if this parameter is omitted. // // Recommendations for member accounts are not included in the export if this // parameter, or the account IDs parameter, is omitted. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // An object to specify the preferences for the Amazon EC2 instance recommendations // to export. RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` // 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 permissions 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. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportEC2InstanceRecommendationsInput) GoString ¶
func (s ExportEC2InstanceRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportEC2InstanceRecommendationsInput) SetAccountIds ¶
func (s *ExportEC2InstanceRecommendationsInput) SetAccountIds(v []*string) *ExportEC2InstanceRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*ExportEC2InstanceRecommendationsInput) SetFieldsToExport ¶
func (s *ExportEC2InstanceRecommendationsInput) SetFieldsToExport(v []*string) *ExportEC2InstanceRecommendationsInput
SetFieldsToExport sets the FieldsToExport field's value.
func (*ExportEC2InstanceRecommendationsInput) SetFileFormat ¶
func (s *ExportEC2InstanceRecommendationsInput) SetFileFormat(v string) *ExportEC2InstanceRecommendationsInput
SetFileFormat sets the FileFormat field's value.
func (*ExportEC2InstanceRecommendationsInput) SetFilters ¶
func (s *ExportEC2InstanceRecommendationsInput) SetFilters(v []*Filter) *ExportEC2InstanceRecommendationsInput
SetFilters sets the Filters field's value.
func (*ExportEC2InstanceRecommendationsInput) SetIncludeMemberAccounts ¶
func (s *ExportEC2InstanceRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportEC2InstanceRecommendationsInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*ExportEC2InstanceRecommendationsInput) SetRecommendationPreferences ¶
func (s *ExportEC2InstanceRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportEC2InstanceRecommendationsInput
SetRecommendationPreferences sets the RecommendationPreferences field's value.
func (*ExportEC2InstanceRecommendationsInput) SetS3DestinationConfig ¶
func (s *ExportEC2InstanceRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportEC2InstanceRecommendationsInput
SetS3DestinationConfig sets the S3DestinationConfig field's value.
func (ExportEC2InstanceRecommendationsInput) String ¶
func (s ExportEC2InstanceRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportEC2InstanceRecommendationsInput) Validate ¶
func (s *ExportEC2InstanceRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportEC2InstanceRecommendationsOutput ¶
type ExportEC2InstanceRecommendationsOutput struct { // The identification number of the export job. // // Use the DescribeRecommendationExportJobs action, and specify the job ID to // view the status of an export job. JobId *string `locationName:"jobId" type:"string"` // An object that describes the destination Amazon S3 bucket of a recommendations // export file. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
func (ExportEC2InstanceRecommendationsOutput) GoString ¶
func (s ExportEC2InstanceRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportEC2InstanceRecommendationsOutput) SetJobId ¶
func (s *ExportEC2InstanceRecommendationsOutput) SetJobId(v string) *ExportEC2InstanceRecommendationsOutput
SetJobId sets the JobId field's value.
func (*ExportEC2InstanceRecommendationsOutput) SetS3Destination ¶
func (s *ExportEC2InstanceRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportEC2InstanceRecommendationsOutput
SetS3Destination sets the S3Destination field's value.
func (ExportEC2InstanceRecommendationsOutput) String ¶
func (s ExportEC2InstanceRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportECSServiceRecommendationsInput ¶
type ExportECSServiceRecommendationsInput struct { // The Amazon Web Services account IDs for the export Amazon ECS service recommendations. // // If your account is the management account or the delegated administrator // of an organization, use this parameter to specify the member account you // want to export recommendations to. // // This parameter can't be specified together with the include member accounts // parameter. The parameters are mutually exclusive. // // If this parameter or the include member accounts parameter is omitted, the // recommendations for member accounts aren't included in the export. // // You can specify multiple account IDs per request. AccountIds []*string `locationName:"accountIds" type:"list"` // 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. FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableECSServiceField"` // The format of the export file. // // The CSV file is the only export file format currently supported. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` // An array of objects to specify a filter that exports a more specific set // of Amazon ECS service recommendations. Filters []*ECSServiceRecommendationFilter `locationName:"filters" type:"list"` // If your account is the management account or the delegated administrator // of an organization, this parameter indicates whether to include recommendations // for resources in all member accounts of the 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 Amazon Web Services Organizations // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) // in the Compute Optimizer User Guide. // // If this parameter is omitted, recommendations for member accounts of the // organization aren't included in the export file. // // If this parameter or the account ID parameter is omitted, recommendations // for member accounts aren't included in the export. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and key prefix for a recommendations 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. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportECSServiceRecommendationsInput) GoString ¶
func (s ExportECSServiceRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportECSServiceRecommendationsInput) SetAccountIds ¶
func (s *ExportECSServiceRecommendationsInput) SetAccountIds(v []*string) *ExportECSServiceRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*ExportECSServiceRecommendationsInput) SetFieldsToExport ¶
func (s *ExportECSServiceRecommendationsInput) SetFieldsToExport(v []*string) *ExportECSServiceRecommendationsInput
SetFieldsToExport sets the FieldsToExport field's value.
func (*ExportECSServiceRecommendationsInput) SetFileFormat ¶
func (s *ExportECSServiceRecommendationsInput) SetFileFormat(v string) *ExportECSServiceRecommendationsInput
SetFileFormat sets the FileFormat field's value.
func (*ExportECSServiceRecommendationsInput) SetFilters ¶
func (s *ExportECSServiceRecommendationsInput) SetFilters(v []*ECSServiceRecommendationFilter) *ExportECSServiceRecommendationsInput
SetFilters sets the Filters field's value.
func (*ExportECSServiceRecommendationsInput) SetIncludeMemberAccounts ¶
func (s *ExportECSServiceRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportECSServiceRecommendationsInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*ExportECSServiceRecommendationsInput) SetS3DestinationConfig ¶
func (s *ExportECSServiceRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportECSServiceRecommendationsInput
SetS3DestinationConfig sets the S3DestinationConfig field's value.
func (ExportECSServiceRecommendationsInput) String ¶
func (s ExportECSServiceRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportECSServiceRecommendationsInput) Validate ¶
func (s *ExportECSServiceRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportECSServiceRecommendationsOutput ¶
type ExportECSServiceRecommendationsOutput struct { // The identification number of the export job. // // To view the status of an export job, use the DescribeRecommendationExportJobs // action and specify the job ID. JobId *string `locationName:"jobId" type:"string"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and object keys of a recommendations export file, and its associated // metadata file. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
func (ExportECSServiceRecommendationsOutput) GoString ¶
func (s ExportECSServiceRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportECSServiceRecommendationsOutput) SetJobId ¶
func (s *ExportECSServiceRecommendationsOutput) SetJobId(v string) *ExportECSServiceRecommendationsOutput
SetJobId sets the JobId field's value.
func (*ExportECSServiceRecommendationsOutput) SetS3Destination ¶
func (s *ExportECSServiceRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportECSServiceRecommendationsOutput
SetS3Destination sets the S3Destination field's value.
func (ExportECSServiceRecommendationsOutput) String ¶
func (s ExportECSServiceRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportLambdaFunctionRecommendationsInput ¶
type ExportLambdaFunctionRecommendationsInput struct { // The IDs of the Amazon Web Services accounts for which to export Lambda function // 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. AccountIds []*string `locationName:"accountIds" type:"list"` // 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. FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableLambdaFunctionField"` // The format of the export file. // // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` // An array of objects to specify a filter that exports a more specific set // of Lambda function recommendations. Filters []*LambdaFunctionRecommendationFilter `locationName:"filters" type:"list"` // 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 Amazon Web Services Organizations // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) // in the 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. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and key prefix for a recommendations 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. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportLambdaFunctionRecommendationsInput) GoString ¶
func (s ExportLambdaFunctionRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportLambdaFunctionRecommendationsInput) SetAccountIds ¶
func (s *ExportLambdaFunctionRecommendationsInput) SetAccountIds(v []*string) *ExportLambdaFunctionRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*ExportLambdaFunctionRecommendationsInput) SetFieldsToExport ¶
func (s *ExportLambdaFunctionRecommendationsInput) SetFieldsToExport(v []*string) *ExportLambdaFunctionRecommendationsInput
SetFieldsToExport sets the FieldsToExport field's value.
func (*ExportLambdaFunctionRecommendationsInput) SetFileFormat ¶
func (s *ExportLambdaFunctionRecommendationsInput) SetFileFormat(v string) *ExportLambdaFunctionRecommendationsInput
SetFileFormat sets the FileFormat field's value.
func (*ExportLambdaFunctionRecommendationsInput) SetFilters ¶
func (s *ExportLambdaFunctionRecommendationsInput) SetFilters(v []*LambdaFunctionRecommendationFilter) *ExportLambdaFunctionRecommendationsInput
SetFilters sets the Filters field's value.
func (*ExportLambdaFunctionRecommendationsInput) SetIncludeMemberAccounts ¶
func (s *ExportLambdaFunctionRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportLambdaFunctionRecommendationsInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*ExportLambdaFunctionRecommendationsInput) SetS3DestinationConfig ¶
func (s *ExportLambdaFunctionRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportLambdaFunctionRecommendationsInput
SetS3DestinationConfig sets the S3DestinationConfig field's value.
func (ExportLambdaFunctionRecommendationsInput) String ¶
func (s ExportLambdaFunctionRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportLambdaFunctionRecommendationsInput) Validate ¶
func (s *ExportLambdaFunctionRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportLambdaFunctionRecommendationsOutput ¶
type ExportLambdaFunctionRecommendationsOutput struct { // The identification number of the export job. // // Use the DescribeRecommendationExportJobs action, and specify the job ID to // view the status of an export job. JobId *string `locationName:"jobId" type:"string"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and object keys of a recommendations export file, and its associated // metadata file. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
func (ExportLambdaFunctionRecommendationsOutput) GoString ¶
func (s ExportLambdaFunctionRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportLambdaFunctionRecommendationsOutput) SetJobId ¶
func (s *ExportLambdaFunctionRecommendationsOutput) SetJobId(v string) *ExportLambdaFunctionRecommendationsOutput
SetJobId sets the JobId field's value.
func (*ExportLambdaFunctionRecommendationsOutput) SetS3Destination ¶
func (s *ExportLambdaFunctionRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportLambdaFunctionRecommendationsOutput
SetS3Destination sets the S3Destination field's value.
func (ExportLambdaFunctionRecommendationsOutput) String ¶
func (s ExportLambdaFunctionRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportLicenseRecommendationsInput ¶
type ExportLicenseRecommendationsInput struct { // The IDs of the Amazon Web Services accounts for which to export license 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 can't be specified together with the include member accounts // parameter. The parameters are mutually exclusive. // // If this parameter is omitted, recommendations for member accounts aren't // included in the export. // // You can specify multiple account IDs per request. AccountIds []*string `locationName:"accountIds" type:"list"` // 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. FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableLicenseField"` // The format of the export file. // // A CSV file is the only export format currently supported. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` // An array of objects to specify a filter that exports a more specific set // of license recommendations. Filters []*LicenseRecommendationFilter `locationName:"filters" type:"list"` // 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 Amazon Web Services Organizations // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) // in the Compute Optimizer User Guide. // // If this parameter is omitted, recommendations for member accounts of the // organization aren't included in the export file . // // This parameter cannot be specified together with the account IDs parameter. // The parameters are mutually exclusive. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and key prefix for a recommendations 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. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (ExportLicenseRecommendationsInput) GoString ¶
func (s ExportLicenseRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportLicenseRecommendationsInput) SetAccountIds ¶
func (s *ExportLicenseRecommendationsInput) SetAccountIds(v []*string) *ExportLicenseRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*ExportLicenseRecommendationsInput) SetFieldsToExport ¶
func (s *ExportLicenseRecommendationsInput) SetFieldsToExport(v []*string) *ExportLicenseRecommendationsInput
SetFieldsToExport sets the FieldsToExport field's value.
func (*ExportLicenseRecommendationsInput) SetFileFormat ¶
func (s *ExportLicenseRecommendationsInput) SetFileFormat(v string) *ExportLicenseRecommendationsInput
SetFileFormat sets the FileFormat field's value.
func (*ExportLicenseRecommendationsInput) SetFilters ¶
func (s *ExportLicenseRecommendationsInput) SetFilters(v []*LicenseRecommendationFilter) *ExportLicenseRecommendationsInput
SetFilters sets the Filters field's value.
func (*ExportLicenseRecommendationsInput) SetIncludeMemberAccounts ¶
func (s *ExportLicenseRecommendationsInput) SetIncludeMemberAccounts(v bool) *ExportLicenseRecommendationsInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*ExportLicenseRecommendationsInput) SetS3DestinationConfig ¶
func (s *ExportLicenseRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportLicenseRecommendationsInput
SetS3DestinationConfig sets the S3DestinationConfig field's value.
func (ExportLicenseRecommendationsInput) String ¶
func (s ExportLicenseRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportLicenseRecommendationsInput) Validate ¶
func (s *ExportLicenseRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportLicenseRecommendationsOutput ¶
type ExportLicenseRecommendationsOutput struct { // The identification number of the export job. // // To view the status of an export job, use the DescribeRecommendationExportJobs // action and specify the job ID. JobId *string `locationName:"jobId" type:"string"` // Describes the destination Amazon Simple Storage Service (Amazon S3) bucket // name and object keys of a recommendations export file, and its associated // metadata file. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
func (ExportLicenseRecommendationsOutput) GoString ¶
func (s ExportLicenseRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportLicenseRecommendationsOutput) SetJobId ¶
func (s *ExportLicenseRecommendationsOutput) SetJobId(v string) *ExportLicenseRecommendationsOutput
SetJobId sets the JobId field's value.
func (*ExportLicenseRecommendationsOutput) SetS3Destination ¶
func (s *ExportLicenseRecommendationsOutput) SetS3Destination(v *S3Destination) *ExportLicenseRecommendationsOutput
SetS3Destination sets the S3Destination field's value.
func (ExportLicenseRecommendationsOutput) String ¶
func (s ExportLicenseRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExternalMetricStatus ¶
type ExternalMetricStatus struct { // The status code for Compute Optimizer's integration with an external metrics // provider. StatusCode *string `locationName:"statusCode" type:"string" enum:"ExternalMetricStatusCode"` // The reason for Compute Optimizer's integration status with your external // metric provider. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
Describes Compute Optimizer's integration status with your chosen external metric provider. For example, Datadog.
func (ExternalMetricStatus) GoString ¶
func (s ExternalMetricStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExternalMetricStatus) SetStatusCode ¶
func (s *ExternalMetricStatus) SetStatusCode(v string) *ExternalMetricStatus
SetStatusCode sets the StatusCode field's value.
func (*ExternalMetricStatus) SetStatusReason ¶
func (s *ExternalMetricStatus) SetStatusReason(v string) *ExternalMetricStatus
SetStatusReason sets the StatusReason field's value.
func (ExternalMetricStatus) String ¶
func (s ExternalMetricStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExternalMetricsPreference ¶
type ExternalMetricsPreference struct { // Contains the source options for external metrics preferences. Source *string `locationName:"source" type:"string" enum:"ExternalMetricsSource"` // contains filtered or unexported fields }
Describes the external metrics preferences for EC2 rightsizing recommendations.
func (ExternalMetricsPreference) GoString ¶
func (s ExternalMetricsPreference) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExternalMetricsPreference) SetSource ¶
func (s *ExternalMetricsPreference) SetSource(v string) *ExternalMetricsPreference
SetSource sets the Source field's value.
func (ExternalMetricsPreference) String ¶
func (s ExternalMetricsPreference) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Filter ¶
type Filter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification. // For example, Underprovisioned. // // Specify RecommendationSourceType to return recommendations of a specific // resource type. For example, Ec2Instance. // // Specify FindingReasonCodes to return recommendations with a specific finding // reason code. For example, CPUUnderprovisioned. // // Specify InferredWorkloadTypes to return recommendations of a specific inferred // workload. For example, Redis. // // You can filter your EC2 instance recommendations by tag:key and tag-key tags. // // A tag:key is a key and value combination of a tag assigned to your recommendations. // Use the tag key in the filter name and the tag value as the filter value. // For example, to find all recommendations that have a tag with the key of // Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA // for the filter value. // // A tag-key is the key of a tag assigned to your recommendations. Use this // filter to find all of your recommendations that have a tag with a specific // key. This doesn’t consider the tag value. For example, you can find your // recommendations with a tag key value of Owner or without any tag keys assigned. Name *string `locationName:"name" type:"string" enum:"FilterName"` // The value of the filter. // // The valid values for this parameter are as follows, depending on what you // specify for the name parameter and the resource type that you wish to filter // results for: // // * Specify Optimized or NotOptimized if you specify the name parameter // as Finding and you want to filter results for Auto Scaling groups. // // * Specify Underprovisioned, Overprovisioned, or Optimized if you specify // the name parameter as Finding and you want to filter results for EC2 instances. // // * Specify Ec2Instance or AutoScalingGroup if you specify the name parameter // as RecommendationSourceType. // // * Specify one of the following options if you specify the name parameter // as FindingReasonCodes: CPUOverprovisioned — The instance’s CPU configuration // can be sized down while still meeting the performance requirements of // your workload. CPUUnderprovisioned — The instance’s CPU configuration // doesn't meet the performance requirements of your workload and there is // an alternative instance type that provides better CPU performance. MemoryOverprovisioned // — The instance’s memory configuration can be sized down while still // meeting the performance requirements of your workload. MemoryUnderprovisioned // — The instance’s memory configuration doesn't meet the performance // requirements of your workload and there is an alternative instance type // that provides better memory performance. EBSThroughputOverprovisioned // — The instance’s EBS throughput configuration can be sized down while // still meeting the performance requirements of your workload. EBSThroughputUnderprovisioned // — The instance’s EBS throughput configuration doesn't meet the performance // requirements of your workload and there is an alternative instance type // that provides better EBS throughput performance. EBSIOPSOverprovisioned // — The instance’s EBS IOPS configuration can be sized down while still // meeting the performance requirements of your workload. EBSIOPSUnderprovisioned // — The instance’s EBS IOPS configuration doesn't meet the performance // requirements of your workload and there is an alternative instance type // that provides better EBS IOPS performance. NetworkBandwidthOverprovisioned // — The instance’s network bandwidth configuration can be sized down // while still meeting the performance requirements of your workload. NetworkBandwidthUnderprovisioned // — The instance’s network bandwidth configuration doesn't meet the // performance requirements of your workload and there is an alternative // instance type that provides better network bandwidth performance. This // finding reason happens when the NetworkIn or NetworkOut performance of // an instance is impacted. NetworkPPSOverprovisioned — The instance’s // network PPS (packets per second) configuration can be sized down while // still meeting the performance requirements of your workload. NetworkPPSUnderprovisioned // — The instance’s network PPS (packets per second) configuration doesn't // meet the performance requirements of your workload and there is an alternative // instance type that provides better network PPS performance. DiskIOPSOverprovisioned // — The instance’s disk IOPS configuration can be sized down while still // meeting the performance requirements of your workload. DiskIOPSUnderprovisioned // — The instance’s disk IOPS configuration doesn't meet the performance // requirements of your workload and there is an alternative instance type // that provides better disk IOPS performance. DiskThroughputOverprovisioned // — The instance’s disk throughput configuration can be sized down while // still meeting the performance requirements of your workload. DiskThroughputUnderprovisioned // — The instance’s disk throughput configuration doesn't meet the performance // requirements of your workload and there is an alternative instance type // that provides better disk throughput performance. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of recommendations. Use this filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and JobFilter with the DescribeRecommendationExportJobs action.
func (Filter) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAutoScalingGroupRecommendationsInput ¶
type GetAutoScalingGroupRecommendationsInput struct { // The ID of the Amazon Web Services account for which to return 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 return Auto Scaling group // recommendations. // // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` // The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return // recommendations. AutoScalingGroupArns []*string `locationName:"autoScalingGroupArns" type:"list"` // An array of objects to specify a filter that returns a more specific list // of Auto Scaling group recommendations. Filters []*Filter `locationName:"filters" type:"list"` // The maximum number of Auto Scaling group recommendations to return with a // single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of Auto Scaling group recommendations. NextToken *string `locationName:"nextToken" type:"string"` // An object to specify the preferences for the Auto Scaling group recommendations // to return in the response. RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` // contains filtered or unexported fields }
func (GetAutoScalingGroupRecommendationsInput) GoString ¶
func (s GetAutoScalingGroupRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetAutoScalingGroupRecommendationsInput) SetAccountIds ¶
func (s *GetAutoScalingGroupRecommendationsInput) SetAccountIds(v []*string) *GetAutoScalingGroupRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*GetAutoScalingGroupRecommendationsInput) SetAutoScalingGroupArns ¶
func (s *GetAutoScalingGroupRecommendationsInput) SetAutoScalingGroupArns(v []*string) *GetAutoScalingGroupRecommendationsInput
SetAutoScalingGroupArns sets the AutoScalingGroupArns field's value.
func (*GetAutoScalingGroupRecommendationsInput) SetFilters ¶
func (s *GetAutoScalingGroupRecommendationsInput) SetFilters(v []*Filter) *GetAutoScalingGroupRecommendationsInput
SetFilters sets the Filters field's value.
func (*GetAutoScalingGroupRecommendationsInput) SetMaxResults ¶
func (s *GetAutoScalingGroupRecommendationsInput) SetMaxResults(v int64) *GetAutoScalingGroupRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetAutoScalingGroupRecommendationsInput) SetNextToken ¶
func (s *GetAutoScalingGroupRecommendationsInput) SetNextToken(v string) *GetAutoScalingGroupRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*GetAutoScalingGroupRecommendationsInput) SetRecommendationPreferences ¶
func (s *GetAutoScalingGroupRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetAutoScalingGroupRecommendationsInput
SetRecommendationPreferences sets the RecommendationPreferences field's value.
func (GetAutoScalingGroupRecommendationsInput) String ¶
func (s GetAutoScalingGroupRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAutoScalingGroupRecommendationsOutput ¶
type GetAutoScalingGroupRecommendationsOutput struct { // An array of objects that describe Auto Scaling group recommendations. AutoScalingGroupRecommendations []*AutoScalingGroupRecommendation `locationName:"autoScalingGroupRecommendations" type:"list"` // An array of objects that describe errors of the request. // // For example, an error is returned if you request recommendations for an unsupported // Auto Scaling group. Errors []*GetRecommendationError `locationName:"errors" type:"list"` // The token to use to advance to the next page of Auto Scaling group recommendations. // // This value is null when there are no more pages of Auto Scaling group recommendations // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetAutoScalingGroupRecommendationsOutput) GoString ¶
func (s GetAutoScalingGroupRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetAutoScalingGroupRecommendationsOutput) SetAutoScalingGroupRecommendations ¶
func (s *GetAutoScalingGroupRecommendationsOutput) SetAutoScalingGroupRecommendations(v []*AutoScalingGroupRecommendation) *GetAutoScalingGroupRecommendationsOutput
SetAutoScalingGroupRecommendations sets the AutoScalingGroupRecommendations field's value.
func (*GetAutoScalingGroupRecommendationsOutput) SetErrors ¶
func (s *GetAutoScalingGroupRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetAutoScalingGroupRecommendationsOutput
SetErrors sets the Errors field's value.
func (*GetAutoScalingGroupRecommendationsOutput) SetNextToken ¶
func (s *GetAutoScalingGroupRecommendationsOutput) SetNextToken(v string) *GetAutoScalingGroupRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (GetAutoScalingGroupRecommendationsOutput) String ¶
func (s GetAutoScalingGroupRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEBSVolumeRecommendationsInput ¶
type GetEBSVolumeRecommendationsInput struct { // The ID of the Amazon Web Services account for which to return 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 return volume recommendations. // // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` // An array of objects to specify a filter that returns a more specific list // of volume recommendations. Filters []*EBSFilter `locationName:"filters" type:"list"` // The maximum number of volume recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of volume recommendations. NextToken *string `locationName:"nextToken" type:"string"` // The Amazon Resource Name (ARN) of the volumes for which to return recommendations. VolumeArns []*string `locationName:"volumeArns" type:"list"` // contains filtered or unexported fields }
func (GetEBSVolumeRecommendationsInput) GoString ¶
func (s GetEBSVolumeRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEBSVolumeRecommendationsInput) SetAccountIds ¶
func (s *GetEBSVolumeRecommendationsInput) SetAccountIds(v []*string) *GetEBSVolumeRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*GetEBSVolumeRecommendationsInput) SetFilters ¶
func (s *GetEBSVolumeRecommendationsInput) SetFilters(v []*EBSFilter) *GetEBSVolumeRecommendationsInput
SetFilters sets the Filters field's value.
func (*GetEBSVolumeRecommendationsInput) SetMaxResults ¶
func (s *GetEBSVolumeRecommendationsInput) SetMaxResults(v int64) *GetEBSVolumeRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetEBSVolumeRecommendationsInput) SetNextToken ¶
func (s *GetEBSVolumeRecommendationsInput) SetNextToken(v string) *GetEBSVolumeRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*GetEBSVolumeRecommendationsInput) SetVolumeArns ¶
func (s *GetEBSVolumeRecommendationsInput) SetVolumeArns(v []*string) *GetEBSVolumeRecommendationsInput
SetVolumeArns sets the VolumeArns field's value.
func (GetEBSVolumeRecommendationsInput) String ¶
func (s GetEBSVolumeRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEBSVolumeRecommendationsOutput ¶
type GetEBSVolumeRecommendationsOutput struct { // An array of objects that describe errors of the request. // // For example, an error is returned if you request recommendations for an unsupported // volume. Errors []*GetRecommendationError `locationName:"errors" type:"list"` // The token to use to advance to the next page of volume recommendations. // // This value is null when there are no more pages of volume recommendations // to return. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that describe volume recommendations. VolumeRecommendations []*VolumeRecommendation `locationName:"volumeRecommendations" type:"list"` // contains filtered or unexported fields }
func (GetEBSVolumeRecommendationsOutput) GoString ¶
func (s GetEBSVolumeRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEBSVolumeRecommendationsOutput) SetErrors ¶
func (s *GetEBSVolumeRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetEBSVolumeRecommendationsOutput
SetErrors sets the Errors field's value.
func (*GetEBSVolumeRecommendationsOutput) SetNextToken ¶
func (s *GetEBSVolumeRecommendationsOutput) SetNextToken(v string) *GetEBSVolumeRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (*GetEBSVolumeRecommendationsOutput) SetVolumeRecommendations ¶
func (s *GetEBSVolumeRecommendationsOutput) SetVolumeRecommendations(v []*VolumeRecommendation) *GetEBSVolumeRecommendationsOutput
SetVolumeRecommendations sets the VolumeRecommendations field's value.
func (GetEBSVolumeRecommendationsOutput) String ¶
func (s GetEBSVolumeRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEC2InstanceRecommendationsInput ¶
type GetEC2InstanceRecommendationsInput struct { // The ID of the Amazon Web Services account for which to return instance recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return instance recommendations. // // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` // An array of objects to specify a filter that returns a more specific list // of instance recommendations. Filters []*Filter `locationName:"filters" type:"list"` // The Amazon Resource Name (ARN) of the instances for which to return recommendations. InstanceArns []*string `locationName:"instanceArns" type:"list"` // The maximum number of instance recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of instance recommendations. NextToken *string `locationName:"nextToken" type:"string"` // An object to specify the preferences for the Amazon EC2 instance recommendations // to return in the response. RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` // contains filtered or unexported fields }
func (GetEC2InstanceRecommendationsInput) GoString ¶
func (s GetEC2InstanceRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEC2InstanceRecommendationsInput) SetAccountIds ¶
func (s *GetEC2InstanceRecommendationsInput) SetAccountIds(v []*string) *GetEC2InstanceRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*GetEC2InstanceRecommendationsInput) SetFilters ¶
func (s *GetEC2InstanceRecommendationsInput) SetFilters(v []*Filter) *GetEC2InstanceRecommendationsInput
SetFilters sets the Filters field's value.
func (*GetEC2InstanceRecommendationsInput) SetInstanceArns ¶
func (s *GetEC2InstanceRecommendationsInput) SetInstanceArns(v []*string) *GetEC2InstanceRecommendationsInput
SetInstanceArns sets the InstanceArns field's value.
func (*GetEC2InstanceRecommendationsInput) SetMaxResults ¶
func (s *GetEC2InstanceRecommendationsInput) SetMaxResults(v int64) *GetEC2InstanceRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetEC2InstanceRecommendationsInput) SetNextToken ¶
func (s *GetEC2InstanceRecommendationsInput) SetNextToken(v string) *GetEC2InstanceRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*GetEC2InstanceRecommendationsInput) SetRecommendationPreferences ¶
func (s *GetEC2InstanceRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetEC2InstanceRecommendationsInput
SetRecommendationPreferences sets the RecommendationPreferences field's value.
func (GetEC2InstanceRecommendationsInput) String ¶
func (s GetEC2InstanceRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEC2InstanceRecommendationsOutput ¶
type GetEC2InstanceRecommendationsOutput struct { // An array of objects that describe errors of the request. // // For example, an error is returned if you request recommendations for an instance // of an unsupported instance family. Errors []*GetRecommendationError `locationName:"errors" type:"list"` // An array of objects that describe instance recommendations. InstanceRecommendations []*InstanceRecommendation `locationName:"instanceRecommendations" type:"list"` // The token to use to advance to the next page of instance recommendations. // // This value is null when there are no more pages of instance recommendations // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetEC2InstanceRecommendationsOutput) GoString ¶
func (s GetEC2InstanceRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEC2InstanceRecommendationsOutput) SetErrors ¶
func (s *GetEC2InstanceRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetEC2InstanceRecommendationsOutput
SetErrors sets the Errors field's value.
func (*GetEC2InstanceRecommendationsOutput) SetInstanceRecommendations ¶
func (s *GetEC2InstanceRecommendationsOutput) SetInstanceRecommendations(v []*InstanceRecommendation) *GetEC2InstanceRecommendationsOutput
SetInstanceRecommendations sets the InstanceRecommendations field's value.
func (*GetEC2InstanceRecommendationsOutput) SetNextToken ¶
func (s *GetEC2InstanceRecommendationsOutput) SetNextToken(v string) *GetEC2InstanceRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (GetEC2InstanceRecommendationsOutput) String ¶
func (s GetEC2InstanceRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEC2RecommendationProjectedMetricsInput ¶
type GetEC2RecommendationProjectedMetricsInput struct { // The timestamp of the last projected metrics data point to return. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"` // The Amazon Resource Name (ARN) of the instances for which to return recommendation // projected metrics. // // InstanceArn is a required field InstanceArn *string `locationName:"instanceArn" type:"string" required:"true"` // The granularity, in seconds, of the projected metrics data points. // // Period is a required field Period *int64 `locationName:"period" type:"integer" required:"true"` // An object to specify the preferences for the Amazon EC2 recommendation projected // metrics to return in the response. RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` // The timestamp of the first projected metrics data point to return. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` // The statistic of the projected metrics. // // Stat is a required field Stat *string `locationName:"stat" type:"string" required:"true" enum:"MetricStatistic"` // contains filtered or unexported fields }
func (GetEC2RecommendationProjectedMetricsInput) GoString ¶
func (s GetEC2RecommendationProjectedMetricsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEC2RecommendationProjectedMetricsInput) SetEndTime ¶
func (s *GetEC2RecommendationProjectedMetricsInput) SetEndTime(v time.Time) *GetEC2RecommendationProjectedMetricsInput
SetEndTime sets the EndTime field's value.
func (*GetEC2RecommendationProjectedMetricsInput) SetInstanceArn ¶
func (s *GetEC2RecommendationProjectedMetricsInput) SetInstanceArn(v string) *GetEC2RecommendationProjectedMetricsInput
SetInstanceArn sets the InstanceArn field's value.
func (*GetEC2RecommendationProjectedMetricsInput) SetPeriod ¶
func (s *GetEC2RecommendationProjectedMetricsInput) SetPeriod(v int64) *GetEC2RecommendationProjectedMetricsInput
SetPeriod sets the Period field's value.
func (*GetEC2RecommendationProjectedMetricsInput) SetRecommendationPreferences ¶
func (s *GetEC2RecommendationProjectedMetricsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetEC2RecommendationProjectedMetricsInput
SetRecommendationPreferences sets the RecommendationPreferences field's value.
func (*GetEC2RecommendationProjectedMetricsInput) SetStartTime ¶
func (s *GetEC2RecommendationProjectedMetricsInput) SetStartTime(v time.Time) *GetEC2RecommendationProjectedMetricsInput
SetStartTime sets the StartTime field's value.
func (*GetEC2RecommendationProjectedMetricsInput) SetStat ¶
func (s *GetEC2RecommendationProjectedMetricsInput) SetStat(v string) *GetEC2RecommendationProjectedMetricsInput
SetStat sets the Stat field's value.
func (GetEC2RecommendationProjectedMetricsInput) String ¶
func (s GetEC2RecommendationProjectedMetricsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEC2RecommendationProjectedMetricsInput) Validate ¶
func (s *GetEC2RecommendationProjectedMetricsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEC2RecommendationProjectedMetricsOutput ¶
type GetEC2RecommendationProjectedMetricsOutput struct { // An array of objects that describes projected metrics. RecommendedOptionProjectedMetrics []*RecommendedOptionProjectedMetric `locationName:"recommendedOptionProjectedMetrics" type:"list"` // contains filtered or unexported fields }
func (GetEC2RecommendationProjectedMetricsOutput) GoString ¶
func (s GetEC2RecommendationProjectedMetricsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEC2RecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics ¶
func (s *GetEC2RecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics(v []*RecommendedOptionProjectedMetric) *GetEC2RecommendationProjectedMetricsOutput
SetRecommendedOptionProjectedMetrics sets the RecommendedOptionProjectedMetrics field's value.
func (GetEC2RecommendationProjectedMetricsOutput) String ¶
func (s GetEC2RecommendationProjectedMetricsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetECSServiceRecommendationProjectedMetricsInput ¶
type GetECSServiceRecommendationProjectedMetricsInput struct { // The timestamp of the last projected metrics data point to return. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"` // The granularity, in seconds, of the projected metrics data points. // // Period is a required field Period *int64 `locationName:"period" type:"integer" required:"true"` // The ARN that identifies the Amazon ECS service. // // The following is the format of the ARN: // // arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name // // ServiceArn is a required field ServiceArn *string `locationName:"serviceArn" type:"string" required:"true"` // The timestamp of the first projected metrics data point to return. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` // The statistic of the projected metrics. // // Stat is a required field Stat *string `locationName:"stat" type:"string" required:"true" enum:"MetricStatistic"` // contains filtered or unexported fields }
func (GetECSServiceRecommendationProjectedMetricsInput) GoString ¶
func (s GetECSServiceRecommendationProjectedMetricsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetECSServiceRecommendationProjectedMetricsInput) SetEndTime ¶
func (s *GetECSServiceRecommendationProjectedMetricsInput) SetEndTime(v time.Time) *GetECSServiceRecommendationProjectedMetricsInput
SetEndTime sets the EndTime field's value.
func (*GetECSServiceRecommendationProjectedMetricsInput) SetPeriod ¶
func (s *GetECSServiceRecommendationProjectedMetricsInput) SetPeriod(v int64) *GetECSServiceRecommendationProjectedMetricsInput
SetPeriod sets the Period field's value.
func (*GetECSServiceRecommendationProjectedMetricsInput) SetServiceArn ¶
func (s *GetECSServiceRecommendationProjectedMetricsInput) SetServiceArn(v string) *GetECSServiceRecommendationProjectedMetricsInput
SetServiceArn sets the ServiceArn field's value.
func (*GetECSServiceRecommendationProjectedMetricsInput) SetStartTime ¶
func (s *GetECSServiceRecommendationProjectedMetricsInput) SetStartTime(v time.Time) *GetECSServiceRecommendationProjectedMetricsInput
SetStartTime sets the StartTime field's value.
func (*GetECSServiceRecommendationProjectedMetricsInput) SetStat ¶
func (s *GetECSServiceRecommendationProjectedMetricsInput) SetStat(v string) *GetECSServiceRecommendationProjectedMetricsInput
SetStat sets the Stat field's value.
func (GetECSServiceRecommendationProjectedMetricsInput) String ¶
func (s GetECSServiceRecommendationProjectedMetricsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetECSServiceRecommendationProjectedMetricsInput) Validate ¶
func (s *GetECSServiceRecommendationProjectedMetricsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetECSServiceRecommendationProjectedMetricsOutput ¶
type GetECSServiceRecommendationProjectedMetricsOutput struct { // An array of objects that describes the projected metrics. RecommendedOptionProjectedMetrics []*ECSServiceRecommendedOptionProjectedMetric `locationName:"recommendedOptionProjectedMetrics" type:"list"` // contains filtered or unexported fields }
func (GetECSServiceRecommendationProjectedMetricsOutput) GoString ¶
func (s GetECSServiceRecommendationProjectedMetricsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetECSServiceRecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics ¶
func (s *GetECSServiceRecommendationProjectedMetricsOutput) SetRecommendedOptionProjectedMetrics(v []*ECSServiceRecommendedOptionProjectedMetric) *GetECSServiceRecommendationProjectedMetricsOutput
SetRecommendedOptionProjectedMetrics sets the RecommendedOptionProjectedMetrics field's value.
func (GetECSServiceRecommendationProjectedMetricsOutput) String ¶
func (s GetECSServiceRecommendationProjectedMetricsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetECSServiceRecommendationsInput ¶
type GetECSServiceRecommendationsInput struct { // Return the Amazon ECS service recommendations to the specified Amazon Web // Services account IDs. // // If your account is the management account or the delegated administrator // of an organization, use this parameter to return the Amazon ECS service recommendations // to specific member accounts. // // You can only specify one account ID per request. AccountIds []*string `locationName:"accountIds" type:"list"` // An array of objects to specify a filter that returns a more specific list // of Amazon ECS service recommendations. Filters []*ECSServiceRecommendationFilter `locationName:"filters" type:"list"` // The maximum number of Amazon ECS service recommendations to return with a // single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of Amazon ECS service recommendations. NextToken *string `locationName:"nextToken" type:"string"` // The ARN that identifies the Amazon ECS service. // // The following is the format of the ARN: // // arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name ServiceArns []*string `locationName:"serviceArns" type:"list"` // contains filtered or unexported fields }
func (GetECSServiceRecommendationsInput) GoString ¶
func (s GetECSServiceRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetECSServiceRecommendationsInput) SetAccountIds ¶
func (s *GetECSServiceRecommendationsInput) SetAccountIds(v []*string) *GetECSServiceRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*GetECSServiceRecommendationsInput) SetFilters ¶
func (s *GetECSServiceRecommendationsInput) SetFilters(v []*ECSServiceRecommendationFilter) *GetECSServiceRecommendationsInput
SetFilters sets the Filters field's value.
func (*GetECSServiceRecommendationsInput) SetMaxResults ¶
func (s *GetECSServiceRecommendationsInput) SetMaxResults(v int64) *GetECSServiceRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetECSServiceRecommendationsInput) SetNextToken ¶
func (s *GetECSServiceRecommendationsInput) SetNextToken(v string) *GetECSServiceRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*GetECSServiceRecommendationsInput) SetServiceArns ¶
func (s *GetECSServiceRecommendationsInput) SetServiceArns(v []*string) *GetECSServiceRecommendationsInput
SetServiceArns sets the ServiceArns field's value.
func (GetECSServiceRecommendationsInput) String ¶
func (s GetECSServiceRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetECSServiceRecommendationsOutput ¶
type GetECSServiceRecommendationsOutput struct { // An array of objects that describe the Amazon ECS service recommendations. EcsServiceRecommendations []*ECSServiceRecommendation `locationName:"ecsServiceRecommendations" type:"list"` // An array of objects that describe errors of the request. Errors []*GetRecommendationError `locationName:"errors" type:"list"` // The token to advance to the next page of Amazon ECS service recommendations. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetECSServiceRecommendationsOutput) GoString ¶
func (s GetECSServiceRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetECSServiceRecommendationsOutput) SetEcsServiceRecommendations ¶
func (s *GetECSServiceRecommendationsOutput) SetEcsServiceRecommendations(v []*ECSServiceRecommendation) *GetECSServiceRecommendationsOutput
SetEcsServiceRecommendations sets the EcsServiceRecommendations field's value.
func (*GetECSServiceRecommendationsOutput) SetErrors ¶
func (s *GetECSServiceRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetECSServiceRecommendationsOutput
SetErrors sets the Errors field's value.
func (*GetECSServiceRecommendationsOutput) SetNextToken ¶
func (s *GetECSServiceRecommendationsOutput) SetNextToken(v string) *GetECSServiceRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (GetECSServiceRecommendationsOutput) String ¶
func (s GetECSServiceRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEffectiveRecommendationPreferencesInput ¶
type GetEffectiveRecommendationPreferencesInput struct { // The Amazon Resource Name (ARN) of the resource for which to confirm effective // recommendation preferences. Only EC2 instance and Auto Scaling group ARNs // are currently supported. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetEffectiveRecommendationPreferencesInput) GoString ¶
func (s GetEffectiveRecommendationPreferencesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEffectiveRecommendationPreferencesInput) SetResourceArn ¶
func (s *GetEffectiveRecommendationPreferencesInput) SetResourceArn(v string) *GetEffectiveRecommendationPreferencesInput
SetResourceArn sets the ResourceArn field's value.
func (GetEffectiveRecommendationPreferencesInput) String ¶
func (s GetEffectiveRecommendationPreferencesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEffectiveRecommendationPreferencesInput) Validate ¶
func (s *GetEffectiveRecommendationPreferencesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEffectiveRecommendationPreferencesOutput ¶
type GetEffectiveRecommendationPreferencesOutput struct { // The status of the enhanced infrastructure metrics recommendation preference. // Considers all applicable preferences that you might have set at the resource, // account, and organization level. // // A status of Active confirms that the preference is applied in the latest // recommendation refresh, and a status of Inactive confirms that it's not yet // applied to recommendations. // // To validate whether the preference is applied to your last generated set // of recommendations, review the effectiveRecommendationPreferences value in // the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations // actions. // // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` // The provider of the external metrics recommendation preference. Considers // all applicable preferences that you might have set at the account and organization // level. // // If the preference is applied in the latest recommendation refresh, an object // with a valid source value appears in the response. If the preference isn't // applied to the recommendations already, then this object doesn't appear in // the response. // // To validate whether the preference is applied to your last generated set // of recommendations, review the effectiveRecommendationPreferences value in // the response of the GetEC2InstanceRecommendations actions. // // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html) // in the Compute Optimizer User Guide. ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` // contains filtered or unexported fields }
func (GetEffectiveRecommendationPreferencesOutput) GoString ¶
func (s GetEffectiveRecommendationPreferencesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEffectiveRecommendationPreferencesOutput) SetEnhancedInfrastructureMetrics ¶
func (s *GetEffectiveRecommendationPreferencesOutput) SetEnhancedInfrastructureMetrics(v string) *GetEffectiveRecommendationPreferencesOutput
SetEnhancedInfrastructureMetrics sets the EnhancedInfrastructureMetrics field's value.
func (*GetEffectiveRecommendationPreferencesOutput) SetExternalMetricsPreference ¶
func (s *GetEffectiveRecommendationPreferencesOutput) SetExternalMetricsPreference(v *ExternalMetricsPreference) *GetEffectiveRecommendationPreferencesOutput
SetExternalMetricsPreference sets the ExternalMetricsPreference field's value.
func (GetEffectiveRecommendationPreferencesOutput) String ¶
func (s GetEffectiveRecommendationPreferencesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEnrollmentStatusInput ¶
type GetEnrollmentStatusInput struct {
// contains filtered or unexported fields
}
func (GetEnrollmentStatusInput) GoString ¶
func (s GetEnrollmentStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetEnrollmentStatusInput) String ¶
func (s GetEnrollmentStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEnrollmentStatusOutput ¶
type GetEnrollmentStatusOutput struct { // The Unix epoch timestamp, in seconds, of when the account enrollment status // was last updated. LastUpdatedTimestamp *time.Time `locationName:"lastUpdatedTimestamp" type:"timestamp"` // Confirms the enrollment status of member accounts of the organization, if // the account is a management account of an organization. MemberAccountsEnrolled *bool `locationName:"memberAccountsEnrolled" type:"boolean"` // The count of organization member accounts that are opted in to the service, // if your account is an organization management account. NumberOfMemberAccountsOptedIn *int64 `locationName:"numberOfMemberAccountsOptedIn" type:"integer"` // The enrollment status of the account. Status *string `locationName:"status" type:"string" enum:"Status"` // The reason for the enrollment status of the account. // // For example, an account might show a status of Pending because member accounts // of an organization require more time to be enrolled in the service. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
func (GetEnrollmentStatusOutput) GoString ¶
func (s GetEnrollmentStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEnrollmentStatusOutput) SetLastUpdatedTimestamp ¶
func (s *GetEnrollmentStatusOutput) SetLastUpdatedTimestamp(v time.Time) *GetEnrollmentStatusOutput
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (*GetEnrollmentStatusOutput) SetMemberAccountsEnrolled ¶
func (s *GetEnrollmentStatusOutput) SetMemberAccountsEnrolled(v bool) *GetEnrollmentStatusOutput
SetMemberAccountsEnrolled sets the MemberAccountsEnrolled field's value.
func (*GetEnrollmentStatusOutput) SetNumberOfMemberAccountsOptedIn ¶
func (s *GetEnrollmentStatusOutput) SetNumberOfMemberAccountsOptedIn(v int64) *GetEnrollmentStatusOutput
SetNumberOfMemberAccountsOptedIn sets the NumberOfMemberAccountsOptedIn field's value.
func (*GetEnrollmentStatusOutput) SetStatus ¶
func (s *GetEnrollmentStatusOutput) SetStatus(v string) *GetEnrollmentStatusOutput
SetStatus sets the Status field's value.
func (*GetEnrollmentStatusOutput) SetStatusReason ¶
func (s *GetEnrollmentStatusOutput) SetStatusReason(v string) *GetEnrollmentStatusOutput
SetStatusReason sets the StatusReason field's value.
func (GetEnrollmentStatusOutput) String ¶
func (s GetEnrollmentStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEnrollmentStatusesForOrganizationInput ¶
type GetEnrollmentStatusesForOrganizationInput struct { // An array of objects to specify a filter that returns a more specific list // of account enrollment statuses. Filters []*EnrollmentFilter `locationName:"filters" type:"list"` // The maximum number of account enrollment statuses to return with a single // request. You can specify up to 100 statuses to return with each request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of account enrollment statuses. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetEnrollmentStatusesForOrganizationInput) GoString ¶
func (s GetEnrollmentStatusesForOrganizationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEnrollmentStatusesForOrganizationInput) SetFilters ¶
func (s *GetEnrollmentStatusesForOrganizationInput) SetFilters(v []*EnrollmentFilter) *GetEnrollmentStatusesForOrganizationInput
SetFilters sets the Filters field's value.
func (*GetEnrollmentStatusesForOrganizationInput) SetMaxResults ¶
func (s *GetEnrollmentStatusesForOrganizationInput) SetMaxResults(v int64) *GetEnrollmentStatusesForOrganizationInput
SetMaxResults sets the MaxResults field's value.
func (*GetEnrollmentStatusesForOrganizationInput) SetNextToken ¶
func (s *GetEnrollmentStatusesForOrganizationInput) SetNextToken(v string) *GetEnrollmentStatusesForOrganizationInput
SetNextToken sets the NextToken field's value.
func (GetEnrollmentStatusesForOrganizationInput) String ¶
func (s GetEnrollmentStatusesForOrganizationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEnrollmentStatusesForOrganizationOutput ¶
type GetEnrollmentStatusesForOrganizationOutput struct { // An array of objects that describe the enrollment statuses of organization // member accounts. AccountEnrollmentStatuses []*AccountEnrollmentStatus `locationName:"accountEnrollmentStatuses" type:"list"` // The token to use to advance to the next page of account enrollment statuses. // // This value is null when there are no more pages of account enrollment statuses // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetEnrollmentStatusesForOrganizationOutput) GoString ¶
func (s GetEnrollmentStatusesForOrganizationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEnrollmentStatusesForOrganizationOutput) SetAccountEnrollmentStatuses ¶
func (s *GetEnrollmentStatusesForOrganizationOutput) SetAccountEnrollmentStatuses(v []*AccountEnrollmentStatus) *GetEnrollmentStatusesForOrganizationOutput
SetAccountEnrollmentStatuses sets the AccountEnrollmentStatuses field's value.
func (*GetEnrollmentStatusesForOrganizationOutput) SetNextToken ¶
func (s *GetEnrollmentStatusesForOrganizationOutput) SetNextToken(v string) *GetEnrollmentStatusesForOrganizationOutput
SetNextToken sets the NextToken field's value.
func (GetEnrollmentStatusesForOrganizationOutput) String ¶
func (s GetEnrollmentStatusesForOrganizationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLambdaFunctionRecommendationsInput ¶
type GetLambdaFunctionRecommendationsInput struct { // The ID of the Amazon Web Services account for which to return function recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return function recommendations. // // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` // An array of objects to specify a filter that returns a more specific list // of function recommendations. Filters []*LambdaFunctionRecommendationFilter `locationName:"filters" type:"list"` // The Amazon Resource Name (ARN) of the functions for which to return recommendations. // // You can specify a qualified or unqualified ARN. If you specify an unqualified // ARN without a function version suffix, Compute Optimizer will return recommendations // for the latest ($LATEST) version of the function. If you specify a qualified // ARN with a version suffix, Compute Optimizer will return recommendations // for the specified function version. For more information about using function // versions, see Using versions (https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using) // in the Lambda Developer Guide. FunctionArns []*string `locationName:"functionArns" type:"list"` // The maximum number of function recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of function recommendations. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetLambdaFunctionRecommendationsInput) GoString ¶
func (s GetLambdaFunctionRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLambdaFunctionRecommendationsInput) SetAccountIds ¶
func (s *GetLambdaFunctionRecommendationsInput) SetAccountIds(v []*string) *GetLambdaFunctionRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*GetLambdaFunctionRecommendationsInput) SetFilters ¶
func (s *GetLambdaFunctionRecommendationsInput) SetFilters(v []*LambdaFunctionRecommendationFilter) *GetLambdaFunctionRecommendationsInput
SetFilters sets the Filters field's value.
func (*GetLambdaFunctionRecommendationsInput) SetFunctionArns ¶
func (s *GetLambdaFunctionRecommendationsInput) SetFunctionArns(v []*string) *GetLambdaFunctionRecommendationsInput
SetFunctionArns sets the FunctionArns field's value.
func (*GetLambdaFunctionRecommendationsInput) SetMaxResults ¶
func (s *GetLambdaFunctionRecommendationsInput) SetMaxResults(v int64) *GetLambdaFunctionRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetLambdaFunctionRecommendationsInput) SetNextToken ¶
func (s *GetLambdaFunctionRecommendationsInput) SetNextToken(v string) *GetLambdaFunctionRecommendationsInput
SetNextToken sets the NextToken field's value.
func (GetLambdaFunctionRecommendationsInput) String ¶
func (s GetLambdaFunctionRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLambdaFunctionRecommendationsOutput ¶
type GetLambdaFunctionRecommendationsOutput struct { // An array of objects that describe function recommendations. LambdaFunctionRecommendations []*LambdaFunctionRecommendation `locationName:"lambdaFunctionRecommendations" type:"list"` // The token to use to advance to the next page of function recommendations. // // This value is null when there are no more pages of function recommendations // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetLambdaFunctionRecommendationsOutput) GoString ¶
func (s GetLambdaFunctionRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLambdaFunctionRecommendationsOutput) SetLambdaFunctionRecommendations ¶
func (s *GetLambdaFunctionRecommendationsOutput) SetLambdaFunctionRecommendations(v []*LambdaFunctionRecommendation) *GetLambdaFunctionRecommendationsOutput
SetLambdaFunctionRecommendations sets the LambdaFunctionRecommendations field's value.
func (*GetLambdaFunctionRecommendationsOutput) SetNextToken ¶
func (s *GetLambdaFunctionRecommendationsOutput) SetNextToken(v string) *GetLambdaFunctionRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (GetLambdaFunctionRecommendationsOutput) String ¶
func (s GetLambdaFunctionRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLicenseRecommendationsInput ¶
type GetLicenseRecommendationsInput struct { // The ID of the Amazon Web Services account for which to return license recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return license recommendations. // // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` // An array of objects to specify a filter that returns a more specific list // of license recommendations. Filters []*LicenseRecommendationFilter `locationName:"filters" type:"list"` // The maximum number of license recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of license recommendations. NextToken *string `locationName:"nextToken" type:"string"` // The ARN that identifies the Amazon EC2 instance. // // The following is the format of the ARN: // // arn:aws:ec2:region:aws_account_id:instance/instance-id ResourceArns []*string `locationName:"resourceArns" type:"list"` // contains filtered or unexported fields }
func (GetLicenseRecommendationsInput) GoString ¶
func (s GetLicenseRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLicenseRecommendationsInput) SetAccountIds ¶
func (s *GetLicenseRecommendationsInput) SetAccountIds(v []*string) *GetLicenseRecommendationsInput
SetAccountIds sets the AccountIds field's value.
func (*GetLicenseRecommendationsInput) SetFilters ¶
func (s *GetLicenseRecommendationsInput) SetFilters(v []*LicenseRecommendationFilter) *GetLicenseRecommendationsInput
SetFilters sets the Filters field's value.
func (*GetLicenseRecommendationsInput) SetMaxResults ¶
func (s *GetLicenseRecommendationsInput) SetMaxResults(v int64) *GetLicenseRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetLicenseRecommendationsInput) SetNextToken ¶
func (s *GetLicenseRecommendationsInput) SetNextToken(v string) *GetLicenseRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*GetLicenseRecommendationsInput) SetResourceArns ¶
func (s *GetLicenseRecommendationsInput) SetResourceArns(v []*string) *GetLicenseRecommendationsInput
SetResourceArns sets the ResourceArns field's value.
func (GetLicenseRecommendationsInput) String ¶
func (s GetLicenseRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLicenseRecommendationsOutput ¶
type GetLicenseRecommendationsOutput struct { // An array of objects that describe errors of the request. Errors []*GetRecommendationError `locationName:"errors" type:"list"` // An array of objects that describe license recommendations. LicenseRecommendations []*LicenseRecommendation `locationName:"licenseRecommendations" type:"list"` // The token to use to advance to the next page of license recommendations. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetLicenseRecommendationsOutput) GoString ¶
func (s GetLicenseRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLicenseRecommendationsOutput) SetErrors ¶
func (s *GetLicenseRecommendationsOutput) SetErrors(v []*GetRecommendationError) *GetLicenseRecommendationsOutput
SetErrors sets the Errors field's value.
func (*GetLicenseRecommendationsOutput) SetLicenseRecommendations ¶
func (s *GetLicenseRecommendationsOutput) SetLicenseRecommendations(v []*LicenseRecommendation) *GetLicenseRecommendationsOutput
SetLicenseRecommendations sets the LicenseRecommendations field's value.
func (*GetLicenseRecommendationsOutput) SetNextToken ¶
func (s *GetLicenseRecommendationsOutput) SetNextToken(v string) *GetLicenseRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (GetLicenseRecommendationsOutput) String ¶
func (s GetLicenseRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecommendationError ¶
type GetRecommendationError struct { // The error code. Code *string `locationName:"code" type:"string"` // The ID of the error. Identifier *string `locationName:"identifier" type:"string"` // The message, or reason, for the error. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Describes an error experienced when getting recommendations.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.
func (GetRecommendationError) GoString ¶
func (s GetRecommendationError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecommendationError) SetCode ¶
func (s *GetRecommendationError) SetCode(v string) *GetRecommendationError
SetCode sets the Code field's value.
func (*GetRecommendationError) SetIdentifier ¶
func (s *GetRecommendationError) SetIdentifier(v string) *GetRecommendationError
SetIdentifier sets the Identifier field's value.
func (*GetRecommendationError) SetMessage ¶
func (s *GetRecommendationError) SetMessage(v string) *GetRecommendationError
SetMessage sets the Message field's value.
func (GetRecommendationError) String ¶
func (s GetRecommendationError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecommendationPreferencesInput ¶
type GetRecommendationPreferencesInput struct { // The maximum number of recommendation preferences to return with a single // request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of recommendation preferences. NextToken *string `locationName:"nextToken" type:"string"` // The target resource type of the recommendation preference for which to return // preferences. // // The Ec2Instance option encompasses standalone instances and instances that // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // // The valid values for this parameter are Ec2Instance and AutoScalingGroup. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` // An object that describes the scope of the recommendation preference to return. // // You can return recommendation preferences that are created at the organization // level (for management accounts of an organization only), account level, and // resource level. For more information, see Activating enhanced infrastructure // metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. Scope *Scope `locationName:"scope" type:"structure"` // contains filtered or unexported fields }
func (GetRecommendationPreferencesInput) GoString ¶
func (s GetRecommendationPreferencesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecommendationPreferencesInput) SetMaxResults ¶
func (s *GetRecommendationPreferencesInput) SetMaxResults(v int64) *GetRecommendationPreferencesInput
SetMaxResults sets the MaxResults field's value.
func (*GetRecommendationPreferencesInput) SetNextToken ¶
func (s *GetRecommendationPreferencesInput) SetNextToken(v string) *GetRecommendationPreferencesInput
SetNextToken sets the NextToken field's value.
func (*GetRecommendationPreferencesInput) SetResourceType ¶
func (s *GetRecommendationPreferencesInput) SetResourceType(v string) *GetRecommendationPreferencesInput
SetResourceType sets the ResourceType field's value.
func (*GetRecommendationPreferencesInput) SetScope ¶
func (s *GetRecommendationPreferencesInput) SetScope(v *Scope) *GetRecommendationPreferencesInput
SetScope sets the Scope field's value.
func (GetRecommendationPreferencesInput) String ¶
func (s GetRecommendationPreferencesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecommendationPreferencesInput) Validate ¶
func (s *GetRecommendationPreferencesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRecommendationPreferencesOutput ¶
type GetRecommendationPreferencesOutput struct { // The token to use to advance to the next page of recommendation preferences. // // This value is null when there are no more pages of recommendation preferences // to return. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that describe recommendation preferences. RecommendationPreferencesDetails []*RecommendationPreferencesDetail `locationName:"recommendationPreferencesDetails" type:"list"` // contains filtered or unexported fields }
func (GetRecommendationPreferencesOutput) GoString ¶
func (s GetRecommendationPreferencesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecommendationPreferencesOutput) SetNextToken ¶
func (s *GetRecommendationPreferencesOutput) SetNextToken(v string) *GetRecommendationPreferencesOutput
SetNextToken sets the NextToken field's value.
func (*GetRecommendationPreferencesOutput) SetRecommendationPreferencesDetails ¶
func (s *GetRecommendationPreferencesOutput) SetRecommendationPreferencesDetails(v []*RecommendationPreferencesDetail) *GetRecommendationPreferencesOutput
SetRecommendationPreferencesDetails sets the RecommendationPreferencesDetails field's value.
func (GetRecommendationPreferencesOutput) String ¶
func (s GetRecommendationPreferencesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecommendationSummariesInput ¶
type GetRecommendationSummariesInput struct { // The ID of the Amazon Web Services account for which to return recommendation // summaries. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return recommendation // summaries. // // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` // The maximum number of recommendation summaries to return with a single request. // // To retrieve the remaining results, make another request with the returned // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of recommendation summaries. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (GetRecommendationSummariesInput) GoString ¶
func (s GetRecommendationSummariesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecommendationSummariesInput) SetAccountIds ¶
func (s *GetRecommendationSummariesInput) SetAccountIds(v []*string) *GetRecommendationSummariesInput
SetAccountIds sets the AccountIds field's value.
func (*GetRecommendationSummariesInput) SetMaxResults ¶
func (s *GetRecommendationSummariesInput) SetMaxResults(v int64) *GetRecommendationSummariesInput
SetMaxResults sets the MaxResults field's value.
func (*GetRecommendationSummariesInput) SetNextToken ¶
func (s *GetRecommendationSummariesInput) SetNextToken(v string) *GetRecommendationSummariesInput
SetNextToken sets the NextToken field's value.
func (GetRecommendationSummariesInput) String ¶
func (s GetRecommendationSummariesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecommendationSummariesOutput ¶
type GetRecommendationSummariesOutput struct { // The token to use to advance to the next page of recommendation summaries. // // This value is null when there are no more pages of recommendation summaries // to return. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that summarize a recommendation. RecommendationSummaries []*RecommendationSummary `locationName:"recommendationSummaries" type:"list"` // contains filtered or unexported fields }
func (GetRecommendationSummariesOutput) GoString ¶
func (s GetRecommendationSummariesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecommendationSummariesOutput) SetNextToken ¶
func (s *GetRecommendationSummariesOutput) SetNextToken(v string) *GetRecommendationSummariesOutput
SetNextToken sets the NextToken field's value.
func (*GetRecommendationSummariesOutput) SetRecommendationSummaries ¶
func (s *GetRecommendationSummariesOutput) SetRecommendationSummaries(v []*RecommendationSummary) *GetRecommendationSummariesOutput
SetRecommendationSummaries sets the RecommendationSummaries field's value.
func (GetRecommendationSummariesOutput) String ¶
func (s GetRecommendationSummariesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Gpu ¶
type Gpu struct { // The number of GPUs for the instance type. GpuCount *int64 `locationName:"gpuCount" type:"integer"` // The total size of the memory for the GPU accelerators for the instance type, // in MiB. GpuMemorySizeInMiB *int64 `locationName:"gpuMemorySizeInMiB" type:"integer"` // contains filtered or unexported fields }
Describes the GPU accelerators for the instance type.
func (Gpu) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Gpu) SetGpuCount ¶
SetGpuCount sets the GpuCount field's value.
func (*Gpu) SetGpuMemorySizeInMiB ¶
SetGpuMemorySizeInMiB sets the GpuMemorySizeInMiB field's value.
type GpuInfo ¶
type GpuInfo struct { // Describes the GPU accelerators for the instance type. Gpus []*Gpu `locationName:"gpus" type:"list"` // contains filtered or unexported fields }
Describes the GPU accelerator settings for the instance type.
func (GpuInfo) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InferredWorkloadSaving ¶
type InferredWorkloadSaving struct { // An object that describes the estimated monthly savings amount possible by // adopting Compute Optimizer recommendations for a given resource. This is // based on the On-Demand instance pricing. EstimatedMonthlySavings *EstimatedMonthlySavings `locationName:"estimatedMonthlySavings" type:"structure"` // The applications that might be running on the instance as inferred by Compute // Optimizer. // // Compute Optimizer can infer if one of the following applications might be // running on the instance: // // * AmazonEmr - Infers that Amazon EMR might be running on the instance. // // * ApacheCassandra - Infers that Apache Cassandra might be running on the // instance. // // * ApacheHadoop - Infers that Apache Hadoop might be running on the instance. // // * Memcached - Infers that Memcached might be running on the instance. // // * NGINX - Infers that NGINX might be running on the instance. // // * PostgreSql - Infers that PostgreSQL might be running on the instance. // // * Redis - Infers that Redis might be running on the instance. // // * Kafka - Infers that Kafka might be running on the instance. // // * SQLServer - Infers that SQLServer might be running on the instance. InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list" enum:"InferredWorkloadType"` // contains filtered or unexported fields }
The estimated monthly savings after you adjust the configurations of your instances running on the inferred workload types to the recommended configurations. If the inferredWorkloadTypes list contains multiple entries, then the savings are the sum of the monthly savings from instances that run the exact combination of the inferred workload types.
func (InferredWorkloadSaving) GoString ¶
func (s InferredWorkloadSaving) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InferredWorkloadSaving) SetEstimatedMonthlySavings ¶
func (s *InferredWorkloadSaving) SetEstimatedMonthlySavings(v *EstimatedMonthlySavings) *InferredWorkloadSaving
SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value.
func (*InferredWorkloadSaving) SetInferredWorkloadTypes ¶
func (s *InferredWorkloadSaving) SetInferredWorkloadTypes(v []*string) *InferredWorkloadSaving
SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value.
func (InferredWorkloadSaving) String ¶
func (s InferredWorkloadSaving) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InstanceRecommendation ¶
type InstanceRecommendation struct { // The Amazon Web Services account ID of the instance. AccountId *string `locationName:"accountId" type:"string"` // Describes the GPU accelerator settings for the current instance type. CurrentInstanceGpuInfo *GpuInfo `locationName:"currentInstanceGpuInfo" type:"structure"` // The instance type of the current instance. CurrentInstanceType *string `locationName:"currentInstanceType" type:"string"` // The risk of the current instance not meeting the performance needs of its // workloads. The higher the risk, the more likely the current instance cannot // meet the performance requirements of its workload. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // An object that describes the effective recommendation preferences for the // instance. EffectiveRecommendationPreferences *EffectiveRecommendationPreferences `locationName:"effectiveRecommendationPreferences" type:"structure"` // An object that describes Compute Optimizer's integration status with your // external metrics provider. ExternalMetricStatus *ExternalMetricStatus `locationName:"externalMetricStatus" type:"structure"` // The finding classification of the instance. // // Findings for instances include: // // * Underprovisioned —An instance is considered under-provisioned when // at least one specification of your instance, such as CPU, memory, or network, // does not meet the performance requirements of your workload. Under-provisioned // instances may lead to poor application performance. // // * Overprovisioned —An instance is considered over-provisioned when at // least one specification of your instance, such as CPU, memory, or network, // can be sized down while still meeting the performance requirements of // your workload, and no specification is under-provisioned. Over-provisioned // instances may lead to unnecessary infrastructure cost. // // * Optimized —An instance is considered optimized when all specifications // of your instance, such as CPU, memory, and network, meet the performance // requirements of your workload and is not over provisioned. For optimized // resources, Compute Optimizer might recommend a new generation instance // type. Finding *string `locationName:"finding" type:"string" enum:"Finding"` // The reason for the finding classification of the instance. // // Finding reason codes for instances include: // // * CPUOverprovisioned — The instance’s CPU configuration can be sized // down while still meeting the performance requirements of your workload. // This is identified by analyzing the CPUUtilization metric of the current // instance during the look-back period. // // * CPUUnderprovisioned — The instance’s CPU configuration doesn't meet // the performance requirements of your workload and there is an alternative // instance type that provides better CPU performance. This is identified // by analyzing the CPUUtilization metric of the current instance during // the look-back period. // // * MemoryOverprovisioned — The instance’s memory configuration can // be sized down while still meeting the performance requirements of your // workload. This is identified by analyzing the memory utilization metric // of the current instance during the look-back period. // // * MemoryUnderprovisioned — The instance’s memory configuration doesn't // meet the performance requirements of your workload and there is an alternative // instance type that provides better memory performance. This is identified // by analyzing the memory utilization metric of the current instance during // the look-back period. Memory utilization is analyzed only for resources // that have the unified CloudWatch agent installed on them. For more information, // see Enabling memory utilization with the Amazon CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent) // in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer // analyses the mem_used_percent metric in the CWAgent namespace, or the // legacy MemoryUtilization metric in the System/Linux namespace. On Windows // instances, Compute Optimizer analyses the Memory % Committed Bytes In // Use metric in the CWAgent namespace. // // * EBSThroughputOverprovisioned — The instance’s EBS throughput configuration // can be sized down while still meeting the performance requirements of // your workload. This is identified by analyzing the VolumeReadBytes and // VolumeWriteBytes metrics of EBS volumes attached to the current instance // during the look-back period. // // * EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration // doesn't meet the performance requirements of your workload and there is // an alternative instance type that provides better EBS throughput performance. // This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes // metrics of EBS volumes attached to the current instance during the look-back // period. // // * EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can // be sized down while still meeting the performance requirements of your // workload. This is identified by analyzing the VolumeReadOps and VolumeWriteOps // metric of EBS volumes attached to the current instance during the look-back // period. // // * EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration // doesn't meet the performance requirements of your workload and there is // an alternative instance type that provides better EBS IOPS performance. // This is identified by analyzing the VolumeReadOps and VolumeWriteOps metric // of EBS volumes attached to the current instance during the look-back period. // // * NetworkBandwidthOverprovisioned — The instance’s network bandwidth // configuration can be sized down while still meeting the performance requirements // of your workload. This is identified by analyzing the NetworkIn and NetworkOut // metrics of the current instance during the look-back period. // // * NetworkBandwidthUnderprovisioned — The instance’s network bandwidth // configuration doesn't meet the performance requirements of your workload // and there is an alternative instance type that provides better network // bandwidth performance. This is identified by analyzing the NetworkIn and // NetworkOut metrics of the current instance during the look-back period. // This finding reason happens when the NetworkIn or NetworkOut performance // of an instance is impacted. // // * NetworkPPSOverprovisioned — The instance’s network PPS (packets // per second) configuration can be sized down while still meeting the performance // requirements of your workload. This is identified by analyzing the NetworkPacketsIn // and NetworkPacketsIn metrics of the current instance during the look-back // period. // // * NetworkPPSUnderprovisioned — The instance’s network PPS (packets // per second) configuration doesn't meet the performance requirements of // your workload and there is an alternative instance type that provides // better network PPS performance. This is identified by analyzing the NetworkPacketsIn // and NetworkPacketsIn metrics of the current instance during the look-back // period. // // * DiskIOPSOverprovisioned — The instance’s disk IOPS configuration // can be sized down while still meeting the performance requirements of // your workload. This is identified by analyzing the DiskReadOps and DiskWriteOps // metrics of the current instance during the look-back period. // // * DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration // doesn't meet the performance requirements of your workload and there is // an alternative instance type that provides better disk IOPS performance. // This is identified by analyzing the DiskReadOps and DiskWriteOps metrics // of the current instance during the look-back period. // // * DiskThroughputOverprovisioned — The instance’s disk throughput configuration // can be sized down while still meeting the performance requirements of // your workload. This is identified by analyzing the DiskReadBytes and DiskWriteBytes // metrics of the current instance during the look-back period. // // * DiskThroughputUnderprovisioned — The instance’s disk throughput // configuration doesn't meet the performance requirements of your workload // and there is an alternative instance type that provides better disk throughput // performance. This is identified by analyzing the DiskReadBytes and DiskWriteBytes // metrics of the current instance during the look-back period. // // For more information about instance metrics, see List the available CloudWatch // metrics for your instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html) // in the Amazon Elastic Compute Cloud User Guide. For more information about // EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch_ebs.html) // in the Amazon Elastic Compute Cloud User Guide. FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list" enum:"InstanceRecommendationFindingReasonCode"` // Describes if an Amazon EC2 instance is idle. Idle *string `locationName:"idle" type:"string" enum:"InstanceIdle"` // The applications that might be running on the instance as inferred by Compute // Optimizer. // // Compute Optimizer can infer if one of the following applications might be // running on the instance: // // * AmazonEmr - Infers that Amazon EMR might be running on the instance. // // * ApacheCassandra - Infers that Apache Cassandra might be running on the // instance. // // * ApacheHadoop - Infers that Apache Hadoop might be running on the instance. // // * Memcached - Infers that Memcached might be running on the instance. // // * NGINX - Infers that NGINX might be running on the instance. // // * PostgreSql - Infers that PostgreSQL might be running on the instance. // // * Redis - Infers that Redis might be running on the instance. // // * Kafka - Infers that Kafka might be running on the instance. // // * SQLServer - Infers that SQLServer might be running on the instance. InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list" enum:"InferredWorkloadType"` // The Amazon Resource Name (ARN) of the current instance. InstanceArn *string `locationName:"instanceArn" type:"string"` // The name of the current instance. InstanceName *string `locationName:"instanceName" type:"string"` // The state of the instance when the recommendation was generated. InstanceState *string `locationName:"instanceState" type:"string" enum:"InstanceState"` // The timestamp of when the instance recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the instance. LookBackPeriodInDays *float64 `locationName:"lookBackPeriodInDays" type:"double"` // An array of objects that describe the recommendation options for the instance. RecommendationOptions []*InstanceRecommendationOption `locationName:"recommendationOptions" type:"list"` // An array of objects that describe the source resource of the recommendation. RecommendationSources []*RecommendationSource `locationName:"recommendationSources" type:"list"` // A list of tags assigned to your Amazon EC2 instance recommendations. Tags []*Tag `locationName:"tags" type:"list"` // An array of objects that describe the utilization metrics of the instance. UtilizationMetrics []*UtilizationMetric `locationName:"utilizationMetrics" type:"list"` // contains filtered or unexported fields }
Describes an Amazon EC2 instance recommendation.
func (InstanceRecommendation) GoString ¶
func (s InstanceRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InstanceRecommendation) SetAccountId ¶
func (s *InstanceRecommendation) SetAccountId(v string) *InstanceRecommendation
SetAccountId sets the AccountId field's value.
func (*InstanceRecommendation) SetCurrentInstanceGpuInfo ¶
func (s *InstanceRecommendation) SetCurrentInstanceGpuInfo(v *GpuInfo) *InstanceRecommendation
SetCurrentInstanceGpuInfo sets the CurrentInstanceGpuInfo field's value.
func (*InstanceRecommendation) SetCurrentInstanceType ¶
func (s *InstanceRecommendation) SetCurrentInstanceType(v string) *InstanceRecommendation
SetCurrentInstanceType sets the CurrentInstanceType field's value.
func (*InstanceRecommendation) SetCurrentPerformanceRisk ¶
func (s *InstanceRecommendation) SetCurrentPerformanceRisk(v string) *InstanceRecommendation
SetCurrentPerformanceRisk sets the CurrentPerformanceRisk field's value.
func (*InstanceRecommendation) SetEffectiveRecommendationPreferences ¶
func (s *InstanceRecommendation) SetEffectiveRecommendationPreferences(v *EffectiveRecommendationPreferences) *InstanceRecommendation
SetEffectiveRecommendationPreferences sets the EffectiveRecommendationPreferences field's value.
func (*InstanceRecommendation) SetExternalMetricStatus ¶
func (s *InstanceRecommendation) SetExternalMetricStatus(v *ExternalMetricStatus) *InstanceRecommendation
SetExternalMetricStatus sets the ExternalMetricStatus field's value.
func (*InstanceRecommendation) SetFinding ¶
func (s *InstanceRecommendation) SetFinding(v string) *InstanceRecommendation
SetFinding sets the Finding field's value.
func (*InstanceRecommendation) SetFindingReasonCodes ¶
func (s *InstanceRecommendation) SetFindingReasonCodes(v []*string) *InstanceRecommendation
SetFindingReasonCodes sets the FindingReasonCodes field's value.
func (*InstanceRecommendation) SetIdle ¶
func (s *InstanceRecommendation) SetIdle(v string) *InstanceRecommendation
SetIdle sets the Idle field's value.
func (*InstanceRecommendation) SetInferredWorkloadTypes ¶
func (s *InstanceRecommendation) SetInferredWorkloadTypes(v []*string) *InstanceRecommendation
SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value.
func (*InstanceRecommendation) SetInstanceArn ¶
func (s *InstanceRecommendation) SetInstanceArn(v string) *InstanceRecommendation
SetInstanceArn sets the InstanceArn field's value.
func (*InstanceRecommendation) SetInstanceName ¶
func (s *InstanceRecommendation) SetInstanceName(v string) *InstanceRecommendation
SetInstanceName sets the InstanceName field's value.
func (*InstanceRecommendation) SetInstanceState ¶
func (s *InstanceRecommendation) SetInstanceState(v string) *InstanceRecommendation
SetInstanceState sets the InstanceState field's value.
func (*InstanceRecommendation) SetLastRefreshTimestamp ¶
func (s *InstanceRecommendation) SetLastRefreshTimestamp(v time.Time) *InstanceRecommendation
SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value.
func (*InstanceRecommendation) SetLookBackPeriodInDays ¶
func (s *InstanceRecommendation) SetLookBackPeriodInDays(v float64) *InstanceRecommendation
SetLookBackPeriodInDays sets the LookBackPeriodInDays field's value.
func (*InstanceRecommendation) SetRecommendationOptions ¶
func (s *InstanceRecommendation) SetRecommendationOptions(v []*InstanceRecommendationOption) *InstanceRecommendation
SetRecommendationOptions sets the RecommendationOptions field's value.
func (*InstanceRecommendation) SetRecommendationSources ¶
func (s *InstanceRecommendation) SetRecommendationSources(v []*RecommendationSource) *InstanceRecommendation
SetRecommendationSources sets the RecommendationSources field's value.
func (*InstanceRecommendation) SetTags ¶
func (s *InstanceRecommendation) SetTags(v []*Tag) *InstanceRecommendation
SetTags sets the Tags field's value.
func (*InstanceRecommendation) SetUtilizationMetrics ¶
func (s *InstanceRecommendation) SetUtilizationMetrics(v []*UtilizationMetric) *InstanceRecommendation
SetUtilizationMetrics sets the UtilizationMetrics field's value.
func (InstanceRecommendation) String ¶
func (s InstanceRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InstanceRecommendationOption ¶
type InstanceRecommendationOption struct { // Describes the GPU accelerator settings for the recommended instance type. InstanceGpuInfo *GpuInfo `locationName:"instanceGpuInfo" type:"structure"` // The instance type of the instance recommendation. InstanceType *string `locationName:"instanceType" type:"string"` // The level of effort required to migrate from the current instance type to // the recommended instance type. // // For example, the migration effort is Low if Amazon EMR is the inferred workload // type and an Amazon Web Services Graviton instance type is recommended. The // migration effort is Medium if a workload type couldn't be inferred but an // Amazon Web Services Graviton instance type is recommended. The migration // effort is VeryLow if both the current and recommended instance types are // of the same CPU architecture. MigrationEffort *string `locationName:"migrationEffort" type:"string" enum:"MigrationEffort"` // The performance risk of the instance recommendation option. // // Performance risk indicates the likelihood of the recommended instance type // not meeting the resource needs of your workload. Compute Optimizer calculates // an individual performance risk score for each specification of the recommended // instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, // disk IOPS, network throughput, and network PPS. The performance risk of the // recommended instance is calculated as the maximum performance risk score // across the analyzed resource specifications. // // The value ranges from 0 - 4, with 0 meaning that the recommended resource // is predicted to always provide enough hardware capability. The higher the // performance risk is, the more likely you should validate whether the recommendation // will meet the performance requirements of your workload before migrating // your resource. PerformanceRisk *float64 `locationName:"performanceRisk" type:"double"` // Describes the configuration differences between the current instance and // the recommended instance type. You should consider the configuration differences // before migrating your workloads from the current instance to the recommended // instance type. The Change the instance type guide for Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html) // and Change the instance type guide for Windows (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-resize.html) // provide general guidance for getting started with an instance migration. // // Platform differences include: // // * Hypervisor — The hypervisor of the recommended instance type is different // than that of the current instance. For example, the recommended instance // type uses a Nitro hypervisor and the current instance uses a Xen hypervisor. // The differences that you should consider between these hypervisors are // covered in the Nitro Hypervisor (http://aws.amazon.com/ec2/faqs/#Nitro_Hypervisor) // section of the Amazon EC2 frequently asked questions. For more information, // see Instances built on the Nitro System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances) // in the Amazon EC2 User Guide for Linux, or Instances built on the Nitro // System (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#ec2-nitro-instances) // in the Amazon EC2 User Guide for Windows. // // * NetworkInterface — The network interface of the recommended instance // type is different than that of the current instance. For example, the // recommended instance type supports enhanced networking and the current // instance might not. To enable enhanced networking for the recommended // instance type, you must install the Elastic Network Adapter (ENA) driver // or the Intel 82599 Virtual Function driver. For more information, see // Networking and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) // and Enhanced networking on Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html) // in the Amazon EC2 User Guide for Linux, or Networking and storage features // (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#instance-networking-storage) // and Enhanced networking on Windows (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking.html) // in the Amazon EC2 User Guide for Windows. // // * StorageInterface — The storage interface of the recommended instance // type is different than that of the current instance. For example, the // recommended instance type uses an NVMe storage interface and the current // instance does not. To access NVMe volumes for the recommended instance // type, you will need to install or upgrade the NVMe driver. For more information, // see Networking and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) // and Amazon EBS and NVMe on Linux instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html) // in the Amazon EC2 User Guide for Linux, or Networking and storage features // (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#instance-networking-storage) // and Amazon EBS and NVMe on Windows instances (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/nvme-ebs-volumes.html) // in the Amazon EC2 User Guide for Windows. // // * InstanceStoreAvailability — The recommended instance type does not // support instance store volumes and the current instance does. Before migrating, // you might need to back up the data on your instance store volumes if you // want to preserve them. For more information, see How do I back up an instance // store volume on my Amazon EC2 instance to Amazon EBS? (https://aws.amazon.com/premiumsupport/knowledge-center/back-up-instance-store-ebs/) // in the Amazon Web Services Premium Support Knowledge Base. For more information, // see Networking and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) // and Amazon EC2 instance store (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) // in the Amazon EC2 User Guide for Linux, or see Networking and storage // features (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#instance-networking-storage) // and Amazon EC2 instance store (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/InstanceStorage.html) // in the Amazon EC2 User Guide for Windows. // // * VirtualizationType — The recommended instance type uses the hardware // virtual machine (HVM) virtualization type and the current instance uses // the paravirtual (PV) virtualization type. For more information about the // differences between these virtualization types, see Linux AMI virtualization // types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html) // in the Amazon EC2 User Guide for Linux, or Windows AMI virtualization // types (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-ami-version-history.html#virtualization-types) // in the Amazon EC2 User Guide for Windows. // // * Architecture — The CPU architecture between the recommended instance // type and the current instance is different. For example, the recommended // instance type might use an Arm CPU architecture and the current instance // type might use a different one, such as x86. Before migrating, you should // consider recompiling the software on your instance for the new architecture. // Alternatively, you might switch to an Amazon Machine Image (AMI) that // supports the new architecture. For more information about the CPU architecture // for each instance type, see Amazon EC2 Instance Types (http://aws.amazon.com/ec2/instance-types/). PlatformDifferences []*string `locationName:"platformDifferences" type:"list" enum:"PlatformDifference"` // An array of objects that describe the projected utilization metrics of the // instance recommendation option. // // The Cpu and Memory metrics are the only projected utilization metrics returned. // Additionally, the Memory metric is returned only for resources that have // the unified CloudWatch agent installed on them. For more information, see // Enabling Memory Utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent). ProjectedUtilizationMetrics []*UtilizationMetric `locationName:"projectedUtilizationMetrics" type:"list"` // The rank of the instance recommendation option. // // The top recommendation option is ranked as 1. Rank *int64 `locationName:"rank" type:"integer"` // An object that describes the savings opportunity for the instance recommendation // option. Savings opportunity includes the estimated monthly savings amount // and percentage. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // contains filtered or unexported fields }
Describes a recommendation option for an Amazon EC2 instance.
func (InstanceRecommendationOption) GoString ¶
func (s InstanceRecommendationOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InstanceRecommendationOption) SetInstanceGpuInfo ¶
func (s *InstanceRecommendationOption) SetInstanceGpuInfo(v *GpuInfo) *InstanceRecommendationOption
SetInstanceGpuInfo sets the InstanceGpuInfo field's value.
func (*InstanceRecommendationOption) SetInstanceType ¶
func (s *InstanceRecommendationOption) SetInstanceType(v string) *InstanceRecommendationOption
SetInstanceType sets the InstanceType field's value.
func (*InstanceRecommendationOption) SetMigrationEffort ¶
func (s *InstanceRecommendationOption) SetMigrationEffort(v string) *InstanceRecommendationOption
SetMigrationEffort sets the MigrationEffort field's value.
func (*InstanceRecommendationOption) SetPerformanceRisk ¶
func (s *InstanceRecommendationOption) SetPerformanceRisk(v float64) *InstanceRecommendationOption
SetPerformanceRisk sets the PerformanceRisk field's value.
func (*InstanceRecommendationOption) SetPlatformDifferences ¶
func (s *InstanceRecommendationOption) SetPlatformDifferences(v []*string) *InstanceRecommendationOption
SetPlatformDifferences sets the PlatformDifferences field's value.
func (*InstanceRecommendationOption) SetProjectedUtilizationMetrics ¶
func (s *InstanceRecommendationOption) SetProjectedUtilizationMetrics(v []*UtilizationMetric) *InstanceRecommendationOption
SetProjectedUtilizationMetrics sets the ProjectedUtilizationMetrics field's value.
func (*InstanceRecommendationOption) SetRank ¶
func (s *InstanceRecommendationOption) SetRank(v int64) *InstanceRecommendationOption
SetRank sets the Rank field's value.
func (*InstanceRecommendationOption) SetSavingsOpportunity ¶
func (s *InstanceRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *InstanceRecommendationOption
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (InstanceRecommendationOption) String ¶
func (s InstanceRecommendationOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An internal error has occurred. Try your call again.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidParameterValueException ¶
type InvalidParameterValueException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The value supplied for the input parameter is out of range or not valid.
func (*InvalidParameterValueException) Code ¶
func (s *InvalidParameterValueException) Code() string
Code returns the exception type name.
func (*InvalidParameterValueException) Error ¶
func (s *InvalidParameterValueException) Error() string
func (InvalidParameterValueException) GoString ¶
func (s InvalidParameterValueException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidParameterValueException) Message ¶
func (s *InvalidParameterValueException) Message() string
Message returns the exception's message.
func (*InvalidParameterValueException) OrigErr ¶
func (s *InvalidParameterValueException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterValueException) RequestID ¶
func (s *InvalidParameterValueException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterValueException) StatusCode ¶
func (s *InvalidParameterValueException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterValueException) String ¶
func (s InvalidParameterValueException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobFilter ¶
type JobFilter struct { // The name of the filter. // // Specify ResourceType to return export jobs of a specific resource type (for // example, Ec2Instance). // // Specify JobStatus to return export jobs with a specific status (e.g, Complete). Name *string `locationName:"name" type:"string" enum:"JobFilterName"` // The value of the filter. // // The valid values for this parameter are as follows, depending on what you // specify for the name parameter: // // * Specify Ec2Instance or AutoScalingGroup if you specify the name parameter // as ResourceType. There is no filter for EBS volumes because volume recommendations // cannot be exported at this time. // // * Specify Queued, InProgress, Complete, or Failed if you specify the name // parameter as JobStatus. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of recommendation export jobs. Use this filter with the DescribeRecommendationExportJobs action.
You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
func (JobFilter) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionMemoryProjectedMetric ¶
type LambdaFunctionMemoryProjectedMetric struct { // The name of the projected utilization metric. Name *string `locationName:"name" type:"string" enum:"LambdaFunctionMemoryMetricName"` // The statistic of the projected utilization metric. Statistic *string `locationName:"statistic" type:"string" enum:"LambdaFunctionMemoryMetricStatistic"` // The values of the projected utilization metrics. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
Describes a projected utilization metric of an Lambda function recommendation option.
func (LambdaFunctionMemoryProjectedMetric) GoString ¶
func (s LambdaFunctionMemoryProjectedMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionMemoryProjectedMetric) SetName ¶
func (s *LambdaFunctionMemoryProjectedMetric) SetName(v string) *LambdaFunctionMemoryProjectedMetric
SetName sets the Name field's value.
func (*LambdaFunctionMemoryProjectedMetric) SetStatistic ¶
func (s *LambdaFunctionMemoryProjectedMetric) SetStatistic(v string) *LambdaFunctionMemoryProjectedMetric
SetStatistic sets the Statistic field's value.
func (*LambdaFunctionMemoryProjectedMetric) SetValue ¶
func (s *LambdaFunctionMemoryProjectedMetric) SetValue(v float64) *LambdaFunctionMemoryProjectedMetric
SetValue sets the Value field's value.
func (LambdaFunctionMemoryProjectedMetric) String ¶
func (s LambdaFunctionMemoryProjectedMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionMemoryRecommendationOption ¶
type LambdaFunctionMemoryRecommendationOption struct { // The memory size, in MB, of the function recommendation option. MemorySize *int64 `locationName:"memorySize" type:"integer"` // An array of objects that describe the projected utilization metrics of the // function recommendation option. ProjectedUtilizationMetrics []*LambdaFunctionMemoryProjectedMetric `locationName:"projectedUtilizationMetrics" type:"list"` // The rank of the function recommendation option. // // The top recommendation option is ranked as 1. Rank *int64 `locationName:"rank" type:"integer"` // An object that describes the savings opportunity for the Lambda function // recommendation option. Savings opportunity includes the estimated monthly // savings amount and percentage. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // contains filtered or unexported fields }
Describes a recommendation option for an Lambda function.
func (LambdaFunctionMemoryRecommendationOption) GoString ¶
func (s LambdaFunctionMemoryRecommendationOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionMemoryRecommendationOption) SetMemorySize ¶
func (s *LambdaFunctionMemoryRecommendationOption) SetMemorySize(v int64) *LambdaFunctionMemoryRecommendationOption
SetMemorySize sets the MemorySize field's value.
func (*LambdaFunctionMemoryRecommendationOption) SetProjectedUtilizationMetrics ¶
func (s *LambdaFunctionMemoryRecommendationOption) SetProjectedUtilizationMetrics(v []*LambdaFunctionMemoryProjectedMetric) *LambdaFunctionMemoryRecommendationOption
SetProjectedUtilizationMetrics sets the ProjectedUtilizationMetrics field's value.
func (*LambdaFunctionMemoryRecommendationOption) SetRank ¶
func (s *LambdaFunctionMemoryRecommendationOption) SetRank(v int64) *LambdaFunctionMemoryRecommendationOption
SetRank sets the Rank field's value.
func (*LambdaFunctionMemoryRecommendationOption) SetSavingsOpportunity ¶
func (s *LambdaFunctionMemoryRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *LambdaFunctionMemoryRecommendationOption
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (LambdaFunctionMemoryRecommendationOption) String ¶
func (s LambdaFunctionMemoryRecommendationOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionRecommendation ¶
type LambdaFunctionRecommendation struct { // The Amazon Web Services account ID of the function. AccountId *string `locationName:"accountId" type:"string"` // The amount of memory, in MB, that's allocated to the current function. CurrentMemorySize *int64 `locationName:"currentMemorySize" type:"integer"` // The risk of the current Lambda function not meeting the performance needs // of its workloads. The higher the risk, the more likely the current Lambda // function requires more memory. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // The finding classification of the function. // // Findings for functions include: // // * Optimized — The function is correctly provisioned to run your workload // based on its current configuration and its utilization history. This finding // classification does not include finding reason codes. // // * NotOptimized — The function is performing at a higher level (over-provisioned) // or at a lower level (under-provisioned) than required for your workload // because its current configuration is not optimal. Over-provisioned resources // might lead to unnecessary infrastructure cost, and under-provisioned resources // might lead to poor application performance. This finding classification // can include the MemoryUnderprovisioned and MemoryUnderprovisioned finding // reason codes. // // * Unavailable — Compute Optimizer was unable to generate a recommendation // for the function. This could be because the function has not accumulated // sufficient metric data, or the function does not qualify for a recommendation. // This finding classification can include the InsufficientData and Inconclusive // finding reason codes. Functions with a finding of unavailable are not // returned unless you specify the filter parameter with a value of Unavailable // in your GetLambdaFunctionRecommendations request. Finding *string `locationName:"finding" type:"string" enum:"LambdaFunctionRecommendationFinding"` // The reason for the finding classification of the function. // // Functions that have a finding classification of Optimized don't have a finding // reason code. // // Finding reason codes for functions include: // // * MemoryOverprovisioned — The function is over-provisioned when its // memory configuration can be sized down while still meeting the performance // requirements of your workload. An over-provisioned function might lead // to unnecessary infrastructure cost. This finding reason code is part of // the NotOptimized finding classification. // // * MemoryUnderprovisioned — The function is under-provisioned when its // memory configuration doesn't meet the performance requirements of the // workload. An under-provisioned function might lead to poor application // performance. This finding reason code is part of the NotOptimized finding // classification. // // * InsufficientData — The function does not have sufficient metric data // for Compute Optimizer to generate a recommendation. For more information, // see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) // in the Compute Optimizer User Guide. This finding reason code is part // of the Unavailable finding classification. // // * Inconclusive — The function does not qualify for a recommendation // because Compute Optimizer cannot generate a recommendation with a high // degree of confidence. This finding reason code is part of the Unavailable // finding classification. FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list" enum:"LambdaFunctionRecommendationFindingReasonCode"` // The Amazon Resource Name (ARN) of the current function. FunctionArn *string `locationName:"functionArn" type:"string"` // The version number of the current function. FunctionVersion *string `locationName:"functionVersion" type:"string"` // The timestamp of when the function recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the function. LookbackPeriodInDays *float64 `locationName:"lookbackPeriodInDays" type:"double"` // An array of objects that describe the memory configuration recommendation // options for the function. MemorySizeRecommendationOptions []*LambdaFunctionMemoryRecommendationOption `locationName:"memorySizeRecommendationOptions" type:"list"` // The number of times your function code was applied during the look-back period. NumberOfInvocations *int64 `locationName:"numberOfInvocations" type:"long"` // A list of tags assigned to your Lambda function recommendations. Tags []*Tag `locationName:"tags" type:"list"` // An array of objects that describe the utilization metrics of the function. UtilizationMetrics []*LambdaFunctionUtilizationMetric `locationName:"utilizationMetrics" type:"list"` // contains filtered or unexported fields }
Describes an Lambda function recommendation.
func (LambdaFunctionRecommendation) GoString ¶
func (s LambdaFunctionRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionRecommendation) SetAccountId ¶
func (s *LambdaFunctionRecommendation) SetAccountId(v string) *LambdaFunctionRecommendation
SetAccountId sets the AccountId field's value.
func (*LambdaFunctionRecommendation) SetCurrentMemorySize ¶
func (s *LambdaFunctionRecommendation) SetCurrentMemorySize(v int64) *LambdaFunctionRecommendation
SetCurrentMemorySize sets the CurrentMemorySize field's value.
func (*LambdaFunctionRecommendation) SetCurrentPerformanceRisk ¶
func (s *LambdaFunctionRecommendation) SetCurrentPerformanceRisk(v string) *LambdaFunctionRecommendation
SetCurrentPerformanceRisk sets the CurrentPerformanceRisk field's value.
func (*LambdaFunctionRecommendation) SetFinding ¶
func (s *LambdaFunctionRecommendation) SetFinding(v string) *LambdaFunctionRecommendation
SetFinding sets the Finding field's value.
func (*LambdaFunctionRecommendation) SetFindingReasonCodes ¶
func (s *LambdaFunctionRecommendation) SetFindingReasonCodes(v []*string) *LambdaFunctionRecommendation
SetFindingReasonCodes sets the FindingReasonCodes field's value.
func (*LambdaFunctionRecommendation) SetFunctionArn ¶
func (s *LambdaFunctionRecommendation) SetFunctionArn(v string) *LambdaFunctionRecommendation
SetFunctionArn sets the FunctionArn field's value.
func (*LambdaFunctionRecommendation) SetFunctionVersion ¶
func (s *LambdaFunctionRecommendation) SetFunctionVersion(v string) *LambdaFunctionRecommendation
SetFunctionVersion sets the FunctionVersion field's value.
func (*LambdaFunctionRecommendation) SetLastRefreshTimestamp ¶
func (s *LambdaFunctionRecommendation) SetLastRefreshTimestamp(v time.Time) *LambdaFunctionRecommendation
SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value.
func (*LambdaFunctionRecommendation) SetLookbackPeriodInDays ¶
func (s *LambdaFunctionRecommendation) SetLookbackPeriodInDays(v float64) *LambdaFunctionRecommendation
SetLookbackPeriodInDays sets the LookbackPeriodInDays field's value.
func (*LambdaFunctionRecommendation) SetMemorySizeRecommendationOptions ¶
func (s *LambdaFunctionRecommendation) SetMemorySizeRecommendationOptions(v []*LambdaFunctionMemoryRecommendationOption) *LambdaFunctionRecommendation
SetMemorySizeRecommendationOptions sets the MemorySizeRecommendationOptions field's value.
func (*LambdaFunctionRecommendation) SetNumberOfInvocations ¶
func (s *LambdaFunctionRecommendation) SetNumberOfInvocations(v int64) *LambdaFunctionRecommendation
SetNumberOfInvocations sets the NumberOfInvocations field's value.
func (*LambdaFunctionRecommendation) SetTags ¶
func (s *LambdaFunctionRecommendation) SetTags(v []*Tag) *LambdaFunctionRecommendation
SetTags sets the Tags field's value.
func (*LambdaFunctionRecommendation) SetUtilizationMetrics ¶
func (s *LambdaFunctionRecommendation) SetUtilizationMetrics(v []*LambdaFunctionUtilizationMetric) *LambdaFunctionRecommendation
SetUtilizationMetrics sets the UtilizationMetrics field's value.
func (LambdaFunctionRecommendation) String ¶
func (s LambdaFunctionRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionRecommendationFilter ¶
type LambdaFunctionRecommendationFilter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification // (for example, NotOptimized). // // Specify FindingReasonCode to return recommendations with a specific finding // reason code (for example, MemoryUnderprovisioned). // // You can filter your Lambda function recommendations by tag:key and tag-key // tags. // // A tag:key is a key and value combination of a tag assigned to your Lambda // function recommendations. Use the tag key in the filter name and the tag // value as the filter value. For example, to find all Lambda function recommendations // that have a tag with the key of Owner and the value of TeamA, specify tag:Owner // for the filter name and TeamA for the filter value. // // A tag-key is the key of a tag assigned to your Lambda function recommendations. // Use this filter to find all of your Lambda function recommendations that // have a tag with a specific key. This doesn’t consider the tag value. For // example, you can find your Lambda function recommendations with a tag key // value of Owner or without any tag keys assigned. Name *string `locationName:"name" type:"string" enum:"LambdaFunctionRecommendationFilterName"` // The value of the filter. // // The valid values for this parameter are as follows, depending on what you // specify for the name parameter: // // * Specify Optimized, NotOptimized, or Unavailable if you specify the name // parameter as Finding. // // * Specify MemoryOverprovisioned, MemoryUnderprovisioned, InsufficientData, // or Inconclusive if you specify the name parameter as FindingReasonCode. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of Lambda function recommendations. Use this filter with the GetLambdaFunctionRecommendations action.
You can use EBSFilter with the GetEBSVolumeRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
func (LambdaFunctionRecommendationFilter) GoString ¶
func (s LambdaFunctionRecommendationFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionRecommendationFilter) SetName ¶
func (s *LambdaFunctionRecommendationFilter) SetName(v string) *LambdaFunctionRecommendationFilter
SetName sets the Name field's value.
func (*LambdaFunctionRecommendationFilter) SetValues ¶
func (s *LambdaFunctionRecommendationFilter) SetValues(v []*string) *LambdaFunctionRecommendationFilter
SetValues sets the Values field's value.
func (LambdaFunctionRecommendationFilter) String ¶
func (s LambdaFunctionRecommendationFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaFunctionUtilizationMetric ¶
type LambdaFunctionUtilizationMetric struct { // The name of the utilization metric. // // The following utilization metrics are available: // // * Duration - The amount of time that your function code spends processing // an event. // // * Memory - The amount of memory used per invocation. Name *string `locationName:"name" type:"string" enum:"LambdaFunctionMetricName"` // The statistic of the utilization metric. // // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return // utilization metrics using only the Maximum statistic, which is the highest // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"LambdaFunctionMetricStatistic"` // The value of the utilization metric. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
Describes a utilization metric of an Lambda function.
func (LambdaFunctionUtilizationMetric) GoString ¶
func (s LambdaFunctionUtilizationMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LambdaFunctionUtilizationMetric) SetName ¶
func (s *LambdaFunctionUtilizationMetric) SetName(v string) *LambdaFunctionUtilizationMetric
SetName sets the Name field's value.
func (*LambdaFunctionUtilizationMetric) SetStatistic ¶
func (s *LambdaFunctionUtilizationMetric) SetStatistic(v string) *LambdaFunctionUtilizationMetric
SetStatistic sets the Statistic field's value.
func (*LambdaFunctionUtilizationMetric) SetValue ¶
func (s *LambdaFunctionUtilizationMetric) SetValue(v float64) *LambdaFunctionUtilizationMetric
SetValue sets the Value field's value.
func (LambdaFunctionUtilizationMetric) String ¶
func (s LambdaFunctionUtilizationMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LicenseConfiguration ¶
type LicenseConfiguration struct { // The instance type used in the license. InstanceType *string `locationName:"instanceType" type:"string"` // The edition of the license for the application that runs on the instance. LicenseEdition *string `locationName:"licenseEdition" type:"string" enum:"LicenseEdition"` // The license type associated with the instance. LicenseModel *string `locationName:"licenseModel" type:"string" enum:"LicenseModel"` // The name of the license for the application that runs on the instance. LicenseName *string `locationName:"licenseName" type:"string" enum:"LicenseName"` // The version of the license for the application that runs on the instance. LicenseVersion *string `locationName:"licenseVersion" type:"string"` // The list of metric sources required to generate recommendations for commercial // software licenses. MetricsSource []*MetricSource `locationName:"metricsSource" type:"list"` // The current number of cores associated with the instance. NumberOfCores *int64 `locationName:"numberOfCores" type:"integer"` // The operating system of the instance. OperatingSystem *string `locationName:"operatingSystem" type:"string"` // contains filtered or unexported fields }
Describes the configuration of a license for an Amazon EC2 instance.
func (LicenseConfiguration) GoString ¶
func (s LicenseConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LicenseConfiguration) SetInstanceType ¶
func (s *LicenseConfiguration) SetInstanceType(v string) *LicenseConfiguration
SetInstanceType sets the InstanceType field's value.
func (*LicenseConfiguration) SetLicenseEdition ¶
func (s *LicenseConfiguration) SetLicenseEdition(v string) *LicenseConfiguration
SetLicenseEdition sets the LicenseEdition field's value.
func (*LicenseConfiguration) SetLicenseModel ¶
func (s *LicenseConfiguration) SetLicenseModel(v string) *LicenseConfiguration
SetLicenseModel sets the LicenseModel field's value.
func (*LicenseConfiguration) SetLicenseName ¶
func (s *LicenseConfiguration) SetLicenseName(v string) *LicenseConfiguration
SetLicenseName sets the LicenseName field's value.
func (*LicenseConfiguration) SetLicenseVersion ¶
func (s *LicenseConfiguration) SetLicenseVersion(v string) *LicenseConfiguration
SetLicenseVersion sets the LicenseVersion field's value.
func (*LicenseConfiguration) SetMetricsSource ¶
func (s *LicenseConfiguration) SetMetricsSource(v []*MetricSource) *LicenseConfiguration
SetMetricsSource sets the MetricsSource field's value.
func (*LicenseConfiguration) SetNumberOfCores ¶
func (s *LicenseConfiguration) SetNumberOfCores(v int64) *LicenseConfiguration
SetNumberOfCores sets the NumberOfCores field's value.
func (*LicenseConfiguration) SetOperatingSystem ¶
func (s *LicenseConfiguration) SetOperatingSystem(v string) *LicenseConfiguration
SetOperatingSystem sets the OperatingSystem field's value.
func (LicenseConfiguration) String ¶
func (s LicenseConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LicenseRecommendation ¶
type LicenseRecommendation struct { // The Amazon Web Services account ID of the license. AccountId *string `locationName:"accountId" type:"string"` // An object that describes the current configuration of an instance that runs // on a license. CurrentLicenseConfiguration *LicenseConfiguration `locationName:"currentLicenseConfiguration" type:"structure"` // The finding classification for an instance that runs on a license. // // Findings include: // // * InsufficentMetrics — When Compute Optimizer detects that your CloudWatch // Application Insights isn't enabled or is enabled with insufficient permissions. // // * NotOptimized — When Compute Optimizer detects that your EC2 infrastructure // isn't using any of the SQL server license features you're paying for, // a license is considered not optimized. // // * Optimized — When Compute Optimizer detects that all specifications // of your license meet the performance requirements of your workload. Finding *string `locationName:"finding" type:"string" enum:"LicenseFinding"` // The reason for the finding classification for an instance that runs on a // license. // // Finding reason codes include: // // * Optimized — All specifications of your license meet the performance // requirements of your workload. // // * LicenseOverprovisioned — A license is considered over-provisioned // when your license can be downgraded while still meeting the performance // requirements of your workload. // // * InvalidCloudwatchApplicationInsights — CloudWatch Application Insights // isn't configured properly. // // * CloudwatchApplicationInsightsError — There is a CloudWatch Application // Insights error. FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list" enum:"LicenseFindingReasonCode"` // The timestamp of when the license recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // An array of objects that describe the license recommendation options. LicenseRecommendationOptions []*LicenseRecommendationOption `locationName:"licenseRecommendationOptions" type:"list"` // The number of days for which utilization metrics were analyzed for an instance // that runs on a license. LookbackPeriodInDays *float64 `locationName:"lookbackPeriodInDays" type:"double"` // The ARN that identifies the Amazon EC2 instance. ResourceArn *string `locationName:"resourceArn" type:"string"` // A list of tags assigned to an EC2 instance. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Describes a license recommendation for an EC2 instance.
func (LicenseRecommendation) GoString ¶
func (s LicenseRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LicenseRecommendation) SetAccountId ¶
func (s *LicenseRecommendation) SetAccountId(v string) *LicenseRecommendation
SetAccountId sets the AccountId field's value.
func (*LicenseRecommendation) SetCurrentLicenseConfiguration ¶
func (s *LicenseRecommendation) SetCurrentLicenseConfiguration(v *LicenseConfiguration) *LicenseRecommendation
SetCurrentLicenseConfiguration sets the CurrentLicenseConfiguration field's value.
func (*LicenseRecommendation) SetFinding ¶
func (s *LicenseRecommendation) SetFinding(v string) *LicenseRecommendation
SetFinding sets the Finding field's value.
func (*LicenseRecommendation) SetFindingReasonCodes ¶
func (s *LicenseRecommendation) SetFindingReasonCodes(v []*string) *LicenseRecommendation
SetFindingReasonCodes sets the FindingReasonCodes field's value.
func (*LicenseRecommendation) SetLastRefreshTimestamp ¶
func (s *LicenseRecommendation) SetLastRefreshTimestamp(v time.Time) *LicenseRecommendation
SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value.
func (*LicenseRecommendation) SetLicenseRecommendationOptions ¶
func (s *LicenseRecommendation) SetLicenseRecommendationOptions(v []*LicenseRecommendationOption) *LicenseRecommendation
SetLicenseRecommendationOptions sets the LicenseRecommendationOptions field's value.
func (*LicenseRecommendation) SetLookbackPeriodInDays ¶
func (s *LicenseRecommendation) SetLookbackPeriodInDays(v float64) *LicenseRecommendation
SetLookbackPeriodInDays sets the LookbackPeriodInDays field's value.
func (*LicenseRecommendation) SetResourceArn ¶
func (s *LicenseRecommendation) SetResourceArn(v string) *LicenseRecommendation
SetResourceArn sets the ResourceArn field's value.
func (*LicenseRecommendation) SetTags ¶
func (s *LicenseRecommendation) SetTags(v []*Tag) *LicenseRecommendation
SetTags sets the Tags field's value.
func (LicenseRecommendation) String ¶
func (s LicenseRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LicenseRecommendationFilter ¶
type LicenseRecommendationFilter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification. // // Specify FindingReasonCode to return recommendations with a specific finding // reason code. // // You can filter your license recommendations by tag:key and tag-key tags. // // A tag:key is a key and value combination of a tag assigned to your license // recommendations. Use the tag key in the filter name and the tag value as // the filter value. For example, to find all license recommendations that have // a tag with the key of Owner and the value of TeamA, specify tag:Owner for // the filter name and TeamA for the filter value. // // A tag-key is the key of a tag assigned to your license recommendations. Use // this filter to find all of your license recommendations that have a tag with // a specific key. This doesn’t consider the tag value. For example, you can // find your license recommendations with a tag key value of Owner or without // any tag keys assigned. Name *string `locationName:"name" type:"string" enum:"LicenseRecommendationFilterName"` // The value of the filter. // // The valid values for this parameter are as follows, depending on what you // specify for the name parameter: // // * If you specify the name parameter as Finding, then specify Optimized, // NotOptimized, or InsufficentMetrics. // // * If you specify the name parameter as FindingReasonCode, then specify // Optimized, LicenseOverprovisioned, InvalidCloudwatchApplicationInsights, // or CloudwatchApplicationInsightsError. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a filter that returns a more specific list of license recommendations. Use this filter with the GetLicenseRecommendation action.
func (LicenseRecommendationFilter) GoString ¶
func (s LicenseRecommendationFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LicenseRecommendationFilter) SetName ¶
func (s *LicenseRecommendationFilter) SetName(v string) *LicenseRecommendationFilter
SetName sets the Name field's value.
func (*LicenseRecommendationFilter) SetValues ¶
func (s *LicenseRecommendationFilter) SetValues(v []*string) *LicenseRecommendationFilter
SetValues sets the Values field's value.
func (LicenseRecommendationFilter) String ¶
func (s LicenseRecommendationFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LicenseRecommendationOption ¶
type LicenseRecommendationOption struct { // The recommended edition of the license for the application that runs on the // instance. LicenseEdition *string `locationName:"licenseEdition" type:"string" enum:"LicenseEdition"` // The recommended license type associated with the instance. LicenseModel *string `locationName:"licenseModel" type:"string" enum:"LicenseModel"` // The operating system of a license recommendation option. OperatingSystem *string `locationName:"operatingSystem" type:"string"` // The rank of the license recommendation option. // // The top recommendation option is ranked as 1. Rank *int64 `locationName:"rank" type:"integer"` // Describes the savings opportunity for recommendations of a given resource // type or for the recommendation option of an individual resource. // // Savings opportunity represents the estimated monthly savings you can achieve // by implementing a given Compute Optimizer recommendation. // // Savings opportunity data requires that you opt in to Cost Explorer, as well // as activate Receive Amazon EC2 resource recommendations in the Cost Explorer // preferences page. That creates a connection between Cost Explorer and Compute // Optimizer. With this connection, Cost Explorer generates savings estimates // considering the price of existing resources, the price of recommended resources, // and historical usage data. Estimated monthly savings reflects the projected // dollar savings associated with each of the recommendations generated. For // more information, see Enabling Cost Explorer (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) // and Optimizing your cost with Rightsizing Recommendations (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) // in the Cost Management User Guide. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // contains filtered or unexported fields }
Describes the recommendation options for licenses.
func (LicenseRecommendationOption) GoString ¶
func (s LicenseRecommendationOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LicenseRecommendationOption) SetLicenseEdition ¶
func (s *LicenseRecommendationOption) SetLicenseEdition(v string) *LicenseRecommendationOption
SetLicenseEdition sets the LicenseEdition field's value.
func (*LicenseRecommendationOption) SetLicenseModel ¶
func (s *LicenseRecommendationOption) SetLicenseModel(v string) *LicenseRecommendationOption
SetLicenseModel sets the LicenseModel field's value.
func (*LicenseRecommendationOption) SetOperatingSystem ¶
func (s *LicenseRecommendationOption) SetOperatingSystem(v string) *LicenseRecommendationOption
SetOperatingSystem sets the OperatingSystem field's value.
func (*LicenseRecommendationOption) SetRank ¶
func (s *LicenseRecommendationOption) SetRank(v int64) *LicenseRecommendationOption
SetRank sets the Rank field's value.
func (*LicenseRecommendationOption) SetSavingsOpportunity ¶
func (s *LicenseRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *LicenseRecommendationOption
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (LicenseRecommendationOption) String ¶
func (s LicenseRecommendationOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LimitExceededException ¶
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request exceeds a limit of the service.
func (*LimitExceededException) Code ¶
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶
func (s LimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LimitExceededException) Message ¶
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶
func (s LimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MemorySizeConfiguration ¶
type MemorySizeConfiguration struct { // The amount of memory in the container. Memory *int64 `locationName:"memory" type:"integer"` // The limit of memory reserve for the container. MemoryReservation *int64 `locationName:"memoryReservation" type:"integer"` // contains filtered or unexported fields }
The memory size configurations of a container.
func (MemorySizeConfiguration) GoString ¶
func (s MemorySizeConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MemorySizeConfiguration) SetMemory ¶
func (s *MemorySizeConfiguration) SetMemory(v int64) *MemorySizeConfiguration
SetMemory sets the Memory field's value.
func (*MemorySizeConfiguration) SetMemoryReservation ¶
func (s *MemorySizeConfiguration) SetMemoryReservation(v int64) *MemorySizeConfiguration
SetMemoryReservation sets the MemoryReservation field's value.
func (MemorySizeConfiguration) String ¶
func (s MemorySizeConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MetricSource ¶
type MetricSource struct { // The name of the metric source provider. Provider *string `locationName:"provider" type:"string" enum:"MetricSourceProvider"` // The ARN of the metric source provider. ProviderArn *string `locationName:"providerArn" type:"string"` // contains filtered or unexported fields }
The list of metric sources required to generate recommendations for commercial software licenses.
func (MetricSource) GoString ¶
func (s MetricSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MetricSource) SetProvider ¶
func (s *MetricSource) SetProvider(v string) *MetricSource
SetProvider sets the Provider field's value.
func (*MetricSource) SetProviderArn ¶
func (s *MetricSource) SetProviderArn(v string) *MetricSource
SetProviderArn sets the ProviderArn field's value.
func (MetricSource) String ¶
func (s MetricSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MissingAuthenticationToken ¶
type MissingAuthenticationToken struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
func (*MissingAuthenticationToken) Code ¶
func (s *MissingAuthenticationToken) Code() string
Code returns the exception type name.
func (*MissingAuthenticationToken) Error ¶
func (s *MissingAuthenticationToken) Error() string
func (MissingAuthenticationToken) GoString ¶
func (s MissingAuthenticationToken) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MissingAuthenticationToken) Message ¶
func (s *MissingAuthenticationToken) Message() string
Message returns the exception's message.
func (*MissingAuthenticationToken) OrigErr ¶
func (s *MissingAuthenticationToken) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MissingAuthenticationToken) RequestID ¶
func (s *MissingAuthenticationToken) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MissingAuthenticationToken) StatusCode ¶
func (s *MissingAuthenticationToken) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MissingAuthenticationToken) String ¶
func (s MissingAuthenticationToken) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OptInRequiredException ¶
type OptInRequiredException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The account is not opted in to Compute Optimizer.
func (*OptInRequiredException) Code ¶
func (s *OptInRequiredException) Code() string
Code returns the exception type name.
func (*OptInRequiredException) Error ¶
func (s *OptInRequiredException) Error() string
func (OptInRequiredException) GoString ¶
func (s OptInRequiredException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OptInRequiredException) Message ¶
func (s *OptInRequiredException) Message() string
Message returns the exception's message.
func (*OptInRequiredException) OrigErr ¶
func (s *OptInRequiredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*OptInRequiredException) RequestID ¶
func (s *OptInRequiredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*OptInRequiredException) StatusCode ¶
func (s *OptInRequiredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (OptInRequiredException) String ¶
func (s OptInRequiredException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProjectedMetric ¶
type ProjectedMetric struct { // The name of the projected utilization metric. // // The following projected utilization metrics are returned: // // * Cpu - The projected percentage of allocated EC2 compute units that would // be in use on the recommendation option had you used that resource during // the analyzed period. This metric identifies the processing power required // to run an application on the recommendation option. Depending on the instance // type, tools in your operating system can show a lower percentage than // CloudWatch when the instance is not allocated a full processor core. // // * Memory - The percentage of memory that would be in use on the recommendation // option had you used that resource during the analyzed period. This metric // identifies the amount of memory required to run an application on the // recommendation option. Units: Percent The Memory metric is only returned // for resources with the unified CloudWatch agent installed on them. For // more information, see Enabling Memory Utilization with the CloudWatch // Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent). // // * GPU - The projected percentage of allocated GPUs if you adjust your // configurations to Compute Optimizer's recommendation option. // // * GPU_MEMORY - The projected percentage of total GPU memory if you adjust // your configurations to Compute Optimizer's recommendation option. The // GPU and GPU_MEMORY metrics are only returned for resources with the unified // CloudWatch Agent installed on them. For more information, see Enabling // NVIDIA GPU utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#nvidia-cw-agent). Name *string `locationName:"name" type:"string" enum:"MetricName"` // The timestamps of the projected utilization metric. Timestamps []*time.Time `locationName:"timestamps" type:"list"` // The values of the projected utilization metrics. Values []*float64 `locationName:"values" type:"list"` // contains filtered or unexported fields }
Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance. This represents the projected utilization of a recommendation option had you used that resource during the analyzed period.
Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.
The Cpu, Memory, GPU, and GPU_MEMORY metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, these metrics are only returned for resources with the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent) and Enabling NVIDIA GPU utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#nvidia-cw-agent).
func (ProjectedMetric) GoString ¶
func (s ProjectedMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProjectedMetric) SetName ¶
func (s *ProjectedMetric) SetName(v string) *ProjectedMetric
SetName sets the Name field's value.
func (*ProjectedMetric) SetTimestamps ¶
func (s *ProjectedMetric) SetTimestamps(v []*time.Time) *ProjectedMetric
SetTimestamps sets the Timestamps field's value.
func (*ProjectedMetric) SetValues ¶
func (s *ProjectedMetric) SetValues(v []*float64) *ProjectedMetric
SetValues sets the Values field's value.
func (ProjectedMetric) String ¶
func (s ProjectedMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutRecommendationPreferencesInput ¶
type PutRecommendationPreferencesInput struct { // The status of the enhanced infrastructure metrics recommendation preference // to create or update. // // Specify the Active status to activate the preference, or specify Inactive // to deactivate the preference. // // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` // The provider of the external metrics recommendation preference to create // or update. // // Specify a valid provider in the source field to activate the preference. // To delete this preference, see the DeleteRecommendationPreferences action. // // This preference can only be set for the Ec2Instance resource type. // // For more information, see External metrics ingestion (https://docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html) // in the Compute Optimizer User Guide. ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` // The status of the inferred workload types recommendation preference to create // or update. // // The inferred workload type feature is active by default. To deactivate it, // create a recommendation preference. // // Specify the Inactive status to deactivate the feature, or specify Active // to activate it. // // For more information, see Inferred workload types (https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html) // in the Compute Optimizer User Guide. InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` // The target resource type of the recommendation preference to create. // // The Ec2Instance option encompasses standalone instances and instances that // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. // // The valid values for this parameter are Ec2Instance and AutoScalingGroup. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` // An object that describes the scope of the recommendation preference to create. // // You can create recommendation preferences at the organization level (for // management accounts of an organization only), account level, and resource // level. For more information, see Activating enhanced infrastructure metrics // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. // // You cannot create recommendation preferences for Auto Scaling groups at the // organization and account levels. You can create recommendation preferences // for Auto Scaling groups only at the resource level by specifying a scope // name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource // Name (ARN). This will configure the preference for all instances that are // part of the specified Auto Scaling group. You also cannot create recommendation // preferences at the resource level for instances that are part of an Auto // Scaling group. You can create recommendation preferences at the resource // level only for standalone instances. Scope *Scope `locationName:"scope" type:"structure"` // contains filtered or unexported fields }
func (PutRecommendationPreferencesInput) GoString ¶
func (s PutRecommendationPreferencesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRecommendationPreferencesInput) SetEnhancedInfrastructureMetrics ¶
func (s *PutRecommendationPreferencesInput) SetEnhancedInfrastructureMetrics(v string) *PutRecommendationPreferencesInput
SetEnhancedInfrastructureMetrics sets the EnhancedInfrastructureMetrics field's value.
func (*PutRecommendationPreferencesInput) SetExternalMetricsPreference ¶
func (s *PutRecommendationPreferencesInput) SetExternalMetricsPreference(v *ExternalMetricsPreference) *PutRecommendationPreferencesInput
SetExternalMetricsPreference sets the ExternalMetricsPreference field's value.
func (*PutRecommendationPreferencesInput) SetInferredWorkloadTypes ¶
func (s *PutRecommendationPreferencesInput) SetInferredWorkloadTypes(v string) *PutRecommendationPreferencesInput
SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value.
func (*PutRecommendationPreferencesInput) SetResourceType ¶
func (s *PutRecommendationPreferencesInput) SetResourceType(v string) *PutRecommendationPreferencesInput
SetResourceType sets the ResourceType field's value.
func (*PutRecommendationPreferencesInput) SetScope ¶
func (s *PutRecommendationPreferencesInput) SetScope(v *Scope) *PutRecommendationPreferencesInput
SetScope sets the Scope field's value.
func (PutRecommendationPreferencesInput) String ¶
func (s PutRecommendationPreferencesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRecommendationPreferencesInput) Validate ¶
func (s *PutRecommendationPreferencesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutRecommendationPreferencesOutput ¶
type PutRecommendationPreferencesOutput struct {
// contains filtered or unexported fields
}
func (PutRecommendationPreferencesOutput) GoString ¶
func (s PutRecommendationPreferencesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutRecommendationPreferencesOutput) String ¶
func (s PutRecommendationPreferencesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ReasonCodeSummary ¶
type ReasonCodeSummary struct { // The name of the finding reason code. Name *string `locationName:"name" type:"string" enum:"FindingReasonCode"` // The value of the finding reason code summary. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
A summary of a finding reason code.
func (ReasonCodeSummary) GoString ¶
func (s ReasonCodeSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReasonCodeSummary) SetName ¶
func (s *ReasonCodeSummary) SetName(v string) *ReasonCodeSummary
SetName sets the Name field's value.
func (*ReasonCodeSummary) SetValue ¶
func (s *ReasonCodeSummary) SetValue(v float64) *ReasonCodeSummary
SetValue sets the Value field's value.
func (ReasonCodeSummary) String ¶
func (s ReasonCodeSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationExportJob ¶
type RecommendationExportJob struct { // The timestamp of when the export job was created. CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` // An object that describes the destination of the export file. Destination *ExportDestination `locationName:"destination" type:"structure"` // The reason for an export job failure. FailureReason *string `locationName:"failureReason" type:"string"` // The identification number of the export job. JobId *string `locationName:"jobId" type:"string"` // The timestamp of when the export job was last updated. LastUpdatedTimestamp *time.Time `locationName:"lastUpdatedTimestamp" type:"timestamp"` // The resource type of the exported recommendations. ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` // The status of the export job. Status *string `locationName:"status" type:"string" enum:"JobStatus"` // contains filtered or unexported fields }
Describes a recommendation export job.
Use the DescribeRecommendationExportJobs action to view your recommendation export jobs.
Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations.
func (RecommendationExportJob) GoString ¶
func (s RecommendationExportJob) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationExportJob) SetCreationTimestamp ¶
func (s *RecommendationExportJob) SetCreationTimestamp(v time.Time) *RecommendationExportJob
SetCreationTimestamp sets the CreationTimestamp field's value.
func (*RecommendationExportJob) SetDestination ¶
func (s *RecommendationExportJob) SetDestination(v *ExportDestination) *RecommendationExportJob
SetDestination sets the Destination field's value.
func (*RecommendationExportJob) SetFailureReason ¶
func (s *RecommendationExportJob) SetFailureReason(v string) *RecommendationExportJob
SetFailureReason sets the FailureReason field's value.
func (*RecommendationExportJob) SetJobId ¶
func (s *RecommendationExportJob) SetJobId(v string) *RecommendationExportJob
SetJobId sets the JobId field's value.
func (*RecommendationExportJob) SetLastUpdatedTimestamp ¶
func (s *RecommendationExportJob) SetLastUpdatedTimestamp(v time.Time) *RecommendationExportJob
SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
func (*RecommendationExportJob) SetResourceType ¶
func (s *RecommendationExportJob) SetResourceType(v string) *RecommendationExportJob
SetResourceType sets the ResourceType field's value.
func (*RecommendationExportJob) SetStatus ¶
func (s *RecommendationExportJob) SetStatus(v string) *RecommendationExportJob
SetStatus sets the Status field's value.
func (RecommendationExportJob) String ¶
func (s RecommendationExportJob) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationPreferences ¶
type RecommendationPreferences struct { // Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto // Scaling group recommendations. // // For example, when you specify AWS_ARM64 with: // // * A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations // request, Compute Optimizer returns recommendations that consist of Graviton2 // instance types only. // // * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns // projected utilization metrics for Graviton2 instance type recommendations // only. // // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations // request, Compute Optimizer exports recommendations that consist of Graviton2 // instance types only. CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` // contains filtered or unexported fields }
Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, and GetEC2RecommendationProjectedMetrics request.
func (RecommendationPreferences) GoString ¶
func (s RecommendationPreferences) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationPreferences) SetCpuVendorArchitectures ¶
func (s *RecommendationPreferences) SetCpuVendorArchitectures(v []*string) *RecommendationPreferences
SetCpuVendorArchitectures sets the CpuVendorArchitectures field's value.
func (RecommendationPreferences) String ¶
func (s RecommendationPreferences) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationPreferencesDetail ¶
type RecommendationPreferencesDetail struct { // The status of the enhanced infrastructure metrics recommendation preference. // // When the recommendations page is refreshed, a status of Active confirms that // the preference is applied to the recommendations, and a status of Inactive // confirms that the preference isn't yet applied to recommendations. // // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` // An object that describes the external metrics recommendation preference. // // If the preference is applied in the latest recommendation refresh, an object // with a valid source value appears in the response. If the preference isn't // applied to the recommendations already, then this object doesn't appear in // the response. ExternalMetricsPreference *ExternalMetricsPreference `locationName:"externalMetricsPreference" type:"structure"` // The status of the inferred workload types recommendation preference. // // When the recommendations page is refreshed, a status of Active confirms that // the preference is applied to the recommendations, and a status of Inactive // confirms that the preference isn't yet applied to recommendations. InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` // The target resource type of the recommendation preference to create. // // The Ec2Instance option encompasses standalone instances and instances that // are part of Auto Scaling groups. The AutoScalingGroup option encompasses // only instances that are part of an Auto Scaling group. ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` // An object that describes the scope of the recommendation preference. // // Recommendation preferences can be created at the organization level (for // management accounts of an organization only), account level, and resource // level. For more information, see Activating enhanced infrastructure metrics // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) // in the Compute Optimizer User Guide. Scope *Scope `locationName:"scope" type:"structure"` // contains filtered or unexported fields }
Describes a recommendation preference.
func (RecommendationPreferencesDetail) GoString ¶
func (s RecommendationPreferencesDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationPreferencesDetail) SetEnhancedInfrastructureMetrics ¶
func (s *RecommendationPreferencesDetail) SetEnhancedInfrastructureMetrics(v string) *RecommendationPreferencesDetail
SetEnhancedInfrastructureMetrics sets the EnhancedInfrastructureMetrics field's value.
func (*RecommendationPreferencesDetail) SetExternalMetricsPreference ¶
func (s *RecommendationPreferencesDetail) SetExternalMetricsPreference(v *ExternalMetricsPreference) *RecommendationPreferencesDetail
SetExternalMetricsPreference sets the ExternalMetricsPreference field's value.
func (*RecommendationPreferencesDetail) SetInferredWorkloadTypes ¶
func (s *RecommendationPreferencesDetail) SetInferredWorkloadTypes(v string) *RecommendationPreferencesDetail
SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value.
func (*RecommendationPreferencesDetail) SetResourceType ¶
func (s *RecommendationPreferencesDetail) SetResourceType(v string) *RecommendationPreferencesDetail
SetResourceType sets the ResourceType field's value.
func (*RecommendationPreferencesDetail) SetScope ¶
func (s *RecommendationPreferencesDetail) SetScope(v *Scope) *RecommendationPreferencesDetail
SetScope sets the Scope field's value.
func (RecommendationPreferencesDetail) String ¶
func (s RecommendationPreferencesDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationSource ¶
type RecommendationSource struct { // The Amazon Resource Name (ARN) of the recommendation source. RecommendationSourceArn *string `locationName:"recommendationSourceArn" type:"string"` // The resource type of the recommendation source. RecommendationSourceType *string `locationName:"recommendationSourceType" type:"string" enum:"RecommendationSourceType"` // contains filtered or unexported fields }
Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.
func (RecommendationSource) GoString ¶
func (s RecommendationSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationSource) SetRecommendationSourceArn ¶
func (s *RecommendationSource) SetRecommendationSourceArn(v string) *RecommendationSource
SetRecommendationSourceArn sets the RecommendationSourceArn field's value.
func (*RecommendationSource) SetRecommendationSourceType ¶
func (s *RecommendationSource) SetRecommendationSourceType(v string) *RecommendationSource
SetRecommendationSourceType sets the RecommendationSourceType field's value.
func (RecommendationSource) String ¶
func (s RecommendationSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationSummary ¶
type RecommendationSummary struct { // The Amazon Web Services account ID of the recommendation summary. AccountId *string `locationName:"accountId" type:"string"` // An object that describes the performance risk ratings for a given resource // type. CurrentPerformanceRiskRatings *CurrentPerformanceRiskRatings `locationName:"currentPerformanceRiskRatings" type:"structure"` // An array of objects that describes the estimated monthly saving amounts for // the instances running on the specified inferredWorkloadTypes. The array contains // the top five savings opportunites for the instances that run inferred workload // types. InferredWorkloadSavings []*InferredWorkloadSaving `locationName:"inferredWorkloadSavings" type:"list"` // The resource type that the recommendation summary applies to. RecommendationResourceType *string `locationName:"recommendationResourceType" type:"string" enum:"RecommendationSourceType"` // An object that describes the savings opportunity for a given resource type. // Savings opportunity includes the estimated monthly savings amount and percentage. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // An array of objects that describe a recommendation summary. Summaries []*Summary `locationName:"summaries" type:"list"` // contains filtered or unexported fields }
A summary of a recommendation.
func (RecommendationSummary) GoString ¶
func (s RecommendationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationSummary) SetAccountId ¶
func (s *RecommendationSummary) SetAccountId(v string) *RecommendationSummary
SetAccountId sets the AccountId field's value.
func (*RecommendationSummary) SetCurrentPerformanceRiskRatings ¶
func (s *RecommendationSummary) SetCurrentPerformanceRiskRatings(v *CurrentPerformanceRiskRatings) *RecommendationSummary
SetCurrentPerformanceRiskRatings sets the CurrentPerformanceRiskRatings field's value.
func (*RecommendationSummary) SetInferredWorkloadSavings ¶
func (s *RecommendationSummary) SetInferredWorkloadSavings(v []*InferredWorkloadSaving) *RecommendationSummary
SetInferredWorkloadSavings sets the InferredWorkloadSavings field's value.
func (*RecommendationSummary) SetRecommendationResourceType ¶
func (s *RecommendationSummary) SetRecommendationResourceType(v string) *RecommendationSummary
SetRecommendationResourceType sets the RecommendationResourceType field's value.
func (*RecommendationSummary) SetSavingsOpportunity ¶
func (s *RecommendationSummary) SetSavingsOpportunity(v *SavingsOpportunity) *RecommendationSummary
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (*RecommendationSummary) SetSummaries ¶
func (s *RecommendationSummary) SetSummaries(v []*Summary) *RecommendationSummary
SetSummaries sets the Summaries field's value.
func (RecommendationSummary) String ¶
func (s RecommendationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendedOptionProjectedMetric ¶
type RecommendedOptionProjectedMetric struct { // An array of objects that describe a projected utilization metric. ProjectedMetrics []*ProjectedMetric `locationName:"projectedMetrics" type:"list"` // The rank of the recommendation option projected metric. // // The top recommendation option is ranked as 1. // // The projected metric rank correlates to the recommendation option rank. For // example, the projected metric ranked as 1 is related to the recommendation // option that is also ranked as 1 in the same response. Rank *int64 `locationName:"rank" type:"integer"` // The recommended instance type. RecommendedInstanceType *string `locationName:"recommendedInstanceType" type:"string"` // contains filtered or unexported fields }
Describes a projected utilization metric of a recommendation option.
The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent).
func (RecommendedOptionProjectedMetric) GoString ¶
func (s RecommendedOptionProjectedMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendedOptionProjectedMetric) SetProjectedMetrics ¶
func (s *RecommendedOptionProjectedMetric) SetProjectedMetrics(v []*ProjectedMetric) *RecommendedOptionProjectedMetric
SetProjectedMetrics sets the ProjectedMetrics field's value.
func (*RecommendedOptionProjectedMetric) SetRank ¶
func (s *RecommendedOptionProjectedMetric) SetRank(v int64) *RecommendedOptionProjectedMetric
SetRank sets the Rank field's value.
func (*RecommendedOptionProjectedMetric) SetRecommendedInstanceType ¶
func (s *RecommendedOptionProjectedMetric) SetRecommendedInstanceType(v string) *RecommendedOptionProjectedMetric
SetRecommendedInstanceType sets the RecommendedInstanceType field's value.
func (RecommendedOptionProjectedMetric) String ¶
func (s RecommendedOptionProjectedMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A resource that is required for the action doesn't exist.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3Destination ¶
type S3Destination struct { // The name of the Amazon S3 bucket used as the destination of an export file. Bucket *string `locationName:"bucket" type:"string"` // The Amazon S3 bucket key of an export file. // // The key uniquely identifies the object, or export file, in the S3 bucket. Key *string `locationName:"key" type:"string"` // The Amazon S3 bucket key of a metadata file. // // The key uniquely identifies the object, or metadata file, in the S3 bucket. MetadataKey *string `locationName:"metadataKey" type:"string"` // contains filtered or unexported fields }
Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a recommendations export file, and its associated metadata file.
func (S3Destination) GoString ¶
func (s S3Destination) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3Destination) SetBucket ¶
func (s *S3Destination) SetBucket(v string) *S3Destination
SetBucket sets the Bucket field's value.
func (*S3Destination) SetKey ¶
func (s *S3Destination) SetKey(v string) *S3Destination
SetKey sets the Key field's value.
func (*S3Destination) SetMetadataKey ¶
func (s *S3Destination) SetMetadataKey(v string) *S3Destination
SetMetadataKey sets the MetadataKey field's value.
func (S3Destination) String ¶
func (s S3Destination) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3DestinationConfig ¶
type S3DestinationConfig struct { // The name of the Amazon S3 bucket to use as the destination for an export // job. Bucket *string `locationName:"bucket" type:"string"` // The Amazon S3 bucket prefix for an export job. KeyPrefix *string `locationName:"keyPrefix" type:"string"` // contains filtered or unexported fields }
Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations 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.
func (S3DestinationConfig) GoString ¶
func (s S3DestinationConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3DestinationConfig) SetBucket ¶
func (s *S3DestinationConfig) SetBucket(v string) *S3DestinationConfig
SetBucket sets the Bucket field's value.
func (*S3DestinationConfig) SetKeyPrefix ¶
func (s *S3DestinationConfig) SetKeyPrefix(v string) *S3DestinationConfig
SetKeyPrefix sets the KeyPrefix field's value.
func (S3DestinationConfig) String ¶
func (s S3DestinationConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SavingsOpportunity ¶
type SavingsOpportunity struct { // An object that describes the estimated monthly savings amount possible by // adopting Compute Optimizer recommendations for a given resource. This is // based on the On-Demand instance pricing.. EstimatedMonthlySavings *EstimatedMonthlySavings `locationName:"estimatedMonthlySavings" type:"structure"` // The estimated monthly savings possible as a percentage of monthly cost by // adopting Compute Optimizer recommendations for a given resource. SavingsOpportunityPercentage *float64 `locationName:"savingsOpportunityPercentage" type:"double"` // contains filtered or unexported fields }
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) and Optimizing your cost with Rightsizing Recommendations (https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) in the Cost Management User Guide.
func (SavingsOpportunity) GoString ¶
func (s SavingsOpportunity) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SavingsOpportunity) SetEstimatedMonthlySavings ¶
func (s *SavingsOpportunity) SetEstimatedMonthlySavings(v *EstimatedMonthlySavings) *SavingsOpportunity
SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value.
func (*SavingsOpportunity) SetSavingsOpportunityPercentage ¶
func (s *SavingsOpportunity) SetSavingsOpportunityPercentage(v float64) *SavingsOpportunity
SetSavingsOpportunityPercentage sets the SavingsOpportunityPercentage field's value.
func (SavingsOpportunity) String ¶
func (s SavingsOpportunity) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Scope ¶
type Scope struct { // The name of the scope. // // The following scopes are possible: // // * Organization - Specifies that the recommendation preference applies // at the organization level, for all member accounts of an organization. // // * AccountId - Specifies that the recommendation preference applies at // the account level, for all resources of a given resource type in an account. // // * ResourceArn - Specifies that the recommendation preference applies at // the individual resource level. Name *string `locationName:"name" type:"string" enum:"ScopeName"` // The value of the scope. // // If you specified the name of the scope as: // // * Organization - The value must be ALL_ACCOUNTS. // // * AccountId - The value must be a 12-digit Amazon Web Services account // ID. // // * ResourceArn - The value must be the Amazon Resource Name (ARN) of an // EC2 instance or an Auto Scaling group. // // Only EC2 instance and Auto Scaling group ARNs are currently supported. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Describes the scope of a recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) in the Compute Optimizer User Guide.
You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified Auto Scaling group. You also cannot create recommendation preferences at the resource level for instances that are part of an Auto Scaling group. You can create recommendation preferences at the resource level only for standalone instances.
func (Scope) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceConfiguration ¶
type ServiceConfiguration struct { // Describes the Auto Scaling configuration methods for an Amazon ECS service. // This affects the generated recommendations. For example, if Auto Scaling // is configured on a service’s CPU, then Compute Optimizer doesn’t generate // CPU size recommendations. // // The Auto Scaling configuration methods include: // // * TARGET_TRACKING_SCALING_CPU — If the Amazon ECS service is configured // to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations. // // * TARGET_TRACKING_SCALING_MEMORY — If the Amazon ECS service is configured // to use target scaling on memory, Compute Optimizer doesn't generate memory // recommendations. // // For more information about step scaling and target scaling, see Step scaling // policies for Application Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) // and Target tracking scaling policies for Application Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) // in the Application Auto Scaling User Guide. AutoScalingConfiguration *string `locationName:"autoScalingConfiguration" type:"string" enum:"AutoScalingConfiguration"` // The container configurations within a task of an Amazon ECS service. ContainerConfigurations []*ContainerConfiguration `locationName:"containerConfigurations" type:"list"` // The number of CPU units used by the tasks in the Amazon ECS service. Cpu *int64 `locationName:"cpu" type:"integer"` // The amount of memory used by the tasks in the Amazon ECS service. Memory *int64 `locationName:"memory" type:"integer"` // The task definition ARN used by the tasks in the Amazon ECS service. TaskDefinitionArn *string `locationName:"taskDefinitionArn" type:"string"` // contains filtered or unexported fields }
The Amazon ECS service configurations used for recommendations.
func (ServiceConfiguration) GoString ¶
func (s ServiceConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceConfiguration) SetAutoScalingConfiguration ¶
func (s *ServiceConfiguration) SetAutoScalingConfiguration(v string) *ServiceConfiguration
SetAutoScalingConfiguration sets the AutoScalingConfiguration field's value.
func (*ServiceConfiguration) SetContainerConfigurations ¶
func (s *ServiceConfiguration) SetContainerConfigurations(v []*ContainerConfiguration) *ServiceConfiguration
SetContainerConfigurations sets the ContainerConfigurations field's value.
func (*ServiceConfiguration) SetCpu ¶
func (s *ServiceConfiguration) SetCpu(v int64) *ServiceConfiguration
SetCpu sets the Cpu field's value.
func (*ServiceConfiguration) SetMemory ¶
func (s *ServiceConfiguration) SetMemory(v int64) *ServiceConfiguration
SetMemory sets the Memory field's value.
func (*ServiceConfiguration) SetTaskDefinitionArn ¶
func (s *ServiceConfiguration) SetTaskDefinitionArn(v string) *ServiceConfiguration
SetTaskDefinitionArn sets the TaskDefinitionArn field's value.
func (ServiceConfiguration) String ¶
func (s ServiceConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceUnavailableException ¶
type ServiceUnavailableException struct { // contains filtered or unexported fields }
The request has failed due to a temporary failure of the server.
func (*ServiceUnavailableException) Code ¶
func (s *ServiceUnavailableException) Code() string
Code returns the exception type name.
func (*ServiceUnavailableException) Error ¶
func (s *ServiceUnavailableException) Error() string
func (ServiceUnavailableException) GoString ¶
func (s ServiceUnavailableException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceUnavailableException) Message ¶
func (s *ServiceUnavailableException) Message() string
Message returns the exception's message.
func (*ServiceUnavailableException) OrigErr ¶
func (s *ServiceUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceUnavailableException) RequestID ¶
func (s *ServiceUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceUnavailableException) StatusCode ¶
func (s *ServiceUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceUnavailableException) String ¶
func (s ServiceUnavailableException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Summary ¶
type Summary struct { // The finding classification of the recommendation. Name *string `locationName:"name" type:"string" enum:"Finding"` // An array of objects that summarize a finding reason code. ReasonCodeSummaries []*ReasonCodeSummary `locationName:"reasonCodeSummaries" type:"list"` // The value of the recommendation summary. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
The summary of a recommendation.
func (Summary) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Summary) SetReasonCodeSummaries ¶
func (s *Summary) SetReasonCodeSummaries(v []*ReasonCodeSummary) *Summary
SetReasonCodeSummaries sets the ReasonCodeSummaries field's value.
type Tag ¶
type Tag struct { // One part of a key-value pair that makes up a tag. A key is a general label // that acts like a category for more specific tag values. Key *string `locationName:"key" type:"string"` // One part of a key-value pair that make up a tag. A value acts as a descriptor // within a tag category (key). The value can be empty or null. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
A list of tag key and value pairs that you define.
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateEnrollmentStatusInput ¶
type UpdateEnrollmentStatusInput struct { // Indicates whether to enroll member accounts of the organization if the account // is the management account of an organization. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` // The new enrollment status of the account. // // The following status options are available: // // * Active - Opts in your account to the Compute Optimizer service. Compute // Optimizer begins analyzing the configuration and utilization metrics of // your Amazon Web Services resources after you opt in. For more information, // see Metrics analyzed by Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html) // in the Compute Optimizer User Guide. // // * Inactive - Opts out your account from the Compute Optimizer service. // Your account's recommendations and related metrics data will be deleted // from Compute Optimizer after you opt out. // // The Pending and Failed options cannot be used to update the enrollment status // of an account. They are returned in the response of a request to update the // enrollment status of an account. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"Status"` // contains filtered or unexported fields }
func (UpdateEnrollmentStatusInput) GoString ¶
func (s UpdateEnrollmentStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEnrollmentStatusInput) SetIncludeMemberAccounts ¶
func (s *UpdateEnrollmentStatusInput) SetIncludeMemberAccounts(v bool) *UpdateEnrollmentStatusInput
SetIncludeMemberAccounts sets the IncludeMemberAccounts field's value.
func (*UpdateEnrollmentStatusInput) SetStatus ¶
func (s *UpdateEnrollmentStatusInput) SetStatus(v string) *UpdateEnrollmentStatusInput
SetStatus sets the Status field's value.
func (UpdateEnrollmentStatusInput) String ¶
func (s UpdateEnrollmentStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEnrollmentStatusInput) Validate ¶
func (s *UpdateEnrollmentStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEnrollmentStatusOutput ¶
type UpdateEnrollmentStatusOutput struct { // The enrollment status of the account. Status *string `locationName:"status" type:"string" enum:"Status"` // The reason for the enrollment status of the account. For example, an account // might show a status of Pending because member accounts of an organization // require more time to be enrolled in the service. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
func (UpdateEnrollmentStatusOutput) GoString ¶
func (s UpdateEnrollmentStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEnrollmentStatusOutput) SetStatus ¶
func (s *UpdateEnrollmentStatusOutput) SetStatus(v string) *UpdateEnrollmentStatusOutput
SetStatus sets the Status field's value.
func (*UpdateEnrollmentStatusOutput) SetStatusReason ¶
func (s *UpdateEnrollmentStatusOutput) SetStatusReason(v string) *UpdateEnrollmentStatusOutput
SetStatusReason sets the StatusReason field's value.
func (UpdateEnrollmentStatusOutput) String ¶
func (s UpdateEnrollmentStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UtilizationMetric ¶
type UtilizationMetric struct { // The name of the utilization metric. // // The following utilization metrics are available: // // * Cpu - The percentage of allocated EC2 compute units that are currently // in use on the instance. This metric identifies the processing power required // to run an application on the instance. Depending on the instance type, // tools in your operating system can show a lower percentage than CloudWatch // when the instance is not allocated a full processor core. Units: Percent // // * Memory - The percentage of memory that is currently in use on the instance. // This metric identifies the amount of memory required to run an application // on the instance. Units: Percent The Memory metric is returned only for // resources that have the unified CloudWatch agent installed on them. For // more information, see Enabling Memory Utilization with the CloudWatch // Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent). // // * GPU - The percentage of allocated GPUs that currently run on the instance. // // * GPU_MEMORY - The percentage of total GPU memory that currently runs // on the instance. The GPU and GPU_MEMORY metrics are only returned for // resources with the unified CloudWatch Agent installed on them. For more // information, see Enabling NVIDIA GPU utilization with the CloudWatch Agent // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#nvidia-cw-agent). // // * EBS_READ_OPS_PER_SECOND - The completed read operations from all EBS // volumes attached to the instance in a specified period of time. Unit: // Count // // * EBS_WRITE_OPS_PER_SECOND - The completed write operations to all EBS // volumes attached to the instance in a specified period of time. Unit: // Count // // * EBS_READ_BYTES_PER_SECOND - The bytes read from all EBS volumes attached // to the instance in a specified period of time. Unit: Bytes // // * EBS_WRITE_BYTES_PER_SECOND - The bytes written to all EBS volumes attached // to the instance in a specified period of time. Unit: Bytes // // * DISK_READ_OPS_PER_SECOND - The completed read operations from all instance // store volumes available to the instance in a specified period of time. // If there are no instance store volumes, either the value is 0 or the metric // is not reported. // // * DISK_WRITE_OPS_PER_SECOND - The completed write operations from all // instance store volumes available to the instance in a specified period // of time. If there are no instance store volumes, either the value is 0 // or the metric is not reported. // // * DISK_READ_BYTES_PER_SECOND - The bytes read from all instance store // volumes available to the instance. This metric is used to determine the // volume of the data the application reads from the disk of the instance. // This can be used to determine the speed of the application. If there are // no instance store volumes, either the value is 0 or the metric is not // reported. // // * DISK_WRITE_BYTES_PER_SECOND - The bytes written to all instance store // volumes available to the instance. This metric is used to determine the // volume of the data the application writes onto the disk of the instance. // This can be used to determine the speed of the application. If there are // no instance store volumes, either the value is 0 or the metric is not // reported. // // * NETWORK_IN_BYTES_PER_SECOND - The number of bytes received by the instance // on all network interfaces. This metric identifies the volume of incoming // network traffic to a single instance. // // * NETWORK_OUT_BYTES_PER_SECOND - The number of bytes sent out by the instance // on all network interfaces. This metric identifies the volume of outgoing // network traffic from a single instance. // // * NETWORK_PACKETS_IN_PER_SECOND - The number of packets received by the // instance on all network interfaces. This metric identifies the volume // of incoming traffic in terms of the number of packets on a single instance. // // * NETWORK_PACKETS_OUT_PER_SECOND - The number of packets sent out by the // instance on all network interfaces. This metric identifies the volume // of outgoing traffic in terms of the number of packets on a single instance. Name *string `locationName:"name" type:"string" enum:"MetricName"` // The statistic of the utilization metric. // // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return // utilization metrics using only the Maximum statistic, which is the highest // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"MetricStatistic"` // The value of the utilization metric. Value *float64 `locationName:"value" type:"double"` // contains filtered or unexported fields }
Describes a utilization metric of a resource, such as an Amazon EC2 instance.
Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.
func (UtilizationMetric) GoString ¶
func (s UtilizationMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UtilizationMetric) SetName ¶
func (s *UtilizationMetric) SetName(v string) *UtilizationMetric
SetName sets the Name field's value.
func (*UtilizationMetric) SetStatistic ¶
func (s *UtilizationMetric) SetStatistic(v string) *UtilizationMetric
SetStatistic sets the Statistic field's value.
func (*UtilizationMetric) SetValue ¶
func (s *UtilizationMetric) SetValue(v float64) *UtilizationMetric
SetValue sets the Value field's value.
func (UtilizationMetric) String ¶
func (s UtilizationMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VolumeConfiguration ¶
type VolumeConfiguration struct { // Contains the image used to boot the instance during launch. RootVolume *bool `locationName:"rootVolume" type:"boolean"` // The baseline IOPS of the volume. VolumeBaselineIOPS *int64 `locationName:"volumeBaselineIOPS" type:"integer"` // The baseline throughput of the volume. VolumeBaselineThroughput *int64 `locationName:"volumeBaselineThroughput" type:"integer"` // The burst IOPS of the volume. VolumeBurstIOPS *int64 `locationName:"volumeBurstIOPS" type:"integer"` // The burst throughput of the volume. VolumeBurstThroughput *int64 `locationName:"volumeBurstThroughput" type:"integer"` // The size of the volume, in GiB. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` // The volume type. // // This can be gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS // SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for // Magnetic volumes. VolumeType *string `locationName:"volumeType" type:"string"` // contains filtered or unexported fields }
Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.
func (VolumeConfiguration) GoString ¶
func (s VolumeConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VolumeConfiguration) SetRootVolume ¶
func (s *VolumeConfiguration) SetRootVolume(v bool) *VolumeConfiguration
SetRootVolume sets the RootVolume field's value.
func (*VolumeConfiguration) SetVolumeBaselineIOPS ¶
func (s *VolumeConfiguration) SetVolumeBaselineIOPS(v int64) *VolumeConfiguration
SetVolumeBaselineIOPS sets the VolumeBaselineIOPS field's value.
func (*VolumeConfiguration) SetVolumeBaselineThroughput ¶
func (s *VolumeConfiguration) SetVolumeBaselineThroughput(v int64) *VolumeConfiguration
SetVolumeBaselineThroughput sets the VolumeBaselineThroughput field's value.
func (*VolumeConfiguration) SetVolumeBurstIOPS ¶
func (s *VolumeConfiguration) SetVolumeBurstIOPS(v int64) *VolumeConfiguration
SetVolumeBurstIOPS sets the VolumeBurstIOPS field's value.
func (*VolumeConfiguration) SetVolumeBurstThroughput ¶
func (s *VolumeConfiguration) SetVolumeBurstThroughput(v int64) *VolumeConfiguration
SetVolumeBurstThroughput sets the VolumeBurstThroughput field's value.
func (*VolumeConfiguration) SetVolumeSize ¶
func (s *VolumeConfiguration) SetVolumeSize(v int64) *VolumeConfiguration
SetVolumeSize sets the VolumeSize field's value.
func (*VolumeConfiguration) SetVolumeType ¶
func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration
SetVolumeType sets the VolumeType field's value.
func (VolumeConfiguration) String ¶
func (s VolumeConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VolumeRecommendation ¶
type VolumeRecommendation struct { // The Amazon Web Services account ID of the volume. AccountId *string `locationName:"accountId" type:"string"` // An array of objects that describe the current configuration of the volume. CurrentConfiguration *VolumeConfiguration `locationName:"currentConfiguration" type:"structure"` // The risk of the current EBS volume not meeting the performance needs of its // workloads. The higher the risk, the more likely the current EBS volume doesn't // have sufficient capacity. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // The finding classification of the volume. // // Findings for volumes include: // // * NotOptimized —A volume is considered not optimized when Compute Optimizer // identifies a recommendation that can provide better performance for your // workload. // // * Optimized —An volume is considered optimized when Compute Optimizer // determines that the volume is correctly provisioned to run your workload // based on the chosen volume type. For optimized resources, Compute Optimizer // might recommend a new generation volume type. Finding *string `locationName:"finding" type:"string" enum:"EBSFinding"` // The timestamp of when the volume recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the volume. LookBackPeriodInDays *float64 `locationName:"lookBackPeriodInDays" type:"double"` // A list of tags assigned to your Amazon EBS volume recommendations. Tags []*Tag `locationName:"tags" type:"list"` // An array of objects that describe the utilization metrics of the volume. UtilizationMetrics []*EBSUtilizationMetric `locationName:"utilizationMetrics" type:"list"` // The Amazon Resource Name (ARN) of the current volume. VolumeArn *string `locationName:"volumeArn" type:"string"` // An array of objects that describe the recommendation options for the volume. VolumeRecommendationOptions []*VolumeRecommendationOption `locationName:"volumeRecommendationOptions" type:"list"` // contains filtered or unexported fields }
Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
func (VolumeRecommendation) GoString ¶
func (s VolumeRecommendation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VolumeRecommendation) SetAccountId ¶
func (s *VolumeRecommendation) SetAccountId(v string) *VolumeRecommendation
SetAccountId sets the AccountId field's value.
func (*VolumeRecommendation) SetCurrentConfiguration ¶
func (s *VolumeRecommendation) SetCurrentConfiguration(v *VolumeConfiguration) *VolumeRecommendation
SetCurrentConfiguration sets the CurrentConfiguration field's value.
func (*VolumeRecommendation) SetCurrentPerformanceRisk ¶
func (s *VolumeRecommendation) SetCurrentPerformanceRisk(v string) *VolumeRecommendation
SetCurrentPerformanceRisk sets the CurrentPerformanceRisk field's value.
func (*VolumeRecommendation) SetFinding ¶
func (s *VolumeRecommendation) SetFinding(v string) *VolumeRecommendation
SetFinding sets the Finding field's value.
func (*VolumeRecommendation) SetLastRefreshTimestamp ¶
func (s *VolumeRecommendation) SetLastRefreshTimestamp(v time.Time) *VolumeRecommendation
SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value.
func (*VolumeRecommendation) SetLookBackPeriodInDays ¶
func (s *VolumeRecommendation) SetLookBackPeriodInDays(v float64) *VolumeRecommendation
SetLookBackPeriodInDays sets the LookBackPeriodInDays field's value.
func (*VolumeRecommendation) SetTags ¶
func (s *VolumeRecommendation) SetTags(v []*Tag) *VolumeRecommendation
SetTags sets the Tags field's value.
func (*VolumeRecommendation) SetUtilizationMetrics ¶
func (s *VolumeRecommendation) SetUtilizationMetrics(v []*EBSUtilizationMetric) *VolumeRecommendation
SetUtilizationMetrics sets the UtilizationMetrics field's value.
func (*VolumeRecommendation) SetVolumeArn ¶
func (s *VolumeRecommendation) SetVolumeArn(v string) *VolumeRecommendation
SetVolumeArn sets the VolumeArn field's value.
func (*VolumeRecommendation) SetVolumeRecommendationOptions ¶
func (s *VolumeRecommendation) SetVolumeRecommendationOptions(v []*VolumeRecommendationOption) *VolumeRecommendation
SetVolumeRecommendationOptions sets the VolumeRecommendationOptions field's value.
func (VolumeRecommendation) String ¶
func (s VolumeRecommendation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VolumeRecommendationOption ¶
type VolumeRecommendationOption struct { // An array of objects that describe a volume configuration. Configuration *VolumeConfiguration `locationName:"configuration" type:"structure"` // The performance risk of the volume recommendation option. // // Performance risk is the likelihood of the recommended volume type meeting // the performance requirement of your workload. // // The value ranges from 0 - 4, with 0 meaning that the recommended resource // is predicted to always provide enough hardware capability. The higher the // performance risk is, the more likely you should validate whether the recommendation // will meet the performance requirements of your workload before migrating // your resource. PerformanceRisk *float64 `locationName:"performanceRisk" type:"double"` // The rank of the volume recommendation option. // // The top recommendation option is ranked as 1. Rank *int64 `locationName:"rank" type:"integer"` // An object that describes the savings opportunity for the EBS volume recommendation // option. Savings opportunity includes the estimated monthly savings amount // and percentage. SavingsOpportunity *SavingsOpportunity `locationName:"savingsOpportunity" type:"structure"` // contains filtered or unexported fields }
Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.
func (VolumeRecommendationOption) GoString ¶
func (s VolumeRecommendationOption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VolumeRecommendationOption) SetConfiguration ¶
func (s *VolumeRecommendationOption) SetConfiguration(v *VolumeConfiguration) *VolumeRecommendationOption
SetConfiguration sets the Configuration field's value.
func (*VolumeRecommendationOption) SetPerformanceRisk ¶
func (s *VolumeRecommendationOption) SetPerformanceRisk(v float64) *VolumeRecommendationOption
SetPerformanceRisk sets the PerformanceRisk field's value.
func (*VolumeRecommendationOption) SetRank ¶
func (s *VolumeRecommendationOption) SetRank(v int64) *VolumeRecommendationOption
SetRank sets the Rank field's value.
func (*VolumeRecommendationOption) SetSavingsOpportunity ¶
func (s *VolumeRecommendationOption) SetSavingsOpportunity(v *SavingsOpportunity) *VolumeRecommendationOption
SetSavingsOpportunity sets the SavingsOpportunity field's value.
func (VolumeRecommendationOption) String ¶
func (s VolumeRecommendationOption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package computeoptimizeriface provides an interface to enable mocking the AWS Compute Optimizer service client for testing your code.
|
Package computeoptimizeriface provides an interface to enable mocking the AWS Compute Optimizer service client for testing your code. |