aws-sdk-computeoptimizer 1.13.0 → 1.14.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: '079269448246878260a1403daecea0e491653fb9817114f6ba685235407d661b'
4
- data.tar.gz: cdef9b0bfcc543e33506a2f6be67917d8d2e8a1d3090a4cf6fd2ad8f4f73db78
3
+ metadata.gz: af40dd60485d0bb667c8c950f11963e1ca7e8bbafb07da22403bdffe894d57d7
4
+ data.tar.gz: 91ea70f096d30fb327c0ddcf3da090c43f412a2c6e51fd484a20281c17ba0ebf
5
5
  SHA512:
6
- metadata.gz: 38e8faad8ea434ae92de2803aa3babaa9b926ea74f5511b8909d96d91d3ed587fbca9a7820414481a649812be817248224d7b6eaf418fdb9bb26fd2109d5604a
7
- data.tar.gz: 259848906605b980f51ce617ad33c28297caa2dcc258c39b14c38d3988c514ff6474e080f52e2f78028010e05c28ceed63186343f0502de0321e9798a6fae99a
6
+ metadata.gz: d20fad106503394bffb0fa3bcc633829bc645c3390e6be77e1014ad7b8f478de3ae324d2ad93300e10c6279a497f5be7abde04176488dc999041127ec57f0dbf
7
+ data.tar.gz: bf29cb9c91e974270c9399c4eeec28f9c9f62ac1383bbad5b30cd3cfaea384fb723d2b78282d942cfb514a3abd1beb92c55e69ab6b85aefad3e2293c8871471b
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
48
48
  # @!group service
49
49
  module Aws::ComputeOptimizer
50
50
 
51
- GEM_VERSION = '1.13.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -1220,21 +1220,55 @@ module Aws::ComputeOptimizer
1220
1220
  req.send_request(options)
1221
1221
  end
1222
1222
 
1223
- # Updates the enrollment (opt in) status of an account to the AWS
1224
- # Compute Optimizer service.
1223
+ # Updates the enrollment (opt in and opt out) status of an account to
1224
+ # the AWS Compute Optimizer service.
1225
1225
  #
1226
1226
  # If the account is a management account of an organization, this action
1227
1227
  # can also be used to enroll member accounts within the organization.
1228
1228
  #
1229
+ # You must have the appropriate permissions to opt in to Compute
1230
+ # Optimizer, to view its recommendations, and to opt out. For more
1231
+ # information, see [Controlling access with AWS Identity and Access
1232
+ # Management][1] in the *Compute Optimizer User Guide*.
1233
+ #
1234
+ # When you opt in, Compute Optimizer automatically creates a
1235
+ # Service-Linked Role in your account to access its data. For more
1236
+ # information, see [Using Service-Linked Roles for AWS Compute
1237
+ # Optimizer][2] in the *Compute Optimizer User Guide*.
1238
+ #
1239
+ #
1240
+ #
1241
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/ug/security-iam.html
1242
+ # [2]: https://docs.aws.amazon.com/compute-optimizer/ug/using-service-linked-roles.html
1243
+ #
1229
1244
  # @option params [required, String] :status
1230
1245
  # The new enrollment status of the account.
1231
1246
  #
1232
- # Accepted options are `Active` or `Inactive`. You will get an error if
1233
- # `Pending` or `Failed` are specified.
1247
+ # The following status options are available:
1248
+ #
1249
+ # * `Active` - Opts in your account to the Compute Optimizer service.
1250
+ # Compute Optimizer begins analyzing the configuration and utilization
1251
+ # metrics of your AWS resources after you opt in. For more
1252
+ # information, see [Metrics analyzed by AWS Compute Optimizer][1] in
1253
+ # the *Compute Optimizer User Guide*.
1254
+ #
1255
+ # * `Inactive` - Opts out your account from the Compute Optimizer
1256
+ # service. Your account's recommendations and related metrics data
1257
+ # will be deleted from Compute Optimizer after you opt out.
1258
+ #
1259
+ # <note markdown="1"> The `Pending` and `Failed` options cannot be used to update the
1260
+ # enrollment status of an account. They are returned in the response of
1261
+ # a request to update the enrollment status of an account.
1262
+ #
1263
+ # </note>
1264
+ #
1265
+ #
1266
+ #
1267
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/ug/metrics.html
1234
1268
  #
1235
1269
  # @option params [Boolean] :include_member_accounts
1236
1270
  # Indicates whether to enroll member accounts of the organization if the
1237
- # your account is the management account of an organization.
1271
+ # account is the management account of an organization.
1238
1272
  #
1239
1273
  # @return [Types::UpdateEnrollmentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1240
1274
  #
@@ -1275,7 +1309,7 @@ module Aws::ComputeOptimizer
1275
1309
  params: params,
1276
1310
  config: config)
1277
1311
  context[:gem_name] = 'aws-sdk-computeoptimizer'
1278
- context[:gem_version] = '1.13.0'
1312
+ context[:gem_version] = '1.14.0'
1279
1313
  Seahorse::Client::Request.new(handlers, context)
1280
1314
  end
1281
1315
 
@@ -1667,6 +1667,13 @@ module Aws::ComputeOptimizer
1667
1667
  #
1668
1668
  # @!attribute [rw] name
1669
1669
  # The name of the utilization metric.
1670
+ #
1671
+ # The following utilization metrics are available:
1672
+ #
1673
+ # * `Duration` - The amount of time that your function code spends
1674
+ # processing an event.
1675
+ #
1676
+ # * `Memory` - The amount of memory used per invocation.
1670
1677
  # @return [String]
1671
1678
  #
1672
1679
  # @!attribute [rw] statistic
@@ -2110,13 +2117,32 @@ module Aws::ComputeOptimizer
2110
2117
  # @!attribute [rw] status
2111
2118
  # The new enrollment status of the account.
2112
2119
  #
2113
- # Accepted options are `Active` or `Inactive`. You will get an error
2114
- # if `Pending` or `Failed` are specified.
2120
+ # The following status options are available:
2121
+ #
2122
+ # * `Active` - Opts in your account to the Compute Optimizer service.
2123
+ # Compute Optimizer begins analyzing the configuration and
2124
+ # utilization metrics of your AWS resources after you opt in. For
2125
+ # more information, see [Metrics analyzed by AWS Compute
2126
+ # Optimizer][1] in the *Compute Optimizer User Guide*.
2127
+ #
2128
+ # * `Inactive` - Opts out your account from the Compute Optimizer
2129
+ # service. Your account's recommendations and related metrics data
2130
+ # will be deleted from Compute Optimizer after you opt out.
2131
+ #
2132
+ # <note markdown="1"> The `Pending` and `Failed` options cannot be used to update the
2133
+ # enrollment status of an account. They are returned in the response
2134
+ # of a request to update the enrollment status of an account.
2135
+ #
2136
+ # </note>
2137
+ #
2138
+ #
2139
+ #
2140
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/ug/metrics.html
2115
2141
  # @return [String]
2116
2142
  #
2117
2143
  # @!attribute [rw] include_member_accounts
2118
2144
  # Indicates whether to enroll member accounts of the organization if
2119
- # the your account is the management account of an organization.
2145
+ # the account is the management account of an organization.
2120
2146
  # @return [Boolean]
2121
2147
  #
2122
2148
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/UpdateEnrollmentStatusRequest AWS API Documentation
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.13.0
4
+ version: 1.14.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: 2021-02-03 00:00:00.000000000 Z
11
+ date: 2021-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core