@aws-sdk/client-pinpoint-sms-voice-v2 3.1120.0 → 3.1122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +96 -53
- package/dist-es/schemas/schemas_0.js +92 -52
- package/dist-types/commands/CreateRegistrationAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRegistrationFieldDefinitionsCommand.d.ts +25 -0
- package/dist-types/commands/UpdateRcsAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSenderIdCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +90 -201
- package/dist-types/models/models_1.d.ts +201 -1
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/UpdateRcsAgentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSenderIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +21 -44
- package/dist-types/ts3.4/models/models_1.d.ts +45 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -234,6 +234,90 @@ export interface CloudWatchLogsDestination {
|
|
|
234
234
|
*/
|
|
235
235
|
LogGroupArn: string | undefined;
|
|
236
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* <p>Per-rule validation constraints that override the field's default validation when the containing rule matches. All fields are optional; only the constraints that need to differ from the field's default validation are provided.</p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export interface ConditionalValidation {
|
|
242
|
+
/**
|
|
243
|
+
* <p>The minimum length for the field value when this rule applies.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
MinLength?: number | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* <p>The maximum length for the field value when this rule applies.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
MaxLength?: number | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* <p>A regular expression that the field value must match when this rule applies.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
Pattern?: string | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* <p>The allowed values for a select field when this rule applies. A subset of the field's full option list.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
AllowedValues?: string[] | undefined;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* <p>A single condition on a dependency field's value. Conditions are combined into a <b>ConditionalRule</b> and evaluated together with logical AND.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export interface FieldCondition {
|
|
268
|
+
/**
|
|
269
|
+
* <p>The path of the field whose value determines this condition, for example <b>companyInfo.businessType</b>.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
DependsOnFieldPath: string | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* <p>The comparison operator to apply between the dependency field's value and <b>Values</b>. Valid values are <b>EQUALS</b>, <b>NOT_EQUALS</b>, <b>IN</b>, <b>NOT_IN</b>, <b>HAS_VALUE</b>, and <b>NO_VALUE</b>. Operators not in this list are treated as evaluating to false, which causes the containing rule to be skipped. This allows forward-compatible additions of new operators without breaking older SDK clients.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
Operator: string | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>The values to compare the dependency field's value against. Required for the <b>EQUALS</b>, <b>NOT_EQUALS</b>, <b>IN</b>, and <b>NOT_IN</b> operators. Omitted for <b>HAS_VALUE</b> and <b>NO_VALUE</b>, which test only presence.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
Values?: string[] | undefined;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* <p>A single conditional rule that resolves to a field behavior when all of its conditions evaluate to true. Conditions within a rule are combined with logical AND: all conditions must match for the rule to fire.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
export interface ConditionalRule {
|
|
289
|
+
/**
|
|
290
|
+
* <p>The conditions that must all evaluate to true for this rule to match. Conditions are combined with logical AND. Use multiple rules with the same <b>RuleBehavior</b> to express logical OR.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
Conditions: FieldCondition[] | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The field behavior that applies when all conditions in this rule match. Valid values are <b>REQUIRED</b>, <b>OPTIONAL</b>, and <b>DISALLOWED</b>.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
RuleBehavior: string | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* <p>Optional per-rule validation constraints (minimum length, maximum length, regex pattern, allowed select values) that override the field's default validation when this rule matches.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
ConditionalValidation?: ConditionalValidation | undefined;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* <p>The set of conditional rules that determine a field's resolved requirement based on the values of other fields in the same registration form. Attached to fields whose <b>FieldRequirement</b> is <b>CONDITIONAL</b>.</p> <p>Evaluation proceeds top-to-bottom through <b>Rules</b>. The first rule whose conditions all evaluate to true wins and its behavior is returned. If no rule matches, the <b>DefaultBehavior</b> is returned.</p>
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
export interface ConditionalBehavior {
|
|
310
|
+
/**
|
|
311
|
+
* <p>An ordered list of conditional rules. Rules are evaluated top-to-bottom and the first rule whose conditions all evaluate to true determines the field's behavior. Rules whose conditions do not all match are skipped and evaluation continues to the next rule.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
Rules: ConditionalRule[] | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* <p>The field behavior that applies when no conditional rule in <b>Rules</b> matches. Valid values are <b>REQUIRED</b>, <b>OPTIONAL</b>, and <b>DISALLOWED</b>.</p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
DefaultBehavior: string | undefined;
|
|
320
|
+
}
|
|
237
321
|
/**
|
|
238
322
|
* <p>The information for configuration sets that meet a specified criteria.</p>
|
|
239
323
|
* @public
|
|
@@ -1097,7 +1181,7 @@ export interface CreateRegistrationAssociationResult {
|
|
|
1097
1181
|
*/
|
|
1098
1182
|
export interface CreateRegistrationAttachmentRequest {
|
|
1099
1183
|
/**
|
|
1100
|
-
* <p>The registration file to upload. The maximum file size is
|
|
1184
|
+
* <p>The registration file to upload. The maximum file size is 5MB and valid file extensions are PDF, JPEG and PNG.</p>
|
|
1101
1185
|
* @public
|
|
1102
1186
|
*/
|
|
1103
1187
|
AttachmentBody?: Uint8Array | undefined;
|
|
@@ -3733,6 +3817,11 @@ export interface RegistrationFieldDefinition {
|
|
|
3733
3817
|
* @public
|
|
3734
3818
|
*/
|
|
3735
3819
|
DisplayHints: RegistrationFieldDisplayHints | undefined;
|
|
3820
|
+
/**
|
|
3821
|
+
* <p>The conditional behavior rules for this field. Only present when <b>FieldRequirement</b> is <b>CONDITIONAL</b>. Rules are evaluated in order and the first matching rule determines the field's resolved requirement. If no rule matches, the <b>DefaultBehavior</b> applies.</p>
|
|
3822
|
+
* @public
|
|
3823
|
+
*/
|
|
3824
|
+
ConditionalBehavior?: ConditionalBehavior | undefined;
|
|
3736
3825
|
}
|
|
3737
3826
|
/**
|
|
3738
3827
|
* @public
|
|
@@ -7779,203 +7868,3 @@ export interface UpdateProtectConfigurationCountryRuleSetResult {
|
|
|
7779
7868
|
*/
|
|
7780
7869
|
CountryRuleSet: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
7781
7870
|
}
|
|
7782
|
-
/**
|
|
7783
|
-
* @public
|
|
7784
|
-
*/
|
|
7785
|
-
export interface UpdateRcsAgentRequest {
|
|
7786
|
-
/**
|
|
7787
|
-
* <p>The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.</p>
|
|
7788
|
-
* @public
|
|
7789
|
-
*/
|
|
7790
|
-
RcsAgentId: string | undefined;
|
|
7791
|
-
/**
|
|
7792
|
-
* <p>By default this is set to false. When set to true the RCS agent can't be deleted.</p>
|
|
7793
|
-
* @public
|
|
7794
|
-
*/
|
|
7795
|
-
DeletionProtectionEnabled?: boolean | undefined;
|
|
7796
|
-
/**
|
|
7797
|
-
* <p>The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.</p>
|
|
7798
|
-
* @public
|
|
7799
|
-
*/
|
|
7800
|
-
OptOutListName?: string | undefined;
|
|
7801
|
-
/**
|
|
7802
|
-
* <p>By default this is set to false. 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.</p>
|
|
7803
|
-
* @public
|
|
7804
|
-
*/
|
|
7805
|
-
SelfManagedOptOutsEnabled?: boolean | undefined;
|
|
7806
|
-
/**
|
|
7807
|
-
* <p>The Amazon Resource Name (ARN) of the two way channel.</p>
|
|
7808
|
-
* @public
|
|
7809
|
-
*/
|
|
7810
|
-
TwoWayChannelArn?: string | undefined;
|
|
7811
|
-
/**
|
|
7812
|
-
* <p>An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.</p>
|
|
7813
|
-
* @public
|
|
7814
|
-
*/
|
|
7815
|
-
TwoWayChannelRole?: string | undefined;
|
|
7816
|
-
/**
|
|
7817
|
-
* <p>By default this is set to false. When set to true you can receive incoming text messages from your end recipients.</p>
|
|
7818
|
-
* @public
|
|
7819
|
-
*/
|
|
7820
|
-
TwoWayEnabled?: boolean | undefined;
|
|
7821
|
-
/**
|
|
7822
|
-
* <p>The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3Role.</p>
|
|
7823
|
-
* @public
|
|
7824
|
-
*/
|
|
7825
|
-
TwoWayMediaS3BucketName?: string | undefined;
|
|
7826
|
-
/**
|
|
7827
|
-
* <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
|
|
7828
|
-
* @public
|
|
7829
|
-
*/
|
|
7830
|
-
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
7831
|
-
/**
|
|
7832
|
-
* <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have <code>s3:PutObject</code> permission on the bucket and a trust policy allowing <code>sms-voice.amazonaws.com</code> to assume it. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3BucketName.</p>
|
|
7833
|
-
* @public
|
|
7834
|
-
*/
|
|
7835
|
-
TwoWayMediaS3Role?: string | undefined;
|
|
7836
|
-
/**
|
|
7837
|
-
* <p>The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value <code>ALL</code> enables all current and future event types and must be the sole element if used.</p>
|
|
7838
|
-
* @public
|
|
7839
|
-
*/
|
|
7840
|
-
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
7841
|
-
}
|
|
7842
|
-
/**
|
|
7843
|
-
* @public
|
|
7844
|
-
*/
|
|
7845
|
-
export interface UpdateRcsAgentResult {
|
|
7846
|
-
/**
|
|
7847
|
-
* <p>The Amazon Resource Name (ARN) of the updated RCS agent.</p>
|
|
7848
|
-
* @public
|
|
7849
|
-
*/
|
|
7850
|
-
RcsAgentArn: string | undefined;
|
|
7851
|
-
/**
|
|
7852
|
-
* <p>The unique identifier for the RCS agent.</p>
|
|
7853
|
-
* @public
|
|
7854
|
-
*/
|
|
7855
|
-
RcsAgentId: string | undefined;
|
|
7856
|
-
/**
|
|
7857
|
-
* <p>The current status of the RCS agent.</p>
|
|
7858
|
-
* @public
|
|
7859
|
-
*/
|
|
7860
|
-
Status: RcsAgentStatus | undefined;
|
|
7861
|
-
/**
|
|
7862
|
-
* <p>The time when the RCS agent was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
|
|
7863
|
-
* @public
|
|
7864
|
-
*/
|
|
7865
|
-
CreatedTimestamp: Date | undefined;
|
|
7866
|
-
/**
|
|
7867
|
-
* <p>When set to true deletion protection is enabled. By default this is set to false.</p>
|
|
7868
|
-
* @public
|
|
7869
|
-
*/
|
|
7870
|
-
DeletionProtectionEnabled: boolean | undefined;
|
|
7871
|
-
/**
|
|
7872
|
-
* <p>The name of the OptOutList associated with the RCS agent.</p>
|
|
7873
|
-
* @public
|
|
7874
|
-
*/
|
|
7875
|
-
OptOutListName?: string | undefined;
|
|
7876
|
-
/**
|
|
7877
|
-
* <p>By default this is set to false. 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.</p>
|
|
7878
|
-
* @public
|
|
7879
|
-
*/
|
|
7880
|
-
SelfManagedOptOutsEnabled: boolean | undefined;
|
|
7881
|
-
/**
|
|
7882
|
-
* <p>The Amazon Resource Name (ARN) of the two way channel.</p>
|
|
7883
|
-
* @public
|
|
7884
|
-
*/
|
|
7885
|
-
TwoWayChannelArn?: string | undefined;
|
|
7886
|
-
/**
|
|
7887
|
-
* <p>An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.</p>
|
|
7888
|
-
* @public
|
|
7889
|
-
*/
|
|
7890
|
-
TwoWayChannelRole?: string | undefined;
|
|
7891
|
-
/**
|
|
7892
|
-
* <p>By default this is set to false. When set to true you can receive incoming text messages from your end recipients.</p>
|
|
7893
|
-
* @public
|
|
7894
|
-
*/
|
|
7895
|
-
TwoWayEnabled: boolean | undefined;
|
|
7896
|
-
/**
|
|
7897
|
-
* <p>The name of the S3 bucket where inbound RCS media files are stored.</p>
|
|
7898
|
-
* @public
|
|
7899
|
-
*/
|
|
7900
|
-
TwoWayMediaS3BucketName?: string | undefined;
|
|
7901
|
-
/**
|
|
7902
|
-
* <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
|
|
7903
|
-
* @public
|
|
7904
|
-
*/
|
|
7905
|
-
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
7906
|
-
/**
|
|
7907
|
-
* <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.</p>
|
|
7908
|
-
* @public
|
|
7909
|
-
*/
|
|
7910
|
-
TwoWayMediaS3Role?: string | undefined;
|
|
7911
|
-
/**
|
|
7912
|
-
* <p>The list of RCS event types enabled for two-way messaging on the agent.</p>
|
|
7913
|
-
* @public
|
|
7914
|
-
*/
|
|
7915
|
-
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
7916
|
-
}
|
|
7917
|
-
/**
|
|
7918
|
-
* @public
|
|
7919
|
-
*/
|
|
7920
|
-
export interface UpdateSenderIdRequest {
|
|
7921
|
-
/**
|
|
7922
|
-
* <p>The sender ID to update.</p>
|
|
7923
|
-
* @public
|
|
7924
|
-
*/
|
|
7925
|
-
SenderId: string | undefined;
|
|
7926
|
-
/**
|
|
7927
|
-
* <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.</p>
|
|
7928
|
-
* @public
|
|
7929
|
-
*/
|
|
7930
|
-
IsoCountryCode: string | undefined;
|
|
7931
|
-
/**
|
|
7932
|
-
* <p>By default this is set to false. When set to true the sender ID can't be deleted.</p>
|
|
7933
|
-
* @public
|
|
7934
|
-
*/
|
|
7935
|
-
DeletionProtectionEnabled?: boolean | undefined;
|
|
7936
|
-
}
|
|
7937
|
-
/**
|
|
7938
|
-
* @public
|
|
7939
|
-
*/
|
|
7940
|
-
export interface UpdateSenderIdResult {
|
|
7941
|
-
/**
|
|
7942
|
-
* <p>The Amazon Resource Name (ARN) associated with the SenderId.</p>
|
|
7943
|
-
* @public
|
|
7944
|
-
*/
|
|
7945
|
-
SenderIdArn: string | undefined;
|
|
7946
|
-
/**
|
|
7947
|
-
* <p>The sender ID that was updated.</p>
|
|
7948
|
-
* @public
|
|
7949
|
-
*/
|
|
7950
|
-
SenderId: string | undefined;
|
|
7951
|
-
/**
|
|
7952
|
-
* <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.</p>
|
|
7953
|
-
* @public
|
|
7954
|
-
*/
|
|
7955
|
-
IsoCountryCode: string | undefined;
|
|
7956
|
-
/**
|
|
7957
|
-
* <p>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.</p>
|
|
7958
|
-
* @public
|
|
7959
|
-
*/
|
|
7960
|
-
MessageTypes: MessageType[] | undefined;
|
|
7961
|
-
/**
|
|
7962
|
-
* <p>The monthly price, in US dollars, to lease the sender ID.</p>
|
|
7963
|
-
* @public
|
|
7964
|
-
*/
|
|
7965
|
-
MonthlyLeasingPrice: string | undefined;
|
|
7966
|
-
/**
|
|
7967
|
-
* <p>By default this is set to false. When set to true the sender ID can't be deleted.</p>
|
|
7968
|
-
* @public
|
|
7969
|
-
*/
|
|
7970
|
-
DeletionProtectionEnabled: boolean | undefined;
|
|
7971
|
-
/**
|
|
7972
|
-
* <p>True if the sender ID is registered..</p>
|
|
7973
|
-
* @public
|
|
7974
|
-
*/
|
|
7975
|
-
Registered: boolean | undefined;
|
|
7976
|
-
/**
|
|
7977
|
-
* <p>The unique identifier for the registration.</p>
|
|
7978
|
-
* @public
|
|
7979
|
-
*/
|
|
7980
|
-
RegistrationId?: string | undefined;
|
|
7981
|
-
}
|
|
@@ -1,4 +1,204 @@
|
|
|
1
|
-
import type { VerificationStatus } from "./enums";
|
|
1
|
+
import type { MessageType, RcsAgentStatus, VerificationStatus } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface UpdateRcsAgentRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
RcsAgentId: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>By default this is set to false. When set to true the RCS agent can't be deleted.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
DeletionProtectionEnabled?: boolean | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
OptOutListName?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>By default this is set to false. 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.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
SelfManagedOptOutsEnabled?: boolean | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The Amazon Resource Name (ARN) of the two way channel.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
TwoWayChannelArn?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
TwoWayChannelRole?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>By default this is set to false. When set to true you can receive incoming text messages from your end recipients.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
TwoWayEnabled?: boolean | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3Role.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have <code>s3:PutObject</code> permission on the bucket and a trust policy allowing <code>sms-voice.amazonaws.com</code> to assume it. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3BucketName.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value <code>ALL</code> enables all current and future event types and must be the sole element if used.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export interface UpdateRcsAgentResult {
|
|
66
|
+
/**
|
|
67
|
+
* <p>The Amazon Resource Name (ARN) of the updated RCS agent.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
RcsAgentArn: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>The unique identifier for the RCS agent.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
RcsAgentId: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* <p>The current status of the RCS agent.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
Status: RcsAgentStatus | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The time when the RCS agent was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
CreatedTimestamp: Date | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>When set to true deletion protection is enabled. By default this is set to false.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
DeletionProtectionEnabled: boolean | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The name of the OptOutList associated with the RCS agent.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
OptOutListName?: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>By default this is set to false. 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.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
SelfManagedOptOutsEnabled: boolean | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The Amazon Resource Name (ARN) of the two way channel.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
TwoWayChannelArn?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
TwoWayChannelRole?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>By default this is set to false. When set to true you can receive incoming text messages from your end recipients.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
TwoWayEnabled: boolean | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>The name of the S3 bucket where inbound RCS media files are stored.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The list of RCS event types enabled for two-way messaging on the agent.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export interface UpdateSenderIdRequest {
|
|
141
|
+
/**
|
|
142
|
+
* <p>The sender ID to update.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
SenderId: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
IsoCountryCode: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>By default this is set to false. When set to true the sender ID can't be deleted.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
DeletionProtectionEnabled?: boolean | undefined;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export interface UpdateSenderIdResult {
|
|
161
|
+
/**
|
|
162
|
+
* <p>The Amazon Resource Name (ARN) associated with the SenderId.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
SenderIdArn: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The sender ID that was updated.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
SenderId: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
IsoCountryCode: string | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>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.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
MessageTypes: MessageType[] | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The monthly price, in US dollars, to lease the sender ID.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
MonthlyLeasingPrice: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>By default this is set to false. When set to true the sender ID can't be deleted.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
DeletionProtectionEnabled: boolean | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* <p>True if the sender ID is registered..</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
Registered: boolean | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The unique identifier for the registration.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
RegistrationId?: string | undefined;
|
|
201
|
+
}
|
|
2
202
|
/**
|
|
3
203
|
* @public
|
|
4
204
|
*/
|
|
@@ -24,6 +24,9 @@ export declare var CarrierLookupRequest$: StaticStructureSchema;
|
|
|
24
24
|
export declare var CarrierLookupResult$: StaticStructureSchema;
|
|
25
25
|
export declare var CarrierStatusInformation$: StaticStructureSchema;
|
|
26
26
|
export declare var CloudWatchLogsDestination$: StaticStructureSchema;
|
|
27
|
+
export declare var ConditionalBehavior$: StaticStructureSchema;
|
|
28
|
+
export declare var ConditionalRule$: StaticStructureSchema;
|
|
29
|
+
export declare var ConditionalValidation$: StaticStructureSchema;
|
|
27
30
|
export declare var ConfigurationSetFilter$: StaticStructureSchema;
|
|
28
31
|
export declare var ConfigurationSetInformation$: StaticStructureSchema;
|
|
29
32
|
export declare var CountryLaunchStatusFilter$: StaticStructureSchema;
|
|
@@ -151,6 +154,7 @@ export declare var DisassociateProtectConfigurationResult$: StaticStructureSchem
|
|
|
151
154
|
export declare var DiscardRegistrationVersionRequest$: StaticStructureSchema;
|
|
152
155
|
export declare var DiscardRegistrationVersionResult$: StaticStructureSchema;
|
|
153
156
|
export declare var EventDestination$: StaticStructureSchema;
|
|
157
|
+
export declare var FieldCondition$: StaticStructureSchema;
|
|
154
158
|
export declare var GetProtectConfigurationCountryRuleSetRequest$: StaticStructureSchema;
|
|
155
159
|
export declare var GetProtectConfigurationCountryRuleSetResult$: StaticStructureSchema;
|
|
156
160
|
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateRcsAgentRequest, UpdateRcsAgentResult } from "../models/
|
|
2
|
+
import { UpdateRcsAgentRequest, UpdateRcsAgentResult } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateRcsAgentCommandInput extends UpdateRcsAgentRequest {}
|
|
5
5
|
export interface UpdateRcsAgentCommandOutput extends UpdateRcsAgentResult, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateSenderIdRequest, UpdateSenderIdResult } from "../models/
|
|
2
|
+
import { UpdateSenderIdRequest, UpdateSenderIdResult } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateSenderIdCommandInput extends UpdateSenderIdRequest {}
|
|
5
5
|
export interface UpdateSenderIdCommandOutput extends UpdateSenderIdResult, __MetadataBearer {}
|
|
@@ -119,6 +119,26 @@ export interface CloudWatchLogsDestination {
|
|
|
119
119
|
IamRoleArn: string | undefined;
|
|
120
120
|
LogGroupArn: string | undefined;
|
|
121
121
|
}
|
|
122
|
+
export interface ConditionalValidation {
|
|
123
|
+
MinLength?: number | undefined;
|
|
124
|
+
MaxLength?: number | undefined;
|
|
125
|
+
Pattern?: string | undefined;
|
|
126
|
+
AllowedValues?: string[] | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface FieldCondition {
|
|
129
|
+
DependsOnFieldPath: string | undefined;
|
|
130
|
+
Operator: string | undefined;
|
|
131
|
+
Values?: string[] | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface ConditionalRule {
|
|
134
|
+
Conditions: FieldCondition[] | undefined;
|
|
135
|
+
RuleBehavior: string | undefined;
|
|
136
|
+
ConditionalValidation?: ConditionalValidation | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface ConditionalBehavior {
|
|
139
|
+
Rules: ConditionalRule[] | undefined;
|
|
140
|
+
DefaultBehavior: string | undefined;
|
|
141
|
+
}
|
|
122
142
|
export interface ConfigurationSetFilter {
|
|
123
143
|
Name: ConfigurationSetFilterName | undefined;
|
|
124
144
|
Values: string[] | undefined;
|
|
@@ -939,6 +959,7 @@ export interface RegistrationFieldDefinition {
|
|
|
939
959
|
SelectValidation?: SelectValidation | undefined;
|
|
940
960
|
TextValidation?: TextValidation | undefined;
|
|
941
961
|
DisplayHints: RegistrationFieldDisplayHints | undefined;
|
|
962
|
+
ConditionalBehavior?: ConditionalBehavior | undefined;
|
|
942
963
|
}
|
|
943
964
|
export interface DescribeRegistrationFieldDefinitionsResult {
|
|
944
965
|
RegistrationType: string | undefined;
|
|
@@ -1986,47 +2007,3 @@ export interface UpdateProtectConfigurationCountryRuleSetResult {
|
|
|
1986
2007
|
NumberCapability: NumberCapability | undefined;
|
|
1987
2008
|
CountryRuleSet: Record<string, ProtectConfigurationCountryRuleSetInformation> | undefined;
|
|
1988
2009
|
}
|
|
1989
|
-
export interface UpdateRcsAgentRequest {
|
|
1990
|
-
RcsAgentId: string | undefined;
|
|
1991
|
-
DeletionProtectionEnabled?: boolean | undefined;
|
|
1992
|
-
OptOutListName?: string | undefined;
|
|
1993
|
-
SelfManagedOptOutsEnabled?: boolean | undefined;
|
|
1994
|
-
TwoWayChannelArn?: string | undefined;
|
|
1995
|
-
TwoWayChannelRole?: string | undefined;
|
|
1996
|
-
TwoWayEnabled?: boolean | undefined;
|
|
1997
|
-
TwoWayMediaS3BucketName?: string | undefined;
|
|
1998
|
-
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
1999
|
-
TwoWayMediaS3Role?: string | undefined;
|
|
2000
|
-
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
2001
|
-
}
|
|
2002
|
-
export interface UpdateRcsAgentResult {
|
|
2003
|
-
RcsAgentArn: string | undefined;
|
|
2004
|
-
RcsAgentId: string | undefined;
|
|
2005
|
-
Status: RcsAgentStatus | undefined;
|
|
2006
|
-
CreatedTimestamp: Date | undefined;
|
|
2007
|
-
DeletionProtectionEnabled: boolean | undefined;
|
|
2008
|
-
OptOutListName?: string | undefined;
|
|
2009
|
-
SelfManagedOptOutsEnabled: boolean | undefined;
|
|
2010
|
-
TwoWayChannelArn?: string | undefined;
|
|
2011
|
-
TwoWayChannelRole?: string | undefined;
|
|
2012
|
-
TwoWayEnabled: boolean | undefined;
|
|
2013
|
-
TwoWayMediaS3BucketName?: string | undefined;
|
|
2014
|
-
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
2015
|
-
TwoWayMediaS3Role?: string | undefined;
|
|
2016
|
-
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
2017
|
-
}
|
|
2018
|
-
export interface UpdateSenderIdRequest {
|
|
2019
|
-
SenderId: string | undefined;
|
|
2020
|
-
IsoCountryCode: string | undefined;
|
|
2021
|
-
DeletionProtectionEnabled?: boolean | undefined;
|
|
2022
|
-
}
|
|
2023
|
-
export interface UpdateSenderIdResult {
|
|
2024
|
-
SenderIdArn: string | undefined;
|
|
2025
|
-
SenderId: string | undefined;
|
|
2026
|
-
IsoCountryCode: string | undefined;
|
|
2027
|
-
MessageTypes: MessageType[] | undefined;
|
|
2028
|
-
MonthlyLeasingPrice: string | undefined;
|
|
2029
|
-
DeletionProtectionEnabled: boolean | undefined;
|
|
2030
|
-
Registered: boolean | undefined;
|
|
2031
|
-
RegistrationId?: string | undefined;
|
|
2032
|
-
}
|
|
@@ -1,4 +1,48 @@
|
|
|
1
|
-
import { VerificationStatus } from "./enums";
|
|
1
|
+
import { MessageType, RcsAgentStatus, VerificationStatus } from "./enums";
|
|
2
|
+
export interface UpdateRcsAgentRequest {
|
|
3
|
+
RcsAgentId: string | undefined;
|
|
4
|
+
DeletionProtectionEnabled?: boolean | undefined;
|
|
5
|
+
OptOutListName?: string | undefined;
|
|
6
|
+
SelfManagedOptOutsEnabled?: boolean | undefined;
|
|
7
|
+
TwoWayChannelArn?: string | undefined;
|
|
8
|
+
TwoWayChannelRole?: string | undefined;
|
|
9
|
+
TwoWayEnabled?: boolean | undefined;
|
|
10
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
11
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
12
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
13
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface UpdateRcsAgentResult {
|
|
16
|
+
RcsAgentArn: string | undefined;
|
|
17
|
+
RcsAgentId: string | undefined;
|
|
18
|
+
Status: RcsAgentStatus | undefined;
|
|
19
|
+
CreatedTimestamp: Date | undefined;
|
|
20
|
+
DeletionProtectionEnabled: boolean | undefined;
|
|
21
|
+
OptOutListName?: string | undefined;
|
|
22
|
+
SelfManagedOptOutsEnabled: boolean | undefined;
|
|
23
|
+
TwoWayChannelArn?: string | undefined;
|
|
24
|
+
TwoWayChannelRole?: string | undefined;
|
|
25
|
+
TwoWayEnabled: boolean | undefined;
|
|
26
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
27
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
28
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
29
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface UpdateSenderIdRequest {
|
|
32
|
+
SenderId: string | undefined;
|
|
33
|
+
IsoCountryCode: string | undefined;
|
|
34
|
+
DeletionProtectionEnabled?: boolean | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface UpdateSenderIdResult {
|
|
37
|
+
SenderIdArn: string | undefined;
|
|
38
|
+
SenderId: string | undefined;
|
|
39
|
+
IsoCountryCode: string | undefined;
|
|
40
|
+
MessageTypes: MessageType[] | undefined;
|
|
41
|
+
MonthlyLeasingPrice: string | undefined;
|
|
42
|
+
DeletionProtectionEnabled: boolean | undefined;
|
|
43
|
+
Registered: boolean | undefined;
|
|
44
|
+
RegistrationId?: string | undefined;
|
|
45
|
+
}
|
|
2
46
|
export interface VerifyDestinationNumberRequest {
|
|
3
47
|
VerifiedDestinationNumberId: string | undefined;
|
|
4
48
|
VerificationCode: string | undefined;
|