Smaws_Client_NetworkFirewall.UpdateAvailabilityZoneChangeProtectionModifies the AvailabilityZoneChangeProtection setting for a transit gateway-attached firewall. When enabled, this setting prevents accidental changes to the firewall's Availability Zone configuration. This helps protect against disrupting traffic flow in production environments.
When enabled, you must disable this protection before using AssociateAvailabilityZones or DisassociateAvailabilityZones to modify the firewall's Availability Zone configuration.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidTokenException of Types.invalid_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceOwnerCheckException of Types.resource_owner_check_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_availability_zone_change_protection_request ->
(Types.update_availability_zone_change_protection_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidTokenException of Types.invalid_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceOwnerCheckException of Types.resource_owner_check_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_availability_zone_change_protection_request ->
(Types.update_availability_zone_change_protection_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidTokenException of Types.invalid_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceOwnerCheckException of Types.resource_owner_check_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result