aws-sdk-wellarchitected 1.85.0 → 1.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,126 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::WellArchitected
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ------------------------------------- | ---------------------------------------- | -------- | ------------- |
72
+ # | agent_organizational_report_completed | {Client#get_agent_organizational_report} | 15 | 40 |
73
+ #
74
+ module Waiters
75
+
76
+ class AgentOrganizationalReportCompleted
77
+
78
+ # @param [Hash] options
79
+ # @option options [required, Client] :client
80
+ # @option options [Integer] :max_attempts (40)
81
+ # @option options [Integer] :delay (15)
82
+ # @option options [Proc] :before_attempt
83
+ # @option options [Proc] :before_wait
84
+ def initialize(options)
85
+ @client = options.fetch(:client)
86
+ @waiter = Aws::Waiters::Waiter.new({
87
+ max_attempts: 40,
88
+ delay: 15,
89
+ poller: Aws::Waiters::Poller.new(
90
+ operation_name: :get_agent_organizational_report,
91
+ acceptors: [
92
+ {
93
+ "matcher" => "path",
94
+ "argument" => "state",
95
+ "state" => "success",
96
+ "expected" => "COMPLETED"
97
+ },
98
+ {
99
+ "matcher" => "path",
100
+ "argument" => "state",
101
+ "state" => "failure",
102
+ "expected" => "FAILED"
103
+ },
104
+ {
105
+ "matcher" => "path",
106
+ "argument" => "state",
107
+ "state" => "failure",
108
+ "expected" => "DELETING"
109
+ }
110
+ ]
111
+ )
112
+ }.merge(options))
113
+ end
114
+
115
+ # @option (see Client#get_agent_organizational_report)
116
+ # @return (see Client#get_agent_organizational_report)
117
+ def wait(params = {})
118
+ @waiter.wait(client: @client, params: params)
119
+ end
120
+
121
+ # @api private
122
+ attr_reader :waiter
123
+
124
+ end
125
+ end
126
+ end
@@ -49,12 +49,13 @@ module Aws::WellArchitected
49
49
  end
50
50
  autoload :Client, 'aws-sdk-wellarchitected/client'
51
51
  autoload :Errors, 'aws-sdk-wellarchitected/errors'
52
+ autoload :Waiters, 'aws-sdk-wellarchitected/waiters'
52
53
  autoload :Resource, 'aws-sdk-wellarchitected/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-wellarchitected/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-wellarchitected/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-wellarchitected/endpoints'
56
57
 
57
- GEM_VERSION = '1.85.0'
58
+ GEM_VERSION = '1.87.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -93,6 +93,25 @@ module Aws
93
93
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
94
94
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
95
95
 
96
+ interface _CreateAgentBasicProfileResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentBasicProfileResponse]
98
+ def created_by: () -> ::String
99
+ def created_at: () -> ::Time
100
+ def last_modified_by: () -> ::String
101
+ def last_modified_at: () -> ::Time
102
+ def arn: () -> ::String
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#create_agent_basic_profile-instance_method
105
+ def create_agent_basic_profile: (
106
+ ?tags: Array[
107
+ {
108
+ key: ::String,
109
+ value: ::String
110
+ }
111
+ ]
112
+ ) -> _CreateAgentBasicProfileResponseSuccess
113
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentBasicProfileResponseSuccess
114
+
96
115
  interface _CreateAgentContextResponseSuccess
97
116
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentContextResponse]
98
117
  end
@@ -120,6 +139,73 @@ module Aws
120
139
  ) -> _CreateAgentGoalResponseSuccess
121
140
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentGoalResponseSuccess
122
141
 
142
+ interface _CreateAgentOrganizationalProfileResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentOrganizationalProfileResponse]
144
+ def name: () -> ::String
145
+ def display_name: () -> ::String
146
+ def description: () -> ::String
147
+ def business_overview: () -> ::String
148
+ def pillars: () -> ::Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")]
149
+ def deletion_protection: () -> bool
150
+ def organization_id: () -> ::String
151
+ def organizational_aggregation_configuration: () -> Types::OrganizationalAggregationConfiguration
152
+ def arn: () -> ::String
153
+ def eligible_for_scheduled_generation: () -> bool
154
+ def eligible_for_architecture_generation: () -> bool
155
+ def field_errors: () -> ::Hash[::String, ::String]
156
+ def tags: () -> ::Array[Types::Tag]
157
+ def created_by: () -> ::String
158
+ def created_at: () -> ::Time
159
+ def last_modified_by: () -> ::String
160
+ def last_modified_at: () -> ::Time
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#create_agent_organizational_profile-instance_method
163
+ def create_agent_organizational_profile: (
164
+ name: ::String,
165
+ ?display_name: ::String,
166
+ ?description: ::String,
167
+ ?business_overview: ::String,
168
+ pillars: Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")],
169
+ ?deletion_protection: bool,
170
+ ?client_token: ::String,
171
+ ?organizational_aggregation_configuration: Params::organizational_aggregation_configuration,
172
+ ?tags: Array[
173
+ {
174
+ key: ::String,
175
+ value: ::String
176
+ }
177
+ ]
178
+ ) -> _CreateAgentOrganizationalProfileResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentOrganizationalProfileResponseSuccess
180
+
181
+ interface _CreateAgentOrganizationalReportResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentOrganizationalReportResponse]
183
+ def report_id: () -> ::String
184
+ def state: () -> ("DISCOVERING" | "SNAPSHOTTING" | "AGGREGATING" | "COMPRESSING" | "COMPLETED" | "FAILED" | "DELETING")
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#create_agent_organizational_report-instance_method
187
+ def create_agent_organizational_report: (
188
+ ?client_token: ::String,
189
+ ?label: ::String,
190
+ ?filters: {
191
+ account_ids: Array[::String]?,
192
+ organizational_unit_ids: Array[::String]?,
193
+ pillars: Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")]?,
194
+ recommendation_types: Array[("RESOURCE" | "ARCHITECTURE" | "APPLICATION")]?,
195
+ statuses: Array[("ACTIVE" | "SUPPRESSED" | "COMPLETED")]?,
196
+ priorities: Array[("HIGH" | "MEDIUM" | "LOW")]?,
197
+ created_at_range: {
198
+ from: ::Time?,
199
+ to: ::Time?
200
+ }?,
201
+ updated_at_range: {
202
+ from: ::Time?,
203
+ to: ::Time?
204
+ }?
205
+ }
206
+ ) -> _CreateAgentOrganizationalReportResponseSuccess
207
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentOrganizationalReportResponseSuccess
208
+
123
209
  interface _CreateAgentProfileResponseSuccess
124
210
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentProfileResponse]
125
211
  def name: () -> ::String
@@ -337,6 +423,15 @@ module Aws
337
423
  ) -> _DeleteAgentGoalResponseSuccess
338
424
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentGoalResponseSuccess
339
425
 
426
+ interface _DeleteAgentOrganizationalReportResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentOrganizationalReportResponse]
428
+ end
429
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#delete_agent_organizational_report-instance_method
430
+ def delete_agent_organizational_report: (
431
+ report_id: ::String
432
+ ) -> _DeleteAgentOrganizationalReportResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentOrganizationalReportResponseSuccess
434
+
340
435
  interface _DeleteAgentProfileResponseSuccess
341
436
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentProfileResponse]
342
437
  end
@@ -346,6 +441,24 @@ module Aws
346
441
  ) -> _DeleteAgentProfileResponseSuccess
347
442
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentProfileResponseSuccess
348
443
 
444
+ interface _DeleteAgentProfilePolicyResponseSuccess
445
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentProfilePolicyResponse]
446
+ end
447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#delete_agent_profile_policy-instance_method
448
+ def delete_agent_profile_policy: (
449
+ profile_arn: ::String
450
+ ) -> _DeleteAgentProfilePolicyResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentProfilePolicyResponseSuccess
452
+
453
+ interface _DeleteAgentRecommendationPolicyResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentRecommendationPolicyResponse]
455
+ end
456
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#delete_agent_recommendation_policy-instance_method
457
+ def delete_agent_recommendation_policy: (
458
+ recommendation_arn: ::String
459
+ ) -> _DeleteAgentRecommendationPolicyResponseSuccess
460
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentRecommendationPolicyResponseSuccess
461
+
349
462
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#delete_lens-instance_method
350
463
  def delete_lens: (
351
464
  lens_alias: ::String,
@@ -453,6 +566,44 @@ module Aws
453
566
  ) -> _GetAgentGoalResponseSuccess
454
567
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentGoalResponseSuccess
455
568
 
569
+ interface _GetAgentOrganizationalReportResponseSuccess
570
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentOrganizationalReportResponse]
571
+ def report_id: () -> ::String
572
+ def owner_account_id: () -> ::String
573
+ def organization_id: () -> ::String
574
+ def label: () -> ::String
575
+ def state: () -> ("DISCOVERING" | "SNAPSHOTTING" | "AGGREGATING" | "COMPRESSING" | "COMPLETED" | "FAILED" | "DELETING")
576
+ def created_at: () -> ::Time
577
+ def filters: () -> Types::OrganizationalReportFilters
578
+ def coverage_summary: () -> Types::CoverageSummary
579
+ end
580
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_organizational_report-instance_method
581
+ def get_agent_organizational_report: (
582
+ report_id: ::String
583
+ ) -> _GetAgentOrganizationalReportResponseSuccess
584
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentOrganizationalReportResponseSuccess
585
+
586
+ interface _GetAgentOrganizationalReportDataResponseSuccess
587
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentOrganizationalReportDataResponse]
588
+ def download_url: () -> ::String
589
+ def expires_at: () -> ::Time
590
+ end
591
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_organizational_report_data-instance_method
592
+ def get_agent_organizational_report_data: (
593
+ report_id: ::String,
594
+ format: ("CSV" | "JSON" | "PARQUET")
595
+ ) -> _GetAgentOrganizationalReportDataResponseSuccess
596
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentOrganizationalReportDataResponseSuccess
597
+
598
+ interface _GetAgentPreferencesResponseSuccess
599
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentPreferencesResponse]
600
+ def preferences: () -> ::Array[Types::PreferenceEntry]
601
+ end
602
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_preferences-instance_method
603
+ def get_agent_preferences: (
604
+ ) -> _GetAgentPreferencesResponseSuccess
605
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentPreferencesResponseSuccess
606
+
456
607
  interface _GetAgentProfileResponseSuccess
457
608
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentProfileResponse]
458
609
  def name: () -> ::String
@@ -461,6 +612,7 @@ module Aws
461
612
  def business_overview: () -> ::String
462
613
  def pillars: () -> ::Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")]
463
614
  def deletion_protection: () -> bool
615
+ def profile_type: () -> ("STANDARD" | "BASIC" | "ORGANIZATIONAL")
464
616
  def execution_role_arn: () -> ::String
465
617
  def aggregation_configuration: () -> ::Array[Types::AggregationConfiguration]
466
618
  def arn: () -> ::String
@@ -472,6 +624,7 @@ module Aws
472
624
  def created_at: () -> ::Time
473
625
  def last_modified_by: () -> ::String
474
626
  def last_modified_at: () -> ::Time
627
+ def organizational_aggregation_configuration: () -> Types::OrganizationalAggregationConfiguration
475
628
  end
476
629
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_profile-instance_method
477
630
  def get_agent_profile: (
@@ -479,6 +632,17 @@ module Aws
479
632
  ) -> _GetAgentProfileResponseSuccess
480
633
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentProfileResponseSuccess
481
634
 
635
+ interface _GetAgentProfilePolicyResponseSuccess
636
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentProfilePolicyResponse]
637
+ def profile_arn: () -> ::String
638
+ def policy: () -> ::String
639
+ end
640
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_profile_policy-instance_method
641
+ def get_agent_profile_policy: (
642
+ profile_arn: ::String
643
+ ) -> _GetAgentProfilePolicyResponseSuccess
644
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentProfilePolicyResponseSuccess
645
+
482
646
  interface _GetAgentRecommendationResponseSuccess
483
647
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentRecommendationResponse]
484
648
  def recommendation_arn: () -> ::String
@@ -532,12 +696,14 @@ module Aws
532
696
  def created_at: () -> ::Time
533
697
  def last_modified_by: () -> ::String
534
698
  def last_modified_at: () -> ::Time
535
- def additional_context: () -> untyped
536
- def scope: () -> Types::Scope
699
+ def generation_type: () -> ("ONDEMAND" | "SCHEDULED" | "BASIC")
700
+ def generation_recommendation_types: () -> ::Array[("RESOURCE" | "ARCHITECTURE" | "APPLICATION")]
537
701
  def started_at: () -> ::Time
538
702
  def ended_at: () -> ::Time
539
- def progress: () -> Types::Progress
540
703
  def error_details: () -> Types::ErrorDetails
704
+ def additional_context: () -> untyped
705
+ def scope: () -> Types::Scope
706
+ def progress: () -> Types::Progress
541
707
  end
542
708
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_recommendation_generation-instance_method
543
709
  def get_agent_recommendation_generation: (
@@ -546,6 +712,17 @@ module Aws
546
712
  ) -> _GetAgentRecommendationGenerationResponseSuccess
547
713
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentRecommendationGenerationResponseSuccess
548
714
 
715
+ interface _GetAgentRecommendationPolicyResponseSuccess
716
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentRecommendationPolicyResponse]
717
+ def recommendation_arn: () -> ::String
718
+ def policy: () -> ::String
719
+ end
720
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#get_agent_recommendation_policy-instance_method
721
+ def get_agent_recommendation_policy: (
722
+ recommendation_arn: ::String
723
+ ) -> _GetAgentRecommendationPolicyResponseSuccess
724
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentRecommendationPolicyResponseSuccess
725
+
549
726
  interface _GetAnswerResponseSuccess
550
727
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAnswerOutput]
551
728
  def workload_id: () -> ::String
@@ -762,6 +939,19 @@ module Aws
762
939
  ) -> _ListAgentGoalsResponseSuccess
763
940
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentGoalsResponseSuccess
764
941
 
942
+ interface _ListAgentOrganizationalReportsResponseSuccess
943
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentOrganizationalReportsResponse]
944
+ def items: () -> ::Array[Types::OrganizationalReportSummary]
945
+ def next_token: () -> ::String
946
+ end
947
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#list_agent_organizational_reports-instance_method
948
+ def list_agent_organizational_reports: (
949
+ ?max_results: ::Integer,
950
+ ?next_token: ::String,
951
+ ?state: ("DISCOVERING" | "SNAPSHOTTING" | "AGGREGATING" | "COMPRESSING" | "COMPLETED" | "FAILED" | "DELETING")
952
+ ) -> _ListAgentOrganizationalReportsResponseSuccess
953
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentOrganizationalReportsResponseSuccess
954
+
765
955
  interface _ListAgentProfilesResponseSuccess
766
956
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentProfilesResponse]
767
957
  def items: () -> ::Array[Types::AgentProfileSummary]
@@ -1110,6 +1300,30 @@ module Aws
1110
1300
  ) -> _ListWorkloadsResponseSuccess
1111
1301
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadsResponseSuccess
1112
1302
 
1303
+ interface _PutAgentPreferencesResponseSuccess
1304
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAgentPreferencesResponse]
1305
+ end
1306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#put_agent_preferences-instance_method
1307
+ def put_agent_preferences: (
1308
+ preferences: Array[
1309
+ {
1310
+ key: ("ORG_INTEGRATION"),
1311
+ state: ("ENABLED" | "DISABLED")
1312
+ }
1313
+ ]
1314
+ ) -> _PutAgentPreferencesResponseSuccess
1315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAgentPreferencesResponseSuccess
1316
+
1317
+ interface _PutAgentProfilePolicyResponseSuccess
1318
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAgentProfilePolicyResponse]
1319
+ end
1320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#put_agent_profile_policy-instance_method
1321
+ def put_agent_profile_policy: (
1322
+ profile_arn: ::String,
1323
+ policy: ::String
1324
+ ) -> _PutAgentProfilePolicyResponseSuccess
1325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAgentProfilePolicyResponseSuccess
1326
+
1113
1327
  interface _PutAgentRecommendationFeedbackResponseSuccess
1114
1328
  include ::Seahorse::Client::_ResponseSuccess[Types::PutAgentRecommendationFeedbackResponse]
1115
1329
  end
@@ -1122,6 +1336,29 @@ module Aws
1122
1336
  ) -> _PutAgentRecommendationFeedbackResponseSuccess
1123
1337
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAgentRecommendationFeedbackResponseSuccess
1124
1338
 
1339
+ interface _PutAgentRecommendationPolicyResponseSuccess
1340
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAgentRecommendationPolicyResponse]
1341
+ end
1342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#put_agent_recommendation_policy-instance_method
1343
+ def put_agent_recommendation_policy: (
1344
+ recommendation_arn: ::String,
1345
+ policy: ::String
1346
+ ) -> _PutAgentRecommendationPolicyResponseSuccess
1347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAgentRecommendationPolicyResponseSuccess
1348
+
1349
+ interface _SendAgentOrganizationalReportDataToS3ResponseSuccess
1350
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendAgentOrganizationalReportDataToS3Response]
1351
+ def delivered_to: () -> ::String
1352
+ end
1353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#send_agent_organizational_report_data_to_s3-instance_method
1354
+ def send_agent_organizational_report_data_to_s3: (
1355
+ report_id: ::String,
1356
+ format: ("CSV" | "JSON" | "PARQUET"),
1357
+ bucket_arn: ::String,
1358
+ object_key: ::String
1359
+ ) -> _SendAgentOrganizationalReportDataToS3ResponseSuccess
1360
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendAgentOrganizationalReportDataToS3ResponseSuccess
1361
+
1125
1362
  interface _StartAgentRecommendationGenerationResponseSuccess
1126
1363
  include ::Seahorse::Client::_ResponseSuccess[Types::StartAgentRecommendationGenerationResponse]
1127
1364
  def id: () -> ::String
@@ -1141,7 +1378,7 @@ module Aws
1141
1378
  ?name: ::String,
1142
1379
  ?additional_context: {
1143
1380
  },
1144
- scope: {
1381
+ ?scope: {
1145
1382
  pillars: Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")],
1146
1383
  goal_ids: Array[::String]?,
1147
1384
  items: Array[
@@ -1202,6 +1439,38 @@ module Aws
1202
1439
  ) -> _UpdateAgentGoalResponseSuccess
1203
1440
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentGoalResponseSuccess
1204
1441
 
1442
+ interface _UpdateAgentOrganizationalProfileResponseSuccess
1443
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentOrganizationalProfileResponse]
1444
+ def name: () -> ::String
1445
+ def display_name: () -> ::String
1446
+ def description: () -> ::String
1447
+ def business_overview: () -> ::String
1448
+ def pillars: () -> ::Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")]
1449
+ def deletion_protection: () -> bool
1450
+ def organization_id: () -> ::String
1451
+ def organizational_aggregation_configuration: () -> Types::OrganizationalAggregationConfiguration
1452
+ def arn: () -> ::String
1453
+ def eligible_for_scheduled_generation: () -> bool
1454
+ def eligible_for_architecture_generation: () -> bool
1455
+ def field_errors: () -> ::Hash[::String, ::String]
1456
+ def created_by: () -> ::String
1457
+ def created_at: () -> ::Time
1458
+ def last_modified_by: () -> ::String
1459
+ def last_modified_at: () -> ::Time
1460
+ end
1461
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#update_agent_organizational_profile-instance_method
1462
+ def update_agent_organizational_profile: (
1463
+ ?client_token: ::String,
1464
+ profile_arn: ::String,
1465
+ ?display_name: ::String,
1466
+ ?description: ::String,
1467
+ ?business_overview: ::String,
1468
+ ?pillars: Array[("COST_OPTIMIZATION" | "SECURITY" | "RESILIENCE" | "PERFORMANCE" | "OPERATIONAL_EXCELLENCE")],
1469
+ ?deletion_protection: bool,
1470
+ ?organizational_aggregation_configuration: Params::organizational_aggregation_configuration
1471
+ ) -> _UpdateAgentOrganizationalProfileResponseSuccess
1472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentOrganizationalProfileResponseSuccess
1473
+
1205
1474
  interface _UpdateAgentProfileResponseSuccess
1206
1475
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentProfileResponse]
1207
1476
  def name: () -> ::String
@@ -1216,7 +1485,6 @@ module Aws
1216
1485
  def eligible_for_scheduled_generation: () -> bool
1217
1486
  def eligible_for_architecture_generation: () -> bool
1218
1487
  def field_errors: () -> ::Hash[::String, ::String]
1219
- def tags: () -> ::Array[Types::Tag]
1220
1488
  def created_by: () -> ::String
1221
1489
  def created_at: () -> ::Time
1222
1490
  def last_modified_by: () -> ::String
@@ -1472,6 +1740,12 @@ module Aws
1472
1740
  ?client_request_token: ::String
1473
1741
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1474
1742
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1743
+
1744
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WellArchitected/Client.html#wait_until-instance_method
1745
+ def wait_until: (:agent_organizational_report_completed waiter_name,
1746
+ report_id: ::String
1747
+ ) -> Client::_GetAgentOrganizationalReportResponseSuccess
1748
+ | (:agent_organizational_report_completed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetAgentOrganizationalReportResponseSuccess
1475
1749
  end
1476
1750
  end
1477
1751
  end
data/sig/params.rbs CHANGED
@@ -19,6 +19,7 @@ module Aws
19
19
  value: ::String
20
20
  }
21
21
  ]?,
22
+ organizational_unit_ids: Array[::String]?,
22
23
  application_overview: ::String?,
23
24
  industry: ::String?,
24
25
  application_type: ("SAS" | "DESKTOP_APPLICATION" | "OTHER")?,
@@ -27,6 +28,21 @@ module Aws
27
28
  additional_context: ::String?
28
29
  }
29
30
 
31
+ type organizational_aggregation_configuration = {
32
+ organizational_units: Array[
33
+ {
34
+ organizational_unit_id: ::String,
35
+ regions: Array[::String]
36
+ }
37
+ ]?,
38
+ accounts: Array[
39
+ {
40
+ account_id: ::String,
41
+ regions: Array[::String]
42
+ }
43
+ ]?
44
+ }
45
+
30
46
  end
31
47
  end
32
48
  end