AWS SDK Version 3 for .NET
API Reference

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 ListHostedConfigurationVersions operation. Lists configurations stored in the AppConfig hosted configuration store by version.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppConfig.AmazonAppConfigRequest
      Amazon.AppConfig.Model.ListHostedConfigurationVersionsRequest

Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z

Syntax

C#
public class ListHostedConfigurationVersionsRequest : AmazonAppConfigRequest
         IAmazonWebServiceRequest

The ListHostedConfigurationVersionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ApplicationId System.String

Gets and sets the property ApplicationId.

The application ID.

Public Property ConfigurationProfileId System.String

Gets and sets the property ConfigurationProfileId.

The configuration profile ID.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Public Property NextToken System.String

Gets and sets the property NextToken.

A token to start the list. Use this token to get the next set of results.

Public Property VersionLabel System.String

Gets and sets the property VersionLabel.

An optional filter that can be used to specify the version label of an AppConfig hosted configuration version. This parameter supports filtering by prefix using a wildcard, for example "v2*". If you don't specify an asterisk at the end of the value, only an exact match is returned.

Examples

The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.

To list the available hosted configuration versions


var client = new AmazonAppConfigClient();
var response = client.ListHostedConfigurationVersions(new ListHostedConfigurationVersionsRequest 
{
    ApplicationId = "339ohji",
    ConfigurationProfileId = "ur8hx2f"
});

List<HostedConfigurationVersionSummary> items = response.Items;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5