aws-sdk-wellarchitected 1.17.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: 75529d1efad9db9bd8c3ca2eb2ae083aa3f21c387f8dbadafbb3d450cf0254a0
4
- data.tar.gz: 0c91ddbb9de0b1319c95d070f95b7e3b3c4b25c7699c16aaea405dc67f4e8313
3
+ metadata.gz: 398adfa6a6c4fe8eb001f5f9b41e365e76aad329e9344786567508c17bf75d72
4
+ data.tar.gz: 5566f073fddb1ddc0e99db82b75b5b287826b98dc12dff7add78575277f06790
5
5
  SHA512:
6
- metadata.gz: 3ffd05acf0ba7261070b1efdc131959178a206b842e5fe688fa8ac1e5c4a22601cd365c0a2f43756aa498ea53637813ceaa8c8182d9e8b5b026493f083450469
7
- data.tar.gz: 74a0cd077a97cb6a47cded8a00f3ba5e60a932370c792c018935568dd84402c0116194b68b8575d39a428b5119830de420bd44e03644739e2e24143a0e3ed3d2
6
+ metadata.gz: 5e998fe9b5aae0715de457acfeac81915d483a0893286ef9fe8fd86db73490eca1b740229696ffacc424648427881ffd92e77398b8002b0792c611ea85dca504
7
+ data.tar.gz: 9b2aa2062a17064d0f6aafc537865f67a319d38b873143260ba2cc81cac34e5cd6cbbca17405b44e600a7c10b6c0134cb2fbe3d98992b6df83dd85adbbdadfe1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.18.0 (2022-10-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.17.0 (2022-06-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:wellarchitected)
@@ -79,8 +79,9 @@ module Aws::WellArchitected
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::WellArchitected::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::WellArchitected
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::WellArchitected
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::WellArchitected::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::WellArchitected::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -396,8 +413,9 @@ module Aws::WellArchitected
396
413
  # Create a lens share.
397
414
  #
398
415
  # The owner of a lens can share it with other Amazon Web Services
399
- # accounts and IAM users in the same Amazon Web Services Region. Shared
400
- # 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.
401
419
  #
402
420
  # <note markdown="1"> **Disclaimer**
403
421
  #
@@ -423,8 +441,8 @@ module Aws::WellArchitected
423
441
  # Each lens is identified by its LensSummary$LensAlias.
424
442
  #
425
443
  # @option params [required, String] :shared_with
426
- # The Amazon Web Services account ID or IAM role with which the workload
427
- # 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.
428
446
  #
429
447
  # @option params [required, String] :client_request_token
430
448
  # A unique case-sensitive string used to ensure that this request is
@@ -598,8 +616,9 @@ module Aws::WellArchitected
598
616
  # Create a new workload.
599
617
  #
600
618
  # The owner of a workload can share the workload with other Amazon Web
601
- # Services accounts and IAM users in the same Amazon Web Services
602
- # 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.
603
622
  #
604
623
  # For more information, see [Defining a Workload][1] in the
605
624
  # *Well-Architected Tool User Guide*.
@@ -735,6 +754,13 @@ module Aws::WellArchitected
735
754
  # @option params [Hash<String,String>] :tags
736
755
  # The tags to be associated with the workload.
737
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
+ #
738
764
  # @return [Types::CreateWorkloadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
739
765
  #
740
766
  # * {Types::CreateWorkloadOutput#workload_id #workload_id} => String
@@ -760,6 +786,10 @@ module Aws::WellArchitected
760
786
  # tags: {
761
787
  # "TagKey" => "TagValue",
762
788
  # },
789
+ # discovery_config: {
790
+ # trusted_advisor_integration_status: "ENABLED", # accepts ENABLED, DISABLED
791
+ # },
792
+ # applications: ["ApplicationArn"],
763
793
  # })
764
794
  #
765
795
  # @example Response structure
@@ -795,8 +825,8 @@ module Aws::WellArchitected
795
825
  # Web Services Region.
796
826
  #
797
827
  # @option params [required, String] :shared_with
798
- # The Amazon Web Services account ID or IAM role with which the workload
799
- # 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.
800
830
  #
801
831
  # @option params [required, String] :permission_type
802
832
  # Permission granted on a workload share.
@@ -917,9 +947,10 @@ module Aws::WellArchitected
917
947
 
918
948
  # Delete a lens share.
919
949
  #
920
- # After the lens share is deleted, Amazon Web Services accounts and IAM
921
- # users that you shared the lens with can continue to use it, but they
922
- # 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.
923
954
  #
924
955
  # <note markdown="1"> **Disclaimer**
925
956
  #
@@ -1548,6 +1579,9 @@ module Aws::WellArchitected
1548
1579
  # resp.milestone.workload.share_invitation_id #=> String
1549
1580
  # resp.milestone.workload.tags #=> Hash
1550
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
1551
1585
  #
1552
1586
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone AWS API Documentation
1553
1587
  #
@@ -1606,6 +1640,9 @@ module Aws::WellArchitected
1606
1640
  # resp.workload.share_invitation_id #=> String
1607
1641
  # resp.workload.tags #=> Hash
1608
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
1609
1646
  #
1610
1647
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload AWS API Documentation
1611
1648
  #
@@ -1806,6 +1843,151 @@ module Aws::WellArchitected
1806
1843
  req.send_request(options)
1807
1844
  end
1808
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
+
1809
1991
  # List lens review improvements.
1810
1992
  #
1811
1993
  # @option params [required, String] :workload_id
@@ -1963,8 +2145,8 @@ module Aws::WellArchitected
1963
2145
  # Each lens is identified by its LensSummary$LensAlias.
1964
2146
  #
1965
2147
  # @option params [String] :shared_with_prefix
1966
- # The Amazon Web Services account ID or IAM role with which the lens is
1967
- # shared.
2148
+ # The Amazon Web Services account ID, IAM role, organization ID, or
2149
+ # organizational unit (OU) ID with which the lens is shared.
1968
2150
  #
1969
2151
  # @option params [String] :next_token
1970
2152
  # The token to use to retrieve the next set of results.
@@ -2272,8 +2454,8 @@ module Aws::WellArchitected
2272
2454
  # Web Services Region.
2273
2455
  #
2274
2456
  # @option params [String] :shared_with_prefix
2275
- # The Amazon Web Services account ID or IAM role with which the workload
2276
- # 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.
2277
2459
  #
2278
2460
  # @option params [String] :next_token
2279
2461
  # The token to use to retrieve the next set of results.
@@ -2646,7 +2828,12 @@ module Aws::WellArchitected
2646
2828
  req.send_request(options)
2647
2829
  end
2648
2830
 
2649
- # 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>
2650
2837
  #
2651
2838
  # @option params [required, String] :share_invitation_id
2652
2839
  # The ID assigned to the share invitation.
@@ -2802,6 +2989,13 @@ module Aws::WellArchitected
2802
2989
  # @option params [String] :improvement_status
2803
2990
  # The improvement status for a workload.
2804
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
+ #
2805
2999
  # @return [Types::UpdateWorkloadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2806
3000
  #
2807
3001
  # * {Types::UpdateWorkloadOutput#workload #workload} => Types::Workload
@@ -2824,6 +3018,10 @@ module Aws::WellArchitected
2824
3018
  # industry: "WorkloadIndustry",
2825
3019
  # notes: "Notes",
2826
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"],
2827
3025
  # })
2828
3026
  #
2829
3027
  # @example Response structure
@@ -2858,6 +3056,9 @@ module Aws::WellArchitected
2858
3056
  # resp.workload.share_invitation_id #=> String
2859
3057
  # resp.workload.tags #=> Hash
2860
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
2861
3062
  #
2862
3063
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload AWS API Documentation
2863
3064
  #
@@ -2983,7 +3184,7 @@ module Aws::WellArchitected
2983
3184
  params: params,
2984
3185
  config: config)
2985
3186
  context[:gem_name] = 'aws-sdk-wellarchitected'
2986
- context[:gem_version] = '1.17.0'
3187
+ context[:gem_version] = '1.19.0'
2987
3188
  Seahorse::Client::Request.new(handlers, context)
2988
3189
  end
2989
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"