aws-sdk-wellarchitected 1.19.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,8 @@ module Aws::WellArchitected
27
27
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
28
28
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
29
29
  Base64String = Shapes::StringShape.new(name: 'Base64String')
30
+ BestPractice = Shapes::StructureShape.new(name: 'BestPractice')
31
+ BestPractices = Shapes::ListShape.new(name: 'BestPractices')
30
32
  CheckDescription = Shapes::StringShape.new(name: 'CheckDescription')
31
33
  CheckDetail = Shapes::StructureShape.new(name: 'CheckDetail')
32
34
  CheckDetails = Shapes::ListShape.new(name: 'CheckDetails')
@@ -59,6 +61,8 @@ module Aws::WellArchitected
59
61
  Choices = Shapes::ListShape.new(name: 'Choices')
60
62
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
61
63
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
64
+ ConsolidatedReportMetric = Shapes::StructureShape.new(name: 'ConsolidatedReportMetric')
65
+ ConsolidatedReportMetrics = Shapes::ListShape.new(name: 'ConsolidatedReportMetrics')
62
66
  Count = Shapes::IntegerShape.new(name: 'Count')
63
67
  CreateLensShareInput = Shapes::StructureShape.new(name: 'CreateLensShareInput')
64
68
  CreateLensShareOutput = Shapes::StructureShape.new(name: 'CreateLensShareOutput')
@@ -85,6 +89,9 @@ module Aws::WellArchitected
85
89
  FlaggedResources = Shapes::IntegerShape.new(name: 'FlaggedResources')
86
90
  GetAnswerInput = Shapes::StructureShape.new(name: 'GetAnswerInput')
87
91
  GetAnswerOutput = Shapes::StructureShape.new(name: 'GetAnswerOutput')
92
+ GetConsolidatedReportInput = Shapes::StructureShape.new(name: 'GetConsolidatedReportInput')
93
+ GetConsolidatedReportMaxResults = Shapes::IntegerShape.new(name: 'GetConsolidatedReportMaxResults')
94
+ GetConsolidatedReportOutput = Shapes::StructureShape.new(name: 'GetConsolidatedReportOutput')
88
95
  GetLensInput = Shapes::StructureShape.new(name: 'GetLensInput')
89
96
  GetLensOutput = Shapes::StructureShape.new(name: 'GetLensOutput')
90
97
  GetLensReviewInput = Shapes::StructureShape.new(name: 'GetLensReviewInput')
@@ -104,6 +111,7 @@ module Aws::WellArchitected
104
111
  ImprovementPlanUrl = Shapes::StringShape.new(name: 'ImprovementPlanUrl')
105
112
  ImprovementSummaries = Shapes::ListShape.new(name: 'ImprovementSummaries')
106
113
  ImprovementSummary = Shapes::StructureShape.new(name: 'ImprovementSummary')
114
+ IncludeSharedResources = Shapes::BooleanShape.new(name: 'IncludeSharedResources')
107
115
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
108
116
  IsApplicable = Shapes::BooleanShape.new(name: 'IsApplicable')
109
117
  IsMajorVersion = Shapes::BooleanShape.new(name: 'IsMajorVersion')
@@ -114,6 +122,8 @@ module Aws::WellArchitected
114
122
  LensArn = Shapes::StringShape.new(name: 'LensArn')
115
123
  LensDescription = Shapes::StringShape.new(name: 'LensDescription')
116
124
  LensJSON = Shapes::StringShape.new(name: 'LensJSON')
125
+ LensMetric = Shapes::StructureShape.new(name: 'LensMetric')
126
+ LensMetrics = Shapes::ListShape.new(name: 'LensMetrics')
117
127
  LensName = Shapes::StringShape.new(name: 'LensName')
118
128
  LensNamePrefix = Shapes::StringShape.new(name: 'LensNamePrefix')
119
129
  LensOwner = Shapes::StringShape.new(name: 'LensOwner')
@@ -130,6 +140,7 @@ module Aws::WellArchitected
130
140
  LensType = Shapes::StringShape.new(name: 'LensType')
131
141
  LensUpgradeSummary = Shapes::StructureShape.new(name: 'LensUpgradeSummary')
132
142
  LensVersion = Shapes::StringShape.new(name: 'LensVersion')
143
+ LensesAppliedCount = Shapes::IntegerShape.new(name: 'LensesAppliedCount')
133
144
  ListAnswersInput = Shapes::StructureShape.new(name: 'ListAnswersInput')
134
145
  ListAnswersMaxResults = Shapes::IntegerShape.new(name: 'ListAnswersMaxResults')
135
146
  ListAnswersOutput = Shapes::StructureShape.new(name: 'ListAnswersOutput')
@@ -163,6 +174,7 @@ module Aws::WellArchitected
163
174
  ListWorkloadsMaxResults = Shapes::IntegerShape.new(name: 'ListWorkloadsMaxResults')
164
175
  ListWorkloadsOutput = Shapes::StructureShape.new(name: 'ListWorkloadsOutput')
165
176
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
177
+ MetricType = Shapes::StringShape.new(name: 'MetricType')
166
178
  Milestone = Shapes::StructureShape.new(name: 'Milestone')
167
179
  MilestoneName = Shapes::StringShape.new(name: 'MilestoneName')
168
180
  MilestoneNumber = Shapes::IntegerShape.new(name: 'MilestoneNumber')
@@ -178,6 +190,8 @@ module Aws::WellArchitected
178
190
  PillarDifference = Shapes::StructureShape.new(name: 'PillarDifference')
179
191
  PillarDifferences = Shapes::ListShape.new(name: 'PillarDifferences')
180
192
  PillarId = Shapes::StringShape.new(name: 'PillarId')
193
+ PillarMetric = Shapes::StructureShape.new(name: 'PillarMetric')
194
+ PillarMetrics = Shapes::ListShape.new(name: 'PillarMetrics')
181
195
  PillarName = Shapes::StringShape.new(name: 'PillarName')
182
196
  PillarNotes = Shapes::MapShape.new(name: 'PillarNotes')
183
197
  PillarReviewSummaries = Shapes::ListShape.new(name: 'PillarReviewSummaries')
@@ -186,8 +200,11 @@ module Aws::WellArchitected
186
200
  QuestionDifference = Shapes::StructureShape.new(name: 'QuestionDifference')
187
201
  QuestionDifferences = Shapes::ListShape.new(name: 'QuestionDifferences')
188
202
  QuestionId = Shapes::StringShape.new(name: 'QuestionId')
203
+ QuestionMetric = Shapes::StructureShape.new(name: 'QuestionMetric')
204
+ QuestionMetrics = Shapes::ListShape.new(name: 'QuestionMetrics')
189
205
  QuestionTitle = Shapes::StringShape.new(name: 'QuestionTitle')
190
206
  QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
207
+ ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
191
208
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
192
209
  Risk = Shapes::StringShape.new(name: 'Risk')
193
210
  RiskCounts = Shapes::MapShape.new(name: 'RiskCounts')
@@ -306,6 +323,12 @@ module Aws::WellArchitected
306
323
  AssociateLensesInput.add_member(:lens_aliases, Shapes::ShapeRef.new(shape: LensAliases, required: true, location_name: "LensAliases"))
307
324
  AssociateLensesInput.struct_class = Types::AssociateLensesInput
308
325
 
326
+ BestPractice.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
327
+ BestPractice.add_member(:choice_title, Shapes::ShapeRef.new(shape: ChoiceTitle, location_name: "ChoiceTitle"))
328
+ BestPractice.struct_class = Types::BestPractice
329
+
330
+ BestPractices.member = Shapes::ShapeRef.new(shape: BestPractice)
331
+
309
332
  CheckDetail.add_member(:id, Shapes::ShapeRef.new(shape: CheckId, location_name: "Id"))
310
333
  CheckDetail.add_member(:name, Shapes::ShapeRef.new(shape: CheckName, location_name: "Name"))
311
334
  CheckDetail.add_member(:description, Shapes::ShapeRef.new(shape: CheckDescription, location_name: "Description"))
@@ -387,6 +410,18 @@ module Aws::WellArchitected
387
410
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ExceptionResourceType, required: true, location_name: "ResourceType"))
388
411
  ConflictException.struct_class = Types::ConflictException
389
412
 
413
+ ConsolidatedReportMetric.add_member(:metric_type, Shapes::ShapeRef.new(shape: MetricType, location_name: "MetricType"))
414
+ ConsolidatedReportMetric.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
415
+ ConsolidatedReportMetric.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
416
+ ConsolidatedReportMetric.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
417
+ ConsolidatedReportMetric.add_member(:workload_arn, Shapes::ShapeRef.new(shape: WorkloadArn, location_name: "WorkloadArn"))
418
+ ConsolidatedReportMetric.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
419
+ ConsolidatedReportMetric.add_member(:lenses, Shapes::ShapeRef.new(shape: LensMetrics, location_name: "Lenses"))
420
+ ConsolidatedReportMetric.add_member(:lenses_applied_count, Shapes::ShapeRef.new(shape: LensesAppliedCount, location_name: "LensesAppliedCount"))
421
+ ConsolidatedReportMetric.struct_class = Types::ConsolidatedReportMetric
422
+
423
+ ConsolidatedReportMetrics.member = Shapes::ShapeRef.new(shape: ConsolidatedReportMetric)
424
+
390
425
  CreateLensShareInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
391
426
  CreateLensShareInput.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, required: true, location_name: "SharedWith"))
392
427
  CreateLensShareInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -490,6 +525,17 @@ module Aws::WellArchitected
490
525
  GetAnswerOutput.add_member(:answer, Shapes::ShapeRef.new(shape: Answer, location_name: "Answer"))
491
526
  GetAnswerOutput.struct_class = Types::GetAnswerOutput
492
527
 
528
+ GetConsolidatedReportInput.add_member(:format, Shapes::ShapeRef.new(shape: ReportFormat, required: true, location: "querystring", location_name: "Format"))
529
+ GetConsolidatedReportInput.add_member(:include_shared_resources, Shapes::ShapeRef.new(shape: IncludeSharedResources, location: "querystring", location_name: "IncludeSharedResources"))
530
+ GetConsolidatedReportInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
531
+ GetConsolidatedReportInput.add_member(:max_results, Shapes::ShapeRef.new(shape: GetConsolidatedReportMaxResults, location: "querystring", location_name: "MaxResults"))
532
+ GetConsolidatedReportInput.struct_class = Types::GetConsolidatedReportInput
533
+
534
+ GetConsolidatedReportOutput.add_member(:metrics, Shapes::ShapeRef.new(shape: ConsolidatedReportMetrics, location_name: "Metrics"))
535
+ GetConsolidatedReportOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
536
+ GetConsolidatedReportOutput.add_member(:base_64_string, Shapes::ShapeRef.new(shape: Base64String, location_name: "Base64String"))
537
+ GetConsolidatedReportOutput.struct_class = Types::GetConsolidatedReportOutput
538
+
493
539
  GetLensInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
494
540
  GetLensInput.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location: "querystring", location_name: "LensVersion"))
495
541
  GetLensInput.struct_class = Types::GetLensInput
@@ -578,6 +624,13 @@ module Aws::WellArchitected
578
624
 
579
625
  LensAliases.member = Shapes::ShapeRef.new(shape: LensAlias)
580
626
 
627
+ LensMetric.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
628
+ LensMetric.add_member(:pillars, Shapes::ShapeRef.new(shape: PillarMetrics, location_name: "Pillars"))
629
+ LensMetric.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
630
+ LensMetric.struct_class = Types::LensMetric
631
+
632
+ LensMetrics.member = Shapes::ShapeRef.new(shape: LensMetric)
633
+
581
634
  LensReview.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
582
635
  LensReview.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
583
636
  LensReview.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
@@ -813,6 +866,13 @@ module Aws::WellArchitected
813
866
 
814
867
  PillarDifferences.member = Shapes::ShapeRef.new(shape: PillarDifference)
815
868
 
869
+ PillarMetric.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, location_name: "PillarId"))
870
+ PillarMetric.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
871
+ PillarMetric.add_member(:questions, Shapes::ShapeRef.new(shape: QuestionMetrics, location_name: "Questions"))
872
+ PillarMetric.struct_class = Types::PillarMetric
873
+
874
+ PillarMetrics.member = Shapes::ShapeRef.new(shape: PillarMetric)
875
+
816
876
  PillarNotes.key = Shapes::ShapeRef.new(shape: PillarId)
817
877
  PillarNotes.value = Shapes::ShapeRef.new(shape: Notes)
818
878
 
@@ -831,6 +891,13 @@ module Aws::WellArchitected
831
891
 
832
892
  QuestionDifferences.member = Shapes::ShapeRef.new(shape: QuestionDifference)
833
893
 
894
+ QuestionMetric.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, location_name: "QuestionId"))
895
+ QuestionMetric.add_member(:risk, Shapes::ShapeRef.new(shape: Risk, location_name: "Risk"))
896
+ QuestionMetric.add_member(:best_practices, Shapes::ShapeRef.new(shape: BestPractices, location_name: "BestPractices"))
897
+ QuestionMetric.struct_class = Types::QuestionMetric
898
+
899
+ QuestionMetrics.member = Shapes::ShapeRef.new(shape: QuestionMetric)
900
+
834
901
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
835
902
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ExceptionResourceId, required: true, location_name: "ResourceId"))
836
903
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ExceptionResourceType, required: true, location_name: "ResourceType"))
@@ -1140,6 +1207,7 @@ module Aws::WellArchitected
1140
1207
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1141
1208
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1142
1209
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1143
1211
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1144
1212
  end)
1145
1213
 
@@ -1254,6 +1322,25 @@ module Aws::WellArchitected
1254
1322
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1255
1323
  end)
1256
1324
 
1325
+ api.add_operation(:get_consolidated_report, Seahorse::Model::Operation.new.tap do |o|
1326
+ o.name = "GetConsolidatedReport"
1327
+ o.http_method = "GET"
1328
+ o.http_request_uri = "/consolidatedReport"
1329
+ o.input = Shapes::ShapeRef.new(shape: GetConsolidatedReportInput)
1330
+ o.output = Shapes::ShapeRef.new(shape: GetConsolidatedReportOutput)
1331
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1334
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1336
+ o[:pager] = Aws::Pager.new(
1337
+ limit_key: "max_results",
1338
+ tokens: {
1339
+ "next_token" => "next_token"
1340
+ }
1341
+ )
1342
+ end)
1343
+
1257
1344
  api.add_operation(:get_lens, Seahorse::Model::Operation.new.tap do |o|
1258
1345
  o.name = "GetLens"
1259
1346
  o.http_method = "GET"
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::WellArchitected
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
43
- UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
44
- dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhb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md2IjpbeyJyZWYiOiJVc2VE
95
- dWFsU3RhY2sifSx0cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJj
96
- b25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1
97
- ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJl
98
- c3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUi
99
- LCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6
100
- Imh0dHBzOi8vd2VsbGFyY2hpdGVjdGVkLntSZWdpb259LntQYXJ0aXRpb25S
101
- ZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJo
102
- ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25z
103
- IjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBw
104
- YXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoi
105
- ZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6
106
- Imh0dHBzOi8vd2VsbGFyY2hpdGVjdGVkLntSZWdpb259LntQYXJ0aXRpb25S
107
- ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
108
- fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
109
-
110
- JSON
111
53
  end
112
54
  end
@@ -193,6 +193,20 @@ module Aws::WellArchitected
193
193
  end
194
194
  end
195
195
 
196
+ class GetConsolidatedReport
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::WellArchitected::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
196
210
  class GetLens
197
211
  def self.build(context)
198
212
  unless context.config.regional_endpoint
@@ -82,6 +82,8 @@ module Aws::WellArchitected
82
82
  Aws::WellArchitected::Endpoints::ExportLens.build(context)
83
83
  when :get_answer
84
84
  Aws::WellArchitected::Endpoints::GetAnswer.build(context)
85
+ when :get_consolidated_report
86
+ Aws::WellArchitected::Endpoints::GetConsolidatedReport.build(context)
85
87
  when :get_lens
86
88
  Aws::WellArchitected::Endpoints::GetLens.build(context)
87
89
  when :get_lens_review