aws-sdk-wellarchitected 1.9.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,8 +27,13 @@ module Aws::WellArchitected
27
27
  ChoiceAnswerSummaries = Shapes::ListShape.new(name: 'ChoiceAnswerSummaries')
28
28
  ChoiceAnswerSummary = Shapes::StructureShape.new(name: 'ChoiceAnswerSummary')
29
29
  ChoiceAnswers = Shapes::ListShape.new(name: 'ChoiceAnswers')
30
+ ChoiceContent = Shapes::StructureShape.new(name: 'ChoiceContent')
31
+ ChoiceContentDisplayText = Shapes::StringShape.new(name: 'ChoiceContentDisplayText')
32
+ ChoiceContentUrl = Shapes::StringShape.new(name: 'ChoiceContentUrl')
30
33
  ChoiceDescription = Shapes::StringShape.new(name: 'ChoiceDescription')
31
34
  ChoiceId = Shapes::StringShape.new(name: 'ChoiceId')
35
+ ChoiceImprovementPlan = Shapes::StructureShape.new(name: 'ChoiceImprovementPlan')
36
+ ChoiceImprovementPlans = Shapes::ListShape.new(name: 'ChoiceImprovementPlans')
32
37
  ChoiceNotes = Shapes::StringShape.new(name: 'ChoiceNotes')
33
38
  ChoiceReason = Shapes::StringShape.new(name: 'ChoiceReason')
34
39
  ChoiceStatus = Shapes::StringShape.new(name: 'ChoiceStatus')
@@ -39,21 +44,32 @@ module Aws::WellArchitected
39
44
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
40
45
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
41
46
  Count = Shapes::IntegerShape.new(name: 'Count')
47
+ CreateLensShareInput = Shapes::StructureShape.new(name: 'CreateLensShareInput')
48
+ CreateLensShareOutput = Shapes::StructureShape.new(name: 'CreateLensShareOutput')
49
+ CreateLensVersionInput = Shapes::StructureShape.new(name: 'CreateLensVersionInput')
50
+ CreateLensVersionOutput = Shapes::StructureShape.new(name: 'CreateLensVersionOutput')
42
51
  CreateMilestoneInput = Shapes::StructureShape.new(name: 'CreateMilestoneInput')
43
52
  CreateMilestoneOutput = Shapes::StructureShape.new(name: 'CreateMilestoneOutput')
44
53
  CreateWorkloadInput = Shapes::StructureShape.new(name: 'CreateWorkloadInput')
45
54
  CreateWorkloadOutput = Shapes::StructureShape.new(name: 'CreateWorkloadOutput')
46
55
  CreateWorkloadShareInput = Shapes::StructureShape.new(name: 'CreateWorkloadShareInput')
47
56
  CreateWorkloadShareOutput = Shapes::StructureShape.new(name: 'CreateWorkloadShareOutput')
57
+ DeleteLensInput = Shapes::StructureShape.new(name: 'DeleteLensInput')
58
+ DeleteLensShareInput = Shapes::StructureShape.new(name: 'DeleteLensShareInput')
48
59
  DeleteWorkloadInput = Shapes::StructureShape.new(name: 'DeleteWorkloadInput')
49
60
  DeleteWorkloadShareInput = Shapes::StructureShape.new(name: 'DeleteWorkloadShareInput')
50
61
  DifferenceStatus = Shapes::StringShape.new(name: 'DifferenceStatus')
51
62
  DisassociateLensesInput = Shapes::StructureShape.new(name: 'DisassociateLensesInput')
63
+ DisplayText = Shapes::StringShape.new(name: 'DisplayText')
52
64
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
53
65
  ExceptionResourceId = Shapes::StringShape.new(name: 'ExceptionResourceId')
54
66
  ExceptionResourceType = Shapes::StringShape.new(name: 'ExceptionResourceType')
67
+ ExportLensInput = Shapes::StructureShape.new(name: 'ExportLensInput')
68
+ ExportLensOutput = Shapes::StructureShape.new(name: 'ExportLensOutput')
55
69
  GetAnswerInput = Shapes::StructureShape.new(name: 'GetAnswerInput')
56
70
  GetAnswerOutput = Shapes::StructureShape.new(name: 'GetAnswerOutput')
71
+ GetLensInput = Shapes::StructureShape.new(name: 'GetLensInput')
72
+ GetLensOutput = Shapes::StructureShape.new(name: 'GetLensOutput')
57
73
  GetLensReviewInput = Shapes::StructureShape.new(name: 'GetLensReviewInput')
58
74
  GetLensReviewOutput = Shapes::StructureShape.new(name: 'GetLensReviewOutput')
59
75
  GetLensReviewReportInput = Shapes::StructureShape.new(name: 'GetLensReviewReportInput')
@@ -65,23 +81,36 @@ module Aws::WellArchitected
65
81
  GetWorkloadInput = Shapes::StructureShape.new(name: 'GetWorkloadInput')
66
82
  GetWorkloadOutput = Shapes::StructureShape.new(name: 'GetWorkloadOutput')
67
83
  HelpfulResourceUrl = Shapes::StringShape.new(name: 'HelpfulResourceUrl')
84
+ ImportLensInput = Shapes::StructureShape.new(name: 'ImportLensInput')
85
+ ImportLensOutput = Shapes::StructureShape.new(name: 'ImportLensOutput')
86
+ ImportLensStatus = Shapes::StringShape.new(name: 'ImportLensStatus')
68
87
  ImprovementPlanUrl = Shapes::StringShape.new(name: 'ImprovementPlanUrl')
69
88
  ImprovementSummaries = Shapes::ListShape.new(name: 'ImprovementSummaries')
70
89
  ImprovementSummary = Shapes::StructureShape.new(name: 'ImprovementSummary')
71
90
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
72
91
  IsApplicable = Shapes::BooleanShape.new(name: 'IsApplicable')
92
+ IsMajorVersion = Shapes::BooleanShape.new(name: 'IsMajorVersion')
73
93
  IsReviewOwnerUpdateAcknowledged = Shapes::BooleanShape.new(name: 'IsReviewOwnerUpdateAcknowledged')
94
+ Lens = Shapes::StructureShape.new(name: 'Lens')
74
95
  LensAlias = Shapes::StringShape.new(name: 'LensAlias')
75
96
  LensAliases = Shapes::ListShape.new(name: 'LensAliases')
97
+ LensArn = Shapes::StringShape.new(name: 'LensArn')
76
98
  LensDescription = Shapes::StringShape.new(name: 'LensDescription')
99
+ LensJSON = Shapes::StringShape.new(name: 'LensJSON')
77
100
  LensName = Shapes::StringShape.new(name: 'LensName')
101
+ LensNamePrefix = Shapes::StringShape.new(name: 'LensNamePrefix')
102
+ LensOwner = Shapes::StringShape.new(name: 'LensOwner')
78
103
  LensReview = Shapes::StructureShape.new(name: 'LensReview')
79
104
  LensReviewReport = Shapes::StructureShape.new(name: 'LensReviewReport')
80
105
  LensReviewSummaries = Shapes::ListShape.new(name: 'LensReviewSummaries')
81
106
  LensReviewSummary = Shapes::StructureShape.new(name: 'LensReviewSummary')
107
+ LensShareSummaries = Shapes::ListShape.new(name: 'LensShareSummaries')
108
+ LensShareSummary = Shapes::StructureShape.new(name: 'LensShareSummary')
82
109
  LensStatus = Shapes::StringShape.new(name: 'LensStatus')
110
+ LensStatusType = Shapes::StringShape.new(name: 'LensStatusType')
83
111
  LensSummaries = Shapes::ListShape.new(name: 'LensSummaries')
84
112
  LensSummary = Shapes::StructureShape.new(name: 'LensSummary')
113
+ LensType = Shapes::StringShape.new(name: 'LensType')
85
114
  LensUpgradeSummary = Shapes::StructureShape.new(name: 'LensUpgradeSummary')
86
115
  LensVersion = Shapes::StringShape.new(name: 'LensVersion')
87
116
  ListAnswersInput = Shapes::StructureShape.new(name: 'ListAnswersInput')
@@ -92,6 +121,8 @@ module Aws::WellArchitected
92
121
  ListLensReviewImprovementsOutput = Shapes::StructureShape.new(name: 'ListLensReviewImprovementsOutput')
93
122
  ListLensReviewsInput = Shapes::StructureShape.new(name: 'ListLensReviewsInput')
94
123
  ListLensReviewsOutput = Shapes::StructureShape.new(name: 'ListLensReviewsOutput')
124
+ ListLensSharesInput = Shapes::StructureShape.new(name: 'ListLensSharesInput')
125
+ ListLensSharesOutput = Shapes::StructureShape.new(name: 'ListLensSharesOutput')
95
126
  ListLensesInput = Shapes::StructureShape.new(name: 'ListLensesInput')
96
127
  ListLensesOutput = Shapes::StructureShape.new(name: 'ListLensesOutput')
97
128
  ListMilestonesInput = Shapes::StructureShape.new(name: 'ListMilestonesInput')
@@ -147,6 +178,7 @@ module Aws::WellArchitected
147
178
  ShareInvitationId = Shapes::StringShape.new(name: 'ShareInvitationId')
148
179
  ShareInvitationSummaries = Shapes::ListShape.new(name: 'ShareInvitationSummaries')
149
180
  ShareInvitationSummary = Shapes::StructureShape.new(name: 'ShareInvitationSummary')
181
+ ShareResourceType = Shapes::StringShape.new(name: 'ShareResourceType')
150
182
  ShareStatus = Shapes::StringShape.new(name: 'ShareStatus')
151
183
  SharedWith = Shapes::StringShape.new(name: 'SharedWith')
152
184
  SharedWithPrefix = Shapes::StringShape.new(name: 'SharedWithPrefix')
@@ -210,6 +242,7 @@ module Aws::WellArchitected
210
242
  Answer.add_member(:question_description, Shapes::ShapeRef.new(shape: QuestionDescription, location_name: "QuestionDescription"))
211
243
  Answer.add_member(:improvement_plan_url, Shapes::ShapeRef.new(shape: ImprovementPlanUrl, location_name: "ImprovementPlanUrl"))
212
244
  Answer.add_member(:helpful_resource_url, Shapes::ShapeRef.new(shape: HelpfulResourceUrl, location_name: "HelpfulResourceUrl"))
245
+ Answer.add_member(:helpful_resource_display_text, Shapes::ShapeRef.new(shape: DisplayText, location_name: "HelpfulResourceDisplayText"))
213
246
  Answer.add_member(:choices, Shapes::ShapeRef.new(shape: Choices, location_name: "Choices"))
214
247
  Answer.add_member(:selected_choices, Shapes::ShapeRef.new(shape: SelectedChoices, location_name: "SelectedChoices"))
215
248
  Answer.add_member(:choice_answers, Shapes::ShapeRef.new(shape: ChoiceAnswers, location_name: "ChoiceAnswers"))
@@ -239,6 +272,8 @@ module Aws::WellArchitected
239
272
  Choice.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
240
273
  Choice.add_member(:title, Shapes::ShapeRef.new(shape: ChoiceTitle, location_name: "Title"))
241
274
  Choice.add_member(:description, Shapes::ShapeRef.new(shape: ChoiceDescription, location_name: "Description"))
275
+ Choice.add_member(:helpful_resource, Shapes::ShapeRef.new(shape: ChoiceContent, location_name: "HelpfulResource"))
276
+ Choice.add_member(:improvement_plan, Shapes::ShapeRef.new(shape: ChoiceContent, location_name: "ImprovementPlan"))
242
277
  Choice.struct_class = Types::Choice
243
278
 
244
279
  ChoiceAnswer.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
@@ -256,6 +291,17 @@ module Aws::WellArchitected
256
291
 
257
292
  ChoiceAnswers.member = Shapes::ShapeRef.new(shape: ChoiceAnswer)
258
293
 
294
+ ChoiceContent.add_member(:display_text, Shapes::ShapeRef.new(shape: ChoiceContentDisplayText, location_name: "DisplayText"))
295
+ ChoiceContent.add_member(:url, Shapes::ShapeRef.new(shape: ChoiceContentUrl, location_name: "Url"))
296
+ ChoiceContent.struct_class = Types::ChoiceContent
297
+
298
+ ChoiceImprovementPlan.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
299
+ ChoiceImprovementPlan.add_member(:display_text, Shapes::ShapeRef.new(shape: DisplayText, location_name: "DisplayText"))
300
+ ChoiceImprovementPlan.add_member(:improvement_plan_url, Shapes::ShapeRef.new(shape: ImprovementPlanUrl, location_name: "ImprovementPlanUrl"))
301
+ ChoiceImprovementPlan.struct_class = Types::ChoiceImprovementPlan
302
+
303
+ ChoiceImprovementPlans.member = Shapes::ShapeRef.new(shape: ChoiceImprovementPlan)
304
+
259
305
  ChoiceUpdate.add_member(:status, Shapes::ShapeRef.new(shape: ChoiceStatus, required: true, location_name: "Status"))
260
306
  ChoiceUpdate.add_member(:reason, Shapes::ShapeRef.new(shape: ChoiceReason, location_name: "Reason"))
261
307
  ChoiceUpdate.add_member(:notes, Shapes::ShapeRef.new(shape: ChoiceNotes, location_name: "Notes"))
@@ -271,6 +317,24 @@ module Aws::WellArchitected
271
317
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ExceptionResourceType, required: true, location_name: "ResourceType"))
272
318
  ConflictException.struct_class = Types::ConflictException
273
319
 
320
+ CreateLensShareInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
321
+ CreateLensShareInput.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, required: true, location_name: "SharedWith"))
322
+ CreateLensShareInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
323
+ CreateLensShareInput.struct_class = Types::CreateLensShareInput
324
+
325
+ CreateLensShareOutput.add_member(:share_id, Shapes::ShapeRef.new(shape: ShareId, location_name: "ShareId"))
326
+ CreateLensShareOutput.struct_class = Types::CreateLensShareOutput
327
+
328
+ CreateLensVersionInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
329
+ CreateLensVersionInput.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, required: true, location_name: "LensVersion"))
330
+ CreateLensVersionInput.add_member(:is_major_version, Shapes::ShapeRef.new(shape: IsMajorVersion, location_name: "IsMajorVersion"))
331
+ CreateLensVersionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
332
+ CreateLensVersionInput.struct_class = Types::CreateLensVersionInput
333
+
334
+ CreateLensVersionOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
335
+ CreateLensVersionOutput.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
336
+ CreateLensVersionOutput.struct_class = Types::CreateLensVersionOutput
337
+
274
338
  CreateMilestoneInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
275
339
  CreateMilestoneInput.add_member(:milestone_name, Shapes::ShapeRef.new(shape: MilestoneName, required: true, location_name: "MilestoneName"))
276
340
  CreateMilestoneInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -311,6 +375,16 @@ module Aws::WellArchitected
311
375
  CreateWorkloadShareOutput.add_member(:share_id, Shapes::ShapeRef.new(shape: ShareId, location_name: "ShareId"))
312
376
  CreateWorkloadShareOutput.struct_class = Types::CreateWorkloadShareOutput
313
377
 
378
+ DeleteLensInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
379
+ DeleteLensInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location: "querystring", location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
380
+ DeleteLensInput.add_member(:lens_status, Shapes::ShapeRef.new(shape: LensStatusType, required: true, location: "querystring", location_name: "LensStatus"))
381
+ DeleteLensInput.struct_class = Types::DeleteLensInput
382
+
383
+ DeleteLensShareInput.add_member(:share_id, Shapes::ShapeRef.new(shape: ShareId, required: true, location: "uri", location_name: "ShareId"))
384
+ DeleteLensShareInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
385
+ DeleteLensShareInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location: "querystring", location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
386
+ DeleteLensShareInput.struct_class = Types::DeleteLensShareInput
387
+
314
388
  DeleteWorkloadInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
315
389
  DeleteWorkloadInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location: "querystring", location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
316
390
  DeleteWorkloadInput.struct_class = Types::DeleteWorkloadInput
@@ -324,6 +398,13 @@ module Aws::WellArchitected
324
398
  DisassociateLensesInput.add_member(:lens_aliases, Shapes::ShapeRef.new(shape: LensAliases, required: true, location_name: "LensAliases"))
325
399
  DisassociateLensesInput.struct_class = Types::DisassociateLensesInput
326
400
 
401
+ ExportLensInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
402
+ ExportLensInput.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location: "querystring", location_name: "LensVersion"))
403
+ ExportLensInput.struct_class = Types::ExportLensInput
404
+
405
+ ExportLensOutput.add_member(:lens_json, Shapes::ShapeRef.new(shape: LensJSON, location_name: "LensJSON"))
406
+ ExportLensOutput.struct_class = Types::ExportLensOutput
407
+
327
408
  GetAnswerInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
328
409
  GetAnswerInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
329
410
  GetAnswerInput.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, required: true, location: "uri", location_name: "QuestionId"))
@@ -333,9 +414,17 @@ module Aws::WellArchitected
333
414
  GetAnswerOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
334
415
  GetAnswerOutput.add_member(:milestone_number, Shapes::ShapeRef.new(shape: MilestoneNumber, location_name: "MilestoneNumber"))
335
416
  GetAnswerOutput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
417
+ GetAnswerOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
336
418
  GetAnswerOutput.add_member(:answer, Shapes::ShapeRef.new(shape: Answer, location_name: "Answer"))
337
419
  GetAnswerOutput.struct_class = Types::GetAnswerOutput
338
420
 
421
+ GetLensInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
422
+ GetLensInput.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location: "querystring", location_name: "LensVersion"))
423
+ GetLensInput.struct_class = Types::GetLensInput
424
+
425
+ GetLensOutput.add_member(:lens, Shapes::ShapeRef.new(shape: Lens, location_name: "Lens"))
426
+ GetLensOutput.struct_class = Types::GetLensOutput
427
+
339
428
  GetLensReviewInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
340
429
  GetLensReviewInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
341
430
  GetLensReviewInput.add_member(:milestone_number, Shapes::ShapeRef.new(shape: MilestoneNumber, location: "querystring", location_name: "MilestoneNumber"))
@@ -357,11 +446,14 @@ module Aws::WellArchitected
357
446
  GetLensReviewReportOutput.struct_class = Types::GetLensReviewReportOutput
358
447
 
359
448
  GetLensVersionDifferenceInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
360
- GetLensVersionDifferenceInput.add_member(:base_lens_version, Shapes::ShapeRef.new(shape: LensVersion, required: true, location: "querystring", location_name: "BaseLensVersion"))
449
+ GetLensVersionDifferenceInput.add_member(:base_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location: "querystring", location_name: "BaseLensVersion"))
450
+ GetLensVersionDifferenceInput.add_member(:target_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location: "querystring", location_name: "TargetLensVersion"))
361
451
  GetLensVersionDifferenceInput.struct_class = Types::GetLensVersionDifferenceInput
362
452
 
363
453
  GetLensVersionDifferenceOutput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
454
+ GetLensVersionDifferenceOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
364
455
  GetLensVersionDifferenceOutput.add_member(:base_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "BaseLensVersion"))
456
+ GetLensVersionDifferenceOutput.add_member(:target_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "TargetLensVersion"))
365
457
  GetLensVersionDifferenceOutput.add_member(:latest_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LatestLensVersion"))
366
458
  GetLensVersionDifferenceOutput.add_member(:version_differences, Shapes::ShapeRef.new(shape: VersionDifferences, location_name: "VersionDifferences"))
367
459
  GetLensVersionDifferenceOutput.struct_class = Types::GetLensVersionDifferenceOutput
@@ -380,6 +472,16 @@ module Aws::WellArchitected
380
472
  GetWorkloadOutput.add_member(:workload, Shapes::ShapeRef.new(shape: Workload, location_name: "Workload"))
381
473
  GetWorkloadOutput.struct_class = Types::GetWorkloadOutput
382
474
 
475
+ ImportLensInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
476
+ ImportLensInput.add_member(:json_string, Shapes::ShapeRef.new(shape: LensJSON, required: true, location_name: "JSONString"))
477
+ ImportLensInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
478
+ ImportLensInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
479
+ ImportLensInput.struct_class = Types::ImportLensInput
480
+
481
+ ImportLensOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
482
+ ImportLensOutput.add_member(:status, Shapes::ShapeRef.new(shape: ImportLensStatus, location_name: "Status"))
483
+ ImportLensOutput.struct_class = Types::ImportLensOutput
484
+
383
485
  ImprovementSummaries.member = Shapes::ShapeRef.new(shape: ImprovementSummary)
384
486
 
385
487
  ImprovementSummary.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, location_name: "QuestionId"))
@@ -387,14 +489,24 @@ module Aws::WellArchitected
387
489
  ImprovementSummary.add_member(:question_title, Shapes::ShapeRef.new(shape: QuestionTitle, location_name: "QuestionTitle"))
388
490
  ImprovementSummary.add_member(:risk, Shapes::ShapeRef.new(shape: Risk, location_name: "Risk"))
389
491
  ImprovementSummary.add_member(:improvement_plan_url, Shapes::ShapeRef.new(shape: ImprovementPlanUrl, location_name: "ImprovementPlanUrl"))
492
+ ImprovementSummary.add_member(:improvement_plans, Shapes::ShapeRef.new(shape: ChoiceImprovementPlans, location_name: "ImprovementPlans"))
390
493
  ImprovementSummary.struct_class = Types::ImprovementSummary
391
494
 
392
495
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
393
496
  InternalServerException.struct_class = Types::InternalServerException
394
497
 
498
+ Lens.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
499
+ Lens.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
500
+ Lens.add_member(:name, Shapes::ShapeRef.new(shape: LensName, location_name: "Name"))
501
+ Lens.add_member(:description, Shapes::ShapeRef.new(shape: LensDescription, location_name: "Description"))
502
+ Lens.add_member(:owner, Shapes::ShapeRef.new(shape: LensOwner, location_name: "Owner"))
503
+ Lens.add_member(:share_invitation_id, Shapes::ShapeRef.new(shape: ShareInvitationId, location_name: "ShareInvitationId"))
504
+ Lens.struct_class = Types::Lens
505
+
395
506
  LensAliases.member = Shapes::ShapeRef.new(shape: LensAlias)
396
507
 
397
508
  LensReview.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
509
+ LensReview.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
398
510
  LensReview.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
399
511
  LensReview.add_member(:lens_name, Shapes::ShapeRef.new(shape: LensName, location_name: "LensName"))
400
512
  LensReview.add_member(:lens_status, Shapes::ShapeRef.new(shape: LensStatus, location_name: "LensStatus"))
@@ -406,12 +518,14 @@ module Aws::WellArchitected
406
518
  LensReview.struct_class = Types::LensReview
407
519
 
408
520
  LensReviewReport.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
521
+ LensReviewReport.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
409
522
  LensReviewReport.add_member(:base_64_string, Shapes::ShapeRef.new(shape: Base64String, location_name: "Base64String"))
410
523
  LensReviewReport.struct_class = Types::LensReviewReport
411
524
 
412
525
  LensReviewSummaries.member = Shapes::ShapeRef.new(shape: LensReviewSummary)
413
526
 
414
527
  LensReviewSummary.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
528
+ LensReviewSummary.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
415
529
  LensReviewSummary.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
416
530
  LensReviewSummary.add_member(:lens_name, Shapes::ShapeRef.new(shape: LensName, location_name: "LensName"))
417
531
  LensReviewSummary.add_member(:lens_status, Shapes::ShapeRef.new(shape: LensStatus, location_name: "LensStatus"))
@@ -419,17 +533,31 @@ module Aws::WellArchitected
419
533
  LensReviewSummary.add_member(:risk_counts, Shapes::ShapeRef.new(shape: RiskCounts, location_name: "RiskCounts"))
420
534
  LensReviewSummary.struct_class = Types::LensReviewSummary
421
535
 
536
+ LensShareSummaries.member = Shapes::ShapeRef.new(shape: LensShareSummary)
537
+
538
+ LensShareSummary.add_member(:share_id, Shapes::ShapeRef.new(shape: ShareId, location_name: "ShareId"))
539
+ LensShareSummary.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, location_name: "SharedWith"))
540
+ LensShareSummary.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
541
+ LensShareSummary.struct_class = Types::LensShareSummary
542
+
422
543
  LensSummaries.member = Shapes::ShapeRef.new(shape: LensSummary)
423
544
 
545
+ LensSummary.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
424
546
  LensSummary.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
425
- LensSummary.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
426
547
  LensSummary.add_member(:lens_name, Shapes::ShapeRef.new(shape: LensName, location_name: "LensName"))
548
+ LensSummary.add_member(:lens_type, Shapes::ShapeRef.new(shape: LensType, location_name: "LensType"))
427
549
  LensSummary.add_member(:description, Shapes::ShapeRef.new(shape: LensDescription, location_name: "Description"))
550
+ LensSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
551
+ LensSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
552
+ LensSummary.add_member(:lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LensVersion"))
553
+ LensSummary.add_member(:owner, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "Owner"))
554
+ LensSummary.add_member(:lens_status, Shapes::ShapeRef.new(shape: LensStatus, location_name: "LensStatus"))
428
555
  LensSummary.struct_class = Types::LensSummary
429
556
 
430
557
  LensUpgradeSummary.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
431
558
  LensUpgradeSummary.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
432
559
  LensUpgradeSummary.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
560
+ LensUpgradeSummary.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
433
561
  LensUpgradeSummary.add_member(:current_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "CurrentLensVersion"))
434
562
  LensUpgradeSummary.add_member(:latest_lens_version, Shapes::ShapeRef.new(shape: LensVersion, location_name: "LatestLensVersion"))
435
563
  LensUpgradeSummary.struct_class = Types::LensUpgradeSummary
@@ -445,6 +573,7 @@ module Aws::WellArchitected
445
573
  ListAnswersOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
446
574
  ListAnswersOutput.add_member(:milestone_number, Shapes::ShapeRef.new(shape: MilestoneNumber, location_name: "MilestoneNumber"))
447
575
  ListAnswersOutput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
576
+ ListAnswersOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
448
577
  ListAnswersOutput.add_member(:answer_summaries, Shapes::ShapeRef.new(shape: AnswerSummaries, location_name: "AnswerSummaries"))
449
578
  ListAnswersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
450
579
  ListAnswersOutput.struct_class = Types::ListAnswersOutput
@@ -460,6 +589,7 @@ module Aws::WellArchitected
460
589
  ListLensReviewImprovementsOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
461
590
  ListLensReviewImprovementsOutput.add_member(:milestone_number, Shapes::ShapeRef.new(shape: MilestoneNumber, location_name: "MilestoneNumber"))
462
591
  ListLensReviewImprovementsOutput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
592
+ ListLensReviewImprovementsOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
463
593
  ListLensReviewImprovementsOutput.add_member(:improvement_summaries, Shapes::ShapeRef.new(shape: ImprovementSummaries, location_name: "ImprovementSummaries"))
464
594
  ListLensReviewImprovementsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
465
595
  ListLensReviewImprovementsOutput.struct_class = Types::ListLensReviewImprovementsOutput
@@ -476,8 +606,21 @@ module Aws::WellArchitected
476
606
  ListLensReviewsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
477
607
  ListLensReviewsOutput.struct_class = Types::ListLensReviewsOutput
478
608
 
609
+ ListLensSharesInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
610
+ ListLensSharesInput.add_member(:shared_with_prefix, Shapes::ShapeRef.new(shape: SharedWithPrefix, location: "querystring", location_name: "SharedWithPrefix"))
611
+ ListLensSharesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
612
+ ListLensSharesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkloadSharesMaxResults, location: "querystring", location_name: "MaxResults"))
613
+ ListLensSharesInput.struct_class = Types::ListLensSharesInput
614
+
615
+ ListLensSharesOutput.add_member(:lens_share_summaries, Shapes::ShapeRef.new(shape: LensShareSummaries, location_name: "LensShareSummaries"))
616
+ ListLensSharesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
617
+ ListLensSharesOutput.struct_class = Types::ListLensSharesOutput
618
+
479
619
  ListLensesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
480
620
  ListLensesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
621
+ ListLensesInput.add_member(:lens_type, Shapes::ShapeRef.new(shape: LensType, location: "querystring", location_name: "LensType"))
622
+ ListLensesInput.add_member(:lens_status, Shapes::ShapeRef.new(shape: LensStatusType, location: "querystring", location_name: "LensStatus"))
623
+ ListLensesInput.add_member(:lens_name, Shapes::ShapeRef.new(shape: LensName, location: "querystring", location_name: "LensName"))
481
624
  ListLensesInput.struct_class = Types::ListLensesInput
482
625
 
483
626
  ListLensesOutput.add_member(:lens_summaries, Shapes::ShapeRef.new(shape: LensSummaries, location_name: "LensSummaries"))
@@ -504,6 +647,8 @@ module Aws::WellArchitected
504
647
  ListNotificationsOutput.struct_class = Types::ListNotificationsOutput
505
648
 
506
649
  ListShareInvitationsInput.add_member(:workload_name_prefix, Shapes::ShapeRef.new(shape: WorkloadNamePrefix, location: "querystring", location_name: "WorkloadNamePrefix"))
650
+ ListShareInvitationsInput.add_member(:lens_name_prefix, Shapes::ShapeRef.new(shape: LensNamePrefix, location: "querystring", location_name: "LensNamePrefix"))
651
+ ListShareInvitationsInput.add_member(:share_resource_type, Shapes::ShapeRef.new(shape: ShareResourceType, location: "querystring", location_name: "ShareResourceType"))
507
652
  ListShareInvitationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
508
653
  ListShareInvitationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListShareInvitationsMaxResults, location: "querystring", location_name: "MaxResults"))
509
654
  ListShareInvitationsInput.struct_class = Types::ListShareInvitationsInput
@@ -559,6 +704,7 @@ module Aws::WellArchitected
559
704
  NotificationSummary.struct_class = Types::NotificationSummary
560
705
 
561
706
  PillarDifference.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, location_name: "PillarId"))
707
+ PillarDifference.add_member(:pillar_name, Shapes::ShapeRef.new(shape: PillarName, location_name: "PillarName"))
562
708
  PillarDifference.add_member(:difference_status, Shapes::ShapeRef.new(shape: DifferenceStatus, location_name: "DifferenceStatus"))
563
709
  PillarDifference.add_member(:question_differences, Shapes::ShapeRef.new(shape: QuestionDifferences, location_name: "QuestionDifferences"))
564
710
  PillarDifference.struct_class = Types::PillarDifference
@@ -601,7 +747,10 @@ module Aws::WellArchitected
601
747
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
602
748
 
603
749
  ShareInvitation.add_member(:share_invitation_id, Shapes::ShapeRef.new(shape: ShareInvitationId, location_name: "ShareInvitationId"))
750
+ ShareInvitation.add_member(:share_resource_type, Shapes::ShapeRef.new(shape: ShareResourceType, location_name: "ShareResourceType"))
604
751
  ShareInvitation.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
752
+ ShareInvitation.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
753
+ ShareInvitation.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
605
754
  ShareInvitation.struct_class = Types::ShareInvitation
606
755
 
607
756
  ShareInvitationSummaries.member = Shapes::ShapeRef.new(shape: ShareInvitationSummary)
@@ -610,8 +759,11 @@ module Aws::WellArchitected
610
759
  ShareInvitationSummary.add_member(:shared_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "SharedBy"))
611
760
  ShareInvitationSummary.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, location_name: "SharedWith"))
612
761
  ShareInvitationSummary.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "PermissionType"))
762
+ ShareInvitationSummary.add_member(:share_resource_type, Shapes::ShapeRef.new(shape: ShareResourceType, location_name: "ShareResourceType"))
613
763
  ShareInvitationSummary.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
614
764
  ShareInvitationSummary.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
765
+ ShareInvitationSummary.add_member(:lens_name, Shapes::ShapeRef.new(shape: LensName, location_name: "LensName"))
766
+ ShareInvitationSummary.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
615
767
  ShareInvitationSummary.struct_class = Types::ShareInvitationSummary
616
768
 
617
769
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -648,6 +800,7 @@ module Aws::WellArchitected
648
800
 
649
801
  UpdateAnswerOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
650
802
  UpdateAnswerOutput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, location_name: "LensAlias"))
803
+ UpdateAnswerOutput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
651
804
  UpdateAnswerOutput.add_member(:answer, Shapes::ShapeRef.new(shape: Answer, location_name: "Answer"))
652
805
  UpdateAnswerOutput.struct_class = Types::UpdateAnswerOutput
653
806
 
@@ -814,6 +967,36 @@ module Aws::WellArchitected
814
967
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
815
968
  end)
816
969
 
970
+ api.add_operation(:create_lens_share, Seahorse::Model::Operation.new.tap do |o|
971
+ o.name = "CreateLensShare"
972
+ o.http_method = "POST"
973
+ o.http_request_uri = "/lenses/{LensAlias}/shares"
974
+ o.input = Shapes::ShapeRef.new(shape: CreateLensShareInput)
975
+ o.output = Shapes::ShapeRef.new(shape: CreateLensShareOutput)
976
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
977
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
978
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
979
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
980
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
981
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
983
+ end)
984
+
985
+ api.add_operation(:create_lens_version, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "CreateLensVersion"
987
+ o.http_method = "POST"
988
+ o.http_request_uri = "/lenses/{LensAlias}/versions"
989
+ o.input = Shapes::ShapeRef.new(shape: CreateLensVersionInput)
990
+ o.output = Shapes::ShapeRef.new(shape: CreateLensVersionOutput)
991
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
992
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
993
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
994
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
995
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
996
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
998
+ end)
999
+
817
1000
  api.add_operation(:create_milestone, Seahorse::Model::Operation.new.tap do |o|
818
1001
  o.name = "CreateMilestone"
819
1002
  o.http_method = "POST"
@@ -858,6 +1041,34 @@ module Aws::WellArchitected
858
1041
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
859
1042
  end)
860
1043
 
1044
+ api.add_operation(:delete_lens, Seahorse::Model::Operation.new.tap do |o|
1045
+ o.name = "DeleteLens"
1046
+ o.http_method = "DELETE"
1047
+ o.http_request_uri = "/lenses/{LensAlias}"
1048
+ o.input = Shapes::ShapeRef.new(shape: DeleteLensInput)
1049
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1050
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1054
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1055
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1056
+ end)
1057
+
1058
+ api.add_operation(:delete_lens_share, Seahorse::Model::Operation.new.tap do |o|
1059
+ o.name = "DeleteLensShare"
1060
+ o.http_method = "DELETE"
1061
+ o.http_request_uri = "/lenses/{LensAlias}/shares/{ShareId}"
1062
+ o.input = Shapes::ShapeRef.new(shape: DeleteLensShareInput)
1063
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1064
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1069
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1070
+ end)
1071
+
861
1072
  api.add_operation(:delete_workload, Seahorse::Model::Operation.new.tap do |o|
862
1073
  o.name = "DeleteWorkload"
863
1074
  o.http_method = "DELETE"
@@ -900,6 +1111,19 @@ module Aws::WellArchitected
900
1111
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
901
1112
  end)
902
1113
 
1114
+ api.add_operation(:export_lens, Seahorse::Model::Operation.new.tap do |o|
1115
+ o.name = "ExportLens"
1116
+ o.http_method = "GET"
1117
+ o.http_request_uri = "/lenses/{LensAlias}/export"
1118
+ o.input = Shapes::ShapeRef.new(shape: ExportLensInput)
1119
+ o.output = Shapes::ShapeRef.new(shape: ExportLensOutput)
1120
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1121
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1123
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1125
+ end)
1126
+
903
1127
  api.add_operation(:get_answer, Seahorse::Model::Operation.new.tap do |o|
904
1128
  o.name = "GetAnswer"
905
1129
  o.http_method = "GET"
@@ -913,6 +1137,19 @@ module Aws::WellArchitected
913
1137
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
914
1138
  end)
915
1139
 
1140
+ api.add_operation(:get_lens, Seahorse::Model::Operation.new.tap do |o|
1141
+ o.name = "GetLens"
1142
+ o.http_method = "GET"
1143
+ o.http_request_uri = "/lenses/{LensAlias}"
1144
+ o.input = Shapes::ShapeRef.new(shape: GetLensInput)
1145
+ o.output = Shapes::ShapeRef.new(shape: GetLensOutput)
1146
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1151
+ end)
1152
+
916
1153
  api.add_operation(:get_lens_review, Seahorse::Model::Operation.new.tap do |o|
917
1154
  o.name = "GetLensReview"
918
1155
  o.http_method = "GET"
@@ -978,6 +1215,21 @@ module Aws::WellArchitected
978
1215
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
979
1216
  end)
980
1217
 
1218
+ api.add_operation(:import_lens, Seahorse::Model::Operation.new.tap do |o|
1219
+ o.name = "ImportLens"
1220
+ o.http_method = "PUT"
1221
+ o.http_request_uri = "/importLens"
1222
+ o.input = Shapes::ShapeRef.new(shape: ImportLensInput)
1223
+ o.output = Shapes::ShapeRef.new(shape: ImportLensOutput)
1224
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1225
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1229
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1231
+ end)
1232
+
981
1233
  api.add_operation(:list_answers, Seahorse::Model::Operation.new.tap do |o|
982
1234
  o.name = "ListAnswers"
983
1235
  o.http_method = "GET"
@@ -1035,6 +1287,25 @@ module Aws::WellArchitected
1035
1287
  )
1036
1288
  end)
1037
1289
 
1290
+ api.add_operation(:list_lens_shares, Seahorse::Model::Operation.new.tap do |o|
1291
+ o.name = "ListLensShares"
1292
+ o.http_method = "GET"
1293
+ o.http_request_uri = "/lenses/{LensAlias}/shares"
1294
+ o.input = Shapes::ShapeRef.new(shape: ListLensSharesInput)
1295
+ o.output = Shapes::ShapeRef.new(shape: ListLensSharesOutput)
1296
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1297
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1298
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1299
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1301
+ o[:pager] = Aws::Pager.new(
1302
+ limit_key: "max_results",
1303
+ tokens: {
1304
+ "next_token" => "next_token"
1305
+ }
1306
+ )
1307
+ end)
1308
+
1038
1309
  api.add_operation(:list_lenses, Seahorse::Model::Operation.new.tap do |o|
1039
1310
  o.name = "ListLenses"
1040
1311
  o.http_method = "GET"