1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5import ( 6 smithydocument "github.com/aws/smithy-go/document" 7 "time" 8) 9 10// The Amazon Chime account details. An AWS account can have multiple Amazon Chime 11// accounts. 12type Account struct { 13 14 // The Amazon Chime account ID. 15 // 16 // This member is required. 17 AccountId *string 18 19 // The AWS account ID. 20 // 21 // This member is required. 22 AwsAccountId *string 23 24 // The Amazon Chime account name. 25 // 26 // This member is required. 27 Name *string 28 29 // The status of the account. 30 AccountStatus AccountStatus 31 32 // The Amazon Chime account type. For more information about different account 33 // types, see Managing Your Amazon Chime Accounts 34 // (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html) in the 35 // Amazon Chime Administration Guide. 36 AccountType AccountType 37 38 // The Amazon Chime account creation timestamp, in ISO 8601 format. 39 CreatedTimestamp *time.Time 40 41 // The default license for the Amazon Chime account. 42 DefaultLicense License 43 44 // The sign-in delegate groups associated with the account. 45 SigninDelegateGroups []SigninDelegateGroup 46 47 // Supported licenses for the Amazon Chime account. 48 SupportedLicenses []License 49 50 noSmithyDocumentSerde 51} 52 53// Settings related to the Amazon Chime account. This includes settings that start 54// or stop remote control of shared screens, or start or stop the dial-out option 55// in the Amazon Chime web application. For more information about these settings, 56// see Use the Policies Page 57// (https://docs.aws.amazon.com/chime/latest/ag/policies.html) in the Amazon Chime 58// Administration Guide. 59type AccountSettings struct { 60 61 // Setting that stops or starts remote control of shared screens during meetings. 62 DisableRemoteControl *bool 63 64 // Setting that allows meeting participants to choose the Call me at a phone number 65 // option. For more information, see Join a Meeting without the Amazon Chime App 66 // (https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html). 67 EnableDialOut *bool 68 69 noSmithyDocumentSerde 70} 71 72// The Alexa for Business metadata associated with an Amazon Chime user, used to 73// integrate Alexa for Business with a device. 74type AlexaForBusinessMetadata struct { 75 76 // The ARN of the room resource. 77 AlexaForBusinessRoomArn *string 78 79 // Starts or stops Alexa for Business. 80 IsAlexaForBusinessEnabled *bool 81 82 noSmithyDocumentSerde 83} 84 85// The details of an AppInstance, an instance of an Amazon Chime SDK messaging 86// application. 87type AppInstance struct { 88 89 // The ARN of the messaging instance. 90 AppInstanceArn *string 91 92 // The time at which an AppInstance was created. In epoch milliseconds. 93 CreatedTimestamp *time.Time 94 95 // The time an AppInstance was last updated. In epoch milliseconds. 96 LastUpdatedTimestamp *time.Time 97 98 // The metadata of an AppInstance. 99 Metadata *string 100 101 // The name of an AppInstance. 102 Name *string 103 104 noSmithyDocumentSerde 105} 106 107// The details of an AppInstanceAdmin. 108type AppInstanceAdmin struct { 109 110 // The AppInstanceAdmin data. 111 Admin *Identity 112 113 // The ARN of the AppInstance for which the user is an administrator. 114 AppInstanceArn *string 115 116 // The time at which an administrator was created. 117 CreatedTimestamp *time.Time 118 119 noSmithyDocumentSerde 120} 121 122// Summary of the details of an AppInstanceAdmin. 123type AppInstanceAdminSummary struct { 124 125 // The details of the AppInstanceAdmin. 126 Admin *Identity 127 128 noSmithyDocumentSerde 129} 130 131// The details of the data-retention settings for an AppInstance. 132type AppInstanceRetentionSettings struct { 133 134 // The length of time in days to retain the messages in a channel. 135 ChannelRetentionSettings *ChannelRetentionSettings 136 137 noSmithyDocumentSerde 138} 139 140// The details of the streaming configuration of an AppInstance. 141type AppInstanceStreamingConfiguration struct { 142 143 // The type of data to be streamed. 144 // 145 // This member is required. 146 AppInstanceDataType AppInstanceDataType 147 148 // The resource ARN. 149 // 150 // This member is required. 151 ResourceArn *string 152 153 noSmithyDocumentSerde 154} 155 156// Summary of the data for an AppInstance. 157type AppInstanceSummary struct { 158 159 // The AppInstance ARN. 160 AppInstanceArn *string 161 162 // The metadata of the AppInstance. 163 Metadata *string 164 165 // The name of the AppInstance. 166 Name *string 167 168 noSmithyDocumentSerde 169} 170 171// The details of an AppInstanceUser. 172type AppInstanceUser struct { 173 174 // The ARN of the AppInstanceUser. 175 AppInstanceUserArn *string 176 177 // The time at which the AppInstanceUser was created. 178 CreatedTimestamp *time.Time 179 180 // The time at which the AppInstanceUser was last updated. 181 LastUpdatedTimestamp *time.Time 182 183 // The metadata of the AppInstanceUser. 184 Metadata *string 185 186 // The name of the AppInstanceUser. 187 Name *string 188 189 noSmithyDocumentSerde 190} 191 192// Summary of the membership details of an AppInstanceUser. 193type AppInstanceUserMembershipSummary struct { 194 195 // The time at which a message was last read. 196 ReadMarkerTimestamp *time.Time 197 198 // The type of ChannelMembership. 199 Type ChannelMembershipType 200 201 noSmithyDocumentSerde 202} 203 204// Summary of the details of an AppInstanceUser. 205type AppInstanceUserSummary struct { 206 207 // The ARN of the AppInstanceUser. 208 AppInstanceUserArn *string 209 210 // The metadata of the AppInstanceUser. 211 Metadata *string 212 213 // The name of an AppInstanceUser. 214 Name *string 215 216 noSmithyDocumentSerde 217} 218 219// An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId and JoinToken 220// . The JoinToken allows a client to authenticate and join as the specified 221// attendee. The JoinToken expires when the meeting ends or when DeleteAttendee is 222// called. After that, the attendee is unable to join the meeting. We recommend 223// securely transferring each JoinToken from your server application to the client 224// so that no other client has access to the token except for the one authorized to 225// represent the attendee. 226type Attendee struct { 227 228 // The Amazon Chime SDK attendee ID. 229 AttendeeId *string 230 231 // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee 232 // to an identity managed by a builder application. 233 ExternalUserId *string 234 235 // The join token used by the Amazon Chime SDK attendee. 236 JoinToken *string 237 238 noSmithyDocumentSerde 239} 240 241// The membership information, including member ARNs, the channel ARN, and 242// membership types. 243type BatchChannelMemberships struct { 244 245 // The ARN of the channel to which you're adding users. 246 ChannelArn *string 247 248 // The identifier of the member who invited another member. 249 InvitedBy *Identity 250 251 // The users successfully added to the request. 252 Members []Identity 253 254 // The membership types set for the channel users. 255 Type ChannelMembershipType 256 257 noSmithyDocumentSerde 258} 259 260// A list of failed member ARNs, error codes, and error messages. 261type BatchCreateChannelMembershipError struct { 262 263 // The error code. 264 ErrorCode ErrorCode 265 266 // The error message. 267 ErrorMessage *string 268 269 // The ARN of the member that the service couldn't add. 270 MemberArn *string 271 272 noSmithyDocumentSerde 273} 274 275// A resource that allows Enterprise account administrators to configure an 276// interface to receive events from Amazon Chime. 277type Bot struct { 278 279 // The bot email address. 280 BotEmail *string 281 282 // The bot ID. 283 BotId *string 284 285 // The bot type. 286 BotType BotType 287 288 // The bot creation timestamp, in ISO 8601 format. 289 CreatedTimestamp *time.Time 290 291 // When true, the bot is stopped from running in your account. 292 Disabled *bool 293 294 // The bot display name. 295 DisplayName *string 296 297 // The security token used to authenticate Amazon Chime with the outgoing event 298 // endpoint. 299 SecurityToken *string 300 301 // The updated bot timestamp, in ISO 8601 format. 302 UpdatedTimestamp *time.Time 303 304 // The unique ID for the bot user. 305 UserId *string 306 307 noSmithyDocumentSerde 308} 309 310// The Amazon Chime Business Calling settings for the administrator's AWS account. 311// Includes any Amazon S3 buckets designated for storing call detail records. 312type BusinessCallingSettings struct { 313 314 // The Amazon S3 bucket designated for call detail record storage. 315 CdrBucket *string 316 317 noSmithyDocumentSerde 318} 319 320// The details of a channel. 321type Channel struct { 322 323 // The ARN of the channel. 324 ChannelArn *string 325 326 // The AppInstanceUser who created the channel. 327 CreatedBy *Identity 328 329 // The time at which the AppInstanceUser created the channel. 330 CreatedTimestamp *time.Time 331 332 // The time at which a member sent the last message in the channel. 333 LastMessageTimestamp *time.Time 334 335 // The time at which a channel was last updated. 336 LastUpdatedTimestamp *time.Time 337 338 // The channel's metadata. 339 Metadata *string 340 341 // The mode of the channel. 342 Mode ChannelMode 343 344 // The name of the channel. 345 Name *string 346 347 // The channel's privacy setting. 348 Privacy ChannelPrivacy 349 350 noSmithyDocumentSerde 351} 352 353// The details of a channel ban. 354type ChannelBan struct { 355 356 // The ARN of the channel from which a member is being banned. 357 ChannelArn *string 358 359 // The AppInstanceUser who created the ban. 360 CreatedBy *Identity 361 362 // The time at which the ban was created. 363 CreatedTimestamp *time.Time 364 365 // The member being banned from the channel. 366 Member *Identity 367 368 noSmithyDocumentSerde 369} 370 371// Summary of the details of a ChannelBan. 372type ChannelBanSummary struct { 373 374 // The member being banned from a channel. 375 Member *Identity 376 377 noSmithyDocumentSerde 378} 379 380// The details of a channel member. 381type ChannelMembership struct { 382 383 // The ARN of the member's channel. 384 ChannelArn *string 385 386 // The time at which the channel membership was created. 387 CreatedTimestamp *time.Time 388 389 // The identifier of the member who invited another member. 390 InvitedBy *Identity 391 392 // The time at which a channel membership was last updated. 393 LastUpdatedTimestamp *time.Time 394 395 // The data of the channel member. 396 Member *Identity 397 398 // The membership type set for the channel member. 399 Type ChannelMembershipType 400 401 noSmithyDocumentSerde 402} 403 404// Summary of the channel membership details of an AppInstanceUser. 405type ChannelMembershipForAppInstanceUserSummary struct { 406 407 // Summary of the membership details of an AppInstanceUser. 408 AppInstanceUserMembershipSummary *AppInstanceUserMembershipSummary 409 410 // Summary of the details of a Channel. 411 ChannelSummary *ChannelSummary 412 413 noSmithyDocumentSerde 414} 415 416// Summary of the details of a ChannelMembership. 417type ChannelMembershipSummary struct { 418 419 // A member's summary data. 420 Member *Identity 421 422 noSmithyDocumentSerde 423} 424 425// The details of a message in a channel. 426type ChannelMessage struct { 427 428 // The ARN of the channel. 429 ChannelArn *string 430 431 // The message content. 432 Content *string 433 434 // The time at which the message was created. 435 CreatedTimestamp *time.Time 436 437 // The time at which a message was edited. 438 LastEditedTimestamp *time.Time 439 440 // The time at which a message was updated. 441 LastUpdatedTimestamp *time.Time 442 443 // The ID of a message. 444 MessageId *string 445 446 // The message metadata. 447 Metadata *string 448 449 // The persistence setting for a channel message. 450 Persistence ChannelMessagePersistenceType 451 452 // Hides the content of a message. 453 Redacted bool 454 455 // The message sender. 456 Sender *Identity 457 458 // The message type. 459 Type ChannelMessageType 460 461 noSmithyDocumentSerde 462} 463 464// Summary of the messages in a Channel. 465type ChannelMessageSummary struct { 466 467 // The content of the message. 468 Content *string 469 470 // The time at which the message summary was created. 471 CreatedTimestamp *time.Time 472 473 // The time at which a message was last edited. 474 LastEditedTimestamp *time.Time 475 476 // The time at which a message was last updated. 477 LastUpdatedTimestamp *time.Time 478 479 // The ID of the message. 480 MessageId *string 481 482 // The metadata of the message. 483 Metadata *string 484 485 // Indicates whether a message was redacted. 486 Redacted bool 487 488 // The message sender. 489 Sender *Identity 490 491 // The type of message. 492 Type ChannelMessageType 493 494 noSmithyDocumentSerde 495} 496 497// Summary of the details of a moderated channel. 498type ChannelModeratedByAppInstanceUserSummary struct { 499 500 // Summary of the details of a Channel. 501 ChannelSummary *ChannelSummary 502 503 noSmithyDocumentSerde 504} 505 506// The details of a channel moderator. 507type ChannelModerator struct { 508 509 // The ARN of the moderator's channel. 510 ChannelArn *string 511 512 // The AppInstanceUser who created the moderator. 513 CreatedBy *Identity 514 515 // The time at which the moderator was created. 516 CreatedTimestamp *time.Time 517 518 // The moderator's data. 519 Moderator *Identity 520 521 noSmithyDocumentSerde 522} 523 524// Summary of the details of a ChannelModerator. 525type ChannelModeratorSummary struct { 526 527 // The data for a moderator. 528 Moderator *Identity 529 530 noSmithyDocumentSerde 531} 532 533// The details of the retention settings for a channel. 534type ChannelRetentionSettings struct { 535 536 // The time in days to retain the messages in a channel. 537 RetentionDays *int32 538 539 noSmithyDocumentSerde 540} 541 542// Summary of the details of a Channel. 543type ChannelSummary struct { 544 545 // The ARN of the channel. 546 ChannelArn *string 547 548 // The time at which the last message in a channel was sent. 549 LastMessageTimestamp *time.Time 550 551 // The metadata of the channel. 552 Metadata *string 553 554 // The mode of the channel. 555 Mode ChannelMode 556 557 // The name of the channel. 558 Name *string 559 560 // The privacy setting of the channel. 561 Privacy ChannelPrivacy 562 563 noSmithyDocumentSerde 564} 565 566// The retention settings that determine how long to retain conversation messages 567// for an Amazon Chime Enterprise account. 568type ConversationRetentionSettings struct { 569 570 // The number of days for which to retain conversation messages. 571 RetentionDays *int32 572 573 noSmithyDocumentSerde 574} 575 576// The list of errors returned when errors are encountered during the 577// BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, 578// error codes, and error messages. 579type CreateAttendeeError struct { 580 581 // The error code. 582 ErrorCode *string 583 584 // The error message. 585 ErrorMessage *string 586 587 // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee 588 // to an identity managed by a builder application. 589 ExternalUserId *string 590 591 noSmithyDocumentSerde 592} 593 594// The Amazon Chime SDK attendee fields to create, used with the 595// BatchCreateAttendee action. 596type CreateAttendeeRequestItem struct { 597 598 // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee 599 // to an identity managed by a builder application. 600 // 601 // This member is required. 602 ExternalUserId *string 603 604 // The tag key-value pairs. 605 Tags []Tag 606 607 noSmithyDocumentSerde 608} 609 610// The SIP credentials used to authenticate requests to your Amazon Chime Voice 611// Connector. 612type Credential struct { 613 614 // The RFC2617 compliant password associated with the SIP credentials, in US-ASCII 615 // format. 616 Password *string 617 618 // The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII 619 // format. 620 Username *string 621 622 noSmithyDocumentSerde 623} 624 625// The Dialed Number Identification Service (DNIS) emergency calling configuration 626// details associated with an Amazon Chime Voice Connector's emergency calling 627// configuration. 628type DNISEmergencyCallingConfiguration struct { 629 630 // The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 631 // format. 632 // 633 // This member is required. 634 CallingCountry *string 635 636 // The DNIS phone number to route emergency calls to, in E.164 format. 637 // 638 // This member is required. 639 EmergencyPhoneNumber *string 640 641 // The DNIS phone number to route test emergency calls to, in E.164 format. 642 TestPhoneNumber *string 643 644 noSmithyDocumentSerde 645} 646 647// The emergency calling configuration details associated with an Amazon Chime 648// Voice Connector. 649type EmergencyCallingConfiguration struct { 650 651 // The Dialed Number Identification Service (DNIS) emergency calling configuration 652 // details. 653 DNIS []DNISEmergencyCallingConfiguration 654 655 noSmithyDocumentSerde 656} 657 658// Settings specific to the Amazon Transcribe Medical engine. 659type EngineTranscribeMedicalSettings struct { 660 661 // The language code specified for the Amazon Transcribe Medical engine. 662 // 663 // This member is required. 664 LanguageCode TranscribeMedicalLanguageCode 665 666 // The specialty specified for the Amazon Transcribe Medical engine. 667 // 668 // This member is required. 669 Specialty TranscribeMedicalSpecialty 670 671 // The type of transcription. 672 // 673 // This member is required. 674 Type TranscribeMedicalType 675 676 // The AWS Region passed to Amazon Transcribe Medical. If you don't specify a 677 // Region, Amazon Chime uses the meeting's Region. 678 Region TranscribeMedicalRegion 679 680 // The name of the vocabulary passed to Amazon Transcribe Medical. 681 VocabularyName *string 682 683 noSmithyDocumentSerde 684} 685 686// Settings specific to the Amazon Transcribe engine. 687type EngineTranscribeSettings struct { 688 689 // The language code specified for the Amazon Transcribe engine. 690 // 691 // This member is required. 692 LanguageCode TranscribeLanguageCode 693 694 // The AWS Region passed to Amazon Transcribe. If you don't specify a Region, 695 // Amazon Chime uses the meeting's Region. 696 Region TranscribeRegion 697 698 // The filtering method passed to Amazon Transcribe. 699 VocabularyFilterMethod TranscribeVocabularyFilterMethod 700 701 // The name of the vocabulary filter passed to Amazon Transcribe. 702 VocabularyFilterName *string 703 704 // The name of the vocabulary passed to Amazon Transcribe. 705 VocabularyName *string 706 707 noSmithyDocumentSerde 708} 709 710// The configuration that allows a bot to receive outgoing events. Can be either an 711// HTTPS endpoint or a Lambda function ARN. 712type EventsConfiguration struct { 713 714 // The bot ID. 715 BotId *string 716 717 // Lambda function ARN that allows a bot to receive outgoing events. 718 LambdaFunctionArn *string 719 720 // HTTPS endpoint that allows a bot to receive outgoing events. 721 OutboundEventsHTTPSEndpoint *string 722 723 noSmithyDocumentSerde 724} 725 726// The country and area code for a proxy phone number in a proxy phone session. 727type GeoMatchParams struct { 728 729 // The area code. 730 // 731 // This member is required. 732 AreaCode *string 733 734 // The country. 735 // 736 // This member is required. 737 Country *string 738 739 noSmithyDocumentSerde 740} 741 742// The details of a user. 743type Identity struct { 744 745 // The ARN in an Identity. 746 Arn *string 747 748 // The name in an Identity. 749 Name *string 750 751 noSmithyDocumentSerde 752} 753 754// Invitation object returned after emailing users to invite them to join the 755// Amazon Chime Team account. 756type Invite struct { 757 758 // The email address to which the invite is sent. 759 EmailAddress *string 760 761 // The status of the invite email. 762 EmailStatus EmailStatus 763 764 // The invite ID. 765 InviteId *string 766 767 // The status of the invite. 768 Status InviteStatus 769 770 noSmithyDocumentSerde 771} 772 773// The logging configuration associated with an Amazon Chime Voice Connector. 774// Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch 775// Logs. 776type LoggingConfiguration struct { 777 778 // When true, enables SIP message logs for sending to Amazon CloudWatch Logs. 779 EnableSIPLogs *bool 780 781 noSmithyDocumentSerde 782} 783 784// A media capture pipeline object. A string consisting of an ID, source type, a 785// source ARN, a sink type, and a sink ARN. 786type MediaCapturePipeline struct { 787 788 // The time at which the capture pipeline was created, in ISO 8601 format. 789 CreatedTimestamp *time.Time 790 791 // The ID of a media capture pipeline. 792 MediaPipelineId *string 793 794 // ARN of the destination to which the media artifacts are saved. 795 SinkArn *string 796 797 // Destination type to which the media artifacts are saved. You must use an S3 798 // Bucket. 799 SinkType MediaPipelineSinkType 800 801 // ARN of the source from which the media artifacts will be saved. 802 SourceArn *string 803 804 // Source type from which media artifacts are saved. You must use ChimeMeeting. 805 SourceType MediaPipelineSourceType 806 807 // The status of the media capture pipeline. 808 Status MediaPipelineStatus 809 810 // The time at which the capture pipeline was updated, in ISO 8601 format. 811 UpdatedTimestamp *time.Time 812 813 noSmithyDocumentSerde 814} 815 816// A set of endpoints used by clients to connect to the media service group for an 817// Amazon Chime SDK meeting. 818type MediaPlacement struct { 819 820 // The audio fallback URL. 821 AudioFallbackUrl *string 822 823 // The audio host URL. 824 AudioHostUrl *string 825 826 // The URL of the S3 bucket used to store the captured media. 827 EventIngestionUrl *string 828 829 // The screen data URL. 830 ScreenDataUrl *string 831 832 // The screen sharing URL. 833 ScreenSharingUrl *string 834 835 // The screen viewing URL. 836 ScreenViewingUrl *string 837 838 // The signaling URL. 839 SignalingUrl *string 840 841 // The turn control URL. 842 TurnControlUrl *string 843 844 noSmithyDocumentSerde 845} 846 847// A meeting created using the Amazon Chime SDK. 848type Meeting struct { 849 850 // The external meeting ID. 851 ExternalMeetingId *string 852 853 // The media placement for the meeting. 854 MediaPlacement *MediaPlacement 855 856 // The Region in which you create the meeting. Available values: af-south-1, 857 // ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, 858 // ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, 859 // eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2. 860 MediaRegion *string 861 862 // The Amazon Chime SDK meeting ID. 863 MeetingId *string 864 865 noSmithyDocumentSerde 866} 867 868// The resource target configurations for receiving Amazon Chime SDK meeting and 869// attendee event notifications. The Amazon Chime SDK supports resource targets 870// located in the US East (N. Virginia) AWS Region (us-east-1). 871type MeetingNotificationConfiguration struct { 872 873 // The SNS topic ARN. 874 SnsTopicArn *string 875 876 // The SQS queue ARN. 877 SqsQueueArn *string 878 879 noSmithyDocumentSerde 880} 881 882// The member details, such as email address, name, member ID, and member type. 883type Member struct { 884 885 // The Amazon Chime account ID. 886 AccountId *string 887 888 // The member email address. 889 Email *string 890 891 // The member name. 892 FullName *string 893 894 // The member ID (user ID or bot ID). 895 MemberId *string 896 897 // The member type. 898 MemberType MemberType 899 900 noSmithyDocumentSerde 901} 902 903// The list of errors returned when a member action results in an error. 904type MemberError struct { 905 906 // The error code. 907 ErrorCode ErrorCode 908 909 // The error message. 910 ErrorMessage *string 911 912 // The member ID. 913 MemberId *string 914 915 noSmithyDocumentSerde 916} 917 918// Membership details, such as member ID and member role. 919type MembershipItem struct { 920 921 // The member ID. 922 MemberId *string 923 924 // The member role. 925 Role RoomMembershipRole 926 927 noSmithyDocumentSerde 928} 929 930// The websocket endpoint used to connect to Amazon Chime SDK messaging. 931type MessagingSessionEndpoint struct { 932 933 // The endpoint to which you establish a websocket connection. 934 Url *string 935 936 noSmithyDocumentSerde 937} 938 939// A phone number for which an order has been placed. 940type OrderedPhoneNumber struct { 941 942 // The phone number, in E.164 format. 943 E164PhoneNumber *string 944 945 // The phone number status. 946 Status OrderedPhoneNumberStatus 947 948 noSmithyDocumentSerde 949} 950 951// Origination settings enable your SIP hosts to receive inbound calls using your 952// Amazon Chime Voice Connector. The parameters listed below are not required, but 953// you must use at least one. 954type Origination struct { 955 956 // When origination settings are disabled, inbound calls are not enabled for your 957 // Amazon Chime Voice Connector. This parameter is not required, but you must 958 // specify this parameter or Routes. 959 Disabled *bool 960 961 // The call distribution properties defined for your SIP hosts. Valid range: 962 // Minimum value of 1. Maximum value of 20. This parameter is not required, but you 963 // must specify this parameter or Disabled. 964 Routes []OriginationRoute 965 966 noSmithyDocumentSerde 967} 968 969// Origination routes define call distribution properties for your SIP hosts to 970// receive inbound calls using your Amazon Chime Voice Connector. Limit: Ten 971// origination routes for each Amazon Chime Voice Connector. The parameters listed 972// below are not required, but you must use at least one. 973type OriginationRoute struct { 974 975 // The FQDN or IP address to contact for origination traffic. 976 Host *string 977 978 // The designated origination route port. Defaults to 5060. 979 Port *int32 980 981 // The priority associated with the host, with 1 being the highest priority. Higher 982 // priority hosts are attempted first. 983 Priority *int32 984 985 // The protocol to use for the origination route. Encryption-enabled Amazon Chime 986 // Voice Connectors use TCP protocol by default. 987 Protocol OriginationRouteProtocol 988 989 // The weight associated with the host. If hosts are equal in priority, calls are 990 // redistributed among them based on their relative weight. 991 Weight *int32 992 993 noSmithyDocumentSerde 994} 995 996// The phone number and proxy phone number for a participant in an Amazon Chime 997// Voice Connector proxy session. 998type Participant struct { 999 1000 // The participant's phone number. 1001 PhoneNumber *string 1002 1003 // The participant's proxy phone number. 1004 ProxyPhoneNumber *string 1005 1006 noSmithyDocumentSerde 1007} 1008 1009// A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice 1010// Connector. 1011type PhoneNumber struct { 1012 1013 // The phone number associations. 1014 Associations []PhoneNumberAssociation 1015 1016 // The outbound calling name associated with the phone number. 1017 CallingName *string 1018 1019 // The outbound calling name status. 1020 CallingNameStatus CallingNameStatus 1021 1022 // The phone number capabilities. 1023 Capabilities *PhoneNumberCapabilities 1024 1025 // The phone number country. Format: ISO 3166-1 alpha-2. 1026 Country *string 1027 1028 // The phone number creation timestamp, in ISO 8601 format. 1029 CreatedTimestamp *time.Time 1030 1031 // The deleted phone number timestamp, in ISO 8601 format. 1032 DeletionTimestamp *time.Time 1033 1034 // The phone number, in E.164 format. 1035 E164PhoneNumber *string 1036 1037 // The phone number ID. 1038 PhoneNumberId *string 1039 1040 // The phone number product type. 1041 ProductType PhoneNumberProductType 1042 1043 // The phone number status. 1044 Status PhoneNumberStatus 1045 1046 // The phone number type. 1047 Type PhoneNumberType 1048 1049 // The updated phone number timestamp, in ISO 8601 format. 1050 UpdatedTimestamp *time.Time 1051 1052 noSmithyDocumentSerde 1053} 1054 1055// The phone number associations, such as Amazon Chime account ID, Amazon Chime 1056// user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group 1057// ID. 1058type PhoneNumberAssociation struct { 1059 1060 // The timestamp of the phone number association, in ISO 8601 format. 1061 AssociatedTimestamp *time.Time 1062 1063 // Defines the association with an Amazon Chime account ID, user ID, Amazon Chime 1064 // Voice Connector ID, or Amazon Chime Voice Connector group ID. 1065 Name PhoneNumberAssociationName 1066 1067 // Contains the ID for the entity specified in Name. 1068 Value *string 1069 1070 noSmithyDocumentSerde 1071} 1072 1073// The phone number capabilities for Amazon Chime Business Calling phone numbers, 1074// such as enabled inbound and outbound calling and text messaging. 1075type PhoneNumberCapabilities struct { 1076 1077 // Allows or denies inbound calling for the specified phone number. 1078 InboundCall *bool 1079 1080 // Allows or denies inbound MMS messaging for the specified phone number. 1081 InboundMMS *bool 1082 1083 // Allows or denies inbound SMS messaging for the specified phone number. 1084 InboundSMS *bool 1085 1086 // Allows or denies outbound calling for the specified phone number. 1087 OutboundCall *bool 1088 1089 // Allows or denies outbound MMS messaging for the specified phone number. 1090 OutboundMMS *bool 1091 1092 // Allows or denies outbound SMS messaging for the specified phone number. 1093 OutboundSMS *bool 1094 1095 noSmithyDocumentSerde 1096} 1097 1098// The phone number country. 1099type PhoneNumberCountry struct { 1100 1101 // The phone number country code. Format: ISO 3166-1 alpha-2. 1102 CountryCode *string 1103 1104 // The supported phone number types. 1105 SupportedPhoneNumberTypes []PhoneNumberType 1106 1107 noSmithyDocumentSerde 1108} 1109 1110// If the phone number action fails for one or more of the phone numbers in the 1111// request, a list of the phone numbers is returned, along with error codes and 1112// error messages. 1113type PhoneNumberError struct { 1114 1115 // The error code. 1116 ErrorCode ErrorCode 1117 1118 // The error message. 1119 ErrorMessage *string 1120 1121 // The phone number ID for which the action failed. 1122 PhoneNumberId *string 1123 1124 noSmithyDocumentSerde 1125} 1126 1127// The details of a phone number order created for Amazon Chime. 1128type PhoneNumberOrder struct { 1129 1130 // The phone number order creation time stamp, in ISO 8601 format. 1131 CreatedTimestamp *time.Time 1132 1133 // The ordered phone number details, such as the phone number in E.164 format and 1134 // the phone number status. 1135 OrderedPhoneNumbers []OrderedPhoneNumber 1136 1137 // The phone number order ID. 1138 PhoneNumberOrderId *string 1139 1140 // The phone number order product type. 1141 ProductType PhoneNumberProductType 1142 1143 // The status of the phone number order. 1144 Status PhoneNumberOrderStatus 1145 1146 // The updated phone number order time stamp, in ISO 8601 format. 1147 UpdatedTimestamp *time.Time 1148 1149 noSmithyDocumentSerde 1150} 1151 1152// The proxy configuration for an Amazon Chime Voice Connector. 1153type Proxy struct { 1154 1155 // The default number of minutes allowed for proxy sessions. 1156 DefaultSessionExpiryMinutes *int32 1157 1158 // When true, stops proxy sessions from being created on the specified Amazon Chime 1159 // Voice Connector. 1160 Disabled *bool 1161 1162 // The phone number to route calls to after a proxy session expires. 1163 FallBackPhoneNumber *string 1164 1165 // The countries for proxy phone numbers to be selected from. 1166 PhoneNumberCountries []string 1167 1168 noSmithyDocumentSerde 1169} 1170 1171// The proxy session for an Amazon Chime Voice Connector. 1172type ProxySession struct { 1173 1174 // The proxy session capabilities. 1175 Capabilities []Capability 1176 1177 // The created time stamp, in ISO 8601 format. 1178 CreatedTimestamp *time.Time 1179 1180 // The ended time stamp, in ISO 8601 format. 1181 EndedTimestamp *time.Time 1182 1183 // The number of minutes allowed for the proxy session. 1184 ExpiryMinutes *int32 1185 1186 // The preference for matching the country or area code of the proxy phone number 1187 // with that of the first participant. 1188 GeoMatchLevel GeoMatchLevel 1189 1190 // The country and area code for the proxy phone number. 1191 GeoMatchParams *GeoMatchParams 1192 1193 // The name of the proxy session. 1194 Name *string 1195 1196 // The preference for proxy phone number reuse, or stickiness, between the same 1197 // participants across sessions. 1198 NumberSelectionBehavior NumberSelectionBehavior 1199 1200 // The proxy session participants. 1201 Participants []Participant 1202 1203 // The proxy session ID. 1204 ProxySessionId *string 1205 1206 // The status of the proxy session. 1207 Status ProxySessionStatus 1208 1209 // The updated time stamp, in ISO 8601 format. 1210 UpdatedTimestamp *time.Time 1211 1212 // The Amazon Chime voice connector ID. 1213 VoiceConnectorId *string 1214 1215 noSmithyDocumentSerde 1216} 1217 1218// The retention settings for an Amazon Chime Enterprise account that determine how 1219// long to retain items such as chat-room messages and chat-conversation messages. 1220type RetentionSettings struct { 1221 1222 // The chat conversation retention settings. 1223 ConversationRetentionSettings *ConversationRetentionSettings 1224 1225 // The chat room retention settings. 1226 RoomRetentionSettings *RoomRetentionSettings 1227 1228 noSmithyDocumentSerde 1229} 1230 1231// The Amazon Chime chat room details. 1232type Room struct { 1233 1234 // The Amazon Chime account ID. 1235 AccountId *string 1236 1237 // The identifier of the room creator. 1238 CreatedBy *string 1239 1240 // The room creation timestamp, in ISO 8601 format. 1241 CreatedTimestamp *time.Time 1242 1243 // The room name. 1244 Name *string 1245 1246 // The room ID. 1247 RoomId *string 1248 1249 // The room update timestamp, in ISO 8601 format. 1250 UpdatedTimestamp *time.Time 1251 1252 noSmithyDocumentSerde 1253} 1254 1255// The room membership details. 1256type RoomMembership struct { 1257 1258 // The identifier of the user that invited the room member. 1259 InvitedBy *string 1260 1261 // The member details, such as email address, name, member ID, and member type. 1262 Member *Member 1263 1264 // The membership role. 1265 Role RoomMembershipRole 1266 1267 // The room ID. 1268 RoomId *string 1269 1270 // The room membership update timestamp, in ISO 8601 format. 1271 UpdatedTimestamp *time.Time 1272 1273 noSmithyDocumentSerde 1274} 1275 1276// The retention settings that determine how long to retain chat-room messages for 1277// an Amazon Chime Enterprise account. 1278type RoomRetentionSettings struct { 1279 1280 // The number of days for which to retain chat-room messages. 1281 RetentionDays *int32 1282 1283 noSmithyDocumentSerde 1284} 1285 1286// An Active Directory (AD) group whose members are granted permission to act as 1287// delegates. 1288type SigninDelegateGroup struct { 1289 1290 // The group name. 1291 GroupName *string 1292 1293 noSmithyDocumentSerde 1294} 1295 1296// The details of the SIP media application, including name and endpoints. An AWS 1297// account can have multiple SIP media applications. 1298type SipMediaApplication struct { 1299 1300 // The AWS Region in which the SIP media application is created. 1301 AwsRegion *string 1302 1303 // The SIP media application creation timestamp, in ISO 8601 format. 1304 CreatedTimestamp *time.Time 1305 1306 // List of endpoints for SIP media application. Currently, only one endpoint per 1307 // SIP media application is permitted. 1308 Endpoints []SipMediaApplicationEndpoint 1309 1310 // The name of the SIP media application. 1311 Name *string 1312 1313 // The SIP media application ID. 1314 SipMediaApplicationId *string 1315 1316 // The SIP media application updated timestamp, in ISO 8601 format. 1317 UpdatedTimestamp *time.Time 1318 1319 noSmithyDocumentSerde 1320} 1321 1322// A Call instance for a SIP media application. 1323type SipMediaApplicationCall struct { 1324 1325 // The transaction ID of a call. 1326 TransactionId *string 1327 1328 noSmithyDocumentSerde 1329} 1330 1331// The endpoint assigned to the SIP media application. 1332type SipMediaApplicationEndpoint struct { 1333 1334 // Valid Amazon Resource Name (ARN) of the Lambda function. The function must be 1335 // created in the same AWS Region as the SIP media application. 1336 LambdaArn *string 1337 1338 noSmithyDocumentSerde 1339} 1340 1341// Logging configuration of the SIP media application. 1342type SipMediaApplicationLoggingConfiguration struct { 1343 1344 // Enables application message logs for the SIP media application. 1345 EnableSipMediaApplicationMessageLogs *bool 1346 1347 noSmithyDocumentSerde 1348} 1349 1350// The SIP rule details, including name, triggers, and target applications. An AWS 1351// account can have multiple SIP rules. 1352type SipRule struct { 1353 1354 // The time at which the SIP rule was created, in ISO 8601 format. 1355 CreatedTimestamp *time.Time 1356 1357 // Indicates whether the SIP rule is enabled or disabled. You must disable a rule 1358 // before you can delete it. 1359 Disabled *bool 1360 1361 // The name of the SIP rule. 1362 Name *string 1363 1364 // The SIP rule ID. 1365 SipRuleId *string 1366 1367 // Target SIP media application and other details, such as priority and AWS Region, 1368 // to be specified in the SIP rule. Only one SIP rule per AWS Region can be 1369 // provided. 1370 TargetApplications []SipRuleTargetApplication 1371 1372 // The type of trigger assigned to the SIP rule in TriggerValue, currently 1373 // RequestUriHostname or ToPhoneNumber. 1374 TriggerType SipRuleTriggerType 1375 1376 // If TriggerType is RequestUriHostname, then the value can be the outbound host 1377 // name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then 1378 // the value can be a customer-owned phone number in E164 format. SipRule is 1379 // triggered when a SIP rule requests host name or ToPhoneNumber matches in the 1380 // incoming SIP request. 1381 TriggerValue *string 1382 1383 // The time at which the SIP rule was last updated, in ISO 8601 format. 1384 UpdatedTimestamp *time.Time 1385 1386 noSmithyDocumentSerde 1387} 1388 1389// Target SIP media application and other details, such as priority and AWS Region, 1390// to be specified in the SIP rule. Only one SIP rule per AWS Region can be 1391// provided. 1392type SipRuleTargetApplication struct { 1393 1394 // The AWS Region of the target application. 1395 AwsRegion *string 1396 1397 // Priority of the SIP media application in the target list. 1398 Priority *int32 1399 1400 // The SIP media application ID. 1401 SipMediaApplicationId *string 1402 1403 noSmithyDocumentSerde 1404} 1405 1406// The streaming configuration associated with an Amazon Chime Voice Connector. 1407// Specifies whether media streaming is enabled for sending to Amazon Kinesis, and 1408// shows the retention period for the Amazon Kinesis data, in hours. 1409type StreamingConfiguration struct { 1410 1411 // The retention period, in hours, for the Amazon Kinesis data. 1412 // 1413 // This member is required. 1414 DataRetentionInHours *int32 1415 1416 // When true, media streaming to Amazon Kinesis is turned off. 1417 Disabled *bool 1418 1419 // The streaming notification targets. 1420 StreamingNotificationTargets []StreamingNotificationTarget 1421 1422 noSmithyDocumentSerde 1423} 1424 1425// The targeted recipient for a streaming configuration notification. 1426type StreamingNotificationTarget struct { 1427 1428 // The streaming notification target. 1429 // 1430 // This member is required. 1431 NotificationTarget NotificationTarget 1432 1433 noSmithyDocumentSerde 1434} 1435 1436// Describes a tag applied to a resource. 1437type Tag struct { 1438 1439 // The key of the tag. 1440 // 1441 // This member is required. 1442 Key *string 1443 1444 // The value of the tag. 1445 // 1446 // This member is required. 1447 Value *string 1448 1449 noSmithyDocumentSerde 1450} 1451 1452// Settings that allow management of telephony permissions for an Amazon Chime 1453// user, such as inbound and outbound calling and text messaging. 1454type TelephonySettings struct { 1455 1456 // Allows or denies inbound calling. 1457 // 1458 // This member is required. 1459 InboundCalling *bool 1460 1461 // Allows or denies outbound calling. 1462 // 1463 // This member is required. 1464 OutboundCalling *bool 1465 1466 // Allows or denies SMS messaging. 1467 // 1468 // This member is required. 1469 SMS *bool 1470 1471 noSmithyDocumentSerde 1472} 1473 1474// Termination settings enable your SIP hosts to make outbound calls using your 1475// Amazon Chime Voice Connector. 1476type Termination struct { 1477 1478 // The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. 1479 // Required. 1480 CallingRegions []string 1481 1482 // The IP addresses allowed to make calls, in CIDR format. Required. 1483 CidrAllowedList []string 1484 1485 // The limit on calls per second. Max value based on account service quota. Default 1486 // value of 1. 1487 CpsLimit *int32 1488 1489 // The default caller ID phone number. 1490 DefaultPhoneNumber *string 1491 1492 // When termination settings are disabled, outbound calls can not be made. 1493 Disabled *bool 1494 1495 noSmithyDocumentSerde 1496} 1497 1498// The termination health details, including the source IP address and timestamp of 1499// the last successful SIP OPTIONS message from your SIP infrastructure. 1500type TerminationHealth struct { 1501 1502 // The source IP address. 1503 Source *string 1504 1505 // The timestamp, in ISO 8601 format. 1506 Timestamp *time.Time 1507 1508 noSmithyDocumentSerde 1509} 1510 1511// The configuration for the current transcription operation. Must contain 1512// EngineTranscribeSettings or EngineTranscribeMedicalSettings. 1513type TranscriptionConfiguration struct { 1514 1515 // The transcription configuration settings passed to Amazon Transcribe Medical. 1516 EngineTranscribeMedicalSettings *EngineTranscribeMedicalSettings 1517 1518 // The transcription configuration settings passed to Amazon Transcribe. 1519 EngineTranscribeSettings *EngineTranscribeSettings 1520 1521 noSmithyDocumentSerde 1522} 1523 1524// The phone number ID, product type, or calling name fields to update, used with 1525// the BatchUpdatePhoneNumber and UpdatePhoneNumber actions. 1526type UpdatePhoneNumberRequestItem struct { 1527 1528 // The phone number ID to update. 1529 // 1530 // This member is required. 1531 PhoneNumberId *string 1532 1533 // The outbound calling name to update. 1534 CallingName *string 1535 1536 // The product type to update. 1537 ProductType PhoneNumberProductType 1538 1539 noSmithyDocumentSerde 1540} 1541 1542// The user ID and user fields to update, used with the BatchUpdateUser action. 1543type UpdateUserRequestItem struct { 1544 1545 // The user ID. 1546 // 1547 // This member is required. 1548 UserId *string 1549 1550 // The Alexa for Business metadata. 1551 AlexaForBusinessMetadata *AlexaForBusinessMetadata 1552 1553 // The user license type. 1554 LicenseType License 1555 1556 // The user type. 1557 UserType UserType 1558 1559 noSmithyDocumentSerde 1560} 1561 1562// The user on the Amazon Chime account. 1563type User struct { 1564 1565 // The user ID. 1566 // 1567 // This member is required. 1568 UserId *string 1569 1570 // The Amazon Chime account ID. 1571 AccountId *string 1572 1573 // The Alexa for Business metadata. 1574 AlexaForBusinessMetadata *AlexaForBusinessMetadata 1575 1576 // The display name of the user. 1577 DisplayName *string 1578 1579 // Date and time when the user is invited to the Amazon Chime account, in ISO 8601 1580 // format. 1581 InvitedOn *time.Time 1582 1583 // The license type for the user. 1584 LicenseType License 1585 1586 // The user's personal meeting PIN. 1587 PersonalPIN *string 1588 1589 // The primary email address of the user. 1590 PrimaryEmail *string 1591 1592 // The primary phone number associated with the user. 1593 PrimaryProvisionedNumber *string 1594 1595 // Date and time when the user is registered, in ISO 8601 format. 1596 RegisteredOn *time.Time 1597 1598 // The user invite status. 1599 UserInvitationStatus InviteStatus 1600 1601 // The user registration status. 1602 UserRegistrationStatus RegistrationStatus 1603 1604 // The user type. 1605 UserType UserType 1606 1607 noSmithyDocumentSerde 1608} 1609 1610// The list of errors returned when errors are encountered during the 1611// BatchSuspendUser, BatchUnsuspendUser, or BatchUpdateUser actions. This includes 1612// user IDs, error codes, and error messages. 1613type UserError struct { 1614 1615 // The error code. 1616 ErrorCode ErrorCode 1617 1618 // The error message. 1619 ErrorMessage *string 1620 1621 // The user ID for which the action failed. 1622 UserId *string 1623 1624 noSmithyDocumentSerde 1625} 1626 1627// Settings associated with an Amazon Chime user, including inbound and outbound 1628// calling and text messaging. 1629type UserSettings struct { 1630 1631 // The telephony settings associated with the user. 1632 // 1633 // This member is required. 1634 Telephony *TelephonySettings 1635 1636 noSmithyDocumentSerde 1637} 1638 1639// The Amazon Chime Voice Connector configuration, including outbound host name and 1640// encryption settings. 1641type VoiceConnector struct { 1642 1643 // The AWS Region in which the Amazon Chime Voice Connector is created. Default: 1644 // us-east-1. 1645 AwsRegion VoiceConnectorAwsRegion 1646 1647 // The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format. 1648 CreatedTimestamp *time.Time 1649 1650 // The name of the Amazon Chime Voice Connector. 1651 Name *string 1652 1653 // The outbound host name for the Amazon Chime Voice Connector. 1654 OutboundHostName *string 1655 1656 // Designates whether encryption is required for the Amazon Chime Voice Connector. 1657 RequireEncryption *bool 1658 1659 // The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format. 1660 UpdatedTimestamp *time.Time 1661 1662 // The Amazon Chime Voice Connector ID. 1663 VoiceConnectorId *string 1664 1665 noSmithyDocumentSerde 1666} 1667 1668// The Amazon Chime Voice Connector group configuration, including associated 1669// Amazon Chime Voice Connectors. You can include Amazon Chime Voice Connectors 1670// from different AWS Regions in your group. This creates a fault tolerant 1671// mechanism for fallback in case of availability events. 1672type VoiceConnectorGroup struct { 1673 1674 // The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 format. 1675 CreatedTimestamp *time.Time 1676 1677 // The name of the Amazon Chime Voice Connector group. 1678 Name *string 1679 1680 // The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 format. 1681 UpdatedTimestamp *time.Time 1682 1683 // The Amazon Chime Voice Connector group ID. 1684 VoiceConnectorGroupId *string 1685 1686 // The Amazon Chime Voice Connectors to which to route inbound calls. 1687 VoiceConnectorItems []VoiceConnectorItem 1688 1689 noSmithyDocumentSerde 1690} 1691 1692// For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors to 1693// which to route inbound calls. Includes priority configuration settings. Limit: 3 1694// VoiceConnectorItems per Amazon Chime Voice Connector group. 1695type VoiceConnectorItem struct { 1696 1697 // The priority associated with the Amazon Chime Voice Connector, with 1 being the 1698 // highest priority. Higher priority Amazon Chime Voice Connectors are attempted 1699 // first. 1700 // 1701 // This member is required. 1702 Priority *int32 1703 1704 // The Amazon Chime Voice Connector ID. 1705 // 1706 // This member is required. 1707 VoiceConnectorId *string 1708 1709 noSmithyDocumentSerde 1710} 1711 1712// The Amazon Chime Voice Connector settings. Includes any Amazon S3 buckets 1713// designated for storing call detail records. 1714type VoiceConnectorSettings struct { 1715 1716 // The Amazon S3 bucket designated for call detail record storage. 1717 CdrBucket *string 1718 1719 noSmithyDocumentSerde 1720} 1721 1722type noSmithyDocumentSerde = smithydocument.NoSerde 1723