:doc:`AppConfig <../../appconfig>` / Client / delete_hosted_configuration_version

***********************************
delete_hosted_configuration_version
***********************************



.. py:method:: AppConfig.Client.delete_hosted_configuration_version(**kwargs)

  

  Deletes a version of a configuration from the AppConfig hosted configuration store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion>`_  


  **Request Syntax**
  ::

    response = client.delete_hosted_configuration_version(
        ApplicationId='string',
        ConfigurationProfileId='string',
        VersionNumber=123
    )
    
  :type ApplicationId: string
  :param ApplicationId: **[REQUIRED]** 

    The application ID.

    

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

    The configuration profile ID.

    

  
  :type VersionNumber: integer
  :param VersionNumber: **[REQUIRED]** 

    The versions number to delete.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`AppConfig.Client.exceptions.BadRequestException`

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

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

  

  **Examples**

  The following delete-hosted-configuration-version example deletes a configuration version hosted in the AWS AppConfig configuration store.
  ::

    response = client.delete_hosted_configuration_version(
        ApplicationId='339ohji',
        ConfigurationProfileId='ur8hx2f',
        VersionNumber=1,
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  