package backup

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

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 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 Backup for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/backup/#New

Index

Constants

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"
)
const (
	ServiceName = "backup"    // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Types

type Backup

type Backup struct {
	*aws.Client
}

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

Backup 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) *Backup

New creates a new instance of the Backup client with a config.

Example:

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

func (*Backup) CreateBackupPlanRequest

func (c *Backup) 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 the CreateBackupPlanRequest method.
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 (*Backup) CreateBackupSelectionRequest

func (c *Backup) 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:

ConditionValue:"finance"

ConditionType:"StringEquals"

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 the CreateBackupSelectionRequest method.
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 (*Backup) CreateBackupVaultRequest

func (c *Backup) 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 the CreateBackupVaultRequest method.
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 (*Backup) DeleteBackupPlanRequest

func (c *Backup) 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 the DeleteBackupPlanRequest method.
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 (*Backup) DeleteBackupSelectionRequest

func (c *Backup) 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 the DeleteBackupSelectionRequest method.
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 (*Backup) DeleteBackupVaultAccessPolicyRequest

func (c *Backup) 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 the DeleteBackupVaultAccessPolicyRequest method.
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 (*Backup) DeleteBackupVaultNotificationsRequest

func (c *Backup) 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 the DeleteBackupVaultNotificationsRequest method.
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 (*Backup) DeleteBackupVaultRequest

func (c *Backup) 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 the DeleteBackupVaultRequest method.
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 (*Backup) DeleteRecoveryPointRequest

func (c *Backup) 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 the DeleteRecoveryPointRequest method.
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 (*Backup) DescribeBackupJobRequest

func (c *Backup) 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 the DescribeBackupJobRequest method.
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 (*Backup) DescribeBackupVaultRequest

func (c *Backup) 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 the DescribeBackupVaultRequest method.
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 (*Backup) DescribeProtectedResourceRequest

func (c *Backup) 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 the DescribeProtectedResourceRequest method.
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 (*Backup) DescribeRecoveryPointRequest

func (c *Backup) 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 the DescribeRecoveryPointRequest method.
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 (*Backup) DescribeRestoreJobRequest

func (c *Backup) 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 the DescribeRestoreJobRequest method.
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 (*Backup) ExportBackupPlanTemplateRequest

func (c *Backup) 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 the ExportBackupPlanTemplateRequest method.
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 (*Backup) GetBackupPlanFromJSONRequest

func (c *Backup) 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 the GetBackupPlanFromJSONRequest method.
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 (*Backup) GetBackupPlanFromTemplateRequest

func (c *Backup) 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 the GetBackupPlanFromTemplateRequest method.
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 (*Backup) GetBackupPlanRequest

func (c *Backup) 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 the GetBackupPlanRequest method.
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 (*Backup) GetBackupSelectionRequest

func (c *Backup) 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 the GetBackupSelectionRequest method.
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 (*Backup) GetBackupVaultAccessPolicyRequest

func (c *Backup) 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 the GetBackupVaultAccessPolicyRequest method.
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 (*Backup) GetBackupVaultNotificationsRequest

func (c *Backup) 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 the GetBackupVaultNotificationsRequest method.
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 (*Backup) GetRecoveryPointRestoreMetadataRequest

func (c *Backup) 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 the GetRecoveryPointRestoreMetadataRequest method.
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 (*Backup) GetSupportedResourceTypesRequest

func (c *Backup) 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 the GetSupportedResourceTypesRequest method.
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 (*Backup) ListBackupJobsRequest

func (c *Backup) 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 the ListBackupJobsRequest method.
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 (*Backup) ListBackupPlanTemplatesRequest

func (c *Backup) 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 the ListBackupPlanTemplatesRequest method.
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 (*Backup) ListBackupPlanVersionsRequest

func (c *Backup) 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 the ListBackupPlanVersionsRequest method.
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 (*Backup) ListBackupPlansRequest

func (c *Backup) 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 the ListBackupPlansRequest method.
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 (*Backup) ListBackupSelectionsRequest

func (c *Backup) 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 the ListBackupSelectionsRequest method.
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 (*Backup) ListBackupVaultsRequest

func (c *Backup) 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 the ListBackupVaultsRequest method.
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 (*Backup) ListProtectedResourcesRequest

func (c *Backup) 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 the ListProtectedResourcesRequest method.
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 (*Backup) ListRecoveryPointsByBackupVaultRequest

func (c *Backup) 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 the ListRecoveryPointsByBackupVaultRequest method.
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 (*Backup) ListRecoveryPointsByResourceRequest

func (c *Backup) 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 the ListRecoveryPointsByResourceRequest method.
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 (*Backup) ListRestoreJobsRequest

func (c *Backup) 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 the ListRestoreJobsRequest method.
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 (*Backup) ListTagsRequest

func (c *Backup) 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 the ListTagsRequest method.
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 (*Backup) PutBackupVaultAccessPolicyRequest

func (c *Backup) 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 the PutBackupVaultAccessPolicyRequest method.
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 (*Backup) PutBackupVaultNotificationsRequest

func (c *Backup) 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 the PutBackupVaultNotificationsRequest method.
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 (*Backup) StartBackupJobRequest

func (c *Backup) 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 the StartBackupJobRequest method.
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 (*Backup) StartRestoreJobRequest

func (c *Backup) 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 the StartRestoreJobRequest method.
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 (*Backup) StopBackupJobRequest

func (c *Backup) 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 the StopBackupJobRequest method.
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 (*Backup) TagResourceRequest

func (c *Backup) 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 the TagResourceRequest method.
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 (*Backup) UntagResourceRequest

func (c *Backup) 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 the UntagResourceRequest method.
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 (*Backup) UpdateBackupPlanRequest

func (c *Backup) 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 the UpdateBackupPlanRequest method.
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 (*Backup) UpdateRecoveryPointLifecycleRequest

func (c *Backup) 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 the UpdateRecoveryPointLifecycleRequest method.
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 CalculatedLifecycle

type CalculatedLifecycle struct {

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

	// A timestamp that specifies when to transition a recovery point to cold storage.
	MoveToColdStorageAt *time.Time `type:"timestamp" timestampFormat:"unix"`
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CalculatedLifecycle

func (CalculatedLifecycle) GoString

func (s CalculatedLifecycle) GoString() string

GoString returns the string representation

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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Condition

func (Condition) GoString

func (s Condition) GoString() string

GoString returns the string representation

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 *PlanInput `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"`

	// 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
}

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

func (CreateBackupPlanInput) GoString

func (s CreateBackupPlanInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (CreateBackupPlanOutput) GoString

func (s CreateBackupPlanOutput) GoString() string

GoString returns the string representation

func (CreateBackupPlanOutput) MarshalFields

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

func (CreateBackupPlanOutput) SDKResponseMetadata

func (s CreateBackupPlanOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateBackupPlan API operation.

func (CreateBackupPlanRequest) Send

Send marshals and sends the CreateBackupPlan API 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 *Selection `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
}

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

func (CreateBackupSelectionInput) GoString

func (s CreateBackupSelectionInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (CreateBackupSelectionOutput) GoString

func (s CreateBackupSelectionOutput) GoString() string

GoString returns the string representation

func (CreateBackupSelectionOutput) MarshalFields

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

func (CreateBackupSelectionOutput) SDKResponseMetadata

func (s CreateBackupSelectionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateBackupSelectionOutput) String

String returns the string representation

type CreateBackupSelectionRequest

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

CreateBackupSelectionRequest is a API request type for the CreateBackupSelection API operation.

func (CreateBackupSelectionRequest) Send

Send marshals and sends the CreateBackupSelection API 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"`

	// 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
}

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

func (CreateBackupVaultInput) GoString

func (s CreateBackupVaultInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

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

func (CreateBackupVaultOutput) GoString

func (s CreateBackupVaultOutput) GoString() string

GoString returns the string representation

func (CreateBackupVaultOutput) MarshalFields

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

func (CreateBackupVaultOutput) SDKResponseMetadata

func (s CreateBackupVaultOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateBackupVault API operation.

func (CreateBackupVaultRequest) Send

Send marshals and sends the CreateBackupVault API 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
}

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

func (DeleteBackupPlanInput) GoString

func (s DeleteBackupPlanInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (DeleteBackupPlanOutput) GoString

func (s DeleteBackupPlanOutput) GoString() string

GoString returns the string representation

func (DeleteBackupPlanOutput) MarshalFields

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

func (DeleteBackupPlanOutput) SDKResponseMetadata

func (s DeleteBackupPlanOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteBackupPlan API operation.

func (DeleteBackupPlanRequest) Send

Send marshals and sends the DeleteBackupPlan API 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
}

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

func (DeleteBackupSelectionInput) GoString

func (s DeleteBackupSelectionInput) GoString() string

GoString returns the string representation

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
}

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

func (DeleteBackupSelectionOutput) GoString

func (s DeleteBackupSelectionOutput) GoString() string

GoString returns the string representation

func (DeleteBackupSelectionOutput) MarshalFields

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

func (DeleteBackupSelectionOutput) SDKResponseMetadata

func (s DeleteBackupSelectionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteBackupSelectionOutput) String

String returns the string representation

type DeleteBackupSelectionRequest

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

DeleteBackupSelectionRequest is a API request type for the DeleteBackupSelection API operation.

func (DeleteBackupSelectionRequest) Send

Send marshals and sends the DeleteBackupSelection API 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
}

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

func (DeleteBackupVaultAccessPolicyInput) GoString

GoString returns the string representation

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
}

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

func (DeleteBackupVaultAccessPolicyOutput) GoString

GoString returns the string representation

func (DeleteBackupVaultAccessPolicyOutput) MarshalFields

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

func (DeleteBackupVaultAccessPolicyOutput) SDKResponseMetadata

func (s DeleteBackupVaultAccessPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteBackupVaultAccessPolicyOutput) String

String returns the string representation

type DeleteBackupVaultAccessPolicyRequest

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

DeleteBackupVaultAccessPolicyRequest is a API request type for the DeleteBackupVaultAccessPolicy API operation.

func (DeleteBackupVaultAccessPolicyRequest) Send

Send marshals and sends the DeleteBackupVaultAccessPolicy API 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
}

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

func (DeleteBackupVaultInput) GoString

func (s DeleteBackupVaultInput) GoString() string

GoString returns the string representation

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
}

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

func (DeleteBackupVaultNotificationsInput) GoString

GoString returns the string representation

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
}

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

func (DeleteBackupVaultNotificationsOutput) GoString

GoString returns the string representation

func (DeleteBackupVaultNotificationsOutput) MarshalFields

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

func (DeleteBackupVaultNotificationsOutput) SDKResponseMetadata

func (s DeleteBackupVaultNotificationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteBackupVaultNotificationsOutput) String

String returns the string representation

type DeleteBackupVaultNotificationsRequest

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

DeleteBackupVaultNotificationsRequest is a API request type for the DeleteBackupVaultNotifications API operation.

func (DeleteBackupVaultNotificationsRequest) Send

Send marshals and sends the DeleteBackupVaultNotifications API request.

type DeleteBackupVaultOutput

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

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

func (DeleteBackupVaultOutput) GoString

func (s DeleteBackupVaultOutput) GoString() string

GoString returns the string representation

func (DeleteBackupVaultOutput) MarshalFields

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

func (DeleteBackupVaultOutput) SDKResponseMetadata

func (s DeleteBackupVaultOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteBackupVault API operation.

func (DeleteBackupVaultRequest) Send

Send marshals and sends the DeleteBackupVault API 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
}

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

func (DeleteRecoveryPointInput) GoString

func (s DeleteRecoveryPointInput) GoString() string

GoString returns the string representation

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
}

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

func (DeleteRecoveryPointOutput) GoString

func (s DeleteRecoveryPointOutput) GoString() string

GoString returns the string representation

func (DeleteRecoveryPointOutput) MarshalFields

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

func (DeleteRecoveryPointOutput) SDKResponseMetadata

func (s DeleteRecoveryPointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteRecoveryPoint API operation.

func (DeleteRecoveryPointRequest) Send

Send marshals and sends the DeleteRecoveryPoint API 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
}

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

func (DescribeBackupJobInput) GoString

func (s DescribeBackupJobInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// The current state of a resource recovery point.
	State JobState `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
}

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

func (DescribeBackupJobOutput) GoString

func (s DescribeBackupJobOutput) GoString() string

GoString returns the string representation

func (DescribeBackupJobOutput) MarshalFields

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

func (DescribeBackupJobOutput) SDKResponseMetadata

func (s DescribeBackupJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DescribeBackupJob API operation.

func (DescribeBackupJobRequest) Send

Send marshals and sends the DescribeBackupJob API 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
}

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

func (DescribeBackupVaultInput) GoString

func (s DescribeBackupVaultInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (DescribeBackupVaultOutput) GoString

func (s DescribeBackupVaultOutput) GoString() string

GoString returns the string representation

func (DescribeBackupVaultOutput) MarshalFields

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

func (DescribeBackupVaultOutput) SDKResponseMetadata

func (s DescribeBackupVaultOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DescribeBackupVault API operation.

func (DescribeBackupVaultRequest) Send

Send marshals and sends the DescribeBackupVault API 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
}

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

func (DescribeProtectedResourceInput) GoString

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (DescribeProtectedResourceOutput) GoString

GoString returns the string representation

func (DescribeProtectedResourceOutput) MarshalFields

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

func (DescribeProtectedResourceOutput) SDKResponseMetadata

func (s DescribeProtectedResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeProtectedResourceOutput) String

String returns the string representation

type DescribeProtectedResourceRequest

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

DescribeProtectedResourceRequest is a API request type for the DescribeProtectedResource API operation.

func (DescribeProtectedResourceRequest) Send

Send marshals and sends the DescribeProtectedResource API 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
}

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

func (DescribeRecoveryPointInput) GoString

func (s DescribeRecoveryPointInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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
}

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

func (DescribeRecoveryPointOutput) GoString

func (s DescribeRecoveryPointOutput) GoString() string

GoString returns the string representation

func (DescribeRecoveryPointOutput) MarshalFields

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

func (DescribeRecoveryPointOutput) SDKResponseMetadata

func (s DescribeRecoveryPointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DescribeRecoveryPointOutput) String

String returns the string representation

type DescribeRecoveryPointRequest

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

DescribeRecoveryPointRequest is a API request type for the DescribeRecoveryPoint API operation.

func (DescribeRecoveryPointRequest) Send

Send marshals and sends the DescribeRecoveryPoint API 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
}

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

func (DescribeRestoreJobInput) GoString

func (s DescribeRestoreJobInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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
}

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

func (DescribeRestoreJobOutput) GoString

func (s DescribeRestoreJobOutput) GoString() string

GoString returns the string representation

func (DescribeRestoreJobOutput) MarshalFields

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

func (DescribeRestoreJobOutput) SDKResponseMetadata

func (s DescribeRestoreJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DescribeRestoreJob API operation.

func (DescribeRestoreJobRequest) Send

Send marshals and sends the DescribeRestoreJob API 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
}

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

func (ExportBackupPlanTemplateInput) GoString

GoString returns the string representation

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
}

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

func (ExportBackupPlanTemplateOutput) GoString

GoString returns the string representation

func (ExportBackupPlanTemplateOutput) MarshalFields

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

func (ExportBackupPlanTemplateOutput) SDKResponseMetadata

func (s ExportBackupPlanTemplateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ExportBackupPlanTemplateOutput) String

String returns the string representation

type ExportBackupPlanTemplateRequest

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

ExportBackupPlanTemplateRequest is a API request type for the ExportBackupPlanTemplate API operation.

func (ExportBackupPlanTemplateRequest) Send

Send marshals and sends the ExportBackupPlanTemplate API 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
}

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

func (GetBackupPlanFromJSONInput) GoString

func (s GetBackupPlanFromJSONInput) GoString() string

GoString returns the string representation

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

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

func (GetBackupPlanFromJSONOutput) GoString

func (s GetBackupPlanFromJSONOutput) GoString() string

GoString returns the string representation

func (GetBackupPlanFromJSONOutput) MarshalFields

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

func (GetBackupPlanFromJSONOutput) SDKResponseMetadata

func (s GetBackupPlanFromJSONOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBackupPlanFromJSONOutput) String

String returns the string representation

type GetBackupPlanFromJSONRequest

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

GetBackupPlanFromJSONRequest is a API request type for the GetBackupPlanFromJSON API operation.

func (GetBackupPlanFromJSONRequest) Send

Send marshals and sends the GetBackupPlanFromJSON API 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
}

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

func (GetBackupPlanFromTemplateInput) GoString

GoString returns the string representation

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

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

func (GetBackupPlanFromTemplateOutput) GoString

GoString returns the string representation

func (GetBackupPlanFromTemplateOutput) MarshalFields

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

func (GetBackupPlanFromTemplateOutput) SDKResponseMetadata

func (s GetBackupPlanFromTemplateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBackupPlanFromTemplateOutput) String

String returns the string representation

type GetBackupPlanFromTemplateRequest

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

GetBackupPlanFromTemplateRequest is a API request type for the GetBackupPlanFromTemplate API operation.

func (GetBackupPlanFromTemplateRequest) Send

Send marshals and sends the GetBackupPlanFromTemplate API 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
}

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

func (GetBackupPlanInput) GoString

func (s GetBackupPlanInput) GoString() string

GoString returns the string representation

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 *Plan `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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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
}

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

func (GetBackupPlanOutput) GoString

func (s GetBackupPlanOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s GetBackupPlanOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetBackupPlan API operation.

func (GetBackupPlanRequest) Send

Send marshals and sends the GetBackupPlan API 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
}

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

func (GetBackupSelectionInput) GoString

func (s GetBackupSelectionInput) GoString() string

GoString returns the string representation

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 *Selection `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" timestampFormat:"unix"`

	// 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
}

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

func (GetBackupSelectionOutput) GoString

func (s GetBackupSelectionOutput) GoString() string

GoString returns the string representation

func (GetBackupSelectionOutput) MarshalFields

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

func (GetBackupSelectionOutput) SDKResponseMetadata

func (s GetBackupSelectionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetBackupSelection API operation.

func (GetBackupSelectionRequest) Send

Send marshals and sends the GetBackupSelection API 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
}

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

func (GetBackupVaultAccessPolicyInput) GoString

GoString returns the string representation

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
}

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

func (GetBackupVaultAccessPolicyOutput) GoString

GoString returns the string representation

func (GetBackupVaultAccessPolicyOutput) MarshalFields

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

func (GetBackupVaultAccessPolicyOutput) SDKResponseMetadata

func (s GetBackupVaultAccessPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBackupVaultAccessPolicyOutput) String

String returns the string representation

type GetBackupVaultAccessPolicyRequest

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

GetBackupVaultAccessPolicyRequest is a API request type for the GetBackupVaultAccessPolicy API operation.

func (GetBackupVaultAccessPolicyRequest) Send

Send marshals and sends the GetBackupVaultAccessPolicy API 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
}

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

func (GetBackupVaultNotificationsInput) GoString

GoString returns the string representation

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 []VaultEvent `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
}

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

func (GetBackupVaultNotificationsOutput) GoString

GoString returns the string representation

func (GetBackupVaultNotificationsOutput) MarshalFields

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

func (GetBackupVaultNotificationsOutput) SDKResponseMetadata

func (s GetBackupVaultNotificationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBackupVaultNotificationsOutput) String

String returns the string representation

type GetBackupVaultNotificationsRequest

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

GetBackupVaultNotificationsRequest is a API request type for the GetBackupVaultNotifications API operation.

func (GetBackupVaultNotificationsRequest) Send

Send marshals and sends the GetBackupVaultNotifications API 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
}

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

func (GetRecoveryPointRestoreMetadataInput) GoString

GoString returns the string representation

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
}

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

func (GetRecoveryPointRestoreMetadataOutput) GoString

GoString returns the string representation

func (GetRecoveryPointRestoreMetadataOutput) MarshalFields

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

func (GetRecoveryPointRestoreMetadataOutput) SDKResponseMetadata

func (s GetRecoveryPointRestoreMetadataOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRecoveryPointRestoreMetadataOutput) String

String returns the string representation

type GetRecoveryPointRestoreMetadataRequest

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

GetRecoveryPointRestoreMetadataRequest is a API request type for the GetRecoveryPointRestoreMetadata API operation.

func (GetRecoveryPointRestoreMetadataRequest) Send

Send marshals and sends the GetRecoveryPointRestoreMetadata API request.

type GetSupportedResourceTypesInput

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

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

func (GetSupportedResourceTypesInput) GoString

GoString returns the string representation

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
}

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

func (GetSupportedResourceTypesOutput) GoString

GoString returns the string representation

func (GetSupportedResourceTypesOutput) MarshalFields

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

func (GetSupportedResourceTypesOutput) SDKResponseMetadata

func (s GetSupportedResourceTypesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSupportedResourceTypesOutput) String

String returns the string representation

type GetSupportedResourceTypesRequest

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

GetSupportedResourceTypesRequest is a API request type for the GetSupportedResourceTypes API operation.

func (GetSupportedResourceTypesRequest) Send

Send marshals and sends the GetSupportedResourceTypes API request.

type Job

type Job 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// The current state of a resource recovery point.
	State JobState `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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupJob

func (Job) GoString

func (s Job) GoString() string

GoString returns the string representation

func (Job) MarshalFields

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

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

func (Job) String

func (s Job) String() string

String returns the string representation

type JobState

type JobState string
const (
	JobStateCreated   JobState = "CREATED"
	JobStatePending   JobState = "PENDING"
	JobStateRunning   JobState = "RUNNING"
	JobStateAborting  JobState = "ABORTING"
	JobStateAborted   JobState = "ABORTED"
	JobStateCompleted JobState = "COMPLETED"
	JobStateFailed    JobState = "FAILED"
	JobStateExpired   JobState = "EXPIRED"
)

Enum values for JobState

func (JobState) MarshalValue

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

func (JobState) MarshalValueBuf

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Lifecycle

func (Lifecycle) GoString

func (s Lifecycle) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

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

	// 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 JobState `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
}

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

func (ListBackupJobsInput) GoString

func (s ListBackupJobsInput) GoString() string

GoString returns the string representation

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 []Job `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
}

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

func (ListBackupJobsOutput) GoString

func (s ListBackupJobsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListBackupJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListBackupJobsOutput) String

func (s ListBackupJobsOutput) String() string

String returns the string representation

type ListBackupJobsPager

type ListBackupJobsPager struct {
	aws.Pager
}

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

func (*ListBackupJobsPager) CurrentPage

func (p *ListBackupJobsPager) CurrentPage() *ListBackupJobsOutput

type ListBackupJobsRequest

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

ListBackupJobsRequest is a API request type for the ListBackupJobs API operation.

func (*ListBackupJobsRequest) Paginate

func (p *ListBackupJobsRequest) Paginate(opts ...aws.Option) ListBackupJobsPager

Paginate pages iterates over the pages of a ListBackupJobsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListBackupJobs operation.
		req := client.ListBackupJobsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListBackupJobsRequest) Send

Send marshals and sends the ListBackupJobs API 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
}

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

func (ListBackupPlanTemplatesInput) GoString

func (s ListBackupPlanTemplatesInput) GoString() string

GoString returns the string representation

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 []PlanTemplatesListMember `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
}

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

func (ListBackupPlanTemplatesOutput) GoString

GoString returns the string representation

func (ListBackupPlanTemplatesOutput) MarshalFields

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

func (ListBackupPlanTemplatesOutput) SDKResponseMetadata

func (s ListBackupPlanTemplatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListBackupPlanTemplatesOutput) String

String returns the string representation

type ListBackupPlanTemplatesPager

type ListBackupPlanTemplatesPager struct {
	aws.Pager
}

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

func (*ListBackupPlanTemplatesPager) CurrentPage

type ListBackupPlanTemplatesRequest

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

ListBackupPlanTemplatesRequest is a API request type for the ListBackupPlanTemplates API operation.

func (*ListBackupPlanTemplatesRequest) Paginate

Paginate pages iterates over the pages of a ListBackupPlanTemplatesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListBackupPlanTemplates operation.
		req := client.ListBackupPlanTemplatesRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListBackupPlanTemplatesRequest) Send

Send marshals and sends the ListBackupPlanTemplates API 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
}

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

func (ListBackupPlanVersionsInput) GoString

func (s ListBackupPlanVersionsInput) GoString() string

GoString returns the string representation

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 []PlansListMember `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
}

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

func (ListBackupPlanVersionsOutput) GoString

func (s ListBackupPlanVersionsOutput) GoString() string

GoString returns the string representation

func (ListBackupPlanVersionsOutput) MarshalFields

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

func (ListBackupPlanVersionsOutput) SDKResponseMetadata

func (s ListBackupPlanVersionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListBackupPlanVersionsOutput) String

String returns the string representation

type ListBackupPlanVersionsPager

type ListBackupPlanVersionsPager struct {
	aws.Pager
}

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

func (*ListBackupPlanVersionsPager) CurrentPage

type ListBackupPlanVersionsRequest

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

ListBackupPlanVersionsRequest is a API request type for the ListBackupPlanVersions API operation.

func (*ListBackupPlanVersionsRequest) Paginate

Paginate pages iterates over the pages of a ListBackupPlanVersionsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListBackupPlanVersions operation.
		req := client.ListBackupPlanVersionsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListBackupPlanVersionsRequest) Send

Send marshals and sends the ListBackupPlanVersions API 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
}

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

func (ListBackupPlansInput) GoString

func (s ListBackupPlansInput) GoString() string

GoString returns the string representation

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 []PlansListMember `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
}

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

func (ListBackupPlansOutput) GoString

func (s ListBackupPlansOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListBackupPlansOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListBackupPlansOutput) String

func (s ListBackupPlansOutput) String() string

String returns the string representation

type ListBackupPlansPager

type ListBackupPlansPager struct {
	aws.Pager
}

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

func (*ListBackupPlansPager) CurrentPage

func (p *ListBackupPlansPager) CurrentPage() *ListBackupPlansOutput

type ListBackupPlansRequest

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

ListBackupPlansRequest is a API request type for the ListBackupPlans API operation.

func (*ListBackupPlansRequest) Paginate

Paginate pages iterates over the pages of a ListBackupPlansRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListBackupPlans operation.
		req := client.ListBackupPlansRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListBackupPlansRequest) Send

Send marshals and sends the ListBackupPlans API 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
}

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

func (ListBackupSelectionsInput) GoString

func (s ListBackupSelectionsInput) GoString() string

GoString returns the string representation

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 []SelectionsListMember `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
}

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

func (ListBackupSelectionsOutput) GoString

func (s ListBackupSelectionsOutput) GoString() string

GoString returns the string representation

func (ListBackupSelectionsOutput) MarshalFields

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

func (ListBackupSelectionsOutput) SDKResponseMetadata

func (s ListBackupSelectionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListBackupSelectionsOutput) String

String returns the string representation

type ListBackupSelectionsPager

type ListBackupSelectionsPager struct {
	aws.Pager
}

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

func (*ListBackupSelectionsPager) CurrentPage

type ListBackupSelectionsRequest

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

ListBackupSelectionsRequest is a API request type for the ListBackupSelections API operation.

func (*ListBackupSelectionsRequest) Paginate

Paginate pages iterates over the pages of a ListBackupSelectionsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListBackupSelections operation.
		req := client.ListBackupSelectionsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListBackupSelectionsRequest) Send

Send marshals and sends the ListBackupSelections API 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
}

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

func (ListBackupVaultsInput) GoString

func (s ListBackupVaultsInput) GoString() string

GoString returns the string representation

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 []VaultListMember `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
}

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

func (ListBackupVaultsOutput) GoString

func (s ListBackupVaultsOutput) GoString() string

GoString returns the string representation

func (ListBackupVaultsOutput) MarshalFields

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

func (ListBackupVaultsOutput) SDKResponseMetadata

func (s ListBackupVaultsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListBackupVaultsOutput) String

func (s ListBackupVaultsOutput) String() string

String returns the string representation

type ListBackupVaultsPager

type ListBackupVaultsPager struct {
	aws.Pager
}

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

func (*ListBackupVaultsPager) CurrentPage

type ListBackupVaultsRequest

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

ListBackupVaultsRequest is a API request type for the ListBackupVaults API operation.

func (*ListBackupVaultsRequest) Paginate

Paginate pages iterates over the pages of a ListBackupVaultsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListBackupVaults operation.
		req := client.ListBackupVaultsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListBackupVaultsRequest) Send

Send marshals and sends the ListBackupVaults API 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
}

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

func (ListProtectedResourcesInput) GoString

func (s ListProtectedResourcesInput) GoString() string

GoString returns the string representation

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
}

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

func (ListProtectedResourcesOutput) GoString

func (s ListProtectedResourcesOutput) GoString() string

GoString returns the string representation

func (ListProtectedResourcesOutput) MarshalFields

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

func (ListProtectedResourcesOutput) SDKResponseMetadata

func (s ListProtectedResourcesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListProtectedResourcesOutput) String

String returns the string representation

type ListProtectedResourcesPager

type ListProtectedResourcesPager struct {
	aws.Pager
}

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

func (*ListProtectedResourcesPager) CurrentPage

type ListProtectedResourcesRequest

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

ListProtectedResourcesRequest is a API request type for the ListProtectedResources API operation.

func (*ListProtectedResourcesRequest) Paginate

Paginate pages iterates over the pages of a ListProtectedResourcesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListProtectedResources operation.
		req := client.ListProtectedResourcesRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListProtectedResourcesRequest) Send

Send marshals and sends the ListProtectedResources API 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" timestampFormat:"unix"`

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

	// 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
}

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

func (ListRecoveryPointsByBackupVaultInput) GoString

GoString returns the string representation

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
}

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

func (ListRecoveryPointsByBackupVaultOutput) GoString

GoString returns the string representation

func (ListRecoveryPointsByBackupVaultOutput) MarshalFields

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

func (ListRecoveryPointsByBackupVaultOutput) SDKResponseMetadata

func (s ListRecoveryPointsByBackupVaultOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListRecoveryPointsByBackupVaultOutput) String

String returns the string representation

type ListRecoveryPointsByBackupVaultPager

type ListRecoveryPointsByBackupVaultPager struct {
	aws.Pager
}

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

func (*ListRecoveryPointsByBackupVaultPager) CurrentPage

type ListRecoveryPointsByBackupVaultRequest

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

ListRecoveryPointsByBackupVaultRequest is a API request type for the ListRecoveryPointsByBackupVault API operation.

func (*ListRecoveryPointsByBackupVaultRequest) Paginate

Paginate pages iterates over the pages of a ListRecoveryPointsByBackupVaultRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListRecoveryPointsByBackupVault operation.
		req := client.ListRecoveryPointsByBackupVaultRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListRecoveryPointsByBackupVaultRequest) Send

Send marshals and sends the ListRecoveryPointsByBackupVault API 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
}

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

func (ListRecoveryPointsByResourceInput) GoString

GoString returns the string representation

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
}

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

func (ListRecoveryPointsByResourceOutput) GoString

GoString returns the string representation

func (ListRecoveryPointsByResourceOutput) MarshalFields

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

func (ListRecoveryPointsByResourceOutput) SDKResponseMetadata

func (s ListRecoveryPointsByResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListRecoveryPointsByResourceOutput) String

String returns the string representation

type ListRecoveryPointsByResourcePager

type ListRecoveryPointsByResourcePager struct {
	aws.Pager
}

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

func (*ListRecoveryPointsByResourcePager) CurrentPage

type ListRecoveryPointsByResourceRequest

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

ListRecoveryPointsByResourceRequest is a API request type for the ListRecoveryPointsByResource API operation.

func (*ListRecoveryPointsByResourceRequest) Paginate

Paginate pages iterates over the pages of a ListRecoveryPointsByResourceRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListRecoveryPointsByResource operation.
		req := client.ListRecoveryPointsByResourceRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListRecoveryPointsByResourceRequest) Send

Send marshals and sends the ListRecoveryPointsByResource API 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
}

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

func (ListRestoreJobsInput) GoString

func (s ListRestoreJobsInput) GoString() string

GoString returns the string representation

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
}

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

func (ListRestoreJobsOutput) GoString

func (s ListRestoreJobsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListRestoreJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListRestoreJobsOutput) String

func (s ListRestoreJobsOutput) String() string

String returns the string representation

type ListRestoreJobsPager

type ListRestoreJobsPager struct {
	aws.Pager
}

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

func (*ListRestoreJobsPager) CurrentPage

func (p *ListRestoreJobsPager) CurrentPage() *ListRestoreJobsOutput

type ListRestoreJobsRequest

type ListRestoreJobsRequest struct {
	*aws.Request
	Input *ListRestoreJobsInput
	Copy  func(*ListRestoreJobsInput) ListRestoreJobsRequest
}

ListRestoreJobsRequest is a API request type for the ListRestoreJobs API operation.

func (*ListRestoreJobsRequest) Paginate

Paginate pages iterates over the pages of a ListRestoreJobsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListRestoreJobs operation.
		req := client.ListRestoreJobsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListRestoreJobsRequest) Send

Send marshals and sends the ListRestoreJobs API 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
}

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

func (ListTagsInput) GoString

func (s ListTagsInput) GoString() string

GoString returns the string representation

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"`
	// contains filtered or unexported fields
}

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

func (ListTagsOutput) GoString

func (s ListTagsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListTagsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListTagsOutput) String

func (s ListTagsOutput) String() string

String returns the string representation

type ListTagsPager

type ListTagsPager struct {
	aws.Pager
}

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

func (*ListTagsPager) CurrentPage

func (p *ListTagsPager) CurrentPage() *ListTagsOutput

type ListTagsRequest

type ListTagsRequest struct {
	*aws.Request
	Input *ListTagsInput
	Copy  func(*ListTagsInput) ListTagsRequest
}

ListTagsRequest is a API request type for the ListTags API operation.

func (*ListTagsRequest) Paginate

func (p *ListTagsRequest) Paginate(opts ...aws.Option) ListTagsPager

Paginate pages iterates over the pages of a ListTagsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

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

   // Example iterating over at most 3 pages of a ListTags operation.
		req := client.ListTagsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

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

func (ListTagsRequest) Send

Send marshals and sends the ListTags API request.

type Plan

type Plan 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 []Rule `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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupPlan

func (Plan) GoString

func (s Plan) GoString() string

GoString returns the string representation

func (Plan) MarshalFields

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

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

func (Plan) String

func (s Plan) String() string

String returns the string representation

type PlanInput

type PlanInput 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 []RuleInput `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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupPlanInput

func (PlanInput) GoString

func (s PlanInput) GoString() string

GoString returns the string representation

func (PlanInput) MarshalFields

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

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

func (PlanInput) String

func (s PlanInput) String() string

String returns the string representation

func (*PlanInput) Validate

func (s *PlanInput) Validate() error

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

type PlanTemplatesListMember

type PlanTemplatesListMember 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupPlanTemplatesListMember

func (PlanTemplatesListMember) GoString

func (s PlanTemplatesListMember) GoString() string

GoString returns the string representation

func (PlanTemplatesListMember) MarshalFields

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

func (PlanTemplatesListMember) String

func (s PlanTemplatesListMember) String() string

String returns the string representation

type PlansListMember

type PlansListMember 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupPlansListMember

func (PlansListMember) GoString

func (s PlansListMember) GoString() string

GoString returns the string representation

func (PlansListMember) MarshalFields

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

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

func (PlansListMember) String

func (s PlansListMember) String() string

String returns the string representation

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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ProtectedResource

func (ProtectedResource) GoString

func (s ProtectedResource) GoString() string

GoString returns the string representation

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
}

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

func (PutBackupVaultAccessPolicyInput) GoString

GoString returns the string representation

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
}

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

func (PutBackupVaultAccessPolicyOutput) GoString

GoString returns the string representation

func (PutBackupVaultAccessPolicyOutput) MarshalFields

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

func (PutBackupVaultAccessPolicyOutput) SDKResponseMetadata

func (s PutBackupVaultAccessPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutBackupVaultAccessPolicyOutput) String

String returns the string representation

type PutBackupVaultAccessPolicyRequest

type PutBackupVaultAccessPolicyRequest struct {
	*aws.Request
	Input *PutBackupVaultAccessPolicyInput
	Copy  func(*PutBackupVaultAccessPolicyInput) PutBackupVaultAccessPolicyRequest
}

PutBackupVaultAccessPolicyRequest is a API request type for the PutBackupVaultAccessPolicy API operation.

func (PutBackupVaultAccessPolicyRequest) Send

Send marshals and sends the PutBackupVaultAccessPolicy API 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 []VaultEvent `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
}

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

func (PutBackupVaultNotificationsInput) GoString

GoString returns the string representation

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
}

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

func (PutBackupVaultNotificationsOutput) GoString

GoString returns the string representation

func (PutBackupVaultNotificationsOutput) MarshalFields

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

func (PutBackupVaultNotificationsOutput) SDKResponseMetadata

func (s PutBackupVaultNotificationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutBackupVaultNotificationsOutput) String

String returns the string representation

type PutBackupVaultNotificationsRequest

type PutBackupVaultNotificationsRequest struct {
	*aws.Request
	Input *PutBackupVaultNotificationsInput
	Copy  func(*PutBackupVaultNotificationsInput) PutBackupVaultNotificationsRequest
}

PutBackupVaultNotificationsRequest is a API request type for the PutBackupVaultNotifications API operation.

func (PutBackupVaultNotificationsRequest) Send

Send marshals and sends the PutBackupVaultNotifications API 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByBackupVault

func (RecoveryPointByBackupVault) GoString

func (s RecoveryPointByBackupVault) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByResource

func (RecoveryPointByResource) GoString

func (s RecoveryPointByResource) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointCreator

func (RecoveryPointCreator) GoString

func (s RecoveryPointCreator) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreJobsListMember

func (RestoreJobsListMember) GoString

func (s RestoreJobsListMember) GoString() string

GoString returns the string representation

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 Rule

type Rule 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"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRule

func (Rule) GoString

func (s Rule) GoString() string

GoString returns the string representation

func (Rule) MarshalFields

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

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

func (Rule) String

func (s Rule) String() string

String returns the string representation

type RuleInput

type RuleInput 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"`

	// >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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRuleInput

func (RuleInput) GoString

func (s RuleInput) GoString() string

GoString returns the string representation

func (RuleInput) MarshalFields

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

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

func (RuleInput) String

func (s RuleInput) String() string

String returns the string representation

func (*RuleInput) Validate

func (s *RuleInput) Validate() error

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

type Selection

type Selection 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection

func (Selection) GoString

func (s Selection) GoString() string

GoString returns the string representation

func (Selection) MarshalFields

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

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

func (Selection) String

func (s Selection) String() string

String returns the string representation

func (*Selection) Validate

func (s *Selection) Validate() error

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

type SelectionsListMember

type SelectionsListMember 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelectionsListMember

func (SelectionsListMember) GoString

func (s SelectionsListMember) GoString() string

GoString returns the string representation

func (SelectionsListMember) MarshalFields

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

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

func (SelectionsListMember) String

func (s SelectionsListMember) 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"`

	// 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
}

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

func (StartBackupJobInput) GoString

func (s StartBackupJobInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (StartBackupJobOutput) GoString

func (s StartBackupJobOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s StartBackupJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the StartBackupJob API operation.

func (StartBackupJobRequest) Send

Send marshals and sends the StartBackupJob API 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
}

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

func (StartRestoreJobInput) GoString

func (s StartRestoreJobInput) GoString() string

GoString returns the string representation

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
}

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

func (StartRestoreJobOutput) GoString

func (s StartRestoreJobOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s StartRestoreJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the StartRestoreJob API operation.

func (StartRestoreJobRequest) Send

Send marshals and sends the StartRestoreJob API 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
}

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

func (StopBackupJobInput) GoString

func (s StopBackupJobInput) GoString() string

GoString returns the string representation

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
}

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

func (StopBackupJobOutput) GoString

func (s StopBackupJobOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s StopBackupJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the StopBackupJob API operation.

func (StopBackupJobRequest) Send

Send marshals and sends the StopBackupJob API 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"`
	// contains filtered or unexported fields
}

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

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

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
}

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s TagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API 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"`
	// contains filtered or unexported fields
}

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

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

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
}

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s UntagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API 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 *PlanInput `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
}

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

func (UpdateBackupPlanInput) GoString

func (s UpdateBackupPlanInput) GoString() string

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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
}

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

func (UpdateBackupPlanOutput) GoString

func (s UpdateBackupPlanOutput) GoString() string

GoString returns the string representation

func (UpdateBackupPlanOutput) MarshalFields

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

func (UpdateBackupPlanOutput) SDKResponseMetadata

func (s UpdateBackupPlanOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateBackupPlan API operation.

func (UpdateBackupPlanRequest) Send

Send marshals and sends the UpdateBackupPlan API 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
}

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

func (UpdateRecoveryPointLifecycleInput) GoString

GoString returns the string representation

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
}

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

func (UpdateRecoveryPointLifecycleOutput) GoString

GoString returns the string representation

func (UpdateRecoveryPointLifecycleOutput) MarshalFields

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

func (UpdateRecoveryPointLifecycleOutput) SDKResponseMetadata

func (s UpdateRecoveryPointLifecycleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateRecoveryPointLifecycleOutput) String

String returns the string representation

type UpdateRecoveryPointLifecycleRequest

type UpdateRecoveryPointLifecycleRequest struct {
	*aws.Request
	Input *UpdateRecoveryPointLifecycleInput
	Copy  func(*UpdateRecoveryPointLifecycleInput) UpdateRecoveryPointLifecycleRequest
}

UpdateRecoveryPointLifecycleRequest is a API request type for the UpdateRecoveryPointLifecycle API operation.

func (UpdateRecoveryPointLifecycleRequest) Send

Send marshals and sends the UpdateRecoveryPointLifecycle API request.

type VaultEvent

type VaultEvent string
const (
	VaultEventBackupJobStarted      VaultEvent = "BACKUP_JOB_STARTED"
	VaultEventBackupJobCompleted    VaultEvent = "BACKUP_JOB_COMPLETED"
	VaultEventRestoreJobStarted     VaultEvent = "RESTORE_JOB_STARTED"
	VaultEventRestoreJobCompleted   VaultEvent = "RESTORE_JOB_COMPLETED"
	VaultEventRecoveryPointModified VaultEvent = "RECOVERY_POINT_MODIFIED"
	VaultEventBackupPlanCreated     VaultEvent = "BACKUP_PLAN_CREATED"
	VaultEventBackupPlanModified    VaultEvent = "BACKUP_PLAN_MODIFIED"
)

Enum values for VaultEvent

func (VaultEvent) MarshalValue

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

func (VaultEvent) MarshalValueBuf

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

type VaultListMember

type VaultListMember 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupVaultListMember

func (VaultListMember) GoString

func (s VaultListMember) GoString() string

GoString returns the string representation

func (VaultListMember) MarshalFields

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

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

func (VaultListMember) String

func (s VaultListMember) String() string

String returns the string representation

Source Files

api.go doc.go errors.go service.go

Directories

PathSynopsis
service/backup/backupifacePackage backupiface provides an interface to enable mocking the AWS Backup service client for testing your code.
Version
v0.8.0
Published
Apr 25, 2019
Platform
windows/amd64
Imports
8 packages
Last checked
5 minutes ago

Tools for package owners.