update_template_active_version
async
¶
update_template_active_version(
template_name: __string,
template_type: __string,
*,
config_overrides: Optional[AsyncPinpointClientConfig] = None,
template_active_version_request: Optional[TemplateActiveVersionRequest] = None,
) -> UpdateTemplateActiveVersionResponse
Changes the status of a specific version of a message template to active.
Parameters:
-
template_name(__string) –The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
-
template_type(__string) –The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
Raises:
-
BadRequestException–Provides information about an API request or response.
-
ForbiddenException–Provides information about an API request or response.
-
InternalServerErrorException–Provides information about an API request or response.
-
MethodNotAllowedException–Provides information about an API request or response.
-
NotFoundException–Provides information about an API request or response.
-
PayloadTooLargeException–Provides information about an API request or response.
-
TooManyRequestsException–Provides information about an API request or response.
-
UnknownServiceError–The service returned an error code this client does not model.