AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListRecoveryPointsByBackupVaultInput

import "github.com/aws/aws-sdk-go/service/backup"

type ListRecoveryPointsByBackupVaultInput struct { BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` ByBackupPlanId *string `location:"querystring" locationName:"backupPlanId" type:"string"` ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` ByResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string"` ByResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

BackupVaultName

Type: *string

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

BackupVaultName is a required field

ByBackupPlanId

Type: *string

Returns only recovery points that match the specified backup plan ID.

ByCreatedAfter

Type: *time.Time

Returns only recovery points that were created after the specified timestamp.

ByCreatedBefore

Type: *time.Time

Returns only recovery points that were created before the specified timestamp.

ByResourceArn

Type: *string

Returns only recovery points that match the specified resource Amazon Resource Name (ARN).

ByResourceType

Type: *string

Returns only recovery points that match the specified resource type.

MaxResults

Type: *int64

The maximum number of items to be returned.

NextToken

Type: *string

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

Method

GoString

func (s ListRecoveryPointsByBackupVaultInput) GoString() string

GoString returns the string representation

SetBackupVaultName

func (s *ListRecoveryPointsByBackupVaultInput) SetBackupVaultName(v string) *ListRecoveryPointsByBackupVaultInput

SetBackupVaultName sets the BackupVaultName field's value.

SetByBackupPlanId

func (s *ListRecoveryPointsByBackupVaultInput) SetByBackupPlanId(v string) *ListRecoveryPointsByBackupVaultInput

SetByBackupPlanId sets the ByBackupPlanId field's value.

SetByCreatedAfter

func (s *ListRecoveryPointsByBackupVaultInput) SetByCreatedAfter(v time.Time) *ListRecoveryPointsByBackupVaultInput

SetByCreatedAfter sets the ByCreatedAfter field's value.

SetByCreatedBefore

func (s *ListRecoveryPointsByBackupVaultInput) SetByCreatedBefore(v time.Time) *ListRecoveryPointsByBackupVaultInput

SetByCreatedBefore sets the ByCreatedBefore field's value.

SetByResourceArn

func (s *ListRecoveryPointsByBackupVaultInput) SetByResourceArn(v string) *ListRecoveryPointsByBackupVaultInput

SetByResourceArn sets the ByResourceArn field's value.

SetByResourceType

func (s *ListRecoveryPointsByBackupVaultInput) SetByResourceType(v string) *ListRecoveryPointsByBackupVaultInput

SetByResourceType sets the ByResourceType field's value.

SetMaxResults

func (s *ListRecoveryPointsByBackupVaultInput) SetMaxResults(v int64) *ListRecoveryPointsByBackupVaultInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListRecoveryPointsByBackupVaultInput) SetNextToken(v string) *ListRecoveryPointsByBackupVaultInput

SetNextToken sets the NextToken field's value.

String

func (s ListRecoveryPointsByBackupVaultInput) String() string

String returns the string representation

Validate

func (s *ListRecoveryPointsByBackupVaultInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: