Smaws_Client_AutoScaling.PutNotificationConfigurationConfigures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address.
This configuration overwrites any existing configuration.
For more information, see Amazon SNS notification options for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault
| `ServiceLinkedRoleFailure of Types.service_linked_role_failure ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_notification_configuration_type ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault
| `ServiceLinkedRoleFailure of Types.service_linked_role_failure ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_notification_configuration_type ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault
| `ServiceLinkedRoleFailure of Types.service_linked_role_failure ]
* Smaws_Lib.Response.metadata)
Stdlib.result