Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/appconfig/get-hosted-configuration-version.rst
1567 views
**To retreive hosted configuration details**

The following ``get-hosted-configuration-version`` example retrieves the configuration details of the AWS AppConfig hosted configuration. ::

    aws appconfig get-hosted-configuration-version \
        --application-id 339ohji \
        --configuration-profile-id ur8hx2f \
        --version-number 1 \
        hosted-configuration-version-output

Contents of ``hosted-configuration-version-output``::

    { "Name": "ExampleApplication", "Id": ExampleID, "Rank": 7 }

Output::

    {
        "ApplicationId": "339ohji",
        "ConfigurationProfileId": "ur8hx2f",
        "VersionNumber": "1",
        "ContentType": "application/json"
    }

For more information, see `About the AWS AppConfig hosted configuration store <https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html#appconfig-creating-configuration-and-profile-about-hosted-store>`__ in the *AWS AppConfig User Guide*.