aws-sdk-wellarchitected 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76a71024c84f01507f2cb7266bc0a71a7bd267861b6c8335bd70fa8f7dcda37b
4
- data.tar.gz: 1f37de22a2bab5eab38a7a8c78ecf8a167dc95e53a38ea46056a4dac1fa78b9e
3
+ metadata.gz: 398adfa6a6c4fe8eb001f5f9b41e365e76aad329e9344786567508c17bf75d72
4
+ data.tar.gz: 5566f073fddb1ddc0e99db82b75b5b287826b98dc12dff7add78575277f06790
5
5
  SHA512:
6
- metadata.gz: 526f840e4eb024342fe364a9802d50227d1fa57da9ac39a330917d3bff2d4c0fe1a997843708ed8f627b4755441a7cb2408ed44e1aac7fc5f6f66daff10ace77
7
- data.tar.gz: c06902dfdca5062494fb73af4974db6fc2ff530d9993a42576a3c7610c9647e2f9aca14321b286bed70ac07c51f800d14d61705b2ed203e0a80701712a4510db
6
+ metadata.gz: 5e998fe9b5aae0715de457acfeac81915d483a0893286ef9fe8fd86db73490eca1b740229696ffacc424648427881ffd92e77398b8002b0792c611ea85dca504
7
+ data.tar.gz: 9b2aa2062a17064d0f6aafc537865f67a319d38b873143260ba2cc81cac34e5cd6cbbca17405b44e600a7c10b6c0134cb2fbe3d98992b6df83dd85adbbdadfe1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2022-11-07)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for integrations with AWS Trusted Advisor and AWS Service Catalog AppRegistry to improve workload discovery and speed up your workload reviews.
8
+
4
9
  1.18.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -413,8 +413,9 @@ module Aws::WellArchitected
413
413
  # Create a lens share.
414
414
  #
415
415
  # The owner of a lens can share it with other Amazon Web Services
416
- # accounts and IAM users in the same Amazon Web Services Region. Shared
417
- # access to a lens is not removed until the lens invitation is deleted.
416
+ # accounts, IAM users, an organization, and organizational units (OUs)
417
+ # in the same Amazon Web Services Region. Shared access to a lens is not
418
+ # removed until the lens invitation is deleted.
418
419
  #
419
420
  # <note markdown="1"> **Disclaimer**
420
421
  #
@@ -440,8 +441,8 @@ module Aws::WellArchitected
440
441
  # Each lens is identified by its LensSummary$LensAlias.
441
442
  #
442
443
  # @option params [required, String] :shared_with
443
- # The Amazon Web Services account ID or IAM role with which the workload
444
- # is shared.
444
+ # The Amazon Web Services account ID, IAM role, organization ID, or
445
+ # organizational unit (OU) ID with which the workload is shared.
445
446
  #
446
447
  # @option params [required, String] :client_request_token
447
448
  # A unique case-sensitive string used to ensure that this request is
@@ -615,8 +616,9 @@ module Aws::WellArchitected
615
616
  # Create a new workload.
616
617
  #
617
618
  # The owner of a workload can share the workload with other Amazon Web
618
- # Services accounts and IAM users in the same Amazon Web Services
619
- # Region. Only the owner of a workload can delete it.
619
+ # Services accounts, IAM users, an organization, and organizational
620
+ # units (OUs) in the same Amazon Web Services Region. Only the owner of
621
+ # a workload can delete it.
620
622
  #
621
623
  # For more information, see [Defining a Workload][1] in the
622
624
  # *Well-Architected Tool User Guide*.
@@ -752,6 +754,13 @@ module Aws::WellArchitected
752
754
  # @option params [Hash<String,String>] :tags
753
755
  # The tags to be associated with the workload.
754
756
  #
757
+ # @option params [Types::WorkloadDiscoveryConfig] :discovery_config
758
+ # Well-Architected discovery configuration settings associated to the
759
+ # workload.
760
+ #
761
+ # @option params [Array<String>] :applications
762
+ # List of AppRegistry application ARNs associated to the workload.
763
+ #
755
764
  # @return [Types::CreateWorkloadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
756
765
  #
757
766
  # * {Types::CreateWorkloadOutput#workload_id #workload_id} => String
@@ -777,6 +786,10 @@ module Aws::WellArchitected
777
786
  # tags: {
778
787
  # "TagKey" => "TagValue",
779
788
  # },
789
+ # discovery_config: {
790
+ # trusted_advisor_integration_status: "ENABLED", # accepts ENABLED, DISABLED
791
+ # },
792
+ # applications: ["ApplicationArn"],
780
793
  # })
781
794
  #
782
795
  # @example Response structure
@@ -812,8 +825,8 @@ module Aws::WellArchitected
812
825
  # Web Services Region.
813
826
  #
814
827
  # @option params [required, String] :shared_with
815
- # The Amazon Web Services account ID or IAM role with which the workload
816
- # is shared.
828
+ # The Amazon Web Services account ID, IAM role, organization ID, or
829
+ # organizational unit (OU) ID with which the workload is shared.
817
830
  #
818
831
  # @option params [required, String] :permission_type
819
832
  # Permission granted on a workload share.
@@ -934,9 +947,10 @@ module Aws::WellArchitected
934
947
 
935
948
  # Delete a lens share.
936
949
  #
937
- # After the lens share is deleted, Amazon Web Services accounts and IAM
938
- # users that you shared the lens with can continue to use it, but they
939
- # will no longer be able to apply it to new workloads.
950
+ # After the lens share is deleted, Amazon Web Services accounts, IAM
951
+ # users, organizations, and organizational units (OUs) that you shared
952
+ # the lens with can continue to use it, but they will no longer be able
953
+ # to apply it to new workloads.
940
954
  #
941
955
  # <note markdown="1"> **Disclaimer**
942
956
  #
@@ -1565,6 +1579,9 @@ module Aws::WellArchitected
1565
1579
  # resp.milestone.workload.share_invitation_id #=> String
1566
1580
  # resp.milestone.workload.tags #=> Hash
1567
1581
  # resp.milestone.workload.tags["TagKey"] #=> String
1582
+ # resp.milestone.workload.discovery_config.trusted_advisor_integration_status #=> String, one of "ENABLED", "DISABLED"
1583
+ # resp.milestone.workload.applications #=> Array
1584
+ # resp.milestone.workload.applications[0] #=> String
1568
1585
  #
1569
1586
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone AWS API Documentation
1570
1587
  #
@@ -1623,6 +1640,9 @@ module Aws::WellArchitected
1623
1640
  # resp.workload.share_invitation_id #=> String
1624
1641
  # resp.workload.tags #=> Hash
1625
1642
  # resp.workload.tags["TagKey"] #=> String
1643
+ # resp.workload.discovery_config.trusted_advisor_integration_status #=> String, one of "ENABLED", "DISABLED"
1644
+ # resp.workload.applications #=> Array
1645
+ # resp.workload.applications[0] #=> String
1626
1646
  #
1627
1647
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload AWS API Documentation
1628
1648
  #
@@ -1823,6 +1843,151 @@ module Aws::WellArchitected
1823
1843
  req.send_request(options)
1824
1844
  end
1825
1845
 
1846
+ # List of Trusted Advisor check details by account related to the
1847
+ # workload.
1848
+ #
1849
+ # @option params [required, String] :workload_id
1850
+ # The ID assigned to the workload. This ID is unique within an Amazon
1851
+ # Web Services Region.
1852
+ #
1853
+ # @option params [String] :next_token
1854
+ # The token to use to retrieve the next set of results.
1855
+ #
1856
+ # @option params [Integer] :max_results
1857
+ # The maximum number of results to return for this request.
1858
+ #
1859
+ # @option params [required, String] :lens_arn
1860
+ # Well-Architected Lens ARN.
1861
+ #
1862
+ # @option params [required, String] :pillar_id
1863
+ # The ID used to identify a pillar, for example, `security`.
1864
+ #
1865
+ # A pillar is identified by its PillarReviewSummary$PillarId.
1866
+ #
1867
+ # @option params [required, String] :question_id
1868
+ # The ID of the question.
1869
+ #
1870
+ # @option params [required, String] :choice_id
1871
+ # The ID of a choice.
1872
+ #
1873
+ # @return [Types::ListCheckDetailsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1874
+ #
1875
+ # * {Types::ListCheckDetailsOutput#check_details #check_details} => Array&lt;Types::CheckDetail&gt;
1876
+ # * {Types::ListCheckDetailsOutput#next_token #next_token} => String
1877
+ #
1878
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1879
+ #
1880
+ # @example Request syntax with placeholder values
1881
+ #
1882
+ # resp = client.list_check_details({
1883
+ # workload_id: "WorkloadId", # required
1884
+ # next_token: "NextToken",
1885
+ # max_results: 1,
1886
+ # lens_arn: "LensArn", # required
1887
+ # pillar_id: "PillarId", # required
1888
+ # question_id: "QuestionId", # required
1889
+ # choice_id: "ChoiceId", # required
1890
+ # })
1891
+ #
1892
+ # @example Response structure
1893
+ #
1894
+ # resp.check_details #=> Array
1895
+ # resp.check_details[0].id #=> String
1896
+ # resp.check_details[0].name #=> String
1897
+ # resp.check_details[0].description #=> String
1898
+ # resp.check_details[0].provider #=> String, one of "TRUSTED_ADVISOR"
1899
+ # resp.check_details[0].lens_arn #=> String
1900
+ # resp.check_details[0].pillar_id #=> String
1901
+ # resp.check_details[0].question_id #=> String
1902
+ # resp.check_details[0].choice_id #=> String
1903
+ # resp.check_details[0].status #=> String, one of "OKAY", "WARNING", "ERROR", "NOT_AVAILABLE", "FETCH_FAILED"
1904
+ # resp.check_details[0].account_id #=> String
1905
+ # resp.check_details[0].flagged_resources #=> Integer
1906
+ # resp.check_details[0].reason #=> String, one of "ASSUME_ROLE_ERROR", "ACCESS_DENIED", "UNKNOWN_ERROR", "PREMIUM_SUPPORT_REQUIRED"
1907
+ # resp.check_details[0].updated_at #=> Time
1908
+ # resp.next_token #=> String
1909
+ #
1910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckDetails AWS API Documentation
1911
+ #
1912
+ # @overload list_check_details(params = {})
1913
+ # @param [Hash] params ({})
1914
+ def list_check_details(params = {}, options = {})
1915
+ req = build_request(:list_check_details, params)
1916
+ req.send_request(options)
1917
+ end
1918
+
1919
+ # List of Trusted Advisor checks summarized for all accounts related to
1920
+ # the workload.
1921
+ #
1922
+ # @option params [required, String] :workload_id
1923
+ # The ID assigned to the workload. This ID is unique within an Amazon
1924
+ # Web Services Region.
1925
+ #
1926
+ # @option params [String] :next_token
1927
+ # The token to use to retrieve the next set of results.
1928
+ #
1929
+ # @option params [Integer] :max_results
1930
+ # The maximum number of results to return for this request.
1931
+ #
1932
+ # @option params [required, String] :lens_arn
1933
+ # Well-Architected Lens ARN.
1934
+ #
1935
+ # @option params [required, String] :pillar_id
1936
+ # The ID used to identify a pillar, for example, `security`.
1937
+ #
1938
+ # A pillar is identified by its PillarReviewSummary$PillarId.
1939
+ #
1940
+ # @option params [required, String] :question_id
1941
+ # The ID of the question.
1942
+ #
1943
+ # @option params [required, String] :choice_id
1944
+ # The ID of a choice.
1945
+ #
1946
+ # @return [Types::ListCheckSummariesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1947
+ #
1948
+ # * {Types::ListCheckSummariesOutput#check_summaries #check_summaries} => Array&lt;Types::CheckSummary&gt;
1949
+ # * {Types::ListCheckSummariesOutput#next_token #next_token} => String
1950
+ #
1951
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1952
+ #
1953
+ # @example Request syntax with placeholder values
1954
+ #
1955
+ # resp = client.list_check_summaries({
1956
+ # workload_id: "WorkloadId", # required
1957
+ # next_token: "NextToken",
1958
+ # max_results: 1,
1959
+ # lens_arn: "LensArn", # required
1960
+ # pillar_id: "PillarId", # required
1961
+ # question_id: "QuestionId", # required
1962
+ # choice_id: "ChoiceId", # required
1963
+ # })
1964
+ #
1965
+ # @example Response structure
1966
+ #
1967
+ # resp.check_summaries #=> Array
1968
+ # resp.check_summaries[0].id #=> String
1969
+ # resp.check_summaries[0].name #=> String
1970
+ # resp.check_summaries[0].provider #=> String, one of "TRUSTED_ADVISOR"
1971
+ # resp.check_summaries[0].description #=> String
1972
+ # resp.check_summaries[0].updated_at #=> Time
1973
+ # resp.check_summaries[0].lens_arn #=> String
1974
+ # resp.check_summaries[0].pillar_id #=> String
1975
+ # resp.check_summaries[0].question_id #=> String
1976
+ # resp.check_summaries[0].choice_id #=> String
1977
+ # resp.check_summaries[0].status #=> String, one of "OKAY", "WARNING", "ERROR", "NOT_AVAILABLE", "FETCH_FAILED"
1978
+ # resp.check_summaries[0].account_summary #=> Hash
1979
+ # resp.check_summaries[0].account_summary["CheckStatus"] #=> Integer
1980
+ # resp.next_token #=> String
1981
+ #
1982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckSummaries AWS API Documentation
1983
+ #
1984
+ # @overload list_check_summaries(params = {})
1985
+ # @param [Hash] params ({})
1986
+ def list_check_summaries(params = {}, options = {})
1987
+ req = build_request(:list_check_summaries, params)
1988
+ req.send_request(options)
1989
+ end
1990
+
1826
1991
  # List lens review improvements.
1827
1992
  #
1828
1993
  # @option params [required, String] :workload_id
@@ -1980,8 +2145,8 @@ module Aws::WellArchitected
1980
2145
  # Each lens is identified by its LensSummary$LensAlias.
1981
2146
  #
1982
2147
  # @option params [String] :shared_with_prefix
1983
- # The Amazon Web Services account ID or IAM role with which the lens is
1984
- # shared.
2148
+ # The Amazon Web Services account ID, IAM role, organization ID, or
2149
+ # organizational unit (OU) ID with which the lens is shared.
1985
2150
  #
1986
2151
  # @option params [String] :next_token
1987
2152
  # The token to use to retrieve the next set of results.
@@ -2289,8 +2454,8 @@ module Aws::WellArchitected
2289
2454
  # Web Services Region.
2290
2455
  #
2291
2456
  # @option params [String] :shared_with_prefix
2292
- # The Amazon Web Services account ID or IAM role with which the workload
2293
- # is shared.
2457
+ # The Amazon Web Services account ID, IAM role, organization ID, or
2458
+ # organizational unit (OU) ID with which the workload is shared.
2294
2459
  #
2295
2460
  # @option params [String] :next_token
2296
2461
  # The token to use to retrieve the next set of results.
@@ -2663,7 +2828,12 @@ module Aws::WellArchitected
2663
2828
  req.send_request(options)
2664
2829
  end
2665
2830
 
2666
- # Update a workload invitation.
2831
+ # Update a workload or custom lens share invitation.
2832
+ #
2833
+ # <note markdown="1"> This API operation can be called independently of any resource.
2834
+ # Previous documentation implied that a workload ARN must be specified.
2835
+ #
2836
+ # </note>
2667
2837
  #
2668
2838
  # @option params [required, String] :share_invitation_id
2669
2839
  # The ID assigned to the share invitation.
@@ -2819,6 +2989,13 @@ module Aws::WellArchitected
2819
2989
  # @option params [String] :improvement_status
2820
2990
  # The improvement status for a workload.
2821
2991
  #
2992
+ # @option params [Types::WorkloadDiscoveryConfig] :discovery_config
2993
+ # Well-Architected discovery configuration settings to associate to the
2994
+ # workload.
2995
+ #
2996
+ # @option params [Array<String>] :applications
2997
+ # List of AppRegistry application ARNs to associate to the workload.
2998
+ #
2822
2999
  # @return [Types::UpdateWorkloadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2823
3000
  #
2824
3001
  # * {Types::UpdateWorkloadOutput#workload #workload} => Types::Workload
@@ -2841,6 +3018,10 @@ module Aws::WellArchitected
2841
3018
  # industry: "WorkloadIndustry",
2842
3019
  # notes: "Notes",
2843
3020
  # improvement_status: "NOT_APPLICABLE", # accepts NOT_APPLICABLE, NOT_STARTED, IN_PROGRESS, COMPLETE, RISK_ACKNOWLEDGED
3021
+ # discovery_config: {
3022
+ # trusted_advisor_integration_status: "ENABLED", # accepts ENABLED, DISABLED
3023
+ # },
3024
+ # applications: ["ApplicationArn"],
2844
3025
  # })
2845
3026
  #
2846
3027
  # @example Response structure
@@ -2875,6 +3056,9 @@ module Aws::WellArchitected
2875
3056
  # resp.workload.share_invitation_id #=> String
2876
3057
  # resp.workload.tags #=> Hash
2877
3058
  # resp.workload.tags["TagKey"] #=> String
3059
+ # resp.workload.discovery_config.trusted_advisor_integration_status #=> String, one of "ENABLED", "DISABLED"
3060
+ # resp.workload.applications #=> Array
3061
+ # resp.workload.applications[0] #=> String
2878
3062
  #
2879
3063
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload AWS API Documentation
2880
3064
  #
@@ -3000,7 +3184,7 @@ module Aws::WellArchitected
3000
3184
  params: params,
3001
3185
  config: config)
3002
3186
  context[:gem_name] = 'aws-sdk-wellarchitected'
3003
- context[:gem_version] = '1.18.0'
3187
+ context[:gem_version] = '1.19.0'
3004
3188
  Seahorse::Client::Request.new(handlers, context)
3005
3189
  end
3006
3190
 
@@ -14,6 +14,7 @@ module Aws::WellArchitected
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccountSummary = Shapes::MapShape.new(name: 'AccountSummary')
17
18
  AdditionalResourceType = Shapes::StringShape.new(name: 'AdditionalResourceType')
18
19
  AdditionalResources = Shapes::StructureShape.new(name: 'AdditionalResources')
19
20
  AdditionalResourcesList = Shapes::ListShape.new(name: 'AdditionalResourcesList')
@@ -21,10 +22,22 @@ module Aws::WellArchitected
21
22
  AnswerReason = Shapes::StringShape.new(name: 'AnswerReason')
22
23
  AnswerSummaries = Shapes::ListShape.new(name: 'AnswerSummaries')
23
24
  AnswerSummary = Shapes::StructureShape.new(name: 'AnswerSummary')
25
+ ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
24
26
  AssociateLensesInput = Shapes::StructureShape.new(name: 'AssociateLensesInput')
25
27
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
26
28
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
27
29
  Base64String = Shapes::StringShape.new(name: 'Base64String')
30
+ CheckDescription = Shapes::StringShape.new(name: 'CheckDescription')
31
+ CheckDetail = Shapes::StructureShape.new(name: 'CheckDetail')
32
+ CheckDetails = Shapes::ListShape.new(name: 'CheckDetails')
33
+ CheckFailureReason = Shapes::StringShape.new(name: 'CheckFailureReason')
34
+ CheckId = Shapes::StringShape.new(name: 'CheckId')
35
+ CheckName = Shapes::StringShape.new(name: 'CheckName')
36
+ CheckProvider = Shapes::StringShape.new(name: 'CheckProvider')
37
+ CheckStatus = Shapes::StringShape.new(name: 'CheckStatus')
38
+ CheckStatusCount = Shapes::IntegerShape.new(name: 'CheckStatusCount')
39
+ CheckSummaries = Shapes::ListShape.new(name: 'CheckSummaries')
40
+ CheckSummary = Shapes::StructureShape.new(name: 'CheckSummary')
28
41
  Choice = Shapes::StructureShape.new(name: 'Choice')
29
42
  ChoiceAnswer = Shapes::StructureShape.new(name: 'ChoiceAnswer')
30
43
  ChoiceAnswerSummaries = Shapes::ListShape.new(name: 'ChoiceAnswerSummaries')
@@ -69,6 +82,7 @@ module Aws::WellArchitected
69
82
  ExceptionResourceType = Shapes::StringShape.new(name: 'ExceptionResourceType')
70
83
  ExportLensInput = Shapes::StructureShape.new(name: 'ExportLensInput')
71
84
  ExportLensOutput = Shapes::StructureShape.new(name: 'ExportLensOutput')
85
+ FlaggedResources = Shapes::IntegerShape.new(name: 'FlaggedResources')
72
86
  GetAnswerInput = Shapes::StructureShape.new(name: 'GetAnswerInput')
73
87
  GetAnswerOutput = Shapes::StructureShape.new(name: 'GetAnswerOutput')
74
88
  GetLensInput = Shapes::StructureShape.new(name: 'GetLensInput')
@@ -119,6 +133,10 @@ module Aws::WellArchitected
119
133
  ListAnswersInput = Shapes::StructureShape.new(name: 'ListAnswersInput')
120
134
  ListAnswersMaxResults = Shapes::IntegerShape.new(name: 'ListAnswersMaxResults')
121
135
  ListAnswersOutput = Shapes::StructureShape.new(name: 'ListAnswersOutput')
136
+ ListCheckDetailsInput = Shapes::StructureShape.new(name: 'ListCheckDetailsInput')
137
+ ListCheckDetailsOutput = Shapes::StructureShape.new(name: 'ListCheckDetailsOutput')
138
+ ListCheckSummariesInput = Shapes::StructureShape.new(name: 'ListCheckSummariesInput')
139
+ ListCheckSummariesOutput = Shapes::StructureShape.new(name: 'ListCheckSummariesOutput')
122
140
  ListLensReviewImprovementsInput = Shapes::StructureShape.new(name: 'ListLensReviewImprovementsInput')
123
141
  ListLensReviewImprovementsMaxResults = Shapes::IntegerShape.new(name: 'ListLensReviewImprovementsMaxResults')
124
142
  ListLensReviewImprovementsOutput = Shapes::StructureShape.new(name: 'ListLensReviewImprovementsOutput')
@@ -195,6 +213,7 @@ module Aws::WellArchitected
195
213
  TagValue = Shapes::StringShape.new(name: 'TagValue')
196
214
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
197
215
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
216
+ TrustedAdvisorIntegrationStatus = Shapes::StringShape.new(name: 'TrustedAdvisorIntegrationStatus')
198
217
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
199
218
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
200
219
  UpdateAnswerInput = Shapes::StructureShape.new(name: 'UpdateAnswerInput')
@@ -218,10 +237,12 @@ module Aws::WellArchitected
218
237
  VersionDifferences = Shapes::StructureShape.new(name: 'VersionDifferences')
219
238
  Workload = Shapes::StructureShape.new(name: 'Workload')
220
239
  WorkloadAccountIds = Shapes::ListShape.new(name: 'WorkloadAccountIds')
240
+ WorkloadApplications = Shapes::ListShape.new(name: 'WorkloadApplications')
221
241
  WorkloadArchitecturalDesign = Shapes::StringShape.new(name: 'WorkloadArchitecturalDesign')
222
242
  WorkloadArn = Shapes::StringShape.new(name: 'WorkloadArn')
223
243
  WorkloadAwsRegions = Shapes::ListShape.new(name: 'WorkloadAwsRegions')
224
244
  WorkloadDescription = Shapes::StringShape.new(name: 'WorkloadDescription')
245
+ WorkloadDiscoveryConfig = Shapes::StructureShape.new(name: 'WorkloadDiscoveryConfig')
225
246
  WorkloadEnvironment = Shapes::StringShape.new(name: 'WorkloadEnvironment')
226
247
  WorkloadId = Shapes::StringShape.new(name: 'WorkloadId')
227
248
  WorkloadImprovementStatus = Shapes::StringShape.new(name: 'WorkloadImprovementStatus')
@@ -243,6 +264,9 @@ module Aws::WellArchitected
243
264
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
244
265
  AccessDeniedException.struct_class = Types::AccessDeniedException
245
266
 
267
+ AccountSummary.key = Shapes::ShapeRef.new(shape: CheckStatus)
268
+ AccountSummary.value = Shapes::ShapeRef.new(shape: CheckStatusCount)
269
+
246
270
  AdditionalResources.add_member(:type, Shapes::ShapeRef.new(shape: AdditionalResourceType, location_name: "Type"))
247
271
  AdditionalResources.add_member(:content, Shapes::ShapeRef.new(shape: Urls, location_name: "Content"))
248
272
  AdditionalResources.struct_class = Types::AdditionalResources
@@ -282,6 +306,38 @@ module Aws::WellArchitected
282
306
  AssociateLensesInput.add_member(:lens_aliases, Shapes::ShapeRef.new(shape: LensAliases, required: true, location_name: "LensAliases"))
283
307
  AssociateLensesInput.struct_class = Types::AssociateLensesInput
284
308
 
309
+ CheckDetail.add_member(:id, Shapes::ShapeRef.new(shape: CheckId, location_name: "Id"))
310
+ CheckDetail.add_member(:name, Shapes::ShapeRef.new(shape: CheckName, location_name: "Name"))
311
+ CheckDetail.add_member(:description, Shapes::ShapeRef.new(shape: CheckDescription, location_name: "Description"))
312
+ CheckDetail.add_member(:provider, Shapes::ShapeRef.new(shape: CheckProvider, location_name: "Provider"))
313
+ CheckDetail.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
314
+ CheckDetail.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, location_name: "PillarId"))
315
+ CheckDetail.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, location_name: "QuestionId"))
316
+ CheckDetail.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
317
+ CheckDetail.add_member(:status, Shapes::ShapeRef.new(shape: CheckStatus, location_name: "Status"))
318
+ CheckDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "AccountId"))
319
+ CheckDetail.add_member(:flagged_resources, Shapes::ShapeRef.new(shape: FlaggedResources, location_name: "FlaggedResources"))
320
+ CheckDetail.add_member(:reason, Shapes::ShapeRef.new(shape: CheckFailureReason, location_name: "Reason"))
321
+ CheckDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
322
+ CheckDetail.struct_class = Types::CheckDetail
323
+
324
+ CheckDetails.member = Shapes::ShapeRef.new(shape: CheckDetail)
325
+
326
+ CheckSummaries.member = Shapes::ShapeRef.new(shape: CheckSummary)
327
+
328
+ CheckSummary.add_member(:id, Shapes::ShapeRef.new(shape: CheckId, location_name: "Id"))
329
+ CheckSummary.add_member(:name, Shapes::ShapeRef.new(shape: CheckName, location_name: "Name"))
330
+ CheckSummary.add_member(:provider, Shapes::ShapeRef.new(shape: CheckProvider, location_name: "Provider"))
331
+ CheckSummary.add_member(:description, Shapes::ShapeRef.new(shape: CheckDescription, location_name: "Description"))
332
+ CheckSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
333
+ CheckSummary.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, location_name: "LensArn"))
334
+ CheckSummary.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, location_name: "PillarId"))
335
+ CheckSummary.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, location_name: "QuestionId"))
336
+ CheckSummary.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
337
+ CheckSummary.add_member(:status, Shapes::ShapeRef.new(shape: CheckStatus, location_name: "Status"))
338
+ CheckSummary.add_member(:account_summary, Shapes::ShapeRef.new(shape: AccountSummary, location_name: "AccountSummary"))
339
+ CheckSummary.struct_class = Types::CheckSummary
340
+
285
341
  Choice.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, location_name: "ChoiceId"))
286
342
  Choice.add_member(:title, Shapes::ShapeRef.new(shape: ChoiceTitle, location_name: "Title"))
287
343
  Choice.add_member(:description, Shapes::ShapeRef.new(shape: ChoiceDescription, location_name: "Description"))
@@ -373,6 +429,8 @@ module Aws::WellArchitected
373
429
  CreateWorkloadInput.add_member(:notes, Shapes::ShapeRef.new(shape: Notes, location_name: "Notes"))
374
430
  CreateWorkloadInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
375
431
  CreateWorkloadInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
432
+ CreateWorkloadInput.add_member(:discovery_config, Shapes::ShapeRef.new(shape: WorkloadDiscoveryConfig, location_name: "DiscoveryConfig"))
433
+ CreateWorkloadInput.add_member(:applications, Shapes::ShapeRef.new(shape: WorkloadApplications, location_name: "Applications"))
376
434
  CreateWorkloadInput.struct_class = Types::CreateWorkloadInput
377
435
 
378
436
  CreateWorkloadOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
@@ -594,6 +652,32 @@ module Aws::WellArchitected
594
652
  ListAnswersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
595
653
  ListAnswersOutput.struct_class = Types::ListAnswersOutput
596
654
 
655
+ ListCheckDetailsInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
656
+ ListCheckDetailsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
657
+ ListCheckDetailsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
658
+ ListCheckDetailsInput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, required: true, location_name: "LensArn"))
659
+ ListCheckDetailsInput.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, required: true, location_name: "PillarId"))
660
+ ListCheckDetailsInput.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, required: true, location_name: "QuestionId"))
661
+ ListCheckDetailsInput.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, required: true, location_name: "ChoiceId"))
662
+ ListCheckDetailsInput.struct_class = Types::ListCheckDetailsInput
663
+
664
+ ListCheckDetailsOutput.add_member(:check_details, Shapes::ShapeRef.new(shape: CheckDetails, location_name: "CheckDetails"))
665
+ ListCheckDetailsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
666
+ ListCheckDetailsOutput.struct_class = Types::ListCheckDetailsOutput
667
+
668
+ ListCheckSummariesInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
669
+ ListCheckSummariesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
670
+ ListCheckSummariesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
671
+ ListCheckSummariesInput.add_member(:lens_arn, Shapes::ShapeRef.new(shape: LensArn, required: true, location_name: "LensArn"))
672
+ ListCheckSummariesInput.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, required: true, location_name: "PillarId"))
673
+ ListCheckSummariesInput.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, required: true, location_name: "QuestionId"))
674
+ ListCheckSummariesInput.add_member(:choice_id, Shapes::ShapeRef.new(shape: ChoiceId, required: true, location_name: "ChoiceId"))
675
+ ListCheckSummariesInput.struct_class = Types::ListCheckSummariesInput
676
+
677
+ ListCheckSummariesOutput.add_member(:check_summaries, Shapes::ShapeRef.new(shape: CheckSummaries, location_name: "CheckSummaries"))
678
+ ListCheckSummariesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
679
+ ListCheckSummariesOutput.struct_class = Types::ListCheckSummariesOutput
680
+
597
681
  ListLensReviewImprovementsInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
598
682
  ListLensReviewImprovementsInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
599
683
  ListLensReviewImprovementsInput.add_member(:pillar_id, Shapes::ShapeRef.new(shape: PillarId, location: "querystring", location_name: "PillarId"))
@@ -857,6 +941,8 @@ module Aws::WellArchitected
857
941
  UpdateWorkloadInput.add_member(:industry, Shapes::ShapeRef.new(shape: WorkloadIndustry, location_name: "Industry"))
858
942
  UpdateWorkloadInput.add_member(:notes, Shapes::ShapeRef.new(shape: Notes, location_name: "Notes"))
859
943
  UpdateWorkloadInput.add_member(:improvement_status, Shapes::ShapeRef.new(shape: WorkloadImprovementStatus, location_name: "ImprovementStatus"))
944
+ UpdateWorkloadInput.add_member(:discovery_config, Shapes::ShapeRef.new(shape: WorkloadDiscoveryConfig, location_name: "DiscoveryConfig"))
945
+ UpdateWorkloadInput.add_member(:applications, Shapes::ShapeRef.new(shape: WorkloadApplications, location_name: "Applications"))
860
946
  UpdateWorkloadInput.struct_class = Types::UpdateWorkloadInput
861
947
 
862
948
  UpdateWorkloadOutput.add_member(:workload, Shapes::ShapeRef.new(shape: Workload, location_name: "Workload"))
@@ -916,12 +1002,19 @@ module Aws::WellArchitected
916
1002
  Workload.add_member(:owner, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "Owner"))
917
1003
  Workload.add_member(:share_invitation_id, Shapes::ShapeRef.new(shape: ShareInvitationId, location_name: "ShareInvitationId"))
918
1004
  Workload.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1005
+ Workload.add_member(:discovery_config, Shapes::ShapeRef.new(shape: WorkloadDiscoveryConfig, location_name: "DiscoveryConfig"))
1006
+ Workload.add_member(:applications, Shapes::ShapeRef.new(shape: WorkloadApplications, location_name: "Applications"))
919
1007
  Workload.struct_class = Types::Workload
920
1008
 
921
1009
  WorkloadAccountIds.member = Shapes::ShapeRef.new(shape: AwsAccountId)
922
1010
 
1011
+ WorkloadApplications.member = Shapes::ShapeRef.new(shape: ApplicationArn)
1012
+
923
1013
  WorkloadAwsRegions.member = Shapes::ShapeRef.new(shape: AwsRegion)
924
1014
 
1015
+ WorkloadDiscoveryConfig.add_member(:trusted_advisor_integration_status, Shapes::ShapeRef.new(shape: TrustedAdvisorIntegrationStatus, location_name: "TrustedAdvisorIntegrationStatus"))
1016
+ WorkloadDiscoveryConfig.struct_class = Types::WorkloadDiscoveryConfig
1017
+
925
1018
  WorkloadLenses.member = Shapes::ShapeRef.new(shape: LensAlias)
926
1019
 
927
1020
  WorkloadNonAwsRegions.member = Shapes::ShapeRef.new(shape: WorkloadNonAwsRegion)
@@ -1273,6 +1366,44 @@ module Aws::WellArchitected
1273
1366
  )
1274
1367
  end)
1275
1368
 
1369
+ api.add_operation(:list_check_details, Seahorse::Model::Operation.new.tap do |o|
1370
+ o.name = "ListCheckDetails"
1371
+ o.http_method = "POST"
1372
+ o.http_request_uri = "/workloads/{WorkloadId}/checks"
1373
+ o.input = Shapes::ShapeRef.new(shape: ListCheckDetailsInput)
1374
+ o.output = Shapes::ShapeRef.new(shape: ListCheckDetailsOutput)
1375
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1377
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1378
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1379
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1380
+ o[:pager] = Aws::Pager.new(
1381
+ limit_key: "max_results",
1382
+ tokens: {
1383
+ "next_token" => "next_token"
1384
+ }
1385
+ )
1386
+ end)
1387
+
1388
+ api.add_operation(:list_check_summaries, Seahorse::Model::Operation.new.tap do |o|
1389
+ o.name = "ListCheckSummaries"
1390
+ o.http_method = "POST"
1391
+ o.http_request_uri = "/workloads/{WorkloadId}/checkSummaries"
1392
+ o.input = Shapes::ShapeRef.new(shape: ListCheckSummariesInput)
1393
+ o.output = Shapes::ShapeRef.new(shape: ListCheckSummariesOutput)
1394
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1396
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1397
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1398
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1399
+ o[:pager] = Aws::Pager.new(
1400
+ limit_key: "max_results",
1401
+ tokens: {
1402
+ "next_token" => "next_token"
1403
+ }
1404
+ )
1405
+ end)
1406
+
1276
1407
  api.add_operation(:list_lens_review_improvements, Seahorse::Model::Operation.new.tap do |o|
1277
1408
  o.name = "ListLensReviewImprovements"
1278
1409
  o.http_method = "GET"
@@ -305,6 +305,34 @@ module Aws::WellArchitected
305
305
  end
306
306
  end
307
307
 
308
+ class ListCheckDetails
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::WellArchitected::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ class ListCheckSummaries
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::WellArchitected::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
308
336
  class ListLensReviewImprovements
309
337
  def self.build(context)
310
338
  unless context.config.regional_endpoint
@@ -98,6 +98,10 @@ module Aws::WellArchitected
98
98
  Aws::WellArchitected::Endpoints::ImportLens.build(context)
99
99
  when :list_answers
100
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)
101
105
  when :list_lens_review_improvements
102
106
  Aws::WellArchitected::Endpoints::ListLensReviewImprovements.build(context)
103
107
  when :list_lens_reviews
@@ -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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-wellarchitected/customizations'
52
52
  # @!group service
53
53
  module Aws::WellArchitected
54
54
 
55
- GEM_VERSION = '1.18.0'
55
+ GEM_VERSION = '1.19.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wellarchitected
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core