aws-sdk-wellarchitected 1.16.0 → 1.17.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: '0692924bc348d0621f0eed273514ddf7a8926f0ed3a3a48e8fc5531bb085e1b8'
4
- data.tar.gz: 28d5e26813f6639f00f38a98ec71738f7b532769dbc31ca594c89973a3519e07
3
+ metadata.gz: 75529d1efad9db9bd8c3ca2eb2ae083aa3f21c387f8dbadafbb3d450cf0254a0
4
+ data.tar.gz: 0c91ddbb9de0b1319c95d070f95b7e3b3c4b25c7699c16aaea405dc67f4e8313
5
5
  SHA512:
6
- metadata.gz: 3fed47fb25664b5c029a272c7fa72f2a1f48c81446692c5180a85ee5f02a924131677bc11026d8fabc80786c2dea0284ba2c22157592a2a4cdadd013a2d55f2b
7
- data.tar.gz: f2e2530ae801bcc595733edf830bcd52804897babd51caf1e67a1d1c128cc0b6a25eab44669b1f77248fa7ec8fff6acec4e1cf600da4801e3d96c5c6b50545ee
6
+ metadata.gz: 3ffd05acf0ba7261070b1efdc131959178a206b842e5fe688fa8ac1e5c4a22601cd365c0a2f43756aa498ea53637813ceaa8c8182d9e8b5b026493f083450469
7
+ data.tar.gz: 74a0cd077a97cb6a47cded8a00f3ba5e60a932370c792c018935568dd84402c0116194b68b8575d39a428b5119830de420bd44e03644739e2e24143a0e3ed3d2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2022-06-30)
5
+ ------------------
6
+
7
+ * Feature - Added support for UpdateGlobalSettings API. Added status filter to ListWorkloadShares and ListLensShares.
8
+
4
9
  1.16.0 (2022-06-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -1972,6 +1972,9 @@ module Aws::WellArchitected
1972
1972
  # @option params [Integer] :max_results
1973
1973
  # The maximum number of results to return for this request.
1974
1974
  #
1975
+ # @option params [String] :status
1976
+ # The status of a workload share.
1977
+ #
1975
1978
  # @return [Types::ListLensSharesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1976
1979
  #
1977
1980
  # * {Types::ListLensSharesOutput#lens_share_summaries #lens_share_summaries} => Array<Types::LensShareSummary>
@@ -1986,6 +1989,7 @@ module Aws::WellArchitected
1986
1989
  # shared_with_prefix: "SharedWithPrefix",
1987
1990
  # next_token: "NextToken",
1988
1991
  # max_results: 1,
1992
+ # status: "ACCEPTED", # accepts ACCEPTED, REJECTED, PENDING, REVOKED, EXPIRED, ASSOCIATING, ASSOCIATED, FAILED
1989
1993
  # })
1990
1994
  #
1991
1995
  # @example Response structure
@@ -1993,7 +1997,8 @@ module Aws::WellArchitected
1993
1997
  # resp.lens_share_summaries #=> Array
1994
1998
  # resp.lens_share_summaries[0].share_id #=> String
1995
1999
  # resp.lens_share_summaries[0].shared_with #=> String
1996
- # resp.lens_share_summaries[0].status #=> String, one of "ACCEPTED", "REJECTED", "PENDING", "REVOKED", "EXPIRED"
2000
+ # resp.lens_share_summaries[0].status #=> String, one of "ACCEPTED", "REJECTED", "PENDING", "REVOKED", "EXPIRED", "ASSOCIATING", "ASSOCIATED", "FAILED"
2001
+ # resp.lens_share_summaries[0].status_message #=> String
1997
2002
  # resp.next_token #=> String
1998
2003
  #
1999
2004
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensShares AWS API Documentation
@@ -2276,6 +2281,9 @@ module Aws::WellArchitected
2276
2281
  # @option params [Integer] :max_results
2277
2282
  # The maximum number of results to return for this request.
2278
2283
  #
2284
+ # @option params [String] :status
2285
+ # The status of a workload share.
2286
+ #
2279
2287
  # @return [Types::ListWorkloadSharesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2280
2288
  #
2281
2289
  # * {Types::ListWorkloadSharesOutput#workload_id #workload_id} => String
@@ -2291,6 +2299,7 @@ module Aws::WellArchitected
2291
2299
  # shared_with_prefix: "SharedWithPrefix",
2292
2300
  # next_token: "NextToken",
2293
2301
  # max_results: 1,
2302
+ # status: "ACCEPTED", # accepts ACCEPTED, REJECTED, PENDING, REVOKED, EXPIRED, ASSOCIATING, ASSOCIATED, FAILED
2294
2303
  # })
2295
2304
  #
2296
2305
  # @example Response structure
@@ -2300,7 +2309,8 @@ module Aws::WellArchitected
2300
2309
  # resp.workload_share_summaries[0].share_id #=> String
2301
2310
  # resp.workload_share_summaries[0].shared_with #=> String
2302
2311
  # resp.workload_share_summaries[0].permission_type #=> String, one of "READONLY", "CONTRIBUTOR"
2303
- # resp.workload_share_summaries[0].status #=> String, one of "ACCEPTED", "REJECTED", "PENDING", "REVOKED", "EXPIRED"
2312
+ # resp.workload_share_summaries[0].status #=> String, one of "ACCEPTED", "REJECTED", "PENDING", "REVOKED", "EXPIRED", "ASSOCIATING", "ASSOCIATED", "FAILED"
2313
+ # resp.workload_share_summaries[0].status_message #=> String
2304
2314
  # resp.next_token #=> String
2305
2315
  #
2306
2316
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloadShares AWS API Documentation
@@ -2544,6 +2554,29 @@ module Aws::WellArchitected
2544
2554
  req.send_request(options)
2545
2555
  end
2546
2556
 
2557
+ # Updates whether the Amazon Web Services account is opted into
2558
+ # organization sharing features.
2559
+ #
2560
+ # @option params [String] :organization_sharing_status
2561
+ # The status of organization sharing settings.
2562
+ #
2563
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2564
+ #
2565
+ # @example Request syntax with placeholder values
2566
+ #
2567
+ # resp = client.update_global_settings({
2568
+ # organization_sharing_status: "ENABLED", # accepts ENABLED, DISABLED
2569
+ # })
2570
+ #
2571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateGlobalSettings AWS API Documentation
2572
+ #
2573
+ # @overload update_global_settings(params = {})
2574
+ # @param [Hash] params ({})
2575
+ def update_global_settings(params = {}, options = {})
2576
+ req = build_request(:update_global_settings, params)
2577
+ req.send_request(options)
2578
+ end
2579
+
2547
2580
  # Update lens review.
2548
2581
  #
2549
2582
  # @option params [required, String] :workload_id
@@ -2867,7 +2900,7 @@ module Aws::WellArchitected
2867
2900
  # resp.workload_share.shared_by #=> String
2868
2901
  # resp.workload_share.shared_with #=> String
2869
2902
  # resp.workload_share.permission_type #=> String, one of "READONLY", "CONTRIBUTOR"
2870
- # resp.workload_share.status #=> String, one of "ACCEPTED", "REJECTED", "PENDING", "REVOKED", "EXPIRED"
2903
+ # resp.workload_share.status #=> String, one of "ACCEPTED", "REJECTED", "PENDING", "REVOKED", "EXPIRED", "ASSOCIATING", "ASSOCIATED", "FAILED"
2871
2904
  # resp.workload_share.workload_name #=> String
2872
2905
  # resp.workload_share.workload_id #=> String
2873
2906
  #
@@ -2950,7 +2983,7 @@ module Aws::WellArchitected
2950
2983
  params: params,
2951
2984
  config: config)
2952
2985
  context[:gem_name] = 'aws-sdk-wellarchitected'
2953
- context[:gem_version] = '1.16.0'
2986
+ context[:gem_version] = '1.17.0'
2954
2987
  Seahorse::Client::Request.new(handlers, context)
2955
2988
  end
2956
2989
 
@@ -155,6 +155,7 @@ module Aws::WellArchitected
155
155
  NotificationSummaries = Shapes::ListShape.new(name: 'NotificationSummaries')
156
156
  NotificationSummary = Shapes::StructureShape.new(name: 'NotificationSummary')
157
157
  NotificationType = Shapes::StringShape.new(name: 'NotificationType')
158
+ OrganizationSharingStatus = Shapes::StringShape.new(name: 'OrganizationSharingStatus')
158
159
  PermissionType = Shapes::StringShape.new(name: 'PermissionType')
159
160
  PillarDifference = Shapes::StructureShape.new(name: 'PillarDifference')
160
161
  PillarDifferences = Shapes::ListShape.new(name: 'PillarDifferences')
@@ -185,6 +186,7 @@ module Aws::WellArchitected
185
186
  ShareStatus = Shapes::StringShape.new(name: 'ShareStatus')
186
187
  SharedWith = Shapes::StringShape.new(name: 'SharedWith')
187
188
  SharedWithPrefix = Shapes::StringShape.new(name: 'SharedWithPrefix')
189
+ StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
188
190
  TagKey = Shapes::StringShape.new(name: 'TagKey')
189
191
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
190
192
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -197,6 +199,7 @@ module Aws::WellArchitected
197
199
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
198
200
  UpdateAnswerInput = Shapes::StructureShape.new(name: 'UpdateAnswerInput')
199
201
  UpdateAnswerOutput = Shapes::StructureShape.new(name: 'UpdateAnswerOutput')
202
+ UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
200
203
  UpdateLensReviewInput = Shapes::StructureShape.new(name: 'UpdateLensReviewInput')
201
204
  UpdateLensReviewOutput = Shapes::StructureShape.new(name: 'UpdateLensReviewOutput')
202
205
  UpdateShareInvitationInput = Shapes::StructureShape.new(name: 'UpdateShareInvitationInput')
@@ -550,6 +553,7 @@ module Aws::WellArchitected
550
553
  LensShareSummary.add_member(:share_id, Shapes::ShapeRef.new(shape: ShareId, location_name: "ShareId"))
551
554
  LensShareSummary.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, location_name: "SharedWith"))
552
555
  LensShareSummary.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
556
+ LensShareSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
553
557
  LensShareSummary.struct_class = Types::LensShareSummary
554
558
 
555
559
  LensSummaries.member = Shapes::ShapeRef.new(shape: LensSummary)
@@ -622,6 +626,7 @@ module Aws::WellArchitected
622
626
  ListLensSharesInput.add_member(:shared_with_prefix, Shapes::ShapeRef.new(shape: SharedWithPrefix, location: "querystring", location_name: "SharedWithPrefix"))
623
627
  ListLensSharesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
624
628
  ListLensSharesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkloadSharesMaxResults, location: "querystring", location_name: "MaxResults"))
629
+ ListLensSharesInput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location: "querystring", location_name: "Status"))
625
630
  ListLensSharesInput.struct_class = Types::ListLensSharesInput
626
631
 
627
632
  ListLensSharesOutput.add_member(:lens_share_summaries, Shapes::ShapeRef.new(shape: LensShareSummaries, location_name: "LensShareSummaries"))
@@ -679,6 +684,7 @@ module Aws::WellArchitected
679
684
  ListWorkloadSharesInput.add_member(:shared_with_prefix, Shapes::ShapeRef.new(shape: SharedWithPrefix, location: "querystring", location_name: "SharedWithPrefix"))
680
685
  ListWorkloadSharesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
681
686
  ListWorkloadSharesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkloadSharesMaxResults, location: "querystring", location_name: "MaxResults"))
687
+ ListWorkloadSharesInput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location: "querystring", location_name: "Status"))
682
688
  ListWorkloadSharesInput.struct_class = Types::ListWorkloadSharesInput
683
689
 
684
690
  ListWorkloadSharesOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
@@ -816,6 +822,9 @@ module Aws::WellArchitected
816
822
  UpdateAnswerOutput.add_member(:answer, Shapes::ShapeRef.new(shape: Answer, location_name: "Answer"))
817
823
  UpdateAnswerOutput.struct_class = Types::UpdateAnswerOutput
818
824
 
825
+ UpdateGlobalSettingsInput.add_member(:organization_sharing_status, Shapes::ShapeRef.new(shape: OrganizationSharingStatus, location_name: "OrganizationSharingStatus"))
826
+ UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
827
+
819
828
  UpdateLensReviewInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
820
829
  UpdateLensReviewInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
821
830
  UpdateLensReviewInput.add_member(:lens_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "LensNotes"))
@@ -934,6 +943,7 @@ module Aws::WellArchitected
934
943
  WorkloadShareSummary.add_member(:shared_with, Shapes::ShapeRef.new(shape: SharedWith, location_name: "SharedWith"))
935
944
  WorkloadShareSummary.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "PermissionType"))
936
945
  WorkloadShareSummary.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
946
+ WorkloadShareSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
937
947
  WorkloadShareSummary.struct_class = Types::WorkloadShareSummary
938
948
 
939
949
  WorkloadSummaries.member = Shapes::ShapeRef.new(shape: WorkloadSummary)
@@ -1474,6 +1484,19 @@ module Aws::WellArchitected
1474
1484
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1475
1485
  end)
1476
1486
 
1487
+ api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
1488
+ o.name = "UpdateGlobalSettings"
1489
+ o.http_method = "PATCH"
1490
+ o.http_request_uri = "/global-settings"
1491
+ o.input = Shapes::ShapeRef.new(shape: UpdateGlobalSettingsInput)
1492
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1494
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1495
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1498
+ end)
1499
+
1477
1500
  api.add_operation(:update_lens_review, Seahorse::Model::Operation.new.tap do |o|
1478
1501
  o.name = "UpdateLensReview"
1479
1502
  o.http_method = "PATCH"
@@ -2006,12 +2006,17 @@ module Aws::WellArchitected
2006
2006
  # The status of a workload share.
2007
2007
  # @return [String]
2008
2008
  #
2009
+ # @!attribute [rw] status_message
2010
+ # Optional message to compliment the Status field.
2011
+ # @return [String]
2012
+ #
2009
2013
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/LensShareSummary AWS API Documentation
2010
2014
  #
2011
2015
  class LensShareSummary < Struct.new(
2012
2016
  :share_id,
2013
2017
  :shared_with,
2014
- :status)
2018
+ :status,
2019
+ :status_message)
2015
2020
  SENSITIVE = []
2016
2021
  include Aws::Structure
2017
2022
  end
@@ -2451,6 +2456,7 @@ module Aws::WellArchitected
2451
2456
  # shared_with_prefix: "SharedWithPrefix",
2452
2457
  # next_token: "NextToken",
2453
2458
  # max_results: 1,
2459
+ # status: "ACCEPTED", # accepts ACCEPTED, REJECTED, PENDING, REVOKED, EXPIRED, ASSOCIATING, ASSOCIATED, FAILED
2454
2460
  # }
2455
2461
  #
2456
2462
  # @!attribute [rw] lens_alias
@@ -2479,13 +2485,18 @@ module Aws::WellArchitected
2479
2485
  # The maximum number of results to return for this request.
2480
2486
  # @return [Integer]
2481
2487
  #
2488
+ # @!attribute [rw] status
2489
+ # The status of a workload share.
2490
+ # @return [String]
2491
+ #
2482
2492
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensSharesInput AWS API Documentation
2483
2493
  #
2484
2494
  class ListLensSharesInput < Struct.new(
2485
2495
  :lens_alias,
2486
2496
  :shared_with_prefix,
2487
2497
  :next_token,
2488
- :max_results)
2498
+ :max_results,
2499
+ :status)
2489
2500
  SENSITIVE = []
2490
2501
  include Aws::Structure
2491
2502
  end
@@ -2786,6 +2797,7 @@ module Aws::WellArchitected
2786
2797
  # shared_with_prefix: "SharedWithPrefix",
2787
2798
  # next_token: "NextToken",
2788
2799
  # max_results: 1,
2800
+ # status: "ACCEPTED", # accepts ACCEPTED, REJECTED, PENDING, REVOKED, EXPIRED, ASSOCIATING, ASSOCIATED, FAILED
2789
2801
  # }
2790
2802
  #
2791
2803
  # @!attribute [rw] workload_id
@@ -2806,13 +2818,18 @@ module Aws::WellArchitected
2806
2818
  # The maximum number of results to return for this request.
2807
2819
  # @return [Integer]
2808
2820
  #
2821
+ # @!attribute [rw] status
2822
+ # The status of a workload share.
2823
+ # @return [String]
2824
+ #
2809
2825
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloadSharesInput AWS API Documentation
2810
2826
  #
2811
2827
  class ListWorkloadSharesInput < Struct.new(
2812
2828
  :workload_id,
2813
2829
  :shared_with_prefix,
2814
2830
  :next_token,
2815
- :max_results)
2831
+ :max_results,
2832
+ :status)
2816
2833
  SENSITIVE = []
2817
2834
  include Aws::Structure
2818
2835
  end
@@ -3435,6 +3452,25 @@ module Aws::WellArchitected
3435
3452
  include Aws::Structure
3436
3453
  end
3437
3454
 
3455
+ # @note When making an API call, you may pass UpdateGlobalSettingsInput
3456
+ # data as a hash:
3457
+ #
3458
+ # {
3459
+ # organization_sharing_status: "ENABLED", # accepts ENABLED, DISABLED
3460
+ # }
3461
+ #
3462
+ # @!attribute [rw] organization_sharing_status
3463
+ # The status of organization sharing settings.
3464
+ # @return [String]
3465
+ #
3466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateGlobalSettingsInput AWS API Documentation
3467
+ #
3468
+ class UpdateGlobalSettingsInput < Struct.new(
3469
+ :organization_sharing_status)
3470
+ SENSITIVE = []
3471
+ include Aws::Structure
3472
+ end
3473
+
3438
3474
  # Input for update lens review.
3439
3475
  #
3440
3476
  # @note When making an API call, you may pass UpdateLensReviewInput
@@ -4177,13 +4213,18 @@ module Aws::WellArchitected
4177
4213
  # The status of a workload share.
4178
4214
  # @return [String]
4179
4215
  #
4216
+ # @!attribute [rw] status_message
4217
+ # Optional message to compliment the Status field.
4218
+ # @return [String]
4219
+ #
4180
4220
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/WorkloadShareSummary AWS API Documentation
4181
4221
  #
4182
4222
  class WorkloadShareSummary < Struct.new(
4183
4223
  :share_id,
4184
4224
  :shared_with,
4185
4225
  :permission_type,
4186
- :status)
4226
+ :status,
4227
+ :status_message)
4187
4228
  SENSITIVE = []
4188
4229
  include Aws::Structure
4189
4230
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-wellarchitected/customizations'
48
48
  # @!group service
49
49
  module Aws::WellArchitected
50
50
 
51
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.17.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wellarchitected
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core