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 ListArchives operation. Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchEvents.AmazonCloudWatchEventsRequest
      Amazon.CloudWatchEvents.Model.ListArchivesRequest

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

Syntax

C#
public class ListArchivesRequest : AmazonCloudWatchEventsRequest
         IAmazonWebServiceRequest

The ListArchivesRequest type exposes the following members

Constructors

NameDescription
Public Method ListArchivesRequest()

Properties

NameTypeDescription
Public Property EventSourceArn System.String

Gets and sets the property EventSourceArn.

The ARN of the event source associated with the archive.

Public Property Limit System.Int32

Gets and sets the property Limit.

The maximum number of results to return.

Public Property NamePrefix System.String

Gets and sets the property NamePrefix.

A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token returned by a previous call to retrieve the next set of results.

Public Property State Amazon.CloudWatchEvents.ArchiveState

Gets and sets the property State.

The state of the archive.

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