aws-sdk-wellarchitected 1.20.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wellarchitected/client.rb +235 -86
- data/lib/aws-sdk-wellarchitected/client_api.rb +94 -0
- data/lib/aws-sdk-wellarchitected/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-wellarchitected/endpoints.rb +14 -0
- data/lib/aws-sdk-wellarchitected/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-wellarchitected/types.rb +413 -101
- data/lib/aws-sdk-wellarchitected.rb +1 -1
- metadata +2 -2
@@ -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')
|
@@ -70,12 +74,14 @@ module Aws::WellArchitected
|
|
70
74
|
CreateWorkloadOutput = Shapes::StructureShape.new(name: 'CreateWorkloadOutput')
|
71
75
|
CreateWorkloadShareInput = Shapes::StructureShape.new(name: 'CreateWorkloadShareInput')
|
72
76
|
CreateWorkloadShareOutput = Shapes::StructureShape.new(name: 'CreateWorkloadShareOutput')
|
77
|
+
DefinitionType = Shapes::StringShape.new(name: 'DefinitionType')
|
73
78
|
DeleteLensInput = Shapes::StructureShape.new(name: 'DeleteLensInput')
|
74
79
|
DeleteLensShareInput = Shapes::StructureShape.new(name: 'DeleteLensShareInput')
|
75
80
|
DeleteWorkloadInput = Shapes::StructureShape.new(name: 'DeleteWorkloadInput')
|
76
81
|
DeleteWorkloadShareInput = Shapes::StructureShape.new(name: 'DeleteWorkloadShareInput')
|
77
82
|
DifferenceStatus = Shapes::StringShape.new(name: 'DifferenceStatus')
|
78
83
|
DisassociateLensesInput = Shapes::StructureShape.new(name: 'DisassociateLensesInput')
|
84
|
+
DiscoveryIntegrationStatus = Shapes::StringShape.new(name: 'DiscoveryIntegrationStatus')
|
79
85
|
DisplayText = Shapes::StringShape.new(name: 'DisplayText')
|
80
86
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
81
87
|
ExceptionResourceId = Shapes::StringShape.new(name: 'ExceptionResourceId')
|
@@ -85,6 +91,9 @@ module Aws::WellArchitected
|
|
85
91
|
FlaggedResources = Shapes::IntegerShape.new(name: 'FlaggedResources')
|
86
92
|
GetAnswerInput = Shapes::StructureShape.new(name: 'GetAnswerInput')
|
87
93
|
GetAnswerOutput = Shapes::StructureShape.new(name: 'GetAnswerOutput')
|
94
|
+
GetConsolidatedReportInput = Shapes::StructureShape.new(name: 'GetConsolidatedReportInput')
|
95
|
+
GetConsolidatedReportMaxResults = Shapes::IntegerShape.new(name: 'GetConsolidatedReportMaxResults')
|
96
|
+
GetConsolidatedReportOutput = Shapes::StructureShape.new(name: 'GetConsolidatedReportOutput')
|
88
97
|
GetLensInput = Shapes::StructureShape.new(name: 'GetLensInput')
|
89
98
|
GetLensOutput = Shapes::StructureShape.new(name: 'GetLensOutput')
|
90
99
|
GetLensReviewInput = Shapes::StructureShape.new(name: 'GetLensReviewInput')
|
@@ -104,6 +113,7 @@ module Aws::WellArchitected
|
|
104
113
|
ImprovementPlanUrl = Shapes::StringShape.new(name: 'ImprovementPlanUrl')
|
105
114
|
ImprovementSummaries = Shapes::ListShape.new(name: 'ImprovementSummaries')
|
106
115
|
ImprovementSummary = Shapes::StructureShape.new(name: 'ImprovementSummary')
|
116
|
+
IncludeSharedResources = Shapes::BooleanShape.new(name: 'IncludeSharedResources')
|
107
117
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
108
118
|
IsApplicable = Shapes::BooleanShape.new(name: 'IsApplicable')
|
109
119
|
IsMajorVersion = Shapes::BooleanShape.new(name: 'IsMajorVersion')
|
@@ -114,6 +124,8 @@ module Aws::WellArchitected
|
|
114
124
|
LensArn = Shapes::StringShape.new(name: 'LensArn')
|
115
125
|
LensDescription = Shapes::StringShape.new(name: 'LensDescription')
|
116
126
|
LensJSON = Shapes::StringShape.new(name: 'LensJSON')
|
127
|
+
LensMetric = Shapes::StructureShape.new(name: 'LensMetric')
|
128
|
+
LensMetrics = Shapes::ListShape.new(name: 'LensMetrics')
|
117
129
|
LensName = Shapes::StringShape.new(name: 'LensName')
|
118
130
|
LensNamePrefix = Shapes::StringShape.new(name: 'LensNamePrefix')
|
119
131
|
LensOwner = Shapes::StringShape.new(name: 'LensOwner')
|
@@ -130,6 +142,7 @@ module Aws::WellArchitected
|
|
130
142
|
LensType = Shapes::StringShape.new(name: 'LensType')
|
131
143
|
LensUpgradeSummary = Shapes::StructureShape.new(name: 'LensUpgradeSummary')
|
132
144
|
LensVersion = Shapes::StringShape.new(name: 'LensVersion')
|
145
|
+
LensesAppliedCount = Shapes::IntegerShape.new(name: 'LensesAppliedCount')
|
133
146
|
ListAnswersInput = Shapes::StructureShape.new(name: 'ListAnswersInput')
|
134
147
|
ListAnswersMaxResults = Shapes::IntegerShape.new(name: 'ListAnswersMaxResults')
|
135
148
|
ListAnswersOutput = Shapes::StructureShape.new(name: 'ListAnswersOutput')
|
@@ -163,6 +176,7 @@ module Aws::WellArchitected
|
|
163
176
|
ListWorkloadsMaxResults = Shapes::IntegerShape.new(name: 'ListWorkloadsMaxResults')
|
164
177
|
ListWorkloadsOutput = Shapes::StructureShape.new(name: 'ListWorkloadsOutput')
|
165
178
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
179
|
+
MetricType = Shapes::StringShape.new(name: 'MetricType')
|
166
180
|
Milestone = Shapes::StructureShape.new(name: 'Milestone')
|
167
181
|
MilestoneName = Shapes::StringShape.new(name: 'MilestoneName')
|
168
182
|
MilestoneNumber = Shapes::IntegerShape.new(name: 'MilestoneNumber')
|
@@ -178,6 +192,8 @@ module Aws::WellArchitected
|
|
178
192
|
PillarDifference = Shapes::StructureShape.new(name: 'PillarDifference')
|
179
193
|
PillarDifferences = Shapes::ListShape.new(name: 'PillarDifferences')
|
180
194
|
PillarId = Shapes::StringShape.new(name: 'PillarId')
|
195
|
+
PillarMetric = Shapes::StructureShape.new(name: 'PillarMetric')
|
196
|
+
PillarMetrics = Shapes::ListShape.new(name: 'PillarMetrics')
|
181
197
|
PillarName = Shapes::StringShape.new(name: 'PillarName')
|
182
198
|
PillarNotes = Shapes::MapShape.new(name: 'PillarNotes')
|
183
199
|
PillarReviewSummaries = Shapes::ListShape.new(name: 'PillarReviewSummaries')
|
@@ -186,8 +202,11 @@ module Aws::WellArchitected
|
|
186
202
|
QuestionDifference = Shapes::StructureShape.new(name: 'QuestionDifference')
|
187
203
|
QuestionDifferences = Shapes::ListShape.new(name: 'QuestionDifferences')
|
188
204
|
QuestionId = Shapes::StringShape.new(name: 'QuestionId')
|
205
|
+
QuestionMetric = Shapes::StructureShape.new(name: 'QuestionMetric')
|
206
|
+
QuestionMetrics = Shapes::ListShape.new(name: 'QuestionMetrics')
|
189
207
|
QuestionTitle = Shapes::StringShape.new(name: 'QuestionTitle')
|
190
208
|
QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
|
209
|
+
ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
|
191
210
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
192
211
|
Risk = Shapes::StringShape.new(name: 'Risk')
|
193
212
|
RiskCounts = Shapes::MapShape.new(name: 'RiskCounts')
|
@@ -254,6 +273,7 @@ module Aws::WellArchitected
|
|
254
273
|
WorkloadNonAwsRegion = Shapes::StringShape.new(name: 'WorkloadNonAwsRegion')
|
255
274
|
WorkloadNonAwsRegions = Shapes::ListShape.new(name: 'WorkloadNonAwsRegions')
|
256
275
|
WorkloadPillarPriorities = Shapes::ListShape.new(name: 'WorkloadPillarPriorities')
|
276
|
+
WorkloadResourceDefinition = Shapes::ListShape.new(name: 'WorkloadResourceDefinition')
|
257
277
|
WorkloadReviewOwner = Shapes::StringShape.new(name: 'WorkloadReviewOwner')
|
258
278
|
WorkloadShare = Shapes::StructureShape.new(name: 'WorkloadShare')
|
259
279
|
WorkloadShareSummaries = Shapes::ListShape.new(name: 'WorkloadShareSummaries')
|
@@ -306,6 +326,12 @@ module Aws::WellArchitected
|
|
306
326
|
AssociateLensesInput.add_member(:lens_aliases, Shapes::ShapeRef.new(shape: LensAliases, required: true, location_name: "LensAliases"))
|
307
327
|
AssociateLensesInput.struct_class = Types::AssociateLensesInput
|
308
328
|
|
329
|
+
BestPractice.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
|
330
|
+
BestPractice.add_member(:choice_title, Shapes::ShapeRef.new(shape: ChoiceTitle, location_name: "ChoiceTitle"))
|
331
|
+
BestPractice.struct_class = Types::BestPractice
|
332
|
+
|
333
|
+
BestPractices.member = Shapes::ShapeRef.new(shape: BestPractice)
|
334
|
+
|
309
335
|
CheckDetail.add_member(:id, Shapes::ShapeRef.new(shape: CheckId, location_name: "Id"))
|
310
336
|
CheckDetail.add_member(:name, Shapes::ShapeRef.new(shape: CheckName, location_name: "Name"))
|
311
337
|
CheckDetail.add_member(:description, Shapes::ShapeRef.new(shape: CheckDescription, location_name: "Description"))
|
@@ -387,6 +413,18 @@ module Aws::WellArchitected
|
|
387
413
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ExceptionResourceType, required: true, location_name: "ResourceType"))
|
388
414
|
ConflictException.struct_class = Types::ConflictException
|
389
415
|
|
416
|
+
ConsolidatedReportMetric.add_member(:metric_type, Shapes::ShapeRef.new(shape: MetricType, location_name: "MetricType"))
|
417
|
+
ConsolidatedReportMetric.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
|
418
|
+
ConsolidatedReportMetric.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
|
419
|
+
ConsolidatedReportMetric.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
|
420
|
+
ConsolidatedReportMetric.add_member(:workload_arn, Shapes::ShapeRef.new(shape: WorkloadArn, location_name: "WorkloadArn"))
|
421
|
+
ConsolidatedReportMetric.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
422
|
+
ConsolidatedReportMetric.add_member(:lenses, Shapes::ShapeRef.new(shape: LensMetrics, location_name: "Lenses"))
|
423
|
+
ConsolidatedReportMetric.add_member(:lenses_applied_count, Shapes::ShapeRef.new(shape: LensesAppliedCount, location_name: "LensesAppliedCount"))
|
424
|
+
ConsolidatedReportMetric.struct_class = Types::ConsolidatedReportMetric
|
425
|
+
|
426
|
+
ConsolidatedReportMetrics.member = Shapes::ShapeRef.new(shape: ConsolidatedReportMetric)
|
427
|
+
|
390
428
|
CreateLensShareInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
|
391
429
|
CreateLensShareInput.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, required: true, location_name: "SharedWith"))
|
392
430
|
CreateLensShareInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
@@ -490,6 +528,17 @@ module Aws::WellArchitected
|
|
490
528
|
GetAnswerOutput.add_member(:answer, Shapes::ShapeRef.new(shape: Answer, location_name: "Answer"))
|
491
529
|
GetAnswerOutput.struct_class = Types::GetAnswerOutput
|
492
530
|
|
531
|
+
GetConsolidatedReportInput.add_member(:format, Shapes::ShapeRef.new(shape: ReportFormat, required: true, location: "querystring", location_name: "Format"))
|
532
|
+
GetConsolidatedReportInput.add_member(:include_shared_resources, Shapes::ShapeRef.new(shape: IncludeSharedResources, location: "querystring", location_name: "IncludeSharedResources"))
|
533
|
+
GetConsolidatedReportInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
534
|
+
GetConsolidatedReportInput.add_member(:max_results, Shapes::ShapeRef.new(shape: GetConsolidatedReportMaxResults, location: "querystring", location_name: "MaxResults"))
|
535
|
+
GetConsolidatedReportInput.struct_class = Types::GetConsolidatedReportInput
|
536
|
+
|
537
|
+
GetConsolidatedReportOutput.add_member(:metrics, Shapes::ShapeRef.new(shape: ConsolidatedReportMetrics, location_name: "Metrics"))
|
538
|
+
GetConsolidatedReportOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
539
|
+
GetConsolidatedReportOutput.add_member(:base_64_string, Shapes::ShapeRef.new(shape: Base64String, location_name: "Base64String"))
|
540
|
+
GetConsolidatedReportOutput.struct_class = Types::GetConsolidatedReportOutput
|
541
|
+
|
493
542
|
GetLensInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
|
494
543
|
GetLensInput.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location: "querystring", location_name: "LensVersion"))
|
495
544
|
GetLensInput.struct_class = Types::GetLensInput
|
@@ -578,6 +627,13 @@ module Aws::WellArchitected
|
|
578
627
|
|
579
628
|
LensAliases.member = Shapes::ShapeRef.new(shape: LensAlias)
|
580
629
|
|
630
|
+
LensMetric.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
|
631
|
+
LensMetric.add_member(:pillars, Shapes::ShapeRef.new(shape: PillarMetrics, location_name: "Pillars"))
|
632
|
+
LensMetric.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
|
633
|
+
LensMetric.struct_class = Types::LensMetric
|
634
|
+
|
635
|
+
LensMetrics.member = Shapes::ShapeRef.new(shape: LensMetric)
|
636
|
+
|
581
637
|
LensReview.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
|
582
638
|
LensReview.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
|
583
639
|
LensReview.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
|
@@ -813,6 +869,13 @@ module Aws::WellArchitected
|
|
813
869
|
|
814
870
|
PillarDifferences.member = Shapes::ShapeRef.new(shape: PillarDifference)
|
815
871
|
|
872
|
+
PillarMetric.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, location_name: "PillarId"))
|
873
|
+
PillarMetric.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
|
874
|
+
PillarMetric.add_member(:questions, Shapes::ShapeRef.new(shape: QuestionMetrics, location_name: "Questions"))
|
875
|
+
PillarMetric.struct_class = Types::PillarMetric
|
876
|
+
|
877
|
+
PillarMetrics.member = Shapes::ShapeRef.new(shape: PillarMetric)
|
878
|
+
|
816
879
|
PillarNotes.key = Shapes::ShapeRef.new(shape: PillarId)
|
817
880
|
PillarNotes.value = Shapes::ShapeRef.new(shape: Notes)
|
818
881
|
|
@@ -831,6 +894,13 @@ module Aws::WellArchitected
|
|
831
894
|
|
832
895
|
QuestionDifferences.member = Shapes::ShapeRef.new(shape: QuestionDifference)
|
833
896
|
|
897
|
+
QuestionMetric.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, location_name: "QuestionId"))
|
898
|
+
QuestionMetric.add_member(:risk, Shapes::ShapeRef.new(shape: Risk, location_name: "Risk"))
|
899
|
+
QuestionMetric.add_member(:best_practices, Shapes::ShapeRef.new(shape: BestPractices, location_name: "BestPractices"))
|
900
|
+
QuestionMetric.struct_class = Types::QuestionMetric
|
901
|
+
|
902
|
+
QuestionMetrics.member = Shapes::ShapeRef.new(shape: QuestionMetric)
|
903
|
+
|
834
904
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
|
835
905
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ExceptionResourceId, required: true, location_name: "ResourceId"))
|
836
906
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ExceptionResourceType, required: true, location_name: "ResourceType"))
|
@@ -907,6 +977,7 @@ module Aws::WellArchitected
|
|
907
977
|
UpdateAnswerOutput.struct_class = Types::UpdateAnswerOutput
|
908
978
|
|
909
979
|
UpdateGlobalSettingsInput.add_member(:organization_sharing_status, Shapes::ShapeRef.new(shape: OrganizationSharingStatus, location_name: "OrganizationSharingStatus"))
|
980
|
+
UpdateGlobalSettingsInput.add_member(:discovery_integration_status, Shapes::ShapeRef.new(shape: DiscoveryIntegrationStatus, location_name: "DiscoveryIntegrationStatus"))
|
910
981
|
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
911
982
|
|
912
983
|
UpdateLensReviewInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
|
@@ -1013,6 +1084,7 @@ module Aws::WellArchitected
|
|
1013
1084
|
WorkloadAwsRegions.member = Shapes::ShapeRef.new(shape: AwsRegion)
|
1014
1085
|
|
1015
1086
|
WorkloadDiscoveryConfig.add_member(:trusted_advisor_integration_status, Shapes::ShapeRef.new(shape: TrustedAdvisorIntegrationStatus, location_name: "TrustedAdvisorIntegrationStatus"))
|
1087
|
+
WorkloadDiscoveryConfig.add_member(:workload_resource_definition, Shapes::ShapeRef.new(shape: WorkloadResourceDefinition, location_name: "WorkloadResourceDefinition"))
|
1016
1088
|
WorkloadDiscoveryConfig.struct_class = Types::WorkloadDiscoveryConfig
|
1017
1089
|
|
1018
1090
|
WorkloadLenses.member = Shapes::ShapeRef.new(shape: LensAlias)
|
@@ -1021,6 +1093,8 @@ module Aws::WellArchitected
|
|
1021
1093
|
|
1022
1094
|
WorkloadPillarPriorities.member = Shapes::ShapeRef.new(shape: PillarId)
|
1023
1095
|
|
1096
|
+
WorkloadResourceDefinition.member = Shapes::ShapeRef.new(shape: DefinitionType)
|
1097
|
+
|
1024
1098
|
WorkloadShare.add_member(:share_id, Shapes::ShapeRef.new(shape: ShareId, location_name: "ShareId"))
|
1025
1099
|
WorkloadShare.add_member(:shared_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "SharedBy"))
|
1026
1100
|
WorkloadShare.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, location_name: "SharedWith"))
|
@@ -1140,6 +1214,7 @@ module Aws::WellArchitected
|
|
1140
1214
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1141
1215
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1142
1216
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1217
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1143
1218
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1144
1219
|
end)
|
1145
1220
|
|
@@ -1254,6 +1329,25 @@ module Aws::WellArchitected
|
|
1254
1329
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1255
1330
|
end)
|
1256
1331
|
|
1332
|
+
api.add_operation(:get_consolidated_report, Seahorse::Model::Operation.new.tap do |o|
|
1333
|
+
o.name = "GetConsolidatedReport"
|
1334
|
+
o.http_method = "GET"
|
1335
|
+
o.http_request_uri = "/consolidatedReport"
|
1336
|
+
o.input = Shapes::ShapeRef.new(shape: GetConsolidatedReportInput)
|
1337
|
+
o.output = Shapes::ShapeRef.new(shape: GetConsolidatedReportOutput)
|
1338
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1339
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1340
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1342
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1343
|
+
o[:pager] = Aws::Pager.new(
|
1344
|
+
limit_key: "max_results",
|
1345
|
+
tokens: {
|
1346
|
+
"next_token" => "next_token"
|
1347
|
+
}
|
1348
|
+
)
|
1349
|
+
end)
|
1350
|
+
|
1257
1351
|
api.add_operation(:get_lens, Seahorse::Model::Operation.new.tap do |o|
|
1258
1352
|
o.name = "GetLens"
|
1259
1353
|
o.http_method = "GET"
|
@@ -14,36 +14,39 @@ module Aws::WellArchitected
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
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"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
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"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://wellarchitected.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
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
|