backup

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 41

Documentation

Overview

Package backup provides the client and types for making API requests to AWS Backup.

AWS Backup is a unified backup service designed to protect AWS services and their associated data. AWS Backup simplifies the creation, migration, restoration, and deletion of backups, while also providing reporting and auditing.

See https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15 for more information on this service.

See backup package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/backup/

Using the Client

To use AWS Backup with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Backup client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/backup/#New

Index

Constants

View Source
const (
	ServiceName = "AWS Backup" // Service's name
	ServiceID   = "Backup"     // Service's identifier
	EndpointsID = "backup"     // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAlreadyExistsException for service response error code
	// "AlreadyExistsException".
	//
	// The required resource already exists.
	ErrCodeAlreadyExistsException = "AlreadyExistsException"

	// ErrCodeDependencyFailureException for service response error code
	// "DependencyFailureException".
	//
	// A dependent AWS service or resource returned an error to the AWS Backup service,
	// and the action cannot be completed.
	ErrCodeDependencyFailureException = "DependencyFailureException"

	// ErrCodeInvalidParameterValueException for service response error code
	// "InvalidParameterValueException".
	//
	// Indicates that something is wrong with a parameter's value. For example,
	// the value is out of range.
	ErrCodeInvalidParameterValueException = "InvalidParameterValueException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	//
	// Indicates that something is wrong with the input to the request. For example,
	// a parameter is of the wrong type.
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// A limit in the request has been exceeded; for example, a maximum number of
	// items allowed in a request.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeMissingParameterValueException for service response error code
	// "MissingParameterValueException".
	//
	// Indicates that a required parameter is missing.
	ErrCodeMissingParameterValueException = "MissingParameterValueException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A resource that is required for the action doesn't exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The request failed due to a temporary failure of the server.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupJob added in v0.9.0

type BackupJob struct {

	// Uniquely identifies a request to AWS Backup to back up a resource.
	BackupJobId *string `type:"string"`

	// The size, in bytes, of a backup.
	BackupSizeInBytes *int64 `type:"long"`

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 *string `type:"string"`

	// The size in bytes transferred to a backup vault at the time that the job
	// status was queried.
	BytesTransferred *int64 `type:"long"`

	// The date and time a job to create a backup job is completed, in Unix format
	// and Coordinated Universal Time (UTC). The value of CompletionDate is accurate
	// to milliseconds. For example, the value 1516925490.087 represents Friday,
	// January 26, 2018 12:11:30.087 AM.
	CompletionDate *time.Time `type:"timestamp"`

	// Contains identifying information about the creation of a backup job, including
	// the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the
	// backup plan used to create it.
	CreatedBy *RecoveryPointCreator `type:"structure"`

	// The date and time a backup job is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The date and time a job to back up resources is expected to be completed,
	// in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate
	// is accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	ExpectedCompletionDate *time.Time `type:"timestamp"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// Contains an estimated percentage complete of a job at the time the job status
	// was queried.
	PercentDone *string `type:"string"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// An ARN that uniquely identifies a resource. The format of the ARN depends
	// on the resource type.
	ResourceArn *string `type:"string"`

	// The type of AWS resource to be backed-up; for example, an Amazon Elastic
	// Block Store (Amazon EBS) volume or an Amazon Relational Database Service
	// (Amazon RDS) database.
	ResourceType *string `type:"string"`

	// Specifies the time in Unix format and Coordinated Universal Time (UTC) when
	// a backup job must be started before it is canceled. The value is calculated
	// by adding the start window to the scheduled time. So if the scheduled time
	// were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00
	// PM on the date specified. The value of StartBy is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	StartBy *time.Time `type:"timestamp"`

	// The current state of a resource recovery point.
	State BackupJobState `type:"string" enum:"true"`

	// A detailed message explaining the status of the job to back up a resource.
	StatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

Contains detailed information about a backup job.

func (BackupJob) MarshalFields added in v0.9.0

func (s BackupJob) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupJob) String added in v0.9.0

func (s BackupJob) String() string

String returns the string representation

type BackupJobState added in v0.9.0

type BackupJobState string
const (
	BackupJobStateCreated   BackupJobState = "CREATED"
	BackupJobStatePending   BackupJobState = "PENDING"
	BackupJobStateRunning   BackupJobState = "RUNNING"
	BackupJobStateAborting  BackupJobState = "ABORTING"
	BackupJobStateAborted   BackupJobState = "ABORTED"
	BackupJobStateCompleted BackupJobState = "COMPLETED"
	BackupJobStateFailed    BackupJobState = "FAILED"
	BackupJobStateExpired   BackupJobState = "EXPIRED"
)

Enum values for BackupJobState

func (BackupJobState) MarshalValue added in v0.9.0

func (enum BackupJobState) MarshalValue() (string, error)

func (BackupJobState) MarshalValueBuf added in v0.9.0

func (enum BackupJobState) MarshalValueBuf(b []byte) ([]byte, error)

type BackupPlan added in v0.9.0

type BackupPlan struct {

	// The display name of a backup plan.
	//
	// BackupPlanName is a required field
	BackupPlanName *string `type:"string" required:"true"`

	// An array of BackupRule objects, each of which specifies a scheduled task
	// that is used to back up a selection of resources.
	//
	// Rules is a required field
	Rules []BackupRule `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains an optional backup plan display name and an array of BackupRule objects, each of which specifies a backup rule. Each rule in a backup plan is a separate scheduled task and can back up a different selection of AWS resources.

func (BackupPlan) MarshalFields added in v0.9.0

func (s BackupPlan) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupPlan) String added in v0.9.0

func (s BackupPlan) String() string

String returns the string representation

type BackupPlanInput added in v0.9.0

type BackupPlanInput struct {

	// The display name of a backup plan.
	//
	// BackupPlanName is a required field
	BackupPlanName *string `type:"string" required:"true"`

	// An array of BackupRule objects, each of which specifies a scheduled task
	// that is used to back up a selection of resources.
	//
	// Rules is a required field
	Rules []BackupRuleInput `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains an optional backup plan display name and an array of BackupRule objects, each of which specifies a backup rule. Each rule in a backup plan is a separate scheduled task and can back up a different selection of AWS resources.

func (BackupPlanInput) MarshalFields added in v0.9.0

func (s BackupPlanInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupPlanInput) String added in v0.9.0

func (s BackupPlanInput) String() string

String returns the string representation

func (*BackupPlanInput) Validate added in v0.9.0

func (s *BackupPlanInput) Validate() error

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

type BackupPlanTemplatesListMember added in v0.9.0

type BackupPlanTemplatesListMember struct {

	// Uniquely identifies a stored backup plan template.
	BackupPlanTemplateId *string `type:"string"`

	// The optional display name of a backup plan template.
	BackupPlanTemplateName *string `type:"string"`
	// contains filtered or unexported fields
}

An object specifying metadata associated with a backup plan template.

func (BackupPlanTemplatesListMember) MarshalFields added in v0.9.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupPlanTemplatesListMember) String added in v0.9.0

String returns the string representation

type BackupPlansListMember added in v0.9.0

type BackupPlansListMember struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for
	// example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
	BackupPlanArn *string `type:"string"`

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The display name of a saved backup plan.
	BackupPlanName *string `type:"string"`

	// The date and time a resource backup plan is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// The date and time a backup plan is deleted, in Unix format and Coordinated
	// Universal Time (UTC). The value of DeletionDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	DeletionDate *time.Time `type:"timestamp"`

	// The last time a job to back up resources was executed with this rule. A date
	// and time, in Unix format and Coordinated Universal Time (UTC). The value
	// of LastExecutionDate is accurate to milliseconds. For example, the value
	// 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
	LastExecutionDate *time.Time `type:"timestamp"`

	// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most
	// 1,024 bytes long. Version IDs cannot be edited.
	VersionId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains metadata about a backup plan.

func (BackupPlansListMember) MarshalFields added in v0.9.0

func (s BackupPlansListMember) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupPlansListMember) String added in v0.9.0

func (s BackupPlansListMember) String() string

String returns the string representation

type BackupRule added in v0.9.0

type BackupRule struct {

	// A value in minutes after a backup job is successfully started before it must
	// be completed or it is canceled by AWS Backup. This value is optional.
	CompletionWindowMinutes *int64 `type:"long"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup transitions and expires backups automatically
	// according to the lifecycle that you define.
	//
	// Backups transitioned to cold storage must be stored in cold storage for a
	// minimum of 90 days. Therefore, the “expire after days” setting must be
	// 90 days greater than the “transition to cold after days” setting. The
	// “transition to cold after days” setting cannot be changed after a backup
	// has been transitioned to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// An array of key-value pair strings that are assigned to resources that are
	// associated with this rule when restored from backup.
	RecoveryPointTags map[string]string `type:"map" sensitive:"true"`

	// Uniquely identifies a rule that is used to schedule the backup of a selection
	// of resources.
	RuleId *string `type:"string"`

	// An optional display name for a backup rule.
	//
	// RuleName is a required field
	RuleName *string `type:"string" required:"true"`

	// A CRON expression specifying when AWS Backup initiates a backup job.
	ScheduleExpression *string `type:"string"`

	// An optional value that specifies a period of time in minutes after a backup
	// is scheduled before a job is canceled if it doesn't start successfully.
	StartWindowMinutes *int64 `type:"long"`

	// 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.
	//
	// TargetBackupVaultName is a required field
	TargetBackupVaultName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies a scheduled task used to back up a selection of resources.

func (BackupRule) MarshalFields added in v0.9.0

func (s BackupRule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupRule) String added in v0.9.0

func (s BackupRule) String() string

String returns the string representation

type BackupRuleInput added in v0.9.0

type BackupRuleInput struct {

	// The amount of time AWS Backup attempts a backup before canceling the job
	// and returning an error.
	CompletionWindowMinutes *int64 `type:"long"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup will transition and expire backups automatically
	// according to the lifecycle that you define.
	//
	// Backups transitioned to cold storage must be stored in cold storage for a
	// minimum of 90 days. Therefore, the “expire after days” setting must be
	// 90 days greater than the “transition to cold after days”. The “transition
	// to cold after days” setting cannot be changed after a backup has been transitioned
	// to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// To help organize your resources, you can assign your own metadata to the
	// resources that you create. Each tag is a key-value pair.
	RecoveryPointTags map[string]string `type:"map" sensitive:"true"`

	// >An optional display name for a backup rule.
	//
	// RuleName is a required field
	RuleName *string `type:"string" required:"true"`

	// A CRON expression specifying when AWS Backup initiates a backup job.
	ScheduleExpression *string `type:"string"`

	// The amount of time in minutes before beginning a backup.
	StartWindowMinutes *int64 `type:"long"`

	// 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.
	//
	// TargetBackupVaultName is a required field
	TargetBackupVaultName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies a scheduled task used to back up a selection of resources.

func (BackupRuleInput) MarshalFields added in v0.9.0

func (s BackupRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupRuleInput) String added in v0.9.0

func (s BackupRuleInput) String() string

String returns the string representation

func (*BackupRuleInput) Validate added in v0.9.0

func (s *BackupRuleInput) Validate() error

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

type BackupSelection added in v0.9.0

type BackupSelection struct {

	// The ARN of the IAM role that AWS Backup uses to authenticate when restoring
	// the target resource; for example, arn:aws:iam::123456789012:role/S3Access.
	//
	// IamRoleArn is a required field
	IamRoleArn *string `type:"string" required:"true"`

	// An array of conditions used to specify a set of resources to assign to a
	// backup plan; for example, "StringEquals": {"ec2:ResourceTag/Department":
	// "accounting".
	ListOfTags []Condition `type:"list"`

	// An array of strings that either contain Amazon Resource Names (ARNs) or match
	// patterns such as "arn:aws:ec2:us-east-1:123456789012:volume/*" of resources
	// to assign to a backup plan.
	Resources []string `type:"list"`

	// The display name of a resource selection document.
	//
	// SelectionName is a required field
	SelectionName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Used to specify a set of resources to a backup plan.

func (BackupSelection) MarshalFields added in v0.9.0

func (s BackupSelection) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupSelection) String added in v0.9.0

func (s BackupSelection) String() string

String returns the string representation

func (*BackupSelection) Validate added in v0.9.0

func (s *BackupSelection) Validate() error

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

type BackupSelectionsListMember added in v0.9.0

type BackupSelectionsListMember struct {

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The date and time a backup plan is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery
	// point; for example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// Uniquely identifies a request to assign a set of resources to a backup plan.
	SelectionId *string `type:"string"`

	// The display name of a resource selection document.
	SelectionName *string `type:"string"`
	// contains filtered or unexported fields
}

Contains metadata about a BackupSelection object.

func (BackupSelectionsListMember) MarshalFields added in v0.9.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupSelectionsListMember) String added in v0.9.0

String returns the string representation

type BackupVaultEvent added in v0.9.0

type BackupVaultEvent string
const (
	BackupVaultEventBackupJobStarted      BackupVaultEvent = "BACKUP_JOB_STARTED"
	BackupVaultEventBackupJobCompleted    BackupVaultEvent = "BACKUP_JOB_COMPLETED"
	BackupVaultEventRestoreJobStarted     BackupVaultEvent = "RESTORE_JOB_STARTED"
	BackupVaultEventRestoreJobCompleted   BackupVaultEvent = "RESTORE_JOB_COMPLETED"
	BackupVaultEventRecoveryPointModified BackupVaultEvent = "RECOVERY_POINT_MODIFIED"
	BackupVaultEventBackupPlanCreated     BackupVaultEvent = "BACKUP_PLAN_CREATED"
	BackupVaultEventBackupPlanModified    BackupVaultEvent = "BACKUP_PLAN_MODIFIED"
)

Enum values for BackupVaultEvent

func (BackupVaultEvent) MarshalValue added in v0.9.0

func (enum BackupVaultEvent) MarshalValue() (string, error)

func (BackupVaultEvent) MarshalValueBuf added in v0.9.0

func (enum BackupVaultEvent) MarshalValueBuf(b []byte) ([]byte, error)

type BackupVaultListMember added in v0.9.0

type BackupVaultListMember struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 *string `type:"string"`

	// The date and time a resource backup is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// The server-side encryption key that is used to protect your backups; for
	// example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	EncryptionKeyArn *string `type:"string"`

	// The number of recovery points that are stored in a backup vault.
	NumberOfRecoveryPoints *int64 `type:"long"`
	// contains filtered or unexported fields
}

Contains metadata about a backup vault.

func (BackupVaultListMember) MarshalFields added in v0.9.0

func (s BackupVaultListMember) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackupVaultListMember) String added in v0.9.0

func (s BackupVaultListMember) String() string

String returns the string representation

type CalculatedLifecycle

type CalculatedLifecycle struct {

	// A timestamp that specifies when to delete a recovery point.
	DeleteAt *time.Time `type:"timestamp"`

	// A timestamp that specifies when to transition a recovery point to cold storage.
	MoveToColdStorageAt *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Contains DeleteAt and MoveToColdStorageAt timestamps, which are used to specify a lifecycle for a recovery point.

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

func (CalculatedLifecycle) MarshalFields

func (s CalculatedLifecycle) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CalculatedLifecycle) String

func (s CalculatedLifecycle) String() string

String returns the string representation

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AWS Backup. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := backup.New(myConfig)

func (*Client) CreateBackupPlanRequest added in v0.9.0

func (c *Client) CreateBackupPlanRequest(input *CreateBackupPlanInput) CreateBackupPlanRequest

CreateBackupPlanRequest returns a request value for making API operation for AWS Backup.

Backup plans are documents that contain information that AWS Backup uses to schedule tasks that create recovery points of resources.

If you call CreateBackupPlan with a plan that already exists, the existing backupPlanId is returned.

// Example sending a request using CreateBackupPlanRequest.
req := client.CreateBackupPlanRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlan

func (*Client) CreateBackupSelectionRequest added in v0.9.0

func (c *Client) CreateBackupSelectionRequest(input *CreateBackupSelectionInput) CreateBackupSelectionRequest

CreateBackupSelectionRequest returns a request value for making API operation for AWS Backup.

Creates a JSON document that specifies a set of resources to assign to a backup plan. Resources can be included by specifying patterns for a ListOfTags and selected Resources.

For example, consider the following patterns:

  • Resources: "arn:aws:ec2:region:account-id:volume/volume-id"

  • ConditionKey:"department" ConditionValue:"finance" ConditionType:"StringEquals"

  • ConditionKey:"importance" ConditionValue:"critical" ConditionType:"StringEquals"

Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS) volumes that are tagged as "department=finance", "importance=critical", in addition to an EBS volume with the specified volume Id.

Resources and conditions are additive in that all resources that match the pattern are selected. This shouldn't be confused with a logical AND, where all conditions must match. The matching patterns are logically 'put together using the OR operator. In other words, all patterns that match are selected for backup.

// Example sending a request using CreateBackupSelectionRequest.
req := client.CreateBackupSelectionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupSelection

func (*Client) CreateBackupVaultRequest added in v0.9.0

func (c *Client) CreateBackupVaultRequest(input *CreateBackupVaultInput) CreateBackupVaultRequest

CreateBackupVaultRequest returns a request value for making API operation for AWS Backup.

Creates a logical container where backups are stored. A CreateBackupVault request includes a name, optionally one or more resource tags, an encryption key, and a request ID.

Sensitive data, such as passport numbers, should not be included the name of a backup vault.

// Example sending a request using CreateBackupVaultRequest.
req := client.CreateBackupVaultRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVault

func (*Client) DeleteBackupPlanRequest added in v0.9.0

func (c *Client) DeleteBackupPlanRequest(input *DeleteBackupPlanInput) DeleteBackupPlanRequest

DeleteBackupPlanRequest returns a request value for making API operation for AWS Backup.

Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.

// Example sending a request using DeleteBackupPlanRequest.
req := client.DeleteBackupPlanRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupPlan

func (*Client) DeleteBackupSelectionRequest added in v0.9.0

func (c *Client) DeleteBackupSelectionRequest(input *DeleteBackupSelectionInput) DeleteBackupSelectionRequest

DeleteBackupSelectionRequest returns a request value for making API operation for AWS Backup.

Deletes the resource selection associated with a backup plan that is specified by the SelectionId.

// Example sending a request using DeleteBackupSelectionRequest.
req := client.DeleteBackupSelectionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupSelection

func (*Client) DeleteBackupVaultAccessPolicyRequest added in v0.9.0

func (c *Client) DeleteBackupVaultAccessPolicyRequest(input *DeleteBackupVaultAccessPolicyInput) DeleteBackupVaultAccessPolicyRequest

DeleteBackupVaultAccessPolicyRequest returns a request value for making API operation for AWS Backup.

Deletes the policy document that manages permissions on a backup vault.

// Example sending a request using DeleteBackupVaultAccessPolicyRequest.
req := client.DeleteBackupVaultAccessPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultAccessPolicy

func (*Client) DeleteBackupVaultNotificationsRequest added in v0.9.0

func (c *Client) DeleteBackupVaultNotificationsRequest(input *DeleteBackupVaultNotificationsInput) DeleteBackupVaultNotificationsRequest

DeleteBackupVaultNotificationsRequest returns a request value for making API operation for AWS Backup.

Deletes event notifications for the specified backup vault.

// Example sending a request using DeleteBackupVaultNotificationsRequest.
req := client.DeleteBackupVaultNotificationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultNotifications

func (*Client) DeleteBackupVaultRequest added in v0.9.0

func (c *Client) DeleteBackupVaultRequest(input *DeleteBackupVaultInput) DeleteBackupVaultRequest

DeleteBackupVaultRequest returns a request value for making API operation for AWS Backup.

Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.

// Example sending a request using DeleteBackupVaultRequest.
req := client.DeleteBackupVaultRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVault

func (*Client) DeleteRecoveryPointRequest added in v0.9.0

func (c *Client) DeleteRecoveryPointRequest(input *DeleteRecoveryPointInput) DeleteRecoveryPointRequest

DeleteRecoveryPointRequest returns a request value for making API operation for AWS Backup.

Deletes the recovery point specified by a recovery point ID.

// Example sending a request using DeleteRecoveryPointRequest.
req := client.DeleteRecoveryPointRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteRecoveryPoint

func (*Client) DescribeBackupJobRequest added in v0.9.0

func (c *Client) DescribeBackupJobRequest(input *DescribeBackupJobInput) DescribeBackupJobRequest

DescribeBackupJobRequest returns a request value for making API operation for AWS Backup.

Returns metadata associated with creating a backup of a resource.

// Example sending a request using DescribeBackupJobRequest.
req := client.DescribeBackupJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJob

func (*Client) DescribeBackupVaultRequest added in v0.9.0

func (c *Client) DescribeBackupVaultRequest(input *DescribeBackupVaultInput) DescribeBackupVaultRequest

DescribeBackupVaultRequest returns a request value for making API operation for AWS Backup.

Returns metadata about a backup vault specified by its name.

// Example sending a request using DescribeBackupVaultRequest.
req := client.DescribeBackupVaultRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVault

func (*Client) DescribeProtectedResourceRequest added in v0.9.0

func (c *Client) DescribeProtectedResourceRequest(input *DescribeProtectedResourceInput) DescribeProtectedResourceRequest

DescribeProtectedResourceRequest returns a request value for making API operation for AWS Backup.

Returns information about a saved resource, including the last time it was backed-up, its Amazon Resource Name (ARN), and the AWS service type of the saved resource.

// Example sending a request using DescribeProtectedResourceRequest.
req := client.DescribeProtectedResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeProtectedResource

func (*Client) DescribeRecoveryPointRequest added in v0.9.0

func (c *Client) DescribeRecoveryPointRequest(input *DescribeRecoveryPointInput) DescribeRecoveryPointRequest

DescribeRecoveryPointRequest returns a request value for making API operation for AWS Backup.

Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.

// Example sending a request using DescribeRecoveryPointRequest.
req := client.DescribeRecoveryPointRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPoint

func (*Client) DescribeRestoreJobRequest added in v0.9.0

func (c *Client) DescribeRestoreJobRequest(input *DescribeRestoreJobInput) DescribeRestoreJobRequest

DescribeRestoreJobRequest returns a request value for making API operation for AWS Backup.

Returns metadata associated with a restore job that is specified by a job ID.

// Example sending a request using DescribeRestoreJobRequest.
req := client.DescribeRestoreJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJob

func (*Client) ExportBackupPlanTemplateRequest added in v0.9.0

func (c *Client) ExportBackupPlanTemplateRequest(input *ExportBackupPlanTemplateInput) ExportBackupPlanTemplateRequest

ExportBackupPlanTemplateRequest returns a request value for making API operation for AWS Backup.

Returns the backup plan that is specified by the plan ID as a backup template.

// Example sending a request using ExportBackupPlanTemplateRequest.
req := client.ExportBackupPlanTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ExportBackupPlanTemplate

func (*Client) GetBackupPlanFromJSONRequest added in v0.9.0

func (c *Client) GetBackupPlanFromJSONRequest(input *GetBackupPlanFromJSONInput) GetBackupPlanFromJSONRequest

GetBackupPlanFromJSONRequest returns a request value for making API operation for AWS Backup.

Returns a valid JSON document specifying a backup plan or an error.

// Example sending a request using GetBackupPlanFromJSONRequest.
req := client.GetBackupPlanFromJSONRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanFromJSON

func (*Client) GetBackupPlanFromTemplateRequest added in v0.9.0

func (c *Client) GetBackupPlanFromTemplateRequest(input *GetBackupPlanFromTemplateInput) GetBackupPlanFromTemplateRequest

GetBackupPlanFromTemplateRequest returns a request value for making API operation for AWS Backup.

Returns the template specified by its templateId as a backup plan.

// Example sending a request using GetBackupPlanFromTemplateRequest.
req := client.GetBackupPlanFromTemplateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanFromTemplate

func (*Client) GetBackupPlanRequest added in v0.9.0

func (c *Client) GetBackupPlanRequest(input *GetBackupPlanInput) GetBackupPlanRequest

GetBackupPlanRequest returns a request value for making API operation for AWS Backup.

Returns the body of a backup plan in JSON format, in addition to plan metadata.

// Example sending a request using GetBackupPlanRequest.
req := client.GetBackupPlanRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlan

func (*Client) GetBackupSelectionRequest added in v0.9.0

func (c *Client) GetBackupSelectionRequest(input *GetBackupSelectionInput) GetBackupSelectionRequest

GetBackupSelectionRequest returns a request value for making API operation for AWS Backup.

Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.

// Example sending a request using GetBackupSelectionRequest.
req := client.GetBackupSelectionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupSelection

func (*Client) GetBackupVaultAccessPolicyRequest added in v0.9.0

func (c *Client) GetBackupVaultAccessPolicyRequest(input *GetBackupVaultAccessPolicyInput) GetBackupVaultAccessPolicyRequest

GetBackupVaultAccessPolicyRequest returns a request value for making API operation for AWS Backup.

Returns the access policy document that is associated with the named backup vault.

// Example sending a request using GetBackupVaultAccessPolicyRequest.
req := client.GetBackupVaultAccessPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultAccessPolicy

func (*Client) GetBackupVaultNotificationsRequest added in v0.9.0

func (c *Client) GetBackupVaultNotificationsRequest(input *GetBackupVaultNotificationsInput) GetBackupVaultNotificationsRequest

GetBackupVaultNotificationsRequest returns a request value for making API operation for AWS Backup.

Returns event notifications for the specified backup vault.

// Example sending a request using GetBackupVaultNotificationsRequest.
req := client.GetBackupVaultNotificationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultNotifications

func (*Client) GetRecoveryPointRestoreMetadataRequest added in v0.9.0

func (c *Client) GetRecoveryPointRestoreMetadataRequest(input *GetRecoveryPointRestoreMetadataInput) GetRecoveryPointRestoreMetadataRequest

GetRecoveryPointRestoreMetadataRequest returns a request value for making API operation for AWS Backup.

Returns two sets of metadata key-value pairs. The first set lists the metadata that the recovery point was created with. The second set lists the metadata key-value pairs that are required to restore the recovery point.

These sets can be the same, or the restore metadata set can contain different values if the target service to be restored has changed since the recovery point was created and now requires additional or different information in order to be restored.

// Example sending a request using GetRecoveryPointRestoreMetadataRequest.
req := client.GetRecoveryPointRestoreMetadataRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointRestoreMetadata

func (*Client) GetSupportedResourceTypesRequest added in v0.9.0

func (c *Client) GetSupportedResourceTypesRequest(input *GetSupportedResourceTypesInput) GetSupportedResourceTypesRequest

GetSupportedResourceTypesRequest returns a request value for making API operation for AWS Backup.

Returns the AWS resource types supported by AWS Backup.

// Example sending a request using GetSupportedResourceTypesRequest.
req := client.GetSupportedResourceTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypes

func (*Client) ListBackupJobsRequest added in v0.9.0

func (c *Client) ListBackupJobsRequest(input *ListBackupJobsInput) ListBackupJobsRequest

ListBackupJobsRequest returns a request value for making API operation for AWS Backup.

Returns metadata about your backup jobs.

// Example sending a request using ListBackupJobsRequest.
req := client.ListBackupJobsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobs

func (*Client) ListBackupPlanTemplatesRequest added in v0.9.0

func (c *Client) ListBackupPlanTemplatesRequest(input *ListBackupPlanTemplatesInput) ListBackupPlanTemplatesRequest

ListBackupPlanTemplatesRequest returns a request value for making API operation for AWS Backup.

Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.

// Example sending a request using ListBackupPlanTemplatesRequest.
req := client.ListBackupPlanTemplatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlanTemplates

func (*Client) ListBackupPlanVersionsRequest added in v0.9.0

func (c *Client) ListBackupPlanVersionsRequest(input *ListBackupPlanVersionsInput) ListBackupPlanVersionsRequest

ListBackupPlanVersionsRequest returns a request value for making API operation for AWS Backup.

Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.

// Example sending a request using ListBackupPlanVersionsRequest.
req := client.ListBackupPlanVersionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlanVersions

func (*Client) ListBackupPlansRequest added in v0.9.0

func (c *Client) ListBackupPlansRequest(input *ListBackupPlansInput) ListBackupPlansRequest

ListBackupPlansRequest returns a request value for making API operation for AWS Backup.

Returns metadata of your saved backup plans, including Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.

// Example sending a request using ListBackupPlansRequest.
req := client.ListBackupPlansRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlans

func (*Client) ListBackupSelectionsRequest added in v0.9.0

func (c *Client) ListBackupSelectionsRequest(input *ListBackupSelectionsInput) ListBackupSelectionsRequest

ListBackupSelectionsRequest returns a request value for making API operation for AWS Backup.

Returns an array containing metadata of the resources associated with the target backup plan.

// Example sending a request using ListBackupSelectionsRequest.
req := client.ListBackupSelectionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupSelections

func (*Client) ListBackupVaultsRequest added in v0.9.0

func (c *Client) ListBackupVaultsRequest(input *ListBackupVaultsInput) ListBackupVaultsRequest

ListBackupVaultsRequest returns a request value for making API operation for AWS Backup.

Returns a list of recovery point storage containers along with information about them.

// Example sending a request using ListBackupVaultsRequest.
req := client.ListBackupVaultsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupVaults

func (*Client) ListProtectedResourcesRequest added in v0.9.0

func (c *Client) ListProtectedResourcesRequest(input *ListProtectedResourcesInput) ListProtectedResourcesRequest

ListProtectedResourcesRequest returns a request value for making API operation for AWS Backup.

Returns an array of resources successfully backed up by AWS Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.

// Example sending a request using ListProtectedResourcesRequest.
req := client.ListProtectedResourcesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResources

func (*Client) ListRecoveryPointsByBackupVaultRequest added in v0.9.0

func (c *Client) ListRecoveryPointsByBackupVaultRequest(input *ListRecoveryPointsByBackupVaultInput) ListRecoveryPointsByBackupVaultRequest

ListRecoveryPointsByBackupVaultRequest returns a request value for making API operation for AWS Backup.

Returns detailed information about the recovery points stored in a backup vault.

// Example sending a request using ListRecoveryPointsByBackupVaultRequest.
req := client.ListRecoveryPointsByBackupVaultRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVault

func (*Client) ListRecoveryPointsByResourceRequest added in v0.9.0

func (c *Client) ListRecoveryPointsByResourceRequest(input *ListRecoveryPointsByResourceInput) ListRecoveryPointsByResourceRequest

ListRecoveryPointsByResourceRequest returns a request value for making API operation for AWS Backup.

Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).

// Example sending a request using ListRecoveryPointsByResourceRequest.
req := client.ListRecoveryPointsByResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource

func (*Client) ListRestoreJobsRequest added in v0.9.0

func (c *Client) ListRestoreJobsRequest(input *ListRestoreJobsInput) ListRestoreJobsRequest

ListRestoreJobsRequest returns a request value for making API operation for AWS Backup.

Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.

// Example sending a request using ListRestoreJobsRequest.
req := client.ListRestoreJobsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobs

func (*Client) ListTagsRequest added in v0.9.0

func (c *Client) ListTagsRequest(input *ListTagsInput) ListTagsRequest

ListTagsRequest returns a request value for making API operation for AWS Backup.

Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.

// Example sending a request using ListTagsRequest.
req := client.ListTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTags

func (*Client) PutBackupVaultAccessPolicyRequest added in v0.9.0

func (c *Client) PutBackupVaultAccessPolicyRequest(input *PutBackupVaultAccessPolicyInput) PutBackupVaultAccessPolicyRequest

PutBackupVaultAccessPolicyRequest returns a request value for making API operation for AWS Backup.

Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.

// Example sending a request using PutBackupVaultAccessPolicyRequest.
req := client.PutBackupVaultAccessPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultAccessPolicy

func (*Client) PutBackupVaultNotificationsRequest added in v0.9.0

func (c *Client) PutBackupVaultNotificationsRequest(input *PutBackupVaultNotificationsInput) PutBackupVaultNotificationsRequest

PutBackupVaultNotificationsRequest returns a request value for making API operation for AWS Backup.

Turns on notifications on a backup vault for the specified topic and events.

// Example sending a request using PutBackupVaultNotificationsRequest.
req := client.PutBackupVaultNotificationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotifications

func (*Client) StartBackupJobRequest added in v0.9.0

func (c *Client) StartBackupJobRequest(input *StartBackupJobInput) StartBackupJobRequest

StartBackupJobRequest returns a request value for making API operation for AWS Backup.

Starts a job to create a one-time backup of the specified resource.

// Example sending a request using StartBackupJobRequest.
req := client.StartBackupJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartBackupJob

func (*Client) StartRestoreJobRequest added in v0.9.0

func (c *Client) StartRestoreJobRequest(input *StartRestoreJobInput) StartRestoreJobRequest

StartRestoreJobRequest returns a request value for making API operation for AWS Backup.

Recovers the saved resource identified by an Amazon Resource Name (ARN).

If the resource ARN is included in the request, then the last complete backup of that resource is recovered. If the ARN of a recovery point is supplied, then that recovery point is restored.

// Example sending a request using StartRestoreJobRequest.
req := client.StartRestoreJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJob

func (*Client) StopBackupJobRequest added in v0.9.0

func (c *Client) StopBackupJobRequest(input *StopBackupJobInput) StopBackupJobRequest

StopBackupJobRequest returns a request value for making API operation for AWS Backup.

Attempts to cancel a job to create a one-time backup of a resource.

// Example sending a request using StopBackupJobRequest.
req := client.StopBackupJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StopBackupJob

func (*Client) TagResourceRequest added in v0.9.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS Backup.

Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResource

func (*Client) UntagResourceRequest added in v0.9.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS Backup.

Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UntagResource

func (*Client) UpdateBackupPlanRequest added in v0.9.0

func (c *Client) UpdateBackupPlanRequest(input *UpdateBackupPlanInput) UpdateBackupPlanRequest

UpdateBackupPlanRequest returns a request value for making API operation for AWS Backup.

Replaces the body of a saved backup plan identified by its backupPlanId with the input document in JSON format. The new version is uniquely identified by a VersionId.

// Example sending a request using UpdateBackupPlanRequest.
req := client.UpdateBackupPlanRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateBackupPlan

func (*Client) UpdateRecoveryPointLifecycleRequest added in v0.9.0

func (c *Client) UpdateRecoveryPointLifecycleRequest(input *UpdateRecoveryPointLifecycleInput) UpdateRecoveryPointLifecycleRequest

UpdateRecoveryPointLifecycleRequest returns a request value for making API operation for AWS Backup.

Sets the transition lifecycle of a recovery point.

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

// Example sending a request using UpdateRecoveryPointLifecycleRequest.
req := client.UpdateRecoveryPointLifecycleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointLifecycle

type Condition

type Condition struct {

	// The key in a key-value pair. For example, in "ec2:ResourceTag/Department":
	// "accounting", "ec2:ResourceTag/Department" is the key.
	//
	// ConditionKey is a required field
	ConditionKey *string `type:"string" required:"true"`

	// An operation, such as StringEquals, that is applied to a key-value pair used
	// to filter resources in a selection.
	//
	// ConditionType is a required field
	ConditionType ConditionType `type:"string" required:"true" enum:"true"`

	// The value in a key-value pair. For example, in "ec2:ResourceTag/Department":
	// "accounting", "accounting" is the value.
	//
	// ConditionValue is a required field
	ConditionValue *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains an array of triplets made up of a condition type (such as StringEquals), a key, and a value. Conditions are used to filter resources in a selection that is assigned to a backup plan.

func (Condition) MarshalFields

func (s Condition) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Condition) String

func (s Condition) String() string

String returns the string representation

func (*Condition) Validate

func (s *Condition) Validate() error

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

type ConditionType

type ConditionType string
const (
	ConditionTypeStringequals ConditionType = "STRINGEQUALS"
)

Enum values for ConditionType

func (ConditionType) MarshalValue

func (enum ConditionType) MarshalValue() (string, error)

func (ConditionType) MarshalValueBuf

func (enum ConditionType) MarshalValueBuf(b []byte) ([]byte, error)

type CreateBackupPlanInput

type CreateBackupPlanInput struct {

	// Specifies the body of a backup plan. Includes a BackupPlanName and one or
	// more sets of Rules.
	//
	// BackupPlan is a required field
	BackupPlan *BackupPlanInput `type:"structure" required:"true"`

	// To help organize your resources, you can assign your own metadata to the
	// resources that you create. Each tag is a key-value pair. The specified tags
	// are assigned to all backups created with this plan.
	BackupPlanTags map[string]string `type:"map" sensitive:"true"`

	// Identifies the request and allows failed requests to be retried without the
	// risk of executing the operation twice. If the request includes a CreatorRequestId
	// that matches an existing backup plan, that plan is returned. This parameter
	// is optional.
	CreatorRequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackupPlanInput) MarshalFields

func (s CreateBackupPlanInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackupPlanInput) String

func (s CreateBackupPlanInput) String() string

String returns the string representation

func (*CreateBackupPlanInput) Validate

func (s *CreateBackupPlanInput) Validate() error

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

type CreateBackupPlanOutput

type CreateBackupPlanOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for
	// example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
	BackupPlanArn *string `type:"string"`

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The date and time that a backup plan is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most
	// 1024 bytes long. They cannot be edited.
	VersionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackupPlanOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackupPlanOutput) String

func (s CreateBackupPlanOutput) String() string

String returns the string representation

type CreateBackupPlanRequest

type CreateBackupPlanRequest struct {
	*aws.Request
	Input *CreateBackupPlanInput
	Copy  func(*CreateBackupPlanInput) CreateBackupPlanRequest
}

CreateBackupPlanRequest is the request type for the CreateBackupPlan API operation.

func (CreateBackupPlanRequest) Send

Send marshals and sends the CreateBackupPlan API request.

type CreateBackupPlanResponse added in v0.9.0

type CreateBackupPlanResponse struct {
	*CreateBackupPlanOutput
	// contains filtered or unexported fields
}

CreateBackupPlanResponse is the response type for the CreateBackupPlan API operation.

func (*CreateBackupPlanResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateBackupPlanResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBackupPlan request.

type CreateBackupSelectionInput

type CreateBackupSelectionInput struct {

	// Uniquely identifies the backup plan to be associated with the selection of
	// resources.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`

	// Specifies the body of a request to assign a set of resources to a backup
	// plan.
	//
	// It includes an array of resources, an optional array of patterns to exclude
	// resources, an optional role to provide access to the AWS service the resource
	// belongs to, and an optional array of tags used to identify a set of resources.
	//
	// BackupSelection is a required field
	BackupSelection *BackupSelection `type:"structure" required:"true"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackupSelectionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackupSelectionInput) String

String returns the string representation

func (*CreateBackupSelectionInput) Validate

func (s *CreateBackupSelectionInput) Validate() error

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

type CreateBackupSelectionOutput

type CreateBackupSelectionOutput struct {

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The date and time a backup selection is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// Uniquely identifies the body of a request to assign a set of resources to
	// a backup plan.
	SelectionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackupSelectionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackupSelectionOutput) String

String returns the string representation

type CreateBackupSelectionRequest

type CreateBackupSelectionRequest struct {
	*aws.Request
	Input *CreateBackupSelectionInput
	Copy  func(*CreateBackupSelectionInput) CreateBackupSelectionRequest
}

CreateBackupSelectionRequest is the request type for the CreateBackupSelection API operation.

func (CreateBackupSelectionRequest) Send

Send marshals and sends the CreateBackupSelection API request.

type CreateBackupSelectionResponse added in v0.9.0

type CreateBackupSelectionResponse struct {
	*CreateBackupSelectionOutput
	// contains filtered or unexported fields
}

CreateBackupSelectionResponse is the response type for the CreateBackupSelection API operation.

func (*CreateBackupSelectionResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateBackupSelectionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBackupSelection request.

type CreateBackupVaultInput

type CreateBackupVaultInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// Metadata that you can assign to help organize the resources that you create.
	// Each tag is a key-value pair.
	BackupVaultTags map[string]string `type:"map" sensitive:"true"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// The server-side encryption key that is used to protect your backups; for
	// example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	EncryptionKeyArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackupVaultInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackupVaultInput) String

func (s CreateBackupVaultInput) String() string

String returns the string representation

func (*CreateBackupVaultInput) Validate

func (s *CreateBackupVaultInput) Validate() error

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

type CreateBackupVaultOutput

type CreateBackupVaultOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 Region where they are created. They consist of lowercase letters, numbers,
	// and hyphens.
	BackupVaultName *string `type:"string"`

	// The date and time a backup vault is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (CreateBackupVaultOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackupVaultOutput) String

func (s CreateBackupVaultOutput) String() string

String returns the string representation

type CreateBackupVaultRequest

type CreateBackupVaultRequest struct {
	*aws.Request
	Input *CreateBackupVaultInput
	Copy  func(*CreateBackupVaultInput) CreateBackupVaultRequest
}

CreateBackupVaultRequest is the request type for the CreateBackupVault API operation.

func (CreateBackupVaultRequest) Send

Send marshals and sends the CreateBackupVault API request.

type CreateBackupVaultResponse added in v0.9.0

type CreateBackupVaultResponse struct {
	*CreateBackupVaultOutput
	// contains filtered or unexported fields
}

CreateBackupVaultResponse is the response type for the CreateBackupVault API operation.

func (*CreateBackupVaultResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateBackupVaultResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBackupVault request.

type DeleteBackupPlanInput

type DeleteBackupPlanInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackupPlanInput) MarshalFields

func (s DeleteBackupPlanInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupPlanInput) String

func (s DeleteBackupPlanInput) String() string

String returns the string representation

func (*DeleteBackupPlanInput) Validate

func (s *DeleteBackupPlanInput) Validate() error

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

type DeleteBackupPlanOutput

type DeleteBackupPlanOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for
	// example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
	BackupPlanArn *string `type:"string"`

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The date and time a backup plan is deleted, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	DeletionDate *time.Time `type:"timestamp"`

	// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most
	// 1,024 bytes long. Version Ids cannot be edited.
	VersionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBackupPlanOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupPlanOutput) String

func (s DeleteBackupPlanOutput) String() string

String returns the string representation

type DeleteBackupPlanRequest

type DeleteBackupPlanRequest struct {
	*aws.Request
	Input *DeleteBackupPlanInput
	Copy  func(*DeleteBackupPlanInput) DeleteBackupPlanRequest
}

DeleteBackupPlanRequest is the request type for the DeleteBackupPlan API operation.

func (DeleteBackupPlanRequest) Send

Send marshals and sends the DeleteBackupPlan API request.

type DeleteBackupPlanResponse added in v0.9.0

type DeleteBackupPlanResponse struct {
	*DeleteBackupPlanOutput
	// contains filtered or unexported fields
}

DeleteBackupPlanResponse is the response type for the DeleteBackupPlan API operation.

func (*DeleteBackupPlanResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteBackupPlanResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBackupPlan request.

type DeleteBackupSelectionInput

type DeleteBackupSelectionInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`

	// Uniquely identifies the body of a request to assign a set of resources to
	// a backup plan.
	//
	// SelectionId is a required field
	SelectionId *string `location:"uri" locationName:"selectionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackupSelectionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupSelectionInput) String

String returns the string representation

func (*DeleteBackupSelectionInput) Validate

func (s *DeleteBackupSelectionInput) Validate() error

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

type DeleteBackupSelectionOutput

type DeleteBackupSelectionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBackupSelectionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupSelectionOutput) String

String returns the string representation

type DeleteBackupSelectionRequest

type DeleteBackupSelectionRequest struct {
	*aws.Request
	Input *DeleteBackupSelectionInput
	Copy  func(*DeleteBackupSelectionInput) DeleteBackupSelectionRequest
}

DeleteBackupSelectionRequest is the request type for the DeleteBackupSelection API operation.

func (DeleteBackupSelectionRequest) Send

Send marshals and sends the DeleteBackupSelection API request.

type DeleteBackupSelectionResponse added in v0.9.0

type DeleteBackupSelectionResponse struct {
	*DeleteBackupSelectionOutput
	// contains filtered or unexported fields
}

DeleteBackupSelectionResponse is the response type for the DeleteBackupSelection API operation.

func (*DeleteBackupSelectionResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteBackupSelectionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBackupSelection request.

type DeleteBackupVaultAccessPolicyInput

type DeleteBackupVaultAccessPolicyInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackupVaultAccessPolicyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupVaultAccessPolicyInput) String

String returns the string representation

func (*DeleteBackupVaultAccessPolicyInput) Validate

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

type DeleteBackupVaultAccessPolicyOutput

type DeleteBackupVaultAccessPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBackupVaultAccessPolicyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupVaultAccessPolicyOutput) String

String returns the string representation

type DeleteBackupVaultAccessPolicyRequest

type DeleteBackupVaultAccessPolicyRequest struct {
	*aws.Request
	Input *DeleteBackupVaultAccessPolicyInput
	Copy  func(*DeleteBackupVaultAccessPolicyInput) DeleteBackupVaultAccessPolicyRequest
}

DeleteBackupVaultAccessPolicyRequest is the request type for the DeleteBackupVaultAccessPolicy API operation.

func (DeleteBackupVaultAccessPolicyRequest) Send

Send marshals and sends the DeleteBackupVaultAccessPolicy API request.

type DeleteBackupVaultAccessPolicyResponse added in v0.9.0

type DeleteBackupVaultAccessPolicyResponse struct {
	*DeleteBackupVaultAccessPolicyOutput
	// contains filtered or unexported fields
}

DeleteBackupVaultAccessPolicyResponse is the response type for the DeleteBackupVaultAccessPolicy API operation.

func (*DeleteBackupVaultAccessPolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteBackupVaultAccessPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBackupVaultAccessPolicy request.

type DeleteBackupVaultInput

type DeleteBackupVaultInput struct {

	// 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
	// theAWS Region where they are created. They consist of lowercase letters,
	// numbers, and hyphens.
	//
	// BackupVaultName is a required field
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackupVaultInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupVaultInput) String

func (s DeleteBackupVaultInput) String() string

String returns the string representation

func (*DeleteBackupVaultInput) Validate

func (s *DeleteBackupVaultInput) Validate() error

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

type DeleteBackupVaultNotificationsInput

type DeleteBackupVaultNotificationsInput struct {

	// 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 Region where they are created. They consist of lowercase letters, numbers,
	// and hyphens.
	//
	// BackupVaultName is a required field
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackupVaultNotificationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupVaultNotificationsInput) String

String returns the string representation

func (*DeleteBackupVaultNotificationsInput) Validate

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

type DeleteBackupVaultNotificationsOutput

type DeleteBackupVaultNotificationsOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBackupVaultNotificationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupVaultNotificationsOutput) String

String returns the string representation

type DeleteBackupVaultNotificationsRequest

type DeleteBackupVaultNotificationsRequest struct {
	*aws.Request
	Input *DeleteBackupVaultNotificationsInput
	Copy  func(*DeleteBackupVaultNotificationsInput) DeleteBackupVaultNotificationsRequest
}

DeleteBackupVaultNotificationsRequest is the request type for the DeleteBackupVaultNotifications API operation.

func (DeleteBackupVaultNotificationsRequest) Send

Send marshals and sends the DeleteBackupVaultNotifications API request.

type DeleteBackupVaultNotificationsResponse added in v0.9.0

type DeleteBackupVaultNotificationsResponse struct {
	*DeleteBackupVaultNotificationsOutput
	// contains filtered or unexported fields
}

DeleteBackupVaultNotificationsResponse is the response type for the DeleteBackupVaultNotifications API operation.

func (*DeleteBackupVaultNotificationsResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteBackupVaultNotificationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBackupVaultNotifications request.

type DeleteBackupVaultOutput

type DeleteBackupVaultOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBackupVaultOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackupVaultOutput) String

func (s DeleteBackupVaultOutput) String() string

String returns the string representation

type DeleteBackupVaultRequest

type DeleteBackupVaultRequest struct {
	*aws.Request
	Input *DeleteBackupVaultInput
	Copy  func(*DeleteBackupVaultInput) DeleteBackupVaultRequest
}

DeleteBackupVaultRequest is the request type for the DeleteBackupVault API operation.

func (DeleteBackupVaultRequest) Send

Send marshals and sends the DeleteBackupVault API request.

type DeleteBackupVaultResponse added in v0.9.0

type DeleteBackupVaultResponse struct {
	*DeleteBackupVaultOutput
	// contains filtered or unexported fields
}

DeleteBackupVaultResponse is the response type for the DeleteBackupVault API operation.

func (*DeleteBackupVaultResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteBackupVaultResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBackupVault request.

type DeleteRecoveryPointInput

type DeleteRecoveryPointInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	//
	// RecoveryPointArn is a required field
	RecoveryPointArn *string `location:"uri" locationName:"recoveryPointArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRecoveryPointInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRecoveryPointInput) String

func (s DeleteRecoveryPointInput) String() string

String returns the string representation

func (*DeleteRecoveryPointInput) Validate

func (s *DeleteRecoveryPointInput) Validate() error

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

type DeleteRecoveryPointOutput

type DeleteRecoveryPointOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRecoveryPointOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRecoveryPointOutput) String

func (s DeleteRecoveryPointOutput) String() string

String returns the string representation

type DeleteRecoveryPointRequest

type DeleteRecoveryPointRequest struct {
	*aws.Request
	Input *DeleteRecoveryPointInput
	Copy  func(*DeleteRecoveryPointInput) DeleteRecoveryPointRequest
}

DeleteRecoveryPointRequest is the request type for the DeleteRecoveryPoint API operation.

func (DeleteRecoveryPointRequest) Send

Send marshals and sends the DeleteRecoveryPoint API request.

type DeleteRecoveryPointResponse added in v0.9.0

type DeleteRecoveryPointResponse struct {
	*DeleteRecoveryPointOutput
	// contains filtered or unexported fields
}

DeleteRecoveryPointResponse is the response type for the DeleteRecoveryPoint API operation.

func (*DeleteRecoveryPointResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteRecoveryPointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRecoveryPoint request.

type DescribeBackupJobInput

type DescribeBackupJobInput struct {

	// Uniquely identifies a request to AWS Backup to back up a resource.
	//
	// BackupJobId is a required field
	BackupJobId *string `location:"uri" locationName:"backupJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBackupJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBackupJobInput) String

func (s DescribeBackupJobInput) String() string

String returns the string representation

func (*DescribeBackupJobInput) Validate

func (s *DescribeBackupJobInput) Validate() error

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

type DescribeBackupJobOutput

type DescribeBackupJobOutput struct {

	// Uniquely identifies a request to AWS Backup to back up a resource.
	BackupJobId *string `type:"string"`

	// The size, in bytes, of a backup.
	BackupSizeInBytes *int64 `type:"long"`

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 *string `type:"string"`

	// The size in bytes transferred to a backup vault at the time that the job
	// status was queried.
	BytesTransferred *int64 `type:"long"`

	// The date and time that a job to create a backup job is completed, in Unix
	// format and Coordinated Universal Time (UTC). The value of CreationDate is
	// accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	CompletionDate *time.Time `type:"timestamp"`

	// Contains identifying information about the creation of a backup job, including
	// the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the
	// backup plan that is used to create it.
	CreatedBy *RecoveryPointCreator `type:"structure"`

	// The date and time that a backup job is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The date and time that a job to back up resources is expected to be completed,
	// in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate
	// is accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	ExpectedCompletionDate *time.Time `type:"timestamp"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// Contains an estimated percentage that is complete of a job at the time the
	// job status was queried.
	PercentDone *string `type:"string"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// An ARN that uniquely identifies a saved resource. The format of the ARN depends
	// on the resource type.
	ResourceArn *string `type:"string"`

	// The type of AWS resource to be backed-up; for example, an Amazon Elastic
	// Block Store (Amazon EBS) volume or an Amazon Relational Database Service
	// (Amazon RDS) database.
	ResourceType *string `type:"string"`

	// Specifies the time in Unix format and Coordinated Universal Time (UTC) when
	// a backup job must be started before it is canceled. The value is calculated
	// by adding the start window to the scheduled time. So if the scheduled time
	// were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00
	// PM on the date specified. The value of StartBy is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	StartBy *time.Time `type:"timestamp"`

	// The current state of a resource recovery point.
	State BackupJobState `type:"string" enum:"true"`

	// A detailed message explaining the status of the job to back up a resource.
	StatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBackupJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBackupJobOutput) String

func (s DescribeBackupJobOutput) String() string

String returns the string representation

type DescribeBackupJobRequest

type DescribeBackupJobRequest struct {
	*aws.Request
	Input *DescribeBackupJobInput
	Copy  func(*DescribeBackupJobInput) DescribeBackupJobRequest
}

DescribeBackupJobRequest is the request type for the DescribeBackupJob API operation.

func (DescribeBackupJobRequest) Send

Send marshals and sends the DescribeBackupJob API request.

type DescribeBackupJobResponse added in v0.9.0

type DescribeBackupJobResponse struct {
	*DescribeBackupJobOutput
	// contains filtered or unexported fields
}

DescribeBackupJobResponse is the response type for the DescribeBackupJob API operation.

func (*DescribeBackupJobResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeBackupJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBackupJob request.

type DescribeBackupVaultInput

type DescribeBackupVaultInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBackupVaultInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBackupVaultInput) String

func (s DescribeBackupVaultInput) String() string

String returns the string representation

func (*DescribeBackupVaultInput) Validate

func (s *DescribeBackupVaultInput) Validate() error

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

type DescribeBackupVaultOutput

type DescribeBackupVaultOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 Region where they are created. They consist of lowercase letters, numbers,
	// and hyphens.
	BackupVaultName *string `type:"string"`

	// The date and time that a backup vault is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// The server-side encryption key that is used to protect your backups; for
	// example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	EncryptionKeyArn *string `type:"string"`

	// The number of recovery points that are stored in a backup vault.
	NumberOfRecoveryPoints *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (DescribeBackupVaultOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBackupVaultOutput) String

func (s DescribeBackupVaultOutput) String() string

String returns the string representation

type DescribeBackupVaultRequest

type DescribeBackupVaultRequest struct {
	*aws.Request
	Input *DescribeBackupVaultInput
	Copy  func(*DescribeBackupVaultInput) DescribeBackupVaultRequest
}

DescribeBackupVaultRequest is the request type for the DescribeBackupVault API operation.

func (DescribeBackupVaultRequest) Send

Send marshals and sends the DescribeBackupVault API request.

type DescribeBackupVaultResponse added in v0.9.0

type DescribeBackupVaultResponse struct {
	*DescribeBackupVaultOutput
	// contains filtered or unexported fields
}

DescribeBackupVaultResponse is the response type for the DescribeBackupVault API operation.

func (*DescribeBackupVaultResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeBackupVaultResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBackupVault request.

type DescribeProtectedResourceInput

type DescribeProtectedResourceInput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format
	// of the ARN depends on the resource type.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeProtectedResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeProtectedResourceInput) String

String returns the string representation

func (*DescribeProtectedResourceInput) Validate

func (s *DescribeProtectedResourceInput) Validate() error

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

type DescribeProtectedResourceOutput

type DescribeProtectedResourceOutput struct {

	// The date and time that a resource was last backed up, in Unix format and
	// Coordinated Universal Time (UTC). The value of LastBackupTime is accurate
	// to milliseconds. For example, the value 1516925490.087 represents Friday,
	// January 26, 2018 12:11:30.087 AM.
	LastBackupTime *time.Time `type:"timestamp"`

	// An ARN that uniquely identifies a resource. The format of the ARN depends
	// on the resource type.
	ResourceArn *string `type:"string"`

	// The type of AWS resource saved as a recovery point; for example, an EBS volume
	// or an Amazon RDS database.
	ResourceType *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeProtectedResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeProtectedResourceOutput) String

String returns the string representation

type DescribeProtectedResourceRequest

type DescribeProtectedResourceRequest struct {
	*aws.Request
	Input *DescribeProtectedResourceInput
	Copy  func(*DescribeProtectedResourceInput) DescribeProtectedResourceRequest
}

DescribeProtectedResourceRequest is the request type for the DescribeProtectedResource API operation.

func (DescribeProtectedResourceRequest) Send

Send marshals and sends the DescribeProtectedResource API request.

type DescribeProtectedResourceResponse added in v0.9.0

type DescribeProtectedResourceResponse struct {
	*DescribeProtectedResourceOutput
	// contains filtered or unexported fields
}

DescribeProtectedResourceResponse is the response type for the DescribeProtectedResource API operation.

func (*DescribeProtectedResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeProtectedResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeProtectedResource request.

type DescribeRecoveryPointInput

type DescribeRecoveryPointInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	//
	// RecoveryPointArn is a required field
	RecoveryPointArn *string `location:"uri" locationName:"recoveryPointArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRecoveryPointInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeRecoveryPointInput) String

String returns the string representation

func (*DescribeRecoveryPointInput) Validate

func (s *DescribeRecoveryPointInput) Validate() error

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

type DescribeRecoveryPointOutput

type DescribeRecoveryPointOutput struct {

	// The size, in bytes, of a backup.
	BackupSizeInBytes *int64 `type:"long"`

	// An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 Region where they are created. They consist of lowercase letters, numbers,
	// and hyphens.
	BackupVaultName *string `type:"string"`

	// A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt
	// timestamps.
	CalculatedLifecycle *CalculatedLifecycle `type:"structure"`

	// The date and time that a job to create a recovery point is completed, in
	// Unix format and Coordinated Universal Time (UTC). The value of CompletionDate
	// is accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	CompletionDate *time.Time `type:"timestamp"`

	// Contains identifying information about the creation of a recovery point,
	// including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId
	// of the backup plan used to create it.
	CreatedBy *RecoveryPointCreator `type:"structure"`

	// The date and time that a recovery point is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The server-side encryption key used to protect your backups; for example,
	// arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	EncryptionKeyArn *string `type:"string"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// A Boolean value that is returned as TRUE if the specified recovery point
	// is encrypted, or FALSE if the recovery point is not encrypted.
	IsEncrypted *bool `type:"boolean"`

	// The date and time that a recovery point was last restored, in Unix format
	// and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate
	// to milliseconds. For example, the value 1516925490.087 represents Friday,
	// January 26, 2018 12:11:30.087 AM.
	LastRestoreTime *time.Time `type:"timestamp"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup transitions and expires backups automatically
	// according to the lifecycle that you define.
	//
	// Backups that are transitioned to cold storage must be stored in cold storage
	// for a minimum of 90 days. Therefore, the “expire after days” setting
	// must be 90 days greater than the “transition to cold after days” setting.
	// The “transition to cold after days” setting cannot be changed after a
	// backup has been transitioned to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// An ARN that uniquely identifies a saved resource. The format of the ARN depends
	// on the resource type.
	ResourceArn *string `type:"string"`

	// The type of AWS resource to save as a recovery point; for example, an Amazon
	// Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database
	// Service (Amazon RDS) database.
	ResourceType *string `type:"string"`

	// A status code specifying the state of the recovery point.
	//
	// A partial status indicates that the recovery point was not successfully re-created
	// and must be retried.
	Status RecoveryPointStatus `type:"string" enum:"true"`

	// Specifies the storage class of the recovery point. Valid values are WARM
	// or COLD.
	StorageClass StorageClass `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeRecoveryPointOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeRecoveryPointOutput) String

String returns the string representation

type DescribeRecoveryPointRequest

type DescribeRecoveryPointRequest struct {
	*aws.Request
	Input *DescribeRecoveryPointInput
	Copy  func(*DescribeRecoveryPointInput) DescribeRecoveryPointRequest
}

DescribeRecoveryPointRequest is the request type for the DescribeRecoveryPoint API operation.

func (DescribeRecoveryPointRequest) Send

Send marshals and sends the DescribeRecoveryPoint API request.

type DescribeRecoveryPointResponse added in v0.9.0

type DescribeRecoveryPointResponse struct {
	*DescribeRecoveryPointOutput
	// contains filtered or unexported fields
}

DescribeRecoveryPointResponse is the response type for the DescribeRecoveryPoint API operation.

func (*DescribeRecoveryPointResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeRecoveryPointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeRecoveryPoint request.

type DescribeRestoreJobInput

type DescribeRestoreJobInput struct {

	// Uniquely identifies the job that restores a recovery point.
	//
	// RestoreJobId is a required field
	RestoreJobId *string `location:"uri" locationName:"restoreJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRestoreJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeRestoreJobInput) String

func (s DescribeRestoreJobInput) String() string

String returns the string representation

func (*DescribeRestoreJobInput) Validate

func (s *DescribeRestoreJobInput) Validate() error

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

type DescribeRestoreJobOutput

type DescribeRestoreJobOutput struct {

	// The size, in bytes, of the restored resource.
	BackupSizeInBytes *int64 `type:"long"`

	// The date and time that a job to restore a recovery point is completed, in
	// Unix format and Coordinated Universal Time (UTC). The value of CompletionDate
	// is accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	CompletionDate *time.Time `type:"timestamp"`

	// An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery
	// point is being restored. The format of the ARN depends on the resource type
	// of the backed-up resource.
	CreatedResourceArn *string `type:"string"`

	// The date and time that a restore job is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The amount of time in minutes that a job restoring a recovery point is expected
	// to take.
	ExpectedCompletionTimeMinutes *int64 `type:"long"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// Contains an estimated percentage that is complete of a job at the time the
	// job status was queried.
	PercentDone *string `type:"string"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// Uniquely identifies the job that restores a recovery point.
	RestoreJobId *string `type:"string"`

	// Status code specifying the state of the job that is initiated by AWS Backup
	// to restore a recovery point.
	Status RestoreJobStatus `type:"string" enum:"true"`

	// A detailed message explaining the status of a job to restore a recovery point.
	StatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeRestoreJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeRestoreJobOutput) String

func (s DescribeRestoreJobOutput) String() string

String returns the string representation

type DescribeRestoreJobRequest

type DescribeRestoreJobRequest struct {
	*aws.Request
	Input *DescribeRestoreJobInput
	Copy  func(*DescribeRestoreJobInput) DescribeRestoreJobRequest
}

DescribeRestoreJobRequest is the request type for the DescribeRestoreJob API operation.

func (DescribeRestoreJobRequest) Send

Send marshals and sends the DescribeRestoreJob API request.

type DescribeRestoreJobResponse added in v0.9.0

type DescribeRestoreJobResponse struct {
	*DescribeRestoreJobOutput
	// contains filtered or unexported fields
}

DescribeRestoreJobResponse is the response type for the DescribeRestoreJob API operation.

func (*DescribeRestoreJobResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeRestoreJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeRestoreJob request.

type ExportBackupPlanTemplateInput

type ExportBackupPlanTemplateInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ExportBackupPlanTemplateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportBackupPlanTemplateInput) String

String returns the string representation

func (*ExportBackupPlanTemplateInput) Validate

func (s *ExportBackupPlanTemplateInput) Validate() error

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

type ExportBackupPlanTemplateOutput

type ExportBackupPlanTemplateOutput struct {

	// The body of a backup plan template in JSON format.
	//
	// This is a signed JSON document that cannot be modified before being passed
	// to GetBackupPlanFromJSON.
	BackupPlanTemplateJson *string `type:"string"`
	// contains filtered or unexported fields
}

func (ExportBackupPlanTemplateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportBackupPlanTemplateOutput) String

String returns the string representation

type ExportBackupPlanTemplateRequest

type ExportBackupPlanTemplateRequest struct {
	*aws.Request
	Input *ExportBackupPlanTemplateInput
	Copy  func(*ExportBackupPlanTemplateInput) ExportBackupPlanTemplateRequest
}

ExportBackupPlanTemplateRequest is the request type for the ExportBackupPlanTemplate API operation.

func (ExportBackupPlanTemplateRequest) Send

Send marshals and sends the ExportBackupPlanTemplate API request.

type ExportBackupPlanTemplateResponse added in v0.9.0

type ExportBackupPlanTemplateResponse struct {
	*ExportBackupPlanTemplateOutput
	// contains filtered or unexported fields
}

ExportBackupPlanTemplateResponse is the response type for the ExportBackupPlanTemplate API operation.

func (*ExportBackupPlanTemplateResponse) SDKResponseMetdata added in v0.9.0

func (r *ExportBackupPlanTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ExportBackupPlanTemplate request.

type GetBackupPlanFromJSONInput

type GetBackupPlanFromJSONInput struct {

	// A customer-supplied backup plan document in JSON format.
	//
	// BackupPlanTemplateJson is a required field
	BackupPlanTemplateJson *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackupPlanFromJSONInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupPlanFromJSONInput) String

String returns the string representation

func (*GetBackupPlanFromJSONInput) Validate

func (s *GetBackupPlanFromJSONInput) Validate() error

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

type GetBackupPlanFromJSONOutput

type GetBackupPlanFromJSONOutput struct {

	// Specifies the body of a backup plan. Includes a BackupPlanName and one or
	// more sets of Rules.
	BackupPlan *BackupPlan `type:"structure"`
	// contains filtered or unexported fields
}

func (GetBackupPlanFromJSONOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupPlanFromJSONOutput) String

String returns the string representation

type GetBackupPlanFromJSONRequest

type GetBackupPlanFromJSONRequest struct {
	*aws.Request
	Input *GetBackupPlanFromJSONInput
	Copy  func(*GetBackupPlanFromJSONInput) GetBackupPlanFromJSONRequest
}

GetBackupPlanFromJSONRequest is the request type for the GetBackupPlanFromJSON API operation.

func (GetBackupPlanFromJSONRequest) Send

Send marshals and sends the GetBackupPlanFromJSON API request.

type GetBackupPlanFromJSONResponse added in v0.9.0

type GetBackupPlanFromJSONResponse struct {
	*GetBackupPlanFromJSONOutput
	// contains filtered or unexported fields
}

GetBackupPlanFromJSONResponse is the response type for the GetBackupPlanFromJSON API operation.

func (*GetBackupPlanFromJSONResponse) SDKResponseMetdata added in v0.9.0

func (r *GetBackupPlanFromJSONResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackupPlanFromJSON request.

type GetBackupPlanFromTemplateInput

type GetBackupPlanFromTemplateInput struct {

	// Uniquely identifies a stored backup plan template.
	//
	// BackupPlanTemplateId is a required field
	BackupPlanTemplateId *string `location:"uri" locationName:"templateId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackupPlanFromTemplateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupPlanFromTemplateInput) String

String returns the string representation

func (*GetBackupPlanFromTemplateInput) Validate

func (s *GetBackupPlanFromTemplateInput) Validate() error

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

type GetBackupPlanFromTemplateOutput

type GetBackupPlanFromTemplateOutput struct {

	// Returns the body of a backup plan based on the target template, including
	// the name, rules, and backup vault of the plan.
	BackupPlanDocument *BackupPlan `type:"structure"`
	// contains filtered or unexported fields
}

func (GetBackupPlanFromTemplateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupPlanFromTemplateOutput) String

String returns the string representation

type GetBackupPlanFromTemplateRequest

type GetBackupPlanFromTemplateRequest struct {
	*aws.Request
	Input *GetBackupPlanFromTemplateInput
	Copy  func(*GetBackupPlanFromTemplateInput) GetBackupPlanFromTemplateRequest
}

GetBackupPlanFromTemplateRequest is the request type for the GetBackupPlanFromTemplate API operation.

func (GetBackupPlanFromTemplateRequest) Send

Send marshals and sends the GetBackupPlanFromTemplate API request.

type GetBackupPlanFromTemplateResponse added in v0.9.0

type GetBackupPlanFromTemplateResponse struct {
	*GetBackupPlanFromTemplateOutput
	// contains filtered or unexported fields
}

GetBackupPlanFromTemplateResponse is the response type for the GetBackupPlanFromTemplate API operation.

func (*GetBackupPlanFromTemplateResponse) SDKResponseMetdata added in v0.9.0

func (r *GetBackupPlanFromTemplateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackupPlanFromTemplate request.

type GetBackupPlanInput

type GetBackupPlanInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`

	// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most
	// 1,024 bytes long. Version IDs cannot be edited.
	VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
	// contains filtered or unexported fields
}

func (GetBackupPlanInput) MarshalFields

func (s GetBackupPlanInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupPlanInput) String

func (s GetBackupPlanInput) String() string

String returns the string representation

func (*GetBackupPlanInput) Validate

func (s *GetBackupPlanInput) Validate() error

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

type GetBackupPlanOutput

type GetBackupPlanOutput struct {

	// Specifies the body of a backup plan. Includes a BackupPlanName and one or
	// more sets of Rules.
	BackupPlan *BackupPlan `type:"structure"`

	// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for
	// example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
	BackupPlanArn *string `type:"string"`

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The date and time that a backup plan is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// The date and time that a backup plan is deleted, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	DeletionDate *time.Time `type:"timestamp"`

	// The last time a job to back up resources was executed with this backup plan.
	// A date and time, in Unix format and Coordinated Universal Time (UTC). The
	// value of LastExecutionDate is accurate to milliseconds. For example, the
	// value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
	LastExecutionDate *time.Time `type:"timestamp"`

	// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most
	// 1,024 bytes long. Version IDs cannot be edited.
	VersionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetBackupPlanOutput) MarshalFields

func (s GetBackupPlanOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupPlanOutput) String

func (s GetBackupPlanOutput) String() string

String returns the string representation

type GetBackupPlanRequest

type GetBackupPlanRequest struct {
	*aws.Request
	Input *GetBackupPlanInput
	Copy  func(*GetBackupPlanInput) GetBackupPlanRequest
}

GetBackupPlanRequest is the request type for the GetBackupPlan API operation.

func (GetBackupPlanRequest) Send

Send marshals and sends the GetBackupPlan API request.

type GetBackupPlanResponse added in v0.9.0

type GetBackupPlanResponse struct {
	*GetBackupPlanOutput
	// contains filtered or unexported fields
}

GetBackupPlanResponse is the response type for the GetBackupPlan API operation.

func (*GetBackupPlanResponse) SDKResponseMetdata added in v0.9.0

func (r *GetBackupPlanResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackupPlan request.

type GetBackupSelectionInput

type GetBackupSelectionInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`

	// Uniquely identifies the body of a request to assign a set of resources to
	// a backup plan.
	//
	// SelectionId is a required field
	SelectionId *string `location:"uri" locationName:"selectionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackupSelectionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupSelectionInput) String

func (s GetBackupSelectionInput) String() string

String returns the string representation

func (*GetBackupSelectionInput) Validate

func (s *GetBackupSelectionInput) Validate() error

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

type GetBackupSelectionOutput

type GetBackupSelectionOutput struct {

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// Specifies the body of a request to assign a set of resources to a backup
	// plan.
	//
	// It includes an array of resources, an optional array of patterns to exclude
	// resources, an optional role to provide access to the AWS service that the
	// resource belongs to, and an optional array of tags used to identify a set
	// of resources.
	BackupSelection *BackupSelection `type:"structure"`

	// The date and time a backup selection is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// A unique string that identifies the request and allows failed requests to
	// be retried without the risk of executing the operation twice.
	CreatorRequestId *string `type:"string"`

	// Uniquely identifies the body of a request to assign a set of resources to
	// a backup plan.
	SelectionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetBackupSelectionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupSelectionOutput) String

func (s GetBackupSelectionOutput) String() string

String returns the string representation

type GetBackupSelectionRequest

type GetBackupSelectionRequest struct {
	*aws.Request
	Input *GetBackupSelectionInput
	Copy  func(*GetBackupSelectionInput) GetBackupSelectionRequest
}

GetBackupSelectionRequest is the request type for the GetBackupSelection API operation.

func (GetBackupSelectionRequest) Send

Send marshals and sends the GetBackupSelection API request.

type GetBackupSelectionResponse added in v0.9.0

type GetBackupSelectionResponse struct {
	*GetBackupSelectionOutput
	// contains filtered or unexported fields
}

GetBackupSelectionResponse is the response type for the GetBackupSelection API operation.

func (*GetBackupSelectionResponse) SDKResponseMetdata added in v0.9.0

func (r *GetBackupSelectionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackupSelection request.

type GetBackupVaultAccessPolicyInput

type GetBackupVaultAccessPolicyInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackupVaultAccessPolicyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupVaultAccessPolicyInput) String

String returns the string representation

func (*GetBackupVaultAccessPolicyInput) Validate

func (s *GetBackupVaultAccessPolicyInput) Validate() error

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

type GetBackupVaultAccessPolicyOutput

type GetBackupVaultAccessPolicyOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 Region where they are created. They consist of lowercase letters, numbers,
	// and hyphens.
	BackupVaultName *string `type:"string"`

	// The backup vault access policy document in JSON format.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetBackupVaultAccessPolicyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupVaultAccessPolicyOutput) String

String returns the string representation

type GetBackupVaultAccessPolicyRequest

type GetBackupVaultAccessPolicyRequest struct {
	*aws.Request
	Input *GetBackupVaultAccessPolicyInput
	Copy  func(*GetBackupVaultAccessPolicyInput) GetBackupVaultAccessPolicyRequest
}

GetBackupVaultAccessPolicyRequest is the request type for the GetBackupVaultAccessPolicy API operation.

func (GetBackupVaultAccessPolicyRequest) Send

Send marshals and sends the GetBackupVaultAccessPolicy API request.

type GetBackupVaultAccessPolicyResponse added in v0.9.0

type GetBackupVaultAccessPolicyResponse struct {
	*GetBackupVaultAccessPolicyOutput
	// contains filtered or unexported fields
}

GetBackupVaultAccessPolicyResponse is the response type for the GetBackupVaultAccessPolicy API operation.

func (*GetBackupVaultAccessPolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *GetBackupVaultAccessPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackupVaultAccessPolicy request.

type GetBackupVaultNotificationsInput

type GetBackupVaultNotificationsInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackupVaultNotificationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupVaultNotificationsInput) String

String returns the string representation

func (*GetBackupVaultNotificationsInput) Validate

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

type GetBackupVaultNotificationsOutput

type GetBackupVaultNotificationsOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
	// example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `type:"string"`

	// An array of events that indicate the status of jobs to back up resources
	// to the backup vault.
	BackupVaultEvents []BackupVaultEvent `type:"list"`

	// 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 Region where they are created. They consist of lowercase letters, numbers,
	// and hyphens.
	BackupVaultName *string `type:"string"`

	// An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon
	// SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic.
	SNSTopicArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetBackupVaultNotificationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackupVaultNotificationsOutput) String

String returns the string representation

type GetBackupVaultNotificationsRequest

type GetBackupVaultNotificationsRequest struct {
	*aws.Request
	Input *GetBackupVaultNotificationsInput
	Copy  func(*GetBackupVaultNotificationsInput) GetBackupVaultNotificationsRequest
}

GetBackupVaultNotificationsRequest is the request type for the GetBackupVaultNotifications API operation.

func (GetBackupVaultNotificationsRequest) Send

Send marshals and sends the GetBackupVaultNotifications API request.

type GetBackupVaultNotificationsResponse added in v0.9.0

type GetBackupVaultNotificationsResponse struct {
	*GetBackupVaultNotificationsOutput
	// contains filtered or unexported fields
}

GetBackupVaultNotificationsResponse is the response type for the GetBackupVaultNotifications API operation.

func (*GetBackupVaultNotificationsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetBackupVaultNotificationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackupVaultNotifications request.

type GetRecoveryPointRestoreMetadataInput

type GetRecoveryPointRestoreMetadataInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	//
	// RecoveryPointArn is a required field
	RecoveryPointArn *string `location:"uri" locationName:"recoveryPointArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRecoveryPointRestoreMetadataInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRecoveryPointRestoreMetadataInput) String

String returns the string representation

func (*GetRecoveryPointRestoreMetadataInput) Validate

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

type GetRecoveryPointRestoreMetadataOutput

type GetRecoveryPointRestoreMetadataOutput struct {

	// An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `type:"string"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// A set of metadata key-value pairs that lists the metadata key-value pairs
	// that are required to restore the recovery point.
	RestoreMetadata map[string]string `type:"map"`
	// contains filtered or unexported fields
}

func (GetRecoveryPointRestoreMetadataOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRecoveryPointRestoreMetadataOutput) String

String returns the string representation

type GetRecoveryPointRestoreMetadataRequest

type GetRecoveryPointRestoreMetadataRequest struct {
	*aws.Request
	Input *GetRecoveryPointRestoreMetadataInput
	Copy  func(*GetRecoveryPointRestoreMetadataInput) GetRecoveryPointRestoreMetadataRequest
}

GetRecoveryPointRestoreMetadataRequest is the request type for the GetRecoveryPointRestoreMetadata API operation.

func (GetRecoveryPointRestoreMetadataRequest) Send

Send marshals and sends the GetRecoveryPointRestoreMetadata API request.

type GetRecoveryPointRestoreMetadataResponse added in v0.9.0

type GetRecoveryPointRestoreMetadataResponse struct {
	*GetRecoveryPointRestoreMetadataOutput
	// contains filtered or unexported fields
}

GetRecoveryPointRestoreMetadataResponse is the response type for the GetRecoveryPointRestoreMetadata API operation.

func (*GetRecoveryPointRestoreMetadataResponse) SDKResponseMetdata added in v0.9.0

func (r *GetRecoveryPointRestoreMetadataResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRecoveryPointRestoreMetadata request.

type GetSupportedResourceTypesInput

type GetSupportedResourceTypesInput struct {
	// contains filtered or unexported fields
}

func (GetSupportedResourceTypesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSupportedResourceTypesInput) String

String returns the string representation

type GetSupportedResourceTypesOutput

type GetSupportedResourceTypesOutput struct {

	// Contains a string with the supported AWS resource types:
	//
	//    * EBS for Amazon Elastic Block Store
	//
	//    * SGW for AWS Storage Gateway
	//
	//    * RDS for Amazon Relational Database Service
	//
	//    * DDB for Amazon DynamoDB
	//
	//    * EFS for Amazon Elastic File System
	ResourceTypes []string `type:"list"`
	// contains filtered or unexported fields
}

func (GetSupportedResourceTypesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSupportedResourceTypesOutput) String

String returns the string representation

type GetSupportedResourceTypesRequest

type GetSupportedResourceTypesRequest struct {
	*aws.Request
	Input *GetSupportedResourceTypesInput
	Copy  func(*GetSupportedResourceTypesInput) GetSupportedResourceTypesRequest
}

GetSupportedResourceTypesRequest is the request type for the GetSupportedResourceTypes API operation.

func (GetSupportedResourceTypesRequest) Send

Send marshals and sends the GetSupportedResourceTypes API request.

type GetSupportedResourceTypesResponse added in v0.9.0

type GetSupportedResourceTypesResponse struct {
	*GetSupportedResourceTypesOutput
	// contains filtered or unexported fields
}

GetSupportedResourceTypesResponse is the response type for the GetSupportedResourceTypes API operation.

func (*GetSupportedResourceTypesResponse) SDKResponseMetdata added in v0.9.0

func (r *GetSupportedResourceTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetSupportedResourceTypes request.

type Lifecycle

type Lifecycle struct {

	// Specifies the number of days after creation that a recovery point is deleted.
	// Must be greater than MoveToColdStorageAfterDays.
	DeleteAfterDays *int64 `type:"long"`

	// Specifies the number of days after creation that a recovery point is moved
	// to cold storage.
	MoveToColdStorageAfterDays *int64 `type:"long"`
	// contains filtered or unexported fields
}

Contains an array of Transition objects specifying how long in days before a recovery point transitions to cold storage or is deleted.

func (Lifecycle) MarshalFields

func (s Lifecycle) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Lifecycle) String

func (s Lifecycle) String() string

String returns the string representation

type ListBackupJobsInput

type ListBackupJobsInput struct {

	// Returns only backup jobs that will be stored in the specified backup vault.
	// 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.
	ByBackupVaultName *string `location:"querystring" locationName:"backupVaultName" type:"string"`

	// Returns only backup jobs that were created after the specified date.
	ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"`

	// Returns only backup jobs that were created before the specified date.
	ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"`

	// Returns only backup jobs that match the specified resource Amazon Resource
	// Name (ARN).
	ByResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string"`

	// Returns only backup jobs for the specified resources:
	//
	//    * EBS for Amazon Elastic Block Store
	//
	//    * SGW for AWS Storage Gateway
	//
	//    * RDS for Amazon Relational Database Service
	//
	//    * DDB for Amazon DynamoDB
	//
	//    * EFS for Amazon Elastic File System
	ByResourceType *string `location:"querystring" locationName:"resourceType" type:"string"`

	// Returns only backup jobs that are in the specified state.
	ByState BackupJobState `location:"querystring" locationName:"state" type:"string" enum:"true"`

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupJobsInput) MarshalFields

func (s ListBackupJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupJobsInput) String

func (s ListBackupJobsInput) String() string

String returns the string representation

func (*ListBackupJobsInput) Validate

func (s *ListBackupJobsInput) Validate() error

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

type ListBackupJobsOutput

type ListBackupJobsOutput struct {

	// An array of structures containing metadata about your backup jobs returned
	// in JSON format.
	BackupJobs []BackupJob `type:"list"`

	// 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.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupJobsOutput) MarshalFields

func (s ListBackupJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupJobsOutput) String

func (s ListBackupJobsOutput) String() string

String returns the string representation

type ListBackupJobsPaginator added in v0.9.0

type ListBackupJobsPaginator struct {
	aws.Pager
}

ListBackupJobsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBackupJobsPaginator added in v0.9.0

func NewListBackupJobsPaginator(req ListBackupJobsRequest) ListBackupJobsPaginator

NewListBackupJobsRequestPaginator returns a paginator for ListBackupJobs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBackupJobsRequest(input)
p := backup.NewListBackupJobsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBackupJobsPaginator) CurrentPage added in v0.9.0

type ListBackupJobsRequest

type ListBackupJobsRequest struct {
	*aws.Request
	Input *ListBackupJobsInput
	Copy  func(*ListBackupJobsInput) ListBackupJobsRequest
}

ListBackupJobsRequest is the request type for the ListBackupJobs API operation.

func (ListBackupJobsRequest) Send

Send marshals and sends the ListBackupJobs API request.

type ListBackupJobsResponse added in v0.9.0

type ListBackupJobsResponse struct {
	*ListBackupJobsOutput
	// contains filtered or unexported fields
}

ListBackupJobsResponse is the response type for the ListBackupJobs API operation.

func (*ListBackupJobsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBackupJobsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackupJobs request.

type ListBackupPlanTemplatesInput

type ListBackupPlanTemplatesInput struct {

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupPlanTemplatesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupPlanTemplatesInput) String

String returns the string representation

func (*ListBackupPlanTemplatesInput) Validate

func (s *ListBackupPlanTemplatesInput) Validate() error

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

type ListBackupPlanTemplatesOutput

type ListBackupPlanTemplatesOutput struct {

	// An array of template list items containing metadata about your saved templates.
	BackupPlanTemplatesList []BackupPlanTemplatesListMember `type:"list"`

	// 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.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupPlanTemplatesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupPlanTemplatesOutput) String

String returns the string representation

type ListBackupPlanTemplatesPaginator added in v0.9.0

type ListBackupPlanTemplatesPaginator struct {
	aws.Pager
}

ListBackupPlanTemplatesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBackupPlanTemplatesPaginator added in v0.9.0

func NewListBackupPlanTemplatesPaginator(req ListBackupPlanTemplatesRequest) ListBackupPlanTemplatesPaginator

NewListBackupPlanTemplatesRequestPaginator returns a paginator for ListBackupPlanTemplates. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBackupPlanTemplatesRequest(input)
p := backup.NewListBackupPlanTemplatesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBackupPlanTemplatesPaginator) CurrentPage added in v0.9.0

type ListBackupPlanTemplatesRequest

type ListBackupPlanTemplatesRequest struct {
	*aws.Request
	Input *ListBackupPlanTemplatesInput
	Copy  func(*ListBackupPlanTemplatesInput) ListBackupPlanTemplatesRequest
}

ListBackupPlanTemplatesRequest is the request type for the ListBackupPlanTemplates API operation.

func (ListBackupPlanTemplatesRequest) Send

Send marshals and sends the ListBackupPlanTemplates API request.

type ListBackupPlanTemplatesResponse added in v0.9.0

type ListBackupPlanTemplatesResponse struct {
	*ListBackupPlanTemplatesOutput
	// contains filtered or unexported fields
}

ListBackupPlanTemplatesResponse is the response type for the ListBackupPlanTemplates API operation.

func (*ListBackupPlanTemplatesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBackupPlanTemplatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackupPlanTemplates request.

type ListBackupPlanVersionsInput

type ListBackupPlanVersionsInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupPlanVersionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupPlanVersionsInput) String

String returns the string representation

func (*ListBackupPlanVersionsInput) Validate

func (s *ListBackupPlanVersionsInput) Validate() error

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

type ListBackupPlanVersionsOutput

type ListBackupPlanVersionsOutput struct {

	// An array of version list items containing metadata about your backup plans.
	BackupPlanVersionsList []BackupPlansListMember `type:"list"`

	// 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.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupPlanVersionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupPlanVersionsOutput) String

String returns the string representation

type ListBackupPlanVersionsPaginator added in v0.9.0

type ListBackupPlanVersionsPaginator struct {
	aws.Pager
}

ListBackupPlanVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBackupPlanVersionsPaginator added in v0.9.0

func NewListBackupPlanVersionsPaginator(req ListBackupPlanVersionsRequest) ListBackupPlanVersionsPaginator

NewListBackupPlanVersionsRequestPaginator returns a paginator for ListBackupPlanVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBackupPlanVersionsRequest(input)
p := backup.NewListBackupPlanVersionsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBackupPlanVersionsPaginator) CurrentPage added in v0.9.0

type ListBackupPlanVersionsRequest

type ListBackupPlanVersionsRequest struct {
	*aws.Request
	Input *ListBackupPlanVersionsInput
	Copy  func(*ListBackupPlanVersionsInput) ListBackupPlanVersionsRequest
}

ListBackupPlanVersionsRequest is the request type for the ListBackupPlanVersions API operation.

func (ListBackupPlanVersionsRequest) Send

Send marshals and sends the ListBackupPlanVersions API request.

type ListBackupPlanVersionsResponse added in v0.9.0

type ListBackupPlanVersionsResponse struct {
	*ListBackupPlanVersionsOutput
	// contains filtered or unexported fields
}

ListBackupPlanVersionsResponse is the response type for the ListBackupPlanVersions API operation.

func (*ListBackupPlanVersionsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBackupPlanVersionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackupPlanVersions request.

type ListBackupPlansInput

type ListBackupPlansInput struct {

	// A Boolean value with a default value of FALSE that returns deleted backup
	// plans when set to TRUE.
	IncludeDeleted *bool `location:"querystring" locationName:"includeDeleted" type:"boolean"`

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupPlansInput) MarshalFields

func (s ListBackupPlansInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupPlansInput) String

func (s ListBackupPlansInput) String() string

String returns the string representation

func (*ListBackupPlansInput) Validate

func (s *ListBackupPlansInput) Validate() error

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

type ListBackupPlansOutput

type ListBackupPlansOutput struct {

	// An array of backup plan list items containing metadata about your saved backup
	// plans.
	BackupPlansList []BackupPlansListMember `type:"list"`

	// 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.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupPlansOutput) MarshalFields

func (s ListBackupPlansOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupPlansOutput) String

func (s ListBackupPlansOutput) String() string

String returns the string representation

type ListBackupPlansPaginator added in v0.9.0

type ListBackupPlansPaginator struct {
	aws.Pager
}

ListBackupPlansPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBackupPlansPaginator added in v0.9.0

func NewListBackupPlansPaginator(req ListBackupPlansRequest) ListBackupPlansPaginator

NewListBackupPlansRequestPaginator returns a paginator for ListBackupPlans. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBackupPlansRequest(input)
p := backup.NewListBackupPlansRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBackupPlansPaginator) CurrentPage added in v0.9.0

type ListBackupPlansRequest

type ListBackupPlansRequest struct {
	*aws.Request
	Input *ListBackupPlansInput
	Copy  func(*ListBackupPlansInput) ListBackupPlansRequest
}

ListBackupPlansRequest is the request type for the ListBackupPlans API operation.

func (ListBackupPlansRequest) Send

Send marshals and sends the ListBackupPlans API request.

type ListBackupPlansResponse added in v0.9.0

type ListBackupPlansResponse struct {
	*ListBackupPlansOutput
	// contains filtered or unexported fields
}

ListBackupPlansResponse is the response type for the ListBackupPlans API operation.

func (*ListBackupPlansResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBackupPlansResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackupPlans request.

type ListBackupSelectionsInput

type ListBackupSelectionsInput struct {

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupSelectionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupSelectionsInput) String

func (s ListBackupSelectionsInput) String() string

String returns the string representation

func (*ListBackupSelectionsInput) Validate

func (s *ListBackupSelectionsInput) Validate() error

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

type ListBackupSelectionsOutput

type ListBackupSelectionsOutput struct {

	// An array of backup selection list items containing metadata about each resource
	// in the list.
	BackupSelectionsList []BackupSelectionsListMember `type:"list"`

	// 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.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupSelectionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupSelectionsOutput) String

String returns the string representation

type ListBackupSelectionsPaginator added in v0.9.0

type ListBackupSelectionsPaginator struct {
	aws.Pager
}

ListBackupSelectionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBackupSelectionsPaginator added in v0.9.0

func NewListBackupSelectionsPaginator(req ListBackupSelectionsRequest) ListBackupSelectionsPaginator

NewListBackupSelectionsRequestPaginator returns a paginator for ListBackupSelections. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBackupSelectionsRequest(input)
p := backup.NewListBackupSelectionsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBackupSelectionsPaginator) CurrentPage added in v0.9.0

type ListBackupSelectionsRequest

type ListBackupSelectionsRequest struct {
	*aws.Request
	Input *ListBackupSelectionsInput
	Copy  func(*ListBackupSelectionsInput) ListBackupSelectionsRequest
}

ListBackupSelectionsRequest is the request type for the ListBackupSelections API operation.

func (ListBackupSelectionsRequest) Send

Send marshals and sends the ListBackupSelections API request.

type ListBackupSelectionsResponse added in v0.9.0

type ListBackupSelectionsResponse struct {
	*ListBackupSelectionsOutput
	// contains filtered or unexported fields
}

ListBackupSelectionsResponse is the response type for the ListBackupSelections API operation.

func (*ListBackupSelectionsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBackupSelectionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackupSelections request.

type ListBackupVaultsInput

type ListBackupVaultsInput struct {

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupVaultsInput) MarshalFields

func (s ListBackupVaultsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupVaultsInput) String

func (s ListBackupVaultsInput) String() string

String returns the string representation

func (*ListBackupVaultsInput) Validate

func (s *ListBackupVaultsInput) Validate() error

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

type ListBackupVaultsOutput

type ListBackupVaultsOutput struct {

	// An array of backup vault list members containing vault metadata, including
	// Amazon Resource Name (ARN), display name, creation date, number of saved
	// recovery points, and encryption information if the resources saved in the
	// backup vault are encrypted.
	BackupVaultList []BackupVaultListMember `type:"list"`

	// 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.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBackupVaultsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackupVaultsOutput) String

func (s ListBackupVaultsOutput) String() string

String returns the string representation

type ListBackupVaultsPaginator added in v0.9.0

type ListBackupVaultsPaginator struct {
	aws.Pager
}

ListBackupVaultsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBackupVaultsPaginator added in v0.9.0

func NewListBackupVaultsPaginator(req ListBackupVaultsRequest) ListBackupVaultsPaginator

NewListBackupVaultsRequestPaginator returns a paginator for ListBackupVaults. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBackupVaultsRequest(input)
p := backup.NewListBackupVaultsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBackupVaultsPaginator) CurrentPage added in v0.9.0

type ListBackupVaultsRequest

type ListBackupVaultsRequest struct {
	*aws.Request
	Input *ListBackupVaultsInput
	Copy  func(*ListBackupVaultsInput) ListBackupVaultsRequest
}

ListBackupVaultsRequest is the request type for the ListBackupVaults API operation.

func (ListBackupVaultsRequest) Send

Send marshals and sends the ListBackupVaults API request.

type ListBackupVaultsResponse added in v0.9.0

type ListBackupVaultsResponse struct {
	*ListBackupVaultsOutput
	// contains filtered or unexported fields
}

ListBackupVaultsResponse is the response type for the ListBackupVaults API operation.

func (*ListBackupVaultsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBackupVaultsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackupVaults request.

type ListProtectedResourcesInput

type ListProtectedResourcesInput struct {

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListProtectedResourcesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListProtectedResourcesInput) String

String returns the string representation

func (*ListProtectedResourcesInput) Validate

func (s *ListProtectedResourcesInput) Validate() error

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

type ListProtectedResourcesOutput

type ListProtectedResourcesOutput struct {

	// 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.
	NextToken *string `type:"string"`

	// An array of resources successfully backed up by AWS Backup including the
	// time the resource was saved, an Amazon Resource Name (ARN) of the resource,
	// and a resource type.
	Results []ProtectedResource `type:"list"`
	// contains filtered or unexported fields
}

func (ListProtectedResourcesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListProtectedResourcesOutput) String

String returns the string representation

type ListProtectedResourcesPaginator added in v0.9.0

type ListProtectedResourcesPaginator struct {
	aws.Pager
}

ListProtectedResourcesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListProtectedResourcesPaginator added in v0.9.0

func NewListProtectedResourcesPaginator(req ListProtectedResourcesRequest) ListProtectedResourcesPaginator

NewListProtectedResourcesRequestPaginator returns a paginator for ListProtectedResources. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListProtectedResourcesRequest(input)
p := backup.NewListProtectedResourcesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListProtectedResourcesPaginator) CurrentPage added in v0.9.0

type ListProtectedResourcesRequest

type ListProtectedResourcesRequest struct {
	*aws.Request
	Input *ListProtectedResourcesInput
	Copy  func(*ListProtectedResourcesInput) ListProtectedResourcesRequest
}

ListProtectedResourcesRequest is the request type for the ListProtectedResources API operation.

func (ListProtectedResourcesRequest) Send

Send marshals and sends the ListProtectedResources API request.

type ListProtectedResourcesResponse added in v0.9.0

type ListProtectedResourcesResponse struct {
	*ListProtectedResourcesOutput
	// contains filtered or unexported fields
}

ListProtectedResourcesResponse is the response type for the ListProtectedResources API operation.

func (*ListProtectedResourcesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListProtectedResourcesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListProtectedResources request.

type ListRecoveryPointsByBackupVaultInput

type ListRecoveryPointsByBackupVaultInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// Returns only recovery points that match the specified backup plan ID.
	ByBackupPlanId *string `location:"querystring" locationName:"backupPlanId" type:"string"`

	// Returns only recovery points that were created after the specified timestamp.
	ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"`

	// Returns only recovery points that were created before the specified timestamp.
	ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"`

	// Returns only recovery points that match the specified resource Amazon Resource
	// Name (ARN).
	ByResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string"`

	// Returns only recovery points that match the specified resource type.
	ByResourceType *string `location:"querystring" locationName:"resourceType" type:"string"`

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListRecoveryPointsByBackupVaultInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRecoveryPointsByBackupVaultInput) String

String returns the string representation

func (*ListRecoveryPointsByBackupVaultInput) Validate

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

type ListRecoveryPointsByBackupVaultOutput

type ListRecoveryPointsByBackupVaultOutput struct {

	// 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.
	NextToken *string `type:"string"`

	// An array of objects that contain detailed information about recovery points
	// saved in a backup vault.
	RecoveryPoints []RecoveryPointByBackupVault `type:"list"`
	// contains filtered or unexported fields
}

func (ListRecoveryPointsByBackupVaultOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRecoveryPointsByBackupVaultOutput) String

String returns the string representation

type ListRecoveryPointsByBackupVaultPaginator added in v0.9.0

type ListRecoveryPointsByBackupVaultPaginator struct {
	aws.Pager
}

ListRecoveryPointsByBackupVaultPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRecoveryPointsByBackupVaultPaginator added in v0.9.0

func NewListRecoveryPointsByBackupVaultPaginator(req ListRecoveryPointsByBackupVaultRequest) ListRecoveryPointsByBackupVaultPaginator

NewListRecoveryPointsByBackupVaultRequestPaginator returns a paginator for ListRecoveryPointsByBackupVault. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListRecoveryPointsByBackupVaultRequest(input)
p := backup.NewListRecoveryPointsByBackupVaultRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRecoveryPointsByBackupVaultPaginator) CurrentPage added in v0.9.0

type ListRecoveryPointsByBackupVaultRequest

type ListRecoveryPointsByBackupVaultRequest struct {
	*aws.Request
	Input *ListRecoveryPointsByBackupVaultInput
	Copy  func(*ListRecoveryPointsByBackupVaultInput) ListRecoveryPointsByBackupVaultRequest
}

ListRecoveryPointsByBackupVaultRequest is the request type for the ListRecoveryPointsByBackupVault API operation.

func (ListRecoveryPointsByBackupVaultRequest) Send

Send marshals and sends the ListRecoveryPointsByBackupVault API request.

type ListRecoveryPointsByBackupVaultResponse added in v0.9.0

type ListRecoveryPointsByBackupVaultResponse struct {
	*ListRecoveryPointsByBackupVaultOutput
	// contains filtered or unexported fields
}

ListRecoveryPointsByBackupVaultResponse is the response type for the ListRecoveryPointsByBackupVault API operation.

func (*ListRecoveryPointsByBackupVaultResponse) SDKResponseMetdata added in v0.9.0

func (r *ListRecoveryPointsByBackupVaultResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListRecoveryPointsByBackupVault request.

type ListRecoveryPointsByResourceInput

type ListRecoveryPointsByResourceInput struct {

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// An ARN that uniquely identifies a resource. The format of the ARN depends
	// on the resource type.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListRecoveryPointsByResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRecoveryPointsByResourceInput) String

String returns the string representation

func (*ListRecoveryPointsByResourceInput) Validate

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

type ListRecoveryPointsByResourceOutput

type ListRecoveryPointsByResourceOutput struct {

	// 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.
	NextToken *string `type:"string"`

	// An array of objects that contain detailed information about recovery points
	// of the specified resource type.
	RecoveryPoints []RecoveryPointByResource `type:"list"`
	// contains filtered or unexported fields
}

func (ListRecoveryPointsByResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRecoveryPointsByResourceOutput) String

String returns the string representation

type ListRecoveryPointsByResourcePaginator added in v0.9.0

type ListRecoveryPointsByResourcePaginator struct {
	aws.Pager
}

ListRecoveryPointsByResourcePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRecoveryPointsByResourcePaginator added in v0.9.0

func NewListRecoveryPointsByResourcePaginator(req ListRecoveryPointsByResourceRequest) ListRecoveryPointsByResourcePaginator

NewListRecoveryPointsByResourceRequestPaginator returns a paginator for ListRecoveryPointsByResource. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListRecoveryPointsByResourceRequest(input)
p := backup.NewListRecoveryPointsByResourceRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRecoveryPointsByResourcePaginator) CurrentPage added in v0.9.0

type ListRecoveryPointsByResourceRequest

type ListRecoveryPointsByResourceRequest struct {
	*aws.Request
	Input *ListRecoveryPointsByResourceInput
	Copy  func(*ListRecoveryPointsByResourceInput) ListRecoveryPointsByResourceRequest
}

ListRecoveryPointsByResourceRequest is the request type for the ListRecoveryPointsByResource API operation.

func (ListRecoveryPointsByResourceRequest) Send

Send marshals and sends the ListRecoveryPointsByResource API request.

type ListRecoveryPointsByResourceResponse added in v0.9.0

type ListRecoveryPointsByResourceResponse struct {
	*ListRecoveryPointsByResourceOutput
	// contains filtered or unexported fields
}

ListRecoveryPointsByResourceResponse is the response type for the ListRecoveryPointsByResource API operation.

func (*ListRecoveryPointsByResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *ListRecoveryPointsByResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListRecoveryPointsByResource request.

type ListRestoreJobsInput

type ListRestoreJobsInput struct {

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListRestoreJobsInput) MarshalFields

func (s ListRestoreJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRestoreJobsInput) String

func (s ListRestoreJobsInput) String() string

String returns the string representation

func (*ListRestoreJobsInput) Validate

func (s *ListRestoreJobsInput) Validate() error

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

type ListRestoreJobsOutput

type ListRestoreJobsOutput struct {

	// 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.
	NextToken *string `type:"string"`

	// An array of objects that contain detailed information about jobs to restore
	// saved resources.
	RestoreJobs []RestoreJobsListMember `type:"list"`
	// contains filtered or unexported fields
}

func (ListRestoreJobsOutput) MarshalFields

func (s ListRestoreJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRestoreJobsOutput) String

func (s ListRestoreJobsOutput) String() string

String returns the string representation

type ListRestoreJobsPaginator added in v0.9.0

type ListRestoreJobsPaginator struct {
	aws.Pager
}

ListRestoreJobsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRestoreJobsPaginator added in v0.9.0

func NewListRestoreJobsPaginator(req ListRestoreJobsRequest) ListRestoreJobsPaginator

NewListRestoreJobsRequestPaginator returns a paginator for ListRestoreJobs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListRestoreJobsRequest(input)
p := backup.NewListRestoreJobsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRestoreJobsPaginator) CurrentPage added in v0.9.0

type ListRestoreJobsRequest

type ListRestoreJobsRequest struct {
	*aws.Request
	Input *ListRestoreJobsInput
	Copy  func(*ListRestoreJobsInput) ListRestoreJobsRequest
}

ListRestoreJobsRequest is the request type for the ListRestoreJobs API operation.

func (ListRestoreJobsRequest) Send

Send marshals and sends the ListRestoreJobs API request.

type ListRestoreJobsResponse added in v0.9.0

type ListRestoreJobsResponse struct {
	*ListRestoreJobsOutput
	// contains filtered or unexported fields
}

ListRestoreJobsResponse is the response type for the ListRestoreJobs API operation.

func (*ListRestoreJobsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListRestoreJobsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListRestoreJobs request.

type ListTagsInput

type ListTagsInput struct {

	// The maximum number of items to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// 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.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format
	// of the ARN depends on the type of resource. Valid targets for ListTags are
	// recovery points, backup plans, and backup vaults.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsInput) MarshalFields

func (s ListTagsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsInput) String

func (s ListTagsInput) String() string

String returns the string representation

func (*ListTagsInput) Validate

func (s *ListTagsInput) Validate() error

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

type ListTagsOutput

type ListTagsOutput struct {

	// 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.
	NextToken *string `type:"string"`

	// To help organize your resources, you can assign your own metadata to the
	// resources you create. Each tag is a key-value pair.
	Tags map[string]string `type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListTagsOutput) MarshalFields

func (s ListTagsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsOutput) String

func (s ListTagsOutput) String() string

String returns the string representation

type ListTagsPaginator added in v0.9.0

type ListTagsPaginator struct {
	aws.Pager
}

ListTagsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListTagsPaginator added in v0.9.0

func NewListTagsPaginator(req ListTagsRequest) ListTagsPaginator

NewListTagsRequestPaginator returns a paginator for ListTags. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListTagsRequest(input)
p := backup.NewListTagsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListTagsPaginator) CurrentPage added in v0.9.0

func (p *ListTagsPaginator) CurrentPage() *ListTagsOutput

type ListTagsRequest

type ListTagsRequest struct {
	*aws.Request
	Input *ListTagsInput
	Copy  func(*ListTagsInput) ListTagsRequest
}

ListTagsRequest is the request type for the ListTags API operation.

func (ListTagsRequest) Send

Send marshals and sends the ListTags API request.

type ListTagsResponse added in v0.9.0

type ListTagsResponse struct {
	*ListTagsOutput
	// contains filtered or unexported fields
}

ListTagsResponse is the response type for the ListTags API operation.

func (*ListTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTags request.

type ProtectedResource

type ProtectedResource struct {

	// The date and time a resource was last backed up, in Unix format and Coordinated
	// Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	LastBackupTime *time.Time `type:"timestamp"`

	// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format
	// of the ARN depends on the resource type.
	ResourceArn *string `type:"string"`

	// The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon
	// EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
	ResourceType *string `type:"string"`
	// contains filtered or unexported fields
}

A structure that contains information about a backed-up resource.

func (ProtectedResource) MarshalFields

func (s ProtectedResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ProtectedResource) String

func (s ProtectedResource) String() string

String returns the string representation

type PutBackupVaultAccessPolicyInput

type PutBackupVaultAccessPolicyInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// The backup vault access policy document in JSON format.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

func (PutBackupVaultAccessPolicyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutBackupVaultAccessPolicyInput) String

String returns the string representation

func (*PutBackupVaultAccessPolicyInput) Validate

func (s *PutBackupVaultAccessPolicyInput) Validate() error

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

type PutBackupVaultAccessPolicyOutput

type PutBackupVaultAccessPolicyOutput struct {
	// contains filtered or unexported fields
}

func (PutBackupVaultAccessPolicyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutBackupVaultAccessPolicyOutput) String

String returns the string representation

type PutBackupVaultAccessPolicyRequest

type PutBackupVaultAccessPolicyRequest struct {
	*aws.Request
	Input *PutBackupVaultAccessPolicyInput
	Copy  func(*PutBackupVaultAccessPolicyInput) PutBackupVaultAccessPolicyRequest
}

PutBackupVaultAccessPolicyRequest is the request type for the PutBackupVaultAccessPolicy API operation.

func (PutBackupVaultAccessPolicyRequest) Send

Send marshals and sends the PutBackupVaultAccessPolicy API request.

type PutBackupVaultAccessPolicyResponse added in v0.9.0

type PutBackupVaultAccessPolicyResponse struct {
	*PutBackupVaultAccessPolicyOutput
	// contains filtered or unexported fields
}

PutBackupVaultAccessPolicyResponse is the response type for the PutBackupVaultAccessPolicy API operation.

func (*PutBackupVaultAccessPolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *PutBackupVaultAccessPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutBackupVaultAccessPolicy request.

type PutBackupVaultNotificationsInput

type PutBackupVaultNotificationsInput struct {

	// An array of events that indicate the status of jobs to back up resources
	// to the backup vault.
	//
	// BackupVaultEvents is a required field
	BackupVaultEvents []BackupVaultEvent `type:"list" required:"true"`

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s
	// events; for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic.
	//
	// SNSTopicArn is a required field
	SNSTopicArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutBackupVaultNotificationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutBackupVaultNotificationsInput) String

String returns the string representation

func (*PutBackupVaultNotificationsInput) Validate

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

type PutBackupVaultNotificationsOutput

type PutBackupVaultNotificationsOutput struct {
	// contains filtered or unexported fields
}

func (PutBackupVaultNotificationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutBackupVaultNotificationsOutput) String

String returns the string representation

type PutBackupVaultNotificationsRequest

type PutBackupVaultNotificationsRequest struct {
	*aws.Request
	Input *PutBackupVaultNotificationsInput
	Copy  func(*PutBackupVaultNotificationsInput) PutBackupVaultNotificationsRequest
}

PutBackupVaultNotificationsRequest is the request type for the PutBackupVaultNotifications API operation.

func (PutBackupVaultNotificationsRequest) Send

Send marshals and sends the PutBackupVaultNotifications API request.

type PutBackupVaultNotificationsResponse added in v0.9.0

type PutBackupVaultNotificationsResponse struct {
	*PutBackupVaultNotificationsOutput
	// contains filtered or unexported fields
}

PutBackupVaultNotificationsResponse is the response type for the PutBackupVaultNotifications API operation.

func (*PutBackupVaultNotificationsResponse) SDKResponseMetdata added in v0.9.0

func (r *PutBackupVaultNotificationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutBackupVaultNotifications request.

type RecoveryPointByBackupVault

type RecoveryPointByBackupVault struct {

	// The size, in bytes, of a backup.
	BackupSizeInBytes *int64 `type:"long"`

	// An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `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 *string `type:"string"`

	// A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt
	// timestamps.
	CalculatedLifecycle *CalculatedLifecycle `type:"structure"`

	// The date and time a job to restore a recovery point is completed, in Unix
	// format and Coordinated Universal Time (UTC). The value of CompletionDate
	// is accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	CompletionDate *time.Time `type:"timestamp"`

	// Contains identifying information about the creation of a recovery point,
	// including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId
	// of the backup plan that is used to create it.
	CreatedBy *RecoveryPointCreator `type:"structure"`

	// The date and time a recovery point is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The server-side encryption key that is used to protect your backups; for
	// example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	EncryptionKeyArn *string `type:"string"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// A Boolean value that is returned as TRUE if the specified recovery point
	// is encrypted, or FALSE if the recovery point is not encrypted.
	IsEncrypted *bool `type:"boolean"`

	// The date and time a recovery point was last restored, in Unix format and
	// Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate
	// to milliseconds. For example, the value 1516925490.087 represents Friday,
	// January 26, 2018 12:11:30.087 AM.
	LastRestoreTime *time.Time `type:"timestamp"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup transitions and expires backups automatically
	// according to the lifecycle that you define.
	//
	// Backups transitioned to cold storage must be stored in cold storage for a
	// minimum of 90 days. Therefore, the “expire after days” setting must be
	// 90 days greater than the “transition to cold after days” setting. The
	// “transition to cold after days” setting cannot be changed after a backup
	// has been transitioned to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// An ARN that uniquely identifies a resource. The format of the ARN depends
	// on the resource type.
	ResourceArn *string `type:"string"`

	// The type of AWS resource saved as a recovery point; for example, an Amazon
	// Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database
	// Service (Amazon RDS) database.
	ResourceType *string `type:"string"`

	// A status code specifying the state of the recovery point.
	Status RecoveryPointStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains detailed information about the recovery points stored in a backup vault.

func (RecoveryPointByBackupVault) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RecoveryPointByBackupVault) String

String returns the string representation

type RecoveryPointByResource

type RecoveryPointByResource struct {

	// The size, in bytes, of a backup.
	BackupSizeBytes *int64 `type:"long"`

	// 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 *string `type:"string"`

	// The date and time a recovery point is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The server-side encryption key that is used to protect your backups; for
	// example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	EncryptionKeyArn *string `type:"string"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// A status code specifying the state of the recovery point.
	Status RecoveryPointStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains detailed information about a saved recovery point.

func (RecoveryPointByResource) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RecoveryPointByResource) String

func (s RecoveryPointByResource) String() string

String returns the string representation

type RecoveryPointCreator

type RecoveryPointCreator struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for
	// example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
	BackupPlanArn *string `type:"string"`

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// Version IDs are unique, randomly generated, Unicode, UTF-8 encoded strings
	// that are at most 1,024 bytes long. They cannot be edited.
	BackupPlanVersion *string `type:"string"`

	// Uniquely identifies a rule used to schedule the backup of a selection of
	// resources.
	BackupRuleId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains information about the backup plan and rule that AWS Backup used to initiate the recovery point backup.

func (RecoveryPointCreator) MarshalFields

func (s RecoveryPointCreator) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RecoveryPointCreator) String

func (s RecoveryPointCreator) String() string

String returns the string representation

type RecoveryPointStatus

type RecoveryPointStatus string
const (
	RecoveryPointStatusCompleted RecoveryPointStatus = "COMPLETED"
	RecoveryPointStatusPartial   RecoveryPointStatus = "PARTIAL"
	RecoveryPointStatusDeleting  RecoveryPointStatus = "DELETING"
	RecoveryPointStatusExpired   RecoveryPointStatus = "EXPIRED"
)

Enum values for RecoveryPointStatus

func (RecoveryPointStatus) MarshalValue

func (enum RecoveryPointStatus) MarshalValue() (string, error)

func (RecoveryPointStatus) MarshalValueBuf

func (enum RecoveryPointStatus) MarshalValueBuf(b []byte) ([]byte, error)

type RestoreJobStatus

type RestoreJobStatus string
const (
	RestoreJobStatusPending   RestoreJobStatus = "PENDING"
	RestoreJobStatusRunning   RestoreJobStatus = "RUNNING"
	RestoreJobStatusCompleted RestoreJobStatus = "COMPLETED"
	RestoreJobStatusAborted   RestoreJobStatus = "ABORTED"
	RestoreJobStatusFailed    RestoreJobStatus = "FAILED"
)

Enum values for RestoreJobStatus

func (RestoreJobStatus) MarshalValue

func (enum RestoreJobStatus) MarshalValue() (string, error)

func (RestoreJobStatus) MarshalValueBuf

func (enum RestoreJobStatus) MarshalValueBuf(b []byte) ([]byte, error)

type RestoreJobsListMember

type RestoreJobsListMember struct {

	// The size, in bytes, of the restored resource.
	BackupSizeInBytes *int64 `type:"long"`

	// The date and time a job to restore a recovery point is completed, in Unix
	// format and Coordinated Universal Time (UTC). The value of CompletionDate
	// is accurate to milliseconds. For example, the value 1516925490.087 represents
	// Friday, January 26, 2018 12:11:30.087 AM.
	CompletionDate *time.Time `type:"timestamp"`

	// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format
	// of the ARN depends on the resource type.
	CreatedResourceArn *string `type:"string"`

	// The date and time a restore job is created, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// The amount of time in minutes that a job restoring a recovery point is expected
	// to take.
	ExpectedCompletionTimeMinutes *int64 `type:"long"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	IamRoleArn *string `type:"string"`

	// Contains an estimated percentage complete of a job at the time the job status
	// was queried.
	PercentDone *string `type:"string"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`

	// Uniquely identifies the job that restores a recovery point.
	RestoreJobId *string `type:"string"`

	// A status code specifying the state of the job initiated by AWS Backup to
	// restore a recovery point.
	Status RestoreJobStatus `type:"string" enum:"true"`

	// A detailed message explaining the status of the job to restore a recovery
	// point.
	StatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

Contains metadata about a restore job.

func (RestoreJobsListMember) MarshalFields

func (s RestoreJobsListMember) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RestoreJobsListMember) String

func (s RestoreJobsListMember) String() string

String returns the string representation

type StartBackupJobInput

type StartBackupJobInput struct {

	// 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
	BackupVaultName *string `type:"string" required:"true"`

	// The amount of time AWS Backup attempts a backup before canceling the job
	// and returning an error.
	CompleteWindowMinutes *int64 `type:"long"`

	// Specifies the IAM role ARN used to create the target recovery point; for
	// example, arn:aws:iam::123456789012:role/S3Access.
	//
	// IamRoleArn is a required field
	IamRoleArn *string `type:"string" required:"true"`

	// A customer chosen string that can be used to distinguish between calls to
	// StartBackupJob. Idempotency tokens time out after one hour. Therefore, if
	// you call StartBackupJob multiple times with the same idempotency token within
	// one hour, AWS Backup recognizes that you are requesting only one backup job
	// and initiates only one. If you change the idempotency token for each call,
	// AWS Backup recognizes that you are requesting to start multiple backups.
	IdempotencyToken *string `type:"string"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup will transition and expire backups automatically
	// according to the lifecycle that you define.
	//
	// Backups transitioned to cold storage must be stored in cold storage for a
	// minimum of 90 days. Therefore, the “expire after days” setting must be
	// 90 days greater than the “transition to cold after days” setting. The
	// “transition to cold after days” setting cannot be changed after a backup
	// has been transitioned to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// To help organize your resources, you can assign your own metadata to the
	// resources that you create. Each tag is a key-value pair.
	RecoveryPointTags map[string]string `type:"map" sensitive:"true"`

	// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format
	// of the ARN depends on the resource type.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// The amount of time in minutes before beginning a backup.
	StartWindowMinutes *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (StartBackupJobInput) MarshalFields

func (s StartBackupJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartBackupJobInput) String

func (s StartBackupJobInput) String() string

String returns the string representation

func (*StartBackupJobInput) Validate

func (s *StartBackupJobInput) Validate() error

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

type StartBackupJobOutput

type StartBackupJobOutput struct {

	// Uniquely identifies a request to AWS Backup to back up a resource.
	BackupJobId *string `type:"string"`

	// The date and time that a backup job is started, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (StartBackupJobOutput) MarshalFields

func (s StartBackupJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartBackupJobOutput) String

func (s StartBackupJobOutput) String() string

String returns the string representation

type StartBackupJobRequest

type StartBackupJobRequest struct {
	*aws.Request
	Input *StartBackupJobInput
	Copy  func(*StartBackupJobInput) StartBackupJobRequest
}

StartBackupJobRequest is the request type for the StartBackupJob API operation.

func (StartBackupJobRequest) Send

Send marshals and sends the StartBackupJob API request.

type StartBackupJobResponse added in v0.9.0

type StartBackupJobResponse struct {
	*StartBackupJobOutput
	// contains filtered or unexported fields
}

StartBackupJobResponse is the response type for the StartBackupJob API operation.

func (*StartBackupJobResponse) SDKResponseMetdata added in v0.9.0

func (r *StartBackupJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartBackupJob request.

type StartRestoreJobInput

type StartRestoreJobInput struct {

	// The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create
	// the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
	//
	// IamRoleArn is a required field
	IamRoleArn *string `type:"string" required:"true"`

	// A customer chosen string that can be used to distinguish between calls to
	// StartRestoreJob. Idempotency tokens time out after one hour. Therefore, if
	// you call StartRestoreJob multiple times with the same idempotency token within
	// one hour, AWS Backup recognizes that you are requesting only one restore
	// job and initiates only one. If you change the idempotency token for each
	// call, AWS Backup recognizes that you are requesting to start multiple restores.
	IdempotencyToken *string `type:"string"`

	// A set of metadata key-value pairs. Lists the metadata that the recovery point
	// was created with.
	//
	// Metadata is a required field
	Metadata map[string]string `type:"map" required:"true"`

	// An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	//
	// RecoveryPointArn is a required field
	RecoveryPointArn *string `type:"string" required:"true"`

	// Starts a job to restore a recovery point for one of the following resources:
	//
	//    * EBS for Amazon Elastic Block Store
	//
	//    * SGW for AWS Storage Gateway
	//
	//    * RDS for Amazon Relational Database Service
	//
	//    * DDB for Amazon DynamoDB
	//
	//    * EFS for Amazon Elastic File System
	ResourceType *string `type:"string"`
	// contains filtered or unexported fields
}

func (StartRestoreJobInput) MarshalFields

func (s StartRestoreJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartRestoreJobInput) String

func (s StartRestoreJobInput) String() string

String returns the string representation

func (*StartRestoreJobInput) Validate

func (s *StartRestoreJobInput) Validate() error

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

type StartRestoreJobOutput

type StartRestoreJobOutput struct {

	// Uniquely identifies the job that restores a recovery point.
	RestoreJobId *string `type:"string"`
	// contains filtered or unexported fields
}

func (StartRestoreJobOutput) MarshalFields

func (s StartRestoreJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartRestoreJobOutput) String

func (s StartRestoreJobOutput) String() string

String returns the string representation

type StartRestoreJobRequest

type StartRestoreJobRequest struct {
	*aws.Request
	Input *StartRestoreJobInput
	Copy  func(*StartRestoreJobInput) StartRestoreJobRequest
}

StartRestoreJobRequest is the request type for the StartRestoreJob API operation.

func (StartRestoreJobRequest) Send

Send marshals and sends the StartRestoreJob API request.

type StartRestoreJobResponse added in v0.9.0

type StartRestoreJobResponse struct {
	*StartRestoreJobOutput
	// contains filtered or unexported fields
}

StartRestoreJobResponse is the response type for the StartRestoreJob API operation.

func (*StartRestoreJobResponse) SDKResponseMetdata added in v0.9.0

func (r *StartRestoreJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartRestoreJob request.

type StopBackupJobInput

type StopBackupJobInput struct {

	// Uniquely identifies a request to AWS Backup to back up a resource.
	//
	// BackupJobId is a required field
	BackupJobId *string `location:"uri" locationName:"backupJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopBackupJobInput) MarshalFields

func (s StopBackupJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopBackupJobInput) String

func (s StopBackupJobInput) String() string

String returns the string representation

func (*StopBackupJobInput) Validate

func (s *StopBackupJobInput) Validate() error

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

type StopBackupJobOutput

type StopBackupJobOutput struct {
	// contains filtered or unexported fields
}

func (StopBackupJobOutput) MarshalFields

func (s StopBackupJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopBackupJobOutput) String

func (s StopBackupJobOutput) String() string

String returns the string representation

type StopBackupJobRequest

type StopBackupJobRequest struct {
	*aws.Request
	Input *StopBackupJobInput
	Copy  func(*StopBackupJobInput) StopBackupJobRequest
}

StopBackupJobRequest is the request type for the StopBackupJob API operation.

func (StopBackupJobRequest) Send

Send marshals and sends the StopBackupJob API request.

type StopBackupJobResponse added in v0.9.0

type StopBackupJobResponse struct {
	*StopBackupJobOutput
	// contains filtered or unexported fields
}

StopBackupJobResponse is the response type for the StopBackupJob API operation.

func (*StopBackupJobResponse) SDKResponseMetdata added in v0.9.0

func (r *StopBackupJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopBackupJob request.

type StorageClass

type StorageClass string
const (
	StorageClassWarm    StorageClass = "WARM"
	StorageClassCold    StorageClass = "COLD"
	StorageClassDeleted StorageClass = "DELETED"
)

Enum values for StorageClass

func (StorageClass) MarshalValue

func (enum StorageClass) MarshalValue() (string, error)

func (StorageClass) MarshalValueBuf

func (enum StorageClass) MarshalValueBuf(b []byte) ([]byte, error)

type TagResourceInput

type TagResourceInput struct {

	// An ARN that uniquely identifies a resource. The format of the ARN depends
	// on the type of the tagged resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// Key-value pairs that are used to help organize your resources. You can assign
	// your own metadata to the resources you create.
	//
	// Tags is a required field
	Tags map[string]string `type:"map" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// An ARN that uniquely identifies a resource. The format of the ARN depends
	// on the type of the tagged resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// A list of keys to identify which key-value tags to remove from a resource.
	//
	// TagKeyList is a required field
	TagKeyList []string `type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateBackupPlanInput

type UpdateBackupPlanInput struct {

	// Specifies the body of a backup plan. Includes a BackupPlanName and one or
	// more sets of Rules.
	//
	// BackupPlan is a required field
	BackupPlan *BackupPlanInput `type:"structure" required:"true"`

	// Uniquely identifies a backup plan.
	//
	// BackupPlanId is a required field
	BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateBackupPlanInput) MarshalFields

func (s UpdateBackupPlanInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBackupPlanInput) String

func (s UpdateBackupPlanInput) String() string

String returns the string representation

func (*UpdateBackupPlanInput) Validate

func (s *UpdateBackupPlanInput) Validate() error

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

type UpdateBackupPlanOutput

type UpdateBackupPlanOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for
	// example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
	BackupPlanArn *string `type:"string"`

	// Uniquely identifies a backup plan.
	BackupPlanId *string `type:"string"`

	// The date and time a backup plan is updated, in Unix format and Coordinated
	// Universal Time (UTC). The value of CreationDate is accurate to milliseconds.
	// For example, the value 1516925490.087 represents Friday, January 26, 2018
	// 12:11:30.087 AM.
	CreationDate *time.Time `type:"timestamp"`

	// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most
	// 1,024 bytes long. Version Ids cannot be edited.
	VersionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBackupPlanOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBackupPlanOutput) String

func (s UpdateBackupPlanOutput) String() string

String returns the string representation

type UpdateBackupPlanRequest

type UpdateBackupPlanRequest struct {
	*aws.Request
	Input *UpdateBackupPlanInput
	Copy  func(*UpdateBackupPlanInput) UpdateBackupPlanRequest
}

UpdateBackupPlanRequest is the request type for the UpdateBackupPlan API operation.

func (UpdateBackupPlanRequest) Send

Send marshals and sends the UpdateBackupPlan API request.

type UpdateBackupPlanResponse added in v0.9.0

type UpdateBackupPlanResponse struct {
	*UpdateBackupPlanOutput
	// contains filtered or unexported fields
}

UpdateBackupPlanResponse is the response type for the UpdateBackupPlan API operation.

func (*UpdateBackupPlanResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateBackupPlanResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateBackupPlan request.

type UpdateRecoveryPointLifecycleInput

type UpdateRecoveryPointLifecycleInput struct {

	// 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
	BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup transitions and expires backups automatically
	// according to the lifecycle that you define.
	//
	// Backups transitioned to cold storage must be stored in cold storage for a
	// minimum of 90 days. Therefore, the “expire after days” setting must be
	// 90 days greater than the “transition to cold after days” setting. The
	// “transition to cold after days” setting cannot be changed after a backup
	// has been transitioned to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	//
	// RecoveryPointArn is a required field
	RecoveryPointArn *string `location:"uri" locationName:"recoveryPointArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRecoveryPointLifecycleInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRecoveryPointLifecycleInput) String

String returns the string representation

func (*UpdateRecoveryPointLifecycleInput) Validate

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

type UpdateRecoveryPointLifecycleOutput

type UpdateRecoveryPointLifecycleOutput struct {

	// An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
	BackupVaultArn *string `type:"string"`

	// A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt
	// timestamps.
	CalculatedLifecycle *CalculatedLifecycle `type:"structure"`

	// The lifecycle defines when a protected resource is transitioned to cold storage
	// and when it expires. AWS Backup transitions and expires backups automatically
	// according to the lifecycle that you define.
	//
	// Backups transitioned to cold storage must be stored in cold storage for a
	// minimum of 90 days. Therefore, the “expire after days” setting must be
	// 90 days greater than the “transition to cold after days” setting. The
	// “transition to cold after days” setting cannot be changed after a backup
	// has been transitioned to cold.
	Lifecycle *Lifecycle `type:"structure"`

	// An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
	// for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
	RecoveryPointArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateRecoveryPointLifecycleOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRecoveryPointLifecycleOutput) String

String returns the string representation

type UpdateRecoveryPointLifecycleRequest

type UpdateRecoveryPointLifecycleRequest struct {
	*aws.Request
	Input *UpdateRecoveryPointLifecycleInput
	Copy  func(*UpdateRecoveryPointLifecycleInput) UpdateRecoveryPointLifecycleRequest
}

UpdateRecoveryPointLifecycleRequest is the request type for the UpdateRecoveryPointLifecycle API operation.

func (UpdateRecoveryPointLifecycleRequest) Send

Send marshals and sends the UpdateRecoveryPointLifecycle API request.

type UpdateRecoveryPointLifecycleResponse added in v0.9.0

type UpdateRecoveryPointLifecycleResponse struct {
	*UpdateRecoveryPointLifecycleOutput
	// contains filtered or unexported fields
}

UpdateRecoveryPointLifecycleResponse is the response type for the UpdateRecoveryPointLifecycle API operation.

func (*UpdateRecoveryPointLifecycleResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateRecoveryPointLifecycleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRecoveryPointLifecycle request.

Directories

Path Synopsis
Package backupiface provides an interface to enable mocking the AWS Backup service client for testing your code.
Package backupiface provides an interface to enable mocking the AWS Backup service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL