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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-repostspace/client.rb +679 -99
- data/lib/aws-sdk-repostspace/client_api.rb +262 -54
- data/lib/aws-sdk-repostspace/errors.rb +15 -15
- data/lib/aws-sdk-repostspace/types.rb +572 -201
- data/lib/aws-sdk-repostspace/waiters.rb +289 -0
- data/lib/aws-sdk-repostspace.rb +3 -2
- data/sig/client.rbs +149 -35
- data/sig/errors.rbs +3 -3
- data/sig/types.rbs +159 -46
- data/sig/waiters.rbs +42 -0
- metadata +2 -1
@@ -0,0 +1,289 @@
|
|
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::Repostspace
|
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
|
+
# | channel_created | {Client#get_channel} | 2 | 60 |
|
73
|
+
# | channel_deleted | {Client#get_channel} | 2 | 60 |
|
74
|
+
# | space_created | {Client#get_space} | 300 | 24 |
|
75
|
+
# | space_deleted | {Client#get_space} | 300 | 24 |
|
76
|
+
#
|
77
|
+
module Waiters
|
78
|
+
|
79
|
+
class ChannelCreated
|
80
|
+
|
81
|
+
# @param [Hash] options
|
82
|
+
# @option options [required, Client] :client
|
83
|
+
# @option options [Integer] :max_attempts (60)
|
84
|
+
# @option options [Integer] :delay (2)
|
85
|
+
# @option options [Proc] :before_attempt
|
86
|
+
# @option options [Proc] :before_wait
|
87
|
+
def initialize(options)
|
88
|
+
@client = options.fetch(:client)
|
89
|
+
@waiter = Aws::Waiters::Waiter.new({
|
90
|
+
max_attempts: 60,
|
91
|
+
delay: 2,
|
92
|
+
poller: Aws::Waiters::Poller.new(
|
93
|
+
operation_name: :get_channel,
|
94
|
+
acceptors: [
|
95
|
+
{
|
96
|
+
"matcher" => "path",
|
97
|
+
"argument" => "channel_status",
|
98
|
+
"state" => "success",
|
99
|
+
"expected" => "CREATED"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"matcher" => "path",
|
103
|
+
"argument" => "channel_status",
|
104
|
+
"state" => "failure",
|
105
|
+
"expected" => "CREATE_FAILED"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"matcher" => "path",
|
109
|
+
"argument" => "channel_status",
|
110
|
+
"state" => "retry",
|
111
|
+
"expected" => "CREATING"
|
112
|
+
}
|
113
|
+
]
|
114
|
+
)
|
115
|
+
}.merge(options))
|
116
|
+
end
|
117
|
+
|
118
|
+
# @option (see Client#get_channel)
|
119
|
+
# @return (see Client#get_channel)
|
120
|
+
def wait(params = {})
|
121
|
+
@waiter.wait(client: @client, params: params)
|
122
|
+
end
|
123
|
+
|
124
|
+
# @api private
|
125
|
+
attr_reader :waiter
|
126
|
+
|
127
|
+
end
|
128
|
+
|
129
|
+
class ChannelDeleted
|
130
|
+
|
131
|
+
# @param [Hash] options
|
132
|
+
# @option options [required, Client] :client
|
133
|
+
# @option options [Integer] :max_attempts (60)
|
134
|
+
# @option options [Integer] :delay (2)
|
135
|
+
# @option options [Proc] :before_attempt
|
136
|
+
# @option options [Proc] :before_wait
|
137
|
+
def initialize(options)
|
138
|
+
@client = options.fetch(:client)
|
139
|
+
@waiter = Aws::Waiters::Waiter.new({
|
140
|
+
max_attempts: 60,
|
141
|
+
delay: 2,
|
142
|
+
poller: Aws::Waiters::Poller.new(
|
143
|
+
operation_name: :get_channel,
|
144
|
+
acceptors: [
|
145
|
+
{
|
146
|
+
"matcher" => "error",
|
147
|
+
"state" => "success",
|
148
|
+
"expected" => "ResourceNotFoundException"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"matcher" => "path",
|
152
|
+
"argument" => "channel_status",
|
153
|
+
"state" => "success",
|
154
|
+
"expected" => "DELETED"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"matcher" => "path",
|
158
|
+
"argument" => "channel_status",
|
159
|
+
"state" => "failure",
|
160
|
+
"expected" => "DELETE_FAILED"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"matcher" => "path",
|
164
|
+
"argument" => "channel_status",
|
165
|
+
"state" => "retry",
|
166
|
+
"expected" => "DELETING"
|
167
|
+
}
|
168
|
+
]
|
169
|
+
)
|
170
|
+
}.merge(options))
|
171
|
+
end
|
172
|
+
|
173
|
+
# @option (see Client#get_channel)
|
174
|
+
# @return (see Client#get_channel)
|
175
|
+
def wait(params = {})
|
176
|
+
@waiter.wait(client: @client, params: params)
|
177
|
+
end
|
178
|
+
|
179
|
+
# @api private
|
180
|
+
attr_reader :waiter
|
181
|
+
|
182
|
+
end
|
183
|
+
|
184
|
+
class SpaceCreated
|
185
|
+
|
186
|
+
# @param [Hash] options
|
187
|
+
# @option options [required, Client] :client
|
188
|
+
# @option options [Integer] :max_attempts (24)
|
189
|
+
# @option options [Integer] :delay (300)
|
190
|
+
# @option options [Proc] :before_attempt
|
191
|
+
# @option options [Proc] :before_wait
|
192
|
+
def initialize(options)
|
193
|
+
@client = options.fetch(:client)
|
194
|
+
@waiter = Aws::Waiters::Waiter.new({
|
195
|
+
max_attempts: 24,
|
196
|
+
delay: 300,
|
197
|
+
poller: Aws::Waiters::Poller.new(
|
198
|
+
operation_name: :get_space,
|
199
|
+
acceptors: [
|
200
|
+
{
|
201
|
+
"matcher" => "path",
|
202
|
+
"argument" => "status",
|
203
|
+
"state" => "success",
|
204
|
+
"expected" => "CREATED"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"matcher" => "path",
|
208
|
+
"argument" => "status",
|
209
|
+
"state" => "failure",
|
210
|
+
"expected" => "CREATE_FAILED"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"matcher" => "path",
|
214
|
+
"argument" => "status",
|
215
|
+
"state" => "retry",
|
216
|
+
"expected" => "CREATING"
|
217
|
+
}
|
218
|
+
]
|
219
|
+
)
|
220
|
+
}.merge(options))
|
221
|
+
end
|
222
|
+
|
223
|
+
# @option (see Client#get_space)
|
224
|
+
# @return (see Client#get_space)
|
225
|
+
def wait(params = {})
|
226
|
+
@waiter.wait(client: @client, params: params)
|
227
|
+
end
|
228
|
+
|
229
|
+
# @api private
|
230
|
+
attr_reader :waiter
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
class SpaceDeleted
|
235
|
+
|
236
|
+
# @param [Hash] options
|
237
|
+
# @option options [required, Client] :client
|
238
|
+
# @option options [Integer] :max_attempts (24)
|
239
|
+
# @option options [Integer] :delay (300)
|
240
|
+
# @option options [Proc] :before_attempt
|
241
|
+
# @option options [Proc] :before_wait
|
242
|
+
def initialize(options)
|
243
|
+
@client = options.fetch(:client)
|
244
|
+
@waiter = Aws::Waiters::Waiter.new({
|
245
|
+
max_attempts: 24,
|
246
|
+
delay: 300,
|
247
|
+
poller: Aws::Waiters::Poller.new(
|
248
|
+
operation_name: :get_space,
|
249
|
+
acceptors: [
|
250
|
+
{
|
251
|
+
"matcher" => "error",
|
252
|
+
"state" => "success",
|
253
|
+
"expected" => "ResourceNotFoundException"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"matcher" => "path",
|
257
|
+
"argument" => "status",
|
258
|
+
"state" => "success",
|
259
|
+
"expected" => "DELETED"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"matcher" => "path",
|
263
|
+
"argument" => "status",
|
264
|
+
"state" => "failure",
|
265
|
+
"expected" => "DELETE_FAILED"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"matcher" => "path",
|
269
|
+
"argument" => "status",
|
270
|
+
"state" => "retry",
|
271
|
+
"expected" => "DELETING"
|
272
|
+
}
|
273
|
+
]
|
274
|
+
)
|
275
|
+
}.merge(options))
|
276
|
+
end
|
277
|
+
|
278
|
+
# @option (see Client#get_space)
|
279
|
+
# @return (see Client#get_space)
|
280
|
+
def wait(params = {})
|
281
|
+
@waiter.wait(client: @client, params: params)
|
282
|
+
end
|
283
|
+
|
284
|
+
# @api private
|
285
|
+
attr_reader :waiter
|
286
|
+
|
287
|
+
end
|
288
|
+
end
|
289
|
+
end
|
data/lib/aws-sdk-repostspace.rb
CHANGED
@@ -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.
|
26
|
+
# resp = repostspace.batch_add_channel_role_to_accessors(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -49,12 +49,13 @@ module Aws::Repostspace
|
|
49
49
|
end
|
50
50
|
autoload :Client, 'aws-sdk-repostspace/client'
|
51
51
|
autoload :Errors, 'aws-sdk-repostspace/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-repostspace/waiters'
|
52
53
|
autoload :Resource, 'aws-sdk-repostspace/resource'
|
53
54
|
autoload :EndpointParameters, 'aws-sdk-repostspace/endpoint_parameters'
|
54
55
|
autoload :EndpointProvider, 'aws-sdk-repostspace/endpoint_provider'
|
55
56
|
autoload :Endpoints, 'aws-sdk-repostspace/endpoints'
|
56
57
|
|
57
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.23.0'
|
58
59
|
|
59
60
|
end
|
60
61
|
|
data/sig/client.rbs
CHANGED
@@ -77,6 +77,20 @@ module Aws
|
|
77
77
|
| (?Hash[Symbol, untyped]) -> instance
|
78
78
|
|
79
79
|
|
80
|
+
interface _BatchAddChannelRoleToAccessorsResponseSuccess
|
81
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchAddChannelRoleToAccessorsOutput]
|
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_channel_role_to_accessors-instance_method
|
86
|
+
def batch_add_channel_role_to_accessors: (
|
87
|
+
space_id: ::String,
|
88
|
+
channel_id: ::String,
|
89
|
+
accessor_ids: Array[::String],
|
90
|
+
channel_role: ("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")
|
91
|
+
) -> _BatchAddChannelRoleToAccessorsResponseSuccess
|
92
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAddChannelRoleToAccessorsResponseSuccess
|
93
|
+
|
80
94
|
interface _BatchAddRoleResponseSuccess
|
81
95
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchAddRoleOutput]
|
82
96
|
def added_accessor_ids: () -> ::Array[::String]
|
@@ -84,38 +98,68 @@ module Aws
|
|
84
98
|
end
|
85
99
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_add_role-instance_method
|
86
100
|
def batch_add_role: (
|
101
|
+
space_id: ::String,
|
87
102
|
accessor_ids: Array[::String],
|
88
|
-
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
89
|
-
space_id: ::String
|
103
|
+
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
90
104
|
) -> _BatchAddRoleResponseSuccess
|
91
105
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAddRoleResponseSuccess
|
92
106
|
|
107
|
+
interface _BatchRemoveChannelRoleFromAccessorsResponseSuccess
|
108
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchRemoveChannelRoleFromAccessorsOutput]
|
109
|
+
def removed_accessor_ids: () -> ::Array[::String]
|
110
|
+
def errors: () -> ::Array[Types::BatchError]
|
111
|
+
end
|
112
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_remove_channel_role_from_accessors-instance_method
|
113
|
+
def batch_remove_channel_role_from_accessors: (
|
114
|
+
space_id: ::String,
|
115
|
+
channel_id: ::String,
|
116
|
+
accessor_ids: Array[::String],
|
117
|
+
channel_role: ("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")
|
118
|
+
) -> _BatchRemoveChannelRoleFromAccessorsResponseSuccess
|
119
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchRemoveChannelRoleFromAccessorsResponseSuccess
|
120
|
+
|
93
121
|
interface _BatchRemoveRoleResponseSuccess
|
94
122
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchRemoveRoleOutput]
|
95
|
-
def errors: () -> ::Array[Types::BatchError]
|
96
123
|
def removed_accessor_ids: () -> ::Array[::String]
|
124
|
+
def errors: () -> ::Array[Types::BatchError]
|
97
125
|
end
|
98
126
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_remove_role-instance_method
|
99
127
|
def batch_remove_role: (
|
128
|
+
space_id: ::String,
|
100
129
|
accessor_ids: Array[::String],
|
101
|
-
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
102
|
-
space_id: ::String
|
130
|
+
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
103
131
|
) -> _BatchRemoveRoleResponseSuccess
|
104
132
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchRemoveRoleResponseSuccess
|
105
133
|
|
134
|
+
interface _CreateChannelResponseSuccess
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelOutput]
|
136
|
+
def channel_id: () -> ::String
|
137
|
+
end
|
138
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#create_channel-instance_method
|
139
|
+
def create_channel: (
|
140
|
+
space_id: ::String,
|
141
|
+
channel_name: ::String,
|
142
|
+
?channel_description: ::String
|
143
|
+
) -> _CreateChannelResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
|
145
|
+
|
106
146
|
interface _CreateSpaceResponseSuccess
|
107
147
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSpaceOutput]
|
108
148
|
def space_id: () -> ::String
|
109
149
|
end
|
110
150
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#create_space-instance_method
|
111
151
|
def create_space: (
|
112
|
-
?description: ::String,
|
113
152
|
name: ::String,
|
114
|
-
?role_arn: ::String,
|
115
153
|
subdomain: ::String,
|
116
|
-
?tags: Hash[::String, ::String],
|
117
154
|
tier: ("BASIC" | "STANDARD"),
|
118
|
-
?
|
155
|
+
?description: ::String,
|
156
|
+
?user_kms_key: ::String,
|
157
|
+
?tags: Hash[::String, ::String],
|
158
|
+
?role_arn: ::String,
|
159
|
+
?supported_email_domains: {
|
160
|
+
enabled: ("ENABLED" | "DISABLED")?,
|
161
|
+
allowed_domains: Array[::String]?
|
162
|
+
}
|
119
163
|
) -> _CreateSpaceResponseSuccess
|
120
164
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSpaceResponseSuccess
|
121
165
|
|
@@ -127,34 +171,55 @@ module Aws
|
|
127
171
|
|
128
172
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#deregister_admin-instance_method
|
129
173
|
def deregister_admin: (
|
130
|
-
|
131
|
-
|
174
|
+
space_id: ::String,
|
175
|
+
admin_id: ::String
|
132
176
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
133
177
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
134
178
|
|
179
|
+
interface _GetChannelResponseSuccess
|
180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelOutput]
|
181
|
+
def space_id: () -> ::String
|
182
|
+
def channel_id: () -> ::String
|
183
|
+
def channel_name: () -> ::String
|
184
|
+
def channel_description: () -> ::String
|
185
|
+
def create_date_time: () -> ::Time
|
186
|
+
def delete_date_time: () -> ::Time
|
187
|
+
def channel_roles: () -> ::Hash[::String, ::Array[("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")]]
|
188
|
+
def channel_status: () -> ("CREATED" | "CREATING" | "CREATE_FAILED" | "DELETED" | "DELETING" | "DELETE_FAILED")
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#get_channel-instance_method
|
191
|
+
def get_channel: (
|
192
|
+
space_id: ::String,
|
193
|
+
channel_id: ::String
|
194
|
+
) -> _GetChannelResponseSuccess
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelResponseSuccess
|
196
|
+
|
135
197
|
interface _GetSpaceResponseSuccess
|
136
198
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSpaceOutput]
|
199
|
+
def space_id: () -> ::String
|
137
200
|
def arn: () -> ::String
|
138
|
-
def
|
201
|
+
def name: () -> ::String
|
202
|
+
def status: () -> ::String
|
139
203
|
def configuration_status: () -> ("CONFIGURED" | "UNCONFIGURED")
|
140
|
-
def
|
141
|
-
def
|
142
|
-
def
|
143
|
-
def delete_date_time: () -> ::Time
|
204
|
+
def client_id: () -> ::String
|
205
|
+
def identity_store_id: () -> ::String
|
206
|
+
def application_arn: () -> ::String
|
144
207
|
def description: () -> ::String
|
145
|
-
def
|
146
|
-
def
|
208
|
+
def vanity_domain_status: () -> ("PENDING" | "APPROVED" | "UNAPPROVED")
|
209
|
+
def vanity_domain: () -> ::String
|
147
210
|
def random_domain: () -> ::String
|
148
|
-
def
|
149
|
-
def
|
150
|
-
def
|
151
|
-
def storage_limit: () -> ::Integer
|
211
|
+
def customer_role_arn: () -> ::String
|
212
|
+
def create_date_time: () -> ::Time
|
213
|
+
def delete_date_time: () -> ::Time
|
152
214
|
def tier: () -> ("BASIC" | "STANDARD")
|
215
|
+
def storage_limit: () -> ::Integer
|
153
216
|
def user_admins: () -> ::Array[::String]
|
154
|
-
def
|
217
|
+
def group_admins: () -> ::Array[::String]
|
218
|
+
def roles: () -> ::Hash[::String, ::Array[("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")]]
|
155
219
|
def user_kms_key: () -> ::String
|
156
|
-
def
|
157
|
-
def
|
220
|
+
def user_count: () -> ::Integer
|
221
|
+
def content_size: () -> ::Integer
|
222
|
+
def supported_email_domains: () -> Types::SupportedEmailDomainsStatus
|
158
223
|
end
|
159
224
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#get_space-instance_method
|
160
225
|
def get_space: (
|
@@ -162,15 +227,28 @@ module Aws
|
|
162
227
|
) -> _GetSpaceResponseSuccess
|
163
228
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSpaceResponseSuccess
|
164
229
|
|
230
|
+
interface _ListChannelsResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelsOutput]
|
232
|
+
def channels: () -> ::Array[Types::ChannelData]
|
233
|
+
def next_token: () -> ::String
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#list_channels-instance_method
|
236
|
+
def list_channels: (
|
237
|
+
space_id: ::String,
|
238
|
+
?next_token: ::String,
|
239
|
+
?max_results: ::Integer
|
240
|
+
) -> _ListChannelsResponseSuccess
|
241
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
|
242
|
+
|
165
243
|
interface _ListSpacesResponseSuccess
|
166
244
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSpacesOutput]
|
167
|
-
def next_token: () -> ::String
|
168
245
|
def spaces: () -> ::Array[Types::SpaceData]
|
246
|
+
def next_token: () -> ::String
|
169
247
|
end
|
170
248
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#list_spaces-instance_method
|
171
249
|
def list_spaces: (
|
172
|
-
?
|
173
|
-
?
|
250
|
+
?next_token: ::String,
|
251
|
+
?max_results: ::Integer
|
174
252
|
) -> _ListSpacesResponseSuccess
|
175
253
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSpacesResponseSuccess
|
176
254
|
|
@@ -186,17 +264,17 @@ module Aws
|
|
186
264
|
|
187
265
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#register_admin-instance_method
|
188
266
|
def register_admin: (
|
189
|
-
|
190
|
-
|
267
|
+
space_id: ::String,
|
268
|
+
admin_id: ::String
|
191
269
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
192
270
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
193
271
|
|
194
272
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#send_invites-instance_method
|
195
273
|
def send_invites: (
|
196
|
-
accessor_ids: Array[::String],
|
197
|
-
body: ::String,
|
198
274
|
space_id: ::String,
|
199
|
-
|
275
|
+
accessor_ids: Array[::String],
|
276
|
+
title: ::String,
|
277
|
+
body: ::String
|
200
278
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
201
279
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
202
280
|
|
@@ -220,14 +298,50 @@ module Aws
|
|
220
298
|
) -> _UntagResourceResponseSuccess
|
221
299
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
222
300
|
|
301
|
+
interface _UpdateChannelResponseSuccess
|
302
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelOutput]
|
303
|
+
end
|
304
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#update_channel-instance_method
|
305
|
+
def update_channel: (
|
306
|
+
space_id: ::String,
|
307
|
+
channel_id: ::String,
|
308
|
+
channel_name: ::String,
|
309
|
+
?channel_description: ::String
|
310
|
+
) -> _UpdateChannelResponseSuccess
|
311
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
|
312
|
+
|
223
313
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#update_space-instance_method
|
224
314
|
def update_space: (
|
315
|
+
space_id: ::String,
|
225
316
|
?description: ::String,
|
317
|
+
?tier: ("BASIC" | "STANDARD"),
|
226
318
|
?role_arn: ::String,
|
227
|
-
|
228
|
-
|
319
|
+
?supported_email_domains: {
|
320
|
+
enabled: ("ENABLED" | "DISABLED")?,
|
321
|
+
allowed_domains: Array[::String]?
|
322
|
+
}
|
229
323
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
230
324
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
325
|
+
|
326
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#wait_until-instance_method
|
327
|
+
def wait_until: (:channel_created waiter_name,
|
328
|
+
space_id: ::String,
|
329
|
+
channel_id: ::String
|
330
|
+
) -> Client::_GetChannelResponseSuccess
|
331
|
+
| (:channel_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetChannelResponseSuccess
|
332
|
+
| (:channel_deleted waiter_name,
|
333
|
+
space_id: ::String,
|
334
|
+
channel_id: ::String
|
335
|
+
) -> Client::_GetChannelResponseSuccess
|
336
|
+
| (:channel_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetChannelResponseSuccess
|
337
|
+
| (:space_created waiter_name,
|
338
|
+
space_id: ::String
|
339
|
+
) -> Client::_GetSpaceResponseSuccess
|
340
|
+
| (:space_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetSpaceResponseSuccess
|
341
|
+
| (:space_deleted waiter_name,
|
342
|
+
space_id: ::String
|
343
|
+
) -> Client::_GetSpaceResponseSuccess
|
344
|
+
| (:space_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetSpaceResponseSuccess
|
231
345
|
end
|
232
346
|
end
|
233
347
|
end
|
data/sig/errors.rbs
CHANGED
@@ -30,21 +30,21 @@ module Aws
|
|
30
30
|
end
|
31
31
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
32
|
def message: () -> ::String
|
33
|
-
def quota_code: () -> ::String
|
34
33
|
def resource_id: () -> ::String
|
35
34
|
def resource_type: () -> ::String
|
36
35
|
def service_code: () -> ::String
|
36
|
+
def quota_code: () -> ::String
|
37
37
|
end
|
38
38
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
39
|
def message: () -> ::String
|
40
|
+
def service_code: () -> ::String
|
40
41
|
def quota_code: () -> ::String
|
41
42
|
def retry_after_seconds: () -> ::String
|
42
|
-
def service_code: () -> ::String
|
43
43
|
end
|
44
44
|
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
-
def field_list: () -> ::String
|
46
45
|
def message: () -> ::String
|
47
46
|
def reason: () -> ::String
|
47
|
+
def field_list: () -> ::String
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|