@propulsionworks/cloudformation 0.1.25 → 0.1.27

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.
Files changed (79) hide show
  1. package/out/exports/resources.generated/aws-acmpca-permission.d.ts +2 -2
  2. package/out/exports/resources.generated/aws-amplify-domain.d.ts +2 -2
  3. package/out/exports/resources.generated/aws-apigateway-domainname.d.ts +2 -2
  4. package/out/exports/resources.generated/aws-apigatewayv2-domainname.d.ts +1 -1
  5. package/out/exports/resources.generated/aws-appmesh-virtualgateway.d.ts +4 -4
  6. package/out/exports/resources.generated/aws-appmesh-virtualnode.d.ts +4 -4
  7. package/out/exports/resources.generated/aws-appstream-fleet.d.ts +5 -0
  8. package/out/exports/resources.generated/aws-appstream-imagebuilder.d.ts +5 -0
  9. package/out/exports/resources.generated/aws-appsync-domainname.d.ts +1 -1
  10. package/out/exports/resources.generated/aws-aps-scraper.d.ts +77 -1
  11. package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +2 -1
  12. package/out/exports/resources.generated/aws-bedrock-datasource.d.ts +2 -2
  13. package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +23 -0
  14. package/out/exports/resources.generated/aws-bedrock-knowledgebase.d.ts +1 -1
  15. package/out/exports/resources.generated/aws-bedrockagentcore-browsercustom.d.ts +124 -0
  16. package/out/exports/resources.generated/aws-bedrockagentcore-codeinterpretercustom.d.ts +88 -0
  17. package/out/exports/resources.generated/aws-bedrockagentcore-runtime.d.ts +158 -0
  18. package/out/exports/resources.generated/aws-bedrockagentcore-runtimeendpoint.d.ts +89 -0
  19. package/out/exports/resources.generated/aws-certificatemanager-certificate.d.ts +4 -4
  20. package/out/exports/resources.generated/aws-cleanrooms-analysistemplate.d.ts +18 -0
  21. package/out/exports/resources.generated/aws-cleanrooms-collaboration.d.ts +9 -0
  22. package/out/exports/resources.generated/aws-cloudformation-guardhook.d.ts +1 -1
  23. package/out/exports/resources.generated/aws-cloudformation-hookversion.d.ts +2 -2
  24. package/out/exports/resources.generated/aws-cloudformation-typeactivation.d.ts +3 -3
  25. package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +2 -2
  26. package/out/exports/resources.generated/aws-cloudfront-distributiontenant.d.ts +3 -3
  27. package/out/exports/resources.generated/aws-cloudfront-publickey.d.ts +6 -0
  28. package/out/exports/resources.generated/aws-cognito-userpooldomain.d.ts +1 -1
  29. package/out/exports/resources.generated/aws-connect-hoursofoperation.d.ts +1 -1
  30. package/out/exports/resources.generated/aws-connect-predefinedattribute.d.ts +2 -2
  31. package/out/exports/resources.generated/aws-connect-routingprofile.d.ts +16 -0
  32. package/out/exports/resources.generated/aws-datazone-connection.d.ts +2 -2
  33. package/out/exports/resources.generated/aws-datazone-policygrant.d.ts +6 -2
  34. package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +2 -2
  35. package/out/exports/resources.generated/aws-dynamodb-globaltable.d.ts +8 -0
  36. package/out/exports/resources.generated/aws-dynamodb-table.d.ts +4 -0
  37. package/out/exports/resources.generated/aws-ec2-clientvpnendpoint.d.ts +2 -2
  38. package/out/exports/resources.generated/aws-ec2-enclavecertificateiamroleassociation.d.ts +2 -2
  39. package/out/exports/resources.generated/aws-ec2-transitgatewayroutetableassociation.d.ts +2 -2
  40. package/out/exports/resources.generated/aws-ecs-service.d.ts +14 -2
  41. package/out/exports/resources.generated/aws-elasticloadbalancingv2-loadbalancer.d.ts +5 -0
  42. package/out/exports/resources.generated/aws-elasticsearch-domain.d.ts +1 -1
  43. package/out/exports/resources.generated/aws-evs-environment.d.ts +2 -0
  44. package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +2 -2
  45. package/out/exports/resources.generated/aws-iam-servercertificate.d.ts +2 -2
  46. package/out/exports/resources.generated/aws-iotcoredeviceadvisor-suitedefinition.d.ts +1 -27
  47. package/out/exports/resources.generated/aws-iotsitewise-assetmodel.d.ts +7 -8
  48. package/out/exports/resources.generated/aws-iotsitewise-computationmodel.d.ts +16 -23
  49. package/out/exports/resources.generated/aws-iotsitewise-dataset.d.ts +6 -11
  50. package/out/exports/resources.generated/aws-medialive-channel.d.ts +21 -0
  51. package/out/exports/resources.generated/aws-mediapackage-originendpoint.d.ts +1 -1
  52. package/out/exports/resources.generated/aws-networkfirewall-tlsinspectionconfiguration.d.ts +6 -6
  53. package/out/exports/resources.generated/aws-odb-cloudexadatainfrastructure.d.ts +60 -0
  54. package/out/exports/resources.generated/aws-odb-cloudvmcluster.d.ts +20 -0
  55. package/out/exports/resources.generated/aws-odb-odbnetwork.d.ts +22 -0
  56. package/out/exports/resources.generated/aws-odb-odbpeeringconnection.d.ts +71 -0
  57. package/out/exports/resources.generated/aws-omics-workflow.d.ts +12 -8
  58. package/out/exports/resources.generated/aws-omics-workflowversion.d.ts +76 -0
  59. package/out/exports/resources.generated/aws-opensearchserverless-index.d.ts +1 -1
  60. package/out/exports/resources.generated/aws-opensearchserverless-securityconfig.d.ts +22 -1
  61. package/out/exports/resources.generated/aws-opensearchservice-domain.d.ts +1 -1
  62. package/out/exports/resources.generated/aws-pcs-cluster.d.ts +1 -1
  63. package/out/exports/resources.generated/aws-pcs-computenodegroup.d.ts +1 -1
  64. package/out/exports/resources.generated/aws-quicksight-dashboard.d.ts +32 -0
  65. package/out/exports/resources.generated/aws-sagemaker-cluster.d.ts +53 -0
  66. package/out/exports/resources.generated/aws-servicecatalog-launchtemplateconstraint.d.ts +1 -0
  67. package/out/exports/resources.generated/aws-servicecatalog-portfolioprincipalassociation.d.ts +2 -2
  68. package/out/exports/resources.generated/aws-smsvoice-configurationset.d.ts +233 -0
  69. package/out/exports/resources.generated/aws-smsvoice-optoutlist.d.ts +44 -0
  70. package/out/exports/resources.generated/aws-smsvoice-phonenumber.d.ts +149 -0
  71. package/out/exports/resources.generated/aws-smsvoice-pool.d.ts +144 -0
  72. package/out/exports/resources.generated/aws-smsvoice-protectconfiguration.d.ts +119 -0
  73. package/out/exports/resources.generated/aws-smsvoice-resourcepolicy.d.ts +24 -0
  74. package/out/exports/resources.generated/aws-smsvoice-senderid.d.ts +45 -0
  75. package/out/exports/resources.generated/aws-transfer-server.d.ts +5 -5
  76. package/out/exports/resources.generated/aws-verifiedpermissions-identitysource.d.ts +2 -2
  77. package/out/exports/resources.generated/aws-vpclattice-resourcegateway.d.ts +0 -5
  78. package/out/exports/resources.generated/aws-workspacesinstances-workspaceinstance.d.ts +101 -0
  79. package/package.json +1 -1
@@ -0,0 +1,233 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
4
+ *
5
+ * A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
6
+ *
7
+ * When you send a message, you can optionally specify a single configuration set.
8
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html}
9
+ */
10
+ export type SMSVOICEConfigurationSet = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::ConfigurationSet", SMSVOICEConfigurationSetProps, SMSVOICEConfigurationSetAttribs>;
11
+ /**
12
+ * Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
13
+ *
14
+ * A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
15
+ *
16
+ * When you send a message, you can optionally specify a single configuration set.
17
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html}
18
+ */
19
+ export type SMSVOICEConfigurationSetProps = {
20
+ /**
21
+ * The name of the ConfigurationSet.
22
+ * @minLength 1
23
+ * @maxLength 64
24
+ * @pattern ^[A-Za-z0-9_-]+$
25
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-configurationsetname}
26
+ */
27
+ ConfigurationSetName?: string | undefined;
28
+ /**
29
+ * The default sender ID used by the ConfigurationSet.
30
+ * @pattern ^[A-Za-z0-9_-]+$
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-defaultsenderid}
32
+ */
33
+ DefaultSenderId?: string | undefined;
34
+ /**
35
+ * An array of EventDestination objects that describe any events to log and where to log them.
36
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-eventdestinations}
37
+ */
38
+ EventDestinations?: EventDestination[] | undefined;
39
+ /**
40
+ * Set to true to enable feedback for the message.
41
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-messagefeedbackenabled}
42
+ */
43
+ MessageFeedbackEnabled?: boolean | undefined;
44
+ /**
45
+ * The unique identifier for the protect configuration.
46
+ * @minLength 1
47
+ * @maxLength 256
48
+ * @pattern ^[A-Za-z0-9_:/-]+$
49
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-protectconfigurationid}
50
+ */
51
+ ProtectConfigurationId?: string | undefined;
52
+ /**
53
+ * An array of key and value pair tags that's associated with the new configuration set.
54
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-tags}
55
+ */
56
+ Tags?: Tag[] | undefined;
57
+ };
58
+ /**
59
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#aws-resource-smsvoice-configurationset-return-values}
60
+ */
61
+ export type SMSVOICEConfigurationSetAttribs = {
62
+ /**
63
+ * The Amazon Resource Name (ARN) of the ConfigurationSet.
64
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-arn}
65
+ */
66
+ Arn: string;
67
+ };
68
+ /**
69
+ * Contains the destination configuration to use when publishing message sending events.
70
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-cloudwatchlogsdestination.html}
71
+ */
72
+ export type CloudWatchLogsDestination = {
73
+ /**
74
+ * The Amazon Resource Name (ARN) of an AWS Identity and Access Management role that is able to write event data to an Amazon CloudWatch destination.
75
+ * @pattern ^arn:\S+$
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-cloudwatchlogsdestination.html#cfn-smsvoice-configurationset-cloudwatchlogsdestination-iamrolearn}
77
+ */
78
+ IamRoleArn: string;
79
+ /**
80
+ * The name of the Amazon CloudWatch log group that you want to record events in.
81
+ * @pattern ^arn:\S+$
82
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-cloudwatchlogsdestination.html#cfn-smsvoice-configurationset-cloudwatchlogsdestination-loggrouparn}
83
+ */
84
+ LogGroupArn: string;
85
+ };
86
+ /**
87
+ * Contains information about an event destination.
88
+ *
89
+ * Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Firehose, or Amazon SNS.
90
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html}
91
+ */
92
+ export type EventDestination = {
93
+ /**
94
+ * An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
95
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-cloudwatchlogsdestination}
96
+ */
97
+ CloudWatchLogsDestination: CloudWatchLogsDestination;
98
+ /**
99
+ * When set to true events will be logged.
100
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-enabled}
101
+ */
102
+ Enabled: boolean;
103
+ /**
104
+ * The name of the EventDestination.
105
+ * @minLength 1
106
+ * @maxLength 64
107
+ * @pattern ^[A-Za-z0-9_-]+$
108
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-eventdestinationname}
109
+ */
110
+ EventDestinationName: string;
111
+ /**
112
+ * An object that contains information about an event destination for logging to Amazon Data Firehose.
113
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-kinesisfirehosedestination}
114
+ */
115
+ KinesisFirehoseDestination?: KinesisFirehoseDestination | undefined;
116
+ /**
117
+ * An array of event types that determine which events to log.
118
+ *
119
+ * > The `TEXT_SENT` event type is not supported.
120
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-matchingeventtypes}
121
+ */
122
+ MatchingEventTypes: string[];
123
+ /**
124
+ * An object that contains information about an event destination that sends logging events to Amazon SNS.
125
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-snsdestination}
126
+ */
127
+ SnsDestination?: SnsDestination | undefined;
128
+ } | {
129
+ /**
130
+ * An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
131
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-cloudwatchlogsdestination}
132
+ */
133
+ CloudWatchLogsDestination?: CloudWatchLogsDestination | undefined;
134
+ /**
135
+ * When set to true events will be logged.
136
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-enabled}
137
+ */
138
+ Enabled: boolean;
139
+ /**
140
+ * The name of the EventDestination.
141
+ * @minLength 1
142
+ * @maxLength 64
143
+ * @pattern ^[A-Za-z0-9_-]+$
144
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-eventdestinationname}
145
+ */
146
+ EventDestinationName: string;
147
+ /**
148
+ * An object that contains information about an event destination for logging to Amazon Data Firehose.
149
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-kinesisfirehosedestination}
150
+ */
151
+ KinesisFirehoseDestination: KinesisFirehoseDestination;
152
+ /**
153
+ * An array of event types that determine which events to log.
154
+ *
155
+ * > The `TEXT_SENT` event type is not supported.
156
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-matchingeventtypes}
157
+ */
158
+ MatchingEventTypes: string[];
159
+ /**
160
+ * An object that contains information about an event destination that sends logging events to Amazon SNS.
161
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-snsdestination}
162
+ */
163
+ SnsDestination?: SnsDestination | undefined;
164
+ } | {
165
+ /**
166
+ * An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
167
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-cloudwatchlogsdestination}
168
+ */
169
+ CloudWatchLogsDestination?: CloudWatchLogsDestination | undefined;
170
+ /**
171
+ * When set to true events will be logged.
172
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-enabled}
173
+ */
174
+ Enabled: boolean;
175
+ /**
176
+ * The name of the EventDestination.
177
+ * @minLength 1
178
+ * @maxLength 64
179
+ * @pattern ^[A-Za-z0-9_-]+$
180
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-eventdestinationname}
181
+ */
182
+ EventDestinationName: string;
183
+ /**
184
+ * An object that contains information about an event destination for logging to Amazon Data Firehose.
185
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-kinesisfirehosedestination}
186
+ */
187
+ KinesisFirehoseDestination?: KinesisFirehoseDestination | undefined;
188
+ /**
189
+ * An array of event types that determine which events to log.
190
+ *
191
+ * > The `TEXT_SENT` event type is not supported.
192
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-matchingeventtypes}
193
+ */
194
+ MatchingEventTypes: string[];
195
+ /**
196
+ * An object that contains information about an event destination that sends logging events to Amazon SNS.
197
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-snsdestination}
198
+ */
199
+ SnsDestination: SnsDestination;
200
+ };
201
+ /**
202
+ * Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the AWS Identity and Access Management (IAM) role associated with a Firehose event destination.
203
+ *
204
+ * Event destinations, such as Firehose, are associated with configuration sets, which enable you to publish message sending events.
205
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-kinesisfirehosedestination.html}
206
+ */
207
+ export type KinesisFirehoseDestination = {
208
+ /**
209
+ * The Amazon Resource Name (ARN) of the delivery stream.
210
+ * @pattern ^arn:\S+$
211
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-kinesisfirehosedestination.html#cfn-smsvoice-configurationset-kinesisfirehosedestination-deliverystreamarn}
212
+ */
213
+ DeliveryStreamArn: string;
214
+ /**
215
+ * The ARN of an AWS Identity and Access Management role that is able to write event data to an Amazon Data Firehose destination.
216
+ * @pattern ^arn:\S+$
217
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-kinesisfirehosedestination.html#cfn-smsvoice-configurationset-kinesisfirehosedestination-iamrolearn}
218
+ */
219
+ IamRoleArn: string;
220
+ };
221
+ /**
222
+ * An object that defines an Amazon SNS destination for events. You can use Amazon SNS to send notification when certain events occur.
223
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-snsdestination.html}
224
+ */
225
+ export type SnsDestination = {
226
+ /**
227
+ * The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
228
+ * @pattern ^arn:\S+$
229
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-snsdestination.html#cfn-smsvoice-configurationset-snsdestination-topicarn}
230
+ */
231
+ TopicArn: string;
232
+ };
233
+ //# sourceMappingURL=aws-smsvoice-configurationset.d.ts.map
@@ -0,0 +1,44 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * Creates a new opt-out list.
4
+ *
5
+ * If the opt-out list name already exists, an error is returned.
6
+ *
7
+ * An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword "STOP," an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see [SMS opt out](https://docs.aws.amazon.com/sms-voice/latest/userguide/opt-out-list-keywords.html) in the End User Messaging User Guide.
8
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html}
9
+ */
10
+ export type SMSVOICEOptOutList = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::OptOutList", SMSVOICEOptOutListProps, SMSVOICEOptOutListAttribs>;
11
+ /**
12
+ * Creates a new opt-out list.
13
+ *
14
+ * If the opt-out list name already exists, an error is returned.
15
+ *
16
+ * An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword "STOP," an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see [SMS opt out](https://docs.aws.amazon.com/sms-voice/latest/userguide/opt-out-list-keywords.html) in the End User Messaging User Guide.
17
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html}
18
+ */
19
+ export type SMSVOICEOptOutListProps = {
20
+ /**
21
+ * The name of the OptOutList.
22
+ * @minLength 1
23
+ * @maxLength 64
24
+ * @pattern ^[A-Za-z0-9_-]+$
25
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html#cfn-smsvoice-optoutlist-optoutlistname}
26
+ */
27
+ OptOutListName?: string | undefined;
28
+ /**
29
+ * An array of tags (key and value pairs) to associate with the new OptOutList.
30
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html#cfn-smsvoice-optoutlist-tags}
31
+ */
32
+ Tags?: Tag[] | undefined;
33
+ };
34
+ /**
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html#aws-resource-smsvoice-optoutlist-return-values}
36
+ */
37
+ export type SMSVOICEOptOutListAttribs = {
38
+ /**
39
+ * The Amazon Resource Name (ARN) for the `OptOutList` .
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html#cfn-smsvoice-optoutlist-arn}
41
+ */
42
+ Arn: string;
43
+ };
44
+ //# sourceMappingURL=aws-smsvoice-optoutlist.d.ts.map
@@ -0,0 +1,149 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * Request an origination phone number for use in your account. For more information on phone number request see [Request a phone number](https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html) in the *End User Messaging User Guide* .
4
+ *
5
+ * > Registering phone numbers is not supported by AWS CloudFormation . You can import phone numbers and sender IDs that are automatically provisioned at registration.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html}
7
+ */
8
+ export type SMSVOICEPhoneNumber = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::PhoneNumber", SMSVOICEPhoneNumberProps, SMSVOICEPhoneNumberAttribs>;
9
+ /**
10
+ * Request an origination phone number for use in your account. For more information on phone number request see [Request a phone number](https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html) in the *End User Messaging User Guide* .
11
+ *
12
+ * > Registering phone numbers is not supported by AWS CloudFormation . You can import phone numbers and sender IDs that are automatically provisioned at registration.
13
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html}
14
+ */
15
+ export type SMSVOICEPhoneNumberProps = {
16
+ /**
17
+ * By default this is set to false. When set to true the phone number can't be deleted.
18
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-deletionprotectionenabled}
19
+ */
20
+ DeletionProtectionEnabled?: boolean | undefined;
21
+ /**
22
+ * The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
23
+ * @pattern ^[A-Z]{2}$
24
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-isocountrycode}
25
+ */
26
+ IsoCountryCode: string;
27
+ /**
28
+ * Creates or updates a `MandatoryKeyword` configuration on an origination phone number For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-mandatorykeywords}
30
+ */
31
+ MandatoryKeywords: {
32
+ HELP: MandatoryKeyword;
33
+ STOP: MandatoryKeyword;
34
+ };
35
+ /**
36
+ * Indicates if the phone number will be used for text messages, voice messages, or both.
37
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-numbercapabilities}
38
+ */
39
+ NumberCapabilities: ("SMS" | "VOICE" | "MMS")[];
40
+ /**
41
+ * The type of phone number to request.
42
+ *
43
+ * > The `ShortCode` number type is not supported in AWS CloudFormation .
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-numbertype}
45
+ */
46
+ NumberType: "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR";
47
+ /**
48
+ * The name of the OptOutList associated with the phone number.
49
+ * @minLength 1
50
+ * @maxLength 256
51
+ * @pattern ^[A-Za-z0-9_:/-]+$
52
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-optoutlistname}
53
+ */
54
+ OptOutListName?: string | undefined;
55
+ /**
56
+ * A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, End User Messaging responds with a customizable message. Optional keywords are differentiated from mandatory keywords. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
57
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-optionalkeywords}
58
+ */
59
+ OptionalKeywords?: OptionalKeyword[] | undefined;
60
+ /**
61
+ * When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging 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/sms-voice/latest/userguide/opt-out-list-self-managed.html)
62
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-selfmanagedoptoutsenabled}
63
+ */
64
+ SelfManagedOptOutsEnabled?: boolean | undefined;
65
+ /**
66
+ * An array of tags (key and value pairs) to associate with the requested phone number.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-tags}
68
+ */
69
+ Tags?: Tag[] | undefined;
70
+ /**
71
+ * Describes the two-way SMS configuration for a phone number. For more information, see [Two-way SMS messaging](https://docs.aws.amazon.com/sms-voice/latest/userguide/two-way-sms.html) in the End User Messaging User Guide.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-twoway}
73
+ */
74
+ TwoWay?: {
75
+ /**
76
+ * The Amazon Resource Name (ARN) of the two way channel.
77
+ * @pattern ^arn:\S+$
78
+ */
79
+ ChannelArn?: string | undefined;
80
+ /**
81
+ * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
82
+ * @pattern ^arn:\S+$
83
+ */
84
+ ChannelRole?: string | undefined;
85
+ /**
86
+ * By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
87
+ */
88
+ Enabled: boolean;
89
+ } | undefined;
90
+ };
91
+ /**
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#aws-resource-smsvoice-phonenumber-return-values}
93
+ */
94
+ export type SMSVOICEPhoneNumberAttribs = {
95
+ /**
96
+ * The `PhoneNumber` 's Amazon Resource Name (ARN)
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-arn}
98
+ */
99
+ Arn: string;
100
+ /**
101
+ * The phone number in E.164 format.
102
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-phonenumber}
103
+ */
104
+ PhoneNumber: string;
105
+ /**
106
+ * The unique identifier for the phone number.
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-phonenumberid}
108
+ */
109
+ PhoneNumberId: string;
110
+ };
111
+ /**
112
+ * The keywords `HELP` and `STOP` are mandatory keywords that each phone number must have. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
113
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-mandatorykeyword.html}
114
+ */
115
+ export type MandatoryKeyword = {
116
+ /**
117
+ * The message associated with the keyword.
118
+ * @maxLength 1600
119
+ * @pattern ^(?!\s*$)[\s\S]+$
120
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-mandatorykeyword.html#cfn-smsvoice-phonenumber-mandatorykeyword-message}
121
+ */
122
+ Message: string;
123
+ };
124
+ /**
125
+ * The `OptionalKeyword` configuration. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
126
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html}
127
+ */
128
+ export type OptionalKeyword = {
129
+ /**
130
+ * The action to perform when the keyword is used.
131
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html#cfn-smsvoice-phonenumber-optionalkeyword-action}
132
+ */
133
+ Action: "AUTOMATIC_RESPONSE" | "OPT_OUT" | "OPT_IN";
134
+ /**
135
+ * The new keyword to add.
136
+ * @maxLength 30
137
+ * @pattern ^(?!.*(?i)(stop|help))[ \S]+
138
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html#cfn-smsvoice-phonenumber-optionalkeyword-keyword}
139
+ */
140
+ Keyword: string;
141
+ /**
142
+ * The message associated with the keyword.
143
+ * @maxLength 1600
144
+ * @pattern ^(?!\s*$)[\s\S]+$
145
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html#cfn-smsvoice-phonenumber-optionalkeyword-message}
146
+ */
147
+ Message: string;
148
+ };
149
+ //# sourceMappingURL=aws-smsvoice-phonenumber.d.ts.map
@@ -0,0 +1,144 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your AWS account.
4
+ *
5
+ * The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.
6
+ *
7
+ * If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.
8
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html}
9
+ */
10
+ export type SMSVOICEPool = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::Pool", SMSVOICEPoolProps, SMSVOICEPoolAttribs>;
11
+ /**
12
+ * Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your AWS account.
13
+ *
14
+ * The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.
15
+ *
16
+ * If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.
17
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html}
18
+ */
19
+ export type SMSVOICEPoolProps = {
20
+ /**
21
+ * When set to true the pool can't be deleted.
22
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-deletionprotectionenabled}
23
+ */
24
+ DeletionProtectionEnabled?: boolean | undefined;
25
+ /**
26
+ * Creates or updates the pool's `MandatoryKeyword` configuration. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
27
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-mandatorykeywords}
28
+ */
29
+ MandatoryKeywords: {
30
+ HELP: MandatoryKeyword;
31
+ STOP: MandatoryKeyword;
32
+ };
33
+ /**
34
+ * The name of the OptOutList associated with the pool.
35
+ * @minLength 1
36
+ * @maxLength 256
37
+ * @pattern ^[A-Za-z0-9_:/-]+$
38
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-optoutlistname}
39
+ */
40
+ OptOutListName?: string | undefined;
41
+ /**
42
+ * Specifies any optional keywords to associate with the pool. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
43
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-optionalkeywords}
44
+ */
45
+ OptionalKeywords?: OptionalKeyword[] | undefined;
46
+ /**
47
+ * The list of origination identities to apply to the pool, either `PhoneNumberArn` or `SenderIdArn` . For more information, see [Registrations](https://docs.aws.amazon.com/sms-voice/latest/userguide/registrations.html) in the End User Messaging User Guide.
48
+ *
49
+ * > If you are using a shared End User Messaging resource then you must use the full Amazon Resource Name (ARN).
50
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-originationidentities}
51
+ */
52
+ OriginationIdentities: string[];
53
+ /**
54
+ * When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging 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)
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-selfmanagedoptoutsenabled}
56
+ */
57
+ SelfManagedOptOutsEnabled?: boolean | undefined;
58
+ /**
59
+ * Allows you to enable shared routes on your pool.
60
+ *
61
+ * 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 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.
62
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-sharedroutesenabled}
63
+ */
64
+ SharedRoutesEnabled?: boolean | undefined;
65
+ /**
66
+ * An array of tags (key and value pairs) associated with the pool.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-tags}
68
+ */
69
+ Tags?: Tag[] | undefined;
70
+ /**
71
+ * Describes the two-way SMS configuration for a phone number. For more information, see [Two-way SMS messaging](https://docs.aws.amazon.com/sms-voice/latest/userguide/two-way-sms.html) in the End User Messaging User Guide.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-twoway}
73
+ */
74
+ TwoWay?: {
75
+ /**
76
+ * The Amazon Resource Name (ARN) of the two way channel.
77
+ * @pattern ^[ \S]+
78
+ */
79
+ ChannelArn?: string | undefined;
80
+ /**
81
+ * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
82
+ * @pattern ^arn:\S+$
83
+ */
84
+ ChannelRole?: string | undefined;
85
+ /**
86
+ * By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
87
+ */
88
+ Enabled: boolean;
89
+ } | undefined;
90
+ };
91
+ /**
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#aws-resource-smsvoice-pool-return-values}
93
+ */
94
+ export type SMSVOICEPoolAttribs = {
95
+ /**
96
+ * The Amazon Resource Name of the `Pool` .
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-arn}
98
+ */
99
+ Arn: string;
100
+ /**
101
+ * The unique identifier for the pool.
102
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-poolid}
103
+ */
104
+ PoolId: string;
105
+ };
106
+ /**
107
+ * The keywords `HELP` and `STOP` are mandatory keywords that each phone number must have. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
108
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-mandatorykeyword.html}
109
+ */
110
+ export type MandatoryKeyword = {
111
+ /**
112
+ * The message associated with the keyword.
113
+ * @maxLength 1600
114
+ * @pattern ^(?!\s*$)[\s\S]+$
115
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-mandatorykeyword.html#cfn-smsvoice-pool-mandatorykeyword-message}
116
+ */
117
+ Message: string;
118
+ };
119
+ /**
120
+ * The pool's `OptionalKeyword` configuration. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
121
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html}
122
+ */
123
+ export type OptionalKeyword = {
124
+ /**
125
+ * The action to perform when the keyword is used.
126
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html#cfn-smsvoice-pool-optionalkeyword-action}
127
+ */
128
+ Action: "AUTOMATIC_RESPONSE" | "OPT_OUT" | "OPT_IN";
129
+ /**
130
+ * The new keyword to add.
131
+ * @maxLength 30
132
+ * @pattern ^(?!.*(?i)(stop|help))[ \S]+
133
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html#cfn-smsvoice-pool-optionalkeyword-keyword}
134
+ */
135
+ Keyword: string;
136
+ /**
137
+ * The message associated with the keyword.
138
+ * @maxLength 1600
139
+ * @pattern ^(?!\s*$)[\s\S]+$
140
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html#cfn-smsvoice-pool-optionalkeyword-message}
141
+ */
142
+ Message: string;
143
+ };
144
+ //# sourceMappingURL=aws-smsvoice-pool.d.ts.map