create_configuration_set
async
¶
create_configuration_set(
configuration_set_name: ConfigurationSetName,
*,
config_overrides: Optional[AsyncPinpointEmailClientConfig] = None,
tracking_options: Optional[TrackingOptions] = None,
delivery_options: Optional[DeliveryOptions] = None,
reputation_options: Optional[ReputationOptions] = None,
sending_options: Optional[SendingOptions] = None,
tags: Optional[TagList] = None,
) -> CreateConfigurationSetResponse
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails you send using Amazon Pinpoint. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
Parameters:
-
configuration_set_name(ConfigurationSetName) –The name of the configuration set.
-
tracking_options(Optional[TrackingOptions], default:None) –An object that defines the open and click tracking options for emails that you send using the configuration set.
-
delivery_options(Optional[DeliveryOptions], default:None) –An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
-
reputation_options(Optional[ReputationOptions], default:None) –An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
-
sending_options(Optional[SendingOptions], default:None) –An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
-
tags(Optional[TagList], default:None) –An array of objects that define the tags (keys and values) that you want to associate with the configuration set.
Raises:
-
AlreadyExistsException–The resource specified in your request already exists.
-
BadRequestException–The input you provided is invalid.
-
ConcurrentModificationException–The resource is being modified by another operation or thread.
-
LimitExceededException–There are too many instances of the specified resource type.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pinpoint_email/_services/async_pinpoint_email.py
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 | |