aws-sdk-wellarchitected 1.17.0 → 1.19.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.
@@ -0,0 +1,152 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::WellArchitected
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::WellArchitected::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::WellArchitected::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::WellArchitected::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :associate_lenses
60
+ Aws::WellArchitected::Endpoints::AssociateLenses.build(context)
61
+ when :create_lens_share
62
+ Aws::WellArchitected::Endpoints::CreateLensShare.build(context)
63
+ when :create_lens_version
64
+ Aws::WellArchitected::Endpoints::CreateLensVersion.build(context)
65
+ when :create_milestone
66
+ Aws::WellArchitected::Endpoints::CreateMilestone.build(context)
67
+ when :create_workload
68
+ Aws::WellArchitected::Endpoints::CreateWorkload.build(context)
69
+ when :create_workload_share
70
+ Aws::WellArchitected::Endpoints::CreateWorkloadShare.build(context)
71
+ when :delete_lens
72
+ Aws::WellArchitected::Endpoints::DeleteLens.build(context)
73
+ when :delete_lens_share
74
+ Aws::WellArchitected::Endpoints::DeleteLensShare.build(context)
75
+ when :delete_workload
76
+ Aws::WellArchitected::Endpoints::DeleteWorkload.build(context)
77
+ when :delete_workload_share
78
+ Aws::WellArchitected::Endpoints::DeleteWorkloadShare.build(context)
79
+ when :disassociate_lenses
80
+ Aws::WellArchitected::Endpoints::DisassociateLenses.build(context)
81
+ when :export_lens
82
+ Aws::WellArchitected::Endpoints::ExportLens.build(context)
83
+ when :get_answer
84
+ Aws::WellArchitected::Endpoints::GetAnswer.build(context)
85
+ when :get_lens
86
+ Aws::WellArchitected::Endpoints::GetLens.build(context)
87
+ when :get_lens_review
88
+ Aws::WellArchitected::Endpoints::GetLensReview.build(context)
89
+ when :get_lens_review_report
90
+ Aws::WellArchitected::Endpoints::GetLensReviewReport.build(context)
91
+ when :get_lens_version_difference
92
+ Aws::WellArchitected::Endpoints::GetLensVersionDifference.build(context)
93
+ when :get_milestone
94
+ Aws::WellArchitected::Endpoints::GetMilestone.build(context)
95
+ when :get_workload
96
+ Aws::WellArchitected::Endpoints::GetWorkload.build(context)
97
+ when :import_lens
98
+ Aws::WellArchitected::Endpoints::ImportLens.build(context)
99
+ when :list_answers
100
+ Aws::WellArchitected::Endpoints::ListAnswers.build(context)
101
+ when :list_check_details
102
+ Aws::WellArchitected::Endpoints::ListCheckDetails.build(context)
103
+ when :list_check_summaries
104
+ Aws::WellArchitected::Endpoints::ListCheckSummaries.build(context)
105
+ when :list_lens_review_improvements
106
+ Aws::WellArchitected::Endpoints::ListLensReviewImprovements.build(context)
107
+ when :list_lens_reviews
108
+ Aws::WellArchitected::Endpoints::ListLensReviews.build(context)
109
+ when :list_lens_shares
110
+ Aws::WellArchitected::Endpoints::ListLensShares.build(context)
111
+ when :list_lenses
112
+ Aws::WellArchitected::Endpoints::ListLenses.build(context)
113
+ when :list_milestones
114
+ Aws::WellArchitected::Endpoints::ListMilestones.build(context)
115
+ when :list_notifications
116
+ Aws::WellArchitected::Endpoints::ListNotifications.build(context)
117
+ when :list_share_invitations
118
+ Aws::WellArchitected::Endpoints::ListShareInvitations.build(context)
119
+ when :list_tags_for_resource
120
+ Aws::WellArchitected::Endpoints::ListTagsForResource.build(context)
121
+ when :list_workload_shares
122
+ Aws::WellArchitected::Endpoints::ListWorkloadShares.build(context)
123
+ when :list_workloads
124
+ Aws::WellArchitected::Endpoints::ListWorkloads.build(context)
125
+ when :tag_resource
126
+ Aws::WellArchitected::Endpoints::TagResource.build(context)
127
+ when :untag_resource
128
+ Aws::WellArchitected::Endpoints::UntagResource.build(context)
129
+ when :update_answer
130
+ Aws::WellArchitected::Endpoints::UpdateAnswer.build(context)
131
+ when :update_global_settings
132
+ Aws::WellArchitected::Endpoints::UpdateGlobalSettings.build(context)
133
+ when :update_lens_review
134
+ Aws::WellArchitected::Endpoints::UpdateLensReview.build(context)
135
+ when :update_share_invitation
136
+ Aws::WellArchitected::Endpoints::UpdateShareInvitation.build(context)
137
+ when :update_workload
138
+ Aws::WellArchitected::Endpoints::UpdateWorkload.build(context)
139
+ when :update_workload_share
140
+ Aws::WellArchitected::Endpoints::UpdateWorkloadShare.build(context)
141
+ when :upgrade_lens_review
142
+ Aws::WellArchitected::Endpoints::UpgradeLensReview.build(context)
143
+ end
144
+ end
145
+ end
146
+
147
+ def add_handlers(handlers, _config)
148
+ handlers.add(Handler, step: :build, priority: 75)
149
+ end
150
+ end
151
+ end
152
+ end
@@ -219,6 +219,149 @@ module Aws::WellArchitected
219
219
  include Aws::Structure
220
220
  end
221
221
 
222
+ # Account details for a Well-Architected best practice in relation to
223
+ # Trusted Advisor checks.
224
+ #
225
+ # @!attribute [rw] id
226
+ # Trusted Advisor check ID.
227
+ # @return [String]
228
+ #
229
+ # @!attribute [rw] name
230
+ # Trusted Advisor check name.
231
+ # @return [String]
232
+ #
233
+ # @!attribute [rw] description
234
+ # Trusted Advisor check description.
235
+ # @return [String]
236
+ #
237
+ # @!attribute [rw] provider
238
+ # Provider of the check related to the best practice.
239
+ # @return [String]
240
+ #
241
+ # @!attribute [rw] lens_arn
242
+ # Well-Architected Lens ARN associated to the check.
243
+ # @return [String]
244
+ #
245
+ # @!attribute [rw] pillar_id
246
+ # The ID used to identify a pillar, for example, `security`.
247
+ #
248
+ # A pillar is identified by its PillarReviewSummary$PillarId.
249
+ # @return [String]
250
+ #
251
+ # @!attribute [rw] question_id
252
+ # The ID of the question.
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] choice_id
256
+ # The ID of a choice.
257
+ # @return [String]
258
+ #
259
+ # @!attribute [rw] status
260
+ # Status associated to the check.
261
+ # @return [String]
262
+ #
263
+ # @!attribute [rw] account_id
264
+ # An Amazon Web Services account ID.
265
+ # @return [String]
266
+ #
267
+ # @!attribute [rw] flagged_resources
268
+ # Count of flagged resources associated to the check.
269
+ # @return [Integer]
270
+ #
271
+ # @!attribute [rw] reason
272
+ # Reason associated to the check.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] updated_at
276
+ # The date and time recorded.
277
+ # @return [Time]
278
+ #
279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CheckDetail AWS API Documentation
280
+ #
281
+ class CheckDetail < Struct.new(
282
+ :id,
283
+ :name,
284
+ :description,
285
+ :provider,
286
+ :lens_arn,
287
+ :pillar_id,
288
+ :question_id,
289
+ :choice_id,
290
+ :status,
291
+ :account_id,
292
+ :flagged_resources,
293
+ :reason,
294
+ :updated_at)
295
+ SENSITIVE = []
296
+ include Aws::Structure
297
+ end
298
+
299
+ # Trusted Advisor check summary.
300
+ #
301
+ # @!attribute [rw] id
302
+ # Trusted Advisor check ID.
303
+ # @return [String]
304
+ #
305
+ # @!attribute [rw] name
306
+ # Trusted Advisor check name.
307
+ # @return [String]
308
+ #
309
+ # @!attribute [rw] provider
310
+ # Provider of the check related to the best practice.
311
+ # @return [String]
312
+ #
313
+ # @!attribute [rw] description
314
+ # Trusted Advisor check description.
315
+ # @return [String]
316
+ #
317
+ # @!attribute [rw] updated_at
318
+ # The date and time recorded.
319
+ # @return [Time]
320
+ #
321
+ # @!attribute [rw] lens_arn
322
+ # Well-Architected Lens ARN associated to the check.
323
+ # @return [String]
324
+ #
325
+ # @!attribute [rw] pillar_id
326
+ # The ID used to identify a pillar, for example, `security`.
327
+ #
328
+ # A pillar is identified by its PillarReviewSummary$PillarId.
329
+ # @return [String]
330
+ #
331
+ # @!attribute [rw] question_id
332
+ # The ID of the question.
333
+ # @return [String]
334
+ #
335
+ # @!attribute [rw] choice_id
336
+ # The ID of a choice.
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] status
340
+ # Status associated to the check.
341
+ # @return [String]
342
+ #
343
+ # @!attribute [rw] account_summary
344
+ # Account summary associated to the check.
345
+ # @return [Hash<String,Integer>]
346
+ #
347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CheckSummary AWS API Documentation
348
+ #
349
+ class CheckSummary < Struct.new(
350
+ :id,
351
+ :name,
352
+ :provider,
353
+ :description,
354
+ :updated_at,
355
+ :lens_arn,
356
+ :pillar_id,
357
+ :question_id,
358
+ :choice_id,
359
+ :status,
360
+ :account_summary)
361
+ SENSITIVE = []
362
+ include Aws::Structure
363
+ end
364
+
222
365
  # A choice available to answer question.
223
366
  #
224
367
  # @!attribute [rw] choice_id
@@ -442,8 +585,8 @@ module Aws::WellArchitected
442
585
  # @return [String]
443
586
  #
444
587
  # @!attribute [rw] shared_with
445
- # The Amazon Web Services account ID or IAM role with which the
446
- # workload is shared.
588
+ # The Amazon Web Services account ID, IAM role, organization ID, or
589
+ # organizational unit (OU) ID with which the workload is shared.
447
590
  # @return [String]
448
591
  #
449
592
  # @!attribute [rw] client_request_token
@@ -658,6 +801,10 @@ module Aws::WellArchitected
658
801
  # tags: {
659
802
  # "TagKey" => "TagValue",
660
803
  # },
804
+ # discovery_config: {
805
+ # trusted_advisor_integration_status: "ENABLED", # accepts ENABLED, DISABLED
806
+ # },
807
+ # applications: ["ApplicationArn"],
661
808
  # }
662
809
  #
663
810
  # @!attribute [rw] workload_name
@@ -802,6 +949,15 @@ module Aws::WellArchitected
802
949
  # The tags to be associated with the workload.
803
950
  # @return [Hash<String,String>]
804
951
  #
952
+ # @!attribute [rw] discovery_config
953
+ # Well-Architected discovery configuration settings associated to the
954
+ # workload.
955
+ # @return [Types::WorkloadDiscoveryConfig]
956
+ #
957
+ # @!attribute [rw] applications
958
+ # List of AppRegistry application ARNs associated to the workload.
959
+ # @return [Array<String>]
960
+ #
805
961
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkloadInput AWS API Documentation
806
962
  #
807
963
  class CreateWorkloadInput < Struct.new(
@@ -819,7 +975,9 @@ module Aws::WellArchitected
819
975
  :lenses,
820
976
  :notes,
821
977
  :client_request_token,
822
- :tags)
978
+ :tags,
979
+ :discovery_config,
980
+ :applications)
823
981
  SENSITIVE = []
824
982
  include Aws::Structure
825
983
  end
@@ -862,8 +1020,8 @@ module Aws::WellArchitected
862
1020
  # @return [String]
863
1021
  #
864
1022
  # @!attribute [rw] shared_with
865
- # The Amazon Web Services account ID or IAM role with which the
866
- # workload is shared.
1023
+ # The Amazon Web Services account ID, IAM role, organization ID, or
1024
+ # organizational unit (OU) ID with which the workload is shared.
867
1025
  # @return [String]
868
1026
  #
869
1027
  # @!attribute [rw] permission_type
@@ -1998,8 +2156,8 @@ module Aws::WellArchitected
1998
2156
  # @return [String]
1999
2157
  #
2000
2158
  # @!attribute [rw] shared_with
2001
- # The Amazon Web Services account ID or IAM role with which the
2002
- # workload is shared.
2159
+ # The Amazon Web Services account ID, IAM role, organization ID, or
2160
+ # organizational unit (OU) ID with which the workload is shared.
2003
2161
  # @return [String]
2004
2162
  #
2005
2163
  # @!attribute [rw] status
@@ -2258,6 +2416,158 @@ module Aws::WellArchitected
2258
2416
  include Aws::Structure
2259
2417
  end
2260
2418
 
2419
+ # @note When making an API call, you may pass ListCheckDetailsInput
2420
+ # data as a hash:
2421
+ #
2422
+ # {
2423
+ # workload_id: "WorkloadId", # required
2424
+ # next_token: "NextToken",
2425
+ # max_results: 1,
2426
+ # lens_arn: "LensArn", # required
2427
+ # pillar_id: "PillarId", # required
2428
+ # question_id: "QuestionId", # required
2429
+ # choice_id: "ChoiceId", # required
2430
+ # }
2431
+ #
2432
+ # @!attribute [rw] workload_id
2433
+ # The ID assigned to the workload. This ID is unique within an Amazon
2434
+ # Web Services Region.
2435
+ # @return [String]
2436
+ #
2437
+ # @!attribute [rw] next_token
2438
+ # The token to use to retrieve the next set of results.
2439
+ # @return [String]
2440
+ #
2441
+ # @!attribute [rw] max_results
2442
+ # The maximum number of results to return for this request.
2443
+ # @return [Integer]
2444
+ #
2445
+ # @!attribute [rw] lens_arn
2446
+ # Well-Architected Lens ARN.
2447
+ # @return [String]
2448
+ #
2449
+ # @!attribute [rw] pillar_id
2450
+ # The ID used to identify a pillar, for example, `security`.
2451
+ #
2452
+ # A pillar is identified by its PillarReviewSummary$PillarId.
2453
+ # @return [String]
2454
+ #
2455
+ # @!attribute [rw] question_id
2456
+ # The ID of the question.
2457
+ # @return [String]
2458
+ #
2459
+ # @!attribute [rw] choice_id
2460
+ # The ID of a choice.
2461
+ # @return [String]
2462
+ #
2463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckDetailsInput AWS API Documentation
2464
+ #
2465
+ class ListCheckDetailsInput < Struct.new(
2466
+ :workload_id,
2467
+ :next_token,
2468
+ :max_results,
2469
+ :lens_arn,
2470
+ :pillar_id,
2471
+ :question_id,
2472
+ :choice_id)
2473
+ SENSITIVE = []
2474
+ include Aws::Structure
2475
+ end
2476
+
2477
+ # @!attribute [rw] check_details
2478
+ # The details about the Trusted Advisor checks related to the
2479
+ # Well-Architected best practice.
2480
+ # @return [Array<Types::CheckDetail>]
2481
+ #
2482
+ # @!attribute [rw] next_token
2483
+ # The token to use to retrieve the next set of results.
2484
+ # @return [String]
2485
+ #
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckDetailsOutput AWS API Documentation
2487
+ #
2488
+ class ListCheckDetailsOutput < Struct.new(
2489
+ :check_details,
2490
+ :next_token)
2491
+ SENSITIVE = []
2492
+ include Aws::Structure
2493
+ end
2494
+
2495
+ # @note When making an API call, you may pass ListCheckSummariesInput
2496
+ # data as a hash:
2497
+ #
2498
+ # {
2499
+ # workload_id: "WorkloadId", # required
2500
+ # next_token: "NextToken",
2501
+ # max_results: 1,
2502
+ # lens_arn: "LensArn", # required
2503
+ # pillar_id: "PillarId", # required
2504
+ # question_id: "QuestionId", # required
2505
+ # choice_id: "ChoiceId", # required
2506
+ # }
2507
+ #
2508
+ # @!attribute [rw] workload_id
2509
+ # The ID assigned to the workload. This ID is unique within an Amazon
2510
+ # Web Services Region.
2511
+ # @return [String]
2512
+ #
2513
+ # @!attribute [rw] next_token
2514
+ # The token to use to retrieve the next set of results.
2515
+ # @return [String]
2516
+ #
2517
+ # @!attribute [rw] max_results
2518
+ # The maximum number of results to return for this request.
2519
+ # @return [Integer]
2520
+ #
2521
+ # @!attribute [rw] lens_arn
2522
+ # Well-Architected Lens ARN.
2523
+ # @return [String]
2524
+ #
2525
+ # @!attribute [rw] pillar_id
2526
+ # The ID used to identify a pillar, for example, `security`.
2527
+ #
2528
+ # A pillar is identified by its PillarReviewSummary$PillarId.
2529
+ # @return [String]
2530
+ #
2531
+ # @!attribute [rw] question_id
2532
+ # The ID of the question.
2533
+ # @return [String]
2534
+ #
2535
+ # @!attribute [rw] choice_id
2536
+ # The ID of a choice.
2537
+ # @return [String]
2538
+ #
2539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckSummariesInput AWS API Documentation
2540
+ #
2541
+ class ListCheckSummariesInput < Struct.new(
2542
+ :workload_id,
2543
+ :next_token,
2544
+ :max_results,
2545
+ :lens_arn,
2546
+ :pillar_id,
2547
+ :question_id,
2548
+ :choice_id)
2549
+ SENSITIVE = []
2550
+ include Aws::Structure
2551
+ end
2552
+
2553
+ # @!attribute [rw] check_summaries
2554
+ # List of Trusted Advisor summaries related to the Well-Architected
2555
+ # best practice.
2556
+ # @return [Array<Types::CheckSummary>]
2557
+ #
2558
+ # @!attribute [rw] next_token
2559
+ # The token to use to retrieve the next set of results.
2560
+ # @return [String]
2561
+ #
2562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckSummariesOutput AWS API Documentation
2563
+ #
2564
+ class ListCheckSummariesOutput < Struct.new(
2565
+ :check_summaries,
2566
+ :next_token)
2567
+ SENSITIVE = []
2568
+ include Aws::Structure
2569
+ end
2570
+
2261
2571
  # Input to list lens review improvements.
2262
2572
  #
2263
2573
  # @note When making an API call, you may pass ListLensReviewImprovementsInput
@@ -2473,8 +2783,8 @@ module Aws::WellArchitected
2473
2783
  # @return [String]
2474
2784
  #
2475
2785
  # @!attribute [rw] shared_with_prefix
2476
- # The Amazon Web Services account ID or IAM role with which the lens
2477
- # is shared.
2786
+ # The Amazon Web Services account ID, IAM role, organization ID, or
2787
+ # organizational unit (OU) ID with which the lens is shared.
2478
2788
  # @return [String]
2479
2789
  #
2480
2790
  # @!attribute [rw] next_token
@@ -2806,8 +3116,8 @@ module Aws::WellArchitected
2806
3116
  # @return [String]
2807
3117
  #
2808
3118
  # @!attribute [rw] shared_with_prefix
2809
- # The Amazon Web Services account ID or IAM role with which the
2810
- # workload is shared.
3119
+ # The Amazon Web Services account ID, IAM role, organization ID, or
3120
+ # organizational unit (OU) ID with which the workload is shared.
2811
3121
  # @return [String]
2812
3122
  #
2813
3123
  # @!attribute [rw] next_token
@@ -3197,8 +3507,8 @@ module Aws::WellArchitected
3197
3507
  # @return [String]
3198
3508
  #
3199
3509
  # @!attribute [rw] shared_with
3200
- # The Amazon Web Services account ID or IAM role with which the
3201
- # workload is shared.
3510
+ # The Amazon Web Services account ID, IAM role, organization ID, or
3511
+ # organizational unit (OU) ID with which the workload is shared.
3202
3512
  # @return [String]
3203
3513
  #
3204
3514
  # @!attribute [rw] permission_type
@@ -3570,7 +3880,7 @@ module Aws::WellArchitected
3570
3880
  end
3571
3881
 
3572
3882
  # @!attribute [rw] share_invitation
3573
- # The updated workload share invitation.
3883
+ # The updated workload or custom lens share invitation.
3574
3884
  # @return [Types::ShareInvitation]
3575
3885
  #
3576
3886
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateShareInvitationOutput AWS API Documentation
@@ -3602,6 +3912,10 @@ module Aws::WellArchitected
3602
3912
  # industry: "WorkloadIndustry",
3603
3913
  # notes: "Notes",
3604
3914
  # improvement_status: "NOT_APPLICABLE", # accepts NOT_APPLICABLE, NOT_STARTED, IN_PROGRESS, COMPLETE, RISK_ACKNOWLEDGED
3915
+ # discovery_config: {
3916
+ # trusted_advisor_integration_status: "ENABLED", # accepts ENABLED, DISABLED
3917
+ # },
3918
+ # applications: ["ApplicationArn"],
3605
3919
  # }
3606
3920
  #
3607
3921
  # @!attribute [rw] workload_id
@@ -3737,6 +4051,15 @@ module Aws::WellArchitected
3737
4051
  # The improvement status for a workload.
3738
4052
  # @return [String]
3739
4053
  #
4054
+ # @!attribute [rw] discovery_config
4055
+ # Well-Architected discovery configuration settings to associate to
4056
+ # the workload.
4057
+ # @return [Types::WorkloadDiscoveryConfig]
4058
+ #
4059
+ # @!attribute [rw] applications
4060
+ # List of AppRegistry application ARNs to associate to the workload.
4061
+ # @return [Array<String>]
4062
+ #
3740
4063
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkloadInput AWS API Documentation
3741
4064
  #
3742
4065
  class UpdateWorkloadInput < Struct.new(
@@ -3754,7 +4077,9 @@ module Aws::WellArchitected
3754
4077
  :industry_type,
3755
4078
  :industry,
3756
4079
  :notes,
3757
- :improvement_status)
4080
+ :improvement_status,
4081
+ :discovery_config,
4082
+ :applications)
3758
4083
  SENSITIVE = []
3759
4084
  include Aws::Structure
3760
4085
  end
@@ -4114,6 +4439,14 @@ module Aws::WellArchitected
4114
4439
  # The tags associated with the workload.
4115
4440
  # @return [Hash<String,String>]
4116
4441
  #
4442
+ # @!attribute [rw] discovery_config
4443
+ # Discovery configuration associated to the workload.
4444
+ # @return [Types::WorkloadDiscoveryConfig]
4445
+ #
4446
+ # @!attribute [rw] applications
4447
+ # List of AppRegistry application ARNs associated to the workload.
4448
+ # @return [Array<String>]
4449
+ #
4117
4450
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/Workload AWS API Documentation
4118
4451
  #
4119
4452
  class Workload < Struct.new(
@@ -4139,7 +4472,31 @@ module Aws::WellArchitected
4139
4472
  :lenses,
4140
4473
  :owner,
4141
4474
  :share_invitation_id,
4142
- :tags)
4475
+ :tags,
4476
+ :discovery_config,
4477
+ :applications)
4478
+ SENSITIVE = []
4479
+ include Aws::Structure
4480
+ end
4481
+
4482
+ # Discovery configuration associated to the workload.
4483
+ #
4484
+ # @note When making an API call, you may pass WorkloadDiscoveryConfig
4485
+ # data as a hash:
4486
+ #
4487
+ # {
4488
+ # trusted_advisor_integration_status: "ENABLED", # accepts ENABLED, DISABLED
4489
+ # }
4490
+ #
4491
+ # @!attribute [rw] trusted_advisor_integration_status
4492
+ # Discovery integration status in respect to Trusted Advisor for the
4493
+ # workload.
4494
+ # @return [String]
4495
+ #
4496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/WorkloadDiscoveryConfig AWS API Documentation
4497
+ #
4498
+ class WorkloadDiscoveryConfig < Struct.new(
4499
+ :trusted_advisor_integration_status)
4143
4500
  SENSITIVE = []
4144
4501
  include Aws::Structure
4145
4502
  end
@@ -4155,8 +4512,8 @@ module Aws::WellArchitected
4155
4512
  # @return [String]
4156
4513
  #
4157
4514
  # @!attribute [rw] shared_with
4158
- # The Amazon Web Services account ID or IAM role with which the
4159
- # workload is shared.
4515
+ # The Amazon Web Services account ID, IAM role, organization ID, or
4516
+ # organizational unit (OU) ID with which the workload is shared.
4160
4517
  # @return [String]
4161
4518
  #
4162
4519
  # @!attribute [rw] permission_type
@@ -4201,8 +4558,8 @@ module Aws::WellArchitected
4201
4558
  # @return [String]
4202
4559
  #
4203
4560
  # @!attribute [rw] shared_with
4204
- # The Amazon Web Services account ID or IAM role with which the
4205
- # workload is shared.
4561
+ # The Amazon Web Services account ID, IAM role, organization ID, or
4562
+ # organizational unit (OU) ID with which the workload is shared.
4206
4563
  # @return [String]
4207
4564
  #
4208
4565
  # @!attribute [rw] permission_type
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-wellarchitected/types'
15
15
  require_relative 'aws-sdk-wellarchitected/client_api'
16
+ require_relative 'aws-sdk-wellarchitected/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-wellarchitected/client'
17
18
  require_relative 'aws-sdk-wellarchitected/errors'
18
19
  require_relative 'aws-sdk-wellarchitected/resource'
20
+ require_relative 'aws-sdk-wellarchitected/endpoint_parameters'
21
+ require_relative 'aws-sdk-wellarchitected/endpoint_provider'
22
+ require_relative 'aws-sdk-wellarchitected/endpoints'
19
23
  require_relative 'aws-sdk-wellarchitected/customizations'
20
24
 
21
25
  # This module provides support for AWS Well-Architected Tool. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-wellarchitected/customizations'
48
52
  # @!group service
49
53
  module Aws::WellArchitected
50
54
 
51
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.19.0'
52
56
 
53
57
  end