Values.CreateProtectionResponseSourceEnables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses. You can add protection to only a single resource with each CreateProtection request. You can add protection to multiple resources at once through the Shield Advanced console at https://console.aws.amazon.com/wafv2/shieldv2#/. For more information see Getting Started with Shield Advanced and Adding Shield Advanced protection to Amazon Web Services resources.
type nonrec t = {protectionId : ProtectionId.t option;The unique identifier (ID) for the Protection object that is created.
*)}type nonrec error = [ | `InternalErrorException of InternalErrorException.t| `InvalidOperationException of InvalidOperationException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidResourceException of InvalidResourceException.t| `LimitsExceededException of LimitsExceededException.t| `OptimisticLockException of OptimisticLockException.t| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalErrorException of InternalErrorException.t
| `InvalidOperationException of InvalidOperationException.t
| `InvalidParameterException of InvalidParameterException.t
| `InvalidResourceException of InvalidResourceException.t
| `LimitsExceededException of LimitsExceededException.t
| `OptimisticLockException of OptimisticLockException.t
| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalErrorException of InternalErrorException.t
| `InvalidOperationException of InvalidOperationException.t
| `InvalidParameterException of InvalidParameterException.t
| `InvalidResourceException of InvalidResourceException.t
| `LimitsExceededException of LimitsExceededException.t
| `OptimisticLockException of OptimisticLockException.t
| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]