aws-sdk-repostspace 1.15.0 → 1.17.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd4e3dc09fe0c9ff003b3a620b9bacd9bcfa4519b2ea88f92efa51385037d8dd
4
- data.tar.gz: d6c404ca7d24973ffa3df982333ec08a4ce51c89c5a3c88d5f7e5d44e6d7158a
3
+ metadata.gz: 6a52f261a324173a0fc8791b61462017104231dac34c60dea8dc2d366f93978e
4
+ data.tar.gz: 495f8b9dfc3b7e4a947f5ae03b8a5f4b1864cbb0aaf1f9d5f101c1893ff9bd4a
5
5
  SHA512:
6
- metadata.gz: 0c90441e40ed887ed958a866eea3b33e6b5534c49be3e0ef69ea7fe86ae8825379f8b62ec53151c5e6a37feddcbd9146611880bf760a186e0a64c558321afc3b
7
- data.tar.gz: a930dc1f369bbffaed6b2d1cd92aace1093aff3828d92f3449478b7181b2818b0cbe11c843c57fc6f425174d3841a98c2026c92b893f64e450f9b0387c756c90
6
+ metadata.gz: f1d5b58bc6a7b0a5702b3db9a2b85a6f07379a537d9f214520eb5e51c3c60211ecda8d9a44709a4a159588898136bb0bf31931410eb9f02b4719cfbe5f521d15
7
+ data.tar.gz: d270b4b60d76dcd3c7cca203ea186236b8f7e95d398a99aa587ff959a14a21d9c1067e94f98cb9655eda60f3c2d850825a424bb7bc2c48b25b2893a0581846ca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.16.0 (2024-10-22)
10
+ ------------------
11
+
12
+ * Feature - Adds the BatchAddRole and BatchRemoveRole APIs.
13
+
4
14
  1.15.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.17.0
@@ -257,11 +257,34 @@ module Aws::Repostspace
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -447,6 +470,90 @@ module Aws::Repostspace
447
470
 
448
471
  # @!group API Operations
449
472
 
473
+ # Add role to multiple users or groups in a private re:Post.
474
+ #
475
+ # @option params [required, Array<String>] :accessor_ids
476
+ # The user or group accessor identifiers to add the role to.
477
+ #
478
+ # @option params [required, String] :role
479
+ # The role to add to the users or groups.
480
+ #
481
+ # @option params [required, String] :space_id
482
+ # The unique ID of the private re:Post.
483
+ #
484
+ # @return [Types::BatchAddRoleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
485
+ #
486
+ # * {Types::BatchAddRoleOutput#added_accessor_ids #added_accessor_ids} => Array&lt;String&gt;
487
+ # * {Types::BatchAddRoleOutput#errors #errors} => Array&lt;Types::BatchError&gt;
488
+ #
489
+ # @example Request syntax with placeholder values
490
+ #
491
+ # resp = client.batch_add_role({
492
+ # accessor_ids: ["AccessorId"], # required
493
+ # role: "EXPERT", # required, accepts EXPERT, MODERATOR, ADMINISTRATOR, SUPPORTREQUESTOR
494
+ # space_id: "SpaceId", # required
495
+ # })
496
+ #
497
+ # @example Response structure
498
+ #
499
+ # resp.added_accessor_ids #=> Array
500
+ # resp.added_accessor_ids[0] #=> String
501
+ # resp.errors #=> Array
502
+ # resp.errors[0].accessor_id #=> String
503
+ # resp.errors[0].error #=> Integer
504
+ # resp.errors[0].message #=> String
505
+ #
506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchAddRole AWS API Documentation
507
+ #
508
+ # @overload batch_add_role(params = {})
509
+ # @param [Hash] params ({})
510
+ def batch_add_role(params = {}, options = {})
511
+ req = build_request(:batch_add_role, params)
512
+ req.send_request(options)
513
+ end
514
+
515
+ # Remove role from multiple users or groups in a private re:Post.
516
+ #
517
+ # @option params [required, Array<String>] :accessor_ids
518
+ # The user or group accessor identifiers to remove the role from.
519
+ #
520
+ # @option params [required, String] :role
521
+ # The role to remove from the users or groups.
522
+ #
523
+ # @option params [required, String] :space_id
524
+ # The unique ID of the private re:Post.
525
+ #
526
+ # @return [Types::BatchRemoveRoleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
527
+ #
528
+ # * {Types::BatchRemoveRoleOutput#errors #errors} => Array&lt;Types::BatchError&gt;
529
+ # * {Types::BatchRemoveRoleOutput#removed_accessor_ids #removed_accessor_ids} => Array&lt;String&gt;
530
+ #
531
+ # @example Request syntax with placeholder values
532
+ #
533
+ # resp = client.batch_remove_role({
534
+ # accessor_ids: ["AccessorId"], # required
535
+ # role: "EXPERT", # required, accepts EXPERT, MODERATOR, ADMINISTRATOR, SUPPORTREQUESTOR
536
+ # space_id: "SpaceId", # required
537
+ # })
538
+ #
539
+ # @example Response structure
540
+ #
541
+ # resp.errors #=> Array
542
+ # resp.errors[0].accessor_id #=> String
543
+ # resp.errors[0].error #=> Integer
544
+ # resp.errors[0].message #=> String
545
+ # resp.removed_accessor_ids #=> Array
546
+ # resp.removed_accessor_ids[0] #=> String
547
+ #
548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchRemoveRole AWS API Documentation
549
+ #
550
+ # @overload batch_remove_role(params = {})
551
+ # @param [Hash] params ({})
552
+ def batch_remove_role(params = {}, options = {})
553
+ req = build_request(:batch_remove_role, params)
554
+ req.send_request(options)
555
+ end
556
+
450
557
  # Creates an AWS re:Post Private private re:Post.
451
558
  #
452
559
  # @option params [String] :description
@@ -575,6 +682,7 @@ module Aws::Repostspace
575
682
  # * {Types::GetSpaceOutput#group_admins #group_admins} => Array&lt;String&gt;
576
683
  # * {Types::GetSpaceOutput#name #name} => String
577
684
  # * {Types::GetSpaceOutput#random_domain #random_domain} => String
685
+ # * {Types::GetSpaceOutput#roles #roles} => Hash&lt;String,Array&lt;String&gt;&gt;
578
686
  # * {Types::GetSpaceOutput#space_id #space_id} => String
579
687
  # * {Types::GetSpaceOutput#status #status} => String
580
688
  # * {Types::GetSpaceOutput#storage_limit #storage_limit} => Integer
@@ -605,6 +713,9 @@ module Aws::Repostspace
605
713
  # resp.group_admins[0] #=> String
606
714
  # resp.name #=> String
607
715
  # resp.random_domain #=> String
716
+ # resp.roles #=> Hash
717
+ # resp.roles["AccessorId"] #=> Array
718
+ # resp.roles["AccessorId"][0] #=> String, one of "EXPERT", "MODERATOR", "ADMINISTRATOR", "SUPPORTREQUESTOR"
608
719
  # resp.space_id #=> String
609
720
  # resp.status #=> String
610
721
  # resp.storage_limit #=> Integer
@@ -887,7 +998,7 @@ module Aws::Repostspace
887
998
  tracer: tracer
888
999
  )
889
1000
  context[:gem_name] = 'aws-sdk-repostspace'
890
- context[:gem_version] = '1.15.0'
1001
+ context[:gem_version] = '1.17.0'
891
1002
  Seahorse::Client::Request.new(handlers, context)
892
1003
  end
893
1004
 
@@ -19,6 +19,12 @@ module Aws::Repostspace
19
19
  AccessorIdList = Shapes::ListShape.new(name: 'AccessorIdList')
20
20
  AdminId = Shapes::StringShape.new(name: 'AdminId')
21
21
  Arn = Shapes::StringShape.new(name: 'Arn')
22
+ BatchAddRoleInput = Shapes::StructureShape.new(name: 'BatchAddRoleInput')
23
+ BatchAddRoleOutput = Shapes::StructureShape.new(name: 'BatchAddRoleOutput')
24
+ BatchError = Shapes::StructureShape.new(name: 'BatchError')
25
+ BatchErrorList = Shapes::ListShape.new(name: 'BatchErrorList')
26
+ BatchRemoveRoleInput = Shapes::StructureShape.new(name: 'BatchRemoveRoleInput')
27
+ BatchRemoveRoleOutput = Shapes::StructureShape.new(name: 'BatchRemoveRoleOutput')
22
28
  ClientId = Shapes::StringShape.new(name: 'ClientId')
23
29
  ConfigurationStatus = Shapes::StringShape.new(name: 'ConfigurationStatus')
24
30
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -27,6 +33,8 @@ module Aws::Repostspace
27
33
  CreateSpaceOutput = Shapes::StructureShape.new(name: 'CreateSpaceOutput')
28
34
  DeleteSpaceInput = Shapes::StructureShape.new(name: 'DeleteSpaceInput')
29
35
  DeregisterAdminInput = Shapes::StructureShape.new(name: 'DeregisterAdminInput')
36
+ ErrorCode = Shapes::IntegerShape.new(name: 'ErrorCode')
37
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
30
38
  GetSpaceInput = Shapes::StructureShape.new(name: 'GetSpaceInput')
31
39
  GetSpaceOutput = Shapes::StructureShape.new(name: 'GetSpaceOutput')
32
40
  GroupAdmins = Shapes::ListShape.new(name: 'GroupAdmins')
@@ -43,6 +51,9 @@ module Aws::Repostspace
43
51
  ProvisioningStatus = Shapes::StringShape.new(name: 'ProvisioningStatus')
44
52
  RegisterAdminInput = Shapes::StructureShape.new(name: 'RegisterAdminInput')
45
53
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
54
+ Role = Shapes::StringShape.new(name: 'Role')
55
+ RoleList = Shapes::ListShape.new(name: 'RoleList')
56
+ Roles = Shapes::MapShape.new(name: 'Roles')
46
57
  SendInvitesInput = Shapes::StructureShape.new(name: 'SendInvitesInput')
47
58
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
48
59
  SpaceData = Shapes::StructureShape.new(name: 'SpaceData')
@@ -79,6 +90,31 @@ module Aws::Repostspace
79
90
 
80
91
  AccessorIdList.member = Shapes::ShapeRef.new(shape: AccessorId)
81
92
 
93
+ BatchAddRoleInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
94
+ BatchAddRoleInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
95
+ BatchAddRoleInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
96
+ BatchAddRoleInput.struct_class = Types::BatchAddRoleInput
97
+
98
+ BatchAddRoleOutput.add_member(:added_accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "addedAccessorIds"))
99
+ BatchAddRoleOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrorList, required: true, location_name: "errors"))
100
+ BatchAddRoleOutput.struct_class = Types::BatchAddRoleOutput
101
+
102
+ BatchError.add_member(:accessor_id, Shapes::ShapeRef.new(shape: AccessorId, required: true, location_name: "accessorId"))
103
+ BatchError.add_member(:error, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "error"))
104
+ BatchError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
105
+ BatchError.struct_class = Types::BatchError
106
+
107
+ BatchErrorList.member = Shapes::ShapeRef.new(shape: BatchError)
108
+
109
+ BatchRemoveRoleInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
110
+ BatchRemoveRoleInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
111
+ BatchRemoveRoleInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
112
+ BatchRemoveRoleInput.struct_class = Types::BatchRemoveRoleInput
113
+
114
+ BatchRemoveRoleOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrorList, required: true, location_name: "errors"))
115
+ BatchRemoveRoleOutput.add_member(:removed_accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "removedAccessorIds"))
116
+ BatchRemoveRoleOutput.struct_class = Types::BatchRemoveRoleOutput
117
+
82
118
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
83
119
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
84
120
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -114,14 +150,15 @@ module Aws::Repostspace
114
150
  GetSpaceOutput.add_member(:customer_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "customerRoleArn"))
115
151
  GetSpaceOutput.add_member(:delete_date_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "deleteDateTime"))
116
152
  GetSpaceOutput.add_member(:description, Shapes::ShapeRef.new(shape: SpaceDescription, location_name: "description"))
117
- GetSpaceOutput.add_member(:group_admins, Shapes::ShapeRef.new(shape: GroupAdmins, location_name: "groupAdmins"))
153
+ GetSpaceOutput.add_member(:group_admins, Shapes::ShapeRef.new(shape: GroupAdmins, deprecated: true, location_name: "groupAdmins", metadata: {"deprecatedMessage"=>"This property has been depracted and will be replaced by the roles property."}))
118
154
  GetSpaceOutput.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
119
155
  GetSpaceOutput.add_member(:random_domain, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "randomDomain"))
156
+ GetSpaceOutput.add_member(:roles, Shapes::ShapeRef.new(shape: Roles, location_name: "roles"))
120
157
  GetSpaceOutput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
121
158
  GetSpaceOutput.add_member(:status, Shapes::ShapeRef.new(shape: ProvisioningStatus, required: true, location_name: "status"))
122
159
  GetSpaceOutput.add_member(:storage_limit, Shapes::ShapeRef.new(shape: StorageLimit, required: true, location_name: "storageLimit"))
123
160
  GetSpaceOutput.add_member(:tier, Shapes::ShapeRef.new(shape: TierLevel, required: true, location_name: "tier"))
124
- GetSpaceOutput.add_member(:user_admins, Shapes::ShapeRef.new(shape: UserAdmins, location_name: "userAdmins"))
161
+ GetSpaceOutput.add_member(:user_admins, Shapes::ShapeRef.new(shape: UserAdmins, deprecated: true, location_name: "userAdmins", metadata: {"deprecatedMessage"=>"This property has been depracted and will be replaced by the roles property."}))
125
162
  GetSpaceOutput.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, location_name: "userCount"))
126
163
  GetSpaceOutput.add_member(:user_kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "userKMSKey"))
127
164
  GetSpaceOutput.add_member(:vanity_domain, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "vanityDomain"))
@@ -157,6 +194,11 @@ module Aws::Repostspace
157
194
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
158
195
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
159
196
 
197
+ RoleList.member = Shapes::ShapeRef.new(shape: Role)
198
+
199
+ Roles.key = Shapes::ShapeRef.new(shape: AccessorId)
200
+ Roles.value = Shapes::ShapeRef.new(shape: RoleList)
201
+
160
202
  SendInvitesInput.add_member(:accessor_ids, Shapes::ShapeRef.new(shape: AccessorIdList, required: true, location_name: "accessorIds"))
161
203
  SendInvitesInput.add_member(:body, Shapes::ShapeRef.new(shape: InviteBody, required: true, location_name: "body"))
162
204
  SendInvitesInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location: "uri", location_name: "spaceId"))
@@ -240,9 +282,11 @@ module Aws::Repostspace
240
282
 
241
283
  api.metadata = {
242
284
  "apiVersion" => "2022-05-13",
285
+ "auth" => ["aws.auth#sigv4"],
243
286
  "endpointPrefix" => "repostspace",
244
287
  "jsonVersion" => "1.1",
245
288
  "protocol" => "rest-json",
289
+ "protocols" => ["rest-json"],
246
290
  "serviceFullName" => "AWS re:Post Private",
247
291
  "serviceId" => "repostspace",
248
292
  "signatureVersion" => "v4",
@@ -250,6 +294,32 @@ module Aws::Repostspace
250
294
  "uid" => "repostspace-2022-05-13",
251
295
  }
252
296
 
297
+ api.add_operation(:batch_add_role, Seahorse::Model::Operation.new.tap do |o|
298
+ o.name = "BatchAddRole"
299
+ o.http_method = "POST"
300
+ o.http_request_uri = "/spaces/{spaceId}/roles"
301
+ o.input = Shapes::ShapeRef.new(shape: BatchAddRoleInput)
302
+ o.output = Shapes::ShapeRef.new(shape: BatchAddRoleOutput)
303
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
304
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
305
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
306
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
307
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
308
+ end)
309
+
310
+ api.add_operation(:batch_remove_role, Seahorse::Model::Operation.new.tap do |o|
311
+ o.name = "BatchRemoveRole"
312
+ o.http_method = "PATCH"
313
+ o.http_request_uri = "/spaces/{spaceId}/roles"
314
+ o.input = Shapes::ShapeRef.new(shape: BatchRemoveRoleInput)
315
+ o.output = Shapes::ShapeRef.new(shape: BatchRemoveRoleOutput)
316
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
317
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
318
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
319
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
321
+ end)
322
+
253
323
  api.add_operation(:create_space, Seahorse::Model::Operation.new.tap do |o|
254
324
  o.name = "CreateSpace"
255
325
  o.http_method = "POST"
@@ -23,6 +23,108 @@ module Aws::Repostspace
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # @!attribute [rw] accessor_ids
27
+ # The user or group accessor identifiers to add the role to.
28
+ # @return [Array<String>]
29
+ #
30
+ # @!attribute [rw] role
31
+ # The role to add to the users or groups.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] space_id
35
+ # The unique ID of the private re:Post.
36
+ # @return [String]
37
+ #
38
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchAddRoleInput AWS API Documentation
39
+ #
40
+ class BatchAddRoleInput < Struct.new(
41
+ :accessor_ids,
42
+ :role,
43
+ :space_id)
44
+ SENSITIVE = []
45
+ include Aws::Structure
46
+ end
47
+
48
+ # @!attribute [rw] added_accessor_ids
49
+ # An array of successfully updated accessor identifiers.
50
+ # @return [Array<String>]
51
+ #
52
+ # @!attribute [rw] errors
53
+ # An array of errors that occurred when roles were added.
54
+ # @return [Array<Types::BatchError>]
55
+ #
56
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchAddRoleOutput AWS API Documentation
57
+ #
58
+ class BatchAddRoleOutput < Struct.new(
59
+ :added_accessor_ids,
60
+ :errors)
61
+ SENSITIVE = []
62
+ include Aws::Structure
63
+ end
64
+
65
+ # An error that occurred during a batch operation.
66
+ #
67
+ # @!attribute [rw] accessor_id
68
+ # The accessor identifier that's related to the error.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] error
72
+ # The error code.
73
+ # @return [Integer]
74
+ #
75
+ # @!attribute [rw] message
76
+ # Description of the error.
77
+ # @return [String]
78
+ #
79
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchError AWS API Documentation
80
+ #
81
+ class BatchError < Struct.new(
82
+ :accessor_id,
83
+ :error,
84
+ :message)
85
+ SENSITIVE = []
86
+ include Aws::Structure
87
+ end
88
+
89
+ # @!attribute [rw] accessor_ids
90
+ # The user or group accessor identifiers to remove the role from.
91
+ # @return [Array<String>]
92
+ #
93
+ # @!attribute [rw] role
94
+ # The role to remove from the users or groups.
95
+ # @return [String]
96
+ #
97
+ # @!attribute [rw] space_id
98
+ # The unique ID of the private re:Post.
99
+ # @return [String]
100
+ #
101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchRemoveRoleInput AWS API Documentation
102
+ #
103
+ class BatchRemoveRoleInput < Struct.new(
104
+ :accessor_ids,
105
+ :role,
106
+ :space_id)
107
+ SENSITIVE = []
108
+ include Aws::Structure
109
+ end
110
+
111
+ # @!attribute [rw] errors
112
+ # An array of errors that occurred when roles were removed.
113
+ # @return [Array<Types::BatchError>]
114
+ #
115
+ # @!attribute [rw] removed_accessor_ids
116
+ # An array of successfully updated accessor identifiers.
117
+ # @return [Array<String>]
118
+ #
119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/BatchRemoveRoleOutput AWS API Documentation
120
+ #
121
+ class BatchRemoveRoleOutput < Struct.new(
122
+ :errors,
123
+ :removed_accessor_ids)
124
+ SENSITIVE = []
125
+ include Aws::Structure
126
+ end
127
+
26
128
  # Updating or deleting a resource can cause an inconsistent state.
27
129
  #
28
130
  # @!attribute [rw] message
@@ -194,6 +296,10 @@ module Aws::Repostspace
194
296
  # The AWS generated subdomain of the private re:Post
195
297
  # @return [String]
196
298
  #
299
+ # @!attribute [rw] roles
300
+ # A map of accessor identifiers and their roles.
301
+ # @return [Hash<String,Array<String>>]
302
+ #
197
303
  # @!attribute [rw] space_id
198
304
  # The unique ID of the private re:Post.
199
305
  # @return [String]
@@ -245,6 +351,7 @@ module Aws::Repostspace
245
351
  :group_admins,
246
352
  :name,
247
353
  :random_domain,
354
+ :roles,
248
355
  :space_id,
249
356
  :status,
250
357
  :storage_limit,
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:repostspace)
23
23
  # structure.
24
24
  #
25
25
  # repostspace = Aws::Repostspace::Client.new
26
- # resp = repostspace.create_space(params)
26
+ # resp = repostspace.batch_add_role(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -54,7 +54,7 @@ module Aws::Repostspace
54
54
  autoload :EndpointProvider, 'aws-sdk-repostspace/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-repostspace/endpoints'
56
56
 
57
- GEM_VERSION = '1.15.0'
57
+ GEM_VERSION = '1.17.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -75,6 +77,32 @@ module Aws
75
77
  | (?Hash[Symbol, untyped]) -> instance
76
78
 
77
79
 
80
+ interface _BatchAddRoleResponseSuccess
81
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchAddRoleOutput]
82
+ def added_accessor_ids: () -> ::Array[::String]
83
+ def errors: () -> ::Array[Types::BatchError]
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_add_role-instance_method
86
+ def batch_add_role: (
87
+ accessor_ids: Array[::String],
88
+ role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR"),
89
+ space_id: ::String
90
+ ) -> _BatchAddRoleResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAddRoleResponseSuccess
92
+
93
+ interface _BatchRemoveRoleResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchRemoveRoleOutput]
95
+ def errors: () -> ::Array[Types::BatchError]
96
+ def removed_accessor_ids: () -> ::Array[::String]
97
+ end
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_remove_role-instance_method
99
+ def batch_remove_role: (
100
+ accessor_ids: Array[::String],
101
+ role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR"),
102
+ space_id: ::String
103
+ ) -> _BatchRemoveRoleResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchRemoveRoleResponseSuccess
105
+
78
106
  interface _CreateSpaceResponseSuccess
79
107
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSpaceOutput]
80
108
  def space_id: () -> ::String
@@ -117,6 +145,7 @@ module Aws
117
145
  def group_admins: () -> ::Array[::String]
118
146
  def name: () -> ::String
119
147
  def random_domain: () -> ::String
148
+ def roles: () -> ::Hash[::String, ::Array[("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")]]
120
149
  def space_id: () -> ::String
121
150
  def status: () -> ::String
122
151
  def storage_limit: () -> ::Integer
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -13,6 +13,39 @@ module Aws::Repostspace
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class BatchAddRoleInput
17
+ attr_accessor accessor_ids: ::Array[::String]
18
+ attr_accessor role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
19
+ attr_accessor space_id: ::String
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class BatchAddRoleOutput
24
+ attr_accessor added_accessor_ids: ::Array[::String]
25
+ attr_accessor errors: ::Array[Types::BatchError]
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class BatchError
30
+ attr_accessor accessor_id: ::String
31
+ attr_accessor error: ::Integer
32
+ attr_accessor message: ::String
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class BatchRemoveRoleInput
37
+ attr_accessor accessor_ids: ::Array[::String]
38
+ attr_accessor role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
39
+ attr_accessor space_id: ::String
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class BatchRemoveRoleOutput
44
+ attr_accessor errors: ::Array[Types::BatchError]
45
+ attr_accessor removed_accessor_ids: ::Array[::String]
46
+ SENSITIVE: []
47
+ end
48
+
16
49
  class ConflictException
17
50
  attr_accessor message: ::String
18
51
  attr_accessor resource_id: ::String
@@ -64,6 +97,7 @@ module Aws::Repostspace
64
97
  attr_accessor group_admins: ::Array[::String]
65
98
  attr_accessor name: ::String
66
99
  attr_accessor random_domain: ::String
100
+ attr_accessor roles: ::Hash[::String, ::Array[("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")]]
67
101
  attr_accessor space_id: ::String
68
102
  attr_accessor status: ::String
69
103
  attr_accessor storage_limit: ::Integer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-repostspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for AWS re:Post Private. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email: