aws-sdk-wellarchitected 1.18.0 → 1.20.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: e12b12a0996f74a7159781c2b54b0f7559c64d8fc49a781c95f9b51689080038
4
+ data.tar.gz: 88899f339f3e81e2aec475975b65ed0921e7314d849a11df73a6e983cbb0a0c1
5
5
  SHA512:
6
- metadata.gz: 526f840e4eb024342fe364a9802d50227d1fa57da9ac39a330917d3bff2d4c0fe1a997843708ed8f627b4755441a7cb2408ed44e1aac7fc5f6f66daff10ace77
7
- data.tar.gz: c06902dfdca5062494fb73af4974db6fc2ff530d9993a42576a3c7610c9647e2f9aca14321b286bed70ac07c51f800d14d61705b2ed203e0a80701712a4510db
6
+ metadata.gz: c250e101272f04e1052953e9efd0013d454988eefd4c7198303ee9f8ac777dd5c278ca2979091703130644b650a08ebce7504743db0757d1ec06f3e0b4055e5e
7
+ data.tar.gz: ae2db936e8c3964f617e97ca736e82ca9754544c03be582f833d5e772b807d7d878164b41e760a3ea0a8e68daf8bd4aa40e803965921562ed6b51607c9235b4e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.19.0 (2022-11-07)
12
+ ------------------
13
+
14
+ * 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.
15
+
4
16
  1.18.0 (2022-10-25)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.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.20.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"