aws-sdk-repostspace 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,678 @@
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::Repostspace
11
+ module Types
12
+
13
+ # User does not have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # Updating or deleting a resource can cause an inconsistent state.
27
+ #
28
+ # @!attribute [rw] message
29
+ # @return [String]
30
+ #
31
+ # @!attribute [rw] resource_id
32
+ # The ID of the resource.
33
+ # @return [String]
34
+ #
35
+ # @!attribute [rw] resource_type
36
+ # The type of the resource.
37
+ # @return [String]
38
+ #
39
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ConflictException AWS API Documentation
40
+ #
41
+ class ConflictException < Struct.new(
42
+ :message,
43
+ :resource_id,
44
+ :resource_type)
45
+ SENSITIVE = []
46
+ include Aws::Structure
47
+ end
48
+
49
+ # @!attribute [rw] description
50
+ # A description for the private re:Post. This is used only to help you
51
+ # identify this private re:Post.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] name
55
+ # The name for the private re:Post. This must be unique in your
56
+ # account.
57
+ # @return [String]
58
+ #
59
+ # @!attribute [rw] role_arn
60
+ # The IAM role that grants permissions to the private re:Post to
61
+ # convert unanswered questions into AWS support tickets.
62
+ # @return [String]
63
+ #
64
+ # @!attribute [rw] subdomain
65
+ # The subdomain that you use to access your AWS re:Post Private
66
+ # private re:Post. All custom subdomains must be approved by AWS
67
+ # before use. In addition to your custom subdomain, all private
68
+ # re:Posts are issued an AWS generated subdomain for immediate use.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] tags
72
+ # The list of tags associated with the private re:Post.
73
+ # @return [Hash<String,String>]
74
+ #
75
+ # @!attribute [rw] tier
76
+ # The pricing tier for the private re:Post.
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] user_kms_key
80
+ # The AWS KMS key ARN that’s used for the AWS KMS encryption. If you
81
+ # don't provide a key, your data is encrypted by default with a key
82
+ # that AWS owns and manages for you.
83
+ # @return [String]
84
+ #
85
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/CreateSpaceInput AWS API Documentation
86
+ #
87
+ class CreateSpaceInput < Struct.new(
88
+ :description,
89
+ :name,
90
+ :role_arn,
91
+ :subdomain,
92
+ :tags,
93
+ :tier,
94
+ :user_kms_key)
95
+ SENSITIVE = [:description, :name, :tags]
96
+ include Aws::Structure
97
+ end
98
+
99
+ # @!attribute [rw] space_id
100
+ # The unique ID of the private re:Post.
101
+ # @return [String]
102
+ #
103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/CreateSpaceOutput AWS API Documentation
104
+ #
105
+ class CreateSpaceOutput < Struct.new(
106
+ :space_id)
107
+ SENSITIVE = []
108
+ include Aws::Structure
109
+ end
110
+
111
+ # @!attribute [rw] space_id
112
+ # The unique ID of the private re:Post.
113
+ # @return [String]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/DeleteSpaceInput AWS API Documentation
116
+ #
117
+ class DeleteSpaceInput < Struct.new(
118
+ :space_id)
119
+ SENSITIVE = []
120
+ include Aws::Structure
121
+ end
122
+
123
+ # @!attribute [rw] admin_id
124
+ # The ID of the admin to remove.
125
+ # @return [String]
126
+ #
127
+ # @!attribute [rw] space_id
128
+ # The ID of the private re:Post to remove the admin from.
129
+ # @return [String]
130
+ #
131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/DeregisterAdminInput AWS API Documentation
132
+ #
133
+ class DeregisterAdminInput < Struct.new(
134
+ :admin_id,
135
+ :space_id)
136
+ SENSITIVE = []
137
+ include Aws::Structure
138
+ end
139
+
140
+ # @!attribute [rw] space_id
141
+ # The ID of the private re:Post.
142
+ # @return [String]
143
+ #
144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/GetSpaceInput AWS API Documentation
145
+ #
146
+ class GetSpaceInput < Struct.new(
147
+ :space_id)
148
+ SENSITIVE = []
149
+ include Aws::Structure
150
+ end
151
+
152
+ # @!attribute [rw] arn
153
+ # The ARN of the private re:Post.
154
+ # @return [String]
155
+ #
156
+ # @!attribute [rw] client_id
157
+ # The Identity Center identifier for the Application Instance.
158
+ # @return [String]
159
+ #
160
+ # @!attribute [rw] configuration_status
161
+ # The configuration status of the private re:Post.
162
+ # @return [String]
163
+ #
164
+ # @!attribute [rw] content_size
165
+ # The content size of the private re:Post.
166
+ # @return [Integer]
167
+ #
168
+ # @!attribute [rw] create_date_time
169
+ # The date when the private re:Post was created.
170
+ # @return [Time]
171
+ #
172
+ # @!attribute [rw] customer_role_arn
173
+ # The IAM role that grants permissions to the private re:Post to
174
+ # convert unanswered questions into AWS support tickets.
175
+ # @return [String]
176
+ #
177
+ # @!attribute [rw] delete_date_time
178
+ # The date when the private re:Post was deleted.
179
+ # @return [Time]
180
+ #
181
+ # @!attribute [rw] description
182
+ # The description of the private re:Post.
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] group_admins
186
+ # The list of groups that are administrators of the private re:Post.
187
+ # @return [Array<String>]
188
+ #
189
+ # @!attribute [rw] name
190
+ # The name of the private re:Post.
191
+ # @return [String]
192
+ #
193
+ # @!attribute [rw] random_domain
194
+ # The AWS generated subdomain of the private re:Post
195
+ # @return [String]
196
+ #
197
+ # @!attribute [rw] space_id
198
+ # The unique ID of the private re:Post.
199
+ # @return [String]
200
+ #
201
+ # @!attribute [rw] status
202
+ # The creation or deletion status of the private re:Post.
203
+ # @return [String]
204
+ #
205
+ # @!attribute [rw] storage_limit
206
+ # The storage limit of the private re:Post.
207
+ # @return [Integer]
208
+ #
209
+ # @!attribute [rw] tier
210
+ # The pricing tier of the private re:Post.
211
+ # @return [String]
212
+ #
213
+ # @!attribute [rw] user_admins
214
+ # The list of users that are administrators of the private re:Post.
215
+ # @return [Array<String>]
216
+ #
217
+ # @!attribute [rw] user_count
218
+ # The number of users that have onboarded to the private re:Post.
219
+ # @return [Integer]
220
+ #
221
+ # @!attribute [rw] user_kms_key
222
+ # The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
223
+ # @return [String]
224
+ #
225
+ # @!attribute [rw] vanity_domain
226
+ # The custom subdomain that you use to access your private re:Post.
227
+ # All custom subdomains must be approved by AWS before use.
228
+ # @return [String]
229
+ #
230
+ # @!attribute [rw] vanity_domain_status
231
+ # The approval status of the custom subdomain.
232
+ # @return [String]
233
+ #
234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/GetSpaceOutput AWS API Documentation
235
+ #
236
+ class GetSpaceOutput < Struct.new(
237
+ :arn,
238
+ :client_id,
239
+ :configuration_status,
240
+ :content_size,
241
+ :create_date_time,
242
+ :customer_role_arn,
243
+ :delete_date_time,
244
+ :description,
245
+ :group_admins,
246
+ :name,
247
+ :random_domain,
248
+ :space_id,
249
+ :status,
250
+ :storage_limit,
251
+ :tier,
252
+ :user_admins,
253
+ :user_count,
254
+ :user_kms_key,
255
+ :vanity_domain,
256
+ :vanity_domain_status)
257
+ SENSITIVE = [:description, :name]
258
+ include Aws::Structure
259
+ end
260
+
261
+ # Unexpected error during processing of request.
262
+ #
263
+ # @!attribute [rw] message
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] retry_after_seconds
267
+ # Advice to clients on when the call can be safely retried.
268
+ # @return [Integer]
269
+ #
270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/InternalServerException AWS API Documentation
271
+ #
272
+ class InternalServerException < Struct.new(
273
+ :message,
274
+ :retry_after_seconds)
275
+ SENSITIVE = []
276
+ include Aws::Structure
277
+ end
278
+
279
+ # @!attribute [rw] max_results
280
+ # The maximum number of private re:Posts to include in the results.
281
+ # @return [Integer]
282
+ #
283
+ # @!attribute [rw] next_token
284
+ # The token for the next set of private re:Posts to return. You
285
+ # receive this token from a previous ListSpaces operation.
286
+ # @return [String]
287
+ #
288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListSpacesInput AWS API Documentation
289
+ #
290
+ class ListSpacesInput < Struct.new(
291
+ :max_results,
292
+ :next_token)
293
+ SENSITIVE = []
294
+ include Aws::Structure
295
+ end
296
+
297
+ # @!attribute [rw] next_token
298
+ # The token that you use when you request the next set of private
299
+ # re:Posts.
300
+ # @return [String]
301
+ #
302
+ # @!attribute [rw] spaces
303
+ # An array of structures that contain some information about the
304
+ # private re:Posts in the account.
305
+ # @return [Array<Types::SpaceData>]
306
+ #
307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListSpacesOutput AWS API Documentation
308
+ #
309
+ class ListSpacesOutput < Struct.new(
310
+ :next_token,
311
+ :spaces)
312
+ SENSITIVE = []
313
+ include Aws::Structure
314
+ end
315
+
316
+ # @!attribute [rw] resource_arn
317
+ # The ARN of the resource that the tags are associated with.
318
+ # @return [String]
319
+ #
320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListTagsForResourceRequest AWS API Documentation
321
+ #
322
+ class ListTagsForResourceRequest < Struct.new(
323
+ :resource_arn)
324
+ SENSITIVE = []
325
+ include Aws::Structure
326
+ end
327
+
328
+ # @!attribute [rw] tags
329
+ # The list of tags that are associated with the resource.
330
+ # @return [Hash<String,String>]
331
+ #
332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListTagsForResourceResponse AWS API Documentation
333
+ #
334
+ class ListTagsForResourceResponse < Struct.new(
335
+ :tags)
336
+ SENSITIVE = [:tags]
337
+ include Aws::Structure
338
+ end
339
+
340
+ # @!attribute [rw] admin_id
341
+ # The ID of the administrator.
342
+ # @return [String]
343
+ #
344
+ # @!attribute [rw] space_id
345
+ # The ID of the private re:Post.
346
+ # @return [String]
347
+ #
348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/RegisterAdminInput AWS API Documentation
349
+ #
350
+ class RegisterAdminInput < Struct.new(
351
+ :admin_id,
352
+ :space_id)
353
+ SENSITIVE = []
354
+ include Aws::Structure
355
+ end
356
+
357
+ # Request references a resource which does not exist.
358
+ #
359
+ # @!attribute [rw] message
360
+ # @return [String]
361
+ #
362
+ # @!attribute [rw] resource_id
363
+ # The ID of the resource.
364
+ # @return [String]
365
+ #
366
+ # @!attribute [rw] resource_type
367
+ # The type of the resource.
368
+ # @return [String]
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ResourceNotFoundException AWS API Documentation
371
+ #
372
+ class ResourceNotFoundException < Struct.new(
373
+ :message,
374
+ :resource_id,
375
+ :resource_type)
376
+ SENSITIVE = []
377
+ include Aws::Structure
378
+ end
379
+
380
+ # @!attribute [rw] accessor_ids
381
+ # The array of identifiers for the users and groups.
382
+ # @return [Array<String>]
383
+ #
384
+ # @!attribute [rw] body
385
+ # The body of the invite.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] space_id
389
+ # The ID of the private re:Post.
390
+ # @return [String]
391
+ #
392
+ # @!attribute [rw] title
393
+ # The title of the invite.
394
+ # @return [String]
395
+ #
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/SendInvitesInput AWS API Documentation
397
+ #
398
+ class SendInvitesInput < Struct.new(
399
+ :accessor_ids,
400
+ :body,
401
+ :space_id,
402
+ :title)
403
+ SENSITIVE = [:body, :title]
404
+ include Aws::Structure
405
+ end
406
+
407
+ # Request would cause a service quota to be exceeded.
408
+ #
409
+ # @!attribute [rw] message
410
+ # @return [String]
411
+ #
412
+ # @!attribute [rw] quota_code
413
+ # The code to identify the quota.
414
+ # @return [String]
415
+ #
416
+ # @!attribute [rw] resource_id
417
+ # The id of the resource.
418
+ # @return [String]
419
+ #
420
+ # @!attribute [rw] resource_type
421
+ # The type of the resource.
422
+ # @return [String]
423
+ #
424
+ # @!attribute [rw] service_code
425
+ # The code to identify the service.
426
+ # @return [String]
427
+ #
428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ServiceQuotaExceededException AWS API Documentation
429
+ #
430
+ class ServiceQuotaExceededException < Struct.new(
431
+ :message,
432
+ :quota_code,
433
+ :resource_id,
434
+ :resource_type,
435
+ :service_code)
436
+ SENSITIVE = []
437
+ include Aws::Structure
438
+ end
439
+
440
+ # A structure that contains some information about a private re:Post in
441
+ # the account.
442
+ #
443
+ # @!attribute [rw] arn
444
+ # The ARN of the private re:Post.
445
+ # @return [String]
446
+ #
447
+ # @!attribute [rw] configuration_status
448
+ # The configuration status of the private re:Post.
449
+ # @return [String]
450
+ #
451
+ # @!attribute [rw] content_size
452
+ # The content size of the private re:Post.
453
+ # @return [Integer]
454
+ #
455
+ # @!attribute [rw] create_date_time
456
+ # The date when the private re:Post was created.
457
+ # @return [Time]
458
+ #
459
+ # @!attribute [rw] delete_date_time
460
+ # The date when the private re:Post was deleted.
461
+ # @return [Time]
462
+ #
463
+ # @!attribute [rw] description
464
+ # The description for the private re:Post. This is used only to help
465
+ # you identify this private re:Post.
466
+ # @return [String]
467
+ #
468
+ # @!attribute [rw] name
469
+ # The name for the private re:Post.
470
+ # @return [String]
471
+ #
472
+ # @!attribute [rw] random_domain
473
+ # The AWS generated subdomain of the private re:Post.
474
+ # @return [String]
475
+ #
476
+ # @!attribute [rw] space_id
477
+ # The unique ID of the private re:Post.
478
+ # @return [String]
479
+ #
480
+ # @!attribute [rw] status
481
+ # The creation/deletion status of the private re:Post.
482
+ # @return [String]
483
+ #
484
+ # @!attribute [rw] storage_limit
485
+ # The storage limit of the private re:Post.
486
+ # @return [Integer]
487
+ #
488
+ # @!attribute [rw] tier
489
+ # The pricing tier of the private re:Post.
490
+ # @return [String]
491
+ #
492
+ # @!attribute [rw] user_count
493
+ # The number of onboarded users to the private re:Post.
494
+ # @return [Integer]
495
+ #
496
+ # @!attribute [rw] user_kms_key
497
+ # The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
498
+ # @return [String]
499
+ #
500
+ # @!attribute [rw] vanity_domain
501
+ # This custom subdomain that you use to access your private re:Post.
502
+ # All custom subdomains must be approved by AWS before use.
503
+ # @return [String]
504
+ #
505
+ # @!attribute [rw] vanity_domain_status
506
+ # This approval status of the custom subdomain.
507
+ # @return [String]
508
+ #
509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/SpaceData AWS API Documentation
510
+ #
511
+ class SpaceData < Struct.new(
512
+ :arn,
513
+ :configuration_status,
514
+ :content_size,
515
+ :create_date_time,
516
+ :delete_date_time,
517
+ :description,
518
+ :name,
519
+ :random_domain,
520
+ :space_id,
521
+ :status,
522
+ :storage_limit,
523
+ :tier,
524
+ :user_count,
525
+ :user_kms_key,
526
+ :vanity_domain,
527
+ :vanity_domain_status)
528
+ SENSITIVE = [:description, :name]
529
+ include Aws::Structure
530
+ end
531
+
532
+ # @!attribute [rw] resource_arn
533
+ # The ARN of the resource that the tag is associated with.
534
+ # @return [String]
535
+ #
536
+ # @!attribute [rw] tags
537
+ # The list of tag keys and values that must be associated with the
538
+ # resource. You can associate tag keys only, tags (key and values)
539
+ # only, or a combination of tag keys and tags.
540
+ # @return [Hash<String,String>]
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/TagResourceRequest AWS API Documentation
543
+ #
544
+ class TagResourceRequest < Struct.new(
545
+ :resource_arn,
546
+ :tags)
547
+ SENSITIVE = [:tags]
548
+ include Aws::Structure
549
+ end
550
+
551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/TagResourceResponse AWS API Documentation
552
+ #
553
+ class TagResourceResponse < Aws::EmptyStructure; end
554
+
555
+ # Request was denied due to request throttling.
556
+ #
557
+ # @!attribute [rw] message
558
+ # @return [String]
559
+ #
560
+ # @!attribute [rw] quota_code
561
+ # The code to identify the quota.
562
+ # @return [String]
563
+ #
564
+ # @!attribute [rw] retry_after_seconds
565
+ # Advice to clients on when the call can be safely retried.
566
+ # @return [Integer]
567
+ #
568
+ # @!attribute [rw] service_code
569
+ # The code to identify the service.
570
+ # @return [String]
571
+ #
572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ThrottlingException AWS API Documentation
573
+ #
574
+ class ThrottlingException < Struct.new(
575
+ :message,
576
+ :quota_code,
577
+ :retry_after_seconds,
578
+ :service_code)
579
+ SENSITIVE = []
580
+ include Aws::Structure
581
+ end
582
+
583
+ # @!attribute [rw] resource_arn
584
+ # The ARN of the resource.
585
+ # @return [String]
586
+ #
587
+ # @!attribute [rw] tag_keys
588
+ # The key values of the tag.
589
+ # @return [Array<String>]
590
+ #
591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UntagResourceRequest AWS API Documentation
592
+ #
593
+ class UntagResourceRequest < Struct.new(
594
+ :resource_arn,
595
+ :tag_keys)
596
+ SENSITIVE = []
597
+ include Aws::Structure
598
+ end
599
+
600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UntagResourceResponse AWS API Documentation
601
+ #
602
+ class UntagResourceResponse < Aws::EmptyStructure; end
603
+
604
+ # @!attribute [rw] description
605
+ # A description for the private re:Post. This is used only to help you
606
+ # identify this private re:Post.
607
+ # @return [String]
608
+ #
609
+ # @!attribute [rw] role_arn
610
+ # The IAM role that grants permissions to the private re:Post to
611
+ # convert unanswered questions into AWS support tickets.
612
+ # @return [String]
613
+ #
614
+ # @!attribute [rw] space_id
615
+ # The unique ID of this private re:Post.
616
+ # @return [String]
617
+ #
618
+ # @!attribute [rw] tier
619
+ # The pricing tier of this private re:Post.
620
+ # @return [String]
621
+ #
622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UpdateSpaceInput AWS API Documentation
623
+ #
624
+ class UpdateSpaceInput < Struct.new(
625
+ :description,
626
+ :role_arn,
627
+ :space_id,
628
+ :tier)
629
+ SENSITIVE = [:description]
630
+ include Aws::Structure
631
+ end
632
+
633
+ # The input fails to satisfy the constraints specified by an AWS
634
+ # service.
635
+ #
636
+ # @!attribute [rw] field_list
637
+ # The field that caused the error, if applicable.
638
+ # @return [Array<Types::ValidationExceptionField>]
639
+ #
640
+ # @!attribute [rw] message
641
+ # @return [String]
642
+ #
643
+ # @!attribute [rw] reason
644
+ # The reason why the request failed validation.
645
+ # @return [String]
646
+ #
647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ValidationException AWS API Documentation
648
+ #
649
+ class ValidationException < Struct.new(
650
+ :field_list,
651
+ :message,
652
+ :reason)
653
+ SENSITIVE = []
654
+ include Aws::Structure
655
+ end
656
+
657
+ # Stores information about a field that’s passed inside a request that
658
+ # resulted in an exception.
659
+ #
660
+ # @!attribute [rw] message
661
+ # The name of the field.
662
+ # @return [String]
663
+ #
664
+ # @!attribute [rw] name
665
+ # Message describing why the field failed validation.
666
+ # @return [String]
667
+ #
668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ValidationExceptionField AWS API Documentation
669
+ #
670
+ class ValidationExceptionField < Struct.new(
671
+ :message,
672
+ :name)
673
+ SENSITIVE = []
674
+ include Aws::Structure
675
+ end
676
+
677
+ end
678
+ end