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.

ListRecoveryPointsByResourceInput

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

type ListRecoveryPointsByResourceInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` }

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.

ResourceArn

Type: *string

An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

ResourceArn is a required field

Method

GoString

func (s ListRecoveryPointsByResourceInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceArn

func (s *ListRecoveryPointsByResourceInput) SetResourceArn(v string) *ListRecoveryPointsByResourceInput

SetResourceArn sets the ResourceArn field's value.

String

func (s ListRecoveryPointsByResourceInput) String() string

String returns the string representation

Validate

func (s *ListRecoveryPointsByResourceInput) Validate() error

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

On this page: