aws-sdk-repostspace 1.22.0 → 1.23.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.
data/sig/types.rbs CHANGED
@@ -13,10 +13,24 @@ module Aws::Repostspace
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class BatchAddChannelRoleToAccessorsInput
17
+ attr_accessor space_id: ::String
18
+ attr_accessor channel_id: ::String
19
+ attr_accessor accessor_ids: ::Array[::String]
20
+ attr_accessor channel_role: ("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class BatchAddChannelRoleToAccessorsOutput
25
+ attr_accessor added_accessor_ids: ::Array[::String]
26
+ attr_accessor errors: ::Array[Types::BatchError]
27
+ SENSITIVE: []
28
+ end
29
+
16
30
  class BatchAddRoleInput
31
+ attr_accessor space_id: ::String
17
32
  attr_accessor accessor_ids: ::Array[::String]
18
33
  attr_accessor role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
19
- attr_accessor space_id: ::String
20
34
  SENSITIVE: []
21
35
  end
22
36
 
@@ -33,19 +47,46 @@ module Aws::Repostspace
33
47
  SENSITIVE: []
34
48
  end
35
49
 
50
+ class BatchRemoveChannelRoleFromAccessorsInput
51
+ attr_accessor space_id: ::String
52
+ attr_accessor channel_id: ::String
53
+ attr_accessor accessor_ids: ::Array[::String]
54
+ attr_accessor channel_role: ("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class BatchRemoveChannelRoleFromAccessorsOutput
59
+ attr_accessor removed_accessor_ids: ::Array[::String]
60
+ attr_accessor errors: ::Array[Types::BatchError]
61
+ SENSITIVE: []
62
+ end
63
+
36
64
  class BatchRemoveRoleInput
65
+ attr_accessor space_id: ::String
37
66
  attr_accessor accessor_ids: ::Array[::String]
38
67
  attr_accessor role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
39
- attr_accessor space_id: ::String
40
68
  SENSITIVE: []
41
69
  end
42
70
 
43
71
  class BatchRemoveRoleOutput
44
- attr_accessor errors: ::Array[Types::BatchError]
45
72
  attr_accessor removed_accessor_ids: ::Array[::String]
73
+ attr_accessor errors: ::Array[Types::BatchError]
46
74
  SENSITIVE: []
47
75
  end
48
76
 
77
+ class ChannelData
78
+ attr_accessor space_id: ::String
79
+ attr_accessor channel_id: ::String
80
+ attr_accessor channel_name: ::String
81
+ attr_accessor channel_description: ::String
82
+ attr_accessor create_date_time: ::Time
83
+ attr_accessor delete_date_time: ::Time
84
+ attr_accessor channel_status: ("CREATED" | "CREATING" | "CREATE_FAILED" | "DELETED" | "DELETING" | "DELETE_FAILED")
85
+ attr_accessor user_count: ::Integer
86
+ attr_accessor group_count: ::Integer
87
+ SENSITIVE: [:channel_name, :channel_description]
88
+ end
89
+
49
90
  class ConflictException
50
91
  attr_accessor message: ::String
51
92
  attr_accessor resource_id: ::String
@@ -53,15 +94,28 @@ module Aws::Repostspace
53
94
  SENSITIVE: []
54
95
  end
55
96
 
97
+ class CreateChannelInput
98
+ attr_accessor space_id: ::String
99
+ attr_accessor channel_name: ::String
100
+ attr_accessor channel_description: ::String
101
+ SENSITIVE: [:channel_name, :channel_description]
102
+ end
103
+
104
+ class CreateChannelOutput
105
+ attr_accessor channel_id: ::String
106
+ SENSITIVE: []
107
+ end
108
+
56
109
  class CreateSpaceInput
57
- attr_accessor description: ::String
58
110
  attr_accessor name: ::String
59
- attr_accessor role_arn: ::String
60
111
  attr_accessor subdomain: ::String
61
- attr_accessor tags: ::Hash[::String, ::String]
62
112
  attr_accessor tier: ("BASIC" | "STANDARD")
113
+ attr_accessor description: ::String
63
114
  attr_accessor user_kms_key: ::String
64
- SENSITIVE: [:description, :name, :tags]
115
+ attr_accessor tags: ::Hash[::String, ::String]
116
+ attr_accessor role_arn: ::String
117
+ attr_accessor supported_email_domains: Types::SupportedEmailDomainsParameters
118
+ SENSITIVE: [:name, :description, :tags]
65
119
  end
66
120
 
67
121
  class CreateSpaceOutput
@@ -75,39 +129,60 @@ module Aws::Repostspace
75
129
  end
76
130
 
77
131
  class DeregisterAdminInput
132
+ attr_accessor space_id: ::String
78
133
  attr_accessor admin_id: ::String
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class GetChannelInput
79
138
  attr_accessor space_id: ::String
139
+ attr_accessor channel_id: ::String
80
140
  SENSITIVE: []
81
141
  end
82
142
 
143
+ class GetChannelOutput
144
+ attr_accessor space_id: ::String
145
+ attr_accessor channel_id: ::String
146
+ attr_accessor channel_name: ::String
147
+ attr_accessor channel_description: ::String
148
+ attr_accessor create_date_time: ::Time
149
+ attr_accessor delete_date_time: ::Time
150
+ attr_accessor channel_roles: ::Hash[::String, ::Array[("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")]]
151
+ attr_accessor channel_status: ("CREATED" | "CREATING" | "CREATE_FAILED" | "DELETED" | "DELETING" | "DELETE_FAILED")
152
+ SENSITIVE: [:channel_name, :channel_description]
153
+ end
154
+
83
155
  class GetSpaceInput
84
156
  attr_accessor space_id: ::String
85
157
  SENSITIVE: []
86
158
  end
87
159
 
88
160
  class GetSpaceOutput
161
+ attr_accessor space_id: ::String
89
162
  attr_accessor arn: ::String
90
- attr_accessor client_id: ::String
163
+ attr_accessor name: ::String
164
+ attr_accessor status: ::String
91
165
  attr_accessor configuration_status: ("CONFIGURED" | "UNCONFIGURED")
92
- attr_accessor content_size: ::Integer
93
- attr_accessor create_date_time: ::Time
94
- attr_accessor customer_role_arn: ::String
95
- attr_accessor delete_date_time: ::Time
166
+ attr_accessor client_id: ::String
167
+ attr_accessor identity_store_id: ::String
168
+ attr_accessor application_arn: ::String
96
169
  attr_accessor description: ::String
97
- attr_accessor group_admins: ::Array[::String]
98
- attr_accessor name: ::String
170
+ attr_accessor vanity_domain_status: ("PENDING" | "APPROVED" | "UNAPPROVED")
171
+ attr_accessor vanity_domain: ::String
99
172
  attr_accessor random_domain: ::String
100
- attr_accessor roles: ::Hash[::String, ::Array[("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")]]
101
- attr_accessor space_id: ::String
102
- attr_accessor status: ::String
103
- attr_accessor storage_limit: ::Integer
173
+ attr_accessor customer_role_arn: ::String
174
+ attr_accessor create_date_time: ::Time
175
+ attr_accessor delete_date_time: ::Time
104
176
  attr_accessor tier: ("BASIC" | "STANDARD")
177
+ attr_accessor storage_limit: ::Integer
105
178
  attr_accessor user_admins: ::Array[::String]
106
- attr_accessor user_count: ::Integer
179
+ attr_accessor group_admins: ::Array[::String]
180
+ attr_accessor roles: ::Hash[::String, ::Array[("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")]]
107
181
  attr_accessor user_kms_key: ::String
108
- attr_accessor vanity_domain: ::String
109
- attr_accessor vanity_domain_status: ("PENDING" | "APPROVED" | "UNAPPROVED")
110
- SENSITIVE: [:description, :name]
182
+ attr_accessor user_count: ::Integer
183
+ attr_accessor content_size: ::Integer
184
+ attr_accessor supported_email_domains: Types::SupportedEmailDomainsStatus
185
+ SENSITIVE: [:name, :description]
111
186
  end
112
187
 
113
188
  class InternalServerException
@@ -116,15 +191,28 @@ module Aws::Repostspace
116
191
  SENSITIVE: []
117
192
  end
118
193
 
119
- class ListSpacesInput
194
+ class ListChannelsInput
195
+ attr_accessor space_id: ::String
196
+ attr_accessor next_token: ::String
120
197
  attr_accessor max_results: ::Integer
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class ListChannelsOutput
202
+ attr_accessor channels: ::Array[Types::ChannelData]
121
203
  attr_accessor next_token: ::String
122
204
  SENSITIVE: []
123
205
  end
124
206
 
125
- class ListSpacesOutput
207
+ class ListSpacesInput
126
208
  attr_accessor next_token: ::String
209
+ attr_accessor max_results: ::Integer
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class ListSpacesOutput
127
214
  attr_accessor spaces: ::Array[Types::SpaceData]
215
+ attr_accessor next_token: ::String
128
216
  SENSITIVE: []
129
217
  end
130
218
 
@@ -139,8 +227,8 @@ module Aws::Repostspace
139
227
  end
140
228
 
141
229
  class RegisterAdminInput
142
- attr_accessor admin_id: ::String
143
230
  attr_accessor space_id: ::String
231
+ attr_accessor admin_id: ::String
144
232
  SENSITIVE: []
145
233
  end
146
234
 
@@ -152,40 +240,53 @@ module Aws::Repostspace
152
240
  end
153
241
 
154
242
  class SendInvitesInput
155
- attr_accessor accessor_ids: ::Array[::String]
156
- attr_accessor body: ::String
157
243
  attr_accessor space_id: ::String
244
+ attr_accessor accessor_ids: ::Array[::String]
158
245
  attr_accessor title: ::String
159
- SENSITIVE: [:body, :title]
246
+ attr_accessor body: ::String
247
+ SENSITIVE: [:title, :body]
160
248
  end
161
249
 
162
250
  class ServiceQuotaExceededException
163
251
  attr_accessor message: ::String
164
- attr_accessor quota_code: ::String
165
252
  attr_accessor resource_id: ::String
166
253
  attr_accessor resource_type: ::String
167
254
  attr_accessor service_code: ::String
255
+ attr_accessor quota_code: ::String
168
256
  SENSITIVE: []
169
257
  end
170
258
 
171
259
  class SpaceData
260
+ attr_accessor space_id: ::String
172
261
  attr_accessor arn: ::String
173
- attr_accessor configuration_status: ("CONFIGURED" | "UNCONFIGURED")
174
- attr_accessor content_size: ::Integer
175
- attr_accessor create_date_time: ::Time
176
- attr_accessor delete_date_time: ::Time
177
- attr_accessor description: ::String
178
262
  attr_accessor name: ::String
179
- attr_accessor random_domain: ::String
180
- attr_accessor space_id: ::String
263
+ attr_accessor description: ::String
181
264
  attr_accessor status: ::String
182
- attr_accessor storage_limit: ::Integer
265
+ attr_accessor configuration_status: ("CONFIGURED" | "UNCONFIGURED")
266
+ attr_accessor vanity_domain_status: ("PENDING" | "APPROVED" | "UNAPPROVED")
267
+ attr_accessor vanity_domain: ::String
268
+ attr_accessor random_domain: ::String
183
269
  attr_accessor tier: ("BASIC" | "STANDARD")
184
- attr_accessor user_count: ::Integer
270
+ attr_accessor storage_limit: ::Integer
271
+ attr_accessor create_date_time: ::Time
272
+ attr_accessor delete_date_time: ::Time
185
273
  attr_accessor user_kms_key: ::String
186
- attr_accessor vanity_domain: ::String
187
- attr_accessor vanity_domain_status: ("PENDING" | "APPROVED" | "UNAPPROVED")
188
- SENSITIVE: [:description, :name]
274
+ attr_accessor user_count: ::Integer
275
+ attr_accessor content_size: ::Integer
276
+ attr_accessor supported_email_domains: Types::SupportedEmailDomainsStatus
277
+ SENSITIVE: [:name, :description]
278
+ end
279
+
280
+ class SupportedEmailDomainsParameters
281
+ attr_accessor enabled: ("ENABLED" | "DISABLED")
282
+ attr_accessor allowed_domains: ::Array[::String]
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class SupportedEmailDomainsStatus
287
+ attr_accessor enabled: ("ENABLED" | "DISABLED" | "NOT_ALLOWED")
288
+ attr_accessor allowed_domains: ::Array[::String]
289
+ SENSITIVE: []
189
290
  end
190
291
 
191
292
  class TagResourceRequest
@@ -199,9 +300,9 @@ module Aws::Repostspace
199
300
 
200
301
  class ThrottlingException
201
302
  attr_accessor message: ::String
303
+ attr_accessor service_code: ::String
202
304
  attr_accessor quota_code: ::String
203
305
  attr_accessor retry_after_seconds: ::Integer
204
- attr_accessor service_code: ::String
205
306
  SENSITIVE: []
206
307
  end
207
308
 
@@ -214,24 +315,36 @@ module Aws::Repostspace
214
315
  class UntagResourceResponse < Aws::EmptyStructure
215
316
  end
216
317
 
318
+ class UpdateChannelInput
319
+ attr_accessor space_id: ::String
320
+ attr_accessor channel_id: ::String
321
+ attr_accessor channel_name: ::String
322
+ attr_accessor channel_description: ::String
323
+ SENSITIVE: [:channel_name, :channel_description]
324
+ end
325
+
326
+ class UpdateChannelOutput < Aws::EmptyStructure
327
+ end
328
+
217
329
  class UpdateSpaceInput
218
- attr_accessor description: ::String
219
- attr_accessor role_arn: ::String
220
330
  attr_accessor space_id: ::String
331
+ attr_accessor description: ::String
221
332
  attr_accessor tier: ("BASIC" | "STANDARD")
333
+ attr_accessor role_arn: ::String
334
+ attr_accessor supported_email_domains: Types::SupportedEmailDomainsParameters
222
335
  SENSITIVE: [:description]
223
336
  end
224
337
 
225
338
  class ValidationException
226
- attr_accessor field_list: ::Array[Types::ValidationExceptionField]
227
339
  attr_accessor message: ::String
228
340
  attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
341
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
229
342
  SENSITIVE: []
230
343
  end
231
344
 
232
345
  class ValidationExceptionField
233
- attr_accessor message: ::String
234
346
  attr_accessor name: ::String
347
+ attr_accessor message: ::String
235
348
  SENSITIVE: []
236
349
  end
237
350
  end
data/sig/waiters.rbs CHANGED
@@ -8,6 +8,48 @@
8
8
  module Aws
9
9
  module Repostspace
10
10
  module Waiters
11
+
12
+ class ChannelCreated
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ space_id: ::String,
18
+ channel_id: ::String
19
+ ) -> Client::_GetChannelResponseSuccess
20
+ | (Hash[Symbol, untyped]) -> Client::_GetChannelResponseSuccess
21
+ end
22
+
23
+ class ChannelDeleted
24
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
25
+ | (?Hash[Symbol, untyped]) -> void
26
+
27
+ def wait: (
28
+ space_id: ::String,
29
+ channel_id: ::String
30
+ ) -> Client::_GetChannelResponseSuccess
31
+ | (Hash[Symbol, untyped]) -> Client::_GetChannelResponseSuccess
32
+ end
33
+
34
+ class SpaceCreated
35
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
36
+ | (?Hash[Symbol, untyped]) -> void
37
+
38
+ def wait: (
39
+ space_id: ::String
40
+ ) -> Client::_GetSpaceResponseSuccess
41
+ | (Hash[Symbol, untyped]) -> Client::_GetSpaceResponseSuccess
42
+ end
43
+
44
+ class SpaceDeleted
45
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
46
+ | (?Hash[Symbol, untyped]) -> void
47
+
48
+ def wait: (
49
+ space_id: ::String
50
+ ) -> Client::_GetSpaceResponseSuccess
51
+ | (Hash[Symbol, untyped]) -> Client::_GetSpaceResponseSuccess
52
+ end
11
53
  end
12
54
  end
13
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-repostspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -65,6 +65,7 @@ files:
65
65
  - lib/aws-sdk-repostspace/plugins/endpoints.rb
66
66
  - lib/aws-sdk-repostspace/resource.rb
67
67
  - lib/aws-sdk-repostspace/types.rb
68
+ - lib/aws-sdk-repostspace/waiters.rb
68
69
  - sig/client.rbs
69
70
  - sig/errors.rbs
70
71
  - sig/resource.rbs