aws-sdk-repostspace 1.22.0 → 1.24.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-repostspace/client.rb +697 -107
- 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 +150 -35
- data/sig/errors.rbs +3 -3
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +159 -46
- data/sig/waiters.rbs +42 -0
- metadata +4 -3
@@ -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.24.0'
|
58
59
|
|
59
60
|
end
|
60
61
|
|
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -77,6 +78,20 @@ module Aws
|
|
77
78
|
| (?Hash[Symbol, untyped]) -> instance
|
78
79
|
|
79
80
|
|
81
|
+
interface _BatchAddChannelRoleToAccessorsResponseSuccess
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchAddChannelRoleToAccessorsOutput]
|
83
|
+
def added_accessor_ids: () -> ::Array[::String]
|
84
|
+
def errors: () -> ::Array[Types::BatchError]
|
85
|
+
end
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_add_channel_role_to_accessors-instance_method
|
87
|
+
def batch_add_channel_role_to_accessors: (
|
88
|
+
space_id: ::String,
|
89
|
+
channel_id: ::String,
|
90
|
+
accessor_ids: Array[::String],
|
91
|
+
channel_role: ("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")
|
92
|
+
) -> _BatchAddChannelRoleToAccessorsResponseSuccess
|
93
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAddChannelRoleToAccessorsResponseSuccess
|
94
|
+
|
80
95
|
interface _BatchAddRoleResponseSuccess
|
81
96
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchAddRoleOutput]
|
82
97
|
def added_accessor_ids: () -> ::Array[::String]
|
@@ -84,38 +99,68 @@ module Aws
|
|
84
99
|
end
|
85
100
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_add_role-instance_method
|
86
101
|
def batch_add_role: (
|
102
|
+
space_id: ::String,
|
87
103
|
accessor_ids: Array[::String],
|
88
|
-
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
89
|
-
space_id: ::String
|
104
|
+
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
90
105
|
) -> _BatchAddRoleResponseSuccess
|
91
106
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAddRoleResponseSuccess
|
92
107
|
|
108
|
+
interface _BatchRemoveChannelRoleFromAccessorsResponseSuccess
|
109
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchRemoveChannelRoleFromAccessorsOutput]
|
110
|
+
def removed_accessor_ids: () -> ::Array[::String]
|
111
|
+
def errors: () -> ::Array[Types::BatchError]
|
112
|
+
end
|
113
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_remove_channel_role_from_accessors-instance_method
|
114
|
+
def batch_remove_channel_role_from_accessors: (
|
115
|
+
space_id: ::String,
|
116
|
+
channel_id: ::String,
|
117
|
+
accessor_ids: Array[::String],
|
118
|
+
channel_role: ("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")
|
119
|
+
) -> _BatchRemoveChannelRoleFromAccessorsResponseSuccess
|
120
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchRemoveChannelRoleFromAccessorsResponseSuccess
|
121
|
+
|
93
122
|
interface _BatchRemoveRoleResponseSuccess
|
94
123
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchRemoveRoleOutput]
|
95
|
-
def errors: () -> ::Array[Types::BatchError]
|
96
124
|
def removed_accessor_ids: () -> ::Array[::String]
|
125
|
+
def errors: () -> ::Array[Types::BatchError]
|
97
126
|
end
|
98
127
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#batch_remove_role-instance_method
|
99
128
|
def batch_remove_role: (
|
129
|
+
space_id: ::String,
|
100
130
|
accessor_ids: Array[::String],
|
101
|
-
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
102
|
-
space_id: ::String
|
131
|
+
role: ("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")
|
103
132
|
) -> _BatchRemoveRoleResponseSuccess
|
104
133
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchRemoveRoleResponseSuccess
|
105
134
|
|
135
|
+
interface _CreateChannelResponseSuccess
|
136
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelOutput]
|
137
|
+
def channel_id: () -> ::String
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#create_channel-instance_method
|
140
|
+
def create_channel: (
|
141
|
+
space_id: ::String,
|
142
|
+
channel_name: ::String,
|
143
|
+
?channel_description: ::String
|
144
|
+
) -> _CreateChannelResponseSuccess
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
|
146
|
+
|
106
147
|
interface _CreateSpaceResponseSuccess
|
107
148
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSpaceOutput]
|
108
149
|
def space_id: () -> ::String
|
109
150
|
end
|
110
151
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#create_space-instance_method
|
111
152
|
def create_space: (
|
112
|
-
?description: ::String,
|
113
153
|
name: ::String,
|
114
|
-
?role_arn: ::String,
|
115
154
|
subdomain: ::String,
|
116
|
-
?tags: Hash[::String, ::String],
|
117
155
|
tier: ("BASIC" | "STANDARD"),
|
118
|
-
?
|
156
|
+
?description: ::String,
|
157
|
+
?user_kms_key: ::String,
|
158
|
+
?tags: Hash[::String, ::String],
|
159
|
+
?role_arn: ::String,
|
160
|
+
?supported_email_domains: {
|
161
|
+
enabled: ("ENABLED" | "DISABLED")?,
|
162
|
+
allowed_domains: Array[::String]?
|
163
|
+
}
|
119
164
|
) -> _CreateSpaceResponseSuccess
|
120
165
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSpaceResponseSuccess
|
121
166
|
|
@@ -127,34 +172,55 @@ module Aws
|
|
127
172
|
|
128
173
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#deregister_admin-instance_method
|
129
174
|
def deregister_admin: (
|
130
|
-
|
131
|
-
|
175
|
+
space_id: ::String,
|
176
|
+
admin_id: ::String
|
132
177
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
133
178
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
134
179
|
|
180
|
+
interface _GetChannelResponseSuccess
|
181
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelOutput]
|
182
|
+
def space_id: () -> ::String
|
183
|
+
def channel_id: () -> ::String
|
184
|
+
def channel_name: () -> ::String
|
185
|
+
def channel_description: () -> ::String
|
186
|
+
def create_date_time: () -> ::Time
|
187
|
+
def delete_date_time: () -> ::Time
|
188
|
+
def channel_roles: () -> ::Hash[::String, ::Array[("ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR")]]
|
189
|
+
def channel_status: () -> ("CREATED" | "CREATING" | "CREATE_FAILED" | "DELETED" | "DELETING" | "DELETE_FAILED")
|
190
|
+
end
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#get_channel-instance_method
|
192
|
+
def get_channel: (
|
193
|
+
space_id: ::String,
|
194
|
+
channel_id: ::String
|
195
|
+
) -> _GetChannelResponseSuccess
|
196
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelResponseSuccess
|
197
|
+
|
135
198
|
interface _GetSpaceResponseSuccess
|
136
199
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSpaceOutput]
|
200
|
+
def space_id: () -> ::String
|
137
201
|
def arn: () -> ::String
|
138
|
-
def
|
202
|
+
def name: () -> ::String
|
203
|
+
def status: () -> ::String
|
139
204
|
def configuration_status: () -> ("CONFIGURED" | "UNCONFIGURED")
|
140
|
-
def
|
141
|
-
def
|
142
|
-
def
|
143
|
-
def delete_date_time: () -> ::Time
|
205
|
+
def client_id: () -> ::String
|
206
|
+
def identity_store_id: () -> ::String
|
207
|
+
def application_arn: () -> ::String
|
144
208
|
def description: () -> ::String
|
145
|
-
def
|
146
|
-
def
|
209
|
+
def vanity_domain_status: () -> ("PENDING" | "APPROVED" | "UNAPPROVED")
|
210
|
+
def vanity_domain: () -> ::String
|
147
211
|
def random_domain: () -> ::String
|
148
|
-
def
|
149
|
-
def
|
150
|
-
def
|
151
|
-
def storage_limit: () -> ::Integer
|
212
|
+
def customer_role_arn: () -> ::String
|
213
|
+
def create_date_time: () -> ::Time
|
214
|
+
def delete_date_time: () -> ::Time
|
152
215
|
def tier: () -> ("BASIC" | "STANDARD")
|
216
|
+
def storage_limit: () -> ::Integer
|
153
217
|
def user_admins: () -> ::Array[::String]
|
154
|
-
def
|
218
|
+
def group_admins: () -> ::Array[::String]
|
219
|
+
def roles: () -> ::Hash[::String, ::Array[("EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR")]]
|
155
220
|
def user_kms_key: () -> ::String
|
156
|
-
def
|
157
|
-
def
|
221
|
+
def user_count: () -> ::Integer
|
222
|
+
def content_size: () -> ::Integer
|
223
|
+
def supported_email_domains: () -> Types::SupportedEmailDomainsStatus
|
158
224
|
end
|
159
225
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#get_space-instance_method
|
160
226
|
def get_space: (
|
@@ -162,15 +228,28 @@ module Aws
|
|
162
228
|
) -> _GetSpaceResponseSuccess
|
163
229
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSpaceResponseSuccess
|
164
230
|
|
231
|
+
interface _ListChannelsResponseSuccess
|
232
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelsOutput]
|
233
|
+
def channels: () -> ::Array[Types::ChannelData]
|
234
|
+
def next_token: () -> ::String
|
235
|
+
end
|
236
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#list_channels-instance_method
|
237
|
+
def list_channels: (
|
238
|
+
space_id: ::String,
|
239
|
+
?next_token: ::String,
|
240
|
+
?max_results: ::Integer
|
241
|
+
) -> _ListChannelsResponseSuccess
|
242
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
|
243
|
+
|
165
244
|
interface _ListSpacesResponseSuccess
|
166
245
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSpacesOutput]
|
167
|
-
def next_token: () -> ::String
|
168
246
|
def spaces: () -> ::Array[Types::SpaceData]
|
247
|
+
def next_token: () -> ::String
|
169
248
|
end
|
170
249
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#list_spaces-instance_method
|
171
250
|
def list_spaces: (
|
172
|
-
?
|
173
|
-
?
|
251
|
+
?next_token: ::String,
|
252
|
+
?max_results: ::Integer
|
174
253
|
) -> _ListSpacesResponseSuccess
|
175
254
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSpacesResponseSuccess
|
176
255
|
|
@@ -186,17 +265,17 @@ module Aws
|
|
186
265
|
|
187
266
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#register_admin-instance_method
|
188
267
|
def register_admin: (
|
189
|
-
|
190
|
-
|
268
|
+
space_id: ::String,
|
269
|
+
admin_id: ::String
|
191
270
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
192
271
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
193
272
|
|
194
273
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#send_invites-instance_method
|
195
274
|
def send_invites: (
|
196
|
-
accessor_ids: Array[::String],
|
197
|
-
body: ::String,
|
198
275
|
space_id: ::String,
|
199
|
-
|
276
|
+
accessor_ids: Array[::String],
|
277
|
+
title: ::String,
|
278
|
+
body: ::String
|
200
279
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
201
280
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
202
281
|
|
@@ -220,14 +299,50 @@ module Aws
|
|
220
299
|
) -> _UntagResourceResponseSuccess
|
221
300
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
222
301
|
|
302
|
+
interface _UpdateChannelResponseSuccess
|
303
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelOutput]
|
304
|
+
end
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#update_channel-instance_method
|
306
|
+
def update_channel: (
|
307
|
+
space_id: ::String,
|
308
|
+
channel_id: ::String,
|
309
|
+
channel_name: ::String,
|
310
|
+
?channel_description: ::String
|
311
|
+
) -> _UpdateChannelResponseSuccess
|
312
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
|
313
|
+
|
223
314
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#update_space-instance_method
|
224
315
|
def update_space: (
|
316
|
+
space_id: ::String,
|
225
317
|
?description: ::String,
|
318
|
+
?tier: ("BASIC" | "STANDARD"),
|
226
319
|
?role_arn: ::String,
|
227
|
-
|
228
|
-
|
320
|
+
?supported_email_domains: {
|
321
|
+
enabled: ("ENABLED" | "DISABLED")?,
|
322
|
+
allowed_domains: Array[::String]?
|
323
|
+
}
|
229
324
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
230
325
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
326
|
+
|
327
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Repostspace/Client.html#wait_until-instance_method
|
328
|
+
def wait_until: (:channel_created waiter_name,
|
329
|
+
space_id: ::String,
|
330
|
+
channel_id: ::String
|
331
|
+
) -> Client::_GetChannelResponseSuccess
|
332
|
+
| (:channel_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetChannelResponseSuccess
|
333
|
+
| (:channel_deleted waiter_name,
|
334
|
+
space_id: ::String,
|
335
|
+
channel_id: ::String
|
336
|
+
) -> Client::_GetChannelResponseSuccess
|
337
|
+
| (:channel_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetChannelResponseSuccess
|
338
|
+
| (:space_created waiter_name,
|
339
|
+
space_id: ::String
|
340
|
+
) -> Client::_GetSpaceResponseSuccess
|
341
|
+
| (:space_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetSpaceResponseSuccess
|
342
|
+
| (:space_deleted waiter_name,
|
343
|
+
space_id: ::String
|
344
|
+
) -> Client::_GetSpaceResponseSuccess
|
345
|
+
| (:space_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetSpaceResponseSuccess
|
231
346
|
end
|
232
347
|
end
|
233
348
|
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
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|