-
Notifications
You must be signed in to change notification settings - Fork 597
/
types.go
1398 lines (1011 loc) · 36 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"time"
)
// The Amazon Chime account details. An AWS account can have multiple Amazon Chime
// accounts.
type Account struct {
// The Amazon Chime account ID.
//
// This member is required.
AccountId *string
// The AWS account ID.
//
// This member is required.
AwsAccountId *string
// The Amazon Chime account name.
//
// This member is required.
Name *string
// The Amazon Chime account type. For more information about different account
// types, see Managing Your Amazon Chime Accounts
// (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html) in the
// Amazon Chime Administration Guide.
AccountType AccountType
// The Amazon Chime account creation timestamp, in ISO 8601 format.
CreatedTimestamp *time.Time
// The default license for the Amazon Chime account.
DefaultLicense License
// The sign-in delegate groups associated with the account.
SigninDelegateGroups []SigninDelegateGroup
// Supported licenses for the Amazon Chime account.
SupportedLicenses []License
}
// Settings related to the Amazon Chime account. This includes settings that start
// or stop remote control of shared screens, or start or stop the dial-out option
// in the Amazon Chime web application. For more information about these settings,
// see Use the Policies Page
// (https://docs.aws.amazon.com/chime/latest/ag/policies.html) in the Amazon Chime
// Administration Guide.
type AccountSettings struct {
// Setting that stops or starts remote control of shared screens during meetings.
DisableRemoteControl *bool
// Setting that allows meeting participants to choose the Call me at a phone number
// option. For more information, see Join a Meeting without the Amazon Chime App
// (https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html).
EnableDialOut *bool
}
// The Alexa for Business metadata associated with an Amazon Chime user, used to
// integrate Alexa for Business with a device.
type AlexaForBusinessMetadata struct {
// The ARN of the room resource.
AlexaForBusinessRoomArn *string
// Starts or stops Alexa for Business.
IsAlexaForBusinessEnabled *bool
}
// An instance of a Chime messaging application.
type AppInstance struct {
// The ARN of the messaging instance.
AppInstanceArn *string
// The time at which an app instance was created. In epoch milliseconds.
CreatedTimestamp *time.Time
// The time an app instance was last updated. In epoch milliseconds.
LastUpdatedTimestamp *time.Time
// The metadata of an app instance.
Metadata *string
// The name of an app instance.
Name *string
}
// Promotes a user to the administrator role for the duration of an app instance.
type AppInstanceAdmin struct {
// The name and metadata of the app instance administrator.
Admin *Identity
// The ARN of the app instance administrator.
AppInstanceArn *string
// The time at which an administrator was created.
CreatedTimestamp *time.Time
}
// The identity and metadata of an administrator.
type AppInstanceAdminSummary struct {
// The name and metadata of the app instance administrator.
Admin *Identity
}
// The length of time in days to retain messages.
type AppInstanceRetentionSettings struct {
// The length of time in days to retain a channel.
ChannelRetentionSettings *ChannelRetentionSettings
}
// The streaming configuration of an app instance.
type AppInstanceStreamingConfiguration struct {
// The data type of the app instance.
//
// This member is required.
AppInstanceDataType AppInstanceDataType
// The resource ARN.
//
// This member is required.
ResourceArn *string
}
// The summary data for an app instance.
type AppInstanceSummary struct {
// The app instance ARN.
AppInstanceArn *string
// The metadata of the app instance summary.
Metadata *string
// The name of the app instance summary.
Name *string
}
// The app instance user.
type AppInstanceUser struct {
// The ARN of the app instance user.
AppInstanceUserArn *string
// The time at which the app instance user was created.
CreatedTimestamp *time.Time
// The time at which the app instance user was last updated.
LastUpdatedTimestamp *time.Time
// The metadata of the app instance user.
Metadata *string
// The name of the app instance user.
Name *string
}
// Lists the channels to which app instance users belong.
type AppInstanceUserMembershipSummary struct {
// The time at which a summary was last read.
ReadMarkerTimestamp *time.Time
// The type of channel summary,
Type ChannelMembershipType
}
// The app instance user summary data .
type AppInstanceUserSummary struct {
// The ARN of the app instance user.
AppInstanceUserArn *string
// The metadata in an app instance user summary.
Metadata *string
// The name in an app instance user summary.
Name *string
}
// An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId and
// JoinToken. The JoinToken allows a client to authenticate and join as the
// specified attendee. The JoinToken expires when the meeting ends or when
// DeleteAttendee is called. After that, the attendee is unable to join the
// meeting. We recommend securely transferring each JoinToken from your server
// application to the client so that no other client has access to the token except
// for the one authorized to represent the attendee.
type Attendee struct {
// The Amazon Chime SDK attendee ID.
AttendeeId *string
// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
// to an identity managed by a builder application. If you create an attendee with
// the same external user id, the service returns the existing record.
ExternalUserId *string
// The join token used by the Amazon Chime SDK attendee.
JoinToken *string
}
// A resource that allows Enterprise account administrators to configure an
// interface to receive events from Amazon Chime.
type Bot struct {
// The bot email address.
BotEmail *string
// The bot ID.
BotId *string
// The bot type.
BotType BotType
// The bot creation timestamp, in ISO 8601 format.
CreatedTimestamp *time.Time
// When true, the bot is stopped from running in your account.
Disabled *bool
// The bot display name.
DisplayName *string
// The security token used to authenticate Amazon Chime with the outgoing event
// endpoint.
SecurityToken *string
// The updated bot timestamp, in ISO 8601 format.
UpdatedTimestamp *time.Time
// The unique ID for the bot user.
UserId *string
}
// The Amazon Chime Business Calling settings for the administrator's AWS account.
// Includes any Amazon S3 buckets designated for storing call detail records.
type BusinessCallingSettings struct {
// The Amazon S3 bucket designated for call detail record storage.
CdrBucket *string
}
// Creates a channel.
type Channel struct {
// The ARN of the channel.
ChannelArn *string
// The administrator who created the channel.
CreatedBy *Identity
// The time at which the administrator created the channel.
CreatedTimestamp *time.Time
// The time at which a member sent the last message in a session.
LastMessageTimestamp *time.Time
// The time at which a channel was last updated.
LastUpdatedTimestamp *time.Time
// The metadata of the channel.
Metadata *string
// The mode of the channel.
Mode ChannelMode
// The name of the channel.
Name *string
// The channel's privacy setting, PUBLIC or HIDDEN.
Privacy ChannelPrivacy
}
// Bans a user from a channel.
type ChannelBan struct {
// The ARN of the channel from which a member is being banned.
ChannelArn *string
// The parameter of the action.
CreatedBy *Identity
// The time at which the ban was created.
CreatedTimestamp *time.Time
// The member being banned from the channel.
Member *Identity
}
// The summary data for the channel ban.
type ChannelBanSummary struct {
// The member being banned from a channel.
Member *Identity
}
// Creates a channel member.
type ChannelMembership struct {
// The ARN of the member's channel.
ChannelArn *string
// The time at which the channel membership was created.
CreatedTimestamp *time.Time
// The identifier of the member who invited another member. Taken from the message
// header.
InvitedBy *Identity
// The time at which a channel membership was last updated.
LastUpdatedTimestamp *time.Time
// The data of the channel member.
Member *Identity
// The membership type set for the channel member.
Type ChannelMembershipType
}
// Returns the channel membership summary data for an app instance.
type ChannelMembershipForAppInstanceUserSummary struct {
// Returns the channel membership data for an app instance.
AppInstanceUserMembershipSummary *AppInstanceUserMembershipSummary
// The summary data for a channel.
ChannelSummary *ChannelSummary
}
// The summary data of a channel membership.
type ChannelMembershipSummary struct {
// A member's summary data.
Member *Identity
}
// Creates a message in a channel.
type ChannelMessage struct {
// The ARN of the channel.
ChannelArn *string
// The message content.
Content *string
// The time at which the message was created.
CreatedTimestamp *time.Time
// The time at which a message was edited.
LastEditedTimestamp *time.Time
// The time at which a message was updated.
LastUpdatedTimestamp *time.Time
// The ID of a message.
MessageId *string
// The message metadata.
Metadata *string
Persistence ChannelMessagePersistenceType
// Hides the content of a message. The message still exists on the back end, but
// this action only returns metadata.
Redacted bool
// The message sender.
Sender *Identity
// The message type.
Type ChannelMessageType
}
// A summary of the messages in a channel.
type ChannelMessageSummary struct {
// The content of the message summary.
Content *string
// The time at which the message summary was created.
CreatedTimestamp *time.Time
LastEditedTimestamp *time.Time
LastUpdatedTimestamp *time.Time
// The ID of the message summary.
MessageId *string
// The metadata of the message summary.
Metadata *string
// Redacts the content of a message summary.
Redacted bool
// The sender of the message summary.
Sender *Identity
// The type of message summary.
Type ChannelMessageType
}
// Returns the summary data for a moderated channel.
type ChannelModeratedByAppInstanceUserSummary struct {
// The summary data for a channel.
ChannelSummary *ChannelSummary
}
// Creates a moderator on a channel.
type ChannelModerator struct {
// The ARN of the moderator's channel.
ChannelArn *string
// The member who created the moderator.
CreatedBy *Identity
// The time at which the moderator was created.
CreatedTimestamp *time.Time
// The moderator's data.
Moderator *Identity
}
// Summary data of the moderators in a channel.
type ChannelModeratorSummary struct {
// The data for a moderator.
Moderator *Identity
}
// The retention settings for a channel.
type ChannelRetentionSettings struct {
// The time in days to retain a channel.
RetentionDays *int32
}
// The summary data for a channel.
type ChannelSummary struct {
// The ARN of the channel summary.
ChannelArn *string
// The time at which the last message in a channel was sent.
LastMessageTimestamp *time.Time
// The metadata of the channel summary.
Metadata *string
// The summary mode of the channel.
Mode ChannelMode
// The parameter of the action.
Name *string
// The privacy setting of the channel being summarized, PUBLIC or HIDDEN.
Privacy ChannelPrivacy
}
// The retention settings that determine how long to retain chat conversation
// messages for an Amazon Chime Enterprise account.
type ConversationRetentionSettings struct {
// The number of days for which to retain chat conversation messages.
RetentionDays *int32
}
// The list of errors returned when errors are encountered during the
// BatchCreateAttendee and CreateAttendee actions. This includes external user IDs,
// error codes, and error messages.
type CreateAttendeeError struct {
// The error code.
ErrorCode *string
// The error message.
ErrorMessage *string
// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
// to an identity managed by a builder application. If you create an attendee with
// the same external user id, the service returns the existing record.
ExternalUserId *string
}
// The Amazon Chime SDK attendee fields to create, used with the
// BatchCreateAttendee action.
type CreateAttendeeRequestItem struct {
// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
// to an identity managed by a builder application. If you create an attendee with
// the same external user id, the service returns the existing record. The Amazon
// Chime SDK external user ID. Links the attendee to an identity managed by a
// builder application.
//
// This member is required.
ExternalUserId *string
// The tag key-value pairs.
Tags []Tag
}
// The SIP credentials used to authenticate requests to your Amazon Chime Voice
// Connector.
type Credential struct {
// The RFC2617 compliant password associated with the SIP credentials, in US-ASCII
// format.
Password *string
// The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII
// format.
Username *string
}
// The Dialed Number Identification Service (DNIS) emergency calling configuration
// details associated with an Amazon Chime Voice Connector's emergency calling
// configuration.
type DNISEmergencyCallingConfiguration struct {
// The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
// format.
//
// This member is required.
CallingCountry *string
// The DNIS phone number to route emergency calls to, in E.164 format.
//
// This member is required.
EmergencyPhoneNumber *string
// The DNIS phone number to route test emergency calls to, in E.164 format.
TestPhoneNumber *string
}
// The emergency calling configuration details associated with an Amazon Chime
// Voice Connector.
type EmergencyCallingConfiguration struct {
// The Dialed Number Identification Service (DNIS) emergency calling configuration
// details.
DNIS []DNISEmergencyCallingConfiguration
}
// The configuration that allows a bot to receive outgoing events. Can be either an
// HTTPS endpoint or a Lambda function ARN.
type EventsConfiguration struct {
// The bot ID.
BotId *string
// Lambda function ARN that allows a bot to receive outgoing events.
LambdaFunctionArn *string
// HTTPS endpoint that allows a bot to receive outgoing events.
OutboundEventsHTTPSEndpoint *string
}
// The country and area code for a proxy phone number in a proxy phone session.
type GeoMatchParams struct {
// The area code.
//
// This member is required.
AreaCode *string
// The country.
//
// This member is required.
Country *string
}
// The ARN and name of a user.
type Identity struct {
// The ARN in an Identity.
Arn *string
// The name in an Identity.
Name *string
}
// Invitation object returned after emailing users to invite them to join the
// Amazon Chime Team account.
type Invite struct {
// The email address to which the invite is sent.
EmailAddress *string
// The status of the invite email.
EmailStatus EmailStatus
// The invite ID.
InviteId *string
// The status of the invite.
Status InviteStatus
}
// The logging configuration associated with an Amazon Chime Voice Connector.
// Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch
// Logs.
type LoggingConfiguration struct {
// When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
EnableSIPLogs *bool
}
// A set of endpoints used by clients to connect to the media service group for a
// Amazon Chime SDK meeting.
type MediaPlacement struct {
// The audio fallback URL.
AudioFallbackUrl *string
// The audio host URL.
AudioHostUrl *string
// The screen data URL.
ScreenDataUrl *string
// The screen sharing URL.
ScreenSharingUrl *string
// The screen viewing URL.
ScreenViewingUrl *string
// The signaling URL.
SignalingUrl *string
// The turn control URL.
TurnControlUrl *string
}
// A meeting created using the Amazon Chime SDK.
type Meeting struct {
// The external meeting ID.
ExternalMeetingId *string
// The media placement for the meeting.
MediaPlacement *MediaPlacement
// The Region in which to create the meeting. Available values: af-south-1,
// ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
// ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2,
// eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.
MediaRegion *string
// The Amazon Chime SDK meeting ID.
MeetingId *string
}
// The configuration for resource targets to receive notifications when Amazon
// Chime SDK meeting and attendee events occur. The Amazon Chime SDK supports
// resource targets located in the US East (N. Virginia) AWS Region (us-east-1).
type MeetingNotificationConfiguration struct {
// The SNS topic ARN.
SnsTopicArn *string
// The SQS queue ARN.
SqsQueueArn *string
}
// The member details, such as email address, name, member ID, and member type.
type Member struct {
// The Amazon Chime account ID.
AccountId *string
// The member email address.
Email *string
// The member name.
FullName *string
// The member ID (user ID or bot ID).
MemberId *string
// The member type.
MemberType MemberType
}
// The list of errors returned when a member action results in an error.
type MemberError struct {
// The error code.
ErrorCode ErrorCode
// The error message.
ErrorMessage *string
// The member ID.
MemberId *string
}
// Membership details, such as member ID and member role.
type MembershipItem struct {
// The member ID.
MemberId *string
// The member role.
Role RoomMembershipRole
}
// The endpoint of a meeting session.
type MessagingSessionEndpoint struct {
// The URL of a meeting session endpoint.
Url *string
}
// A phone number for which an order has been placed.
type OrderedPhoneNumber struct {
// The phone number, in E.164 format.
E164PhoneNumber *string
// The phone number status.
Status OrderedPhoneNumberStatus
}
// Origination settings enable your SIP hosts to receive inbound calls using your
// Amazon Chime Voice Connector.
type Origination struct {
// When origination settings are disabled, inbound calls are not enabled for your
// Amazon Chime Voice Connector.
Disabled *bool
// The call distribution properties defined for your SIP hosts. Valid range:
// Minimum value of 1. Maximum value of 20.
Routes []OriginationRoute
}
// Origination routes define call distribution properties for your SIP hosts to
// receive inbound calls using your Amazon Chime Voice Connector. Limit: Ten
// origination routes for each Amazon Chime Voice Connector.
type OriginationRoute struct {
// The FQDN or IP address to contact for origination traffic.
Host *string
// The designated origination route port. Defaults to 5060.
Port *int32
// The priority associated with the host, with 1 being the highest priority. Higher
// priority hosts are attempted first.
Priority *int32
// The protocol to use for the origination route. Encryption-enabled Amazon Chime
// Voice Connectors use TCP protocol by default.
Protocol OriginationRouteProtocol
// The weight associated with the host. If hosts are equal in priority, calls are
// distributed among them based on their relative weight.
Weight *int32
}
// The phone number and proxy phone number for a participant in an Amazon Chime
// Voice Connector proxy session.
type Participant struct {
// The participant's phone number.
PhoneNumber *string
// The participant's proxy phone number.
ProxyPhoneNumber *string
}
// A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice
// Connector.
type PhoneNumber struct {
// The phone number associations.
Associations []PhoneNumberAssociation
// The outbound calling name associated with the phone number.
CallingName *string
// The outbound calling name status.
CallingNameStatus CallingNameStatus
// The phone number capabilities.
Capabilities *PhoneNumberCapabilities
// The phone number creation timestamp, in ISO 8601 format.
CreatedTimestamp *time.Time
// The deleted phone number timestamp, in ISO 8601 format.
DeletionTimestamp *time.Time
// The phone number, in E.164 format.
E164PhoneNumber *string
// The phone number ID.
PhoneNumberId *string
// The phone number product type.
ProductType PhoneNumberProductType
// The phone number status.
Status PhoneNumberStatus
// The phone number type.
Type PhoneNumberType
// The updated phone number timestamp, in ISO 8601 format.
UpdatedTimestamp *time.Time
}
// The phone number associations, such as Amazon Chime account ID, Amazon Chime
// user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group
// ID.
type PhoneNumberAssociation struct {
// The timestamp of the phone number association, in ISO 8601 format.
AssociatedTimestamp *time.Time
// Defines the association with an Amazon Chime account ID, user ID, Amazon Chime
// Voice Connector ID, or Amazon Chime Voice Connector group ID.
Name PhoneNumberAssociationName
// Contains the ID for the entity specified in Name.
Value *string
}
// The phone number capabilities for Amazon Chime Business Calling phone numbers,
// such as enabled inbound and outbound calling and text messaging.
type PhoneNumberCapabilities struct {
// Allows or denies inbound calling for the specified phone number.
InboundCall *bool
// Allows or denies inbound MMS messaging for the specified phone number.
InboundMMS *bool
// Allows or denies inbound SMS messaging for the specified phone number.
InboundSMS *bool
// Allows or denies outbound calling for the specified phone number.
OutboundCall *bool
// Allows or denies outbound MMS messaging for the specified phone number.
OutboundMMS *bool
// Allows or denies outbound SMS messaging for the specified phone number.
OutboundSMS *bool
}
// If the phone number action fails for one or more of the phone numbers in the
// request, a list of the phone numbers is returned, along with error codes and
// error messages.
type PhoneNumberError struct {
// The error code.
ErrorCode ErrorCode
// The error message.
ErrorMessage *string
// The phone number ID for which the action failed.
PhoneNumberId *string
}
// The details of a phone number order created for Amazon Chime.
type PhoneNumberOrder struct {
// The phone number order creation timestamp, in ISO 8601 format.
CreatedTimestamp *time.Time
// The ordered phone number details, such as the phone number in E.164 format and
// the phone number status.
OrderedPhoneNumbers []OrderedPhoneNumber
// The phone number order ID.
PhoneNumberOrderId *string
// The phone number order product type.
ProductType PhoneNumberProductType
// The status of the phone number order.
Status PhoneNumberOrderStatus
// The updated phone number order timestamp, in ISO 8601 format.
UpdatedTimestamp *time.Time
}
// The proxy configuration for an Amazon Chime Voice Connector.
type Proxy struct {
// The default number of minutes allowed for proxy sessions.
DefaultSessionExpiryMinutes *int32
// When true, stops proxy sessions from being created on the specified Amazon Chime
// Voice Connector.
Disabled *bool
// The phone number to route calls to after a proxy session expires.
FallBackPhoneNumber *string
// The countries for proxy phone numbers to be selected from.
PhoneNumberCountries []string
}
// The proxy session for an Amazon Chime Voice Connector.
type ProxySession struct {
// The proxy session capabilities.
Capabilities []Capability
// The created timestamp, in ISO 8601 format.
CreatedTimestamp *time.Time
// The ended timestamp, in ISO 8601 format.
EndedTimestamp *time.Time
// The number of minutes allowed for the proxy session.
ExpiryMinutes *int32
// The preference for matching the country or area code of the proxy phone number
// with that of the first participant.
GeoMatchLevel GeoMatchLevel
// The country and area code for the proxy phone number.
GeoMatchParams *GeoMatchParams
// The name of the proxy session.
Name *string
// The preference for proxy phone number reuse, or stickiness, between the same
// participants across sessions.
NumberSelectionBehavior NumberSelectionBehavior
// The proxy session participants.
Participants []Participant
// The proxy session ID.
ProxySessionId *string
// The status of the proxy session.
Status ProxySessionStatus
// The updated timestamp, in ISO 8601 format.
UpdatedTimestamp *time.Time
// The Amazon Chime voice connector ID.
VoiceConnectorId *string
}
// The retention settings for an Amazon Chime Enterprise account that determine how
// long to retain items such as chat room messages and chat conversation messages.
type RetentionSettings struct {
// The chat conversation retention settings.
ConversationRetentionSettings *ConversationRetentionSettings
// The chat room retention settings.
RoomRetentionSettings *RoomRetentionSettings
}
// The Amazon Chime chat room details.
type Room struct {
// The Amazon Chime account ID.
AccountId *string
// The identifier of the room creator.
CreatedBy *string
// The room creation timestamp, in ISO 8601 format.
CreatedTimestamp *time.Time
// The room name.
Name *string
// The room ID.
RoomId *string
// The room update timestamp, in ISO 8601 format.
UpdatedTimestamp *time.Time
}
// The room membership details.
type RoomMembership struct {
// The identifier of the user that invited the room member.
InvitedBy *string