aws-sdk-computeoptimizer 1.40.0 → 1.42.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: ec02d9c069f50adfaa1adb798213652a49b7101d6c9799fbbc3113f4f18ec927
4
+ data.tar.gz: b0d9d05677d4fb94c21fb7f68af7932d6e0fa9127deda6ea294cd01859952b61
5
5
  SHA512:
6
- metadata.gz: 26bc045a63a09b5ec51babc1e4541bd29d60ff2890ef51edd550bbfc343bb10d50741eee8d2247eb2a60b23062c770cb30ffcc4523dd92b7cd0c11d8c366eb3b
7
- data.tar.gz: 5fc59fd35db091fdc28d2f58d395cb592e2654b365573be5256253059916f21e4d06fb2220fba5df0d1dd9afc6497a4d14ced777bcc225b82053b1a5a1bddf91
6
+ metadata.gz: 71975937c255743a3dbef2c0fbb1de5937726806cb6a18185d3c8aaec50ca3f2927b676bdb29f4d5ba2dfd5662027630a46e5dea0f69a360348a8c56060415f1
7
+ data.tar.gz: 29d8641b22d8831249e4af61915b834e34dd489f5f87c03675bbcd3d7bea8b2d4534ae95d33af0ce82426cd8b0bf57626dc86fddc99ce1ed1141b83b22370874
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.41.0 (2023-05-18)
10
+ ------------------
11
+
12
+ * 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
13
+
4
14
  1.40.0 (2023-05-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.42.0
@@ -275,6 +275,11 @@ module Aws::ComputeOptimizer
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -890,7 +895,7 @@ module Aws::ComputeOptimizer
890
895
  # values: ["FilterValue"],
891
896
  # },
892
897
  # ],
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
898
+ # 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
899
  # s3_destination_config: { # required
895
900
  # bucket: "DestinationBucket",
896
901
  # key_prefix: "DestinationKeyPrefix",
@@ -1527,6 +1532,8 @@ module Aws::ComputeOptimizer
1527
1532
  # resp.instance_recommendations[0].tags #=> Array
1528
1533
  # resp.instance_recommendations[0].tags[0].key #=> String
1529
1534
  # resp.instance_recommendations[0].tags[0].value #=> String
1535
+ # 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"
1536
+ # resp.instance_recommendations[0].external_metric_status.status_reason #=> String
1530
1537
  # resp.errors #=> Array
1531
1538
  # resp.errors[0].identifier #=> String
1532
1539
  # resp.errors[0].code #=> String
@@ -2436,7 +2443,7 @@ module Aws::ComputeOptimizer
2436
2443
  params: params,
2437
2444
  config: config)
2438
2445
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2439
- context[:gem_version] = '1.40.0'
2446
+ context[:gem_version] = '1.42.0'
2440
2447
  Seahorse::Client::Request.new(handlers, context)
2441
2448
  end
2442
2449
 
@@ -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.42.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.42.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-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement