aws-sdk-resiliencehub 1.42.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +176 -30
- data/lib/aws-sdk-resiliencehub/client_api.rb +114 -0
- data/lib/aws-sdk-resiliencehub/types.rb +244 -44
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- data/sig/client.rbs +57 -0
- data/sig/types.rbs +60 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87010d42b020473dd45b8f96a6b7de9fd8e21698fb2d5a4c9702f6d0e36c92cd
|
4
|
+
data.tar.gz: 2e4baedf3dee170db1a470baad45adb1534b36ab236759452aadfb538be982ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1491bb4e8a68ff9c33daaa783bf310e51fe93093da2a1ffe8aca1bd6e392d506756bcf189fe1b363dcde7f7029717e5b3d512ab46f42c46aa105138112157f9d
|
7
|
+
data.tar.gz: 431bd1cafde6b2665fbc35698258f2ce58192af248dacf39f6704fd432e10b06d7f3a165bff2cc7ea992c45a6bb12d073dc67c0237f9062b9db1824d8dea9f74
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2024-11-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Resilience Hub's new summary view visually represents applications' resilience through charts, enabling efficient resilience management. It provides a consolidated view of the app portfolio's resilience state and allows data export for custom stakeholder reporting.
|
8
|
+
|
9
|
+
1.43.0 (2024-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.42.0 (2024-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -462,8 +462,8 @@ module Aws::ResilienceHub
|
|
462
462
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
463
463
|
#
|
464
464
|
# @option params [required, Array<Types::AcceptGroupingRecommendationEntry>] :entries
|
465
|
-
#
|
466
|
-
#
|
465
|
+
# List of resource grouping recommendations you want to include in your
|
466
|
+
# application.
|
467
467
|
#
|
468
468
|
# @return [Types::AcceptResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
469
469
|
#
|
@@ -1147,10 +1147,10 @@ module Aws::ResilienceHub
|
|
1147
1147
|
# time objective (RTO) and recovery point objective (RPO) in seconds.
|
1148
1148
|
#
|
1149
1149
|
# @option params [String] :policy_description
|
1150
|
-
#
|
1150
|
+
# Description of the resiliency policy.
|
1151
1151
|
#
|
1152
1152
|
# @option params [required, String] :policy_name
|
1153
|
-
#
|
1153
|
+
# Name of the resiliency policy.
|
1154
1154
|
#
|
1155
1155
|
# @option params [Hash<String,String>] :tags
|
1156
1156
|
# Tags assigned to the resource. A tag is a label that you assign to an
|
@@ -2163,6 +2163,41 @@ module Aws::ResilienceHub
|
|
2163
2163
|
req.send_request(options)
|
2164
2164
|
end
|
2165
2165
|
|
2166
|
+
# Describes the metrics of the application configuration being exported.
|
2167
|
+
#
|
2168
|
+
# @option params [required, String] :metrics_export_id
|
2169
|
+
# Identifier of the metrics export task.
|
2170
|
+
#
|
2171
|
+
# @return [Types::DescribeMetricsExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2172
|
+
#
|
2173
|
+
# * {Types::DescribeMetricsExportResponse#error_message #error_message} => String
|
2174
|
+
# * {Types::DescribeMetricsExportResponse#export_location #export_location} => Types::S3Location
|
2175
|
+
# * {Types::DescribeMetricsExportResponse#metrics_export_id #metrics_export_id} => String
|
2176
|
+
# * {Types::DescribeMetricsExportResponse#status #status} => String
|
2177
|
+
#
|
2178
|
+
# @example Request syntax with placeholder values
|
2179
|
+
#
|
2180
|
+
# resp = client.describe_metrics_export({
|
2181
|
+
# metrics_export_id: "String255", # required
|
2182
|
+
# })
|
2183
|
+
#
|
2184
|
+
# @example Response structure
|
2185
|
+
#
|
2186
|
+
# resp.error_message #=> String
|
2187
|
+
# resp.export_location.bucket #=> String
|
2188
|
+
# resp.export_location.prefix #=> String
|
2189
|
+
# resp.metrics_export_id #=> String
|
2190
|
+
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
2191
|
+
#
|
2192
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeMetricsExport AWS API Documentation
|
2193
|
+
#
|
2194
|
+
# @overload describe_metrics_export(params = {})
|
2195
|
+
# @param [Hash] params ({})
|
2196
|
+
def describe_metrics_export(params = {}, options = {})
|
2197
|
+
req = build_request(:describe_metrics_export, params)
|
2198
|
+
req.send_request(options)
|
2199
|
+
end
|
2200
|
+
|
2166
2201
|
# Describes a specified resiliency policy for an Resilience Hub
|
2167
2202
|
# application. The returned policy object includes creation time, data
|
2168
2203
|
# location constraints, the Amazon Resource Name (ARN) for the policy,
|
@@ -2228,7 +2263,7 @@ module Aws::ResilienceHub
|
|
2228
2263
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2229
2264
|
#
|
2230
2265
|
# @option params [String] :grouping_id
|
2231
|
-
#
|
2266
|
+
# Identifier of the grouping recommendation task.
|
2232
2267
|
#
|
2233
2268
|
# @return [Types::DescribeResourceGroupingRecommendationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2234
2269
|
#
|
@@ -2411,8 +2446,8 @@ module Aws::ResilienceHub
|
|
2411
2446
|
req.send_request(options)
|
2412
2447
|
end
|
2413
2448
|
|
2414
|
-
#
|
2415
|
-
#
|
2449
|
+
# List of compliance drifts that were detected while running an
|
2450
|
+
# assessment.
|
2416
2451
|
#
|
2417
2452
|
# @option params [required, String] :assessment_arn
|
2418
2453
|
# Amazon Resource Name (ARN) of the assessment. The format for this ARN
|
@@ -2426,7 +2461,7 @@ module Aws::ResilienceHub
|
|
2426
2461
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2427
2462
|
#
|
2428
2463
|
# @option params [Integer] :max_results
|
2429
|
-
#
|
2464
|
+
# Maximum number of compliance drifts requested.
|
2430
2465
|
#
|
2431
2466
|
# @option params [String] :next_token
|
2432
2467
|
# Null, or the token from a previous call to get the next set of
|
@@ -2491,8 +2526,8 @@ module Aws::ResilienceHub
|
|
2491
2526
|
req.send_request(options)
|
2492
2527
|
end
|
2493
2528
|
|
2494
|
-
#
|
2495
|
-
#
|
2529
|
+
# List of resource drifts that were detected while running an
|
2530
|
+
# assessment.
|
2496
2531
|
#
|
2497
2532
|
# @option params [required, String] :assessment_arn
|
2498
2533
|
# Amazon Resource Name (ARN) of the assessment. The format for this ARN
|
@@ -2506,10 +2541,10 @@ module Aws::ResilienceHub
|
|
2506
2541
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2507
2542
|
#
|
2508
2543
|
# @option params [Integer] :max_results
|
2509
|
-
#
|
2510
|
-
#
|
2511
|
-
#
|
2512
|
-
#
|
2544
|
+
# Maximum number of drift results to include in the response. If more
|
2545
|
+
# results exist than the specified `MaxResults` value, a token is
|
2546
|
+
# included in the response so that the remaining results can be
|
2547
|
+
# retrieved.
|
2513
2548
|
#
|
2514
2549
|
# @option params [String] :next_token
|
2515
2550
|
# Null, or the token from a previous call to get the next set of
|
@@ -3184,8 +3219,8 @@ module Aws::ResilienceHub
|
|
3184
3219
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3185
3220
|
#
|
3186
3221
|
# @option params [Time,DateTime,Date,Integer,String] :from_last_assessment_time
|
3187
|
-
#
|
3188
|
-
#
|
3222
|
+
# Lower limit of the range that is used to filter applications based on
|
3223
|
+
# their last assessment times.
|
3189
3224
|
#
|
3190
3225
|
# @option params [Integer] :max_results
|
3191
3226
|
# Maximum number of results to include in the response. If more results
|
@@ -3206,8 +3241,8 @@ module Aws::ResilienceHub
|
|
3206
3241
|
# descending order, set this field to `True`.
|
3207
3242
|
#
|
3208
3243
|
# @option params [Time,DateTime,Date,Integer,String] :to_last_assessment_time
|
3209
|
-
#
|
3210
|
-
#
|
3244
|
+
# Upper limit of the range that is used to filter the applications based
|
3245
|
+
# on their last assessment times.
|
3211
3246
|
#
|
3212
3247
|
# @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3213
3248
|
#
|
@@ -3256,6 +3291,81 @@ module Aws::ResilienceHub
|
|
3256
3291
|
req.send_request(options)
|
3257
3292
|
end
|
3258
3293
|
|
3294
|
+
# Lists the metrics that can be exported.
|
3295
|
+
#
|
3296
|
+
# @option params [Array<Types::Condition>] :conditions
|
3297
|
+
# Indicates the list of all the conditions that were applied on the
|
3298
|
+
# metrics.
|
3299
|
+
#
|
3300
|
+
# @option params [String] :data_source
|
3301
|
+
# Indicates the data source of the metrics.
|
3302
|
+
#
|
3303
|
+
# @option params [Array<Types::Field>] :fields
|
3304
|
+
# Indicates the list of fields in the data source.
|
3305
|
+
#
|
3306
|
+
# @option params [Integer] :max_results
|
3307
|
+
# Maximum number of results to include in the response. If more results
|
3308
|
+
# exist than the specified `MaxResults` value, a token is included in
|
3309
|
+
# the response so that the remaining results can be retrieved.
|
3310
|
+
#
|
3311
|
+
# @option params [String] :next_token
|
3312
|
+
# Null, or the token from a previous call to get the next set of
|
3313
|
+
# results.
|
3314
|
+
#
|
3315
|
+
# @option params [Array<Types::Sort>] :sorts
|
3316
|
+
# (Optional) Indicates the order in which you want to sort the fields in
|
3317
|
+
# the metrics. By default, the fields are sorted in the ascending order.
|
3318
|
+
#
|
3319
|
+
# @return [Types::ListMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3320
|
+
#
|
3321
|
+
# * {Types::ListMetricsResponse#next_token #next_token} => String
|
3322
|
+
# * {Types::ListMetricsResponse#rows #rows} => Array<Array<String>>
|
3323
|
+
#
|
3324
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3325
|
+
#
|
3326
|
+
# @example Request syntax with placeholder values
|
3327
|
+
#
|
3328
|
+
# resp = client.list_metrics({
|
3329
|
+
# conditions: [
|
3330
|
+
# {
|
3331
|
+
# field: "String255", # required
|
3332
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, GreaterThen, GreaterOrEquals, LessThen, LessOrEquals
|
3333
|
+
# value: "String255",
|
3334
|
+
# },
|
3335
|
+
# ],
|
3336
|
+
# data_source: "String255",
|
3337
|
+
# fields: [
|
3338
|
+
# {
|
3339
|
+
# aggregation: "Min", # accepts Min, Max, Sum, Avg, Count
|
3340
|
+
# name: "String255", # required
|
3341
|
+
# },
|
3342
|
+
# ],
|
3343
|
+
# max_results: 1,
|
3344
|
+
# next_token: "NextToken",
|
3345
|
+
# sorts: [
|
3346
|
+
# {
|
3347
|
+
# ascending: false,
|
3348
|
+
# field: "String255", # required
|
3349
|
+
# },
|
3350
|
+
# ],
|
3351
|
+
# })
|
3352
|
+
#
|
3353
|
+
# @example Response structure
|
3354
|
+
#
|
3355
|
+
# resp.next_token #=> String
|
3356
|
+
# resp.rows #=> Array
|
3357
|
+
# resp.rows[0] #=> Array
|
3358
|
+
# resp.rows[0][0] #=> String
|
3359
|
+
#
|
3360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListMetrics AWS API Documentation
|
3361
|
+
#
|
3362
|
+
# @overload list_metrics(params = {})
|
3363
|
+
# @param [Hash] params ({})
|
3364
|
+
def list_metrics(params = {}, options = {})
|
3365
|
+
req = build_request(:list_metrics, params)
|
3366
|
+
req.send_request(options)
|
3367
|
+
end
|
3368
|
+
|
3259
3369
|
# Lists the recommendation templates for the Resilience Hub
|
3260
3370
|
# applications.
|
3261
3371
|
#
|
@@ -3355,7 +3465,7 @@ module Aws::ResilienceHub
|
|
3355
3465
|
# results.
|
3356
3466
|
#
|
3357
3467
|
# @option params [String] :policy_name
|
3358
|
-
#
|
3468
|
+
# Name of the resiliency policy.
|
3359
3469
|
#
|
3360
3470
|
# @return [Types::ListResiliencyPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3361
3471
|
#
|
@@ -3892,7 +4002,6 @@ module Aws::ResilienceHub
|
|
3892
4002
|
# </note>
|
3893
4003
|
#
|
3894
4004
|
# Type: String
|
3895
|
-
#
|
3896
4005
|
# * <i> <code>type</code> </i>
|
3897
4006
|
#
|
3898
4007
|
# The type of resource.
|
@@ -3921,7 +4030,6 @@ module Aws::ResilienceHub
|
|
3921
4030
|
# "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`
|
3922
4031
|
#
|
3923
4032
|
# </note>
|
3924
|
-
#
|
3925
4033
|
# * <b> <code>appComponents</code> </b>
|
3926
4034
|
#
|
3927
4035
|
# List of Application Components that this resource belongs to. If an
|
@@ -3969,7 +4077,6 @@ module Aws::ResilienceHub
|
|
3969
4077
|
# "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`
|
3970
4078
|
#
|
3971
4079
|
# </note>
|
3972
|
-
#
|
3973
4080
|
# * <b> <code>excludedResources</code> </b>
|
3974
4081
|
#
|
3975
4082
|
# The list of logical resource identifiers to be excluded from the
|
@@ -4039,7 +4146,6 @@ module Aws::ResilienceHub
|
|
4039
4146
|
# </note>
|
4040
4147
|
#
|
4041
4148
|
# Type: String
|
4042
|
-
#
|
4043
4149
|
# * <b> <code>version</code> </b>
|
4044
4150
|
#
|
4045
4151
|
# Resilience Hub application version.
|
@@ -4106,8 +4212,8 @@ module Aws::ResilienceHub
|
|
4106
4212
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4107
4213
|
#
|
4108
4214
|
# @option params [required, Array<Types::RejectGroupingRecommendationEntry>] :entries
|
4109
|
-
#
|
4110
|
-
#
|
4215
|
+
# List of resource grouping recommendations you have selected to exclude
|
4216
|
+
# from your application.
|
4111
4217
|
#
|
4112
4218
|
# @return [Types::RejectResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4113
4219
|
#
|
@@ -4378,6 +4484,46 @@ module Aws::ResilienceHub
|
|
4378
4484
|
req.send_request(options)
|
4379
4485
|
end
|
4380
4486
|
|
4487
|
+
# Initiates the export task of metrics.
|
4488
|
+
#
|
4489
|
+
# @option params [String] :bucket_name
|
4490
|
+
# (Optional) Specifies the name of the Amazon Simple Storage Service
|
4491
|
+
# bucket where the exported metrics will be stored.
|
4492
|
+
#
|
4493
|
+
# @option params [String] :client_token
|
4494
|
+
# Used for an idempotency token. A client token is a unique,
|
4495
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
4496
|
+
# reuse the same client token for other API requests.
|
4497
|
+
#
|
4498
|
+
# **A suitable default value is auto-generated.** You should normally
|
4499
|
+
# not need to pass this option.**
|
4500
|
+
#
|
4501
|
+
# @return [Types::StartMetricsExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4502
|
+
#
|
4503
|
+
# * {Types::StartMetricsExportResponse#metrics_export_id #metrics_export_id} => String
|
4504
|
+
# * {Types::StartMetricsExportResponse#status #status} => String
|
4505
|
+
#
|
4506
|
+
# @example Request syntax with placeholder values
|
4507
|
+
#
|
4508
|
+
# resp = client.start_metrics_export({
|
4509
|
+
# bucket_name: "EntityName",
|
4510
|
+
# client_token: "ClientToken",
|
4511
|
+
# })
|
4512
|
+
#
|
4513
|
+
# @example Response structure
|
4514
|
+
#
|
4515
|
+
# resp.metrics_export_id #=> String
|
4516
|
+
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
4517
|
+
#
|
4518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartMetricsExport AWS API Documentation
|
4519
|
+
#
|
4520
|
+
# @overload start_metrics_export(params = {})
|
4521
|
+
# @param [Hash] params ({})
|
4522
|
+
def start_metrics_export(params = {}, options = {})
|
4523
|
+
req = build_request(:start_metrics_export, params)
|
4524
|
+
req.send_request(options)
|
4525
|
+
end
|
4526
|
+
|
4381
4527
|
# Starts grouping recommendation task.
|
4382
4528
|
#
|
4383
4529
|
# @option params [required, String] :app_arn
|
@@ -4872,8 +5018,8 @@ module Aws::ResilienceHub
|
|
4872
5018
|
# resilience policy data can be stored.
|
4873
5019
|
#
|
4874
5020
|
# @option params [Hash<String,Types::FailurePolicy>] :policy
|
4875
|
-
#
|
4876
|
-
#
|
5021
|
+
# Resiliency policy to be created, including the recovery time objective
|
5022
|
+
# (RTO) and recovery point objective (RPO) in seconds.
|
4877
5023
|
#
|
4878
5024
|
# @option params [required, String] :policy_arn
|
4879
5025
|
# Amazon Resource Name (ARN) of the resiliency policy. The format for
|
@@ -4887,10 +5033,10 @@ module Aws::ResilienceHub
|
|
4887
5033
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4888
5034
|
#
|
4889
5035
|
# @option params [String] :policy_description
|
4890
|
-
#
|
5036
|
+
# Description of the resiliency policy.
|
4891
5037
|
#
|
4892
5038
|
# @option params [String] :policy_name
|
4893
|
-
#
|
5039
|
+
# Name of the resiliency policy.
|
4894
5040
|
#
|
4895
5041
|
# @option params [String] :tier
|
4896
5042
|
# The tier for this resiliency policy, ranging from the highest severity
|
@@ -4958,7 +5104,7 @@ module Aws::ResilienceHub
|
|
4958
5104
|
tracer: tracer
|
4959
5105
|
)
|
4960
5106
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
4961
|
-
context[:gem_version] = '1.
|
5107
|
+
context[:gem_version] = '1.44.0'
|
4962
5108
|
Seahorse::Client::Request.new(handlers, context)
|
4963
5109
|
end
|
4964
5110
|
|
@@ -70,6 +70,9 @@ module Aws::ResilienceHub
|
|
70
70
|
ComponentCompliancesList = Shapes::ListShape.new(name: 'ComponentCompliancesList')
|
71
71
|
ComponentRecommendation = Shapes::StructureShape.new(name: 'ComponentRecommendation')
|
72
72
|
ComponentRecommendationList = Shapes::ListShape.new(name: 'ComponentRecommendationList')
|
73
|
+
Condition = Shapes::StructureShape.new(name: 'Condition')
|
74
|
+
ConditionList = Shapes::ListShape.new(name: 'ConditionList')
|
75
|
+
ConditionOperatorType = Shapes::StringShape.new(name: 'ConditionOperatorType')
|
73
76
|
ConfigRecommendation = Shapes::StructureShape.new(name: 'ConfigRecommendation')
|
74
77
|
ConfigRecommendationList = Shapes::ListShape.new(name: 'ConfigRecommendationList')
|
75
78
|
ConfigRecommendationOptimizationType = Shapes::StringShape.new(name: 'ConfigRecommendationOptimizationType')
|
@@ -119,6 +122,8 @@ module Aws::ResilienceHub
|
|
119
122
|
DescribeAppVersionTemplateResponse = Shapes::StructureShape.new(name: 'DescribeAppVersionTemplateResponse')
|
120
123
|
DescribeDraftAppVersionResourcesImportStatusRequest = Shapes::StructureShape.new(name: 'DescribeDraftAppVersionResourcesImportStatusRequest')
|
121
124
|
DescribeDraftAppVersionResourcesImportStatusResponse = Shapes::StructureShape.new(name: 'DescribeDraftAppVersionResourcesImportStatusResponse')
|
125
|
+
DescribeMetricsExportRequest = Shapes::StructureShape.new(name: 'DescribeMetricsExportRequest')
|
126
|
+
DescribeMetricsExportResponse = Shapes::StructureShape.new(name: 'DescribeMetricsExportResponse')
|
122
127
|
DescribeResiliencyPolicyRequest = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyRequest')
|
123
128
|
DescribeResiliencyPolicyResponse = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyResponse')
|
124
129
|
DescribeResourceGroupingRecommendationTaskRequest = Shapes::StructureShape.new(name: 'DescribeResourceGroupingRecommendationTaskRequest')
|
@@ -154,6 +159,9 @@ module Aws::ResilienceHub
|
|
154
159
|
FailedGroupingRecommendationEntries = Shapes::ListShape.new(name: 'FailedGroupingRecommendationEntries')
|
155
160
|
FailedGroupingRecommendationEntry = Shapes::StructureShape.new(name: 'FailedGroupingRecommendationEntry')
|
156
161
|
FailurePolicy = Shapes::StructureShape.new(name: 'FailurePolicy')
|
162
|
+
Field = Shapes::StructureShape.new(name: 'Field')
|
163
|
+
FieldAggregationType = Shapes::StringShape.new(name: 'FieldAggregationType')
|
164
|
+
FieldList = Shapes::ListShape.new(name: 'FieldList')
|
157
165
|
GroupingAppComponent = Shapes::StructureShape.new(name: 'GroupingAppComponent')
|
158
166
|
GroupingRecommendation = Shapes::StructureShape.new(name: 'GroupingRecommendation')
|
159
167
|
GroupingRecommendationConfidenceLevel = Shapes::StringShape.new(name: 'GroupingRecommendationConfidenceLevel')
|
@@ -195,6 +203,8 @@ module Aws::ResilienceHub
|
|
195
203
|
ListAppVersionsResponse = Shapes::StructureShape.new(name: 'ListAppVersionsResponse')
|
196
204
|
ListAppsRequest = Shapes::StructureShape.new(name: 'ListAppsRequest')
|
197
205
|
ListAppsResponse = Shapes::StructureShape.new(name: 'ListAppsResponse')
|
206
|
+
ListMetricsRequest = Shapes::StructureShape.new(name: 'ListMetricsRequest')
|
207
|
+
ListMetricsResponse = Shapes::StructureShape.new(name: 'ListMetricsResponse')
|
198
208
|
ListRecommendationTemplatesRequest = Shapes::StructureShape.new(name: 'ListRecommendationTemplatesRequest')
|
199
209
|
ListRecommendationTemplatesResponse = Shapes::StructureShape.new(name: 'ListRecommendationTemplatesResponse')
|
200
210
|
ListResiliencyPoliciesRequest = Shapes::StructureShape.new(name: 'ListResiliencyPoliciesRequest')
|
@@ -215,6 +225,7 @@ module Aws::ResilienceHub
|
|
215
225
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
216
226
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
217
227
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
228
|
+
MetricsExportStatusType = Shapes::StringShape.new(name: 'MetricsExportStatusType')
|
218
229
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
219
230
|
PermissionModel = Shapes::StructureShape.new(name: 'PermissionModel')
|
220
231
|
PermissionModelType = Shapes::StringShape.new(name: 'PermissionModelType')
|
@@ -270,6 +281,8 @@ module Aws::ResilienceHub
|
|
270
281
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
271
282
|
ResourcesGroupingRecGenStatusType = Shapes::StringShape.new(name: 'ResourcesGroupingRecGenStatusType')
|
272
283
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
284
|
+
Row = Shapes::ListShape.new(name: 'Row')
|
285
|
+
RowList = Shapes::ListShape.new(name: 'RowList')
|
273
286
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
274
287
|
S3Url = Shapes::StringShape.new(name: 'S3Url')
|
275
288
|
ScoringComponentResiliencyScore = Shapes::StructureShape.new(name: 'ScoringComponentResiliencyScore')
|
@@ -279,9 +292,13 @@ module Aws::ResilienceHub
|
|
279
292
|
SopRecommendation = Shapes::StructureShape.new(name: 'SopRecommendation')
|
280
293
|
SopRecommendationList = Shapes::ListShape.new(name: 'SopRecommendationList')
|
281
294
|
SopServiceType = Shapes::StringShape.new(name: 'SopServiceType')
|
295
|
+
Sort = Shapes::StructureShape.new(name: 'Sort')
|
296
|
+
SortList = Shapes::ListShape.new(name: 'SortList')
|
282
297
|
SpecReferenceId = Shapes::StringShape.new(name: 'SpecReferenceId')
|
283
298
|
StartAppAssessmentRequest = Shapes::StructureShape.new(name: 'StartAppAssessmentRequest')
|
284
299
|
StartAppAssessmentResponse = Shapes::StructureShape.new(name: 'StartAppAssessmentResponse')
|
300
|
+
StartMetricsExportRequest = Shapes::StructureShape.new(name: 'StartMetricsExportRequest')
|
301
|
+
StartMetricsExportResponse = Shapes::StructureShape.new(name: 'StartMetricsExportResponse')
|
285
302
|
StartResourceGroupingRecommendationTaskRequest = Shapes::StructureShape.new(name: 'StartResourceGroupingRecommendationTaskRequest')
|
286
303
|
StartResourceGroupingRecommendationTaskResponse = Shapes::StructureShape.new(name: 'StartResourceGroupingRecommendationTaskResponse')
|
287
304
|
String1024 = Shapes::StringShape.new(name: 'String1024')
|
@@ -550,6 +567,13 @@ module Aws::ResilienceHub
|
|
550
567
|
|
551
568
|
ComponentRecommendationList.member = Shapes::ShapeRef.new(shape: ComponentRecommendation)
|
552
569
|
|
570
|
+
Condition.add_member(:field, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "field"))
|
571
|
+
Condition.add_member(:operator, Shapes::ShapeRef.new(shape: ConditionOperatorType, required: true, location_name: "operator"))
|
572
|
+
Condition.add_member(:value, Shapes::ShapeRef.new(shape: String255, location_name: "value"))
|
573
|
+
Condition.struct_class = Types::Condition
|
574
|
+
|
575
|
+
ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
|
576
|
+
|
553
577
|
ConfigRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, location_name: "appComponentName"))
|
554
578
|
ConfigRecommendation.add_member(:compliance, Shapes::ShapeRef.new(shape: AssessmentCompliance, location_name: "compliance"))
|
555
579
|
ConfigRecommendation.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "cost"))
|
@@ -786,6 +810,15 @@ module Aws::ResilienceHub
|
|
786
810
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:status_change_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "statusChangeTime"))
|
787
811
|
DescribeDraftAppVersionResourcesImportStatusResponse.struct_class = Types::DescribeDraftAppVersionResourcesImportStatusResponse
|
788
812
|
|
813
|
+
DescribeMetricsExportRequest.add_member(:metrics_export_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "metricsExportId"))
|
814
|
+
DescribeMetricsExportRequest.struct_class = Types::DescribeMetricsExportRequest
|
815
|
+
|
816
|
+
DescribeMetricsExportResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String500, location_name: "errorMessage"))
|
817
|
+
DescribeMetricsExportResponse.add_member(:export_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "exportLocation"))
|
818
|
+
DescribeMetricsExportResponse.add_member(:metrics_export_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "metricsExportId"))
|
819
|
+
DescribeMetricsExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: MetricsExportStatusType, required: true, location_name: "status"))
|
820
|
+
DescribeMetricsExportResponse.struct_class = Types::DescribeMetricsExportResponse
|
821
|
+
|
789
822
|
DescribeResiliencyPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "policyArn"))
|
790
823
|
DescribeResiliencyPolicyRequest.struct_class = Types::DescribeResiliencyPolicyRequest
|
791
824
|
|
@@ -855,6 +888,12 @@ module Aws::ResilienceHub
|
|
855
888
|
FailurePolicy.add_member(:rto_in_secs, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "rtoInSecs"))
|
856
889
|
FailurePolicy.struct_class = Types::FailurePolicy
|
857
890
|
|
891
|
+
Field.add_member(:aggregation, Shapes::ShapeRef.new(shape: FieldAggregationType, location_name: "aggregation"))
|
892
|
+
Field.add_member(:name, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "name"))
|
893
|
+
Field.struct_class = Types::Field
|
894
|
+
|
895
|
+
FieldList.member = Shapes::ShapeRef.new(shape: Field)
|
896
|
+
|
858
897
|
GroupingAppComponent.add_member(:app_component_id, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "appComponentId"))
|
859
898
|
GroupingAppComponent.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "appComponentName"))
|
860
899
|
GroupingAppComponent.add_member(:app_component_type, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "appComponentType"))
|
@@ -1030,6 +1069,18 @@ module Aws::ResilienceHub
|
|
1030
1069
|
ListAppsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1031
1070
|
ListAppsResponse.struct_class = Types::ListAppsResponse
|
1032
1071
|
|
1072
|
+
ListMetricsRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: ConditionList, location_name: "conditions"))
|
1073
|
+
ListMetricsRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: String255, location_name: "dataSource"))
|
1074
|
+
ListMetricsRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "fields"))
|
1075
|
+
ListMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1076
|
+
ListMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1077
|
+
ListMetricsRequest.add_member(:sorts, Shapes::ShapeRef.new(shape: SortList, location_name: "sorts"))
|
1078
|
+
ListMetricsRequest.struct_class = Types::ListMetricsRequest
|
1079
|
+
|
1080
|
+
ListMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1081
|
+
ListMetricsResponse.add_member(:rows, Shapes::ShapeRef.new(shape: RowList, required: true, location_name: "rows"))
|
1082
|
+
ListMetricsResponse.struct_class = Types::ListMetricsResponse
|
1083
|
+
|
1033
1084
|
ListRecommendationTemplatesRequest.add_member(:assessment_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "assessmentArn"))
|
1034
1085
|
ListRecommendationTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1035
1086
|
ListRecommendationTemplatesRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location: "querystring", location_name: "name"))
|
@@ -1294,6 +1345,10 @@ module Aws::ResilienceHub
|
|
1294
1345
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
1295
1346
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1296
1347
|
|
1348
|
+
Row.member = Shapes::ShapeRef.new(shape: String255)
|
1349
|
+
|
1350
|
+
RowList.member = Shapes::ShapeRef.new(shape: Row)
|
1351
|
+
|
1297
1352
|
S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: String500, location_name: "bucket"))
|
1298
1353
|
S3Location.add_member(:prefix, Shapes::ShapeRef.new(shape: String500, location_name: "prefix"))
|
1299
1354
|
S3Location.struct_class = Types::S3Location
|
@@ -1323,6 +1378,12 @@ module Aws::ResilienceHub
|
|
1323
1378
|
|
1324
1379
|
SopRecommendationList.member = Shapes::ShapeRef.new(shape: SopRecommendation)
|
1325
1380
|
|
1381
|
+
Sort.add_member(:ascending, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ascending"))
|
1382
|
+
Sort.add_member(:field, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "field"))
|
1383
|
+
Sort.struct_class = Types::Sort
|
1384
|
+
|
1385
|
+
SortList.member = Shapes::ShapeRef.new(shape: Sort)
|
1386
|
+
|
1326
1387
|
StartAppAssessmentRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
1327
1388
|
StartAppAssessmentRequest.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion"))
|
1328
1389
|
StartAppAssessmentRequest.add_member(:assessment_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "assessmentName"))
|
@@ -1333,6 +1394,14 @@ module Aws::ResilienceHub
|
|
1333
1394
|
StartAppAssessmentResponse.add_member(:assessment, Shapes::ShapeRef.new(shape: AppAssessment, required: true, location_name: "assessment"))
|
1334
1395
|
StartAppAssessmentResponse.struct_class = Types::StartAppAssessmentResponse
|
1335
1396
|
|
1397
|
+
StartMetricsExportRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "bucketName"))
|
1398
|
+
StartMetricsExportRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1399
|
+
StartMetricsExportRequest.struct_class = Types::StartMetricsExportRequest
|
1400
|
+
|
1401
|
+
StartMetricsExportResponse.add_member(:metrics_export_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "metricsExportId"))
|
1402
|
+
StartMetricsExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: MetricsExportStatusType, required: true, location_name: "status"))
|
1403
|
+
StartMetricsExportResponse.struct_class = Types::StartMetricsExportResponse
|
1404
|
+
|
1336
1405
|
StartResourceGroupingRecommendationTaskRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
1337
1406
|
StartResourceGroupingRecommendationTaskRequest.struct_class = Types::StartResourceGroupingRecommendationTaskRequest
|
1338
1407
|
|
@@ -1811,6 +1880,19 @@ module Aws::ResilienceHub
|
|
1811
1880
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1812
1881
|
end)
|
1813
1882
|
|
1883
|
+
api.add_operation(:describe_metrics_export, Seahorse::Model::Operation.new.tap do |o|
|
1884
|
+
o.name = "DescribeMetricsExport"
|
1885
|
+
o.http_method = "POST"
|
1886
|
+
o.http_request_uri = "/describe-metrics-export"
|
1887
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMetricsExportRequest)
|
1888
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMetricsExportResponse)
|
1889
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1890
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1891
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1892
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1893
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1894
|
+
end)
|
1895
|
+
|
1814
1896
|
api.add_operation(:describe_resiliency_policy, Seahorse::Model::Operation.new.tap do |o|
|
1815
1897
|
o.name = "DescribeResiliencyPolicy"
|
1816
1898
|
o.http_method = "POST"
|
@@ -2078,6 +2160,24 @@ module Aws::ResilienceHub
|
|
2078
2160
|
)
|
2079
2161
|
end)
|
2080
2162
|
|
2163
|
+
api.add_operation(:list_metrics, Seahorse::Model::Operation.new.tap do |o|
|
2164
|
+
o.name = "ListMetrics"
|
2165
|
+
o.http_method = "POST"
|
2166
|
+
o.http_request_uri = "/list-metrics"
|
2167
|
+
o.input = Shapes::ShapeRef.new(shape: ListMetricsRequest)
|
2168
|
+
o.output = Shapes::ShapeRef.new(shape: ListMetricsResponse)
|
2169
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2170
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2171
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2172
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2173
|
+
o[:pager] = Aws::Pager.new(
|
2174
|
+
limit_key: "max_results",
|
2175
|
+
tokens: {
|
2176
|
+
"next_token" => "next_token"
|
2177
|
+
}
|
2178
|
+
)
|
2179
|
+
end)
|
2180
|
+
|
2081
2181
|
api.add_operation(:list_recommendation_templates, Seahorse::Model::Operation.new.tap do |o|
|
2082
2182
|
o.name = "ListRecommendationTemplates"
|
2083
2183
|
o.http_method = "GET"
|
@@ -2310,6 +2410,20 @@ module Aws::ResilienceHub
|
|
2310
2410
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2311
2411
|
end)
|
2312
2412
|
|
2413
|
+
api.add_operation(:start_metrics_export, Seahorse::Model::Operation.new.tap do |o|
|
2414
|
+
o.name = "StartMetricsExport"
|
2415
|
+
o.http_method = "POST"
|
2416
|
+
o.http_request_uri = "/start-metrics-export"
|
2417
|
+
o.input = Shapes::ShapeRef.new(shape: StartMetricsExportRequest)
|
2418
|
+
o.output = Shapes::ShapeRef.new(shape: StartMetricsExportResponse)
|
2419
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2420
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2421
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2422
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2423
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2424
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2425
|
+
end)
|
2426
|
+
|
2313
2427
|
api.add_operation(:start_resource_grouping_recommendation_task, Seahorse::Model::Operation.new.tap do |o|
|
2314
2428
|
o.name = "StartResourceGroupingRecommendationTask"
|
2315
2429
|
o.http_method = "POST"
|
@@ -38,8 +38,8 @@ module Aws::ResilienceHub
|
|
38
38
|
# @return [String]
|
39
39
|
#
|
40
40
|
# @!attribute [rw] entries
|
41
|
-
#
|
42
|
-
#
|
41
|
+
# List of resource grouping recommendations you want to include in
|
42
|
+
# your application.
|
43
43
|
# @return [Array<Types::AcceptGroupingRecommendationEntry>]
|
44
44
|
#
|
45
45
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendationsRequest AWS API Documentation
|
@@ -64,8 +64,8 @@ module Aws::ResilienceHub
|
|
64
64
|
# @return [String]
|
65
65
|
#
|
66
66
|
# @!attribute [rw] failed_entries
|
67
|
-
#
|
68
|
-
#
|
67
|
+
# List of resource grouping recommendations that could not be included
|
68
|
+
# in your application.
|
69
69
|
# @return [Array<Types::FailedGroupingRecommendationEntry>]
|
70
70
|
#
|
71
71
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendationsResponse AWS API Documentation
|
@@ -251,7 +251,7 @@ module Aws::ResilienceHub
|
|
251
251
|
# @return [String]
|
252
252
|
#
|
253
253
|
# @!attribute [rw] creation_time
|
254
|
-
# Date and time when the
|
254
|
+
# Date and time when the application was created.
|
255
255
|
# @return [Time]
|
256
256
|
#
|
257
257
|
# @!attribute [rw] description
|
@@ -1141,6 +1141,31 @@ module Aws::ResilienceHub
|
|
1141
1141
|
include Aws::Structure
|
1142
1142
|
end
|
1143
1143
|
|
1144
|
+
# Indicates the condition based on which you want to filter the metrics.
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] field
|
1147
|
+
# Indicates the field in the metric.
|
1148
|
+
# @return [String]
|
1149
|
+
#
|
1150
|
+
# @!attribute [rw] operator
|
1151
|
+
# Indicates the type of operator or comparison to be used when
|
1152
|
+
# evaluating a condition against the specified field.
|
1153
|
+
# @return [String]
|
1154
|
+
#
|
1155
|
+
# @!attribute [rw] value
|
1156
|
+
# Indicates the value or data against which a condition is evaluated.
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Condition AWS API Documentation
|
1160
|
+
#
|
1161
|
+
class Condition < Struct.new(
|
1162
|
+
:field,
|
1163
|
+
:operator,
|
1164
|
+
:value)
|
1165
|
+
SENSITIVE = []
|
1166
|
+
include Aws::Structure
|
1167
|
+
end
|
1168
|
+
|
1144
1169
|
# Defines a recommendation configuration.
|
1145
1170
|
#
|
1146
1171
|
# @!attribute [rw] app_component_name
|
@@ -1656,11 +1681,11 @@ module Aws::ResilienceHub
|
|
1656
1681
|
# @return [Hash<String,Types::FailurePolicy>]
|
1657
1682
|
#
|
1658
1683
|
# @!attribute [rw] policy_description
|
1659
|
-
#
|
1684
|
+
# Description of the resiliency policy.
|
1660
1685
|
# @return [String]
|
1661
1686
|
#
|
1662
1687
|
# @!attribute [rw] policy_name
|
1663
|
-
#
|
1688
|
+
# Name of the resiliency policy.
|
1664
1689
|
# @return [String]
|
1665
1690
|
#
|
1666
1691
|
# @!attribute [rw] tags
|
@@ -2582,7 +2607,6 @@ module Aws::ResilienceHub
|
|
2582
2607
|
# </note>
|
2583
2608
|
#
|
2584
2609
|
# Type: String
|
2585
|
-
#
|
2586
2610
|
# * <i> <code>type</code> </i>
|
2587
2611
|
#
|
2588
2612
|
# The type of resource.
|
@@ -2612,7 +2636,6 @@ module Aws::ResilienceHub
|
|
2612
2636
|
# "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`
|
2613
2637
|
#
|
2614
2638
|
# </note>
|
2615
|
-
#
|
2616
2639
|
# * <b> <code>appComponents</code> </b>
|
2617
2640
|
#
|
2618
2641
|
# List of Application Components that this resource belongs to. If
|
@@ -2661,7 +2684,6 @@ module Aws::ResilienceHub
|
|
2661
2684
|
# "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`
|
2662
2685
|
#
|
2663
2686
|
# </note>
|
2664
|
-
#
|
2665
2687
|
# * <b> <code>excludedResources</code> </b>
|
2666
2688
|
#
|
2667
2689
|
# The list of logical resource identifiers to be excluded from the
|
@@ -2731,7 +2753,6 @@ module Aws::ResilienceHub
|
|
2731
2753
|
# </note>
|
2732
2754
|
#
|
2733
2755
|
# Type: String
|
2734
|
-
#
|
2735
2756
|
# * <b> <code>version</code> </b>
|
2736
2757
|
#
|
2737
2758
|
# Resilience Hub application version.
|
@@ -2838,6 +2859,46 @@ module Aws::ResilienceHub
|
|
2838
2859
|
include Aws::Structure
|
2839
2860
|
end
|
2840
2861
|
|
2862
|
+
# @!attribute [rw] metrics_export_id
|
2863
|
+
# Identifier of the metrics export task.
|
2864
|
+
# @return [String]
|
2865
|
+
#
|
2866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeMetricsExportRequest AWS API Documentation
|
2867
|
+
#
|
2868
|
+
class DescribeMetricsExportRequest < Struct.new(
|
2869
|
+
:metrics_export_id)
|
2870
|
+
SENSITIVE = []
|
2871
|
+
include Aws::Structure
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
# @!attribute [rw] error_message
|
2875
|
+
# Explains the error that occurred while exporting the metrics.
|
2876
|
+
# @return [String]
|
2877
|
+
#
|
2878
|
+
# @!attribute [rw] export_location
|
2879
|
+
# Specifies the name of the Amazon S3 bucket where the exported
|
2880
|
+
# metrics is stored.
|
2881
|
+
# @return [Types::S3Location]
|
2882
|
+
#
|
2883
|
+
# @!attribute [rw] metrics_export_id
|
2884
|
+
# Identifier for the metrics export task.
|
2885
|
+
# @return [String]
|
2886
|
+
#
|
2887
|
+
# @!attribute [rw] status
|
2888
|
+
# Indicates the status of the metrics export task.
|
2889
|
+
# @return [String]
|
2890
|
+
#
|
2891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeMetricsExportResponse AWS API Documentation
|
2892
|
+
#
|
2893
|
+
class DescribeMetricsExportResponse < Struct.new(
|
2894
|
+
:error_message,
|
2895
|
+
:export_location,
|
2896
|
+
:metrics_export_id,
|
2897
|
+
:status)
|
2898
|
+
SENSITIVE = []
|
2899
|
+
include Aws::Structure
|
2900
|
+
end
|
2901
|
+
|
2841
2902
|
# @!attribute [rw] policy_arn
|
2842
2903
|
# Amazon Resource Name (ARN) of the resiliency policy. The format for
|
2843
2904
|
# this ARN is:
|
@@ -2887,7 +2948,7 @@ module Aws::ResilienceHub
|
|
2887
2948
|
# @return [String]
|
2888
2949
|
#
|
2889
2950
|
# @!attribute [rw] grouping_id
|
2890
|
-
#
|
2951
|
+
# Identifier of the grouping recommendation task.
|
2891
2952
|
# @return [String]
|
2892
2953
|
#
|
2893
2954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTaskRequest AWS API Documentation
|
@@ -2900,12 +2961,11 @@ module Aws::ResilienceHub
|
|
2900
2961
|
end
|
2901
2962
|
|
2902
2963
|
# @!attribute [rw] error_message
|
2903
|
-
#
|
2904
|
-
# recommendation.
|
2964
|
+
# Error that occurred while generating a grouping recommendation.
|
2905
2965
|
# @return [String]
|
2906
2966
|
#
|
2907
2967
|
# @!attribute [rw] grouping_id
|
2908
|
-
#
|
2968
|
+
# Identifier of the grouping recommendation task.
|
2909
2969
|
# @return [String]
|
2910
2970
|
#
|
2911
2971
|
# @!attribute [rw] status
|
@@ -3129,6 +3189,28 @@ module Aws::ResilienceHub
|
|
3129
3189
|
include Aws::Structure
|
3130
3190
|
end
|
3131
3191
|
|
3192
|
+
# Indicates the field or attribute of a resource or data structure on
|
3193
|
+
# which a condition is being applied or evaluated.
|
3194
|
+
#
|
3195
|
+
# @!attribute [rw] aggregation
|
3196
|
+
# (Optional) Indicates the type of aggregation or summary operation
|
3197
|
+
# (such as Sum, Average, and so on) to be performed on a particular
|
3198
|
+
# field or set of data.
|
3199
|
+
# @return [String]
|
3200
|
+
#
|
3201
|
+
# @!attribute [rw] name
|
3202
|
+
# Name of the field.
|
3203
|
+
# @return [String]
|
3204
|
+
#
|
3205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Field AWS API Documentation
|
3206
|
+
#
|
3207
|
+
class Field < Struct.new(
|
3208
|
+
:aggregation,
|
3209
|
+
:name)
|
3210
|
+
SENSITIVE = []
|
3211
|
+
include Aws::Structure
|
3212
|
+
end
|
3213
|
+
|
3132
3214
|
# Creates a new recommended Application Component (AppComponent).
|
3133
3215
|
#
|
3134
3216
|
# @!attribute [rw] app_component_id
|
@@ -3420,7 +3502,7 @@ module Aws::ResilienceHub
|
|
3420
3502
|
# @return [String]
|
3421
3503
|
#
|
3422
3504
|
# @!attribute [rw] max_results
|
3423
|
-
#
|
3505
|
+
# Maximum number of compliance drifts requested.
|
3424
3506
|
# @return [Integer]
|
3425
3507
|
#
|
3426
3508
|
# @!attribute [rw] next_token
|
@@ -3470,10 +3552,10 @@ module Aws::ResilienceHub
|
|
3470
3552
|
# @return [String]
|
3471
3553
|
#
|
3472
3554
|
# @!attribute [rw] max_results
|
3473
|
-
#
|
3474
|
-
#
|
3475
|
-
#
|
3476
|
-
#
|
3555
|
+
# Maximum number of drift results to include in the response. If more
|
3556
|
+
# results exist than the specified `MaxResults` value, a token is
|
3557
|
+
# included in the response so that the remaining results can be
|
3558
|
+
# retrieved.
|
3477
3559
|
# @return [Integer]
|
3478
3560
|
#
|
3479
3561
|
# @!attribute [rw] next_token
|
@@ -4044,8 +4126,8 @@ module Aws::ResilienceHub
|
|
4044
4126
|
# @return [String]
|
4045
4127
|
#
|
4046
4128
|
# @!attribute [rw] from_last_assessment_time
|
4047
|
-
#
|
4048
|
-
#
|
4129
|
+
# Lower limit of the range that is used to filter applications based
|
4130
|
+
# on their last assessment times.
|
4049
4131
|
# @return [Time]
|
4050
4132
|
#
|
4051
4133
|
# @!attribute [rw] max_results
|
@@ -4072,8 +4154,8 @@ module Aws::ResilienceHub
|
|
4072
4154
|
# @return [Boolean]
|
4073
4155
|
#
|
4074
4156
|
# @!attribute [rw] to_last_assessment_time
|
4075
|
-
#
|
4076
|
-
#
|
4157
|
+
# Upper limit of the range that is used to filter the applications
|
4158
|
+
# based on their last assessment times.
|
4077
4159
|
# @return [Time]
|
4078
4160
|
#
|
4079
4161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppsRequest AWS API Documentation
|
@@ -4109,6 +4191,68 @@ module Aws::ResilienceHub
|
|
4109
4191
|
include Aws::Structure
|
4110
4192
|
end
|
4111
4193
|
|
4194
|
+
# @!attribute [rw] conditions
|
4195
|
+
# Indicates the list of all the conditions that were applied on the
|
4196
|
+
# metrics.
|
4197
|
+
# @return [Array<Types::Condition>]
|
4198
|
+
#
|
4199
|
+
# @!attribute [rw] data_source
|
4200
|
+
# Indicates the data source of the metrics.
|
4201
|
+
# @return [String]
|
4202
|
+
#
|
4203
|
+
# @!attribute [rw] fields
|
4204
|
+
# Indicates the list of fields in the data source.
|
4205
|
+
# @return [Array<Types::Field>]
|
4206
|
+
#
|
4207
|
+
# @!attribute [rw] max_results
|
4208
|
+
# Maximum number of results to include in the response. If more
|
4209
|
+
# results exist than the specified `MaxResults` value, a token is
|
4210
|
+
# included in the response so that the remaining results can be
|
4211
|
+
# retrieved.
|
4212
|
+
# @return [Integer]
|
4213
|
+
#
|
4214
|
+
# @!attribute [rw] next_token
|
4215
|
+
# Null, or the token from a previous call to get the next set of
|
4216
|
+
# results.
|
4217
|
+
# @return [String]
|
4218
|
+
#
|
4219
|
+
# @!attribute [rw] sorts
|
4220
|
+
# (Optional) Indicates the order in which you want to sort the fields
|
4221
|
+
# in the metrics. By default, the fields are sorted in the ascending
|
4222
|
+
# order.
|
4223
|
+
# @return [Array<Types::Sort>]
|
4224
|
+
#
|
4225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListMetricsRequest AWS API Documentation
|
4226
|
+
#
|
4227
|
+
class ListMetricsRequest < Struct.new(
|
4228
|
+
:conditions,
|
4229
|
+
:data_source,
|
4230
|
+
:fields,
|
4231
|
+
:max_results,
|
4232
|
+
:next_token,
|
4233
|
+
:sorts)
|
4234
|
+
SENSITIVE = []
|
4235
|
+
include Aws::Structure
|
4236
|
+
end
|
4237
|
+
|
4238
|
+
# @!attribute [rw] next_token
|
4239
|
+
# Token for the next set of results, or null if there are no more
|
4240
|
+
# results.
|
4241
|
+
# @return [String]
|
4242
|
+
#
|
4243
|
+
# @!attribute [rw] rows
|
4244
|
+
# Specifies all the list of metric values for each row of metrics.
|
4245
|
+
# @return [Array<Array<String>>]
|
4246
|
+
#
|
4247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListMetricsResponse AWS API Documentation
|
4248
|
+
#
|
4249
|
+
class ListMetricsResponse < Struct.new(
|
4250
|
+
:next_token,
|
4251
|
+
:rows)
|
4252
|
+
SENSITIVE = []
|
4253
|
+
include Aws::Structure
|
4254
|
+
end
|
4255
|
+
|
4112
4256
|
# @!attribute [rw] assessment_arn
|
4113
4257
|
# Amazon Resource Name (ARN) of the assessment. The format for this
|
4114
4258
|
# ARN is:
|
@@ -4195,7 +4339,7 @@ module Aws::ResilienceHub
|
|
4195
4339
|
# @return [String]
|
4196
4340
|
#
|
4197
4341
|
# @!attribute [rw] policy_name
|
4198
|
-
#
|
4342
|
+
# Name of the resiliency policy.
|
4199
4343
|
# @return [String]
|
4200
4344
|
#
|
4201
4345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPoliciesRequest AWS API Documentation
|
@@ -4902,7 +5046,6 @@ module Aws::ResilienceHub
|
|
4902
5046
|
# </note>
|
4903
5047
|
#
|
4904
5048
|
# Type: String
|
4905
|
-
#
|
4906
5049
|
# * <i> <code>type</code> </i>
|
4907
5050
|
#
|
4908
5051
|
# The type of resource.
|
@@ -4932,7 +5075,6 @@ module Aws::ResilienceHub
|
|
4932
5075
|
# "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`
|
4933
5076
|
#
|
4934
5077
|
# </note>
|
4935
|
-
#
|
4936
5078
|
# * <b> <code>appComponents</code> </b>
|
4937
5079
|
#
|
4938
5080
|
# List of Application Components that this resource belongs to. If
|
@@ -4981,7 +5123,6 @@ module Aws::ResilienceHub
|
|
4981
5123
|
# "accounts":[{"id":"<ACCOUNT_ID>"}]}]"`
|
4982
5124
|
#
|
4983
5125
|
# </note>
|
4984
|
-
#
|
4985
5126
|
# * <b> <code>excludedResources</code> </b>
|
4986
5127
|
#
|
4987
5128
|
# The list of logical resource identifiers to be excluded from the
|
@@ -5051,7 +5192,6 @@ module Aws::ResilienceHub
|
|
5051
5192
|
# </note>
|
5052
5193
|
#
|
5053
5194
|
# Type: String
|
5054
|
-
#
|
5055
5195
|
# * <b> <code>version</code> </b>
|
5056
5196
|
#
|
5057
5197
|
# Resilience Hub application version.
|
@@ -5344,8 +5484,8 @@ module Aws::ResilienceHub
|
|
5344
5484
|
# @return [String]
|
5345
5485
|
#
|
5346
5486
|
# @!attribute [rw] entries
|
5347
|
-
#
|
5348
|
-
#
|
5487
|
+
# List of resource grouping recommendations you have selected to
|
5488
|
+
# exclude from your application.
|
5349
5489
|
# @return [Array<Types::RejectGroupingRecommendationEntry>]
|
5350
5490
|
#
|
5351
5491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendationsRequest AWS API Documentation
|
@@ -5370,8 +5510,8 @@ module Aws::ResilienceHub
|
|
5370
5510
|
# @return [String]
|
5371
5511
|
#
|
5372
5512
|
# @!attribute [rw] failed_entries
|
5373
|
-
#
|
5374
|
-
#
|
5513
|
+
# List of resource grouping recommendations that failed to get
|
5514
|
+
# excluded in your application.
|
5375
5515
|
# @return [Array<Types::FailedGroupingRecommendationEntry>]
|
5376
5516
|
#
|
5377
5517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendationsResponse AWS API Documentation
|
@@ -5510,7 +5650,7 @@ module Aws::ResilienceHub
|
|
5510
5650
|
# @return [String]
|
5511
5651
|
#
|
5512
5652
|
# @!attribute [rw] policy_description
|
5513
|
-
#
|
5653
|
+
# Description of the resiliency policy.
|
5514
5654
|
# @return [String]
|
5515
5655
|
#
|
5516
5656
|
# @!attribute [rw] policy_name
|
@@ -5963,6 +6103,28 @@ module Aws::ResilienceHub
|
|
5963
6103
|
include Aws::Structure
|
5964
6104
|
end
|
5965
6105
|
|
6106
|
+
# Indicates the sorting order of the fields in the metrics.
|
6107
|
+
#
|
6108
|
+
# @!attribute [rw] ascending
|
6109
|
+
# Indicates the name or identifier of the field or attribute that
|
6110
|
+
# should be used as the basis for sorting the metrics.
|
6111
|
+
# @return [Boolean]
|
6112
|
+
#
|
6113
|
+
# @!attribute [rw] field
|
6114
|
+
# Indicates the order in which you want to sort the metrics. By
|
6115
|
+
# default, the list is sorted in ascending order. To sort the list in
|
6116
|
+
# descending order, set this field to False.
|
6117
|
+
# @return [String]
|
6118
|
+
#
|
6119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Sort AWS API Documentation
|
6120
|
+
#
|
6121
|
+
class Sort < Struct.new(
|
6122
|
+
:ascending,
|
6123
|
+
:field)
|
6124
|
+
SENSITIVE = []
|
6125
|
+
include Aws::Structure
|
6126
|
+
end
|
6127
|
+
|
5966
6128
|
# @!attribute [rw] app_arn
|
5967
6129
|
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
5968
6130
|
# format for this ARN is:
|
@@ -6022,6 +6184,46 @@ module Aws::ResilienceHub
|
|
6022
6184
|
include Aws::Structure
|
6023
6185
|
end
|
6024
6186
|
|
6187
|
+
# @!attribute [rw] bucket_name
|
6188
|
+
# (Optional) Specifies the name of the Amazon Simple Storage Service
|
6189
|
+
# bucket where the exported metrics will be stored.
|
6190
|
+
# @return [String]
|
6191
|
+
#
|
6192
|
+
# @!attribute [rw] client_token
|
6193
|
+
# Used for an idempotency token. A client token is a unique,
|
6194
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
6195
|
+
# reuse the same client token for other API requests.
|
6196
|
+
#
|
6197
|
+
# **A suitable default value is auto-generated.** You should normally
|
6198
|
+
# not need to pass this option.
|
6199
|
+
# @return [String]
|
6200
|
+
#
|
6201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartMetricsExportRequest AWS API Documentation
|
6202
|
+
#
|
6203
|
+
class StartMetricsExportRequest < Struct.new(
|
6204
|
+
:bucket_name,
|
6205
|
+
:client_token)
|
6206
|
+
SENSITIVE = []
|
6207
|
+
include Aws::Structure
|
6208
|
+
end
|
6209
|
+
|
6210
|
+
# @!attribute [rw] metrics_export_id
|
6211
|
+
# Identifier of the metrics export task.
|
6212
|
+
# @return [String]
|
6213
|
+
#
|
6214
|
+
# @!attribute [rw] status
|
6215
|
+
# Indicates the status of the metrics export task.
|
6216
|
+
# @return [String]
|
6217
|
+
#
|
6218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartMetricsExportResponse AWS API Documentation
|
6219
|
+
#
|
6220
|
+
class StartMetricsExportResponse < Struct.new(
|
6221
|
+
:metrics_export_id,
|
6222
|
+
:status)
|
6223
|
+
SENSITIVE = []
|
6224
|
+
include Aws::Structure
|
6225
|
+
end
|
6226
|
+
|
6025
6227
|
# @!attribute [rw] app_arn
|
6026
6228
|
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
6027
6229
|
# format for this ARN is:
|
@@ -6055,12 +6257,11 @@ module Aws::ResilienceHub
|
|
6055
6257
|
# @return [String]
|
6056
6258
|
#
|
6057
6259
|
# @!attribute [rw] error_message
|
6058
|
-
#
|
6059
|
-
# recommendation task.
|
6260
|
+
# Error that occurred while executing a grouping recommendation task.
|
6060
6261
|
# @return [String]
|
6061
6262
|
#
|
6062
6263
|
# @!attribute [rw] grouping_id
|
6063
|
-
#
|
6264
|
+
# Identifier of the grouping recommendation task.
|
6064
6265
|
# @return [String]
|
6065
6266
|
#
|
6066
6267
|
# @!attribute [rw] status
|
@@ -6668,8 +6869,8 @@ module Aws::ResilienceHub
|
|
6668
6869
|
# @return [String]
|
6669
6870
|
#
|
6670
6871
|
# @!attribute [rw] policy
|
6671
|
-
#
|
6672
|
-
#
|
6872
|
+
# Resiliency policy to be created, including the recovery time
|
6873
|
+
# objective (RTO) and recovery point objective (RPO) in seconds.
|
6673
6874
|
# @return [Hash<String,Types::FailurePolicy>]
|
6674
6875
|
#
|
6675
6876
|
# @!attribute [rw] policy_arn
|
@@ -6685,11 +6886,11 @@ module Aws::ResilienceHub
|
|
6685
6886
|
# @return [String]
|
6686
6887
|
#
|
6687
6888
|
# @!attribute [rw] policy_description
|
6688
|
-
#
|
6889
|
+
# Description of the resiliency policy.
|
6689
6890
|
# @return [String]
|
6690
6891
|
#
|
6691
6892
|
# @!attribute [rw] policy_name
|
6692
|
-
#
|
6893
|
+
# Name of the resiliency policy.
|
6693
6894
|
# @return [String]
|
6694
6895
|
#
|
6695
6896
|
# @!attribute [rw] tier
|
@@ -6711,9 +6912,8 @@ module Aws::ResilienceHub
|
|
6711
6912
|
end
|
6712
6913
|
|
6713
6914
|
# @!attribute [rw] policy
|
6714
|
-
# The
|
6715
|
-
#
|
6716
|
-
# seconds.
|
6915
|
+
# The resiliency policy that was updated, including the recovery time
|
6916
|
+
# objective (RTO) and recovery point objective (RPO) in seconds.
|
6717
6917
|
# @return [Types::ResiliencyPolicy]
|
6718
6918
|
#
|
6719
6919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicyResponse AWS API Documentation
|
data/sig/client.rbs
CHANGED
@@ -473,6 +473,19 @@ module Aws
|
|
473
473
|
) -> _DescribeDraftAppVersionResourcesImportStatusResponseSuccess
|
474
474
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDraftAppVersionResourcesImportStatusResponseSuccess
|
475
475
|
|
476
|
+
interface _DescribeMetricsExportResponseSuccess
|
477
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricsExportResponse]
|
478
|
+
def error_message: () -> ::String
|
479
|
+
def export_location: () -> Types::S3Location
|
480
|
+
def metrics_export_id: () -> ::String
|
481
|
+
def status: () -> ("Pending" | "InProgress" | "Failed" | "Success")
|
482
|
+
end
|
483
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#describe_metrics_export-instance_method
|
484
|
+
def describe_metrics_export: (
|
485
|
+
metrics_export_id: ::String
|
486
|
+
) -> _DescribeMetricsExportResponseSuccess
|
487
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMetricsExportResponseSuccess
|
488
|
+
|
476
489
|
interface _DescribeResiliencyPolicyResponseSuccess
|
477
490
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResiliencyPolicyResponse]
|
478
491
|
def policy: () -> Types::ResiliencyPolicy
|
@@ -700,6 +713,38 @@ module Aws
|
|
700
713
|
) -> _ListAppsResponseSuccess
|
701
714
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsResponseSuccess
|
702
715
|
|
716
|
+
interface _ListMetricsResponseSuccess
|
717
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMetricsResponse]
|
718
|
+
def next_token: () -> ::String
|
719
|
+
def rows: () -> ::Array[::Array[::String]]
|
720
|
+
end
|
721
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#list_metrics-instance_method
|
722
|
+
def list_metrics: (
|
723
|
+
?conditions: Array[
|
724
|
+
{
|
725
|
+
field: ::String,
|
726
|
+
operator: ("Equals" | "NotEquals" | "GreaterThen" | "GreaterOrEquals" | "LessThen" | "LessOrEquals"),
|
727
|
+
value: ::String?
|
728
|
+
},
|
729
|
+
],
|
730
|
+
?data_source: ::String,
|
731
|
+
?fields: Array[
|
732
|
+
{
|
733
|
+
aggregation: ("Min" | "Max" | "Sum" | "Avg" | "Count")?,
|
734
|
+
name: ::String
|
735
|
+
},
|
736
|
+
],
|
737
|
+
?max_results: ::Integer,
|
738
|
+
?next_token: ::String,
|
739
|
+
?sorts: Array[
|
740
|
+
{
|
741
|
+
ascending: bool?,
|
742
|
+
field: ::String
|
743
|
+
},
|
744
|
+
]
|
745
|
+
) -> _ListMetricsResponseSuccess
|
746
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMetricsResponseSuccess
|
747
|
+
|
703
748
|
interface _ListRecommendationTemplatesResponseSuccess
|
704
749
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationTemplatesResponse]
|
705
750
|
def next_token: () -> ::String
|
@@ -895,6 +940,18 @@ module Aws
|
|
895
940
|
) -> _StartAppAssessmentResponseSuccess
|
896
941
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAppAssessmentResponseSuccess
|
897
942
|
|
943
|
+
interface _StartMetricsExportResponseSuccess
|
944
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartMetricsExportResponse]
|
945
|
+
def metrics_export_id: () -> ::String
|
946
|
+
def status: () -> ("Pending" | "InProgress" | "Failed" | "Success")
|
947
|
+
end
|
948
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#start_metrics_export-instance_method
|
949
|
+
def start_metrics_export: (
|
950
|
+
?bucket_name: ::String,
|
951
|
+
?client_token: ::String
|
952
|
+
) -> _StartMetricsExportResponseSuccess
|
953
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMetricsExportResponseSuccess
|
954
|
+
|
898
955
|
interface _StartResourceGroupingRecommendationTaskResponseSuccess
|
899
956
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceGroupingRecommendationTaskResponse]
|
900
957
|
def app_arn: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -236,6 +236,13 @@ module Aws::ResilienceHub
|
|
236
236
|
SENSITIVE: []
|
237
237
|
end
|
238
238
|
|
239
|
+
class Condition
|
240
|
+
attr_accessor field: ::String
|
241
|
+
attr_accessor operator: ("Equals" | "NotEquals" | "GreaterThen" | "GreaterOrEquals" | "LessThen" | "LessOrEquals")
|
242
|
+
attr_accessor value: ::String
|
243
|
+
SENSITIVE: []
|
244
|
+
end
|
245
|
+
|
239
246
|
class ConfigRecommendation
|
240
247
|
attr_accessor app_component_name: ::String
|
241
248
|
attr_accessor compliance: ::Hash[("Software" | "Hardware" | "AZ" | "Region"), Types::DisruptionCompliance]
|
@@ -556,6 +563,19 @@ module Aws::ResilienceHub
|
|
556
563
|
SENSITIVE: []
|
557
564
|
end
|
558
565
|
|
566
|
+
class DescribeMetricsExportRequest
|
567
|
+
attr_accessor metrics_export_id: ::String
|
568
|
+
SENSITIVE: []
|
569
|
+
end
|
570
|
+
|
571
|
+
class DescribeMetricsExportResponse
|
572
|
+
attr_accessor error_message: ::String
|
573
|
+
attr_accessor export_location: Types::S3Location
|
574
|
+
attr_accessor metrics_export_id: ::String
|
575
|
+
attr_accessor status: ("Pending" | "InProgress" | "Failed" | "Success")
|
576
|
+
SENSITIVE: []
|
577
|
+
end
|
578
|
+
|
559
579
|
class DescribeResiliencyPolicyRequest
|
560
580
|
attr_accessor policy_arn: ::String
|
561
581
|
SENSITIVE: []
|
@@ -629,6 +649,12 @@ module Aws::ResilienceHub
|
|
629
649
|
SENSITIVE: []
|
630
650
|
end
|
631
651
|
|
652
|
+
class Field
|
653
|
+
attr_accessor aggregation: ("Min" | "Max" | "Sum" | "Avg" | "Count")
|
654
|
+
attr_accessor name: ::String
|
655
|
+
SENSITIVE: []
|
656
|
+
end
|
657
|
+
|
632
658
|
class GroupingAppComponent
|
633
659
|
attr_accessor app_component_id: ::String
|
634
660
|
attr_accessor app_component_name: ::String
|
@@ -858,6 +884,22 @@ module Aws::ResilienceHub
|
|
858
884
|
SENSITIVE: []
|
859
885
|
end
|
860
886
|
|
887
|
+
class ListMetricsRequest
|
888
|
+
attr_accessor conditions: ::Array[Types::Condition]
|
889
|
+
attr_accessor data_source: ::String
|
890
|
+
attr_accessor fields: ::Array[Types::Field]
|
891
|
+
attr_accessor max_results: ::Integer
|
892
|
+
attr_accessor next_token: ::String
|
893
|
+
attr_accessor sorts: ::Array[Types::Sort]
|
894
|
+
SENSITIVE: []
|
895
|
+
end
|
896
|
+
|
897
|
+
class ListMetricsResponse
|
898
|
+
attr_accessor next_token: ::String
|
899
|
+
attr_accessor rows: ::Array[::Array[::String]]
|
900
|
+
SENSITIVE: []
|
901
|
+
end
|
902
|
+
|
861
903
|
class ListRecommendationTemplatesRequest
|
862
904
|
attr_accessor assessment_arn: ::String
|
863
905
|
attr_accessor max_results: ::Integer
|
@@ -1213,6 +1255,12 @@ module Aws::ResilienceHub
|
|
1213
1255
|
SENSITIVE: []
|
1214
1256
|
end
|
1215
1257
|
|
1258
|
+
class Sort
|
1259
|
+
attr_accessor ascending: bool
|
1260
|
+
attr_accessor field: ::String
|
1261
|
+
SENSITIVE: []
|
1262
|
+
end
|
1263
|
+
|
1216
1264
|
class StartAppAssessmentRequest
|
1217
1265
|
attr_accessor app_arn: ::String
|
1218
1266
|
attr_accessor app_version: ::String
|
@@ -1227,6 +1275,18 @@ module Aws::ResilienceHub
|
|
1227
1275
|
SENSITIVE: []
|
1228
1276
|
end
|
1229
1277
|
|
1278
|
+
class StartMetricsExportRequest
|
1279
|
+
attr_accessor bucket_name: ::String
|
1280
|
+
attr_accessor client_token: ::String
|
1281
|
+
SENSITIVE: []
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
class StartMetricsExportResponse
|
1285
|
+
attr_accessor metrics_export_id: ::String
|
1286
|
+
attr_accessor status: ("Pending" | "InProgress" | "Failed" | "Success")
|
1287
|
+
SENSITIVE: []
|
1288
|
+
end
|
1289
|
+
|
1230
1290
|
class StartResourceGroupingRecommendationTaskRequest
|
1231
1291
|
attr_accessor app_arn: ::String
|
1232
1292
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-resiliencehub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.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: 2024-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|