aws-sdk-resiliencehub 1.43.0 → 1.45.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 +191 -26
- data/lib/aws-sdk-resiliencehub/client_api.rb +129 -0
- data/lib/aws-sdk-resiliencehub/types.rb +319 -37
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- data/sig/client.rbs +58 -0
- data/sig/types.rbs +77 -0
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -131,6 +131,7 @@ module Aws
|
|
131
131
|
app_arn: ::String,
|
132
132
|
request_entries: Array[
|
133
133
|
{
|
134
|
+
app_component_id: ::String?,
|
134
135
|
entry_id: ::String,
|
135
136
|
exclude_reason: ("AlreadyImplemented" | "NotRelevant" | "ComplexityOfImplementation")?,
|
136
137
|
excluded: bool,
|
@@ -473,6 +474,19 @@ module Aws
|
|
473
474
|
) -> _DescribeDraftAppVersionResourcesImportStatusResponseSuccess
|
474
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDraftAppVersionResourcesImportStatusResponseSuccess
|
475
476
|
|
477
|
+
interface _DescribeMetricsExportResponseSuccess
|
478
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricsExportResponse]
|
479
|
+
def error_message: () -> ::String
|
480
|
+
def export_location: () -> Types::S3Location
|
481
|
+
def metrics_export_id: () -> ::String
|
482
|
+
def status: () -> ("Pending" | "InProgress" | "Failed" | "Success")
|
483
|
+
end
|
484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#describe_metrics_export-instance_method
|
485
|
+
def describe_metrics_export: (
|
486
|
+
metrics_export_id: ::String
|
487
|
+
) -> _DescribeMetricsExportResponseSuccess
|
488
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMetricsExportResponseSuccess
|
489
|
+
|
476
490
|
interface _DescribeResiliencyPolicyResponseSuccess
|
477
491
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResiliencyPolicyResponse]
|
478
492
|
def policy: () -> Types::ResiliencyPolicy
|
@@ -700,6 +714,38 @@ module Aws
|
|
700
714
|
) -> _ListAppsResponseSuccess
|
701
715
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsResponseSuccess
|
702
716
|
|
717
|
+
interface _ListMetricsResponseSuccess
|
718
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMetricsResponse]
|
719
|
+
def next_token: () -> ::String
|
720
|
+
def rows: () -> ::Array[::Array[::String]]
|
721
|
+
end
|
722
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#list_metrics-instance_method
|
723
|
+
def list_metrics: (
|
724
|
+
?conditions: Array[
|
725
|
+
{
|
726
|
+
field: ::String,
|
727
|
+
operator: ("Equals" | "NotEquals" | "GreaterThen" | "GreaterOrEquals" | "LessThen" | "LessOrEquals"),
|
728
|
+
value: ::String?
|
729
|
+
},
|
730
|
+
],
|
731
|
+
?data_source: ::String,
|
732
|
+
?fields: Array[
|
733
|
+
{
|
734
|
+
aggregation: ("Min" | "Max" | "Sum" | "Avg" | "Count")?,
|
735
|
+
name: ::String
|
736
|
+
},
|
737
|
+
],
|
738
|
+
?max_results: ::Integer,
|
739
|
+
?next_token: ::String,
|
740
|
+
?sorts: Array[
|
741
|
+
{
|
742
|
+
ascending: bool?,
|
743
|
+
field: ::String
|
744
|
+
},
|
745
|
+
]
|
746
|
+
) -> _ListMetricsResponseSuccess
|
747
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMetricsResponseSuccess
|
748
|
+
|
703
749
|
interface _ListRecommendationTemplatesResponseSuccess
|
704
750
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationTemplatesResponse]
|
705
751
|
def next_token: () -> ::String
|
@@ -895,6 +941,18 @@ module Aws
|
|
895
941
|
) -> _StartAppAssessmentResponseSuccess
|
896
942
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAppAssessmentResponseSuccess
|
897
943
|
|
944
|
+
interface _StartMetricsExportResponseSuccess
|
945
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartMetricsExportResponse]
|
946
|
+
def metrics_export_id: () -> ::String
|
947
|
+
def status: () -> ("Pending" | "InProgress" | "Failed" | "Success")
|
948
|
+
end
|
949
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#start_metrics_export-instance_method
|
950
|
+
def start_metrics_export: (
|
951
|
+
?bucket_name: ::String,
|
952
|
+
?client_token: ::String
|
953
|
+
) -> _StartMetricsExportResponseSuccess
|
954
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMetricsExportResponseSuccess
|
955
|
+
|
898
956
|
interface _StartResourceGroupingRecommendationTaskResponseSuccess
|
899
957
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceGroupingRecommendationTaskResponse]
|
900
958
|
def app_arn: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -43,6 +43,12 @@ module Aws::ResilienceHub
|
|
43
43
|
SENSITIVE: []
|
44
44
|
end
|
45
45
|
|
46
|
+
class Alarm
|
47
|
+
attr_accessor alarm_arn: ::String
|
48
|
+
attr_accessor source: ::String
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
46
52
|
class AlarmRecommendation
|
47
53
|
attr_accessor app_component_name: ::String
|
48
54
|
attr_accessor app_component_names: ::Array[::String]
|
@@ -207,6 +213,7 @@ module Aws::ResilienceHub
|
|
207
213
|
end
|
208
214
|
|
209
215
|
class BatchUpdateRecommendationStatusSuccessfulEntry
|
216
|
+
attr_accessor app_component_id: ::String
|
210
217
|
attr_accessor entry_id: ::String
|
211
218
|
attr_accessor exclude_reason: ("AlreadyImplemented" | "NotRelevant" | "ComplexityOfImplementation")
|
212
219
|
attr_accessor excluded: bool
|
@@ -236,6 +243,13 @@ module Aws::ResilienceHub
|
|
236
243
|
SENSITIVE: []
|
237
244
|
end
|
238
245
|
|
246
|
+
class Condition
|
247
|
+
attr_accessor field: ::String
|
248
|
+
attr_accessor operator: ("Equals" | "NotEquals" | "GreaterThen" | "GreaterOrEquals" | "LessThen" | "LessOrEquals")
|
249
|
+
attr_accessor value: ::String
|
250
|
+
SENSITIVE: []
|
251
|
+
end
|
252
|
+
|
239
253
|
class ConfigRecommendation
|
240
254
|
attr_accessor app_component_name: ::String
|
241
255
|
attr_accessor compliance: ::Hash[("Software" | "Hardware" | "AZ" | "Region"), Types::DisruptionCompliance]
|
@@ -556,6 +570,19 @@ module Aws::ResilienceHub
|
|
556
570
|
SENSITIVE: []
|
557
571
|
end
|
558
572
|
|
573
|
+
class DescribeMetricsExportRequest
|
574
|
+
attr_accessor metrics_export_id: ::String
|
575
|
+
SENSITIVE: []
|
576
|
+
end
|
577
|
+
|
578
|
+
class DescribeMetricsExportResponse
|
579
|
+
attr_accessor error_message: ::String
|
580
|
+
attr_accessor export_location: Types::S3Location
|
581
|
+
attr_accessor metrics_export_id: ::String
|
582
|
+
attr_accessor status: ("Pending" | "InProgress" | "Failed" | "Success")
|
583
|
+
SENSITIVE: []
|
584
|
+
end
|
585
|
+
|
559
586
|
class DescribeResiliencyPolicyRequest
|
560
587
|
attr_accessor policy_arn: ::String
|
561
588
|
SENSITIVE: []
|
@@ -617,6 +644,12 @@ module Aws::ResilienceHub
|
|
617
644
|
SENSITIVE: []
|
618
645
|
end
|
619
646
|
|
647
|
+
class Experiment
|
648
|
+
attr_accessor experiment_arn: ::String
|
649
|
+
attr_accessor experiment_template_id: ::String
|
650
|
+
SENSITIVE: []
|
651
|
+
end
|
652
|
+
|
620
653
|
class FailedGroupingRecommendationEntry
|
621
654
|
attr_accessor error_message: ::String
|
622
655
|
attr_accessor grouping_recommendation_id: ::String
|
@@ -629,6 +662,12 @@ module Aws::ResilienceHub
|
|
629
662
|
SENSITIVE: []
|
630
663
|
end
|
631
664
|
|
665
|
+
class Field
|
666
|
+
attr_accessor aggregation: ("Min" | "Max" | "Sum" | "Avg" | "Count")
|
667
|
+
attr_accessor name: ::String
|
668
|
+
SENSITIVE: []
|
669
|
+
end
|
670
|
+
|
632
671
|
class GroupingAppComponent
|
633
672
|
attr_accessor app_component_id: ::String
|
634
673
|
attr_accessor app_component_name: ::String
|
@@ -858,6 +897,22 @@ module Aws::ResilienceHub
|
|
858
897
|
SENSITIVE: []
|
859
898
|
end
|
860
899
|
|
900
|
+
class ListMetricsRequest
|
901
|
+
attr_accessor conditions: ::Array[Types::Condition]
|
902
|
+
attr_accessor data_source: ::String
|
903
|
+
attr_accessor fields: ::Array[Types::Field]
|
904
|
+
attr_accessor max_results: ::Integer
|
905
|
+
attr_accessor next_token: ::String
|
906
|
+
attr_accessor sorts: ::Array[Types::Sort]
|
907
|
+
SENSITIVE: []
|
908
|
+
end
|
909
|
+
|
910
|
+
class ListMetricsResponse
|
911
|
+
attr_accessor next_token: ::String
|
912
|
+
attr_accessor rows: ::Array[::Array[::String]]
|
913
|
+
SENSITIVE: []
|
914
|
+
end
|
915
|
+
|
861
916
|
class ListRecommendationTemplatesRequest
|
862
917
|
attr_accessor assessment_arn: ::String
|
863
918
|
attr_accessor max_results: ::Integer
|
@@ -1039,8 +1094,10 @@ module Aws::ResilienceHub
|
|
1039
1094
|
|
1040
1095
|
class RecommendationItem
|
1041
1096
|
attr_accessor already_implemented: bool
|
1097
|
+
attr_accessor discovered_alarm: Types::Alarm
|
1042
1098
|
attr_accessor exclude_reason: ("AlreadyImplemented" | "NotRelevant" | "ComplexityOfImplementation")
|
1043
1099
|
attr_accessor excluded: bool
|
1100
|
+
attr_accessor latest_discovered_experiment: Types::Experiment
|
1044
1101
|
attr_accessor resource_id: ::String
|
1045
1102
|
attr_accessor target_account_id: ::String
|
1046
1103
|
attr_accessor target_region: ::String
|
@@ -1213,6 +1270,12 @@ module Aws::ResilienceHub
|
|
1213
1270
|
SENSITIVE: []
|
1214
1271
|
end
|
1215
1272
|
|
1273
|
+
class Sort
|
1274
|
+
attr_accessor ascending: bool
|
1275
|
+
attr_accessor field: ::String
|
1276
|
+
SENSITIVE: []
|
1277
|
+
end
|
1278
|
+
|
1216
1279
|
class StartAppAssessmentRequest
|
1217
1280
|
attr_accessor app_arn: ::String
|
1218
1281
|
attr_accessor app_version: ::String
|
@@ -1227,6 +1290,18 @@ module Aws::ResilienceHub
|
|
1227
1290
|
SENSITIVE: []
|
1228
1291
|
end
|
1229
1292
|
|
1293
|
+
class StartMetricsExportRequest
|
1294
|
+
attr_accessor bucket_name: ::String
|
1295
|
+
attr_accessor client_token: ::String
|
1296
|
+
SENSITIVE: []
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
class StartMetricsExportResponse
|
1300
|
+
attr_accessor metrics_export_id: ::String
|
1301
|
+
attr_accessor status: ("Pending" | "InProgress" | "Failed" | "Success")
|
1302
|
+
SENSITIVE: []
|
1303
|
+
end
|
1304
|
+
|
1230
1305
|
class StartResourceGroupingRecommendationTaskRequest
|
1231
1306
|
attr_accessor app_arn: ::String
|
1232
1307
|
SENSITIVE: []
|
@@ -1255,6 +1330,7 @@ module Aws::ResilienceHub
|
|
1255
1330
|
end
|
1256
1331
|
|
1257
1332
|
class TestRecommendation
|
1333
|
+
attr_accessor app_component_id: ::String
|
1258
1334
|
attr_accessor app_component_name: ::String
|
1259
1335
|
attr_accessor depends_on_alarms: ::Array[::String]
|
1260
1336
|
attr_accessor description: ::String
|
@@ -1367,6 +1443,7 @@ module Aws::ResilienceHub
|
|
1367
1443
|
end
|
1368
1444
|
|
1369
1445
|
class UpdateRecommendationStatusRequestEntry
|
1446
|
+
attr_accessor app_component_id: ::String
|
1370
1447
|
attr_accessor entry_id: ::String
|
1371
1448
|
attr_accessor exclude_reason: ("AlreadyImplemented" | "NotRelevant" | "ComplexityOfImplementation")
|
1372
1449
|
attr_accessor excluded: bool
|
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.45.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
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|