aws-sdk-computeoptimizer 1.40.0 → 1.41.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: 49e3da3c6c1aa1cefecc8d0793cebf616d68700ba7f7fcecc81a3817cf02348f
4
- data.tar.gz: d2a9770fe4d45e0dfa42f2cf245dd125136fb109f666df5f8f4e17c96e934a8a
3
+ metadata.gz: e863521ebdd80cd910f544fa73ace53f097ee2d3b12e09c064468a0685b8de7d
4
+ data.tar.gz: e1e4c7e78a9ef2a614a1d75a34da8cdffe354ac58d15c8d5e05facd9e42bbe18
5
5
  SHA512:
6
- metadata.gz: 26bc045a63a09b5ec51babc1e4541bd29d60ff2890ef51edd550bbfc343bb10d50741eee8d2247eb2a60b23062c770cb30ffcc4523dd92b7cd0c11d8c366eb3b
7
- data.tar.gz: 5fc59fd35db091fdc28d2f58d395cb592e2654b365573be5256253059916f21e4d06fb2220fba5df0d1dd9afc6497a4d14ced777bcc225b82053b1a5a1bddf91
6
+ metadata.gz: 19816c64cddaf3f6ca61348fc49ad6421fd7cbffd6d130e13c132103e77bcb7d740d30af8226539fc9cad58df9e0ea4aaf1729251bc1c4327b34ac3a121f1566
7
+ data.tar.gz: c3eeb2788aa0de2cff30639dc428249a4db2d8c2465cda31bd50bb85daa99465456dbebda7c3888e3e24dfa358aa4c9e6840df35aa3af58ebda7530f3d1b4c2b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2023-05-18)
5
+ ------------------
6
+
7
+ * Feature - In this launch, we add support for showing integration status with external metric providers such as Instana, Datadog ...etc in GetEC2InstanceRecommendations and ExportEC2InstanceRecommendations apis
8
+
4
9
  1.40.0 (2023-05-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -890,7 +890,7 @@ module Aws::ComputeOptimizer
890
890
  # values: ["FilterValue"],
891
891
  # },
892
892
  # ],
893
- # 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, InstanceState, Tags
893
+ # 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, InstanceState, Tags, ExternalMetricStatusCode, ExternalMetricStatusReason
894
894
  # s3_destination_config: { # required
895
895
  # bucket: "DestinationBucket",
896
896
  # key_prefix: "DestinationKeyPrefix",
@@ -1527,6 +1527,8 @@ module Aws::ComputeOptimizer
1527
1527
  # resp.instance_recommendations[0].tags #=> Array
1528
1528
  # resp.instance_recommendations[0].tags[0].key #=> String
1529
1529
  # resp.instance_recommendations[0].tags[0].value #=> String
1530
+ # resp.instance_recommendations[0].external_metric_status.status_code #=> String, one of "NO_EXTERNAL_METRIC_SET", "INTEGRATION_SUCCESS", "DATADOG_INTEGRATION_ERROR", "DYNATRACE_INTEGRATION_ERROR", "NEWRELIC_INTEGRATION_ERROR", "INSTANA_INTEGRATION_ERROR", "INSUFFICIENT_DATADOG_METRICS", "INSUFFICIENT_DYNATRACE_METRICS", "INSUFFICIENT_NEWRELIC_METRICS", "INSUFFICIENT_INSTANA_METRICS"
1531
+ # resp.instance_recommendations[0].external_metric_status.status_reason #=> String
1530
1532
  # resp.errors #=> Array
1531
1533
  # resp.errors[0].identifier #=> String
1532
1534
  # resp.errors[0].code #=> String
@@ -2436,7 +2438,7 @@ module Aws::ComputeOptimizer
2436
2438
  params: params,
2437
2439
  config: config)
2438
2440
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2439
- context[:gem_version] = '1.40.0'
2441
+ context[:gem_version] = '1.41.0'
2440
2442
  Seahorse::Client::Request.new(handlers, context)
2441
2443
  end
2442
2444
 
@@ -105,6 +105,9 @@ module Aws::ComputeOptimizer
105
105
  ExportableLambdaFunctionFields = Shapes::ListShape.new(name: 'ExportableLambdaFunctionFields')
106
106
  ExportableVolumeField = Shapes::StringShape.new(name: 'ExportableVolumeField')
107
107
  ExportableVolumeFields = Shapes::ListShape.new(name: 'ExportableVolumeFields')
108
+ ExternalMetricStatus = Shapes::StructureShape.new(name: 'ExternalMetricStatus')
109
+ ExternalMetricStatusCode = Shapes::StringShape.new(name: 'ExternalMetricStatusCode')
110
+ ExternalMetricStatusReason = Shapes::StringShape.new(name: 'ExternalMetricStatusReason')
108
111
  ExternalMetricsPreference = Shapes::StructureShape.new(name: 'ExternalMetricsPreference')
109
112
  ExternalMetricsSource = Shapes::StringShape.new(name: 'ExternalMetricsSource')
110
113
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
@@ -548,6 +551,10 @@ module Aws::ComputeOptimizer
548
551
 
549
552
  ExportableVolumeFields.member = Shapes::ShapeRef.new(shape: ExportableVolumeField)
550
553
 
554
+ ExternalMetricStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ExternalMetricStatusCode, location_name: "statusCode"))
555
+ ExternalMetricStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: ExternalMetricStatusReason, location_name: "statusReason"))
556
+ ExternalMetricStatus.struct_class = Types::ExternalMetricStatus
557
+
551
558
  ExternalMetricsPreference.add_member(:source, Shapes::ShapeRef.new(shape: ExternalMetricsSource, location_name: "source"))
552
559
  ExternalMetricsPreference.struct_class = Types::ExternalMetricsPreference
553
560
 
@@ -720,6 +727,7 @@ module Aws::ComputeOptimizer
720
727
  InstanceRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
721
728
  InstanceRecommendation.add_member(:instance_state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
722
729
  InstanceRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
730
+ InstanceRecommendation.add_member(:external_metric_status, Shapes::ShapeRef.new(shape: ExternalMetricStatus, location_name: "externalMetricStatus"))
723
731
  InstanceRecommendation.struct_class = Types::InstanceRecommendation
724
732
 
725
733
  InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
@@ -1751,6 +1751,28 @@ module Aws::ComputeOptimizer
1751
1751
  include Aws::Structure
1752
1752
  end
1753
1753
 
1754
+ # Describes Compute Optimizer's integration status with your chosen
1755
+ # external metric provider. For example, Datadog.
1756
+ #
1757
+ # @!attribute [rw] status_code
1758
+ # The status code for Compute Optimizer's integration with an
1759
+ # external metrics provider.
1760
+ # @return [String]
1761
+ #
1762
+ # @!attribute [rw] status_reason
1763
+ # The reason for Compute Optimizer's integration status with your
1764
+ # external metric provider.
1765
+ # @return [String]
1766
+ #
1767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExternalMetricStatus AWS API Documentation
1768
+ #
1769
+ class ExternalMetricStatus < Struct.new(
1770
+ :status_code,
1771
+ :status_reason)
1772
+ SENSITIVE = []
1773
+ include Aws::Structure
1774
+ end
1775
+
1754
1776
  # Describes the external metrics preferences for EC2 rightsizing
1755
1777
  # recommendations.
1756
1778
  #
@@ -3045,6 +3067,11 @@ module Aws::ComputeOptimizer
3045
3067
  # A list of tags assigned to your Amazon EC2 instance recommendations.
3046
3068
  # @return [Array<Types::Tag>]
3047
3069
  #
3070
+ # @!attribute [rw] external_metric_status
3071
+ # An object that describes Compute Optimizer's integration status
3072
+ # with your external metrics provider.
3073
+ # @return [Types::ExternalMetricStatus]
3074
+ #
3048
3075
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendation AWS API Documentation
3049
3076
  #
3050
3077
  class InstanceRecommendation < Struct.new(
@@ -3063,7 +3090,8 @@ module Aws::ComputeOptimizer
3063
3090
  :effective_recommendation_preferences,
3064
3091
  :inferred_workload_types,
3065
3092
  :instance_state,
3066
- :tags)
3093
+ :tags,
3094
+ :external_metric_status)
3067
3095
  SENSITIVE = []
3068
3096
  include Aws::Structure
3069
3097
  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.40.0'
55
+ GEM_VERSION = '1.41.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.40.0
4
+ version: 1.41.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: 2023-05-01 00:00:00.000000000 Z
11
+ date: 2023-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core