AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetHostedConfigurationVersion operation. Retrieves information about a specific configuration version.
Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z
public class GetHostedConfigurationVersionRequest : AmazonAppConfigRequest IAmazonWebServiceRequest
The GetHostedConfigurationVersionRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
GetHostedConfigurationVersionRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
ApplicationId | System.String |
Gets and sets the property ApplicationId. The application ID. |
|
ConfigurationProfileId | System.String |
Gets and sets the property ConfigurationProfileId. The configuration profile ID. |
|
VersionNumber | System.Int32 |
Gets and sets the property VersionNumber. The version. |
The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.
var client = new AmazonAppConfigClient();
var response = client.GetHostedConfigurationVersion(new GetHostedConfigurationVersionRequest
{
ApplicationId = "339ohji",
ConfigurationProfileId = "ur8hx2f",
VersionNumber = 1
});
string applicationId = response.ApplicationId;
string configurationProfileId = response.ConfigurationProfileId;
string contentType = response.ContentType;
int versionNumber = response.VersionNumber;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5