aws-sdk-go: github.com/aws/aws-sdk-go/service/backup Index | Files | Directories

package backup

import "github.com/aws/aws-sdk-go/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 contact 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

Package Files

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

Constants

const (
    // JobStateCreated is a JobState enum value
    JobStateCreated = "CREATED"

    // JobStatePending is a JobState enum value
    JobStatePending = "PENDING"

    // JobStateRunning is a JobState enum value
    JobStateRunning = "RUNNING"

    // JobStateAborting is a JobState enum value
    JobStateAborting = "ABORTING"

    // JobStateAborted is a JobState enum value
    JobStateAborted = "ABORTED"

    // JobStateCompleted is a JobState enum value
    JobStateCompleted = "COMPLETED"

    // JobStateFailed is a JobState enum value
    JobStateFailed = "FAILED"

    // JobStateExpired is a JobState enum value
    JobStateExpired = "EXPIRED"
)
const (
    // RecoveryPointStatusCompleted is a RecoveryPointStatus enum value
    RecoveryPointStatusCompleted = "COMPLETED"

    // RecoveryPointStatusPartial is a RecoveryPointStatus enum value
    RecoveryPointStatusPartial = "PARTIAL"

    // RecoveryPointStatusDeleting is a RecoveryPointStatus enum value
    RecoveryPointStatusDeleting = "DELETING"

    // RecoveryPointStatusExpired is a RecoveryPointStatus enum value
    RecoveryPointStatusExpired = "EXPIRED"
)
const (
    // RestoreJobStatusPending is a RestoreJobStatus enum value
    RestoreJobStatusPending = "PENDING"

    // RestoreJobStatusRunning is a RestoreJobStatus enum value
    RestoreJobStatusRunning = "RUNNING"

    // RestoreJobStatusCompleted is a RestoreJobStatus enum value
    RestoreJobStatusCompleted = "COMPLETED"

    // RestoreJobStatusAborted is a RestoreJobStatus enum value
    RestoreJobStatusAborted = "ABORTED"

    // RestoreJobStatusFailed is a RestoreJobStatus enum value
    RestoreJobStatusFailed = "FAILED"
)
const (
    // StorageClassWarm is a StorageClass enum value
    StorageClassWarm = "WARM"

    // StorageClassCold is a StorageClass enum value
    StorageClassCold = "COLD"

    // StorageClassDeleted is a StorageClass enum value
    StorageClassDeleted = "DELETED"
)
const (
    // VaultEventBackupJobStarted is a VaultEvent enum value
    VaultEventBackupJobStarted = "BACKUP_JOB_STARTED"

    // VaultEventBackupJobCompleted is a VaultEvent enum value
    VaultEventBackupJobCompleted = "BACKUP_JOB_COMPLETED"

    // VaultEventRestoreJobStarted is a VaultEvent enum value
    VaultEventRestoreJobStarted = "RESTORE_JOB_STARTED"

    // VaultEventRestoreJobCompleted is a VaultEvent enum value
    VaultEventRestoreJobCompleted = "RESTORE_JOB_COMPLETED"

    // VaultEventRecoveryPointModified is a VaultEvent enum value
    VaultEventRecoveryPointModified = "RECOVERY_POINT_MODIFIED"

    // VaultEventBackupPlanCreated is a VaultEvent enum value
    VaultEventBackupPlanCreated = "BACKUP_PLAN_CREATED"

    // VaultEventBackupPlanModified is a VaultEvent enum value
    VaultEventBackupPlanModified = "BACKUP_PLAN_MODIFIED"
)
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" // Name of service.
    EndpointsID = "backup" // ID to lookup a service endpoint with.
    ServiceID   = "Backup" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // ConditionTypeStringequals is a ConditionType enum value
    ConditionTypeStringequals = "STRINGEQUALS"
)

type Backup Uses

type Backup struct {
    *client.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 Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Backup

New creates a new instance of the Backup client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a Backup client from just a session.
svc := backup.New(mySession)

// Create a Backup client with additional configuration
svc := backup.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Backup) CreateBackupPlan Uses

func (c *Backup) CreateBackupPlan(input *CreateBackupPlanInput) (*CreateBackupPlanOutput, error)

CreateBackupPlan 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation CreateBackupPlan for usage and error information.

Returned Error Codes:

* ErrCodeLimitExceededException "LimitExceededException"
A limit in the request has been exceeded; for example, a maximum number of
items allowed in a request.

* ErrCodeAlreadyExistsException "AlreadyExistsException"
The required resource already exists.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) CreateBackupPlanRequest Uses

func (c *Backup) CreateBackupPlanRequest(input *CreateBackupPlanInput) (req *request.Request, output *CreateBackupPlanOutput)

CreateBackupPlanRequest generates a "aws/request.Request" representing the client's request for the CreateBackupPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBackupPlan for more information on using the CreateBackupPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBackupPlanRequest method.
req, resp := client.CreateBackupPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) CreateBackupPlanWithContext Uses

func (c *Backup) CreateBackupPlanWithContext(ctx aws.Context, input *CreateBackupPlanInput, opts ...request.Option) (*CreateBackupPlanOutput, error)

CreateBackupPlanWithContext is the same as CreateBackupPlan with the addition of the ability to pass a context and additional request options.

See CreateBackupPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) CreateBackupSelection Uses

func (c *Backup) CreateBackupSelection(input *CreateBackupSelectionInput) (*CreateBackupSelectionOutput, error)

CreateBackupSelection API operation for AWS Backup.

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

For example, consider the following patterns:

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

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

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

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation CreateBackupSelection for usage and error information.

Returned Error Codes:

* ErrCodeLimitExceededException "LimitExceededException"
A limit in the request has been exceeded; for example, a maximum number of
items allowed in a request.

* ErrCodeAlreadyExistsException "AlreadyExistsException"
The required resource already exists.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) CreateBackupSelectionRequest Uses

func (c *Backup) CreateBackupSelectionRequest(input *CreateBackupSelectionInput) (req *request.Request, output *CreateBackupSelectionOutput)

CreateBackupSelectionRequest generates a "aws/request.Request" representing the client's request for the CreateBackupSelection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBackupSelection for more information on using the CreateBackupSelection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBackupSelectionRequest method.
req, resp := client.CreateBackupSelectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) CreateBackupSelectionWithContext Uses

func (c *Backup) CreateBackupSelectionWithContext(ctx aws.Context, input *CreateBackupSelectionInput, opts ...request.Option) (*CreateBackupSelectionOutput, error)

CreateBackupSelectionWithContext is the same as CreateBackupSelection with the addition of the ability to pass a context and additional request options.

See CreateBackupSelection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) CreateBackupVault Uses

func (c *Backup) CreateBackupVault(input *CreateBackupVaultInput) (*CreateBackupVaultOutput, error)

CreateBackupVault 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation CreateBackupVault for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeLimitExceededException "LimitExceededException"
A limit in the request has been exceeded; for example, a maximum number of
items allowed in a request.

* ErrCodeAlreadyExistsException "AlreadyExistsException"
The required resource already exists.

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

func (*Backup) CreateBackupVaultRequest Uses

func (c *Backup) CreateBackupVaultRequest(input *CreateBackupVaultInput) (req *request.Request, output *CreateBackupVaultOutput)

CreateBackupVaultRequest generates a "aws/request.Request" representing the client's request for the CreateBackupVault operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBackupVault for more information on using the CreateBackupVault API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBackupVaultRequest method.
req, resp := client.CreateBackupVaultRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) CreateBackupVaultWithContext Uses

func (c *Backup) CreateBackupVaultWithContext(ctx aws.Context, input *CreateBackupVaultInput, opts ...request.Option) (*CreateBackupVaultOutput, error)

CreateBackupVaultWithContext is the same as CreateBackupVault with the addition of the ability to pass a context and additional request options.

See CreateBackupVault for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DeleteBackupPlan Uses

func (c *Backup) DeleteBackupPlan(input *DeleteBackupPlanInput) (*DeleteBackupPlanOutput, error)

DeleteBackupPlan 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DeleteBackupPlan for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeInvalidRequestException "InvalidRequestException"
Indicates that something is wrong with the input to the request. For example,
a parameter is of the wrong type.

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

func (*Backup) DeleteBackupPlanRequest Uses

func (c *Backup) DeleteBackupPlanRequest(input *DeleteBackupPlanInput) (req *request.Request, output *DeleteBackupPlanOutput)

DeleteBackupPlanRequest generates a "aws/request.Request" representing the client's request for the DeleteBackupPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBackupPlan for more information on using the DeleteBackupPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBackupPlanRequest method.
req, resp := client.DeleteBackupPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DeleteBackupPlanWithContext Uses

func (c *Backup) DeleteBackupPlanWithContext(ctx aws.Context, input *DeleteBackupPlanInput, opts ...request.Option) (*DeleteBackupPlanOutput, error)

DeleteBackupPlanWithContext is the same as DeleteBackupPlan with the addition of the ability to pass a context and additional request options.

See DeleteBackupPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DeleteBackupSelection Uses

func (c *Backup) DeleteBackupSelection(input *DeleteBackupSelectionInput) (*DeleteBackupSelectionOutput, error)

DeleteBackupSelection API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DeleteBackupSelection for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) DeleteBackupSelectionRequest Uses

func (c *Backup) DeleteBackupSelectionRequest(input *DeleteBackupSelectionInput) (req *request.Request, output *DeleteBackupSelectionOutput)

DeleteBackupSelectionRequest generates a "aws/request.Request" representing the client's request for the DeleteBackupSelection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBackupSelection for more information on using the DeleteBackupSelection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBackupSelectionRequest method.
req, resp := client.DeleteBackupSelectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DeleteBackupSelectionWithContext Uses

func (c *Backup) DeleteBackupSelectionWithContext(ctx aws.Context, input *DeleteBackupSelectionInput, opts ...request.Option) (*DeleteBackupSelectionOutput, error)

DeleteBackupSelectionWithContext is the same as DeleteBackupSelection with the addition of the ability to pass a context and additional request options.

See DeleteBackupSelection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DeleteBackupVault Uses

func (c *Backup) DeleteBackupVault(input *DeleteBackupVaultInput) (*DeleteBackupVaultOutput, error)

DeleteBackupVault API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DeleteBackupVault for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeInvalidRequestException "InvalidRequestException"
Indicates that something is wrong with the input to the request. For example,
a parameter is of the wrong type.

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

func (*Backup) DeleteBackupVaultAccessPolicy Uses

func (c *Backup) DeleteBackupVaultAccessPolicy(input *DeleteBackupVaultAccessPolicyInput) (*DeleteBackupVaultAccessPolicyOutput, error)

DeleteBackupVaultAccessPolicy API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DeleteBackupVaultAccessPolicy for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) DeleteBackupVaultAccessPolicyRequest Uses

func (c *Backup) DeleteBackupVaultAccessPolicyRequest(input *DeleteBackupVaultAccessPolicyInput) (req *request.Request, output *DeleteBackupVaultAccessPolicyOutput)

DeleteBackupVaultAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteBackupVaultAccessPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBackupVaultAccessPolicy for more information on using the DeleteBackupVaultAccessPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBackupVaultAccessPolicyRequest method.
req, resp := client.DeleteBackupVaultAccessPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DeleteBackupVaultAccessPolicyWithContext Uses

func (c *Backup) DeleteBackupVaultAccessPolicyWithContext(ctx aws.Context, input *DeleteBackupVaultAccessPolicyInput, opts ...request.Option) (*DeleteBackupVaultAccessPolicyOutput, error)

DeleteBackupVaultAccessPolicyWithContext is the same as DeleteBackupVaultAccessPolicy with the addition of the ability to pass a context and additional request options.

See DeleteBackupVaultAccessPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DeleteBackupVaultNotifications Uses

func (c *Backup) DeleteBackupVaultNotifications(input *DeleteBackupVaultNotificationsInput) (*DeleteBackupVaultNotificationsOutput, error)

DeleteBackupVaultNotifications API operation for AWS Backup.

Deletes event notifications for the specified backup vault.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DeleteBackupVaultNotifications for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) DeleteBackupVaultNotificationsRequest Uses

func (c *Backup) DeleteBackupVaultNotificationsRequest(input *DeleteBackupVaultNotificationsInput) (req *request.Request, output *DeleteBackupVaultNotificationsOutput)

DeleteBackupVaultNotificationsRequest generates a "aws/request.Request" representing the client's request for the DeleteBackupVaultNotifications operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBackupVaultNotifications for more information on using the DeleteBackupVaultNotifications API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBackupVaultNotificationsRequest method.
req, resp := client.DeleteBackupVaultNotificationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DeleteBackupVaultNotificationsWithContext Uses

func (c *Backup) DeleteBackupVaultNotificationsWithContext(ctx aws.Context, input *DeleteBackupVaultNotificationsInput, opts ...request.Option) (*DeleteBackupVaultNotificationsOutput, error)

DeleteBackupVaultNotificationsWithContext is the same as DeleteBackupVaultNotifications with the addition of the ability to pass a context and additional request options.

See DeleteBackupVaultNotifications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DeleteBackupVaultRequest Uses

func (c *Backup) DeleteBackupVaultRequest(input *DeleteBackupVaultInput) (req *request.Request, output *DeleteBackupVaultOutput)

DeleteBackupVaultRequest generates a "aws/request.Request" representing the client's request for the DeleteBackupVault operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBackupVault for more information on using the DeleteBackupVault API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBackupVaultRequest method.
req, resp := client.DeleteBackupVaultRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DeleteBackupVaultWithContext Uses

func (c *Backup) DeleteBackupVaultWithContext(ctx aws.Context, input *DeleteBackupVaultInput, opts ...request.Option) (*DeleteBackupVaultOutput, error)

DeleteBackupVaultWithContext is the same as DeleteBackupVault with the addition of the ability to pass a context and additional request options.

See DeleteBackupVault for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DeleteRecoveryPoint Uses

func (c *Backup) DeleteRecoveryPoint(input *DeleteRecoveryPointInput) (*DeleteRecoveryPointOutput, error)

DeleteRecoveryPoint API operation for AWS Backup.

Deletes the recovery point specified by a recovery point ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DeleteRecoveryPoint for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeInvalidRequestException "InvalidRequestException"
Indicates that something is wrong with the input to the request. For example,
a parameter is of the wrong type.

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

func (*Backup) DeleteRecoveryPointRequest Uses

func (c *Backup) DeleteRecoveryPointRequest(input *DeleteRecoveryPointInput) (req *request.Request, output *DeleteRecoveryPointOutput)

DeleteRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the DeleteRecoveryPoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRecoveryPoint for more information on using the DeleteRecoveryPoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRecoveryPointRequest method.
req, resp := client.DeleteRecoveryPointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DeleteRecoveryPointWithContext Uses

func (c *Backup) DeleteRecoveryPointWithContext(ctx aws.Context, input *DeleteRecoveryPointInput, opts ...request.Option) (*DeleteRecoveryPointOutput, error)

DeleteRecoveryPointWithContext is the same as DeleteRecoveryPoint with the addition of the ability to pass a context and additional request options.

See DeleteRecoveryPoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DescribeBackupJob Uses

func (c *Backup) DescribeBackupJob(input *DescribeBackupJobInput) (*DescribeBackupJobOutput, error)

DescribeBackupJob API operation for AWS Backup.

Returns metadata associated with creating a backup of a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DescribeBackupJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeDependencyFailureException "DependencyFailureException"
A dependent AWS service or resource returned an error to the AWS Backup service,
and the action cannot be completed.

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

func (*Backup) DescribeBackupJobRequest Uses

func (c *Backup) DescribeBackupJobRequest(input *DescribeBackupJobInput) (req *request.Request, output *DescribeBackupJobOutput)

DescribeBackupJobRequest generates a "aws/request.Request" representing the client's request for the DescribeBackupJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBackupJob for more information on using the DescribeBackupJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBackupJobRequest method.
req, resp := client.DescribeBackupJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DescribeBackupJobWithContext Uses

func (c *Backup) DescribeBackupJobWithContext(ctx aws.Context, input *DescribeBackupJobInput, opts ...request.Option) (*DescribeBackupJobOutput, error)

DescribeBackupJobWithContext is the same as DescribeBackupJob with the addition of the ability to pass a context and additional request options.

See DescribeBackupJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DescribeBackupVault Uses

func (c *Backup) DescribeBackupVault(input *DescribeBackupVaultInput) (*DescribeBackupVaultOutput, error)

DescribeBackupVault API operation for AWS Backup.

Returns metadata about a backup vault specified by its name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DescribeBackupVault for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) DescribeBackupVaultRequest Uses

func (c *Backup) DescribeBackupVaultRequest(input *DescribeBackupVaultInput) (req *request.Request, output *DescribeBackupVaultOutput)

DescribeBackupVaultRequest generates a "aws/request.Request" representing the client's request for the DescribeBackupVault operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBackupVault for more information on using the DescribeBackupVault API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBackupVaultRequest method.
req, resp := client.DescribeBackupVaultRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DescribeBackupVaultWithContext Uses

func (c *Backup) DescribeBackupVaultWithContext(ctx aws.Context, input *DescribeBackupVaultInput, opts ...request.Option) (*DescribeBackupVaultOutput, error)

DescribeBackupVaultWithContext is the same as DescribeBackupVault with the addition of the ability to pass a context and additional request options.

See DescribeBackupVault for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DescribeProtectedResource Uses

func (c *Backup) DescribeProtectedResource(input *DescribeProtectedResourceInput) (*DescribeProtectedResourceOutput, error)

DescribeProtectedResource 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DescribeProtectedResource for usage and error information.

Returned Error Codes:

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

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

func (*Backup) DescribeProtectedResourceRequest Uses

func (c *Backup) DescribeProtectedResourceRequest(input *DescribeProtectedResourceInput) (req *request.Request, output *DescribeProtectedResourceOutput)

DescribeProtectedResourceRequest generates a "aws/request.Request" representing the client's request for the DescribeProtectedResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeProtectedResource for more information on using the DescribeProtectedResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeProtectedResourceRequest method.
req, resp := client.DescribeProtectedResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DescribeProtectedResourceWithContext Uses

func (c *Backup) DescribeProtectedResourceWithContext(ctx aws.Context, input *DescribeProtectedResourceInput, opts ...request.Option) (*DescribeProtectedResourceOutput, error)

DescribeProtectedResourceWithContext is the same as DescribeProtectedResource with the addition of the ability to pass a context and additional request options.

See DescribeProtectedResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DescribeRecoveryPoint Uses

func (c *Backup) DescribeRecoveryPoint(input *DescribeRecoveryPointInput) (*DescribeRecoveryPointOutput, error)

DescribeRecoveryPoint API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DescribeRecoveryPoint for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) DescribeRecoveryPointRequest Uses

func (c *Backup) DescribeRecoveryPointRequest(input *DescribeRecoveryPointInput) (req *request.Request, output *DescribeRecoveryPointOutput)

DescribeRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the DescribeRecoveryPoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRecoveryPoint for more information on using the DescribeRecoveryPoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRecoveryPointRequest method.
req, resp := client.DescribeRecoveryPointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DescribeRecoveryPointWithContext Uses

func (c *Backup) DescribeRecoveryPointWithContext(ctx aws.Context, input *DescribeRecoveryPointInput, opts ...request.Option) (*DescribeRecoveryPointOutput, error)

DescribeRecoveryPointWithContext is the same as DescribeRecoveryPoint with the addition of the ability to pass a context and additional request options.

See DescribeRecoveryPoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) DescribeRestoreJob Uses

func (c *Backup) DescribeRestoreJob(input *DescribeRestoreJobInput) (*DescribeRestoreJobOutput, error)

DescribeRestoreJob API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation DescribeRestoreJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeDependencyFailureException "DependencyFailureException"
A dependent AWS service or resource returned an error to the AWS Backup service,
and the action cannot be completed.

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

func (*Backup) DescribeRestoreJobRequest Uses

func (c *Backup) DescribeRestoreJobRequest(input *DescribeRestoreJobInput) (req *request.Request, output *DescribeRestoreJobOutput)

DescribeRestoreJobRequest generates a "aws/request.Request" representing the client's request for the DescribeRestoreJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRestoreJob for more information on using the DescribeRestoreJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRestoreJobRequest method.
req, resp := client.DescribeRestoreJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) DescribeRestoreJobWithContext Uses

func (c *Backup) DescribeRestoreJobWithContext(ctx aws.Context, input *DescribeRestoreJobInput, opts ...request.Option) (*DescribeRestoreJobOutput, error)

DescribeRestoreJobWithContext is the same as DescribeRestoreJob with the addition of the ability to pass a context and additional request options.

See DescribeRestoreJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ExportBackupPlanTemplate Uses

func (c *Backup) ExportBackupPlanTemplate(input *ExportBackupPlanTemplateInput) (*ExportBackupPlanTemplateOutput, error)

ExportBackupPlanTemplate API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ExportBackupPlanTemplate for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

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

func (*Backup) ExportBackupPlanTemplateRequest Uses

func (c *Backup) ExportBackupPlanTemplateRequest(input *ExportBackupPlanTemplateInput) (req *request.Request, output *ExportBackupPlanTemplateOutput)

ExportBackupPlanTemplateRequest generates a "aws/request.Request" representing the client's request for the ExportBackupPlanTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ExportBackupPlanTemplate for more information on using the ExportBackupPlanTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ExportBackupPlanTemplateRequest method.
req, resp := client.ExportBackupPlanTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ExportBackupPlanTemplateWithContext Uses

func (c *Backup) ExportBackupPlanTemplateWithContext(ctx aws.Context, input *ExportBackupPlanTemplateInput, opts ...request.Option) (*ExportBackupPlanTemplateOutput, error)

ExportBackupPlanTemplateWithContext is the same as ExportBackupPlanTemplate with the addition of the ability to pass a context and additional request options.

See ExportBackupPlanTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetBackupPlan Uses

func (c *Backup) GetBackupPlan(input *GetBackupPlanInput) (*GetBackupPlanOutput, error)

GetBackupPlan API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetBackupPlan for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) GetBackupPlanFromJSON Uses

func (c *Backup) GetBackupPlanFromJSON(input *GetBackupPlanFromJSONInput) (*GetBackupPlanFromJSONOutput, error)

GetBackupPlanFromJSON API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetBackupPlanFromJSON for usage and error information.

Returned Error Codes:

* ErrCodeLimitExceededException "LimitExceededException"
A limit in the request has been exceeded; for example, a maximum number of
items allowed in a request.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeInvalidRequestException "InvalidRequestException"
Indicates that something is wrong with the input to the request. For example,
a parameter is of the wrong type.

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

func (*Backup) GetBackupPlanFromJSONRequest Uses

func (c *Backup) GetBackupPlanFromJSONRequest(input *GetBackupPlanFromJSONInput) (req *request.Request, output *GetBackupPlanFromJSONOutput)

GetBackupPlanFromJSONRequest generates a "aws/request.Request" representing the client's request for the GetBackupPlanFromJSON operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBackupPlanFromJSON for more information on using the GetBackupPlanFromJSON API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBackupPlanFromJSONRequest method.
req, resp := client.GetBackupPlanFromJSONRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetBackupPlanFromJSONWithContext Uses

func (c *Backup) GetBackupPlanFromJSONWithContext(ctx aws.Context, input *GetBackupPlanFromJSONInput, opts ...request.Option) (*GetBackupPlanFromJSONOutput, error)

GetBackupPlanFromJSONWithContext is the same as GetBackupPlanFromJSON with the addition of the ability to pass a context and additional request options.

See GetBackupPlanFromJSON for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetBackupPlanFromTemplate Uses

func (c *Backup) GetBackupPlanFromTemplate(input *GetBackupPlanFromTemplateInput) (*GetBackupPlanFromTemplateOutput, error)

GetBackupPlanFromTemplate API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetBackupPlanFromTemplate for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

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

func (*Backup) GetBackupPlanFromTemplateRequest Uses

func (c *Backup) GetBackupPlanFromTemplateRequest(input *GetBackupPlanFromTemplateInput) (req *request.Request, output *GetBackupPlanFromTemplateOutput)

GetBackupPlanFromTemplateRequest generates a "aws/request.Request" representing the client's request for the GetBackupPlanFromTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBackupPlanFromTemplate for more information on using the GetBackupPlanFromTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBackupPlanFromTemplateRequest method.
req, resp := client.GetBackupPlanFromTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetBackupPlanFromTemplateWithContext Uses

func (c *Backup) GetBackupPlanFromTemplateWithContext(ctx aws.Context, input *GetBackupPlanFromTemplateInput, opts ...request.Option) (*GetBackupPlanFromTemplateOutput, error)

GetBackupPlanFromTemplateWithContext is the same as GetBackupPlanFromTemplate with the addition of the ability to pass a context and additional request options.

See GetBackupPlanFromTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetBackupPlanRequest Uses

func (c *Backup) GetBackupPlanRequest(input *GetBackupPlanInput) (req *request.Request, output *GetBackupPlanOutput)

GetBackupPlanRequest generates a "aws/request.Request" representing the client's request for the GetBackupPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBackupPlan for more information on using the GetBackupPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBackupPlanRequest method.
req, resp := client.GetBackupPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetBackupPlanWithContext Uses

func (c *Backup) GetBackupPlanWithContext(ctx aws.Context, input *GetBackupPlanInput, opts ...request.Option) (*GetBackupPlanOutput, error)

GetBackupPlanWithContext is the same as GetBackupPlan with the addition of the ability to pass a context and additional request options.

See GetBackupPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetBackupSelection Uses

func (c *Backup) GetBackupSelection(input *GetBackupSelectionInput) (*GetBackupSelectionOutput, error)

GetBackupSelection 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetBackupSelection for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) GetBackupSelectionRequest Uses

func (c *Backup) GetBackupSelectionRequest(input *GetBackupSelectionInput) (req *request.Request, output *GetBackupSelectionOutput)

GetBackupSelectionRequest generates a "aws/request.Request" representing the client's request for the GetBackupSelection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBackupSelection for more information on using the GetBackupSelection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBackupSelectionRequest method.
req, resp := client.GetBackupSelectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetBackupSelectionWithContext Uses

func (c *Backup) GetBackupSelectionWithContext(ctx aws.Context, input *GetBackupSelectionInput, opts ...request.Option) (*GetBackupSelectionOutput, error)

GetBackupSelectionWithContext is the same as GetBackupSelection with the addition of the ability to pass a context and additional request options.

See GetBackupSelection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetBackupVaultAccessPolicy Uses

func (c *Backup) GetBackupVaultAccessPolicy(input *GetBackupVaultAccessPolicyInput) (*GetBackupVaultAccessPolicyOutput, error)

GetBackupVaultAccessPolicy API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetBackupVaultAccessPolicy for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) GetBackupVaultAccessPolicyRequest Uses

func (c *Backup) GetBackupVaultAccessPolicyRequest(input *GetBackupVaultAccessPolicyInput) (req *request.Request, output *GetBackupVaultAccessPolicyOutput)

GetBackupVaultAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the GetBackupVaultAccessPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBackupVaultAccessPolicy for more information on using the GetBackupVaultAccessPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBackupVaultAccessPolicyRequest method.
req, resp := client.GetBackupVaultAccessPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetBackupVaultAccessPolicyWithContext Uses

func (c *Backup) GetBackupVaultAccessPolicyWithContext(ctx aws.Context, input *GetBackupVaultAccessPolicyInput, opts ...request.Option) (*GetBackupVaultAccessPolicyOutput, error)

GetBackupVaultAccessPolicyWithContext is the same as GetBackupVaultAccessPolicy with the addition of the ability to pass a context and additional request options.

See GetBackupVaultAccessPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetBackupVaultNotifications Uses

func (c *Backup) GetBackupVaultNotifications(input *GetBackupVaultNotificationsInput) (*GetBackupVaultNotificationsOutput, error)

GetBackupVaultNotifications API operation for AWS Backup.

Returns event notifications for the specified backup vault.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetBackupVaultNotifications for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) GetBackupVaultNotificationsRequest Uses

func (c *Backup) GetBackupVaultNotificationsRequest(input *GetBackupVaultNotificationsInput) (req *request.Request, output *GetBackupVaultNotificationsOutput)

GetBackupVaultNotificationsRequest generates a "aws/request.Request" representing the client's request for the GetBackupVaultNotifications operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBackupVaultNotifications for more information on using the GetBackupVaultNotifications API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBackupVaultNotificationsRequest method.
req, resp := client.GetBackupVaultNotificationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetBackupVaultNotificationsWithContext Uses

func (c *Backup) GetBackupVaultNotificationsWithContext(ctx aws.Context, input *GetBackupVaultNotificationsInput, opts ...request.Option) (*GetBackupVaultNotificationsOutput, error)

GetBackupVaultNotificationsWithContext is the same as GetBackupVaultNotifications with the addition of the ability to pass a context and additional request options.

See GetBackupVaultNotifications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetRecoveryPointRestoreMetadata Uses

func (c *Backup) GetRecoveryPointRestoreMetadata(input *GetRecoveryPointRestoreMetadataInput) (*GetRecoveryPointRestoreMetadataOutput, error)

GetRecoveryPointRestoreMetadata 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetRecoveryPointRestoreMetadata for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) GetRecoveryPointRestoreMetadataRequest Uses

func (c *Backup) GetRecoveryPointRestoreMetadataRequest(input *GetRecoveryPointRestoreMetadataInput) (req *request.Request, output *GetRecoveryPointRestoreMetadataOutput)

GetRecoveryPointRestoreMetadataRequest generates a "aws/request.Request" representing the client's request for the GetRecoveryPointRestoreMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRecoveryPointRestoreMetadata for more information on using the GetRecoveryPointRestoreMetadata API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRecoveryPointRestoreMetadataRequest method.
req, resp := client.GetRecoveryPointRestoreMetadataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetRecoveryPointRestoreMetadataWithContext Uses

func (c *Backup) GetRecoveryPointRestoreMetadataWithContext(ctx aws.Context, input *GetRecoveryPointRestoreMetadataInput, opts ...request.Option) (*GetRecoveryPointRestoreMetadataOutput, error)

GetRecoveryPointRestoreMetadataWithContext is the same as GetRecoveryPointRestoreMetadata with the addition of the ability to pass a context and additional request options.

See GetRecoveryPointRestoreMetadata for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) GetSupportedResourceTypes Uses

func (c *Backup) GetSupportedResourceTypes(input *GetSupportedResourceTypesInput) (*GetSupportedResourceTypesOutput, error)

GetSupportedResourceTypes API operation for AWS Backup.

Returns the AWS resource types supported by AWS Backup.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation GetSupportedResourceTypes for usage and error information.

Returned Error Codes:

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) GetSupportedResourceTypesRequest Uses

func (c *Backup) GetSupportedResourceTypesRequest(input *GetSupportedResourceTypesInput) (req *request.Request, output *GetSupportedResourceTypesOutput)

GetSupportedResourceTypesRequest generates a "aws/request.Request" representing the client's request for the GetSupportedResourceTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSupportedResourceTypes for more information on using the GetSupportedResourceTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSupportedResourceTypesRequest method.
req, resp := client.GetSupportedResourceTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) GetSupportedResourceTypesWithContext Uses

func (c *Backup) GetSupportedResourceTypesWithContext(ctx aws.Context, input *GetSupportedResourceTypesInput, opts ...request.Option) (*GetSupportedResourceTypesOutput, error)

GetSupportedResourceTypesWithContext is the same as GetSupportedResourceTypes with the addition of the ability to pass a context and additional request options.

See GetSupportedResourceTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupJobs Uses

func (c *Backup) ListBackupJobs(input *ListBackupJobsInput) (*ListBackupJobsOutput, error)

ListBackupJobs API operation for AWS Backup.

Returns metadata about your backup jobs.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListBackupJobs for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListBackupJobsPages Uses

func (c *Backup) ListBackupJobsPages(input *ListBackupJobsInput, fn func(*ListBackupJobsOutput, bool) bool) error

ListBackupJobsPages iterates over the pages of a ListBackupJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackupJobs method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBackupJobs operation.
pageNum := 0
err := client.ListBackupJobsPages(params,
    func(page *backup.ListBackupJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListBackupJobsPagesWithContext Uses

func (c *Backup) ListBackupJobsPagesWithContext(ctx aws.Context, input *ListBackupJobsInput, fn func(*ListBackupJobsOutput, bool) bool, opts ...request.Option) error

ListBackupJobsPagesWithContext same as ListBackupJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupJobsRequest Uses

func (c *Backup) ListBackupJobsRequest(input *ListBackupJobsInput) (req *request.Request, output *ListBackupJobsOutput)

ListBackupJobsRequest generates a "aws/request.Request" representing the client's request for the ListBackupJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBackupJobs for more information on using the ListBackupJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBackupJobsRequest method.
req, resp := client.ListBackupJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListBackupJobsWithContext Uses

func (c *Backup) ListBackupJobsWithContext(ctx aws.Context, input *ListBackupJobsInput, opts ...request.Option) (*ListBackupJobsOutput, error)

ListBackupJobsWithContext is the same as ListBackupJobs with the addition of the ability to pass a context and additional request options.

See ListBackupJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupPlanTemplates Uses

func (c *Backup) ListBackupPlanTemplates(input *ListBackupPlanTemplatesInput) (*ListBackupPlanTemplatesOutput, error)

ListBackupPlanTemplates API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListBackupPlanTemplates for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

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

func (*Backup) ListBackupPlanTemplatesPages Uses

func (c *Backup) ListBackupPlanTemplatesPages(input *ListBackupPlanTemplatesInput, fn func(*ListBackupPlanTemplatesOutput, bool) bool) error

ListBackupPlanTemplatesPages iterates over the pages of a ListBackupPlanTemplates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackupPlanTemplates method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBackupPlanTemplates operation.
pageNum := 0
err := client.ListBackupPlanTemplatesPages(params,
    func(page *backup.ListBackupPlanTemplatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListBackupPlanTemplatesPagesWithContext Uses

func (c *Backup) ListBackupPlanTemplatesPagesWithContext(ctx aws.Context, input *ListBackupPlanTemplatesInput, fn func(*ListBackupPlanTemplatesOutput, bool) bool, opts ...request.Option) error

ListBackupPlanTemplatesPagesWithContext same as ListBackupPlanTemplatesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupPlanTemplatesRequest Uses

func (c *Backup) ListBackupPlanTemplatesRequest(input *ListBackupPlanTemplatesInput) (req *request.Request, output *ListBackupPlanTemplatesOutput)

ListBackupPlanTemplatesRequest generates a "aws/request.Request" representing the client's request for the ListBackupPlanTemplates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBackupPlanTemplates for more information on using the ListBackupPlanTemplates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBackupPlanTemplatesRequest method.
req, resp := client.ListBackupPlanTemplatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListBackupPlanTemplatesWithContext Uses

func (c *Backup) ListBackupPlanTemplatesWithContext(ctx aws.Context, input *ListBackupPlanTemplatesInput, opts ...request.Option) (*ListBackupPlanTemplatesOutput, error)

ListBackupPlanTemplatesWithContext is the same as ListBackupPlanTemplates with the addition of the ability to pass a context and additional request options.

See ListBackupPlanTemplates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupPlanVersions Uses

func (c *Backup) ListBackupPlanVersions(input *ListBackupPlanVersionsInput) (*ListBackupPlanVersionsOutput, error)

ListBackupPlanVersions 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListBackupPlanVersions for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListBackupPlanVersionsPages Uses

func (c *Backup) ListBackupPlanVersionsPages(input *ListBackupPlanVersionsInput, fn func(*ListBackupPlanVersionsOutput, bool) bool) error

ListBackupPlanVersionsPages iterates over the pages of a ListBackupPlanVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackupPlanVersions method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBackupPlanVersions operation.
pageNum := 0
err := client.ListBackupPlanVersionsPages(params,
    func(page *backup.ListBackupPlanVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListBackupPlanVersionsPagesWithContext Uses

func (c *Backup) ListBackupPlanVersionsPagesWithContext(ctx aws.Context, input *ListBackupPlanVersionsInput, fn func(*ListBackupPlanVersionsOutput, bool) bool, opts ...request.Option) error

ListBackupPlanVersionsPagesWithContext same as ListBackupPlanVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupPlanVersionsRequest Uses

func (c *Backup) ListBackupPlanVersionsRequest(input *ListBackupPlanVersionsInput) (req *request.Request, output *ListBackupPlanVersionsOutput)

ListBackupPlanVersionsRequest generates a "aws/request.Request" representing the client's request for the ListBackupPlanVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBackupPlanVersions for more information on using the ListBackupPlanVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBackupPlanVersionsRequest method.
req, resp := client.ListBackupPlanVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListBackupPlanVersionsWithContext Uses

func (c *Backup) ListBackupPlanVersionsWithContext(ctx aws.Context, input *ListBackupPlanVersionsInput, opts ...request.Option) (*ListBackupPlanVersionsOutput, error)

ListBackupPlanVersionsWithContext is the same as ListBackupPlanVersions with the addition of the ability to pass a context and additional request options.

See ListBackupPlanVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupPlans Uses

func (c *Backup) ListBackupPlans(input *ListBackupPlansInput) (*ListBackupPlansOutput, error)

ListBackupPlans 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListBackupPlans for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListBackupPlansPages Uses

func (c *Backup) ListBackupPlansPages(input *ListBackupPlansInput, fn func(*ListBackupPlansOutput, bool) bool) error

ListBackupPlansPages iterates over the pages of a ListBackupPlans operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackupPlans method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBackupPlans operation.
pageNum := 0
err := client.ListBackupPlansPages(params,
    func(page *backup.ListBackupPlansOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListBackupPlansPagesWithContext Uses

func (c *Backup) ListBackupPlansPagesWithContext(ctx aws.Context, input *ListBackupPlansInput, fn func(*ListBackupPlansOutput, bool) bool, opts ...request.Option) error

ListBackupPlansPagesWithContext same as ListBackupPlansPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupPlansRequest Uses

func (c *Backup) ListBackupPlansRequest(input *ListBackupPlansInput) (req *request.Request, output *ListBackupPlansOutput)

ListBackupPlansRequest generates a "aws/request.Request" representing the client's request for the ListBackupPlans operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBackupPlans for more information on using the ListBackupPlans API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBackupPlansRequest method.
req, resp := client.ListBackupPlansRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListBackupPlansWithContext Uses

func (c *Backup) ListBackupPlansWithContext(ctx aws.Context, input *ListBackupPlansInput, opts ...request.Option) (*ListBackupPlansOutput, error)

ListBackupPlansWithContext is the same as ListBackupPlans with the addition of the ability to pass a context and additional request options.

See ListBackupPlans for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupSelections Uses

func (c *Backup) ListBackupSelections(input *ListBackupSelectionsInput) (*ListBackupSelectionsOutput, error)

ListBackupSelections API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListBackupSelections for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListBackupSelectionsPages Uses

func (c *Backup) ListBackupSelectionsPages(input *ListBackupSelectionsInput, fn func(*ListBackupSelectionsOutput, bool) bool) error

ListBackupSelectionsPages iterates over the pages of a ListBackupSelections operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackupSelections method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBackupSelections operation.
pageNum := 0
err := client.ListBackupSelectionsPages(params,
    func(page *backup.ListBackupSelectionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListBackupSelectionsPagesWithContext Uses

func (c *Backup) ListBackupSelectionsPagesWithContext(ctx aws.Context, input *ListBackupSelectionsInput, fn func(*ListBackupSelectionsOutput, bool) bool, opts ...request.Option) error

ListBackupSelectionsPagesWithContext same as ListBackupSelectionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupSelectionsRequest Uses

func (c *Backup) ListBackupSelectionsRequest(input *ListBackupSelectionsInput) (req *request.Request, output *ListBackupSelectionsOutput)

ListBackupSelectionsRequest generates a "aws/request.Request" representing the client's request for the ListBackupSelections operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBackupSelections for more information on using the ListBackupSelections API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBackupSelectionsRequest method.
req, resp := client.ListBackupSelectionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListBackupSelectionsWithContext Uses

func (c *Backup) ListBackupSelectionsWithContext(ctx aws.Context, input *ListBackupSelectionsInput, opts ...request.Option) (*ListBackupSelectionsOutput, error)

ListBackupSelectionsWithContext is the same as ListBackupSelections with the addition of the ability to pass a context and additional request options.

See ListBackupSelections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupVaults Uses

func (c *Backup) ListBackupVaults(input *ListBackupVaultsInput) (*ListBackupVaultsOutput, error)

ListBackupVaults API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListBackupVaults for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListBackupVaultsPages Uses

func (c *Backup) ListBackupVaultsPages(input *ListBackupVaultsInput, fn func(*ListBackupVaultsOutput, bool) bool) error

ListBackupVaultsPages iterates over the pages of a ListBackupVaults operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackupVaults method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBackupVaults operation.
pageNum := 0
err := client.ListBackupVaultsPages(params,
    func(page *backup.ListBackupVaultsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListBackupVaultsPagesWithContext Uses

func (c *Backup) ListBackupVaultsPagesWithContext(ctx aws.Context, input *ListBackupVaultsInput, fn func(*ListBackupVaultsOutput, bool) bool, opts ...request.Option) error

ListBackupVaultsPagesWithContext same as ListBackupVaultsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListBackupVaultsRequest Uses

func (c *Backup) ListBackupVaultsRequest(input *ListBackupVaultsInput) (req *request.Request, output *ListBackupVaultsOutput)

ListBackupVaultsRequest generates a "aws/request.Request" representing the client's request for the ListBackupVaults operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBackupVaults for more information on using the ListBackupVaults API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBackupVaultsRequest method.
req, resp := client.ListBackupVaultsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListBackupVaultsWithContext Uses

func (c *Backup) ListBackupVaultsWithContext(ctx aws.Context, input *ListBackupVaultsInput, opts ...request.Option) (*ListBackupVaultsOutput, error)

ListBackupVaultsWithContext is the same as ListBackupVaults with the addition of the ability to pass a context and additional request options.

See ListBackupVaults for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListProtectedResources Uses

func (c *Backup) ListProtectedResources(input *ListProtectedResourcesInput) (*ListProtectedResourcesOutput, error)

ListProtectedResources 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListProtectedResources for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListProtectedResourcesPages Uses

func (c *Backup) ListProtectedResourcesPages(input *ListProtectedResourcesInput, fn func(*ListProtectedResourcesOutput, bool) bool) error

ListProtectedResourcesPages iterates over the pages of a ListProtectedResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProtectedResources method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListProtectedResources operation.
pageNum := 0
err := client.ListProtectedResourcesPages(params,
    func(page *backup.ListProtectedResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListProtectedResourcesPagesWithContext Uses

func (c *Backup) ListProtectedResourcesPagesWithContext(ctx aws.Context, input *ListProtectedResourcesInput, fn func(*ListProtectedResourcesOutput, bool) bool, opts ...request.Option) error

ListProtectedResourcesPagesWithContext same as ListProtectedResourcesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListProtectedResourcesRequest Uses

func (c *Backup) ListProtectedResourcesRequest(input *ListProtectedResourcesInput) (req *request.Request, output *ListProtectedResourcesOutput)

ListProtectedResourcesRequest generates a "aws/request.Request" representing the client's request for the ListProtectedResources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListProtectedResources for more information on using the ListProtectedResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListProtectedResourcesRequest method.
req, resp := client.ListProtectedResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListProtectedResourcesWithContext Uses

func (c *Backup) ListProtectedResourcesWithContext(ctx aws.Context, input *ListProtectedResourcesInput, opts ...request.Option) (*ListProtectedResourcesOutput, error)

ListProtectedResourcesWithContext is the same as ListProtectedResources with the addition of the ability to pass a context and additional request options.

See ListProtectedResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListRecoveryPointsByBackupVault Uses

func (c *Backup) ListRecoveryPointsByBackupVault(input *ListRecoveryPointsByBackupVaultInput) (*ListRecoveryPointsByBackupVaultOutput, error)

ListRecoveryPointsByBackupVault API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListRecoveryPointsByBackupVault for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListRecoveryPointsByBackupVaultPages Uses

func (c *Backup) ListRecoveryPointsByBackupVaultPages(input *ListRecoveryPointsByBackupVaultInput, fn func(*ListRecoveryPointsByBackupVaultOutput, bool) bool) error

ListRecoveryPointsByBackupVaultPages iterates over the pages of a ListRecoveryPointsByBackupVault operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRecoveryPointsByBackupVault method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListRecoveryPointsByBackupVault operation.
pageNum := 0
err := client.ListRecoveryPointsByBackupVaultPages(params,
    func(page *backup.ListRecoveryPointsByBackupVaultOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListRecoveryPointsByBackupVaultPagesWithContext Uses

func (c *Backup) ListRecoveryPointsByBackupVaultPagesWithContext(ctx aws.Context, input *ListRecoveryPointsByBackupVaultInput, fn func(*ListRecoveryPointsByBackupVaultOutput, bool) bool, opts ...request.Option) error

ListRecoveryPointsByBackupVaultPagesWithContext same as ListRecoveryPointsByBackupVaultPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListRecoveryPointsByBackupVaultRequest Uses

func (c *Backup) ListRecoveryPointsByBackupVaultRequest(input *ListRecoveryPointsByBackupVaultInput) (req *request.Request, output *ListRecoveryPointsByBackupVaultOutput)

ListRecoveryPointsByBackupVaultRequest generates a "aws/request.Request" representing the client's request for the ListRecoveryPointsByBackupVault operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRecoveryPointsByBackupVault for more information on using the ListRecoveryPointsByBackupVault API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRecoveryPointsByBackupVaultRequest method.
req, resp := client.ListRecoveryPointsByBackupVaultRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListRecoveryPointsByBackupVaultWithContext Uses

func (c *Backup) ListRecoveryPointsByBackupVaultWithContext(ctx aws.Context, input *ListRecoveryPointsByBackupVaultInput, opts ...request.Option) (*ListRecoveryPointsByBackupVaultOutput, error)

ListRecoveryPointsByBackupVaultWithContext is the same as ListRecoveryPointsByBackupVault with the addition of the ability to pass a context and additional request options.

See ListRecoveryPointsByBackupVault for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListRecoveryPointsByResource Uses

func (c *Backup) ListRecoveryPointsByResource(input *ListRecoveryPointsByResourceInput) (*ListRecoveryPointsByResourceOutput, error)

ListRecoveryPointsByResource API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListRecoveryPointsByResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListRecoveryPointsByResourcePages Uses

func (c *Backup) ListRecoveryPointsByResourcePages(input *ListRecoveryPointsByResourceInput, fn func(*ListRecoveryPointsByResourceOutput, bool) bool) error

ListRecoveryPointsByResourcePages iterates over the pages of a ListRecoveryPointsByResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRecoveryPointsByResource method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListRecoveryPointsByResource operation.
pageNum := 0
err := client.ListRecoveryPointsByResourcePages(params,
    func(page *backup.ListRecoveryPointsByResourceOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListRecoveryPointsByResourcePagesWithContext Uses

func (c *Backup) ListRecoveryPointsByResourcePagesWithContext(ctx aws.Context, input *ListRecoveryPointsByResourceInput, fn func(*ListRecoveryPointsByResourceOutput, bool) bool, opts ...request.Option) error

ListRecoveryPointsByResourcePagesWithContext same as ListRecoveryPointsByResourcePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListRecoveryPointsByResourceRequest Uses

func (c *Backup) ListRecoveryPointsByResourceRequest(input *ListRecoveryPointsByResourceInput) (req *request.Request, output *ListRecoveryPointsByResourceOutput)

ListRecoveryPointsByResourceRequest generates a "aws/request.Request" representing the client's request for the ListRecoveryPointsByResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRecoveryPointsByResource for more information on using the ListRecoveryPointsByResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRecoveryPointsByResourceRequest method.
req, resp := client.ListRecoveryPointsByResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListRecoveryPointsByResourceWithContext Uses

func (c *Backup) ListRecoveryPointsByResourceWithContext(ctx aws.Context, input *ListRecoveryPointsByResourceInput, opts ...request.Option) (*ListRecoveryPointsByResourceOutput, error)

ListRecoveryPointsByResourceWithContext is the same as ListRecoveryPointsByResource with the addition of the ability to pass a context and additional request options.

See ListRecoveryPointsByResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListRestoreJobs Uses

func (c *Backup) ListRestoreJobs(input *ListRestoreJobsInput) (*ListRestoreJobsOutput, error)

ListRestoreJobs 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListRestoreJobs for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListRestoreJobsPages Uses

func (c *Backup) ListRestoreJobsPages(input *ListRestoreJobsInput, fn func(*ListRestoreJobsOutput, bool) bool) error

ListRestoreJobsPages iterates over the pages of a ListRestoreJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRestoreJobs method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListRestoreJobs operation.
pageNum := 0
err := client.ListRestoreJobsPages(params,
    func(page *backup.ListRestoreJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListRestoreJobsPagesWithContext Uses

func (c *Backup) ListRestoreJobsPagesWithContext(ctx aws.Context, input *ListRestoreJobsInput, fn func(*ListRestoreJobsOutput, bool) bool, opts ...request.Option) error

ListRestoreJobsPagesWithContext same as ListRestoreJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListRestoreJobsRequest Uses

func (c *Backup) ListRestoreJobsRequest(input *ListRestoreJobsInput) (req *request.Request, output *ListRestoreJobsOutput)

ListRestoreJobsRequest generates a "aws/request.Request" representing the client's request for the ListRestoreJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRestoreJobs for more information on using the ListRestoreJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRestoreJobsRequest method.
req, resp := client.ListRestoreJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListRestoreJobsWithContext Uses

func (c *Backup) ListRestoreJobsWithContext(ctx aws.Context, input *ListRestoreJobsInput, opts ...request.Option) (*ListRestoreJobsOutput, error)

ListRestoreJobsWithContext is the same as ListRestoreJobs with the addition of the ability to pass a context and additional request options.

See ListRestoreJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListTags Uses

func (c *Backup) ListTags(input *ListTagsInput) (*ListTagsOutput, error)

ListTags API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation ListTags for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) ListTagsPages Uses

func (c *Backup) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error

ListTagsPages iterates over the pages of a ListTags operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTags method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListTags operation.
pageNum := 0
err := client.ListTagsPages(params,
    func(page *backup.ListTagsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Backup) ListTagsPagesWithContext Uses

func (c *Backup) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error

ListTagsPagesWithContext same as ListTagsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) ListTagsRequest Uses

func (c *Backup) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)

ListTagsRequest generates a "aws/request.Request" representing the client's request for the ListTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTags for more information on using the ListTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsRequest method.
req, resp := client.ListTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) ListTagsWithContext Uses

func (c *Backup) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)

ListTagsWithContext is the same as ListTags with the addition of the ability to pass a context and additional request options.

See ListTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) PutBackupVaultAccessPolicy Uses

func (c *Backup) PutBackupVaultAccessPolicy(input *PutBackupVaultAccessPolicyInput) (*PutBackupVaultAccessPolicyOutput, error)

PutBackupVaultAccessPolicy 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation PutBackupVaultAccessPolicy for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) PutBackupVaultAccessPolicyRequest Uses

func (c *Backup) PutBackupVaultAccessPolicyRequest(input *PutBackupVaultAccessPolicyInput) (req *request.Request, output *PutBackupVaultAccessPolicyOutput)

PutBackupVaultAccessPolicyRequest generates a "aws/request.Request" representing the client's request for the PutBackupVaultAccessPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBackupVaultAccessPolicy for more information on using the PutBackupVaultAccessPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBackupVaultAccessPolicyRequest method.
req, resp := client.PutBackupVaultAccessPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) PutBackupVaultAccessPolicyWithContext Uses

func (c *Backup) PutBackupVaultAccessPolicyWithContext(ctx aws.Context, input *PutBackupVaultAccessPolicyInput, opts ...request.Option) (*PutBackupVaultAccessPolicyOutput, error)

PutBackupVaultAccessPolicyWithContext is the same as PutBackupVaultAccessPolicy with the addition of the ability to pass a context and additional request options.

See PutBackupVaultAccessPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) PutBackupVaultNotifications Uses

func (c *Backup) PutBackupVaultNotifications(input *PutBackupVaultNotificationsInput) (*PutBackupVaultNotificationsOutput, error)

PutBackupVaultNotifications API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation PutBackupVaultNotifications for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) PutBackupVaultNotificationsRequest Uses

func (c *Backup) PutBackupVaultNotificationsRequest(input *PutBackupVaultNotificationsInput) (req *request.Request, output *PutBackupVaultNotificationsOutput)

PutBackupVaultNotificationsRequest generates a "aws/request.Request" representing the client's request for the PutBackupVaultNotifications operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBackupVaultNotifications for more information on using the PutBackupVaultNotifications API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBackupVaultNotificationsRequest method.
req, resp := client.PutBackupVaultNotificationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) PutBackupVaultNotificationsWithContext Uses

func (c *Backup) PutBackupVaultNotificationsWithContext(ctx aws.Context, input *PutBackupVaultNotificationsInput, opts ...request.Option) (*PutBackupVaultNotificationsOutput, error)

PutBackupVaultNotificationsWithContext is the same as PutBackupVaultNotifications with the addition of the ability to pass a context and additional request options.

See PutBackupVaultNotifications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) StartBackupJob Uses

func (c *Backup) StartBackupJob(input *StartBackupJobInput) (*StartBackupJobOutput, error)

StartBackupJob API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation StartBackupJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeLimitExceededException "LimitExceededException"
A limit in the request has been exceeded; for example, a maximum number of
items allowed in a request.

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

func (*Backup) StartBackupJobRequest Uses

func (c *Backup) StartBackupJobRequest(input *StartBackupJobInput) (req *request.Request, output *StartBackupJobOutput)

StartBackupJobRequest generates a "aws/request.Request" representing the client's request for the StartBackupJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartBackupJob for more information on using the StartBackupJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartBackupJobRequest method.
req, resp := client.StartBackupJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) StartBackupJobWithContext Uses

func (c *Backup) StartBackupJobWithContext(ctx aws.Context, input *StartBackupJobInput, opts ...request.Option) (*StartBackupJobOutput, error)

StartBackupJobWithContext is the same as StartBackupJob with the addition of the ability to pass a context and additional request options.

See StartBackupJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) StartRestoreJob Uses

func (c *Backup) StartRestoreJob(input *StartRestoreJobInput) (*StartRestoreJobOutput, error)

StartRestoreJob 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation StartRestoreJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) StartRestoreJobRequest Uses

func (c *Backup) StartRestoreJobRequest(input *StartRestoreJobInput) (req *request.Request, output *StartRestoreJobOutput)

StartRestoreJobRequest generates a "aws/request.Request" representing the client's request for the StartRestoreJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartRestoreJob for more information on using the StartRestoreJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartRestoreJobRequest method.
req, resp := client.StartRestoreJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) StartRestoreJobWithContext Uses

func (c *Backup) StartRestoreJobWithContext(ctx aws.Context, input *StartRestoreJobInput, opts ...request.Option) (*StartRestoreJobOutput, error)

StartRestoreJobWithContext is the same as StartRestoreJob with the addition of the ability to pass a context and additional request options.

See StartRestoreJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) StopBackupJob Uses

func (c *Backup) StopBackupJob(input *StopBackupJobInput) (*StopBackupJobOutput, error)

StopBackupJob API operation for AWS Backup.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation StopBackupJob for usage and error information.

Returned Error Codes:

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeInvalidRequestException "InvalidRequestException"
Indicates that something is wrong with the input to the request. For example,
a parameter is of the wrong type.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) StopBackupJobRequest Uses

func (c *Backup) StopBackupJobRequest(input *StopBackupJobInput) (req *request.Request, output *StopBackupJobOutput)

StopBackupJobRequest generates a "aws/request.Request" representing the client's request for the StopBackupJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopBackupJob for more information on using the StopBackupJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopBackupJobRequest method.
req, resp := client.StopBackupJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) StopBackupJobWithContext Uses

func (c *Backup) StopBackupJobWithContext(ctx aws.Context, input *StopBackupJobInput, opts ...request.Option) (*StopBackupJobOutput, error)

StopBackupJobWithContext is the same as StopBackupJob with the addition of the ability to pass a context and additional request options.

See StopBackupJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) TagResource Uses

func (c *Backup) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource 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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation TagResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

* ErrCodeLimitExceededException "LimitExceededException"
A limit in the request has been exceeded; for example, a maximum number of
items allowed in a request.

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

func (*Backup) TagResourceRequest Uses

func (c *Backup) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) TagResourceWithContext Uses

func (c *Backup) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) UntagResource Uses

func (c *Backup) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation UntagResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) UntagResourceRequest Uses

func (c *Backup) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) UntagResourceWithContext Uses

func (c *Backup) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) UpdateBackupPlan Uses

func (c *Backup) UpdateBackupPlan(input *UpdateBackupPlanInput) (*UpdateBackupPlanOutput, error)

UpdateBackupPlan 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation UpdateBackupPlan for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) UpdateBackupPlanRequest Uses

func (c *Backup) UpdateBackupPlanRequest(input *UpdateBackupPlanInput) (req *request.Request, output *UpdateBackupPlanOutput)

UpdateBackupPlanRequest generates a "aws/request.Request" representing the client's request for the UpdateBackupPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateBackupPlan for more information on using the UpdateBackupPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateBackupPlanRequest method.
req, resp := client.UpdateBackupPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) UpdateBackupPlanWithContext Uses

func (c *Backup) UpdateBackupPlanWithContext(ctx aws.Context, input *UpdateBackupPlanInput, opts ...request.Option) (*UpdateBackupPlanOutput, error)

UpdateBackupPlanWithContext is the same as UpdateBackupPlan with the addition of the ability to pass a context and additional request options.

See UpdateBackupPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Backup) UpdateRecoveryPointLifecycle Uses

func (c *Backup) UpdateRecoveryPointLifecycle(input *UpdateRecoveryPointLifecycleInput) (*UpdateRecoveryPointLifecycleOutput, error)

UpdateRecoveryPointLifecycle 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Backup's API operation UpdateRecoveryPointLifecycle for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
A resource that is required for the action doesn't exist.

* ErrCodeInvalidParameterValueException "InvalidParameterValueException"
Indicates that something is wrong with a parameter's value. For example,
the value is out of range.

* ErrCodeMissingParameterValueException "MissingParameterValueException"
Indicates that a required parameter is missing.

* ErrCodeServiceUnavailableException "ServiceUnavailableException"
The request failed due to a temporary failure of the server.

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

func (*Backup) UpdateRecoveryPointLifecycleRequest Uses

func (c *Backup) UpdateRecoveryPointLifecycleRequest(input *UpdateRecoveryPointLifecycleInput) (req *request.Request, output *UpdateRecoveryPointLifecycleOutput)

UpdateRecoveryPointLifecycleRequest generates a "aws/request.Request" representing the client's request for the UpdateRecoveryPointLifecycle operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRecoveryPointLifecycle for more information on using the UpdateRecoveryPointLifecycle API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRecoveryPointLifecycleRequest method.
req, resp := client.UpdateRecoveryPointLifecycleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Backup) UpdateRecoveryPointLifecycleWithContext Uses

func (c *Backup) UpdateRecoveryPointLifecycleWithContext(ctx aws.Context, input *UpdateRecoveryPointLifecycleInput, opts ...request.Option) (*UpdateRecoveryPointLifecycleOutput, error)

UpdateRecoveryPointLifecycleWithContext is the same as UpdateRecoveryPointLifecycle with the addition of the ability to pass a context and additional request options.

See UpdateRecoveryPointLifecycle for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type CalculatedLifecycle Uses

type CalculatedLifecycle struct {

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

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

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

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

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

func (CalculatedLifecycle) GoString Uses

func (s CalculatedLifecycle) GoString() string

GoString returns the string representation

func (*CalculatedLifecycle) SetDeleteAt Uses

func (s *CalculatedLifecycle) SetDeleteAt(v time.Time) *CalculatedLifecycle

SetDeleteAt sets the DeleteAt field's value.

func (*CalculatedLifecycle) SetMoveToColdStorageAt Uses

func (s *CalculatedLifecycle) SetMoveToColdStorageAt(v time.Time) *CalculatedLifecycle

SetMoveToColdStorageAt sets the MoveToColdStorageAt field's value.

func (CalculatedLifecycle) String Uses

func (s CalculatedLifecycle) String() string

String returns the string representation

type Condition Uses

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 *string `type:"string" required:"true" enum:"ConditionType"`

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

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

func (Condition) GoString Uses

func (s Condition) GoString() string

GoString returns the string representation

func (*Condition) SetConditionKey Uses

func (s *Condition) SetConditionKey(v string) *Condition

SetConditionKey sets the ConditionKey field's value.

func (*Condition) SetConditionType Uses

func (s *Condition) SetConditionType(v string) *Condition

SetConditionType sets the ConditionType field's value.

func (*Condition) SetConditionValue Uses

func (s *Condition) SetConditionValue(v string) *Condition

SetConditionValue sets the ConditionValue field's value.

func (Condition) String Uses

func (s Condition) String() string

String returns the string representation

func (*Condition) Validate Uses

func (s *Condition) Validate() error

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

type CreateBackupPlanInput Uses

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" sensitive:"true"`

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

func (CreateBackupPlanInput) GoString Uses

func (s CreateBackupPlanInput) GoString() string

GoString returns the string representation

func (*CreateBackupPlanInput) SetBackupPlan Uses

func (s *CreateBackupPlanInput) SetBackupPlan(v *PlanInput) *CreateBackupPlanInput

SetBackupPlan sets the BackupPlan field's value.

func (*CreateBackupPlanInput) SetBackupPlanTags Uses

func (s *CreateBackupPlanInput) SetBackupPlanTags(v map[string]*string) *CreateBackupPlanInput

SetBackupPlanTags sets the BackupPlanTags field's value.

func (*CreateBackupPlanInput) SetCreatorRequestId Uses

func (s *CreateBackupPlanInput) SetCreatorRequestId(v string) *CreateBackupPlanInput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (CreateBackupPlanInput) String Uses

func (s CreateBackupPlanInput) String() string

String returns the string representation

func (*CreateBackupPlanInput) Validate Uses

func (s *CreateBackupPlanInput) Validate() error

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

type CreateBackupPlanOutput Uses

type CreateBackupPlanOutput struct {

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

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

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

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

func (CreateBackupPlanOutput) GoString Uses

func (s CreateBackupPlanOutput) GoString() string

GoString returns the string representation

func (*CreateBackupPlanOutput) SetBackupPlanArn Uses

func (s *CreateBackupPlanOutput) SetBackupPlanArn(v string) *CreateBackupPlanOutput

SetBackupPlanArn sets the BackupPlanArn field's value.

func (*CreateBackupPlanOutput) SetBackupPlanId Uses

func (s *CreateBackupPlanOutput) SetBackupPlanId(v string) *CreateBackupPlanOutput

SetBackupPlanId sets the BackupPlanId field's value.

func (*CreateBackupPlanOutput) SetCreationDate Uses

func (s *CreateBackupPlanOutput) SetCreationDate(v time.Time) *CreateBackupPlanOutput

SetCreationDate sets the CreationDate field's value.

func (*CreateBackupPlanOutput) SetVersionId Uses

func (s *CreateBackupPlanOutput) SetVersionId(v string) *CreateBackupPlanOutput

SetVersionId sets the VersionId field's value.

func (CreateBackupPlanOutput) String Uses

func (s CreateBackupPlanOutput) String() string

String returns the string representation

type CreateBackupSelectionInput Uses

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
}

func (CreateBackupSelectionInput) GoString Uses

func (s CreateBackupSelectionInput) GoString() string

GoString returns the string representation

func (*CreateBackupSelectionInput) SetBackupPlanId Uses

func (s *CreateBackupSelectionInput) SetBackupPlanId(v string) *CreateBackupSelectionInput

SetBackupPlanId sets the BackupPlanId field's value.

func (*CreateBackupSelectionInput) SetBackupSelection Uses

func (s *CreateBackupSelectionInput) SetBackupSelection(v *Selection) *CreateBackupSelectionInput

SetBackupSelection sets the BackupSelection field's value.

func (*CreateBackupSelectionInput) SetCreatorRequestId Uses

func (s *CreateBackupSelectionInput) SetCreatorRequestId(v string) *CreateBackupSelectionInput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (CreateBackupSelectionInput) String Uses

func (s CreateBackupSelectionInput) String() string

String returns the string representation

func (*CreateBackupSelectionInput) Validate Uses

func (s *CreateBackupSelectionInput) Validate() error

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

type CreateBackupSelectionOutput Uses

type CreateBackupSelectionOutput struct {

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

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

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

func (CreateBackupSelectionOutput) GoString Uses

func (s CreateBackupSelectionOutput) GoString() string

GoString returns the string representation

func (*CreateBackupSelectionOutput) SetBackupPlanId Uses

func (s *CreateBackupSelectionOutput) SetBackupPlanId(v string) *CreateBackupSelectionOutput

SetBackupPlanId sets the BackupPlanId field's value.

func (*CreateBackupSelectionOutput) SetCreationDate Uses

func (s *CreateBackupSelectionOutput) SetCreationDate(v time.Time) *CreateBackupSelectionOutput

SetCreationDate sets the CreationDate field's value.

func (*CreateBackupSelectionOutput) SetSelectionId Uses

func (s *CreateBackupSelectionOutput) SetSelectionId(v string) *CreateBackupSelectionOutput

SetSelectionId sets the SelectionId field's value.

func (CreateBackupSelectionOutput) String Uses

func (s CreateBackupSelectionOutput) String() string

String returns the string representation

type CreateBackupVaultInput Uses

type CreateBackupVaultInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

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

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

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

func (CreateBackupVaultInput) GoString Uses

func (s CreateBackupVaultInput) GoString() string

GoString returns the string representation

func (*CreateBackupVaultInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*CreateBackupVaultInput) SetBackupVaultTags Uses

func (s *CreateBackupVaultInput) SetBackupVaultTags(v map[string]*string) *CreateBackupVaultInput

SetBackupVaultTags sets the BackupVaultTags field's value.

func (*CreateBackupVaultInput) SetCreatorRequestId Uses

func (s *CreateBackupVaultInput) SetCreatorRequestId(v string) *CreateBackupVaultInput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*CreateBackupVaultInput) SetEncryptionKeyArn Uses

func (s *CreateBackupVaultInput) SetEncryptionKeyArn(v string) *CreateBackupVaultInput

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

func (CreateBackupVaultInput) String Uses

func (s CreateBackupVaultInput) String() string

String returns the string representation

func (*CreateBackupVaultInput) Validate Uses

func (s *CreateBackupVaultInput) Validate() error

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

type CreateBackupVaultOutput Uses

type CreateBackupVaultOutput struct {

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

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the Region where they are created. They consist of lowercase letters, numbers,
    // and hyphens.
    BackupVaultName *string `type:"string"`

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

func (CreateBackupVaultOutput) GoString Uses

func (s CreateBackupVaultOutput) GoString() string

GoString returns the string representation

func (*CreateBackupVaultOutput) SetBackupVaultArn Uses

func (s *CreateBackupVaultOutput) SetBackupVaultArn(v string) *CreateBackupVaultOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*CreateBackupVaultOutput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*CreateBackupVaultOutput) SetCreationDate Uses

func (s *CreateBackupVaultOutput) SetCreationDate(v time.Time) *CreateBackupVaultOutput

SetCreationDate sets the CreationDate field's value.

func (CreateBackupVaultOutput) String Uses

func (s CreateBackupVaultOutput) String() string

String returns the string representation

type DeleteBackupPlanInput Uses

type DeleteBackupPlanInput struct {

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

func (DeleteBackupPlanInput) GoString Uses

func (s DeleteBackupPlanInput) GoString() string

GoString returns the string representation

func (*DeleteBackupPlanInput) SetBackupPlanId Uses

func (s *DeleteBackupPlanInput) SetBackupPlanId(v string) *DeleteBackupPlanInput

SetBackupPlanId sets the BackupPlanId field's value.

func (DeleteBackupPlanInput) String Uses

func (s DeleteBackupPlanInput) String() string

String returns the string representation

func (*DeleteBackupPlanInput) Validate Uses

func (s *DeleteBackupPlanInput) Validate() error

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

type DeleteBackupPlanOutput Uses

type DeleteBackupPlanOutput struct {

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

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

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

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

func (DeleteBackupPlanOutput) GoString Uses

func (s DeleteBackupPlanOutput) GoString() string

GoString returns the string representation

func (*DeleteBackupPlanOutput) SetBackupPlanArn Uses

func (s *DeleteBackupPlanOutput) SetBackupPlanArn(v string) *DeleteBackupPlanOutput

SetBackupPlanArn sets the BackupPlanArn field's value.

func (*DeleteBackupPlanOutput) SetBackupPlanId Uses

func (s *DeleteBackupPlanOutput) SetBackupPlanId(v string) *DeleteBackupPlanOutput

SetBackupPlanId sets the BackupPlanId field's value.

func (*DeleteBackupPlanOutput) SetDeletionDate Uses

func (s *DeleteBackupPlanOutput) SetDeletionDate(v time.Time) *DeleteBackupPlanOutput

SetDeletionDate sets the DeletionDate field's value.

func (*DeleteBackupPlanOutput) SetVersionId Uses

func (s *DeleteBackupPlanOutput) SetVersionId(v string) *DeleteBackupPlanOutput

SetVersionId sets the VersionId field's value.

func (DeleteBackupPlanOutput) String Uses

func (s DeleteBackupPlanOutput) String() string

String returns the string representation

type DeleteBackupSelectionInput Uses

type DeleteBackupSelectionInput struct {

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

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

func (DeleteBackupSelectionInput) GoString Uses

func (s DeleteBackupSelectionInput) GoString() string

GoString returns the string representation

func (*DeleteBackupSelectionInput) SetBackupPlanId Uses

func (s *DeleteBackupSelectionInput) SetBackupPlanId(v string) *DeleteBackupSelectionInput

SetBackupPlanId sets the BackupPlanId field's value.

func (*DeleteBackupSelectionInput) SetSelectionId Uses

func (s *DeleteBackupSelectionInput) SetSelectionId(v string) *DeleteBackupSelectionInput

SetSelectionId sets the SelectionId field's value.

func (DeleteBackupSelectionInput) String Uses

func (s DeleteBackupSelectionInput) String() string

String returns the string representation

func (*DeleteBackupSelectionInput) Validate Uses

func (s *DeleteBackupSelectionInput) Validate() error

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

type DeleteBackupSelectionOutput Uses

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

func (DeleteBackupSelectionOutput) GoString Uses

func (s DeleteBackupSelectionOutput) GoString() string

GoString returns the string representation

func (DeleteBackupSelectionOutput) String Uses

func (s DeleteBackupSelectionOutput) String() string

String returns the string representation

type DeleteBackupVaultAccessPolicyInput Uses

type DeleteBackupVaultAccessPolicyInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBackupVaultAccessPolicyInput) GoString Uses

func (s DeleteBackupVaultAccessPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteBackupVaultAccessPolicyInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (DeleteBackupVaultAccessPolicyInput) String Uses

func (s DeleteBackupVaultAccessPolicyInput) String() string

String returns the string representation

func (*DeleteBackupVaultAccessPolicyInput) Validate Uses

func (s *DeleteBackupVaultAccessPolicyInput) Validate() error

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

type DeleteBackupVaultAccessPolicyOutput Uses

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

func (DeleteBackupVaultAccessPolicyOutput) GoString Uses

func (s DeleteBackupVaultAccessPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteBackupVaultAccessPolicyOutput) String Uses

func (s DeleteBackupVaultAccessPolicyOutput) String() string

String returns the string representation

type DeleteBackupVaultInput Uses

type DeleteBackupVaultInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // theAWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBackupVaultInput) GoString Uses

func (s DeleteBackupVaultInput) GoString() string

GoString returns the string representation

func (*DeleteBackupVaultInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (DeleteBackupVaultInput) String Uses

func (s DeleteBackupVaultInput) String() string

String returns the string representation

func (*DeleteBackupVaultInput) Validate Uses

func (s *DeleteBackupVaultInput) Validate() error

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

type DeleteBackupVaultNotificationsInput Uses

type DeleteBackupVaultNotificationsInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the Region where they are created. They consist of lowercase letters, numbers,
    // and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBackupVaultNotificationsInput) GoString Uses

func (s DeleteBackupVaultNotificationsInput) GoString() string

GoString returns the string representation

func (*DeleteBackupVaultNotificationsInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (DeleteBackupVaultNotificationsInput) String Uses

func (s DeleteBackupVaultNotificationsInput) String() string

String returns the string representation

func (*DeleteBackupVaultNotificationsInput) Validate Uses

func (s *DeleteBackupVaultNotificationsInput) Validate() error

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

type DeleteBackupVaultNotificationsOutput Uses

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

func (DeleteBackupVaultNotificationsOutput) GoString Uses

func (s DeleteBackupVaultNotificationsOutput) GoString() string

GoString returns the string representation

func (DeleteBackupVaultNotificationsOutput) String Uses

func (s DeleteBackupVaultNotificationsOutput) String() string

String returns the string representation

type DeleteBackupVaultOutput Uses

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

func (DeleteBackupVaultOutput) GoString Uses

func (s DeleteBackupVaultOutput) GoString() string

GoString returns the string representation

func (DeleteBackupVaultOutput) String Uses

func (s DeleteBackupVaultOutput) String() string

String returns the string representation

type DeleteRecoveryPointInput Uses

type DeleteRecoveryPointInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

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

func (DeleteRecoveryPointInput) GoString Uses

func (s DeleteRecoveryPointInput) GoString() string

GoString returns the string representation

func (*DeleteRecoveryPointInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*DeleteRecoveryPointInput) SetRecoveryPointArn Uses

func (s *DeleteRecoveryPointInput) SetRecoveryPointArn(v string) *DeleteRecoveryPointInput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (DeleteRecoveryPointInput) String Uses

func (s DeleteRecoveryPointInput) String() string

String returns the string representation

func (*DeleteRecoveryPointInput) Validate Uses

func (s *DeleteRecoveryPointInput) Validate() error

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

type DeleteRecoveryPointOutput Uses

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

func (DeleteRecoveryPointOutput) GoString Uses

func (s DeleteRecoveryPointOutput) GoString() string

GoString returns the string representation

func (DeleteRecoveryPointOutput) String Uses

func (s DeleteRecoveryPointOutput) String() string

String returns the string representation

type DescribeBackupJobInput Uses

type DescribeBackupJobInput struct {

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

func (DescribeBackupJobInput) GoString Uses

func (s DescribeBackupJobInput) GoString() string

GoString returns the string representation

func (*DescribeBackupJobInput) SetBackupJobId Uses

func (s *DescribeBackupJobInput) SetBackupJobId(v string) *DescribeBackupJobInput

SetBackupJobId sets the BackupJobId field's value.

func (DescribeBackupJobInput) String Uses

func (s DescribeBackupJobInput) String() string

String returns the string representation

func (*DescribeBackupJobInput) Validate Uses

func (s *DescribeBackupJobInput) Validate() error

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

type DescribeBackupJobOutput Uses

type DescribeBackupJobOutput struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (DescribeBackupJobOutput) GoString Uses

func (s DescribeBackupJobOutput) GoString() string

GoString returns the string representation

func (*DescribeBackupJobOutput) SetBackupJobId Uses

func (s *DescribeBackupJobOutput) SetBackupJobId(v string) *DescribeBackupJobOutput

SetBackupJobId sets the BackupJobId field's value.

func (*DescribeBackupJobOutput) SetBackupSizeInBytes Uses

func (s *DescribeBackupJobOutput) SetBackupSizeInBytes(v int64) *DescribeBackupJobOutput

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

func (*DescribeBackupJobOutput) SetBackupVaultArn Uses

func (s *DescribeBackupJobOutput) SetBackupVaultArn(v string) *DescribeBackupJobOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*DescribeBackupJobOutput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*DescribeBackupJobOutput) SetBytesTransferred Uses

func (s *DescribeBackupJobOutput) SetBytesTransferred(v int64) *DescribeBackupJobOutput

SetBytesTransferred sets the BytesTransferred field's value.

func (*DescribeBackupJobOutput) SetCompletionDate Uses

func (s *DescribeBackupJobOutput) SetCompletionDate(v time.Time) *DescribeBackupJobOutput

SetCompletionDate sets the CompletionDate field's value.

func (*DescribeBackupJobOutput) SetCreatedBy Uses

func (s *DescribeBackupJobOutput) SetCreatedBy(v *RecoveryPointCreator) *DescribeBackupJobOutput

SetCreatedBy sets the CreatedBy field's value.

func (*DescribeBackupJobOutput) SetCreationDate Uses

func (s *DescribeBackupJobOutput) SetCreationDate(v time.Time) *DescribeBackupJobOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeBackupJobOutput) SetExpectedCompletionDate Uses

func (s *DescribeBackupJobOutput) SetExpectedCompletionDate(v time.Time) *DescribeBackupJobOutput

SetExpectedCompletionDate sets the ExpectedCompletionDate field's value.

func (*DescribeBackupJobOutput) SetIamRoleArn Uses

func (s *DescribeBackupJobOutput) SetIamRoleArn(v string) *DescribeBackupJobOutput

SetIamRoleArn sets the IamRoleArn field's value.

func (*DescribeBackupJobOutput) SetPercentDone Uses

func (s *DescribeBackupJobOutput) SetPercentDone(v string) *DescribeBackupJobOutput

SetPercentDone sets the PercentDone field's value.

func (*DescribeBackupJobOutput) SetRecoveryPointArn Uses

func (s *DescribeBackupJobOutput) SetRecoveryPointArn(v string) *DescribeBackupJobOutput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (*DescribeBackupJobOutput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*DescribeBackupJobOutput) SetResourceType Uses

func (s *DescribeBackupJobOutput) SetResourceType(v string) *DescribeBackupJobOutput

SetResourceType sets the ResourceType field's value.

func (*DescribeBackupJobOutput) SetStartBy Uses

func (s *DescribeBackupJobOutput) SetStartBy(v time.Time) *DescribeBackupJobOutput

SetStartBy sets the StartBy field's value.

func (*DescribeBackupJobOutput) SetState Uses

func (s *DescribeBackupJobOutput) SetState(v string) *DescribeBackupJobOutput

SetState sets the State field's value.

func (*DescribeBackupJobOutput) SetStatusMessage Uses

func (s *DescribeBackupJobOutput) SetStatusMessage(v string) *DescribeBackupJobOutput

SetStatusMessage sets the StatusMessage field's value.

func (DescribeBackupJobOutput) String Uses

func (s DescribeBackupJobOutput) String() string

String returns the string representation

type DescribeBackupVaultInput Uses

type DescribeBackupVaultInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeBackupVaultInput) GoString Uses

func (s DescribeBackupVaultInput) GoString() string

GoString returns the string representation

func (*DescribeBackupVaultInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (DescribeBackupVaultInput) String Uses

func (s DescribeBackupVaultInput) String() string

String returns the string representation

func (*DescribeBackupVaultInput) Validate Uses

func (s *DescribeBackupVaultInput) Validate() error

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

type DescribeBackupVaultOutput Uses

type DescribeBackupVaultOutput struct {

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

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the Region where they are created. They consist of lowercase letters, numbers,
    // and hyphens.
    BackupVaultName *string `type:"string"`

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

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

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

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

func (DescribeBackupVaultOutput) GoString Uses

func (s DescribeBackupVaultOutput) GoString() string

GoString returns the string representation

func (*DescribeBackupVaultOutput) SetBackupVaultArn Uses

func (s *DescribeBackupVaultOutput) SetBackupVaultArn(v string) *DescribeBackupVaultOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*DescribeBackupVaultOutput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*DescribeBackupVaultOutput) SetCreationDate Uses

func (s *DescribeBackupVaultOutput) SetCreationDate(v time.Time) *DescribeBackupVaultOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeBackupVaultOutput) SetCreatorRequestId Uses

func (s *DescribeBackupVaultOutput) SetCreatorRequestId(v string) *DescribeBackupVaultOutput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*DescribeBackupVaultOutput) SetEncryptionKeyArn Uses

func (s *DescribeBackupVaultOutput) SetEncryptionKeyArn(v string) *DescribeBackupVaultOutput

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

func (*DescribeBackupVaultOutput) SetNumberOfRecoveryPoints Uses

func (s *DescribeBackupVaultOutput) SetNumberOfRecoveryPoints(v int64) *DescribeBackupVaultOutput

SetNumberOfRecoveryPoints sets the NumberOfRecoveryPoints field's value.

func (DescribeBackupVaultOutput) String Uses

func (s DescribeBackupVaultOutput) String() string

String returns the string representation

type DescribeProtectedResourceInput Uses

type DescribeProtectedResourceInput struct {

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

func (DescribeProtectedResourceInput) GoString Uses

func (s DescribeProtectedResourceInput) GoString() string

GoString returns the string representation

func (*DescribeProtectedResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (DescribeProtectedResourceInput) String Uses

func (s DescribeProtectedResourceInput) String() string

String returns the string representation

func (*DescribeProtectedResourceInput) Validate Uses

func (s *DescribeProtectedResourceInput) Validate() error

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

type DescribeProtectedResourceOutput Uses

type DescribeProtectedResourceOutput struct {

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

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

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

func (DescribeProtectedResourceOutput) GoString Uses

func (s DescribeProtectedResourceOutput) GoString() string

GoString returns the string representation

func (*DescribeProtectedResourceOutput) SetLastBackupTime Uses

func (s *DescribeProtectedResourceOutput) SetLastBackupTime(v time.Time) *DescribeProtectedResourceOutput

SetLastBackupTime sets the LastBackupTime field's value.

func (*DescribeProtectedResourceOutput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*DescribeProtectedResourceOutput) SetResourceType Uses

func (s *DescribeProtectedResourceOutput) SetResourceType(v string) *DescribeProtectedResourceOutput

SetResourceType sets the ResourceType field's value.

func (DescribeProtectedResourceOutput) String Uses

func (s DescribeProtectedResourceOutput) String() string

String returns the string representation

type DescribeRecoveryPointInput Uses

type DescribeRecoveryPointInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

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

func (DescribeRecoveryPointInput) GoString Uses

func (s DescribeRecoveryPointInput) GoString() string

GoString returns the string representation

func (*DescribeRecoveryPointInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*DescribeRecoveryPointInput) SetRecoveryPointArn Uses

func (s *DescribeRecoveryPointInput) SetRecoveryPointArn(v string) *DescribeRecoveryPointInput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (DescribeRecoveryPointInput) String Uses

func (s DescribeRecoveryPointInput) String() string

String returns the string representation

func (*DescribeRecoveryPointInput) Validate Uses

func (s *DescribeRecoveryPointInput) Validate() error

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

type DescribeRecoveryPointOutput Uses

type DescribeRecoveryPointOutput struct {

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

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

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the Region where they are created. They consist of lowercase letters, numbers,
    // and hyphens.
    BackupVaultName *string `type:"string"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (DescribeRecoveryPointOutput) GoString Uses

func (s DescribeRecoveryPointOutput) GoString() string

GoString returns the string representation

func (*DescribeRecoveryPointOutput) SetBackupSizeInBytes Uses

func (s *DescribeRecoveryPointOutput) SetBackupSizeInBytes(v int64) *DescribeRecoveryPointOutput

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

func (*DescribeRecoveryPointOutput) SetBackupVaultArn Uses

func (s *DescribeRecoveryPointOutput) SetBackupVaultArn(v string) *DescribeRecoveryPointOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*DescribeRecoveryPointOutput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*DescribeRecoveryPointOutput) SetCalculatedLifecycle Uses

func (s *DescribeRecoveryPointOutput) SetCalculatedLifecycle(v *CalculatedLifecycle) *DescribeRecoveryPointOutput

SetCalculatedLifecycle sets the CalculatedLifecycle field's value.

func (*DescribeRecoveryPointOutput) SetCompletionDate Uses

func (s *DescribeRecoveryPointOutput) SetCompletionDate(v time.Time) *DescribeRecoveryPointOutput

SetCompletionDate sets the CompletionDate field's value.

func (*DescribeRecoveryPointOutput) SetCreatedBy Uses

func (s *DescribeRecoveryPointOutput) SetCreatedBy(v *RecoveryPointCreator) *DescribeRecoveryPointOutput

SetCreatedBy sets the CreatedBy field's value.

func (*DescribeRecoveryPointOutput) SetCreationDate Uses

func (s *DescribeRecoveryPointOutput) SetCreationDate(v time.Time) *DescribeRecoveryPointOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeRecoveryPointOutput) SetEncryptionKeyArn Uses

func (s *DescribeRecoveryPointOutput) SetEncryptionKeyArn(v string) *DescribeRecoveryPointOutput

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

func (*DescribeRecoveryPointOutput) SetIamRoleArn Uses

func (s *DescribeRecoveryPointOutput) SetIamRoleArn(v string) *DescribeRecoveryPointOutput

SetIamRoleArn sets the IamRoleArn field's value.

func (*DescribeRecoveryPointOutput) SetIsEncrypted Uses

func (s *DescribeRecoveryPointOutput) SetIsEncrypted(v bool) *DescribeRecoveryPointOutput

SetIsEncrypted sets the IsEncrypted field's value.

func (*DescribeRecoveryPointOutput) SetLastRestoreTime Uses

func (s *DescribeRecoveryPointOutput) SetLastRestoreTime(v time.Time) *DescribeRecoveryPointOutput

SetLastRestoreTime sets the LastRestoreTime field's value.

func (*DescribeRecoveryPointOutput) SetLifecycle Uses

func (s *DescribeRecoveryPointOutput) SetLifecycle(v *Lifecycle) *DescribeRecoveryPointOutput

SetLifecycle sets the Lifecycle field's value.

func (*DescribeRecoveryPointOutput) SetRecoveryPointArn Uses

func (s *DescribeRecoveryPointOutput) SetRecoveryPointArn(v string) *DescribeRecoveryPointOutput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (*DescribeRecoveryPointOutput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*DescribeRecoveryPointOutput) SetResourceType Uses

func (s *DescribeRecoveryPointOutput) SetResourceType(v string) *DescribeRecoveryPointOutput

SetResourceType sets the ResourceType field's value.

func (*DescribeRecoveryPointOutput) SetStatus Uses

func (s *DescribeRecoveryPointOutput) SetStatus(v string) *DescribeRecoveryPointOutput

SetStatus sets the Status field's value.

func (*DescribeRecoveryPointOutput) SetStorageClass Uses

func (s *DescribeRecoveryPointOutput) SetStorageClass(v string) *DescribeRecoveryPointOutput

SetStorageClass sets the StorageClass field's value.

func (DescribeRecoveryPointOutput) String Uses

func (s DescribeRecoveryPointOutput) String() string

String returns the string representation

type DescribeRestoreJobInput Uses

type DescribeRestoreJobInput struct {

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

func (DescribeRestoreJobInput) GoString Uses

func (s DescribeRestoreJobInput) GoString() string

GoString returns the string representation

func (*DescribeRestoreJobInput) SetRestoreJobId Uses

func (s *DescribeRestoreJobInput) SetRestoreJobId(v string) *DescribeRestoreJobInput

SetRestoreJobId sets the RestoreJobId field's value.

func (DescribeRestoreJobInput) String Uses

func (s DescribeRestoreJobInput) String() string

String returns the string representation

func (*DescribeRestoreJobInput) Validate Uses

func (s *DescribeRestoreJobInput) Validate() error

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

type DescribeRestoreJobOutput Uses

type DescribeRestoreJobOutput struct {

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

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

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

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

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

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

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

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

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

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

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

func (DescribeRestoreJobOutput) GoString Uses

func (s DescribeRestoreJobOutput) GoString() string

GoString returns the string representation

func (*DescribeRestoreJobOutput) SetBackupSizeInBytes Uses

func (s *DescribeRestoreJobOutput) SetBackupSizeInBytes(v int64) *DescribeRestoreJobOutput

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

func (*DescribeRestoreJobOutput) SetCompletionDate Uses

func (s *DescribeRestoreJobOutput) SetCompletionDate(v time.Time) *DescribeRestoreJobOutput

SetCompletionDate sets the CompletionDate field's value.

func (*DescribeRestoreJobOutput) SetCreatedResourceArn Uses

func (s *DescribeRestoreJobOutput) SetCreatedResourceArn(v string) *DescribeRestoreJobOutput

SetCreatedResourceArn sets the CreatedResourceArn field's value.

func (*DescribeRestoreJobOutput) SetCreationDate Uses

func (s *DescribeRestoreJobOutput) SetCreationDate(v time.Time) *DescribeRestoreJobOutput

SetCreationDate sets the CreationDate field's value.

func (*DescribeRestoreJobOutput) SetExpectedCompletionTimeMinutes Uses

func (s *DescribeRestoreJobOutput) SetExpectedCompletionTimeMinutes(v int64) *DescribeRestoreJobOutput

SetExpectedCompletionTimeMinutes sets the ExpectedCompletionTimeMinutes field's value.

func (*DescribeRestoreJobOutput) SetIamRoleArn Uses

func (s *DescribeRestoreJobOutput) SetIamRoleArn(v string) *DescribeRestoreJobOutput

SetIamRoleArn sets the IamRoleArn field's value.

func (*DescribeRestoreJobOutput) SetPercentDone Uses

func (s *DescribeRestoreJobOutput) SetPercentDone(v string) *DescribeRestoreJobOutput

SetPercentDone sets the PercentDone field's value.

func (*DescribeRestoreJobOutput) SetRecoveryPointArn Uses

func (s *DescribeRestoreJobOutput) SetRecoveryPointArn(v string) *DescribeRestoreJobOutput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (*DescribeRestoreJobOutput) SetRestoreJobId Uses

func (s *DescribeRestoreJobOutput) SetRestoreJobId(v string) *DescribeRestoreJobOutput

SetRestoreJobId sets the RestoreJobId field's value.

func (*DescribeRestoreJobOutput) SetStatus Uses

func (s *DescribeRestoreJobOutput) SetStatus(v string) *DescribeRestoreJobOutput

SetStatus sets the Status field's value.

func (*DescribeRestoreJobOutput) SetStatusMessage Uses

func (s *DescribeRestoreJobOutput) SetStatusMessage(v string) *DescribeRestoreJobOutput

SetStatusMessage sets the StatusMessage field's value.

func (DescribeRestoreJobOutput) String Uses

func (s DescribeRestoreJobOutput) String() string

String returns the string representation

type ExportBackupPlanTemplateInput Uses

type ExportBackupPlanTemplateInput struct {

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

func (ExportBackupPlanTemplateInput) GoString Uses

func (s ExportBackupPlanTemplateInput) GoString() string

GoString returns the string representation

func (*ExportBackupPlanTemplateInput) SetBackupPlanId Uses

func (s *ExportBackupPlanTemplateInput) SetBackupPlanId(v string) *ExportBackupPlanTemplateInput

SetBackupPlanId sets the BackupPlanId field's value.

func (ExportBackupPlanTemplateInput) String Uses

func (s ExportBackupPlanTemplateInput) String() string

String returns the string representation

func (*ExportBackupPlanTemplateInput) Validate Uses

func (s *ExportBackupPlanTemplateInput) Validate() error

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

type ExportBackupPlanTemplateOutput Uses

type ExportBackupPlanTemplateOutput struct {

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

func (ExportBackupPlanTemplateOutput) GoString Uses

func (s ExportBackupPlanTemplateOutput) GoString() string

GoString returns the string representation

func (*ExportBackupPlanTemplateOutput) SetBackupPlanTemplateJson Uses

func (s *ExportBackupPlanTemplateOutput) SetBackupPlanTemplateJson(v string) *ExportBackupPlanTemplateOutput

SetBackupPlanTemplateJson sets the BackupPlanTemplateJson field's value.

func (ExportBackupPlanTemplateOutput) String Uses

func (s ExportBackupPlanTemplateOutput) String() string

String returns the string representation

type GetBackupPlanFromJSONInput Uses

type GetBackupPlanFromJSONInput struct {

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

func (GetBackupPlanFromJSONInput) GoString Uses

func (s GetBackupPlanFromJSONInput) GoString() string

GoString returns the string representation

func (*GetBackupPlanFromJSONInput) SetBackupPlanTemplateJson Uses

func (s *GetBackupPlanFromJSONInput) SetBackupPlanTemplateJson(v string) *GetBackupPlanFromJSONInput

SetBackupPlanTemplateJson sets the BackupPlanTemplateJson field's value.

func (GetBackupPlanFromJSONInput) String Uses

func (s GetBackupPlanFromJSONInput) String() string

String returns the string representation

func (*GetBackupPlanFromJSONInput) Validate Uses

func (s *GetBackupPlanFromJSONInput) Validate() error

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

type GetBackupPlanFromJSONOutput Uses

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
}

func (GetBackupPlanFromJSONOutput) GoString Uses

func (s GetBackupPlanFromJSONOutput) GoString() string

GoString returns the string representation

func (*GetBackupPlanFromJSONOutput) SetBackupPlan Uses

func (s *GetBackupPlanFromJSONOutput) SetBackupPlan(v *Plan) *GetBackupPlanFromJSONOutput

SetBackupPlan sets the BackupPlan field's value.

func (GetBackupPlanFromJSONOutput) String Uses

func (s GetBackupPlanFromJSONOutput) String() string

String returns the string representation

type GetBackupPlanFromTemplateInput Uses

type GetBackupPlanFromTemplateInput struct {

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

func (GetBackupPlanFromTemplateInput) GoString Uses

func (s GetBackupPlanFromTemplateInput) GoString() string

GoString returns the string representation

func (*GetBackupPlanFromTemplateInput) SetBackupPlanTemplateId Uses

func (s *GetBackupPlanFromTemplateInput) SetBackupPlanTemplateId(v string) *GetBackupPlanFromTemplateInput

SetBackupPlanTemplateId sets the BackupPlanTemplateId field's value.

func (GetBackupPlanFromTemplateInput) String Uses

func (s GetBackupPlanFromTemplateInput) String() string

String returns the string representation

func (*GetBackupPlanFromTemplateInput) Validate Uses

func (s *GetBackupPlanFromTemplateInput) Validate() error

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

type GetBackupPlanFromTemplateOutput Uses

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
}

func (GetBackupPlanFromTemplateOutput) GoString Uses

func (s GetBackupPlanFromTemplateOutput) GoString() string

GoString returns the string representation

func (*GetBackupPlanFromTemplateOutput) SetBackupPlanDocument Uses

func (s *GetBackupPlanFromTemplateOutput) SetBackupPlanDocument(v *Plan) *GetBackupPlanFromTemplateOutput

SetBackupPlanDocument sets the BackupPlanDocument field's value.

func (GetBackupPlanFromTemplateOutput) String Uses

func (s GetBackupPlanFromTemplateOutput) String() string

String returns the string representation

type GetBackupPlanInput Uses

type GetBackupPlanInput struct {

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

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

func (GetBackupPlanInput) GoString Uses

func (s GetBackupPlanInput) GoString() string

GoString returns the string representation

func (*GetBackupPlanInput) SetBackupPlanId Uses

func (s *GetBackupPlanInput) SetBackupPlanId(v string) *GetBackupPlanInput

SetBackupPlanId sets the BackupPlanId field's value.

func (*GetBackupPlanInput) SetVersionId Uses

func (s *GetBackupPlanInput) SetVersionId(v string) *GetBackupPlanInput

SetVersionId sets the VersionId field's value.

func (GetBackupPlanInput) String Uses

func (s GetBackupPlanInput) String() string

String returns the string representation

func (*GetBackupPlanInput) Validate Uses

func (s *GetBackupPlanInput) Validate() error

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

type GetBackupPlanOutput Uses

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

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

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

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

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

func (GetBackupPlanOutput) GoString Uses

func (s GetBackupPlanOutput) GoString() string

GoString returns the string representation

func (*GetBackupPlanOutput) SetBackupPlan Uses

func (s *GetBackupPlanOutput) SetBackupPlan(v *Plan) *GetBackupPlanOutput

SetBackupPlan sets the BackupPlan field's value.

func (*GetBackupPlanOutput) SetBackupPlanArn Uses

func (s *GetBackupPlanOutput) SetBackupPlanArn(v string) *GetBackupPlanOutput

SetBackupPlanArn sets the BackupPlanArn field's value.

func (*GetBackupPlanOutput) SetBackupPlanId Uses

func (s *GetBackupPlanOutput) SetBackupPlanId(v string) *GetBackupPlanOutput

SetBackupPlanId sets the BackupPlanId field's value.

func (*GetBackupPlanOutput) SetCreationDate Uses

func (s *GetBackupPlanOutput) SetCreationDate(v time.Time) *GetBackupPlanOutput

SetCreationDate sets the CreationDate field's value.

func (*GetBackupPlanOutput) SetCreatorRequestId Uses

func (s *GetBackupPlanOutput) SetCreatorRequestId(v string) *GetBackupPlanOutput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*GetBackupPlanOutput) SetDeletionDate Uses

func (s *GetBackupPlanOutput) SetDeletionDate(v time.Time) *GetBackupPlanOutput

SetDeletionDate sets the DeletionDate field's value.

func (*GetBackupPlanOutput) SetLastExecutionDate Uses

func (s *GetBackupPlanOutput) SetLastExecutionDate(v time.Time) *GetBackupPlanOutput

SetLastExecutionDate sets the LastExecutionDate field's value.

func (*GetBackupPlanOutput) SetVersionId Uses

func (s *GetBackupPlanOutput) SetVersionId(v string) *GetBackupPlanOutput

SetVersionId sets the VersionId field's value.

func (GetBackupPlanOutput) String Uses

func (s GetBackupPlanOutput) String() string

String returns the string representation

type GetBackupSelectionInput Uses

type GetBackupSelectionInput struct {

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

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

func (GetBackupSelectionInput) GoString Uses

func (s GetBackupSelectionInput) GoString() string

GoString returns the string representation

func (*GetBackupSelectionInput) SetBackupPlanId Uses

func (s *GetBackupSelectionInput) SetBackupPlanId(v string) *GetBackupSelectionInput

SetBackupPlanId sets the BackupPlanId field's value.

func (*GetBackupSelectionInput) SetSelectionId Uses

func (s *GetBackupSelectionInput) SetSelectionId(v string) *GetBackupSelectionInput

SetSelectionId sets the SelectionId field's value.

func (GetBackupSelectionInput) String Uses

func (s GetBackupSelectionInput) String() string

String returns the string representation

func (*GetBackupSelectionInput) Validate Uses

func (s *GetBackupSelectionInput) Validate() error

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

type GetBackupSelectionOutput Uses

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

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

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

func (GetBackupSelectionOutput) GoString Uses

func (s GetBackupSelectionOutput) GoString() string

GoString returns the string representation

func (*GetBackupSelectionOutput) SetBackupPlanId Uses

func (s *GetBackupSelectionOutput) SetBackupPlanId(v string) *GetBackupSelectionOutput

SetBackupPlanId sets the BackupPlanId field's value.

func (*GetBackupSelectionOutput) SetBackupSelection Uses

func (s *GetBackupSelectionOutput) SetBackupSelection(v *Selection) *GetBackupSelectionOutput

SetBackupSelection sets the BackupSelection field's value.

func (*GetBackupSelectionOutput) SetCreationDate Uses

func (s *GetBackupSelectionOutput) SetCreationDate(v time.Time) *GetBackupSelectionOutput

SetCreationDate sets the CreationDate field's value.

func (*GetBackupSelectionOutput) SetCreatorRequestId Uses

func (s *GetBackupSelectionOutput) SetCreatorRequestId(v string) *GetBackupSelectionOutput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*GetBackupSelectionOutput) SetSelectionId Uses

func (s *GetBackupSelectionOutput) SetSelectionId(v string) *GetBackupSelectionOutput

SetSelectionId sets the SelectionId field's value.

func (GetBackupSelectionOutput) String Uses

func (s GetBackupSelectionOutput) String() string

String returns the string representation

type GetBackupVaultAccessPolicyInput Uses

type GetBackupVaultAccessPolicyInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBackupVaultAccessPolicyInput) GoString Uses

func (s GetBackupVaultAccessPolicyInput) GoString() string

GoString returns the string representation

func (*GetBackupVaultAccessPolicyInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (GetBackupVaultAccessPolicyInput) String Uses

func (s GetBackupVaultAccessPolicyInput) String() string

String returns the string representation

func (*GetBackupVaultAccessPolicyInput) Validate Uses

func (s *GetBackupVaultAccessPolicyInput) Validate() error

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

type GetBackupVaultAccessPolicyOutput Uses

type GetBackupVaultAccessPolicyOutput struct {

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

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the Region where they are created. They consist of lowercase letters, numbers,
    // and hyphens.
    BackupVaultName *string `type:"string"`

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

func (GetBackupVaultAccessPolicyOutput) GoString Uses

func (s GetBackupVaultAccessPolicyOutput) GoString() string

GoString returns the string representation

func (*GetBackupVaultAccessPolicyOutput) SetBackupVaultArn Uses

func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultArn(v string) *GetBackupVaultAccessPolicyOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*GetBackupVaultAccessPolicyOutput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*GetBackupVaultAccessPolicyOutput) SetPolicy Uses

func (s *GetBackupVaultAccessPolicyOutput) SetPolicy(v string) *GetBackupVaultAccessPolicyOutput

SetPolicy sets the Policy field's value.

func (GetBackupVaultAccessPolicyOutput) String Uses

func (s GetBackupVaultAccessPolicyOutput) String() string

String returns the string representation

type GetBackupVaultNotificationsInput Uses

type GetBackupVaultNotificationsInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetBackupVaultNotificationsInput) GoString Uses

func (s GetBackupVaultNotificationsInput) GoString() string

GoString returns the string representation

func (*GetBackupVaultNotificationsInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (GetBackupVaultNotificationsInput) String Uses

func (s GetBackupVaultNotificationsInput) String() string

String returns the string representation

func (*GetBackupVaultNotificationsInput) Validate Uses

func (s *GetBackupVaultNotificationsInput) Validate() error

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

type GetBackupVaultNotificationsOutput Uses

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 []*string `type:"list"`

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the Region where they are created. They consist of lowercase letters, numbers,
    // and hyphens.
    BackupVaultName *string `type:"string"`

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

func (GetBackupVaultNotificationsOutput) GoString Uses

func (s GetBackupVaultNotificationsOutput) GoString() string

GoString returns the string representation

func (*GetBackupVaultNotificationsOutput) SetBackupVaultArn Uses

func (s *GetBackupVaultNotificationsOutput) SetBackupVaultArn(v string) *GetBackupVaultNotificationsOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*GetBackupVaultNotificationsOutput) SetBackupVaultEvents Uses

func (s *GetBackupVaultNotificationsOutput) SetBackupVaultEvents(v []*string) *GetBackupVaultNotificationsOutput

SetBackupVaultEvents sets the BackupVaultEvents field's value.

func (*GetBackupVaultNotificationsOutput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*GetBackupVaultNotificationsOutput) SetSNSTopicArn Uses

func (s *GetBackupVaultNotificationsOutput) SetSNSTopicArn(v string) *GetBackupVaultNotificationsOutput

SetSNSTopicArn sets the SNSTopicArn field's value.

func (GetBackupVaultNotificationsOutput) String Uses

func (s GetBackupVaultNotificationsOutput) String() string

String returns the string representation

type GetRecoveryPointRestoreMetadataInput Uses

type GetRecoveryPointRestoreMetadataInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

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

func (GetRecoveryPointRestoreMetadataInput) GoString Uses

func (s GetRecoveryPointRestoreMetadataInput) GoString() string

GoString returns the string representation

func (*GetRecoveryPointRestoreMetadataInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*GetRecoveryPointRestoreMetadataInput) SetRecoveryPointArn Uses

func (s *GetRecoveryPointRestoreMetadataInput) SetRecoveryPointArn(v string) *GetRecoveryPointRestoreMetadataInput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (GetRecoveryPointRestoreMetadataInput) String Uses

func (s GetRecoveryPointRestoreMetadataInput) String() string

String returns the string representation

func (*GetRecoveryPointRestoreMetadataInput) Validate Uses

func (s *GetRecoveryPointRestoreMetadataInput) Validate() error

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

type GetRecoveryPointRestoreMetadataOutput Uses

type GetRecoveryPointRestoreMetadataOutput struct {

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

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

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

func (GetRecoveryPointRestoreMetadataOutput) GoString Uses

func (s GetRecoveryPointRestoreMetadataOutput) GoString() string

GoString returns the string representation

func (*GetRecoveryPointRestoreMetadataOutput) SetBackupVaultArn Uses

func (s *GetRecoveryPointRestoreMetadataOutput) SetBackupVaultArn(v string) *GetRecoveryPointRestoreMetadataOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*GetRecoveryPointRestoreMetadataOutput) SetRecoveryPointArn Uses

func (s *GetRecoveryPointRestoreMetadataOutput) SetRecoveryPointArn(v string) *GetRecoveryPointRestoreMetadataOutput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (*GetRecoveryPointRestoreMetadataOutput) SetRestoreMetadata Uses

func (s *GetRecoveryPointRestoreMetadataOutput) SetRestoreMetadata(v map[string]*string) *GetRecoveryPointRestoreMetadataOutput

SetRestoreMetadata sets the RestoreMetadata field's value.

func (GetRecoveryPointRestoreMetadataOutput) String Uses

func (s GetRecoveryPointRestoreMetadataOutput) String() string

String returns the string representation

type GetSupportedResourceTypesInput Uses

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

func (GetSupportedResourceTypesInput) GoString Uses

func (s GetSupportedResourceTypesInput) GoString() string

GoString returns the string representation

func (GetSupportedResourceTypesInput) String Uses

func (s GetSupportedResourceTypesInput) String() string

String returns the string representation

type GetSupportedResourceTypesOutput Uses

type GetSupportedResourceTypesOutput struct {

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

func (GetSupportedResourceTypesOutput) GoString Uses

func (s GetSupportedResourceTypesOutput) GoString() string

GoString returns the string representation

func (*GetSupportedResourceTypesOutput) SetResourceTypes Uses

func (s *GetSupportedResourceTypesOutput) SetResourceTypes(v []*string) *GetSupportedResourceTypesOutput

SetResourceTypes sets the ResourceTypes field's value.

func (GetSupportedResourceTypesOutput) String Uses

func (s GetSupportedResourceTypesOutput) String() string

String returns the string representation

type Job Uses

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

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

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

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

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

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

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

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

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

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

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

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

Contains detailed information about a backup job.

func (Job) GoString Uses

func (s Job) GoString() string

GoString returns the string representation

func (*Job) SetBackupJobId Uses

func (s *Job) SetBackupJobId(v string) *Job

SetBackupJobId sets the BackupJobId field's value.

func (*Job) SetBackupSizeInBytes Uses

func (s *Job) SetBackupSizeInBytes(v int64) *Job

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

func (*Job) SetBackupVaultArn Uses

func (s *Job) SetBackupVaultArn(v string) *Job

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*Job) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*Job) SetBytesTransferred Uses

func (s *Job) SetBytesTransferred(v int64) *Job

SetBytesTransferred sets the BytesTransferred field's value.

func (*Job) SetCompletionDate Uses

func (s *Job) SetCompletionDate(v time.Time) *Job

SetCompletionDate sets the CompletionDate field's value.

func (*Job) SetCreatedBy Uses

func (s *Job) SetCreatedBy(v *RecoveryPointCreator) *Job

SetCreatedBy sets the CreatedBy field's value.

func (*Job) SetCreationDate Uses

func (s *Job) SetCreationDate(v time.Time) *Job

SetCreationDate sets the CreationDate field's value.

func (*Job) SetExpectedCompletionDate Uses

func (s *Job) SetExpectedCompletionDate(v time.Time) *Job

SetExpectedCompletionDate sets the ExpectedCompletionDate field's value.

func (*Job) SetIamRoleArn Uses

func (s *Job) SetIamRoleArn(v string) *Job

SetIamRoleArn sets the IamRoleArn field's value.

func (*Job) SetPercentDone Uses

func (s *Job) SetPercentDone(v string) *Job

SetPercentDone sets the PercentDone field's value.

func (*Job) SetRecoveryPointArn Uses

func (s *Job) SetRecoveryPointArn(v string) *Job

SetRecoveryPointArn sets the RecoveryPointArn field's value.

func (*Job) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*Job) SetResourceType Uses

func (s *Job) SetResourceType(v string) *Job

SetResourceType sets the ResourceType field's value.

func (*Job) SetStartBy Uses

func (s *Job) SetStartBy(v time.Time) *Job

SetStartBy sets the StartBy field's value.

func (*Job) SetState Uses

func (s *Job) SetState(v string) *Job

SetState sets the State field's value.

func (*Job) SetStatusMessage Uses

func (s *Job) SetStatusMessage(v string) *Job

SetStatusMessage sets the StatusMessage field's value.

func (Job) String Uses

func (s Job) String() string

String returns the string representation

type Lifecycle Uses

type Lifecycle struct {

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

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

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

func (Lifecycle) GoString Uses

func (s Lifecycle) GoString() string

GoString returns the string representation

func (*Lifecycle) SetDeleteAfterDays Uses

func (s *Lifecycle) SetDeleteAfterDays(v int64) *Lifecycle

SetDeleteAfterDays sets the DeleteAfterDays field's value.

func (*Lifecycle) SetMoveToColdStorageAfterDays Uses

func (s *Lifecycle) SetMoveToColdStorageAfterDays(v int64) *Lifecycle

SetMoveToColdStorageAfterDays sets the MoveToColdStorageAfterDays field's value.

func (Lifecycle) String Uses

func (s Lifecycle) String() string

String returns the string representation

type ListBackupJobsInput Uses

type ListBackupJobsInput struct {

    // Returns only backup jobs that will be stored in the specified backup vault.
    // Backup vaults are identified by names that are unique to the account used
    // to create them and the AWS Region where they are created. They consist of
    // lowercase letters, numbers, and hyphens.
    ByBackupVaultName *string `location:"querystring" locationName:"backupVaultName" type:"string"`

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

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

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

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

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

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBackupJobsInput) GoString Uses

func (s ListBackupJobsInput) GoString() string

GoString returns the string representation

func (*ListBackupJobsInput) SetByBackupVaultName Uses

func (s *ListBackupJobsInput) SetByBackupVaultName(v string) *ListBackupJobsInput

SetByBackupVaultName sets the ByBackupVaultName field's value.

func (*ListBackupJobsInput) SetByCreatedAfter Uses

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

SetByCreatedAfter sets the ByCreatedAfter field's value.

func (*ListBackupJobsInput) SetByCreatedBefore Uses

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

SetByCreatedBefore sets the ByCreatedBefore field's value.

func (*ListBackupJobsInput) SetByResourceArn Uses

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

SetByResourceArn sets the ByResourceArn field's value.

func (*ListBackupJobsInput) SetByResourceType Uses

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

SetByResourceType sets the ByResourceType field's value.

func (*ListBackupJobsInput) SetByState Uses

func (s *ListBackupJobsInput) SetByState(v string) *ListBackupJobsInput

SetByState sets the ByState field's value.

func (*ListBackupJobsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListBackupJobsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupJobsInput) String Uses

func (s ListBackupJobsInput) String() string

String returns the string representation

func (*ListBackupJobsInput) Validate Uses

func (s *ListBackupJobsInput) Validate() error

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

type ListBackupJobsOutput Uses

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
}

func (ListBackupJobsOutput) GoString Uses

func (s ListBackupJobsOutput) GoString() string

GoString returns the string representation

func (*ListBackupJobsOutput) SetBackupJobs Uses

func (s *ListBackupJobsOutput) SetBackupJobs(v []*Job) *ListBackupJobsOutput

SetBackupJobs sets the BackupJobs field's value.

func (*ListBackupJobsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupJobsOutput) String Uses

func (s ListBackupJobsOutput) String() string

String returns the string representation

type ListBackupPlanTemplatesInput Uses

type ListBackupPlanTemplatesInput struct {

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBackupPlanTemplatesInput) GoString Uses

func (s ListBackupPlanTemplatesInput) GoString() string

GoString returns the string representation

func (*ListBackupPlanTemplatesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListBackupPlanTemplatesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupPlanTemplatesInput) String Uses

func (s ListBackupPlanTemplatesInput) String() string

String returns the string representation

func (*ListBackupPlanTemplatesInput) Validate Uses

func (s *ListBackupPlanTemplatesInput) Validate() error

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

type ListBackupPlanTemplatesOutput Uses

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
}

func (ListBackupPlanTemplatesOutput) GoString Uses

func (s ListBackupPlanTemplatesOutput) GoString() string

GoString returns the string representation

func (*ListBackupPlanTemplatesOutput) SetBackupPlanTemplatesList Uses

func (s *ListBackupPlanTemplatesOutput) SetBackupPlanTemplatesList(v []*PlanTemplatesListMember) *ListBackupPlanTemplatesOutput

SetBackupPlanTemplatesList sets the BackupPlanTemplatesList field's value.

func (*ListBackupPlanTemplatesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupPlanTemplatesOutput) String Uses

func (s ListBackupPlanTemplatesOutput) String() string

String returns the string representation

type ListBackupPlanVersionsInput Uses

type ListBackupPlanVersionsInput struct {

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

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBackupPlanVersionsInput) GoString Uses

func (s ListBackupPlanVersionsInput) GoString() string

GoString returns the string representation

func (*ListBackupPlanVersionsInput) SetBackupPlanId Uses

func (s *ListBackupPlanVersionsInput) SetBackupPlanId(v string) *ListBackupPlanVersionsInput

SetBackupPlanId sets the BackupPlanId field's value.

func (*ListBackupPlanVersionsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListBackupPlanVersionsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupPlanVersionsInput) String Uses

func (s ListBackupPlanVersionsInput) String() string

String returns the string representation

func (*ListBackupPlanVersionsInput) Validate Uses

func (s *ListBackupPlanVersionsInput) Validate() error

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

type ListBackupPlanVersionsOutput Uses

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
}

func (ListBackupPlanVersionsOutput) GoString Uses

func (s ListBackupPlanVersionsOutput) GoString() string

GoString returns the string representation

func (*ListBackupPlanVersionsOutput) SetBackupPlanVersionsList Uses

func (s *ListBackupPlanVersionsOutput) SetBackupPlanVersionsList(v []*PlansListMember) *ListBackupPlanVersionsOutput

SetBackupPlanVersionsList sets the BackupPlanVersionsList field's value.

func (*ListBackupPlanVersionsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupPlanVersionsOutput) String Uses

func (s ListBackupPlanVersionsOutput) String() string

String returns the string representation

type ListBackupPlansInput Uses

type ListBackupPlansInput struct {

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

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBackupPlansInput) GoString Uses

func (s ListBackupPlansInput) GoString() string

GoString returns the string representation

func (*ListBackupPlansInput) SetIncludeDeleted Uses

func (s *ListBackupPlansInput) SetIncludeDeleted(v bool) *ListBackupPlansInput

SetIncludeDeleted sets the IncludeDeleted field's value.

func (*ListBackupPlansInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListBackupPlansInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupPlansInput) String Uses

func (s ListBackupPlansInput) String() string

String returns the string representation

func (*ListBackupPlansInput) Validate Uses

func (s *ListBackupPlansInput) Validate() error

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

type ListBackupPlansOutput Uses

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
}

func (ListBackupPlansOutput) GoString Uses

func (s ListBackupPlansOutput) GoString() string

GoString returns the string representation

func (*ListBackupPlansOutput) SetBackupPlansList Uses

func (s *ListBackupPlansOutput) SetBackupPlansList(v []*PlansListMember) *ListBackupPlansOutput

SetBackupPlansList sets the BackupPlansList field's value.

func (*ListBackupPlansOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupPlansOutput) String Uses

func (s ListBackupPlansOutput) String() string

String returns the string representation

type ListBackupSelectionsInput Uses

type ListBackupSelectionsInput struct {

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

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBackupSelectionsInput) GoString Uses

func (s ListBackupSelectionsInput) GoString() string

GoString returns the string representation

func (*ListBackupSelectionsInput) SetBackupPlanId Uses

func (s *ListBackupSelectionsInput) SetBackupPlanId(v string) *ListBackupSelectionsInput

SetBackupPlanId sets the BackupPlanId field's value.

func (*ListBackupSelectionsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListBackupSelectionsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupSelectionsInput) String Uses

func (s ListBackupSelectionsInput) String() string

String returns the string representation

func (*ListBackupSelectionsInput) Validate Uses

func (s *ListBackupSelectionsInput) Validate() error

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

type ListBackupSelectionsOutput Uses

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
}

func (ListBackupSelectionsOutput) GoString Uses

func (s ListBackupSelectionsOutput) GoString() string

GoString returns the string representation

func (*ListBackupSelectionsOutput) SetBackupSelectionsList Uses

func (s *ListBackupSelectionsOutput) SetBackupSelectionsList(v []*SelectionsListMember) *ListBackupSelectionsOutput

SetBackupSelectionsList sets the BackupSelectionsList field's value.

func (*ListBackupSelectionsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupSelectionsOutput) String Uses

func (s ListBackupSelectionsOutput) String() string

String returns the string representation

type ListBackupVaultsInput Uses

type ListBackupVaultsInput struct {

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBackupVaultsInput) GoString Uses

func (s ListBackupVaultsInput) GoString() string

GoString returns the string representation

func (*ListBackupVaultsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListBackupVaultsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupVaultsInput) String Uses

func (s ListBackupVaultsInput) String() string

String returns the string representation

func (*ListBackupVaultsInput) Validate Uses

func (s *ListBackupVaultsInput) Validate() error

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

type ListBackupVaultsOutput Uses

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
}

func (ListBackupVaultsOutput) GoString Uses

func (s ListBackupVaultsOutput) GoString() string

GoString returns the string representation

func (*ListBackupVaultsOutput) SetBackupVaultList Uses

func (s *ListBackupVaultsOutput) SetBackupVaultList(v []*VaultListMember) *ListBackupVaultsOutput

SetBackupVaultList sets the BackupVaultList field's value.

func (*ListBackupVaultsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListBackupVaultsOutput) String Uses

func (s ListBackupVaultsOutput) String() string

String returns the string representation

type ListProtectedResourcesInput Uses

type ListProtectedResourcesInput struct {

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListProtectedResourcesInput) GoString Uses

func (s ListProtectedResourcesInput) GoString() string

GoString returns the string representation

func (*ListProtectedResourcesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListProtectedResourcesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListProtectedResourcesInput) String Uses

func (s ListProtectedResourcesInput) String() string

String returns the string representation

func (*ListProtectedResourcesInput) Validate Uses

func (s *ListProtectedResourcesInput) Validate() error

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

type ListProtectedResourcesOutput Uses

type ListProtectedResourcesOutput struct {

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

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

func (ListProtectedResourcesOutput) GoString Uses

func (s ListProtectedResourcesOutput) GoString() string

GoString returns the string representation

func (*ListProtectedResourcesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListProtectedResourcesOutput) SetResults Uses

func (s *ListProtectedResourcesOutput) SetResults(v []*ProtectedResource) *ListProtectedResourcesOutput

SetResults sets the Results field's value.

func (ListProtectedResourcesOutput) String Uses

func (s ListProtectedResourcesOutput) String() string

String returns the string representation

type ListRecoveryPointsByBackupVaultInput Uses

type ListRecoveryPointsByBackupVaultInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

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

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

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

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

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

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListRecoveryPointsByBackupVaultInput) GoString Uses

func (s ListRecoveryPointsByBackupVaultInput) GoString() string

GoString returns the string representation

func (*ListRecoveryPointsByBackupVaultInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetByBackupPlanId Uses

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

SetByBackupPlanId sets the ByBackupPlanId field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetByCreatedAfter Uses

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

SetByCreatedAfter sets the ByCreatedAfter field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetByCreatedBefore Uses

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

SetByCreatedBefore sets the ByCreatedBefore field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetByResourceArn Uses

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

SetByResourceArn sets the ByResourceArn field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetByResourceType Uses

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

SetByResourceType sets the ByResourceType field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListRecoveryPointsByBackupVaultInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListRecoveryPointsByBackupVaultInput) String Uses

func (s ListRecoveryPointsByBackupVaultInput) String() string

String returns the string representation

func (*ListRecoveryPointsByBackupVaultInput) Validate Uses

func (s *ListRecoveryPointsByBackupVaultInput) Validate() error

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

type ListRecoveryPointsByBackupVaultOutput Uses

type ListRecoveryPointsByBackupVaultOutput struct {

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

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

func (ListRecoveryPointsByBackupVaultOutput) GoString Uses

func (s ListRecoveryPointsByBackupVaultOutput) GoString() string

GoString returns the string representation

func (*ListRecoveryPointsByBackupVaultOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListRecoveryPointsByBackupVaultOutput) SetRecoveryPoints Uses

func (s *ListRecoveryPointsByBackupVaultOutput) SetRecoveryPoints(v []*RecoveryPointByBackupVault) *ListRecoveryPointsByBackupVaultOutput

SetRecoveryPoints sets the RecoveryPoints field's value.

func (ListRecoveryPointsByBackupVaultOutput) String Uses

func (s ListRecoveryPointsByBackupVaultOutput) String() string

String returns the string representation

type ListRecoveryPointsByResourceInput Uses

type ListRecoveryPointsByResourceInput struct {

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

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

func (ListRecoveryPointsByResourceInput) GoString Uses

func (s ListRecoveryPointsByResourceInput) GoString() string

GoString returns the string representation

func (*ListRecoveryPointsByResourceInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListRecoveryPointsByResourceInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListRecoveryPointsByResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (ListRecoveryPointsByResourceInput) String Uses

func (s ListRecoveryPointsByResourceInput) String() string

String returns the string representation

func (*ListRecoveryPointsByResourceInput) Validate Uses

func (s *ListRecoveryPointsByResourceInput) Validate() error

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

type ListRecoveryPointsByResourceOutput Uses

type ListRecoveryPointsByResourceOutput struct {

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

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

func (ListRecoveryPointsByResourceOutput) GoString Uses

func (s ListRecoveryPointsByResourceOutput) GoString() string

GoString returns the string representation

func (*ListRecoveryPointsByResourceOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListRecoveryPointsByResourceOutput) SetRecoveryPoints Uses

func (s *ListRecoveryPointsByResourceOutput) SetRecoveryPoints(v []*RecoveryPointByResource) *ListRecoveryPointsByResourceOutput

SetRecoveryPoints sets the RecoveryPoints field's value.

func (ListRecoveryPointsByResourceOutput) String Uses

func (s ListRecoveryPointsByResourceOutput) String() string

String returns the string representation

type ListRestoreJobsInput Uses

type ListRestoreJobsInput struct {

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListRestoreJobsInput) GoString Uses

func (s ListRestoreJobsInput) GoString() string

GoString returns the string representation

func (*ListRestoreJobsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListRestoreJobsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListRestoreJobsInput) String Uses

func (s ListRestoreJobsInput) String() string

String returns the string representation

func (*ListRestoreJobsInput) Validate Uses

func (s *ListRestoreJobsInput) Validate() error

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

type ListRestoreJobsOutput Uses

type ListRestoreJobsOutput struct {

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

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

func (ListRestoreJobsOutput) GoString Uses

func (s ListRestoreJobsOutput) GoString() string

GoString returns the string representation

func (*ListRestoreJobsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListRestoreJobsOutput) SetRestoreJobs Uses

func (s *ListRestoreJobsOutput) SetRestoreJobs(v []*RestoreJobsListMember) *ListRestoreJobsOutput

SetRestoreJobs sets the RestoreJobs field's value.

func (ListRestoreJobsOutput) String Uses

func (s ListRestoreJobsOutput) String() string

String returns the string representation

type ListTagsInput Uses

type ListTagsInput struct {

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

    // The next item following a partial list of returned items. For example, if
    // a request is made to return maxResults number of items, NextToken allows
    // you to return more items in your list starting at the location pointed to
    // by the next token.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

    // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format
    // of the ARN depends on the type of resource. Valid targets for ListTags are
    // recovery points, backup plans, and backup vaults.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsInput) GoString Uses

func (s ListTagsInput) GoString() string

GoString returns the string representation

func (*ListTagsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListTagsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListTagsInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (ListTagsInput) String Uses

func (s ListTagsInput) String() string

String returns the string representation

func (*ListTagsInput) Validate Uses

func (s *ListTagsInput) Validate() error

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

type ListTagsOutput Uses

type ListTagsOutput struct {

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

    // To help organize your resources, you can assign your own metadata to the
    // resources you create. Each tag is a key-value pair.
    Tags map[string]*string `type:"map" sensitive:"true"`
    // contains filtered or unexported fields
}

func (ListTagsOutput) GoString Uses

func (s ListTagsOutput) GoString() string

GoString returns the string representation

func (*ListTagsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListTagsOutput) SetTags Uses

func (s *ListTagsOutput) SetTags(v map[string]*string) *ListTagsOutput

SetTags sets the Tags field's value.

func (ListTagsOutput) String Uses

func (s ListTagsOutput) String() string

String returns the string representation

type Plan Uses

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.

func (Plan) GoString Uses

func (s Plan) GoString() string

GoString returns the string representation

func (*Plan) SetBackupPlanName Uses

func (s *Plan) SetBackupPlanName(v string) *Plan

SetBackupPlanName sets the BackupPlanName field's value.

func (*Plan) SetRules Uses

func (s *Plan) SetRules(v []*Rule) *Plan

SetRules sets the Rules field's value.

func (Plan) String Uses

func (s Plan) String() string

String returns the string representation

type PlanInput Uses

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.

func (PlanInput) GoString Uses

func (s PlanInput) GoString() string

GoString returns the string representation

func (*PlanInput) SetBackupPlanName Uses

func (s *PlanInput) SetBackupPlanName(v string) *PlanInput

SetBackupPlanName sets the BackupPlanName field's value.

func (*PlanInput) SetRules Uses

func (s *PlanInput) SetRules(v []*RuleInput) *PlanInput

SetRules sets the Rules field's value.

func (PlanInput) String Uses

func (s PlanInput) String() string

String returns the string representation

func (*PlanInput) Validate Uses

func (s *PlanInput) Validate() error

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

type PlanTemplatesListMember Uses

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.

func (PlanTemplatesListMember) GoString Uses

func (s PlanTemplatesListMember) GoString() string

GoString returns the string representation

func (*PlanTemplatesListMember) SetBackupPlanTemplateId Uses

func (s *PlanTemplatesListMember) SetBackupPlanTemplateId(v string) *PlanTemplatesListMember

SetBackupPlanTemplateId sets the BackupPlanTemplateId field's value.

func (*PlanTemplatesListMember) SetBackupPlanTemplateName Uses

func (s *PlanTemplatesListMember) SetBackupPlanTemplateName(v string) *PlanTemplatesListMember

SetBackupPlanTemplateName sets the BackupPlanTemplateName field's value.

func (PlanTemplatesListMember) String Uses

func (s PlanTemplatesListMember) String() string

String returns the string representation

type PlansListMember Uses

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

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

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

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

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

Contains metadata about a backup plan.

func (PlansListMember) GoString Uses

func (s PlansListMember) GoString() string

GoString returns the string representation

func (*PlansListMember) SetBackupPlanArn Uses

func (s *PlansListMember) SetBackupPlanArn(v string) *PlansListMember

SetBackupPlanArn sets the BackupPlanArn field's value.

func (*PlansListMember) SetBackupPlanId Uses

func (s *PlansListMember) SetBackupPlanId(v string) *PlansListMember

SetBackupPlanId sets the BackupPlanId field's value.

func (*PlansListMember) SetBackupPlanName Uses

func (s *PlansListMember) SetBackupPlanName(v string) *PlansListMember

SetBackupPlanName sets the BackupPlanName field's value.

func (*PlansListMember) SetCreationDate Uses

func (s *PlansListMember) SetCreationDate(v time.Time) *PlansListMember

SetCreationDate sets the CreationDate field's value.

func (*PlansListMember) SetCreatorRequestId Uses

func (s *PlansListMember) SetCreatorRequestId(v string) *PlansListMember

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*PlansListMember) SetDeletionDate Uses

func (s *PlansListMember) SetDeletionDate(v time.Time) *PlansListMember

SetDeletionDate sets the DeletionDate field's value.

func (*PlansListMember) SetLastExecutionDate Uses

func (s *PlansListMember) SetLastExecutionDate(v time.Time) *PlansListMember

SetLastExecutionDate sets the LastExecutionDate field's value.

func (*PlansListMember) SetVersionId Uses

func (s *PlansListMember) SetVersionId(v string) *PlansListMember

SetVersionId sets the VersionId field's value.

func (PlansListMember) String Uses

func (s PlansListMember) String() string

String returns the string representation

type ProtectedResource Uses

type ProtectedResource struct {

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

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

    // The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon
    // EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
    ResourceType *string `type:"string"`
    // contains filtered or unexported fields
}

A structure that contains information about a backed-up resource.

func (ProtectedResource) GoString Uses

func (s ProtectedResource) GoString() string

GoString returns the string representation

func (*ProtectedResource) SetLastBackupTime Uses

func (s *ProtectedResource) SetLastBackupTime(v time.Time) *ProtectedResource

SetLastBackupTime sets the LastBackupTime field's value.

func (*ProtectedResource) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*ProtectedResource) SetResourceType Uses

func (s *ProtectedResource) SetResourceType(v string) *ProtectedResource

SetResourceType sets the ResourceType field's value.

func (ProtectedResource) String Uses

func (s ProtectedResource) String() string

String returns the string representation

type PutBackupVaultAccessPolicyInput Uses

type PutBackupVaultAccessPolicyInput struct {

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

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

func (PutBackupVaultAccessPolicyInput) GoString Uses

func (s PutBackupVaultAccessPolicyInput) GoString() string

GoString returns the string representation

func (*PutBackupVaultAccessPolicyInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*PutBackupVaultAccessPolicyInput) SetPolicy Uses

func (s *PutBackupVaultAccessPolicyInput) SetPolicy(v string) *PutBackupVaultAccessPolicyInput

SetPolicy sets the Policy field's value.

func (PutBackupVaultAccessPolicyInput) String Uses

func (s PutBackupVaultAccessPolicyInput) String() string

String returns the string representation

func (*PutBackupVaultAccessPolicyInput) Validate Uses

func (s *PutBackupVaultAccessPolicyInput) Validate() error

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

type PutBackupVaultAccessPolicyOutput Uses

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

func (PutBackupVaultAccessPolicyOutput) GoString Uses

func (s PutBackupVaultAccessPolicyOutput) GoString() string

GoString returns the string representation

func (PutBackupVaultAccessPolicyOutput) String Uses

func (s PutBackupVaultAccessPolicyOutput) String() string

String returns the string representation

type PutBackupVaultNotificationsInput Uses

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 []*string `type:"list" required:"true"`

    // The name of a logical container where backups are stored. Backup vaults are
    // identified by names that are unique to the account used to create them and
    // the AWS Region where they are created. They consist of lowercase letters,
    // numbers, and hyphens.
    //
    // BackupVaultName is a required field
    BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s
    // events; for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic.
    //
    // SNSTopicArn is a required field
    SNSTopicArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (PutBackupVaultNotificationsInput) GoString Uses

func (s PutBackupVaultNotificationsInput) GoString() string

GoString returns the string representation

func (*PutBackupVaultNotificationsInput) SetBackupVaultEvents Uses

func (s *PutBackupVaultNotificationsInput) SetBackupVaultEvents(v []*string) *PutBackupVaultNotificationsInput

SetBackupVaultEvents sets the BackupVaultEvents field's value.

func (*PutBackupVaultNotificationsInput) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*PutBackupVaultNotificationsInput) SetSNSTopicArn Uses

func (s *PutBackupVaultNotificationsInput) SetSNSTopicArn(v string) *PutBackupVaultNotificationsInput

SetSNSTopicArn sets the SNSTopicArn field's value.

func (PutBackupVaultNotificationsInput) String Uses

func (s PutBackupVaultNotificationsInput) String() string

String returns the string representation

func (*PutBackupVaultNotificationsInput) Validate Uses

func (s *PutBackupVaultNotificationsInput) Validate() error

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

type PutBackupVaultNotificationsOutput Uses

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

func (PutBackupVaultNotificationsOutput) GoString Uses

func (s PutBackupVaultNotificationsOutput) GoString() string

GoString returns the string representation

func (PutBackupVaultNotificationsOutput) String Uses

func (s PutBackupVaultNotificationsOutput) String() string

String returns the string representation

type RecoveryPointByBackupVault Uses

type RecoveryPointByBackupVault struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // A status code specifying the state of the recovery point.
    Status *string `type:"string" enum:"RecoveryPointStatus"`
    // contains filtered or unexported fields
}

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

func (RecoveryPointByBackupVault) GoString Uses

func (s RecoveryPointByBackupVault) GoString() string

GoString returns the string representation

func (*RecoveryPointByBackupVault) SetBackupSizeInBytes Uses

func (s *RecoveryPointByBackupVault) SetBackupSizeInBytes(v int64) *RecoveryPointByBackupVault

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

func (*RecoveryPointByBackupVault) SetBackupVaultArn Uses

func (s *RecoveryPointByBackupVault) SetBackupVaultArn(v string) *RecoveryPointByBackupVault

SetBackupVaultArn sets the BackupVaultArn field's value.

func (*RecoveryPointByBackupVault) SetBackupVaultName Uses

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

SetBackupVaultName sets the BackupVaultName field's value.

func (*RecoveryPointByBackupVault) SetCalculatedLifecycle Uses

func (s *RecoveryPointByBackupVault) SetCalculatedLifecycle(v *CalculatedLifecycle) *RecoveryPointByBackupVault

SetCalculatedLifecycle sets the CalculatedLifecycle field's value.

func (*RecoveryPointByBackupVault) SetCompletionDate Uses

func (s *RecoveryPointByBackupVault) SetCompletionDate(v time.Time) *RecoveryPointByBackupVault

SetCompletionDate sets the CompletionDate field's value.

func (*RecoveryPointByBackupVault) SetCreatedBy