:doc:`PinpointSMSVoiceV2 <../../pinpoint-sms-voice-v2>` / Client / set_account_default_protect_configuration

*****************************************
set_account_default_protect_configuration
*****************************************



.. py:method:: PinpointSMSVoiceV2.Client.set_account_default_protect_configuration(**kwargs)

  

  Set a protect configuration as your account default. You can only have one account default protect configuration at a time. The current account default protect configuration is replaced with the provided protect configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetAccountDefaultProtectConfiguration>`_  


  **Request Syntax**
  ::

    response = client.set_account_default_protect_configuration(
        ProtectConfigurationId='string'
    )
    
  :type ProtectConfigurationId: string
  :param ProtectConfigurationId: **[REQUIRED]** 

    The unique identifier for the protect configuration.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'DefaultProtectConfigurationArn': 'string',
          'DefaultProtectConfigurationId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DefaultProtectConfigurationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the account default protect configuration.

        
      

      - **DefaultProtectConfigurationId** *(string) --* 

        The unique identifier of the account default protect configuration.

        
  
  **Exceptions**
  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.ValidationException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.InternalServerException`

  