aws-sdk-chimesdkidentity 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -0,0 +1,206 @@
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
+ module Aws::ChimeSDKIdentity
11
+
12
+ # When ChimeSDKIdentity returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::ChimeSDKIdentity::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all ChimeSDKIdentity errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::ChimeSDKIdentity::Errors::ServiceError
20
+ # # rescues all ChimeSDKIdentity API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {BadRequestException}
31
+ # * {ConflictException}
32
+ # * {ForbiddenException}
33
+ # * {ResourceLimitExceededException}
34
+ # * {ServiceFailureException}
35
+ # * {ServiceUnavailableException}
36
+ # * {ThrottledClientException}
37
+ # * {UnauthorizedClientException}
38
+ #
39
+ # Additionally, error classes are dynamically generated for service errors based on the error code
40
+ # if they are not defined above.
41
+ module Errors
42
+
43
+ extend Aws::Errors::DynamicErrors
44
+
45
+ class BadRequestException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::ChimeSDKIdentity::Types::BadRequestException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def code
56
+ @code || @data[:code]
57
+ end
58
+
59
+ # @return [String]
60
+ def message
61
+ @message || @data[:message]
62
+ end
63
+ end
64
+
65
+ class ConflictException < ServiceError
66
+
67
+ # @param [Seahorse::Client::RequestContext] context
68
+ # @param [String] message
69
+ # @param [Aws::ChimeSDKIdentity::Types::ConflictException] data
70
+ def initialize(context, message, data = Aws::EmptyStructure.new)
71
+ super(context, message, data)
72
+ end
73
+
74
+ # @return [String]
75
+ def code
76
+ @code || @data[:code]
77
+ end
78
+
79
+ # @return [String]
80
+ def message
81
+ @message || @data[:message]
82
+ end
83
+ end
84
+
85
+ class ForbiddenException < ServiceError
86
+
87
+ # @param [Seahorse::Client::RequestContext] context
88
+ # @param [String] message
89
+ # @param [Aws::ChimeSDKIdentity::Types::ForbiddenException] data
90
+ def initialize(context, message, data = Aws::EmptyStructure.new)
91
+ super(context, message, data)
92
+ end
93
+
94
+ # @return [String]
95
+ def code
96
+ @code || @data[:code]
97
+ end
98
+
99
+ # @return [String]
100
+ def message
101
+ @message || @data[:message]
102
+ end
103
+ end
104
+
105
+ class ResourceLimitExceededException < ServiceError
106
+
107
+ # @param [Seahorse::Client::RequestContext] context
108
+ # @param [String] message
109
+ # @param [Aws::ChimeSDKIdentity::Types::ResourceLimitExceededException] data
110
+ def initialize(context, message, data = Aws::EmptyStructure.new)
111
+ super(context, message, data)
112
+ end
113
+
114
+ # @return [String]
115
+ def code
116
+ @code || @data[:code]
117
+ end
118
+
119
+ # @return [String]
120
+ def message
121
+ @message || @data[:message]
122
+ end
123
+ end
124
+
125
+ class ServiceFailureException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::ChimeSDKIdentity::Types::ServiceFailureException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def code
136
+ @code || @data[:code]
137
+ end
138
+
139
+ # @return [String]
140
+ def message
141
+ @message || @data[:message]
142
+ end
143
+ end
144
+
145
+ class ServiceUnavailableException < ServiceError
146
+
147
+ # @param [Seahorse::Client::RequestContext] context
148
+ # @param [String] message
149
+ # @param [Aws::ChimeSDKIdentity::Types::ServiceUnavailableException] data
150
+ def initialize(context, message, data = Aws::EmptyStructure.new)
151
+ super(context, message, data)
152
+ end
153
+
154
+ # @return [String]
155
+ def code
156
+ @code || @data[:code]
157
+ end
158
+
159
+ # @return [String]
160
+ def message
161
+ @message || @data[:message]
162
+ end
163
+ end
164
+
165
+ class ThrottledClientException < ServiceError
166
+
167
+ # @param [Seahorse::Client::RequestContext] context
168
+ # @param [String] message
169
+ # @param [Aws::ChimeSDKIdentity::Types::ThrottledClientException] data
170
+ def initialize(context, message, data = Aws::EmptyStructure.new)
171
+ super(context, message, data)
172
+ end
173
+
174
+ # @return [String]
175
+ def code
176
+ @code || @data[:code]
177
+ end
178
+
179
+ # @return [String]
180
+ def message
181
+ @message || @data[:message]
182
+ end
183
+ end
184
+
185
+ class UnauthorizedClientException < ServiceError
186
+
187
+ # @param [Seahorse::Client::RequestContext] context
188
+ # @param [String] message
189
+ # @param [Aws::ChimeSDKIdentity::Types::UnauthorizedClientException] data
190
+ def initialize(context, message, data = Aws::EmptyStructure.new)
191
+ super(context, message, data)
192
+ end
193
+
194
+ # @return [String]
195
+ def code
196
+ @code || @data[:code]
197
+ end
198
+
199
+ # @return [String]
200
+ def message
201
+ @message || @data[:message]
202
+ end
203
+ end
204
+
205
+ end
206
+ end
@@ -0,0 +1,26 @@
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
+ module Aws::ChimeSDKIdentity
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,1053 @@
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
+ module Aws::ChimeSDKIdentity
11
+ module Types
12
+
13
+ # The details of an `AppInstance`, an instance of an Amazon Chime SDK
14
+ # messaging application.
15
+ #
16
+ # @!attribute [rw] app_instance_arn
17
+ # The ARN of the messaging instance.
18
+ # @return [String]
19
+ #
20
+ # @!attribute [rw] name
21
+ # The name of an `AppInstance`.
22
+ # @return [String]
23
+ #
24
+ # @!attribute [rw] created_timestamp
25
+ # The time at which an `AppInstance` was created. In epoch
26
+ # milliseconds.
27
+ # @return [Time]
28
+ #
29
+ # @!attribute [rw] last_updated_timestamp
30
+ # The time an `AppInstance` was last updated. In epoch milliseconds.
31
+ # @return [Time]
32
+ #
33
+ # @!attribute [rw] metadata
34
+ # The metadata of an `AppInstance`.
35
+ # @return [String]
36
+ #
37
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstance AWS API Documentation
38
+ #
39
+ class AppInstance < Struct.new(
40
+ :app_instance_arn,
41
+ :name,
42
+ :created_timestamp,
43
+ :last_updated_timestamp,
44
+ :metadata)
45
+ SENSITIVE = [:name, :metadata]
46
+ include Aws::Structure
47
+ end
48
+
49
+ # The details of an `AppInstanceAdmin`.
50
+ #
51
+ # @!attribute [rw] admin
52
+ # The `AppInstanceAdmin` data.
53
+ # @return [Types::Identity]
54
+ #
55
+ # @!attribute [rw] app_instance_arn
56
+ # The ARN of the `AppInstance` for which the user is an administrator.
57
+ # @return [String]
58
+ #
59
+ # @!attribute [rw] created_timestamp
60
+ # The time at which an administrator was created.
61
+ # @return [Time]
62
+ #
63
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstanceAdmin AWS API Documentation
64
+ #
65
+ class AppInstanceAdmin < Struct.new(
66
+ :admin,
67
+ :app_instance_arn,
68
+ :created_timestamp)
69
+ SENSITIVE = []
70
+ include Aws::Structure
71
+ end
72
+
73
+ # Summary of the details of an `AppInstanceAdmin`.
74
+ #
75
+ # @!attribute [rw] admin
76
+ # The details of the `AppInstanceAdmin`.
77
+ # @return [Types::Identity]
78
+ #
79
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstanceAdminSummary AWS API Documentation
80
+ #
81
+ class AppInstanceAdminSummary < Struct.new(
82
+ :admin)
83
+ SENSITIVE = []
84
+ include Aws::Structure
85
+ end
86
+
87
+ # The details of the data-retention settings for an `AppInstance`.
88
+ #
89
+ # @note When making an API call, you may pass AppInstanceRetentionSettings
90
+ # data as a hash:
91
+ #
92
+ # {
93
+ # channel_retention_settings: {
94
+ # retention_days: 1,
95
+ # },
96
+ # }
97
+ #
98
+ # @!attribute [rw] channel_retention_settings
99
+ # The length of time in days to retain the messages in a channel.
100
+ # @return [Types::ChannelRetentionSettings]
101
+ #
102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstanceRetentionSettings AWS API Documentation
103
+ #
104
+ class AppInstanceRetentionSettings < Struct.new(
105
+ :channel_retention_settings)
106
+ SENSITIVE = []
107
+ include Aws::Structure
108
+ end
109
+
110
+ # Summary of the data for an `AppInstance`.
111
+ #
112
+ # @!attribute [rw] app_instance_arn
113
+ # The `AppInstance` ARN.
114
+ # @return [String]
115
+ #
116
+ # @!attribute [rw] name
117
+ # The name of the `AppInstance`.
118
+ # @return [String]
119
+ #
120
+ # @!attribute [rw] metadata
121
+ # The metadata of the `AppInstance`.
122
+ # @return [String]
123
+ #
124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstanceSummary AWS API Documentation
125
+ #
126
+ class AppInstanceSummary < Struct.new(
127
+ :app_instance_arn,
128
+ :name,
129
+ :metadata)
130
+ SENSITIVE = [:name, :metadata]
131
+ include Aws::Structure
132
+ end
133
+
134
+ # The details of an `AppInstanceUser`.
135
+ #
136
+ # @!attribute [rw] app_instance_user_arn
137
+ # The ARN of the `AppInstanceUser`.
138
+ # @return [String]
139
+ #
140
+ # @!attribute [rw] name
141
+ # The name of the `AppInstanceUser`.
142
+ # @return [String]
143
+ #
144
+ # @!attribute [rw] metadata
145
+ # The metadata of the `AppInstanceUser`.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] created_timestamp
149
+ # The time at which the `AppInstanceUser` was created.
150
+ # @return [Time]
151
+ #
152
+ # @!attribute [rw] last_updated_timestamp
153
+ # The time at which the `AppInstanceUser` was last updated.
154
+ # @return [Time]
155
+ #
156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstanceUser AWS API Documentation
157
+ #
158
+ class AppInstanceUser < Struct.new(
159
+ :app_instance_user_arn,
160
+ :name,
161
+ :metadata,
162
+ :created_timestamp,
163
+ :last_updated_timestamp)
164
+ SENSITIVE = [:name, :metadata]
165
+ include Aws::Structure
166
+ end
167
+
168
+ # Summary of the details of an `AppInstanceUser`.
169
+ #
170
+ # @!attribute [rw] app_instance_user_arn
171
+ # The ARN of the `AppInstanceUser`.
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] name
175
+ # The name of an `AppInstanceUser`.
176
+ # @return [String]
177
+ #
178
+ # @!attribute [rw] metadata
179
+ # The metadata of the `AppInstanceUser`.
180
+ # @return [String]
181
+ #
182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/AppInstanceUserSummary AWS API Documentation
183
+ #
184
+ class AppInstanceUserSummary < Struct.new(
185
+ :app_instance_user_arn,
186
+ :name,
187
+ :metadata)
188
+ SENSITIVE = [:name, :metadata]
189
+ include Aws::Structure
190
+ end
191
+
192
+ # The input parameters don't match the service's restrictions.
193
+ #
194
+ # @!attribute [rw] code
195
+ # @return [String]
196
+ #
197
+ # @!attribute [rw] message
198
+ # @return [String]
199
+ #
200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/BadRequestException AWS API Documentation
201
+ #
202
+ class BadRequestException < Struct.new(
203
+ :code,
204
+ :message)
205
+ SENSITIVE = []
206
+ include Aws::Structure
207
+ end
208
+
209
+ # The details of the retention settings for a channel.
210
+ #
211
+ # @note When making an API call, you may pass ChannelRetentionSettings
212
+ # data as a hash:
213
+ #
214
+ # {
215
+ # retention_days: 1,
216
+ # }
217
+ #
218
+ # @!attribute [rw] retention_days
219
+ # The time in days to retain the messages in a channel.
220
+ # @return [Integer]
221
+ #
222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ChannelRetentionSettings AWS API Documentation
223
+ #
224
+ class ChannelRetentionSettings < Struct.new(
225
+ :retention_days)
226
+ SENSITIVE = []
227
+ include Aws::Structure
228
+ end
229
+
230
+ # The request could not be processed because of conflict in the current
231
+ # state of the resource.
232
+ #
233
+ # @!attribute [rw] code
234
+ # @return [String]
235
+ #
236
+ # @!attribute [rw] message
237
+ # @return [String]
238
+ #
239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ConflictException AWS API Documentation
240
+ #
241
+ class ConflictException < Struct.new(
242
+ :code,
243
+ :message)
244
+ SENSITIVE = []
245
+ include Aws::Structure
246
+ end
247
+
248
+ # @note When making an API call, you may pass CreateAppInstanceAdminRequest
249
+ # data as a hash:
250
+ #
251
+ # {
252
+ # app_instance_admin_arn: "ChimeArn", # required
253
+ # app_instance_arn: "ChimeArn", # required
254
+ # }
255
+ #
256
+ # @!attribute [rw] app_instance_admin_arn
257
+ # The ARN of the administrator of the current `AppInstance`.
258
+ # @return [String]
259
+ #
260
+ # @!attribute [rw] app_instance_arn
261
+ # The ARN of the `AppInstance`.
262
+ # @return [String]
263
+ #
264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdminRequest AWS API Documentation
265
+ #
266
+ class CreateAppInstanceAdminRequest < Struct.new(
267
+ :app_instance_admin_arn,
268
+ :app_instance_arn)
269
+ SENSITIVE = []
270
+ include Aws::Structure
271
+ end
272
+
273
+ # @!attribute [rw] app_instance_admin
274
+ # The name and ARN of the admin for the `AppInstance`.
275
+ # @return [Types::Identity]
276
+ #
277
+ # @!attribute [rw] app_instance_arn
278
+ # The ARN of the of the admin for the `AppInstance`.
279
+ # @return [String]
280
+ #
281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdminResponse AWS API Documentation
282
+ #
283
+ class CreateAppInstanceAdminResponse < Struct.new(
284
+ :app_instance_admin,
285
+ :app_instance_arn)
286
+ SENSITIVE = []
287
+ include Aws::Structure
288
+ end
289
+
290
+ # @note When making an API call, you may pass CreateAppInstanceRequest
291
+ # data as a hash:
292
+ #
293
+ # {
294
+ # name: "NonEmptyResourceName", # required
295
+ # metadata: "Metadata",
296
+ # client_request_token: "ClientRequestToken", # required
297
+ # tags: [
298
+ # {
299
+ # key: "TagKey", # required
300
+ # value: "TagValue", # required
301
+ # },
302
+ # ],
303
+ # }
304
+ #
305
+ # @!attribute [rw] name
306
+ # The name of the `AppInstance`.
307
+ # @return [String]
308
+ #
309
+ # @!attribute [rw] metadata
310
+ # The metadata of the `AppInstance`. Limited to a 1KB string in UTF-8.
311
+ # @return [String]
312
+ #
313
+ # @!attribute [rw] client_request_token
314
+ # The `ClientRequestToken` of the `AppInstance`.
315
+ #
316
+ # **A suitable default value is auto-generated.** You should normally
317
+ # not need to pass this option.
318
+ # @return [String]
319
+ #
320
+ # @!attribute [rw] tags
321
+ # Tags assigned to the `AppInstanceUser`.
322
+ # @return [Array<Types::Tag>]
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceRequest AWS API Documentation
325
+ #
326
+ class CreateAppInstanceRequest < Struct.new(
327
+ :name,
328
+ :metadata,
329
+ :client_request_token,
330
+ :tags)
331
+ SENSITIVE = [:name, :metadata, :client_request_token]
332
+ include Aws::Structure
333
+ end
334
+
335
+ # @!attribute [rw] app_instance_arn
336
+ # The Amazon Resource Number (ARN) of the `AppInstance`.
337
+ # @return [String]
338
+ #
339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceResponse AWS API Documentation
340
+ #
341
+ class CreateAppInstanceResponse < Struct.new(
342
+ :app_instance_arn)
343
+ SENSITIVE = []
344
+ include Aws::Structure
345
+ end
346
+
347
+ # @note When making an API call, you may pass CreateAppInstanceUserRequest
348
+ # data as a hash:
349
+ #
350
+ # {
351
+ # app_instance_arn: "ChimeArn", # required
352
+ # app_instance_user_id: "UserId", # required
353
+ # name: "UserName", # required
354
+ # metadata: "Metadata",
355
+ # client_request_token: "ClientRequestToken", # required
356
+ # tags: [
357
+ # {
358
+ # key: "TagKey", # required
359
+ # value: "TagValue", # required
360
+ # },
361
+ # ],
362
+ # }
363
+ #
364
+ # @!attribute [rw] app_instance_arn
365
+ # The ARN of the `AppInstance` request.
366
+ # @return [String]
367
+ #
368
+ # @!attribute [rw] app_instance_user_id
369
+ # The user ID of the `AppInstance`.
370
+ # @return [String]
371
+ #
372
+ # @!attribute [rw] name
373
+ # The user's name.
374
+ # @return [String]
375
+ #
376
+ # @!attribute [rw] metadata
377
+ # The request's metadata. Limited to a 1KB string in UTF-8.
378
+ # @return [String]
379
+ #
380
+ # @!attribute [rw] client_request_token
381
+ # The token assigned to the user requesting an `AppInstance`.
382
+ #
383
+ # **A suitable default value is auto-generated.** You should normally
384
+ # not need to pass this option.
385
+ # @return [String]
386
+ #
387
+ # @!attribute [rw] tags
388
+ # Tags assigned to the `AppInstanceUser`.
389
+ # @return [Array<Types::Tag>]
390
+ #
391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUserRequest AWS API Documentation
392
+ #
393
+ class CreateAppInstanceUserRequest < Struct.new(
394
+ :app_instance_arn,
395
+ :app_instance_user_id,
396
+ :name,
397
+ :metadata,
398
+ :client_request_token,
399
+ :tags)
400
+ SENSITIVE = [:app_instance_user_id, :name, :metadata, :client_request_token]
401
+ include Aws::Structure
402
+ end
403
+
404
+ # @!attribute [rw] app_instance_user_arn
405
+ # The user's ARN.
406
+ # @return [String]
407
+ #
408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUserResponse AWS API Documentation
409
+ #
410
+ class CreateAppInstanceUserResponse < Struct.new(
411
+ :app_instance_user_arn)
412
+ SENSITIVE = []
413
+ include Aws::Structure
414
+ end
415
+
416
+ # @note When making an API call, you may pass DeleteAppInstanceAdminRequest
417
+ # data as a hash:
418
+ #
419
+ # {
420
+ # app_instance_admin_arn: "ChimeArn", # required
421
+ # app_instance_arn: "ChimeArn", # required
422
+ # }
423
+ #
424
+ # @!attribute [rw] app_instance_admin_arn
425
+ # The ARN of the `AppInstance`'s administrator.
426
+ # @return [String]
427
+ #
428
+ # @!attribute [rw] app_instance_arn
429
+ # The ARN of the `AppInstance`.
430
+ # @return [String]
431
+ #
432
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdminRequest AWS API Documentation
433
+ #
434
+ class DeleteAppInstanceAdminRequest < Struct.new(
435
+ :app_instance_admin_arn,
436
+ :app_instance_arn)
437
+ SENSITIVE = []
438
+ include Aws::Structure
439
+ end
440
+
441
+ # @note When making an API call, you may pass DeleteAppInstanceRequest
442
+ # data as a hash:
443
+ #
444
+ # {
445
+ # app_instance_arn: "ChimeArn", # required
446
+ # }
447
+ #
448
+ # @!attribute [rw] app_instance_arn
449
+ # The ARN of the `AppInstance`.
450
+ # @return [String]
451
+ #
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceRequest AWS API Documentation
453
+ #
454
+ class DeleteAppInstanceRequest < Struct.new(
455
+ :app_instance_arn)
456
+ SENSITIVE = []
457
+ include Aws::Structure
458
+ end
459
+
460
+ # @note When making an API call, you may pass DeleteAppInstanceUserRequest
461
+ # data as a hash:
462
+ #
463
+ # {
464
+ # app_instance_user_arn: "ChimeArn", # required
465
+ # }
466
+ #
467
+ # @!attribute [rw] app_instance_user_arn
468
+ # The ARN of the user request being deleted.
469
+ # @return [String]
470
+ #
471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUserRequest AWS API Documentation
472
+ #
473
+ class DeleteAppInstanceUserRequest < Struct.new(
474
+ :app_instance_user_arn)
475
+ SENSITIVE = []
476
+ include Aws::Structure
477
+ end
478
+
479
+ # @note When making an API call, you may pass DescribeAppInstanceAdminRequest
480
+ # data as a hash:
481
+ #
482
+ # {
483
+ # app_instance_admin_arn: "ChimeArn", # required
484
+ # app_instance_arn: "ChimeArn", # required
485
+ # }
486
+ #
487
+ # @!attribute [rw] app_instance_admin_arn
488
+ # The ARN of the `AppInstanceAdmin`.
489
+ # @return [String]
490
+ #
491
+ # @!attribute [rw] app_instance_arn
492
+ # The ARN of the `AppInstance`.
493
+ # @return [String]
494
+ #
495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdminRequest AWS API Documentation
496
+ #
497
+ class DescribeAppInstanceAdminRequest < Struct.new(
498
+ :app_instance_admin_arn,
499
+ :app_instance_arn)
500
+ SENSITIVE = []
501
+ include Aws::Structure
502
+ end
503
+
504
+ # @!attribute [rw] app_instance_admin
505
+ # The ARN and name of the `AppInstanceUser`, the ARN of the
506
+ # `AppInstance`, and the created and last-updated timestamps. All
507
+ # timestamps use epoch milliseconds.
508
+ # @return [Types::AppInstanceAdmin]
509
+ #
510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdminResponse AWS API Documentation
511
+ #
512
+ class DescribeAppInstanceAdminResponse < Struct.new(
513
+ :app_instance_admin)
514
+ SENSITIVE = []
515
+ include Aws::Structure
516
+ end
517
+
518
+ # @note When making an API call, you may pass DescribeAppInstanceRequest
519
+ # data as a hash:
520
+ #
521
+ # {
522
+ # app_instance_arn: "ChimeArn", # required
523
+ # }
524
+ #
525
+ # @!attribute [rw] app_instance_arn
526
+ # The ARN of the `AppInstance`.
527
+ # @return [String]
528
+ #
529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceRequest AWS API Documentation
530
+ #
531
+ class DescribeAppInstanceRequest < Struct.new(
532
+ :app_instance_arn)
533
+ SENSITIVE = []
534
+ include Aws::Structure
535
+ end
536
+
537
+ # @!attribute [rw] app_instance
538
+ # The ARN, metadata, created and last-updated timestamps, and the name
539
+ # of the `AppInstance`. All timestamps use epoch milliseconds.
540
+ # @return [Types::AppInstance]
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceResponse AWS API Documentation
543
+ #
544
+ class DescribeAppInstanceResponse < Struct.new(
545
+ :app_instance)
546
+ SENSITIVE = []
547
+ include Aws::Structure
548
+ end
549
+
550
+ # @note When making an API call, you may pass DescribeAppInstanceUserRequest
551
+ # data as a hash:
552
+ #
553
+ # {
554
+ # app_instance_user_arn: "ChimeArn", # required
555
+ # }
556
+ #
557
+ # @!attribute [rw] app_instance_user_arn
558
+ # The ARN of the `AppInstanceUser`.
559
+ # @return [String]
560
+ #
561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserRequest AWS API Documentation
562
+ #
563
+ class DescribeAppInstanceUserRequest < Struct.new(
564
+ :app_instance_user_arn)
565
+ SENSITIVE = []
566
+ include Aws::Structure
567
+ end
568
+
569
+ # @!attribute [rw] app_instance_user
570
+ # The name of the `AppInstanceUser`.
571
+ # @return [Types::AppInstanceUser]
572
+ #
573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserResponse AWS API Documentation
574
+ #
575
+ class DescribeAppInstanceUserResponse < Struct.new(
576
+ :app_instance_user)
577
+ SENSITIVE = []
578
+ include Aws::Structure
579
+ end
580
+
581
+ # The client is permanently forbidden from making the request.
582
+ #
583
+ # @!attribute [rw] code
584
+ # @return [String]
585
+ #
586
+ # @!attribute [rw] message
587
+ # @return [String]
588
+ #
589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ForbiddenException AWS API Documentation
590
+ #
591
+ class ForbiddenException < Struct.new(
592
+ :code,
593
+ :message)
594
+ SENSITIVE = []
595
+ include Aws::Structure
596
+ end
597
+
598
+ # @note When making an API call, you may pass GetAppInstanceRetentionSettingsRequest
599
+ # data as a hash:
600
+ #
601
+ # {
602
+ # app_instance_arn: "ChimeArn", # required
603
+ # }
604
+ #
605
+ # @!attribute [rw] app_instance_arn
606
+ # The ARN of the `AppInstance`.
607
+ # @return [String]
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettingsRequest AWS API Documentation
610
+ #
611
+ class GetAppInstanceRetentionSettingsRequest < Struct.new(
612
+ :app_instance_arn)
613
+ SENSITIVE = []
614
+ include Aws::Structure
615
+ end
616
+
617
+ # @!attribute [rw] app_instance_retention_settings
618
+ # The retention settings for the `AppInstance`.
619
+ # @return [Types::AppInstanceRetentionSettings]
620
+ #
621
+ # @!attribute [rw] initiate_deletion_timestamp
622
+ # The timestamp representing the time at which the specified items are
623
+ # retained, in Epoch Seconds.
624
+ # @return [Time]
625
+ #
626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettingsResponse AWS API Documentation
627
+ #
628
+ class GetAppInstanceRetentionSettingsResponse < Struct.new(
629
+ :app_instance_retention_settings,
630
+ :initiate_deletion_timestamp)
631
+ SENSITIVE = []
632
+ include Aws::Structure
633
+ end
634
+
635
+ # The details of a user.
636
+ #
637
+ # @!attribute [rw] arn
638
+ # The ARN in an Identity.
639
+ # @return [String]
640
+ #
641
+ # @!attribute [rw] name
642
+ # The name in an Identity.
643
+ # @return [String]
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/Identity AWS API Documentation
646
+ #
647
+ class Identity < Struct.new(
648
+ :arn,
649
+ :name)
650
+ SENSITIVE = [:name]
651
+ include Aws::Structure
652
+ end
653
+
654
+ # @note When making an API call, you may pass ListAppInstanceAdminsRequest
655
+ # data as a hash:
656
+ #
657
+ # {
658
+ # app_instance_arn: "ChimeArn", # required
659
+ # max_results: 1,
660
+ # next_token: "NextToken",
661
+ # }
662
+ #
663
+ # @!attribute [rw] app_instance_arn
664
+ # The ARN of the `AppInstance`.
665
+ # @return [String]
666
+ #
667
+ # @!attribute [rw] max_results
668
+ # The maximum number of administrators that you want to return.
669
+ # @return [Integer]
670
+ #
671
+ # @!attribute [rw] next_token
672
+ # The token returned from previous API requests until the number of
673
+ # administrators is reached.
674
+ # @return [String]
675
+ #
676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdminsRequest AWS API Documentation
677
+ #
678
+ class ListAppInstanceAdminsRequest < Struct.new(
679
+ :app_instance_arn,
680
+ :max_results,
681
+ :next_token)
682
+ SENSITIVE = [:next_token]
683
+ include Aws::Structure
684
+ end
685
+
686
+ # @!attribute [rw] app_instance_arn
687
+ # The ARN of the `AppInstance`.
688
+ # @return [String]
689
+ #
690
+ # @!attribute [rw] app_instance_admins
691
+ # The information for each administrator.
692
+ # @return [Array<Types::AppInstanceAdminSummary>]
693
+ #
694
+ # @!attribute [rw] next_token
695
+ # The token returned from previous API requests until the number of
696
+ # administrators is reached.
697
+ # @return [String]
698
+ #
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdminsResponse AWS API Documentation
700
+ #
701
+ class ListAppInstanceAdminsResponse < Struct.new(
702
+ :app_instance_arn,
703
+ :app_instance_admins,
704
+ :next_token)
705
+ SENSITIVE = [:next_token]
706
+ include Aws::Structure
707
+ end
708
+
709
+ # @note When making an API call, you may pass ListAppInstanceUsersRequest
710
+ # data as a hash:
711
+ #
712
+ # {
713
+ # app_instance_arn: "ChimeArn", # required
714
+ # max_results: 1,
715
+ # next_token: "NextToken",
716
+ # }
717
+ #
718
+ # @!attribute [rw] app_instance_arn
719
+ # The ARN of the `AppInstance`.
720
+ # @return [String]
721
+ #
722
+ # @!attribute [rw] max_results
723
+ # The maximum number of requests that you want returned.
724
+ # @return [Integer]
725
+ #
726
+ # @!attribute [rw] next_token
727
+ # The token passed by previous API calls until all requested users are
728
+ # returned.
729
+ # @return [String]
730
+ #
731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsersRequest AWS API Documentation
732
+ #
733
+ class ListAppInstanceUsersRequest < Struct.new(
734
+ :app_instance_arn,
735
+ :max_results,
736
+ :next_token)
737
+ SENSITIVE = [:next_token]
738
+ include Aws::Structure
739
+ end
740
+
741
+ # @!attribute [rw] app_instance_arn
742
+ # The ARN of the `AppInstance`.
743
+ # @return [String]
744
+ #
745
+ # @!attribute [rw] app_instance_users
746
+ # The information for each requested `AppInstanceUser`.
747
+ # @return [Array<Types::AppInstanceUserSummary>]
748
+ #
749
+ # @!attribute [rw] next_token
750
+ # The token passed by previous API calls until all requested users are
751
+ # returned.
752
+ # @return [String]
753
+ #
754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsersResponse AWS API Documentation
755
+ #
756
+ class ListAppInstanceUsersResponse < Struct.new(
757
+ :app_instance_arn,
758
+ :app_instance_users,
759
+ :next_token)
760
+ SENSITIVE = [:next_token]
761
+ include Aws::Structure
762
+ end
763
+
764
+ # @note When making an API call, you may pass ListAppInstancesRequest
765
+ # data as a hash:
766
+ #
767
+ # {
768
+ # max_results: 1,
769
+ # next_token: "NextToken",
770
+ # }
771
+ #
772
+ # @!attribute [rw] max_results
773
+ # The maximum number of `AppInstance`s that you want to return.
774
+ # @return [Integer]
775
+ #
776
+ # @!attribute [rw] next_token
777
+ # The token passed by previous API requests until you reach the
778
+ # maximum number of `AppInstances`.
779
+ # @return [String]
780
+ #
781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstancesRequest AWS API Documentation
782
+ #
783
+ class ListAppInstancesRequest < Struct.new(
784
+ :max_results,
785
+ :next_token)
786
+ SENSITIVE = [:next_token]
787
+ include Aws::Structure
788
+ end
789
+
790
+ # @!attribute [rw] app_instances
791
+ # The information for each `AppInstance`.
792
+ # @return [Array<Types::AppInstanceSummary>]
793
+ #
794
+ # @!attribute [rw] next_token
795
+ # The token passed by previous API requests until the maximum number
796
+ # of `AppInstance`s is reached.
797
+ # @return [String]
798
+ #
799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstancesResponse AWS API Documentation
800
+ #
801
+ class ListAppInstancesResponse < Struct.new(
802
+ :app_instances,
803
+ :next_token)
804
+ SENSITIVE = [:next_token]
805
+ include Aws::Structure
806
+ end
807
+
808
+ # @note When making an API call, you may pass PutAppInstanceRetentionSettingsRequest
809
+ # data as a hash:
810
+ #
811
+ # {
812
+ # app_instance_arn: "ChimeArn", # required
813
+ # app_instance_retention_settings: { # required
814
+ # channel_retention_settings: {
815
+ # retention_days: 1,
816
+ # },
817
+ # },
818
+ # }
819
+ #
820
+ # @!attribute [rw] app_instance_arn
821
+ # The ARN of the `AppInstance`.
822
+ # @return [String]
823
+ #
824
+ # @!attribute [rw] app_instance_retention_settings
825
+ # The time in days to retain data. Data type: number.
826
+ # @return [Types::AppInstanceRetentionSettings]
827
+ #
828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettingsRequest AWS API Documentation
829
+ #
830
+ class PutAppInstanceRetentionSettingsRequest < Struct.new(
831
+ :app_instance_arn,
832
+ :app_instance_retention_settings)
833
+ SENSITIVE = []
834
+ include Aws::Structure
835
+ end
836
+
837
+ # @!attribute [rw] app_instance_retention_settings
838
+ # The time in days to retain data. Data type: number.
839
+ # @return [Types::AppInstanceRetentionSettings]
840
+ #
841
+ # @!attribute [rw] initiate_deletion_timestamp
842
+ # The time at which the API deletes data.
843
+ # @return [Time]
844
+ #
845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettingsResponse AWS API Documentation
846
+ #
847
+ class PutAppInstanceRetentionSettingsResponse < Struct.new(
848
+ :app_instance_retention_settings,
849
+ :initiate_deletion_timestamp)
850
+ SENSITIVE = []
851
+ include Aws::Structure
852
+ end
853
+
854
+ # The request exceeds the resource limit.
855
+ #
856
+ # @!attribute [rw] code
857
+ # @return [String]
858
+ #
859
+ # @!attribute [rw] message
860
+ # @return [String]
861
+ #
862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ResourceLimitExceededException AWS API Documentation
863
+ #
864
+ class ResourceLimitExceededException < Struct.new(
865
+ :code,
866
+ :message)
867
+ SENSITIVE = []
868
+ include Aws::Structure
869
+ end
870
+
871
+ # The service encountered an unexpected error.
872
+ #
873
+ # @!attribute [rw] code
874
+ # @return [String]
875
+ #
876
+ # @!attribute [rw] message
877
+ # @return [String]
878
+ #
879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ServiceFailureException AWS API Documentation
880
+ #
881
+ class ServiceFailureException < Struct.new(
882
+ :code,
883
+ :message)
884
+ SENSITIVE = []
885
+ include Aws::Structure
886
+ end
887
+
888
+ # The service is currently unavailable.
889
+ #
890
+ # @!attribute [rw] code
891
+ # @return [String]
892
+ #
893
+ # @!attribute [rw] message
894
+ # @return [String]
895
+ #
896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ServiceUnavailableException AWS API Documentation
897
+ #
898
+ class ServiceUnavailableException < Struct.new(
899
+ :code,
900
+ :message)
901
+ SENSITIVE = []
902
+ include Aws::Structure
903
+ end
904
+
905
+ # Describes a tag applied to a resource.
906
+ #
907
+ # @note When making an API call, you may pass Tag
908
+ # data as a hash:
909
+ #
910
+ # {
911
+ # key: "TagKey", # required
912
+ # value: "TagValue", # required
913
+ # }
914
+ #
915
+ # @!attribute [rw] key
916
+ # The key of the tag.
917
+ # @return [String]
918
+ #
919
+ # @!attribute [rw] value
920
+ # The value of the tag.
921
+ # @return [String]
922
+ #
923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/Tag AWS API Documentation
924
+ #
925
+ class Tag < Struct.new(
926
+ :key,
927
+ :value)
928
+ SENSITIVE = [:key, :value]
929
+ include Aws::Structure
930
+ end
931
+
932
+ # The client exceeded its request rate limit.
933
+ #
934
+ # @!attribute [rw] code
935
+ # @return [String]
936
+ #
937
+ # @!attribute [rw] message
938
+ # @return [String]
939
+ #
940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ThrottledClientException AWS API Documentation
941
+ #
942
+ class ThrottledClientException < Struct.new(
943
+ :code,
944
+ :message)
945
+ SENSITIVE = []
946
+ include Aws::Structure
947
+ end
948
+
949
+ # The client is not currently authorized to make the request.
950
+ #
951
+ # @!attribute [rw] code
952
+ # @return [String]
953
+ #
954
+ # @!attribute [rw] message
955
+ # @return [String]
956
+ #
957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UnauthorizedClientException AWS API Documentation
958
+ #
959
+ class UnauthorizedClientException < Struct.new(
960
+ :code,
961
+ :message)
962
+ SENSITIVE = []
963
+ include Aws::Structure
964
+ end
965
+
966
+ # @note When making an API call, you may pass UpdateAppInstanceRequest
967
+ # data as a hash:
968
+ #
969
+ # {
970
+ # app_instance_arn: "ChimeArn", # required
971
+ # name: "NonEmptyResourceName", # required
972
+ # metadata: "Metadata", # required
973
+ # }
974
+ #
975
+ # @!attribute [rw] app_instance_arn
976
+ # The ARN of the `AppInstance`.
977
+ # @return [String]
978
+ #
979
+ # @!attribute [rw] name
980
+ # The name that you want to change.
981
+ # @return [String]
982
+ #
983
+ # @!attribute [rw] metadata
984
+ # The metadata that you want to change.
985
+ # @return [String]
986
+ #
987
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceRequest AWS API Documentation
988
+ #
989
+ class UpdateAppInstanceRequest < Struct.new(
990
+ :app_instance_arn,
991
+ :name,
992
+ :metadata)
993
+ SENSITIVE = [:name, :metadata]
994
+ include Aws::Structure
995
+ end
996
+
997
+ # @!attribute [rw] app_instance_arn
998
+ # The ARN of the `AppInstance`.
999
+ # @return [String]
1000
+ #
1001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceResponse AWS API Documentation
1002
+ #
1003
+ class UpdateAppInstanceResponse < Struct.new(
1004
+ :app_instance_arn)
1005
+ SENSITIVE = []
1006
+ include Aws::Structure
1007
+ end
1008
+
1009
+ # @note When making an API call, you may pass UpdateAppInstanceUserRequest
1010
+ # data as a hash:
1011
+ #
1012
+ # {
1013
+ # app_instance_user_arn: "ChimeArn", # required
1014
+ # name: "UserName", # required
1015
+ # metadata: "Metadata", # required
1016
+ # }
1017
+ #
1018
+ # @!attribute [rw] app_instance_user_arn
1019
+ # The ARN of the `AppInstanceUser`.
1020
+ # @return [String]
1021
+ #
1022
+ # @!attribute [rw] name
1023
+ # The name of the `AppInstanceUser`.
1024
+ # @return [String]
1025
+ #
1026
+ # @!attribute [rw] metadata
1027
+ # The metadata of the `AppInstanceUser`.
1028
+ # @return [String]
1029
+ #
1030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserRequest AWS API Documentation
1031
+ #
1032
+ class UpdateAppInstanceUserRequest < Struct.new(
1033
+ :app_instance_user_arn,
1034
+ :name,
1035
+ :metadata)
1036
+ SENSITIVE = [:name, :metadata]
1037
+ include Aws::Structure
1038
+ end
1039
+
1040
+ # @!attribute [rw] app_instance_user_arn
1041
+ # The ARN of the `AppInstanceUser`.
1042
+ # @return [String]
1043
+ #
1044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserResponse AWS API Documentation
1045
+ #
1046
+ class UpdateAppInstanceUserResponse < Struct.new(
1047
+ :app_instance_user_arn)
1048
+ SENSITIVE = []
1049
+ include Aws::Structure
1050
+ end
1051
+
1052
+ end
1053
+ end