:doc:`ChimeSDKVoice <../../chime-sdk-voice>` / Client / get_voice_profile

*****************
get_voice_profile
*****************



.. py:method:: ChimeSDKVoice.Client.get_voice_profile(**kwargs)

  

  Retrieves the details of the specified voice profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/GetVoiceProfile>`_  


  **Request Syntax**
  ::

    response = client.get_voice_profile(
        VoiceProfileId='string'
    )
    
  :type VoiceProfileId: string
  :param VoiceProfileId: **[REQUIRED]** 

    The voice profile ID.

    

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

    
    ::

      {
          'VoiceProfile': {
              'VoiceProfileId': 'string',
              'VoiceProfileArn': 'string',
              'VoiceProfileDomainId': 'string',
              'CreatedTimestamp': datetime(2015, 1, 1),
              'UpdatedTimestamp': datetime(2015, 1, 1),
              'ExpirationTimestamp': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **VoiceProfile** *(dict) --* 

        The voice profile details.

        
        

        - **VoiceProfileId** *(string) --* 

          The ID of the voice profile.

          
        

        - **VoiceProfileArn** *(string) --* 

          The ARN of the voice profile.

          
        

        - **VoiceProfileDomainId** *(string) --* 

          The ID of the domain that contains the voice profile.

          
        

        - **CreatedTimestamp** *(datetime) --* 

          The time at which the voice profile was created and enrolled.

          
        

        - **UpdatedTimestamp** *(datetime) --* 

          The time at which the voice profile was last updated.

          
        

        - **ExpirationTimestamp** *(datetime) --* 

          The time at which a voice profile expires unless you re-enroll the caller via the ``UpdateVoiceProfile`` API.

          
    
  
  **Exceptions**
  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.BadRequestException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ForbiddenException`

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

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.NotFoundException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceFailureException`

  