aws-sdk-computeoptimizer 1.34.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2718a575580c615691a5d00f12a9488453f78a13b1767d26c0eb9304f4df05b1
4
- data.tar.gz: 7b35bde9b37994545e96aea0b87e937406629c46b17761711d9b0a25d72c5263
3
+ metadata.gz: a9208ba72141d857d64509d05f5fad6e620b2d260416af3de3144bbba67a5026
4
+ data.tar.gz: 2933d38f6cb115fc1aa0039784ab076e480001c9165d3d767d1ce13a4e44e494
5
5
  SHA512:
6
- metadata.gz: 6d3c82defe250d0850cb6550ef31d6952f2d3ca58f7fb54a352393299319903d4628273b1b3191909456c3a13da5711f7f7ea11439b14ba3b78783bc0655ee92
7
- data.tar.gz: aa67ba9f612489ceedc93d0aaf600ea12381e9e3dcdaf98e35de3a244d760f8c4227b7dbfbda4dd60b5e63aefaf8186a5fdd650eb31317cc102747241fe8407e
6
+ metadata.gz: 40ed2d1f666b87089584622964d20f10c1bb875cf3e66eda97c394665f74cd7717d664d8dc576fe0859955dc5854eb6f555dcb6c4c01736b895f66b1637a7e67
7
+ data.tar.gz: 5d54f0e03324d66047820884a7eaed663277fcd2c235488944b196a60682163a05cf74c883319eb40214f6848ec29a141df1c47e6630a932ba3f5b99ba8e2e89
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2022-11-29)
5
+ ------------------
6
+
7
+ * Feature - Adds support for a new recommendation preference that makes it possible for customers to optimize their EC2 recommendations by utilizing an external metrics ingestion service to provide metrics.
8
+
4
9
  1.34.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.35.0
@@ -418,10 +418,6 @@ module Aws::ComputeOptimizer
418
418
  # @option params [required, Array<String>] :recommendation_preference_names
419
419
  # The name of the recommendation preference to delete.
420
420
  #
421
- # Enhanced infrastructure metrics (`EnhancedInfrastructureMetrics`) is
422
- # the only feature that can be activated through preferences. Therefore,
423
- # it is also the only recommendation preference that can be deleted.
424
- #
425
421
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
426
422
  #
427
423
  # @example Request syntax with placeholder values
@@ -432,7 +428,7 @@ module Aws::ComputeOptimizer
432
428
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
433
429
  # value: "ScopeValue",
434
430
  # },
435
- # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes
431
+ # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes, ExternalMetricsPreference
436
432
  # })
437
433
  #
438
434
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences AWS API Documentation
@@ -892,7 +888,7 @@ module Aws::ComputeOptimizer
892
888
  # values: ["FilterValue"],
893
889
  # },
894
890
  # ],
895
- # fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort
891
+ # fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource
896
892
  # s3_destination_config: { # required
897
893
  # bucket: "DestinationBucket",
898
894
  # key_prefix: "DestinationKeyPrefix",
@@ -1157,6 +1153,7 @@ module Aws::ComputeOptimizer
1157
1153
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
1158
1154
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1159
1155
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
1156
+ # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1160
1157
  # resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
1161
1158
  # resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
1162
1159
  # resp.errors #=> Array
@@ -1386,6 +1383,7 @@ module Aws::ComputeOptimizer
1386
1383
  # resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
1387
1384
  # resp.instance_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1388
1385
  # resp.instance_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
1386
+ # resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1389
1387
  # resp.instance_recommendations[0].inferred_workload_types #=> Array
1390
1388
  # resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
1391
1389
  # resp.errors #=> Array
@@ -1492,6 +1490,7 @@ module Aws::ComputeOptimizer
1492
1490
  # @return [Types::GetEffectiveRecommendationPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1493
1491
  #
1494
1492
  # * {Types::GetEffectiveRecommendationPreferencesResponse#enhanced_infrastructure_metrics #enhanced_infrastructure_metrics} => String
1493
+ # * {Types::GetEffectiveRecommendationPreferencesResponse#external_metrics_preference #external_metrics_preference} => Types::ExternalMetricsPreference
1495
1494
  #
1496
1495
  # @example Request syntax with placeholder values
1497
1496
  #
@@ -1502,6 +1501,7 @@ module Aws::ComputeOptimizer
1502
1501
  # @example Response structure
1503
1502
  #
1504
1503
  # resp.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1504
+ # resp.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1505
1505
  #
1506
1506
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferences AWS API Documentation
1507
1507
  #
@@ -1792,6 +1792,7 @@ module Aws::ComputeOptimizer
1792
1792
  # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable"
1793
1793
  # resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1794
1794
  # resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
1795
+ # resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1795
1796
  #
1796
1797
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences AWS API Documentation
1797
1798
  #
@@ -1962,6 +1963,23 @@ module Aws::ComputeOptimizer
1962
1963
  #
1963
1964
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html
1964
1965
  #
1966
+ # @option params [Types::ExternalMetricsPreference] :external_metrics_preference
1967
+ # The provider of the external metrics recommendation preference to
1968
+ # create or update.
1969
+ #
1970
+ # Specify a valid provider in the `source` field to activate the
1971
+ # preference. To delete this preference, see the
1972
+ # DeleteRecommendationPreferences action.
1973
+ #
1974
+ # This preference can only be set for the `Ec2Instance` resource type.
1975
+ #
1976
+ # For more information, see [External metrics ingestion][1] in the
1977
+ # *Compute Optimizer User Guide*.
1978
+ #
1979
+ #
1980
+ #
1981
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html
1982
+ #
1965
1983
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1966
1984
  #
1967
1985
  # @example Request syntax with placeholder values
@@ -1974,6 +1992,9 @@ module Aws::ComputeOptimizer
1974
1992
  # },
1975
1993
  # enhanced_infrastructure_metrics: "Active", # accepts Active, Inactive
1976
1994
  # inferred_workload_types: "Active", # accepts Active, Inactive
1995
+ # external_metrics_preference: {
1996
+ # source: "Datadog", # accepts Datadog, Dynatrace, NewRelic, Instana
1997
+ # },
1977
1998
  # })
1978
1999
  #
1979
2000
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences AWS API Documentation
@@ -2074,7 +2095,7 @@ module Aws::ComputeOptimizer
2074
2095
  params: params,
2075
2096
  config: config)
2076
2097
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2077
- context[:gem_version] = '1.34.0'
2098
+ context[:gem_version] = '1.35.0'
2078
2099
  Seahorse::Client::Request.new(handlers, context)
2079
2100
  end
2080
2101
 
@@ -73,6 +73,8 @@ module Aws::ComputeOptimizer
73
73
  ExportableLambdaFunctionFields = Shapes::ListShape.new(name: 'ExportableLambdaFunctionFields')
74
74
  ExportableVolumeField = Shapes::StringShape.new(name: 'ExportableVolumeField')
75
75
  ExportableVolumeFields = Shapes::ListShape.new(name: 'ExportableVolumeFields')
76
+ ExternalMetricsPreference = Shapes::StructureShape.new(name: 'ExternalMetricsPreference')
77
+ ExternalMetricsSource = Shapes::StringShape.new(name: 'ExternalMetricsSource')
76
78
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
77
79
  FileFormat = Shapes::StringShape.new(name: 'FileFormat')
78
80
  Filter = Shapes::StructureShape.new(name: 'Filter')
@@ -327,6 +329,7 @@ module Aws::ComputeOptimizer
327
329
  EffectiveRecommendationPreferences.add_member(:cpu_vendor_architectures, Shapes::ShapeRef.new(shape: CpuVendorArchitectures, location_name: "cpuVendorArchitectures"))
328
330
  EffectiveRecommendationPreferences.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
329
331
  EffectiveRecommendationPreferences.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypesPreference, location_name: "inferredWorkloadTypes"))
332
+ EffectiveRecommendationPreferences.add_member(:external_metrics_preference, Shapes::ShapeRef.new(shape: ExternalMetricsPreference, location_name: "externalMetricsPreference"))
330
333
  EffectiveRecommendationPreferences.struct_class = Types::EffectiveRecommendationPreferences
331
334
 
332
335
  EnrollmentFilter.add_member(:name, Shapes::ShapeRef.new(shape: EnrollmentFilterName, location_name: "name"))
@@ -400,6 +403,9 @@ module Aws::ComputeOptimizer
400
403
 
401
404
  ExportableVolumeFields.member = Shapes::ShapeRef.new(shape: ExportableVolumeField)
402
405
 
406
+ ExternalMetricsPreference.add_member(:source, Shapes::ShapeRef.new(shape: ExternalMetricsSource, location_name: "source"))
407
+ ExternalMetricsPreference.struct_class = Types::ExternalMetricsPreference
408
+
403
409
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
404
410
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "values"))
405
411
  Filter.struct_class = Types::Filter
@@ -463,6 +469,7 @@ module Aws::ComputeOptimizer
463
469
  GetEffectiveRecommendationPreferencesRequest.struct_class = Types::GetEffectiveRecommendationPreferencesRequest
464
470
 
465
471
  GetEffectiveRecommendationPreferencesResponse.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
472
+ GetEffectiveRecommendationPreferencesResponse.add_member(:external_metrics_preference, Shapes::ShapeRef.new(shape: ExternalMetricsPreference, location_name: "externalMetricsPreference"))
466
473
  GetEffectiveRecommendationPreferencesResponse.struct_class = Types::GetEffectiveRecommendationPreferencesResponse
467
474
 
468
475
  GetEnrollmentStatusRequest.struct_class = Types::GetEnrollmentStatusRequest
@@ -639,6 +646,7 @@ module Aws::ComputeOptimizer
639
646
  PutRecommendationPreferencesRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
640
647
  PutRecommendationPreferencesRequest.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
641
648
  PutRecommendationPreferencesRequest.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypesPreference, location_name: "inferredWorkloadTypes"))
649
+ PutRecommendationPreferencesRequest.add_member(:external_metrics_preference, Shapes::ShapeRef.new(shape: ExternalMetricsPreference, location_name: "externalMetricsPreference"))
642
650
  PutRecommendationPreferencesRequest.struct_class = Types::PutRecommendationPreferencesRequest
643
651
 
644
652
  PutRecommendationPreferencesResponse.struct_class = Types::PutRecommendationPreferencesResponse
@@ -671,6 +679,7 @@ module Aws::ComputeOptimizer
671
679
  RecommendationPreferencesDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
672
680
  RecommendationPreferencesDetail.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
673
681
  RecommendationPreferencesDetail.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypesPreference, location_name: "inferredWorkloadTypes"))
682
+ RecommendationPreferencesDetail.add_member(:external_metrics_preference, Shapes::ShapeRef.new(shape: ExternalMetricsPreference, location_name: "externalMetricsPreference"))
674
683
  RecommendationPreferencesDetail.struct_class = Types::RecommendationPreferencesDetail
675
684
 
676
685
  RecommendationPreferencesDetails.member = Shapes::ShapeRef.new(shape: RecommendationPreferencesDetail)
@@ -50,6 +50,9 @@ module Aws::ComputeOptimizer
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -29,83 +29,83 @@ module Aws::ComputeOptimizer
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiM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dLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0
104
+ aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5
105
+ cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsi
106
+ dXJsIjoiaHR0cHM6Ly9jb21wdXRlLW9wdGltaXplci57UmVnaW9ufS57UGFy
107
+ dGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVh
108
+ ZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
109
109
 
110
110
  JSON
111
111
  end
@@ -332,7 +332,7 @@ module Aws::ComputeOptimizer
332
332
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
333
333
  # value: "ScopeValue",
334
334
  # },
335
- # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes
335
+ # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes, ExternalMetricsPreference
336
336
  # }
337
337
  #
338
338
  # @!attribute [rw] resource_type
@@ -366,11 +366,6 @@ module Aws::ComputeOptimizer
366
366
  #
367
367
  # @!attribute [rw] recommendation_preference_names
368
368
  # The name of the recommendation preference to delete.
369
- #
370
- # Enhanced infrastructure metrics (`EnhancedInfrastructureMetrics`) is
371
- # the only feature that can be activated through preferences.
372
- # Therefore, it is also the only recommendation preference that can be
373
- # deleted.
374
369
  # @return [Array<String>]
375
370
  #
376
371
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferencesRequest AWS API Documentation
@@ -616,12 +611,23 @@ module Aws::ComputeOptimizer
616
611
  # it's not yet applied to recommendations.
617
612
  # @return [String]
618
613
  #
614
+ # @!attribute [rw] external_metrics_preference
615
+ # An object that describes the external metrics recommendation
616
+ # preference.
617
+ #
618
+ # If the preference is applied in the latest recommendation refresh,
619
+ # an object with a valid `source` value appears in the response. If
620
+ # the preference isn't applied to the recommendations already, then
621
+ # this object doesn't appear in the response.
622
+ # @return [Types::ExternalMetricsPreference]
623
+ #
619
624
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/EffectiveRecommendationPreferences AWS API Documentation
620
625
  #
621
626
  class EffectiveRecommendationPreferences < Struct.new(
622
627
  :cpu_vendor_architectures,
623
628
  :enhanced_infrastructure_metrics,
624
- :inferred_workload_types)
629
+ :inferred_workload_types,
630
+ :external_metrics_preference)
625
631
  SENSITIVE = []
626
632
  include Aws::Structure
627
633
  end
@@ -1000,7 +1006,7 @@ module Aws::ComputeOptimizer
1000
1006
  # values: ["FilterValue"],
1001
1007
  # },
1002
1008
  # ],
1003
- # fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort
1009
+ # fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource
1004
1010
  # s3_destination_config: { # required
1005
1011
  # bucket: "DestinationBucket",
1006
1012
  # key_prefix: "DestinationKeyPrefix",
@@ -1270,6 +1276,28 @@ module Aws::ComputeOptimizer
1270
1276
  include Aws::Structure
1271
1277
  end
1272
1278
 
1279
+ # Describes the external metrics preferences for EC2 rightsizing
1280
+ # recommendations.
1281
+ #
1282
+ # @note When making an API call, you may pass ExternalMetricsPreference
1283
+ # data as a hash:
1284
+ #
1285
+ # {
1286
+ # source: "Datadog", # accepts Datadog, Dynatrace, NewRelic, Instana
1287
+ # }
1288
+ #
1289
+ # @!attribute [rw] source
1290
+ # Contains the source options for external metrics preferences.
1291
+ # @return [String]
1292
+ #
1293
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExternalMetricsPreference AWS API Documentation
1294
+ #
1295
+ class ExternalMetricsPreference < Struct.new(
1296
+ :source)
1297
+ SENSITIVE = []
1298
+ include Aws::Structure
1299
+ end
1300
+
1273
1301
  # Describes a filter that returns a more specific list of
1274
1302
  # recommendations. Use this filter with the
1275
1303
  # GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations
@@ -1810,10 +1838,34 @@ module Aws::ComputeOptimizer
1810
1838
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
1811
1839
  # @return [String]
1812
1840
  #
1841
+ # @!attribute [rw] external_metrics_preference
1842
+ # The provider of the external metrics recommendation preference.
1843
+ # Considers all applicable preferences that you might have set at the
1844
+ # account and organization level.
1845
+ #
1846
+ # If the preference is applied in the latest recommendation refresh,
1847
+ # an object with a valid `source` value appears in the response. If
1848
+ # the preference isn't applied to the recommendations already, then
1849
+ # this object doesn't appear in the response.
1850
+ #
1851
+ # To validate whether the preference is applied to your last generated
1852
+ # set of recommendations, review the
1853
+ # `effectiveRecommendationPreferences` value in the response of the
1854
+ # GetEC2InstanceRecommendations actions.
1855
+ #
1856
+ # For more information, see [Enhanced infrastructure metrics][1] in
1857
+ # the *Compute Optimizer User Guide*.
1858
+ #
1859
+ #
1860
+ #
1861
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
1862
+ # @return [Types::ExternalMetricsPreference]
1863
+ #
1813
1864
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferencesResponse AWS API Documentation
1814
1865
  #
1815
1866
  class GetEffectiveRecommendationPreferencesResponse < Struct.new(
1816
- :enhanced_infrastructure_metrics)
1867
+ :enhanced_infrastructure_metrics,
1868
+ :external_metrics_preference)
1817
1869
  SENSITIVE = []
1818
1870
  include Aws::Structure
1819
1871
  end
@@ -3160,6 +3212,9 @@ module Aws::ComputeOptimizer
3160
3212
  # },
3161
3213
  # enhanced_infrastructure_metrics: "Active", # accepts Active, Inactive
3162
3214
  # inferred_workload_types: "Active", # accepts Active, Inactive
3215
+ # external_metrics_preference: {
3216
+ # source: "Datadog", # accepts Datadog, Dynatrace, NewRelic, Instana
3217
+ # },
3163
3218
  # }
3164
3219
  #
3165
3220
  # @!attribute [rw] resource_type
@@ -3238,13 +3293,32 @@ module Aws::ComputeOptimizer
3238
3293
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html
3239
3294
  # @return [String]
3240
3295
  #
3296
+ # @!attribute [rw] external_metrics_preference
3297
+ # The provider of the external metrics recommendation preference to
3298
+ # create or update.
3299
+ #
3300
+ # Specify a valid provider in the `source` field to activate the
3301
+ # preference. To delete this preference, see the
3302
+ # DeleteRecommendationPreferences action.
3303
+ #
3304
+ # This preference can only be set for the `Ec2Instance` resource type.
3305
+ #
3306
+ # For more information, see [External metrics ingestion][1] in the
3307
+ # *Compute Optimizer User Guide*.
3308
+ #
3309
+ #
3310
+ #
3311
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html
3312
+ # @return [Types::ExternalMetricsPreference]
3313
+ #
3241
3314
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferencesRequest AWS API Documentation
3242
3315
  #
3243
3316
  class PutRecommendationPreferencesRequest < Struct.new(
3244
3317
  :resource_type,
3245
3318
  :scope,
3246
3319
  :enhanced_infrastructure_metrics,
3247
- :inferred_workload_types)
3320
+ :inferred_workload_types,
3321
+ :external_metrics_preference)
3248
3322
  SENSITIVE = []
3249
3323
  include Aws::Structure
3250
3324
  end
@@ -3391,9 +3465,10 @@ module Aws::ComputeOptimizer
3391
3465
  # The status of the enhanced infrastructure metrics recommendation
3392
3466
  # preference.
3393
3467
  #
3394
- # A status of `Active` confirms that the preference is applied in the
3395
- # latest recommendation refresh, and a status of `Inactive` confirms
3396
- # that it's not yet applied to recommendations.
3468
+ # When the recommendations page is refreshed, a status of `Active`
3469
+ # confirms that the preference is applied to the recommendations, and
3470
+ # a status of `Inactive` confirms that the preference isn't yet
3471
+ # applied to recommendations.
3397
3472
  #
3398
3473
  # For more information, see [Enhanced infrastructure metrics][1] in
3399
3474
  # the *Compute Optimizer User Guide*.
@@ -3406,18 +3481,30 @@ module Aws::ComputeOptimizer
3406
3481
  # @!attribute [rw] inferred_workload_types
3407
3482
  # The status of the inferred workload types recommendation preference.
3408
3483
  #
3409
- # A status of `Active` confirms that the preference is applied in the
3410
- # latest recommendation refresh. A status of `Inactive` confirms that
3411
- # it's not yet applied to recommendations.
3484
+ # When the recommendations page is refreshed, a status of `Active`
3485
+ # confirms that the preference is applied to the recommendations, and
3486
+ # a status of `Inactive` confirms that the preference isn't yet
3487
+ # applied to recommendations.
3412
3488
  # @return [String]
3413
3489
  #
3490
+ # @!attribute [rw] external_metrics_preference
3491
+ # An object that describes the external metrics recommendation
3492
+ # preference.
3493
+ #
3494
+ # If the preference is applied in the latest recommendation refresh,
3495
+ # an object with a valid `source` value appears in the response. If
3496
+ # the preference isn't applied to the recommendations already, then
3497
+ # this object doesn't appear in the response.
3498
+ # @return [Types::ExternalMetricsPreference]
3499
+ #
3414
3500
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RecommendationPreferencesDetail AWS API Documentation
3415
3501
  #
3416
3502
  class RecommendationPreferencesDetail < Struct.new(
3417
3503
  :scope,
3418
3504
  :resource_type,
3419
3505
  :enhanced_infrastructure_metrics,
3420
- :inferred_workload_types)
3506
+ :inferred_workload_types,
3507
+ :external_metrics_preference)
3421
3508
  SENSITIVE = []
3422
3509
  include Aws::Structure
3423
3510
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
52
52
  # @!group service
53
53
  module Aws::ComputeOptimizer
54
54
 
55
- GEM_VERSION = '1.34.0'
55
+ GEM_VERSION = '1.35.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-computeoptimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.34.0
4
+ version: 1.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core