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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Displays the attributes associated with a single Amazon Web Services account.
type AccountAttribute struct {
// The name of the account attribute.
//
// This member is required.
Name AccountAttributeName
// The value associated with the account attribute name.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// The current resource quotas associated with an Amazon Web Services account.
type AccountLimit struct {
// The Amazon Web Services set limit for that resource type, in US dollars.
//
// This member is required.
Max int64
// The name of the attribute to apply the account limit to.
//
// This member is required.
Name AccountLimitName
// The current amount that has been spent, in US dollars.
//
// This member is required.
Used int64
noSmithyDocumentSerde
}
// Contains the destination configuration to use when publishing message sending
// events.
type CloudWatchLogsDestination struct {
// The Amazon Resource Name (ARN) of an Amazon Identity and Access Management
// (IAM) role that is able to write event data to an Amazon CloudWatch destination.
//
// This member is required.
IamRoleArn *string
// The name of the Amazon CloudWatch log group that you want to record events in.
//
// This member is required.
LogGroupArn *string
noSmithyDocumentSerde
}
// The information for configuration sets that meet a specified criteria.
type ConfigurationSetFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name ConfigurationSetFilterName
// An array values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Information related to a given configuration set in your Amazon Web Services
// account.
type ConfigurationSetInformation struct {
// The Resource Name (ARN) of the ConfigurationSet.
//
// This member is required.
ConfigurationSetArn *string
// The name of the ConfigurationSet.
//
// This member is required.
ConfigurationSetName *string
// The time when the ConfigurationSet was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// An array of EventDestination objects that describe any events to log and where
// to log them.
//
// This member is required.
EventDestinations []EventDestination
// The type of message. Valid values are TRANSACTIONAL for messages that are
// critical or time-sensitive and PROMOTIONAL for messages that aren't critical or
// time-sensitive.
DefaultMessageType MessageType
// The default sender ID used by the ConfigurationSet.
DefaultSenderId *string
noSmithyDocumentSerde
}
// Contains information about an event destination. Event destinations are
// associated with configuration sets, which enable you to publish message sending
// events to CloudWatch, Kinesis Data Firehose,or Amazon SNS.
type EventDestination struct {
// When set to true events will be logged.
//
// This member is required.
Enabled *bool
// The name of the EventDestination.
//
// This member is required.
EventDestinationName *string
// An array of event types that determine which events to log. The TEXT_SENT event
// type is not supported.
//
// This member is required.
MatchingEventTypes []EventType
// An object that contains information about an event destination that sends
// logging events to Amazon CloudWatch logs.
CloudWatchLogsDestination *CloudWatchLogsDestination
// An object that contains information about an event destination for logging to
// Amazon Kinesis Data Firehose.
KinesisFirehoseDestination *KinesisFirehoseDestination
// An object that contains information about an event destination that sends
// logging events to Amazon SNS.
SnsDestination *SnsDestination
noSmithyDocumentSerde
}
// The information for keywords that meet a specified criteria.
type KeywordFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name KeywordFilterName
// An array values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The information for all keywords in a pool.
type KeywordInformation struct {
// The keyword as a string.
//
// This member is required.
Keyword *string
// The action to perform for the keyword.
//
// This member is required.
KeywordAction KeywordAction
// A custom message that can be used with the keyword.
//
// This member is required.
KeywordMessage *string
noSmithyDocumentSerde
}
// Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the
// Identity and Access Management (IAM) role associated with an Kinesis Data
// Firehose event destination. Event destinations, such as Kinesis Data Firehose,
// are associated with configuration sets, which enable you to publish message
// sending events.
type KinesisFirehoseDestination struct {
// The Amazon Resource Name (ARN) of the delivery stream.
//
// This member is required.
DeliveryStreamArn *string
// The ARN of an Amazon Identity and Access Management (IAM) role that is able to
// write event data to an Amazon Firehose destination.
//
// This member is required.
IamRoleArn *string
noSmithyDocumentSerde
}
// The information for opted out numbers that meet a specified criteria.
type OptedOutFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name OptedOutFilterName
// An array of values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The information for an opted out number in an Amazon Web Services account.
type OptedOutNumberInformation struct {
// This is set to true if it was the end recipient that opted out.
//
// This member is required.
EndUserOptedOut bool
// The phone number that is opted out.
//
// This member is required.
OptedOutNumber *string
// The time that the op tout occurred, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
OptedOutTimestamp *time.Time
noSmithyDocumentSerde
}
// The information for all OptOutList in an Amazon Web Services account.
type OptOutListInformation struct {
// The time when the OutOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// The Amazon Resource Name (ARN) of the OptOutList.
//
// This member is required.
OptOutListArn *string
// The name of the OptOutList.
//
// This member is required.
OptOutListName *string
noSmithyDocumentSerde
}
// The metadata for an origination identity associated with a pool.
type OriginationIdentityMetadata struct {
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
//
// This member is required.
IsoCountryCode *string
// Describes if the origination identity can be used for text messages, voice
// calls or both.
//
// This member is required.
NumberCapabilities []NumberCapability
// The unique identifier of the origination identity.
//
// This member is required.
OriginationIdentity *string
// The Amazon Resource Name (ARN) associated with the origination identity.
//
// This member is required.
OriginationIdentityArn *string
// The phone number in E.164 format.
PhoneNumber *string
noSmithyDocumentSerde
}
// The information for a phone number that meets a specified criteria.
type PhoneNumberFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name PhoneNumberFilterName
// An array values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The information for a phone number, in E.164 format, in an Amazon Web Services
// account.
type PhoneNumberInformation struct {
// The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// When set to true the phone number can't be deleted.
//
// This member is required.
DeletionProtectionEnabled bool
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
//
// This member is required.
IsoCountryCode *string
// The type of message. Valid values are TRANSACTIONAL for messages that are
// critical or time-sensitive and PROMOTIONAL for messages that aren't critical or
// time-sensitive.
//
// This member is required.
MessageType MessageType
// The price, in US dollars, to lease the phone number.
//
// This member is required.
MonthlyLeasingPrice *string
// Describes if the origination identity can be used for text messages, voice
// calls or both.
//
// This member is required.
NumberCapabilities []NumberCapability
// The type of phone number.
//
// This member is required.
NumberType NumberType
// The name of the OptOutList associated with the phone number.
//
// This member is required.
OptOutListName *string
// The phone number in E.164 format.
//
// This member is required.
PhoneNumber *string
// The Amazon Resource Name (ARN) associated with the phone number.
//
// This member is required.
PhoneNumberArn *string
// When set to false an end recipient sends a message that begins with HELP or
// STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
// with a customizable message and adds the end recipient to the OptOutList. When
// set to true you're responsible for responding to HELP and STOP requests. You're
// also responsible for tracking and honoring opt-out request. For more information
// see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
//
// This member is required.
SelfManagedOptOutsEnabled bool
// The current status of the phone number.
//
// This member is required.
Status NumberStatus
// By default this is set to false. When set to true you can receive incoming text
// messages from your end recipients using the TwoWayChannelArn.
//
// This member is required.
TwoWayEnabled bool
// The unique identifier for the phone number.
PhoneNumberId *string
// The unique identifier of the pool associated with the phone number.
PoolId *string
// The unique identifier for the registration.
RegistrationId *string
// The Amazon Resource Name (ARN) of the two way channel.
TwoWayChannelArn *string
// An optional IAM Role Arn for a service to assume, to be able to post inbound
// SMS messages.
TwoWayChannelRole *string
noSmithyDocumentSerde
}
// The information for a pool that meets a specified criteria.
type PoolFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name PoolFilterName
// An array values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The information for a pool in an Amazon Web Services account.
type PoolInformation struct {
// The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// When set to true the pool can't be deleted.
//
// This member is required.
DeletionProtectionEnabled bool
// The type of message. Valid values are TRANSACTIONAL for messages that are
// critical or time-sensitive and PROMOTIONAL for messages that aren't critical or
// time-sensitive.
//
// This member is required.
MessageType MessageType
// The name of the OptOutList associated with the pool.
//
// This member is required.
OptOutListName *string
// The Amazon Resource Name (ARN) for the pool.
//
// This member is required.
PoolArn *string
// The unique identifier for the pool.
//
// This member is required.
PoolId *string
// When set to false, an end recipient sends a message that begins with HELP or
// STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
// with a customizable message and adds the end recipient to the OptOutList. When
// set to true you're responsible for responding to HELP and STOP requests. You're
// also responsible for tracking and honoring opt-out requests. For more
// information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
//
// This member is required.
SelfManagedOptOutsEnabled bool
// Allows you to enable shared routes on your pool. By default, this is set to
// False . If you set this value to True , your messages are sent using phone
// numbers or sender IDs (depending on the country) that are shared with other
// Amazon Pinpoint users. In some countries, such as the United States, senders
// aren't allowed to use shared routes and must use a dedicated phone number or
// short code.
//
// This member is required.
SharedRoutesEnabled bool
// The current status of the pool.
//
// This member is required.
Status PoolStatus
// When set to true you can receive incoming text messages from your end
// recipients using the TwoWayChannelArn.
//
// This member is required.
TwoWayEnabled bool
// The Amazon Resource Name (ARN) of the two way channel.
TwoWayChannelArn *string
// An optional IAM Role Arn for a service to assume, to be able to post inbound
// SMS messages.
TwoWayChannelRole *string
noSmithyDocumentSerde
}
// Information about origination identities associated with a pool that meets a
// specified criteria.
type PoolOriginationIdentitiesFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name PoolOriginationIdentitiesFilterName
// An array values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The filter definition for filtering registrations that meets a specified
// criteria.
type RegistrationAssociationFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name RegistrationAssociationFilterName
// An array of values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Metadata for the origination identity that is associated with the registration.
type RegistrationAssociationMetadata struct {
// The Amazon Resource Name (ARN) of the origination identity that is associated
// with the registration.
//
// This member is required.
ResourceArn *string
// The unique identifier for the origination identity. For example this could be a
// PhoneNumberId or SenderId.
//
// This member is required.
ResourceId *string
// The origination identity type.
//
// This member is required.
ResourceType *string
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
IsoCountryCode *string
// The phone number associated with the registration in E.164 format.
PhoneNumber *string
noSmithyDocumentSerde
}
// The filter definition for filtering registration attachments that meets a
// specified criteria.
type RegistrationAttachmentFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name RegistrationAttachmentFilterName
// An array of values to filter on.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Provides information on the specified registration attachments.
type RegistrationAttachmentsInformation struct {
// The status of the registration attachment.
// - UPLOAD_IN_PROGRESS The attachment is being uploaded.
// - UPLOAD_COMPLETE The attachment has been uploaded.
// - UPLOAD_FAILED The attachment failed to uploaded.
// - DELETED The attachment has been deleted..
//
// This member is required.
AttachmentStatus AttachmentStatus
// The time when the registration attachment was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// The Amazon Resource Name (ARN) for the registration attachment.
//
// This member is required.
RegistrationAttachmentArn *string
// The unique identifier for the registration attachment.
//
// This member is required.
RegistrationAttachmentId *string
// A description of why the upload didn't successfully complete.
AttachmentUploadErrorReason AttachmentUploadErrorReason
noSmithyDocumentSerde
}
// Provides the reason a registration was rejected.
type RegistrationDeniedReasonInformation struct {
// The reason a registration was rejected.
//
// This member is required.
Reason *string
// A short description of the rejection reason.
//
// This member is required.
ShortDescription *string
// The link to the document.
DocumentationLink *string
// The title of the document.
DocumentationTitle *string
// A long description of the rejection reason.
LongDescription *string
noSmithyDocumentSerde
}
// Provides a description of the specified field.
type RegistrationFieldDefinition struct {
// An array of RegistrationFieldDisplayHints objects for the field.
//
// This member is required.
DisplayHints *RegistrationFieldDisplayHints
// The path to the registration form field. You can use
// DescribeRegistrationFieldDefinitions for a list of FieldPaths.
//
// This member is required.
FieldPath *string
// Specifies if the field for the registration form is required, conditional or
// optional.
//
// This member is required.
FieldRequirement FieldRequirement
// The type of field.
//
// This member is required.
FieldType FieldType
// The section path of the field.
//
// This member is required.
SectionPath *string
// The validation rules for a select field.
SelectValidation *SelectValidation
// The validation rules for a text field.
TextValidation *TextValidation
noSmithyDocumentSerde
}
// Provides help information on the registration field.
type RegistrationFieldDisplayHints struct {
// A short description of the display hint.
//
// This member is required.
ShortDescription *string
// The title of the display hint.
//
// This member is required.
Title *string
// The link to the document the display hint is associated with.
DocumentationLink *string
// The title of the document the display hint is associated with.
DocumentationTitle *string
// Example text of what the value of a field should contain.
ExampleTextValue *string
// A full description of the display hint.
LongDescription *string
// An array of SelectOptionDescription objects.
SelectOptionDescriptions []SelectOptionDescription
// The validation rules for the text field.
TextValidationDescription *string
noSmithyDocumentSerde
}
// Provides the values of the specified field.
type RegistrationFieldValueInformation struct {
// The path to the registration form field. You can use
// DescribeRegistrationFieldDefinitions for a list of FieldPaths.
//
// This member is required.
FieldPath *string
// A description of why the registration was denied.
DeniedReason *string
// The unique identifier for the registration attachment.
RegistrationAttachmentId *string
// An array of values for the form field.
SelectChoices []string
// The text data for a free form field.
TextValue *string
noSmithyDocumentSerde
}
// The filter definition for filtering registrations that meets a specified
// criteria.
type RegistrationFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name RegistrationFilterName
// An array of values to filter on.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Provides information about the requested registration.
type RegistrationInformation struct {
// The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// The current version number of the registration.
//
// This member is required.
CurrentVersionNumber *int64
// The Amazon Resource Name (ARN) for the registration.
//
// This member is required.
RegistrationArn *string
// The unique identifier for the registration.
//
// This member is required.
RegistrationId *string
// The status of the registration.
// - CREATED : Your registration is created but not submitted.
// - SUBMITTED : Your registration has been submitted and is awaiting review.
// - REVIEWING : Your registration has been accepted and is being reviewed.
// - PROVISIONING : Your registration has been approved and your origination
// identity is being created.
// - COMPLETE : Your registration has been approved and and your origination
// identity has been created.
// - REQUIRES_UPDATES : You must fix your registration and resubmit it.
// - CLOSED : The phone number or sender ID has been deleted and you must also
// delete the registration for the number.
// - DELETED : The registration has been deleted.
//
// This member is required.
RegistrationStatus RegistrationStatus
// The type of registration form. The list of RegistrationTypes can be found using
// the DescribeRegistrationTypeDefinitions action.
//
// This member is required.
RegistrationType *string
// Metadata about a given registration which is specific to that registration type.
AdditionalAttributes map[string]string
// The version number of the registration that was approved.
ApprovedVersionNumber *int64
// The latest version number of the registration that was denied.
LatestDeniedVersionNumber *int64
noSmithyDocumentSerde
}
// Provides information on the specified section definition.
type RegistrationSectionDefinition struct {
// The path to the section of the registration.
//
// This member is required.
DisplayHints *RegistrationSectionDisplayHints
// The path to the section of the registration.
//
// This member is required.
SectionPath *string
noSmithyDocumentSerde
}
// Provides help information on the registration section.
type RegistrationSectionDisplayHints struct {
// A short description of the display hint.
//
// This member is required.
ShortDescription *string
// The title of the display hint.
//
// This member is required.
Title *string
// The link to the document the display hint is associated with.
DocumentationLink *string
// The title of the document the display hint is associated with.
DocumentationTitle *string
// A full description of the display hint.
LongDescription *string
noSmithyDocumentSerde
}
// Provides information on the supported registration type.
type RegistrationTypeDefinition struct {
// Provides help information on the registration.
//
// This member is required.
DisplayHints *RegistrationTypeDisplayHints
// The type of registration form. The list of RegistrationTypes can be found using
// the DescribeRegistrationTypeDefinitions action.
//
// This member is required.
RegistrationType *string
// The supported association behavior for the registration type.
SupportedAssociations []SupportedAssociation
noSmithyDocumentSerde
}
// Provides help information on the registration type.
type RegistrationTypeDisplayHints struct {
// The title of the display hint.
//
// This member is required.
Title *string
// The link to the document the display hint is associated with.
DocumentationLink *string
// The title of the document the display hint is associated with.
DocumentationTitle *string
// A full description of the display hint.
LongDescription *string
// A short description of the display hint.
ShortDescription *string
noSmithyDocumentSerde
}
// The filter definition for filtering registration types that meets a specified
// criteria.
type RegistrationTypeFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name RegistrationTypeFilterName
// An array of values to filter on.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The filter definition for filtering registration versions that meets a
// specified criteria.
type RegistrationVersionFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name RegistrationVersionFilterName
// An array of values to filter on.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Provides information about the specified version of the registration.
type RegistrationVersionInformation struct {
// The status of the registration.
// - DRAFT : The initial status of a registration version after it’s created.
// - SUBMITTED : Your registration has been submitted.
// - REVIEWING : Your registration has been accepted and is being reviewed.
// - APPROVED : Your registration has been approved.
// - DISCARDED : You've abandon this version of their registration to start over
// with a new version.
// - DENIED : You must fix your registration and resubmit it.
// - REVOKED : Your previously approved registration has been revoked.
// - ARCHIVED : Your previously approved registration version moves into this
// status when a more recently submitted version is approved.
//
// This member is required.
RegistrationVersionStatus RegistrationVersionStatus
// The RegistrationVersionStatusHistory object contains the time stamps for when
// the reservations status changes.
//
// This member is required.
RegistrationVersionStatusHistory *RegistrationVersionStatusHistory
// The version number of the registration.
//
// This member is required.
VersionNumber *int64
// An array of RegistrationDeniedReasonInformation objects.
DeniedReasons []RegistrationDeniedReasonInformation
noSmithyDocumentSerde
}
// The RegistrationVersionStatusHistory object contains the time stamps for when
// the reservations status changes.
type RegistrationVersionStatusHistory struct {
// The time when the registration was in the draft state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
DraftTimestamp *time.Time
// The time when the registration was in the approved state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
ApprovedTimestamp *time.Time
// The time when the registration was in the archived state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
ArchivedTimestamp *time.Time
// The time when the registration was in the denied state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
DeniedTimestamp *time.Time
// The time when the registration was in the discarded state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
DiscardedTimestamp *time.Time
// The time when the registration was in the reviewing state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
ReviewingTimestamp *time.Time
// The time when the registration was in the revoked state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
RevokedTimestamp *time.Time
// The time when the registration was in the submitted state, in UNIX epoch time (https://www.epochconverter.com/)
// format.
SubmittedTimestamp *time.Time
noSmithyDocumentSerde
}
// A description of each select option.
type SelectOptionDescription struct {
// The value of the option.
//
// This member is required.
Option *string
// A description of the option meaning.
Description *string
// The title of the select option.
Title *string
noSmithyDocumentSerde
}
// Validation rules for a select field.
type SelectValidation struct {
// The maximum number of choices for the select.
//
// This member is required.
MaxChoices *int32
// The minimum number of choices for the select.
//
// This member is required.
MinChoices *int32
// An array of strings for the possible selection options.
//
// This member is required.
Options []string
noSmithyDocumentSerde
}
// The alphanumeric sender ID in a specific country that you want to describe. For
// more information on sender IDs see Requesting sender IDs for SMS messaging with
// Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-sender-id.html)
// in the Amazon Pinpoint User Guide.
type SenderIdAndCountry struct {
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
//
// This member is required.
IsoCountryCode *string
// The unique identifier of the sender.
//
// This member is required.
SenderId *string
noSmithyDocumentSerde
}
// The information for a sender ID that meets a specified criteria.
type SenderIdFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name SenderIdFilterName
// An array of values to filter for.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// The information for all SenderIds in an Amazon Web Services account.
type SenderIdInformation struct {
// By default this is set to false. When set to true the sender ID can't be
// deleted.
//
// This member is required.
DeletionProtectionEnabled bool
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
//
// This member is required.
IsoCountryCode *string
// The type of message. Valid values are TRANSACTIONAL for messages that are
// critical or time-sensitive and PROMOTIONAL for messages that aren't critical or
// time-sensitive.
//
// This member is required.
MessageTypes []MessageType
// The monthly leasing price, in US dollars.
//
// This member is required.
MonthlyLeasingPrice *string
// True if the sender ID is registered.
//
// This member is required.
Registered bool
// The alphanumeric sender ID in a specific country that you'd like to describe.
//
// This member is required.
SenderId *string
// The Amazon Resource Name (ARN) associated with the SenderId.
//
// This member is required.
SenderIdArn *string
// The unique identifier for the registration.
RegistrationId *string
noSmithyDocumentSerde
}
// An object that defines an Amazon SNS destination for events. You can use Amazon
// SNS to send notification when certain events occur.
type SnsDestination struct {
// The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish
// events to.
//
// This member is required.
TopicArn *string
noSmithyDocumentSerde
}
// Describes the current Amazon Pinpoint monthly spend limits for sending voice
// and text messages. For more information on increasing your monthly spend limit,
// see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-spend-threshold.html)
// in the Amazon Pinpoint User Guide.
type SpendLimit struct {
// The maximum amount of money, in US dollars, that you want to be able to spend
// sending messages each month. This value has to be less than or equal to the
// amount in MaxLimit . To use this custom limit, Overridden must be set to true.
//
// This member is required.
EnforcedLimit int64
// The maximum amount of money that you are able to spend to send messages each
// month, in US dollars.
//
// This member is required.
MaxLimit int64
// The name for the SpendLimit.
//
// This member is required.
Name SpendLimitName
// When set to True , the value that has been specified in the EnforcedLimit is
// used to determine the maximum amount in US dollars that can be spent to send
// messages each month, in US dollars.
//
// This member is required.
Overridden bool
noSmithyDocumentSerde
}
// The processing rules for when a registration can be associated with an
// origination identity and disassociated from an origination identity.
type SupportedAssociation struct {
// The association behavior.
// - ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied when
// creating a registration.
// - ASSOCIATE_ON_APPROVAL This applies to all short code registrations. The
// short code will be automatically provisioned once the registration is approved.
// - ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations when you
// must complete a registration first, then associate one or more phone numbers
// later. For example 10DLC campaigns and long codes.
//
// This member is required.
AssociationBehavior RegistrationAssociationBehavior
// The disassociation behavior.
// - DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must be
// disassociated from the registration before the registration can be closed.
// - DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities must
// be disassociated from the registration before the registration can be deleted.
// - DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and all
// origination identities will be disasscoiated.
//
// This member is required.
DisassociationBehavior RegistrationDisassociationBehavior
// Defines the behavior of when an origination identity and registration can be
// associated with each other.
//
// This member is required.
ResourceType *string
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
IsoCountryCode *string
noSmithyDocumentSerde
}
// The list of tags to be added to the specified topic.
type Tag struct {
// The key identifier, or name, of the tag.
//
// This member is required.
Key *string
// The string value associated with the key of the tag.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// Validation rules for a text field.
type TextValidation struct {
// The maximum number of characters for the text field.
//
// This member is required.
MaxLength *int32
// The minimum number of characters for the text field.
//
// This member is required.
MinLength *int32
// The regular expression used to validate the text field.
//
// This member is required.
Pattern *string
noSmithyDocumentSerde
}
// The field associated with the validation exception.
type ValidationExceptionField struct {
// The message associated with the validation exception with information to help
// determine its cause.
//
// This member is required.
Message *string
// The name of the field.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// The filter definition for filtering verified destination phone numbers that
// meets a specified criteria.
type VerifiedDestinationNumberFilter struct {
// The name of the attribute to filter on.
//
// This member is required.
Name VerifiedDestinationNumberFilterName
// An array of values to filter on.
//
// This member is required.
Values []string
noSmithyDocumentSerde
}
// Provides information about the requested verified destintion phone number.
type VerifiedDestinationNumberInformation struct {
// The time when the destination phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
//
// This member is required.
CreatedTimestamp *time.Time
// The verified destination phone number, in E.164 format.
//
// This member is required.
DestinationPhoneNumber *string
// The status of the verified destination phone number.
// - PENDING : The phone number hasn't been verified yet.
// - VERIFIED : The phone number is verified and can receive messages.
//
// This member is required.
Status VerificationStatus
// The Amazon Resource Name (ARN) for the verified destination phone number.
//
// This member is required.
VerifiedDestinationNumberArn *string
// The unique identifier for the verified destination phone number.
//
// This member is required.
VerifiedDestinationNumberId *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|