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

*********************
set_default_sender_id
*********************



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

  

  Sets default sender ID on a configuration set.

   

  When sending a text message to a destination country that supports sender IDs, the default sender ID on the configuration set specified will be used if no dedicated origination phone numbers or registered sender IDs are available in your account.

  

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


  **Request Syntax**
  ::

    response = client.set_default_sender_id(
        ConfigurationSetName='string',
        SenderId='string'
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The configuration set to updated with a new default SenderId. This field can be the ConsigurationSetName or ConfigurationSetArn.

    

  
  :type SenderId: string
  :param SenderId: **[REQUIRED]** 

    The current sender ID for the configuration set. When sending a text message to a destination country which supports SenderIds, the default sender ID on the configuration set specified on  SendTextMessage will be used if no dedicated origination phone numbers or registered SenderIds are available in your account, instead of a generic sender ID, such as 'NOTICE'.

    

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

    
    ::

      {
          'ConfigurationSetArn': 'string',
          'ConfigurationSetName': 'string',
          'SenderId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ConfigurationSetArn** *(string) --* 

        The Amazon Resource Name (ARN) of the updated configuration set.

        
      

      - **ConfigurationSetName** *(string) --* 

        The name of the configuration set that was updated.

        
      

      - **SenderId** *(string) --* 

        The default sender ID to set for the ConfigurationSet.

        
  
  **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`

  