Documentation ¶
Overview ¶
Package backup provides the client and types for making API requests to AWS Backup.
Backup is a unified backup service designed to protect Amazon Web Services services and their associated data. 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 ¶
- Constants
- func ConditionType_Values() []string
- func CopyJobState_Values() []string
- func JobState_Values() []string
- func RecoveryPointStatus_Values() []string
- func RestoreJobStatus_Values() []string
- func StorageClass_Values() []string
- func VaultEvent_Values() []string
- type AdvancedBackupSetting
- type AlreadyExistsException
- func (s *AlreadyExistsException) Code() string
- func (s *AlreadyExistsException) Error() string
- func (s AlreadyExistsException) GoString() string
- func (s *AlreadyExistsException) Message() string
- func (s *AlreadyExistsException) OrigErr() error
- func (s *AlreadyExistsException) RequestID() string
- func (s *AlreadyExistsException) StatusCode() int
- func (s AlreadyExistsException) String() string
- type Backup
- func (c *Backup) CreateBackupPlan(input *CreateBackupPlanInput) (*CreateBackupPlanOutput, error)
- func (c *Backup) CreateBackupPlanRequest(input *CreateBackupPlanInput) (req *request.Request, output *CreateBackupPlanOutput)
- func (c *Backup) CreateBackupPlanWithContext(ctx aws.Context, input *CreateBackupPlanInput, opts ...request.Option) (*CreateBackupPlanOutput, error)
- func (c *Backup) CreateBackupSelection(input *CreateBackupSelectionInput) (*CreateBackupSelectionOutput, error)
- func (c *Backup) CreateBackupSelectionRequest(input *CreateBackupSelectionInput) (req *request.Request, output *CreateBackupSelectionOutput)
- func (c *Backup) CreateBackupSelectionWithContext(ctx aws.Context, input *CreateBackupSelectionInput, opts ...request.Option) (*CreateBackupSelectionOutput, error)
- func (c *Backup) CreateBackupVault(input *CreateBackupVaultInput) (*CreateBackupVaultOutput, error)
- func (c *Backup) CreateBackupVaultRequest(input *CreateBackupVaultInput) (req *request.Request, output *CreateBackupVaultOutput)
- func (c *Backup) CreateBackupVaultWithContext(ctx aws.Context, input *CreateBackupVaultInput, opts ...request.Option) (*CreateBackupVaultOutput, error)
- func (c *Backup) CreateFramework(input *CreateFrameworkInput) (*CreateFrameworkOutput, error)
- func (c *Backup) CreateFrameworkRequest(input *CreateFrameworkInput) (req *request.Request, output *CreateFrameworkOutput)
- func (c *Backup) CreateFrameworkWithContext(ctx aws.Context, input *CreateFrameworkInput, opts ...request.Option) (*CreateFrameworkOutput, error)
- func (c *Backup) CreateReportPlan(input *CreateReportPlanInput) (*CreateReportPlanOutput, error)
- func (c *Backup) CreateReportPlanRequest(input *CreateReportPlanInput) (req *request.Request, output *CreateReportPlanOutput)
- func (c *Backup) CreateReportPlanWithContext(ctx aws.Context, input *CreateReportPlanInput, opts ...request.Option) (*CreateReportPlanOutput, error)
- func (c *Backup) DeleteBackupPlan(input *DeleteBackupPlanInput) (*DeleteBackupPlanOutput, error)
- func (c *Backup) DeleteBackupPlanRequest(input *DeleteBackupPlanInput) (req *request.Request, output *DeleteBackupPlanOutput)
- func (c *Backup) DeleteBackupPlanWithContext(ctx aws.Context, input *DeleteBackupPlanInput, opts ...request.Option) (*DeleteBackupPlanOutput, error)
- func (c *Backup) DeleteBackupSelection(input *DeleteBackupSelectionInput) (*DeleteBackupSelectionOutput, error)
- func (c *Backup) DeleteBackupSelectionRequest(input *DeleteBackupSelectionInput) (req *request.Request, output *DeleteBackupSelectionOutput)
- func (c *Backup) DeleteBackupSelectionWithContext(ctx aws.Context, input *DeleteBackupSelectionInput, opts ...request.Option) (*DeleteBackupSelectionOutput, error)
- func (c *Backup) DeleteBackupVault(input *DeleteBackupVaultInput) (*DeleteBackupVaultOutput, error)
- func (c *Backup) DeleteBackupVaultAccessPolicy(input *DeleteBackupVaultAccessPolicyInput) (*DeleteBackupVaultAccessPolicyOutput, error)
- func (c *Backup) DeleteBackupVaultAccessPolicyRequest(input *DeleteBackupVaultAccessPolicyInput) (req *request.Request, output *DeleteBackupVaultAccessPolicyOutput)
- func (c *Backup) DeleteBackupVaultAccessPolicyWithContext(ctx aws.Context, input *DeleteBackupVaultAccessPolicyInput, ...) (*DeleteBackupVaultAccessPolicyOutput, error)
- func (c *Backup) DeleteBackupVaultLockConfiguration(input *DeleteBackupVaultLockConfigurationInput) (*DeleteBackupVaultLockConfigurationOutput, error)
- func (c *Backup) DeleteBackupVaultLockConfigurationRequest(input *DeleteBackupVaultLockConfigurationInput) (req *request.Request, output *DeleteBackupVaultLockConfigurationOutput)
- func (c *Backup) DeleteBackupVaultLockConfigurationWithContext(ctx aws.Context, input *DeleteBackupVaultLockConfigurationInput, ...) (*DeleteBackupVaultLockConfigurationOutput, error)
- func (c *Backup) DeleteBackupVaultNotifications(input *DeleteBackupVaultNotificationsInput) (*DeleteBackupVaultNotificationsOutput, error)
- func (c *Backup) DeleteBackupVaultNotificationsRequest(input *DeleteBackupVaultNotificationsInput) (req *request.Request, output *DeleteBackupVaultNotificationsOutput)
- func (c *Backup) DeleteBackupVaultNotificationsWithContext(ctx aws.Context, input *DeleteBackupVaultNotificationsInput, ...) (*DeleteBackupVaultNotificationsOutput, error)
- func (c *Backup) DeleteBackupVaultRequest(input *DeleteBackupVaultInput) (req *request.Request, output *DeleteBackupVaultOutput)
- func (c *Backup) DeleteBackupVaultWithContext(ctx aws.Context, input *DeleteBackupVaultInput, opts ...request.Option) (*DeleteBackupVaultOutput, error)
- func (c *Backup) DeleteFramework(input *DeleteFrameworkInput) (*DeleteFrameworkOutput, error)
- func (c *Backup) DeleteFrameworkRequest(input *DeleteFrameworkInput) (req *request.Request, output *DeleteFrameworkOutput)
- func (c *Backup) DeleteFrameworkWithContext(ctx aws.Context, input *DeleteFrameworkInput, opts ...request.Option) (*DeleteFrameworkOutput, error)
- func (c *Backup) DeleteRecoveryPoint(input *DeleteRecoveryPointInput) (*DeleteRecoveryPointOutput, error)
- func (c *Backup) DeleteRecoveryPointRequest(input *DeleteRecoveryPointInput) (req *request.Request, output *DeleteRecoveryPointOutput)
- func (c *Backup) DeleteRecoveryPointWithContext(ctx aws.Context, input *DeleteRecoveryPointInput, opts ...request.Option) (*DeleteRecoveryPointOutput, error)
- func (c *Backup) DeleteReportPlan(input *DeleteReportPlanInput) (*DeleteReportPlanOutput, error)
- func (c *Backup) DeleteReportPlanRequest(input *DeleteReportPlanInput) (req *request.Request, output *DeleteReportPlanOutput)
- func (c *Backup) DeleteReportPlanWithContext(ctx aws.Context, input *DeleteReportPlanInput, opts ...request.Option) (*DeleteReportPlanOutput, error)
- func (c *Backup) DescribeBackupJob(input *DescribeBackupJobInput) (*DescribeBackupJobOutput, error)
- func (c *Backup) DescribeBackupJobRequest(input *DescribeBackupJobInput) (req *request.Request, output *DescribeBackupJobOutput)
- func (c *Backup) DescribeBackupJobWithContext(ctx aws.Context, input *DescribeBackupJobInput, opts ...request.Option) (*DescribeBackupJobOutput, error)
- func (c *Backup) DescribeBackupVault(input *DescribeBackupVaultInput) (*DescribeBackupVaultOutput, error)
- func (c *Backup) DescribeBackupVaultRequest(input *DescribeBackupVaultInput) (req *request.Request, output *DescribeBackupVaultOutput)
- func (c *Backup) DescribeBackupVaultWithContext(ctx aws.Context, input *DescribeBackupVaultInput, opts ...request.Option) (*DescribeBackupVaultOutput, error)
- func (c *Backup) DescribeCopyJob(input *DescribeCopyJobInput) (*DescribeCopyJobOutput, error)
- func (c *Backup) DescribeCopyJobRequest(input *DescribeCopyJobInput) (req *request.Request, output *DescribeCopyJobOutput)
- func (c *Backup) DescribeCopyJobWithContext(ctx aws.Context, input *DescribeCopyJobInput, opts ...request.Option) (*DescribeCopyJobOutput, error)
- func (c *Backup) DescribeFramework(input *DescribeFrameworkInput) (*DescribeFrameworkOutput, error)
- func (c *Backup) DescribeFrameworkRequest(input *DescribeFrameworkInput) (req *request.Request, output *DescribeFrameworkOutput)
- func (c *Backup) DescribeFrameworkWithContext(ctx aws.Context, input *DescribeFrameworkInput, opts ...request.Option) (*DescribeFrameworkOutput, error)
- func (c *Backup) DescribeGlobalSettings(input *DescribeGlobalSettingsInput) (*DescribeGlobalSettingsOutput, error)
- func (c *Backup) DescribeGlobalSettingsRequest(input *DescribeGlobalSettingsInput) (req *request.Request, output *DescribeGlobalSettingsOutput)
- func (c *Backup) DescribeGlobalSettingsWithContext(ctx aws.Context, input *DescribeGlobalSettingsInput, opts ...request.Option) (*DescribeGlobalSettingsOutput, error)
- func (c *Backup) DescribeProtectedResource(input *DescribeProtectedResourceInput) (*DescribeProtectedResourceOutput, error)
- func (c *Backup) DescribeProtectedResourceRequest(input *DescribeProtectedResourceInput) (req *request.Request, output *DescribeProtectedResourceOutput)
- func (c *Backup) DescribeProtectedResourceWithContext(ctx aws.Context, input *DescribeProtectedResourceInput, opts ...request.Option) (*DescribeProtectedResourceOutput, error)
- func (c *Backup) DescribeRecoveryPoint(input *DescribeRecoveryPointInput) (*DescribeRecoveryPointOutput, error)
- func (c *Backup) DescribeRecoveryPointRequest(input *DescribeRecoveryPointInput) (req *request.Request, output *DescribeRecoveryPointOutput)
- func (c *Backup) DescribeRecoveryPointWithContext(ctx aws.Context, input *DescribeRecoveryPointInput, opts ...request.Option) (*DescribeRecoveryPointOutput, error)
- func (c *Backup) DescribeRegionSettings(input *DescribeRegionSettingsInput) (*DescribeRegionSettingsOutput, error)
- func (c *Backup) DescribeRegionSettingsRequest(input *DescribeRegionSettingsInput) (req *request.Request, output *DescribeRegionSettingsOutput)
- func (c *Backup) DescribeRegionSettingsWithContext(ctx aws.Context, input *DescribeRegionSettingsInput, opts ...request.Option) (*DescribeRegionSettingsOutput, error)
- func (c *Backup) DescribeReportJob(input *DescribeReportJobInput) (*DescribeReportJobOutput, error)
- func (c *Backup) DescribeReportJobRequest(input *DescribeReportJobInput) (req *request.Request, output *DescribeReportJobOutput)
- func (c *Backup) DescribeReportJobWithContext(ctx aws.Context, input *DescribeReportJobInput, opts ...request.Option) (*DescribeReportJobOutput, error)
- func (c *Backup) DescribeReportPlan(input *DescribeReportPlanInput) (*DescribeReportPlanOutput, error)
- func (c *Backup) DescribeReportPlanRequest(input *DescribeReportPlanInput) (req *request.Request, output *DescribeReportPlanOutput)
- func (c *Backup) DescribeReportPlanWithContext(ctx aws.Context, input *DescribeReportPlanInput, opts ...request.Option) (*DescribeReportPlanOutput, error)
- func (c *Backup) DescribeRestoreJob(input *DescribeRestoreJobInput) (*DescribeRestoreJobOutput, error)
- func (c *Backup) DescribeRestoreJobRequest(input *DescribeRestoreJobInput) (req *request.Request, output *DescribeRestoreJobOutput)
- func (c *Backup) DescribeRestoreJobWithContext(ctx aws.Context, input *DescribeRestoreJobInput, opts ...request.Option) (*DescribeRestoreJobOutput, error)
- func (c *Backup) DisassociateRecoveryPoint(input *DisassociateRecoveryPointInput) (*DisassociateRecoveryPointOutput, error)
- func (c *Backup) DisassociateRecoveryPointRequest(input *DisassociateRecoveryPointInput) (req *request.Request, output *DisassociateRecoveryPointOutput)
- func (c *Backup) DisassociateRecoveryPointWithContext(ctx aws.Context, input *DisassociateRecoveryPointInput, opts ...request.Option) (*DisassociateRecoveryPointOutput, error)
- func (c *Backup) ExportBackupPlanTemplate(input *ExportBackupPlanTemplateInput) (*ExportBackupPlanTemplateOutput, error)
- func (c *Backup) ExportBackupPlanTemplateRequest(input *ExportBackupPlanTemplateInput) (req *request.Request, output *ExportBackupPlanTemplateOutput)
- func (c *Backup) ExportBackupPlanTemplateWithContext(ctx aws.Context, input *ExportBackupPlanTemplateInput, opts ...request.Option) (*ExportBackupPlanTemplateOutput, error)
- func (c *Backup) GetBackupPlan(input *GetBackupPlanInput) (*GetBackupPlanOutput, error)
- func (c *Backup) GetBackupPlanFromJSON(input *GetBackupPlanFromJSONInput) (*GetBackupPlanFromJSONOutput, error)
- func (c *Backup) GetBackupPlanFromJSONRequest(input *GetBackupPlanFromJSONInput) (req *request.Request, output *GetBackupPlanFromJSONOutput)
- func (c *Backup) GetBackupPlanFromJSONWithContext(ctx aws.Context, input *GetBackupPlanFromJSONInput, opts ...request.Option) (*GetBackupPlanFromJSONOutput, error)
- func (c *Backup) GetBackupPlanFromTemplate(input *GetBackupPlanFromTemplateInput) (*GetBackupPlanFromTemplateOutput, error)
- func (c *Backup) GetBackupPlanFromTemplateRequest(input *GetBackupPlanFromTemplateInput) (req *request.Request, output *GetBackupPlanFromTemplateOutput)
- func (c *Backup) GetBackupPlanFromTemplateWithContext(ctx aws.Context, input *GetBackupPlanFromTemplateInput, opts ...request.Option) (*GetBackupPlanFromTemplateOutput, error)
- func (c *Backup) GetBackupPlanRequest(input *GetBackupPlanInput) (req *request.Request, output *GetBackupPlanOutput)
- func (c *Backup) GetBackupPlanWithContext(ctx aws.Context, input *GetBackupPlanInput, opts ...request.Option) (*GetBackupPlanOutput, error)
- func (c *Backup) GetBackupSelection(input *GetBackupSelectionInput) (*GetBackupSelectionOutput, error)
- func (c *Backup) GetBackupSelectionRequest(input *GetBackupSelectionInput) (req *request.Request, output *GetBackupSelectionOutput)
- func (c *Backup) GetBackupSelectionWithContext(ctx aws.Context, input *GetBackupSelectionInput, opts ...request.Option) (*GetBackupSelectionOutput, error)
- func (c *Backup) GetBackupVaultAccessPolicy(input *GetBackupVaultAccessPolicyInput) (*GetBackupVaultAccessPolicyOutput, error)
- func (c *Backup) GetBackupVaultAccessPolicyRequest(input *GetBackupVaultAccessPolicyInput) (req *request.Request, output *GetBackupVaultAccessPolicyOutput)
- func (c *Backup) GetBackupVaultAccessPolicyWithContext(ctx aws.Context, input *GetBackupVaultAccessPolicyInput, ...) (*GetBackupVaultAccessPolicyOutput, error)
- func (c *Backup) GetBackupVaultNotifications(input *GetBackupVaultNotificationsInput) (*GetBackupVaultNotificationsOutput, error)
- func (c *Backup) GetBackupVaultNotificationsRequest(input *GetBackupVaultNotificationsInput) (req *request.Request, output *GetBackupVaultNotificationsOutput)
- func (c *Backup) GetBackupVaultNotificationsWithContext(ctx aws.Context, input *GetBackupVaultNotificationsInput, ...) (*GetBackupVaultNotificationsOutput, error)
- func (c *Backup) GetRecoveryPointRestoreMetadata(input *GetRecoveryPointRestoreMetadataInput) (*GetRecoveryPointRestoreMetadataOutput, error)
- func (c *Backup) GetRecoveryPointRestoreMetadataRequest(input *GetRecoveryPointRestoreMetadataInput) (req *request.Request, output *GetRecoveryPointRestoreMetadataOutput)
- func (c *Backup) GetRecoveryPointRestoreMetadataWithContext(ctx aws.Context, input *GetRecoveryPointRestoreMetadataInput, ...) (*GetRecoveryPointRestoreMetadataOutput, error)
- func (c *Backup) GetSupportedResourceTypes(input *GetSupportedResourceTypesInput) (*GetSupportedResourceTypesOutput, error)
- func (c *Backup) GetSupportedResourceTypesRequest(input *GetSupportedResourceTypesInput) (req *request.Request, output *GetSupportedResourceTypesOutput)
- func (c *Backup) GetSupportedResourceTypesWithContext(ctx aws.Context, input *GetSupportedResourceTypesInput, opts ...request.Option) (*GetSupportedResourceTypesOutput, error)
- func (c *Backup) ListBackupJobs(input *ListBackupJobsInput) (*ListBackupJobsOutput, error)
- func (c *Backup) ListBackupJobsPages(input *ListBackupJobsInput, fn func(*ListBackupJobsOutput, bool) bool) error
- func (c *Backup) ListBackupJobsPagesWithContext(ctx aws.Context, input *ListBackupJobsInput, ...) error
- func (c *Backup) ListBackupJobsRequest(input *ListBackupJobsInput) (req *request.Request, output *ListBackupJobsOutput)
- func (c *Backup) ListBackupJobsWithContext(ctx aws.Context, input *ListBackupJobsInput, opts ...request.Option) (*ListBackupJobsOutput, error)
- func (c *Backup) ListBackupPlanTemplates(input *ListBackupPlanTemplatesInput) (*ListBackupPlanTemplatesOutput, error)
- func (c *Backup) ListBackupPlanTemplatesPages(input *ListBackupPlanTemplatesInput, ...) error
- func (c *Backup) ListBackupPlanTemplatesPagesWithContext(ctx aws.Context, input *ListBackupPlanTemplatesInput, ...) error
- func (c *Backup) ListBackupPlanTemplatesRequest(input *ListBackupPlanTemplatesInput) (req *request.Request, output *ListBackupPlanTemplatesOutput)
- func (c *Backup) ListBackupPlanTemplatesWithContext(ctx aws.Context, input *ListBackupPlanTemplatesInput, opts ...request.Option) (*ListBackupPlanTemplatesOutput, error)
- func (c *Backup) ListBackupPlanVersions(input *ListBackupPlanVersionsInput) (*ListBackupPlanVersionsOutput, error)
- func (c *Backup) ListBackupPlanVersionsPages(input *ListBackupPlanVersionsInput, ...) error
- func (c *Backup) ListBackupPlanVersionsPagesWithContext(ctx aws.Context, input *ListBackupPlanVersionsInput, ...) error
- func (c *Backup) ListBackupPlanVersionsRequest(input *ListBackupPlanVersionsInput) (req *request.Request, output *ListBackupPlanVersionsOutput)
- func (c *Backup) ListBackupPlanVersionsWithContext(ctx aws.Context, input *ListBackupPlanVersionsInput, opts ...request.Option) (*ListBackupPlanVersionsOutput, error)
- func (c *Backup) ListBackupPlans(input *ListBackupPlansInput) (*ListBackupPlansOutput, error)
- func (c *Backup) ListBackupPlansPages(input *ListBackupPlansInput, fn func(*ListBackupPlansOutput, bool) bool) error
- func (c *Backup) ListBackupPlansPagesWithContext(ctx aws.Context, input *ListBackupPlansInput, ...) error
- func (c *Backup) ListBackupPlansRequest(input *ListBackupPlansInput) (req *request.Request, output *ListBackupPlansOutput)
- func (c *Backup) ListBackupPlansWithContext(ctx aws.Context, input *ListBackupPlansInput, opts ...request.Option) (*ListBackupPlansOutput, error)
- func (c *Backup) ListBackupSelections(input *ListBackupSelectionsInput) (*ListBackupSelectionsOutput, error)
- func (c *Backup) ListBackupSelectionsPages(input *ListBackupSelectionsInput, ...) error
- func (c *Backup) ListBackupSelectionsPagesWithContext(ctx aws.Context, input *ListBackupSelectionsInput, ...) error
- func (c *Backup) ListBackupSelectionsRequest(input *ListBackupSelectionsInput) (req *request.Request, output *ListBackupSelectionsOutput)
- func (c *Backup) ListBackupSelectionsWithContext(ctx aws.Context, input *ListBackupSelectionsInput, opts ...request.Option) (*ListBackupSelectionsOutput, error)
- func (c *Backup) ListBackupVaults(input *ListBackupVaultsInput) (*ListBackupVaultsOutput, error)
- func (c *Backup) ListBackupVaultsPages(input *ListBackupVaultsInput, fn func(*ListBackupVaultsOutput, bool) bool) error
- func (c *Backup) ListBackupVaultsPagesWithContext(ctx aws.Context, input *ListBackupVaultsInput, ...) error
- func (c *Backup) ListBackupVaultsRequest(input *ListBackupVaultsInput) (req *request.Request, output *ListBackupVaultsOutput)
- func (c *Backup) ListBackupVaultsWithContext(ctx aws.Context, input *ListBackupVaultsInput, opts ...request.Option) (*ListBackupVaultsOutput, error)
- func (c *Backup) ListCopyJobs(input *ListCopyJobsInput) (*ListCopyJobsOutput, error)
- func (c *Backup) ListCopyJobsPages(input *ListCopyJobsInput, fn func(*ListCopyJobsOutput, bool) bool) error
- func (c *Backup) ListCopyJobsPagesWithContext(ctx aws.Context, input *ListCopyJobsInput, ...) error
- func (c *Backup) ListCopyJobsRequest(input *ListCopyJobsInput) (req *request.Request, output *ListCopyJobsOutput)
- func (c *Backup) ListCopyJobsWithContext(ctx aws.Context, input *ListCopyJobsInput, opts ...request.Option) (*ListCopyJobsOutput, error)
- func (c *Backup) ListFrameworks(input *ListFrameworksInput) (*ListFrameworksOutput, error)
- func (c *Backup) ListFrameworksPages(input *ListFrameworksInput, fn func(*ListFrameworksOutput, bool) bool) error
- func (c *Backup) ListFrameworksPagesWithContext(ctx aws.Context, input *ListFrameworksInput, ...) error
- func (c *Backup) ListFrameworksRequest(input *ListFrameworksInput) (req *request.Request, output *ListFrameworksOutput)
- func (c *Backup) ListFrameworksWithContext(ctx aws.Context, input *ListFrameworksInput, opts ...request.Option) (*ListFrameworksOutput, error)
- func (c *Backup) ListProtectedResources(input *ListProtectedResourcesInput) (*ListProtectedResourcesOutput, error)
- func (c *Backup) ListProtectedResourcesPages(input *ListProtectedResourcesInput, ...) error
- func (c *Backup) ListProtectedResourcesPagesWithContext(ctx aws.Context, input *ListProtectedResourcesInput, ...) error
- func (c *Backup) ListProtectedResourcesRequest(input *ListProtectedResourcesInput) (req *request.Request, output *ListProtectedResourcesOutput)
- func (c *Backup) ListProtectedResourcesWithContext(ctx aws.Context, input *ListProtectedResourcesInput, opts ...request.Option) (*ListProtectedResourcesOutput, error)
- func (c *Backup) ListRecoveryPointsByBackupVault(input *ListRecoveryPointsByBackupVaultInput) (*ListRecoveryPointsByBackupVaultOutput, error)
- func (c *Backup) ListRecoveryPointsByBackupVaultPages(input *ListRecoveryPointsByBackupVaultInput, ...) error
- func (c *Backup) ListRecoveryPointsByBackupVaultPagesWithContext(ctx aws.Context, input *ListRecoveryPointsByBackupVaultInput, ...) error
- func (c *Backup) ListRecoveryPointsByBackupVaultRequest(input *ListRecoveryPointsByBackupVaultInput) (req *request.Request, output *ListRecoveryPointsByBackupVaultOutput)
- func (c *Backup) ListRecoveryPointsByBackupVaultWithContext(ctx aws.Context, input *ListRecoveryPointsByBackupVaultInput, ...) (*ListRecoveryPointsByBackupVaultOutput, error)
- func (c *Backup) ListRecoveryPointsByResource(input *ListRecoveryPointsByResourceInput) (*ListRecoveryPointsByResourceOutput, error)
- func (c *Backup) ListRecoveryPointsByResourcePages(input *ListRecoveryPointsByResourceInput, ...) error
- func (c *Backup) ListRecoveryPointsByResourcePagesWithContext(ctx aws.Context, input *ListRecoveryPointsByResourceInput, ...) error
- func (c *Backup) ListRecoveryPointsByResourceRequest(input *ListRecoveryPointsByResourceInput) (req *request.Request, output *ListRecoveryPointsByResourceOutput)
- func (c *Backup) ListRecoveryPointsByResourceWithContext(ctx aws.Context, input *ListRecoveryPointsByResourceInput, ...) (*ListRecoveryPointsByResourceOutput, error)
- func (c *Backup) ListReportJobs(input *ListReportJobsInput) (*ListReportJobsOutput, error)
- func (c *Backup) ListReportJobsPages(input *ListReportJobsInput, fn func(*ListReportJobsOutput, bool) bool) error
- func (c *Backup) ListReportJobsPagesWithContext(ctx aws.Context, input *ListReportJobsInput, ...) error
- func (c *Backup) ListReportJobsRequest(input *ListReportJobsInput) (req *request.Request, output *ListReportJobsOutput)
- func (c *Backup) ListReportJobsWithContext(ctx aws.Context, input *ListReportJobsInput, opts ...request.Option) (*ListReportJobsOutput, error)
- func (c *Backup) ListReportPlans(input *ListReportPlansInput) (*ListReportPlansOutput, error)
- func (c *Backup) ListReportPlansPages(input *ListReportPlansInput, fn func(*ListReportPlansOutput, bool) bool) error
- func (c *Backup) ListReportPlansPagesWithContext(ctx aws.Context, input *ListReportPlansInput, ...) error
- func (c *Backup) ListReportPlansRequest(input *ListReportPlansInput) (req *request.Request, output *ListReportPlansOutput)
- func (c *Backup) ListReportPlansWithContext(ctx aws.Context, input *ListReportPlansInput, opts ...request.Option) (*ListReportPlansOutput, error)
- func (c *Backup) ListRestoreJobs(input *ListRestoreJobsInput) (*ListRestoreJobsOutput, error)
- func (c *Backup) ListRestoreJobsPages(input *ListRestoreJobsInput, fn func(*ListRestoreJobsOutput, bool) bool) error
- func (c *Backup) ListRestoreJobsPagesWithContext(ctx aws.Context, input *ListRestoreJobsInput, ...) error
- func (c *Backup) ListRestoreJobsRequest(input *ListRestoreJobsInput) (req *request.Request, output *ListRestoreJobsOutput)
- func (c *Backup) ListRestoreJobsWithContext(ctx aws.Context, input *ListRestoreJobsInput, opts ...request.Option) (*ListRestoreJobsOutput, error)
- func (c *Backup) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
- func (c *Backup) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error
- func (c *Backup) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, ...) error
- func (c *Backup) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
- func (c *Backup) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
- func (c *Backup) PutBackupVaultAccessPolicy(input *PutBackupVaultAccessPolicyInput) (*PutBackupVaultAccessPolicyOutput, error)
- func (c *Backup) PutBackupVaultAccessPolicyRequest(input *PutBackupVaultAccessPolicyInput) (req *request.Request, output *PutBackupVaultAccessPolicyOutput)
- func (c *Backup) PutBackupVaultAccessPolicyWithContext(ctx aws.Context, input *PutBackupVaultAccessPolicyInput, ...) (*PutBackupVaultAccessPolicyOutput, error)
- func (c *Backup) PutBackupVaultLockConfiguration(input *PutBackupVaultLockConfigurationInput) (*PutBackupVaultLockConfigurationOutput, error)
- func (c *Backup) PutBackupVaultLockConfigurationRequest(input *PutBackupVaultLockConfigurationInput) (req *request.Request, output *PutBackupVaultLockConfigurationOutput)
- func (c *Backup) PutBackupVaultLockConfigurationWithContext(ctx aws.Context, input *PutBackupVaultLockConfigurationInput, ...) (*PutBackupVaultLockConfigurationOutput, error)
- func (c *Backup) PutBackupVaultNotifications(input *PutBackupVaultNotificationsInput) (*PutBackupVaultNotificationsOutput, error)
- func (c *Backup) PutBackupVaultNotificationsRequest(input *PutBackupVaultNotificationsInput) (req *request.Request, output *PutBackupVaultNotificationsOutput)
- func (c *Backup) PutBackupVaultNotificationsWithContext(ctx aws.Context, input *PutBackupVaultNotificationsInput, ...) (*PutBackupVaultNotificationsOutput, error)
- func (c *Backup) StartBackupJob(input *StartBackupJobInput) (*StartBackupJobOutput, error)
- func (c *Backup) StartBackupJobRequest(input *StartBackupJobInput) (req *request.Request, output *StartBackupJobOutput)
- func (c *Backup) StartBackupJobWithContext(ctx aws.Context, input *StartBackupJobInput, opts ...request.Option) (*StartBackupJobOutput, error)
- func (c *Backup) StartCopyJob(input *StartCopyJobInput) (*StartCopyJobOutput, error)
- func (c *Backup) StartCopyJobRequest(input *StartCopyJobInput) (req *request.Request, output *StartCopyJobOutput)
- func (c *Backup) StartCopyJobWithContext(ctx aws.Context, input *StartCopyJobInput, opts ...request.Option) (*StartCopyJobOutput, error)
- func (c *Backup) StartReportJob(input *StartReportJobInput) (*StartReportJobOutput, error)
- func (c *Backup) StartReportJobRequest(input *StartReportJobInput) (req *request.Request, output *StartReportJobOutput)
- func (c *Backup) StartReportJobWithContext(ctx aws.Context, input *StartReportJobInput, opts ...request.Option) (*StartReportJobOutput, error)
- func (c *Backup) StartRestoreJob(input *StartRestoreJobInput) (*StartRestoreJobOutput, error)
- func (c *Backup) StartRestoreJobRequest(input *StartRestoreJobInput) (req *request.Request, output *StartRestoreJobOutput)
- func (c *Backup) StartRestoreJobWithContext(ctx aws.Context, input *StartRestoreJobInput, opts ...request.Option) (*StartRestoreJobOutput, error)
- func (c *Backup) StopBackupJob(input *StopBackupJobInput) (*StopBackupJobOutput, error)
- func (c *Backup) StopBackupJobRequest(input *StopBackupJobInput) (req *request.Request, output *StopBackupJobOutput)
- func (c *Backup) StopBackupJobWithContext(ctx aws.Context, input *StopBackupJobInput, opts ...request.Option) (*StopBackupJobOutput, error)
- func (c *Backup) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *Backup) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *Backup) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *Backup) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Backup) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *Backup) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *Backup) UpdateBackupPlan(input *UpdateBackupPlanInput) (*UpdateBackupPlanOutput, error)
- func (c *Backup) UpdateBackupPlanRequest(input *UpdateBackupPlanInput) (req *request.Request, output *UpdateBackupPlanOutput)
- func (c *Backup) UpdateBackupPlanWithContext(ctx aws.Context, input *UpdateBackupPlanInput, opts ...request.Option) (*UpdateBackupPlanOutput, error)
- func (c *Backup) UpdateFramework(input *UpdateFrameworkInput) (*UpdateFrameworkOutput, error)
- func (c *Backup) UpdateFrameworkRequest(input *UpdateFrameworkInput) (req *request.Request, output *UpdateFrameworkOutput)
- func (c *Backup) UpdateFrameworkWithContext(ctx aws.Context, input *UpdateFrameworkInput, opts ...request.Option) (*UpdateFrameworkOutput, error)
- func (c *Backup) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error)
- func (c *Backup) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput)
- func (c *Backup) UpdateGlobalSettingsWithContext(ctx aws.Context, input *UpdateGlobalSettingsInput, opts ...request.Option) (*UpdateGlobalSettingsOutput, error)
- func (c *Backup) UpdateRecoveryPointLifecycle(input *UpdateRecoveryPointLifecycleInput) (*UpdateRecoveryPointLifecycleOutput, error)
- func (c *Backup) UpdateRecoveryPointLifecycleRequest(input *UpdateRecoveryPointLifecycleInput) (req *request.Request, output *UpdateRecoveryPointLifecycleOutput)
- func (c *Backup) UpdateRecoveryPointLifecycleWithContext(ctx aws.Context, input *UpdateRecoveryPointLifecycleInput, ...) (*UpdateRecoveryPointLifecycleOutput, error)
- func (c *Backup) UpdateRegionSettings(input *UpdateRegionSettingsInput) (*UpdateRegionSettingsOutput, error)
- func (c *Backup) UpdateRegionSettingsRequest(input *UpdateRegionSettingsInput) (req *request.Request, output *UpdateRegionSettingsOutput)
- func (c *Backup) UpdateRegionSettingsWithContext(ctx aws.Context, input *UpdateRegionSettingsInput, opts ...request.Option) (*UpdateRegionSettingsOutput, error)
- func (c *Backup) UpdateReportPlan(input *UpdateReportPlanInput) (*UpdateReportPlanOutput, error)
- func (c *Backup) UpdateReportPlanRequest(input *UpdateReportPlanInput) (req *request.Request, output *UpdateReportPlanOutput)
- func (c *Backup) UpdateReportPlanWithContext(ctx aws.Context, input *UpdateReportPlanInput, opts ...request.Option) (*UpdateReportPlanOutput, error)
- type CalculatedLifecycle
- type Condition
- type ConditionParameter
- type Conditions
- func (s Conditions) GoString() string
- func (s *Conditions) SetStringEquals(v []*ConditionParameter) *Conditions
- func (s *Conditions) SetStringLike(v []*ConditionParameter) *Conditions
- func (s *Conditions) SetStringNotEquals(v []*ConditionParameter) *Conditions
- func (s *Conditions) SetStringNotLike(v []*ConditionParameter) *Conditions
- func (s Conditions) String() string
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type ControlInputParameter
- type ControlScope
- func (s ControlScope) GoString() string
- func (s *ControlScope) SetComplianceResourceIds(v []*string) *ControlScope
- func (s *ControlScope) SetComplianceResourceTypes(v []*string) *ControlScope
- func (s *ControlScope) SetTags(v map[string]*string) *ControlScope
- func (s ControlScope) String() string
- func (s *ControlScope) Validate() error
- type CopyAction
- type CopyJob
- func (s CopyJob) GoString() string
- func (s *CopyJob) SetAccountId(v string) *CopyJob
- func (s *CopyJob) SetBackupSizeInBytes(v int64) *CopyJob
- func (s *CopyJob) SetCompletionDate(v time.Time) *CopyJob
- func (s *CopyJob) SetCopyJobId(v string) *CopyJob
- func (s *CopyJob) SetCreatedBy(v *RecoveryPointCreator) *CopyJob
- func (s *CopyJob) SetCreationDate(v time.Time) *CopyJob
- func (s *CopyJob) SetDestinationBackupVaultArn(v string) *CopyJob
- func (s *CopyJob) SetDestinationRecoveryPointArn(v string) *CopyJob
- func (s *CopyJob) SetIamRoleArn(v string) *CopyJob
- func (s *CopyJob) SetResourceArn(v string) *CopyJob
- func (s *CopyJob) SetResourceType(v string) *CopyJob
- func (s *CopyJob) SetSourceBackupVaultArn(v string) *CopyJob
- func (s *CopyJob) SetSourceRecoveryPointArn(v string) *CopyJob
- func (s *CopyJob) SetState(v string) *CopyJob
- func (s *CopyJob) SetStatusMessage(v string) *CopyJob
- func (s CopyJob) String() string
- type CreateBackupPlanInput
- func (s CreateBackupPlanInput) GoString() string
- func (s *CreateBackupPlanInput) SetBackupPlan(v *PlanInput) *CreateBackupPlanInput
- func (s *CreateBackupPlanInput) SetBackupPlanTags(v map[string]*string) *CreateBackupPlanInput
- func (s *CreateBackupPlanInput) SetCreatorRequestId(v string) *CreateBackupPlanInput
- func (s CreateBackupPlanInput) String() string
- func (s *CreateBackupPlanInput) Validate() error
- type CreateBackupPlanOutput
- func (s CreateBackupPlanOutput) GoString() string
- func (s *CreateBackupPlanOutput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *CreateBackupPlanOutput
- func (s *CreateBackupPlanOutput) SetBackupPlanArn(v string) *CreateBackupPlanOutput
- func (s *CreateBackupPlanOutput) SetBackupPlanId(v string) *CreateBackupPlanOutput
- func (s *CreateBackupPlanOutput) SetCreationDate(v time.Time) *CreateBackupPlanOutput
- func (s *CreateBackupPlanOutput) SetVersionId(v string) *CreateBackupPlanOutput
- func (s CreateBackupPlanOutput) String() string
- type CreateBackupSelectionInput
- func (s CreateBackupSelectionInput) GoString() string
- func (s *CreateBackupSelectionInput) SetBackupPlanId(v string) *CreateBackupSelectionInput
- func (s *CreateBackupSelectionInput) SetBackupSelection(v *Selection) *CreateBackupSelectionInput
- func (s *CreateBackupSelectionInput) SetCreatorRequestId(v string) *CreateBackupSelectionInput
- func (s CreateBackupSelectionInput) String() string
- func (s *CreateBackupSelectionInput) Validate() error
- type CreateBackupSelectionOutput
- func (s CreateBackupSelectionOutput) GoString() string
- func (s *CreateBackupSelectionOutput) SetBackupPlanId(v string) *CreateBackupSelectionOutput
- func (s *CreateBackupSelectionOutput) SetCreationDate(v time.Time) *CreateBackupSelectionOutput
- func (s *CreateBackupSelectionOutput) SetSelectionId(v string) *CreateBackupSelectionOutput
- func (s CreateBackupSelectionOutput) String() string
- type CreateBackupVaultInput
- func (s CreateBackupVaultInput) GoString() string
- func (s *CreateBackupVaultInput) SetBackupVaultName(v string) *CreateBackupVaultInput
- func (s *CreateBackupVaultInput) SetBackupVaultTags(v map[string]*string) *CreateBackupVaultInput
- func (s *CreateBackupVaultInput) SetCreatorRequestId(v string) *CreateBackupVaultInput
- func (s *CreateBackupVaultInput) SetEncryptionKeyArn(v string) *CreateBackupVaultInput
- func (s CreateBackupVaultInput) String() string
- func (s *CreateBackupVaultInput) Validate() error
- type CreateBackupVaultOutput
- func (s CreateBackupVaultOutput) GoString() string
- func (s *CreateBackupVaultOutput) SetBackupVaultArn(v string) *CreateBackupVaultOutput
- func (s *CreateBackupVaultOutput) SetBackupVaultName(v string) *CreateBackupVaultOutput
- func (s *CreateBackupVaultOutput) SetCreationDate(v time.Time) *CreateBackupVaultOutput
- func (s CreateBackupVaultOutput) String() string
- type CreateFrameworkInput
- func (s CreateFrameworkInput) GoString() string
- func (s *CreateFrameworkInput) SetFrameworkControls(v []*FrameworkControl) *CreateFrameworkInput
- func (s *CreateFrameworkInput) SetFrameworkDescription(v string) *CreateFrameworkInput
- func (s *CreateFrameworkInput) SetFrameworkName(v string) *CreateFrameworkInput
- func (s *CreateFrameworkInput) SetFrameworkTags(v map[string]*string) *CreateFrameworkInput
- func (s *CreateFrameworkInput) SetIdempotencyToken(v string) *CreateFrameworkInput
- func (s CreateFrameworkInput) String() string
- func (s *CreateFrameworkInput) Validate() error
- type CreateFrameworkOutput
- type CreateReportPlanInput
- func (s CreateReportPlanInput) GoString() string
- func (s *CreateReportPlanInput) SetIdempotencyToken(v string) *CreateReportPlanInput
- func (s *CreateReportPlanInput) SetReportDeliveryChannel(v *ReportDeliveryChannel) *CreateReportPlanInput
- func (s *CreateReportPlanInput) SetReportPlanDescription(v string) *CreateReportPlanInput
- func (s *CreateReportPlanInput) SetReportPlanName(v string) *CreateReportPlanInput
- func (s *CreateReportPlanInput) SetReportPlanTags(v map[string]*string) *CreateReportPlanInput
- func (s *CreateReportPlanInput) SetReportSetting(v *ReportSetting) *CreateReportPlanInput
- func (s CreateReportPlanInput) String() string
- func (s *CreateReportPlanInput) Validate() error
- type CreateReportPlanOutput
- func (s CreateReportPlanOutput) GoString() string
- func (s *CreateReportPlanOutput) SetCreationTime(v time.Time) *CreateReportPlanOutput
- func (s *CreateReportPlanOutput) SetReportPlanArn(v string) *CreateReportPlanOutput
- func (s *CreateReportPlanOutput) SetReportPlanName(v string) *CreateReportPlanOutput
- func (s CreateReportPlanOutput) String() string
- type DeleteBackupPlanInput
- type DeleteBackupPlanOutput
- func (s DeleteBackupPlanOutput) GoString() string
- func (s *DeleteBackupPlanOutput) SetBackupPlanArn(v string) *DeleteBackupPlanOutput
- func (s *DeleteBackupPlanOutput) SetBackupPlanId(v string) *DeleteBackupPlanOutput
- func (s *DeleteBackupPlanOutput) SetDeletionDate(v time.Time) *DeleteBackupPlanOutput
- func (s *DeleteBackupPlanOutput) SetVersionId(v string) *DeleteBackupPlanOutput
- func (s DeleteBackupPlanOutput) String() string
- type DeleteBackupSelectionInput
- func (s DeleteBackupSelectionInput) GoString() string
- func (s *DeleteBackupSelectionInput) SetBackupPlanId(v string) *DeleteBackupSelectionInput
- func (s *DeleteBackupSelectionInput) SetSelectionId(v string) *DeleteBackupSelectionInput
- func (s DeleteBackupSelectionInput) String() string
- func (s *DeleteBackupSelectionInput) Validate() error
- type DeleteBackupSelectionOutput
- type DeleteBackupVaultAccessPolicyInput
- type DeleteBackupVaultAccessPolicyOutput
- type DeleteBackupVaultInput
- type DeleteBackupVaultLockConfigurationInput
- func (s DeleteBackupVaultLockConfigurationInput) GoString() string
- func (s *DeleteBackupVaultLockConfigurationInput) SetBackupVaultName(v string) *DeleteBackupVaultLockConfigurationInput
- func (s DeleteBackupVaultLockConfigurationInput) String() string
- func (s *DeleteBackupVaultLockConfigurationInput) Validate() error
- type DeleteBackupVaultLockConfigurationOutput
- type DeleteBackupVaultNotificationsInput
- type DeleteBackupVaultNotificationsOutput
- type DeleteBackupVaultOutput
- type DeleteFrameworkInput
- type DeleteFrameworkOutput
- type DeleteRecoveryPointInput
- func (s DeleteRecoveryPointInput) GoString() string
- func (s *DeleteRecoveryPointInput) SetBackupVaultName(v string) *DeleteRecoveryPointInput
- func (s *DeleteRecoveryPointInput) SetRecoveryPointArn(v string) *DeleteRecoveryPointInput
- func (s DeleteRecoveryPointInput) String() string
- func (s *DeleteRecoveryPointInput) Validate() error
- type DeleteRecoveryPointOutput
- type DeleteReportPlanInput
- type DeleteReportPlanOutput
- type DependencyFailureException
- func (s *DependencyFailureException) Code() string
- func (s *DependencyFailureException) Error() string
- func (s DependencyFailureException) GoString() string
- func (s *DependencyFailureException) Message() string
- func (s *DependencyFailureException) OrigErr() error
- func (s *DependencyFailureException) RequestID() string
- func (s *DependencyFailureException) StatusCode() int
- func (s DependencyFailureException) String() string
- type DescribeBackupJobInput
- type DescribeBackupJobOutput
- func (s DescribeBackupJobOutput) GoString() string
- func (s *DescribeBackupJobOutput) SetAccountId(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBackupJobId(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBackupOptions(v map[string]*string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBackupSizeInBytes(v int64) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBackupType(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBackupVaultArn(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBackupVaultName(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetBytesTransferred(v int64) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetCompletionDate(v time.Time) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetCreatedBy(v *RecoveryPointCreator) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetCreationDate(v time.Time) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetExpectedCompletionDate(v time.Time) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetIamRoleArn(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetPercentDone(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetRecoveryPointArn(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetResourceArn(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetResourceType(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetStartBy(v time.Time) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetState(v string) *DescribeBackupJobOutput
- func (s *DescribeBackupJobOutput) SetStatusMessage(v string) *DescribeBackupJobOutput
- func (s DescribeBackupJobOutput) String() string
- type DescribeBackupVaultInput
- type DescribeBackupVaultOutput
- func (s DescribeBackupVaultOutput) GoString() string
- func (s *DescribeBackupVaultOutput) SetBackupVaultArn(v string) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetBackupVaultName(v string) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetCreationDate(v time.Time) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetCreatorRequestId(v string) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetEncryptionKeyArn(v string) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetLockDate(v time.Time) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetLocked(v bool) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetMaxRetentionDays(v int64) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetMinRetentionDays(v int64) *DescribeBackupVaultOutput
- func (s *DescribeBackupVaultOutput) SetNumberOfRecoveryPoints(v int64) *DescribeBackupVaultOutput
- func (s DescribeBackupVaultOutput) String() string
- type DescribeCopyJobInput
- type DescribeCopyJobOutput
- type DescribeFrameworkInput
- type DescribeFrameworkOutput
- func (s DescribeFrameworkOutput) GoString() string
- func (s *DescribeFrameworkOutput) SetCreationTime(v time.Time) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetDeploymentStatus(v string) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetFrameworkArn(v string) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetFrameworkControls(v []*FrameworkControl) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetFrameworkDescription(v string) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetFrameworkName(v string) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetFrameworkStatus(v string) *DescribeFrameworkOutput
- func (s *DescribeFrameworkOutput) SetIdempotencyToken(v string) *DescribeFrameworkOutput
- func (s DescribeFrameworkOutput) String() string
- type DescribeGlobalSettingsInput
- type DescribeGlobalSettingsOutput
- func (s DescribeGlobalSettingsOutput) GoString() string
- func (s *DescribeGlobalSettingsOutput) SetGlobalSettings(v map[string]*string) *DescribeGlobalSettingsOutput
- func (s *DescribeGlobalSettingsOutput) SetLastUpdateTime(v time.Time) *DescribeGlobalSettingsOutput
- func (s DescribeGlobalSettingsOutput) String() string
- type DescribeProtectedResourceInput
- type DescribeProtectedResourceOutput
- func (s DescribeProtectedResourceOutput) GoString() string
- func (s *DescribeProtectedResourceOutput) SetLastBackupTime(v time.Time) *DescribeProtectedResourceOutput
- func (s *DescribeProtectedResourceOutput) SetResourceArn(v string) *DescribeProtectedResourceOutput
- func (s *DescribeProtectedResourceOutput) SetResourceType(v string) *DescribeProtectedResourceOutput
- func (s DescribeProtectedResourceOutput) String() string
- type DescribeRecoveryPointInput
- func (s DescribeRecoveryPointInput) GoString() string
- func (s *DescribeRecoveryPointInput) SetBackupVaultName(v string) *DescribeRecoveryPointInput
- func (s *DescribeRecoveryPointInput) SetRecoveryPointArn(v string) *DescribeRecoveryPointInput
- func (s DescribeRecoveryPointInput) String() string
- func (s *DescribeRecoveryPointInput) Validate() error
- type DescribeRecoveryPointOutput
- func (s DescribeRecoveryPointOutput) GoString() string
- func (s *DescribeRecoveryPointOutput) SetBackupSizeInBytes(v int64) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetBackupVaultArn(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetBackupVaultName(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetCalculatedLifecycle(v *CalculatedLifecycle) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetCompletionDate(v time.Time) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetCreatedBy(v *RecoveryPointCreator) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetCreationDate(v time.Time) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetEncryptionKeyArn(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetIamRoleArn(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetIsEncrypted(v bool) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetLastRestoreTime(v time.Time) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetLifecycle(v *Lifecycle) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetRecoveryPointArn(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetResourceArn(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetResourceType(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetSourceBackupVaultArn(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetStatus(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetStatusMessage(v string) *DescribeRecoveryPointOutput
- func (s *DescribeRecoveryPointOutput) SetStorageClass(v string) *DescribeRecoveryPointOutput
- func (s DescribeRecoveryPointOutput) String() string
- type DescribeRegionSettingsInput
- type DescribeRegionSettingsOutput
- func (s DescribeRegionSettingsOutput) GoString() string
- func (s *DescribeRegionSettingsOutput) SetResourceTypeManagementPreference(v map[string]*bool) *DescribeRegionSettingsOutput
- func (s *DescribeRegionSettingsOutput) SetResourceTypeOptInPreference(v map[string]*bool) *DescribeRegionSettingsOutput
- func (s DescribeRegionSettingsOutput) String() string
- type DescribeReportJobInput
- type DescribeReportJobOutput
- type DescribeReportPlanInput
- type DescribeReportPlanOutput
- type DescribeRestoreJobInput
- type DescribeRestoreJobOutput
- func (s DescribeRestoreJobOutput) GoString() string
- func (s *DescribeRestoreJobOutput) SetAccountId(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetBackupSizeInBytes(v int64) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetCompletionDate(v time.Time) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetCreatedResourceArn(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetCreationDate(v time.Time) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetExpectedCompletionTimeMinutes(v int64) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetIamRoleArn(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetPercentDone(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetRecoveryPointArn(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetResourceType(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetRestoreJobId(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetStatus(v string) *DescribeRestoreJobOutput
- func (s *DescribeRestoreJobOutput) SetStatusMessage(v string) *DescribeRestoreJobOutput
- func (s DescribeRestoreJobOutput) String() string
- type DisassociateRecoveryPointInput
- func (s DisassociateRecoveryPointInput) GoString() string
- func (s *DisassociateRecoveryPointInput) SetBackupVaultName(v string) *DisassociateRecoveryPointInput
- func (s *DisassociateRecoveryPointInput) SetRecoveryPointArn(v string) *DisassociateRecoveryPointInput
- func (s DisassociateRecoveryPointInput) String() string
- func (s *DisassociateRecoveryPointInput) Validate() error
- type DisassociateRecoveryPointOutput
- type ExportBackupPlanTemplateInput
- type ExportBackupPlanTemplateOutput
- type Framework
- func (s Framework) GoString() string
- func (s *Framework) SetCreationTime(v time.Time) *Framework
- func (s *Framework) SetDeploymentStatus(v string) *Framework
- func (s *Framework) SetFrameworkArn(v string) *Framework
- func (s *Framework) SetFrameworkDescription(v string) *Framework
- func (s *Framework) SetFrameworkName(v string) *Framework
- func (s *Framework) SetNumberOfControls(v int64) *Framework
- func (s Framework) String() string
- type FrameworkControl
- func (s FrameworkControl) GoString() string
- func (s *FrameworkControl) SetControlInputParameters(v []*ControlInputParameter) *FrameworkControl
- func (s *FrameworkControl) SetControlName(v string) *FrameworkControl
- func (s *FrameworkControl) SetControlScope(v *ControlScope) *FrameworkControl
- func (s FrameworkControl) String() string
- func (s *FrameworkControl) Validate() error
- type GetBackupPlanFromJSONInput
- type GetBackupPlanFromJSONOutput
- type GetBackupPlanFromTemplateInput
- type GetBackupPlanFromTemplateOutput
- type GetBackupPlanInput
- type GetBackupPlanOutput
- func (s GetBackupPlanOutput) GoString() string
- func (s *GetBackupPlanOutput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetBackupPlan(v *Plan) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetBackupPlanArn(v string) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetBackupPlanId(v string) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetCreationDate(v time.Time) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetCreatorRequestId(v string) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetDeletionDate(v time.Time) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetLastExecutionDate(v time.Time) *GetBackupPlanOutput
- func (s *GetBackupPlanOutput) SetVersionId(v string) *GetBackupPlanOutput
- func (s GetBackupPlanOutput) String() string
- type GetBackupSelectionInput
- func (s GetBackupSelectionInput) GoString() string
- func (s *GetBackupSelectionInput) SetBackupPlanId(v string) *GetBackupSelectionInput
- func (s *GetBackupSelectionInput) SetSelectionId(v string) *GetBackupSelectionInput
- func (s GetBackupSelectionInput) String() string
- func (s *GetBackupSelectionInput) Validate() error
- type GetBackupSelectionOutput
- func (s GetBackupSelectionOutput) GoString() string
- func (s *GetBackupSelectionOutput) SetBackupPlanId(v string) *GetBackupSelectionOutput
- func (s *GetBackupSelectionOutput) SetBackupSelection(v *Selection) *GetBackupSelectionOutput
- func (s *GetBackupSelectionOutput) SetCreationDate(v time.Time) *GetBackupSelectionOutput
- func (s *GetBackupSelectionOutput) SetCreatorRequestId(v string) *GetBackupSelectionOutput
- func (s *GetBackupSelectionOutput) SetSelectionId(v string) *GetBackupSelectionOutput
- func (s GetBackupSelectionOutput) String() string
- type GetBackupVaultAccessPolicyInput
- type GetBackupVaultAccessPolicyOutput
- func (s GetBackupVaultAccessPolicyOutput) GoString() string
- func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultArn(v string) *GetBackupVaultAccessPolicyOutput
- func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultName(v string) *GetBackupVaultAccessPolicyOutput
- func (s *GetBackupVaultAccessPolicyOutput) SetPolicy(v string) *GetBackupVaultAccessPolicyOutput
- func (s GetBackupVaultAccessPolicyOutput) String() string
- type GetBackupVaultNotificationsInput
- type GetBackupVaultNotificationsOutput
- func (s GetBackupVaultNotificationsOutput) GoString() string
- func (s *GetBackupVaultNotificationsOutput) SetBackupVaultArn(v string) *GetBackupVaultNotificationsOutput
- func (s *GetBackupVaultNotificationsOutput) SetBackupVaultEvents(v []*string) *GetBackupVaultNotificationsOutput
- func (s *GetBackupVaultNotificationsOutput) SetBackupVaultName(v string) *GetBackupVaultNotificationsOutput
- func (s *GetBackupVaultNotificationsOutput) SetSNSTopicArn(v string) *GetBackupVaultNotificationsOutput
- func (s GetBackupVaultNotificationsOutput) String() string
- type GetRecoveryPointRestoreMetadataInput
- func (s GetRecoveryPointRestoreMetadataInput) GoString() string
- func (s *GetRecoveryPointRestoreMetadataInput) SetBackupVaultName(v string) *GetRecoveryPointRestoreMetadataInput
- func (s *GetRecoveryPointRestoreMetadataInput) SetRecoveryPointArn(v string) *GetRecoveryPointRestoreMetadataInput
- func (s GetRecoveryPointRestoreMetadataInput) String() string
- func (s *GetRecoveryPointRestoreMetadataInput) Validate() error
- type GetRecoveryPointRestoreMetadataOutput
- func (s GetRecoveryPointRestoreMetadataOutput) GoString() string
- func (s *GetRecoveryPointRestoreMetadataOutput) SetBackupVaultArn(v string) *GetRecoveryPointRestoreMetadataOutput
- func (s *GetRecoveryPointRestoreMetadataOutput) SetRecoveryPointArn(v string) *GetRecoveryPointRestoreMetadataOutput
- func (s *GetRecoveryPointRestoreMetadataOutput) SetRestoreMetadata(v map[string]*string) *GetRecoveryPointRestoreMetadataOutput
- func (s GetRecoveryPointRestoreMetadataOutput) String() string
- type GetSupportedResourceTypesInput
- type GetSupportedResourceTypesOutput
- type InvalidParameterValueException
- func (s *InvalidParameterValueException) Code() string
- func (s *InvalidParameterValueException) Error() string
- func (s InvalidParameterValueException) GoString() string
- func (s *InvalidParameterValueException) Message() string
- func (s *InvalidParameterValueException) OrigErr() error
- func (s *InvalidParameterValueException) RequestID() string
- func (s *InvalidParameterValueException) StatusCode() int
- func (s InvalidParameterValueException) String() string
- type InvalidRequestException
- func (s *InvalidRequestException) Code() string
- func (s *InvalidRequestException) Error() string
- func (s InvalidRequestException) GoString() string
- func (s *InvalidRequestException) Message() string
- func (s *InvalidRequestException) OrigErr() error
- func (s *InvalidRequestException) RequestID() string
- func (s *InvalidRequestException) StatusCode() int
- func (s InvalidRequestException) String() string
- type InvalidResourceStateException
- func (s *InvalidResourceStateException) Code() string
- func (s *InvalidResourceStateException) Error() string
- func (s InvalidResourceStateException) GoString() string
- func (s *InvalidResourceStateException) Message() string
- func (s *InvalidResourceStateException) OrigErr() error
- func (s *InvalidResourceStateException) RequestID() string
- func (s *InvalidResourceStateException) StatusCode() int
- func (s InvalidResourceStateException) String() string
- type Job
- func (s Job) GoString() string
- func (s *Job) SetAccountId(v string) *Job
- func (s *Job) SetBackupJobId(v string) *Job
- func (s *Job) SetBackupOptions(v map[string]*string) *Job
- func (s *Job) SetBackupSizeInBytes(v int64) *Job
- func (s *Job) SetBackupType(v string) *Job
- func (s *Job) SetBackupVaultArn(v string) *Job
- func (s *Job) SetBackupVaultName(v string) *Job
- func (s *Job) SetBytesTransferred(v int64) *Job
- func (s *Job) SetCompletionDate(v time.Time) *Job
- func (s *Job) SetCreatedBy(v *RecoveryPointCreator) *Job
- func (s *Job) SetCreationDate(v time.Time) *Job
- func (s *Job) SetExpectedCompletionDate(v time.Time) *Job
- func (s *Job) SetIamRoleArn(v string) *Job
- func (s *Job) SetPercentDone(v string) *Job
- func (s *Job) SetRecoveryPointArn(v string) *Job
- func (s *Job) SetResourceArn(v string) *Job
- func (s *Job) SetResourceType(v string) *Job
- func (s *Job) SetStartBy(v time.Time) *Job
- func (s *Job) SetState(v string) *Job
- func (s *Job) SetStatusMessage(v string) *Job
- func (s Job) String() string
- type Lifecycle
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type ListBackupJobsInput
- func (s ListBackupJobsInput) GoString() string
- func (s *ListBackupJobsInput) SetByAccountId(v string) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByBackupVaultName(v string) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByCompleteAfter(v time.Time) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByCompleteBefore(v time.Time) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByCreatedAfter(v time.Time) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByCreatedBefore(v time.Time) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByResourceArn(v string) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByResourceType(v string) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetByState(v string) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetMaxResults(v int64) *ListBackupJobsInput
- func (s *ListBackupJobsInput) SetNextToken(v string) *ListBackupJobsInput
- func (s ListBackupJobsInput) String() string
- func (s *ListBackupJobsInput) Validate() error
- type ListBackupJobsOutput
- type ListBackupPlanTemplatesInput
- func (s ListBackupPlanTemplatesInput) GoString() string
- func (s *ListBackupPlanTemplatesInput) SetMaxResults(v int64) *ListBackupPlanTemplatesInput
- func (s *ListBackupPlanTemplatesInput) SetNextToken(v string) *ListBackupPlanTemplatesInput
- func (s ListBackupPlanTemplatesInput) String() string
- func (s *ListBackupPlanTemplatesInput) Validate() error
- type ListBackupPlanTemplatesOutput
- func (s ListBackupPlanTemplatesOutput) GoString() string
- func (s *ListBackupPlanTemplatesOutput) SetBackupPlanTemplatesList(v []*PlanTemplatesListMember) *ListBackupPlanTemplatesOutput
- func (s *ListBackupPlanTemplatesOutput) SetNextToken(v string) *ListBackupPlanTemplatesOutput
- func (s ListBackupPlanTemplatesOutput) String() string
- type ListBackupPlanVersionsInput
- func (s ListBackupPlanVersionsInput) GoString() string
- func (s *ListBackupPlanVersionsInput) SetBackupPlanId(v string) *ListBackupPlanVersionsInput
- func (s *ListBackupPlanVersionsInput) SetMaxResults(v int64) *ListBackupPlanVersionsInput
- func (s *ListBackupPlanVersionsInput) SetNextToken(v string) *ListBackupPlanVersionsInput
- func (s ListBackupPlanVersionsInput) String() string
- func (s *ListBackupPlanVersionsInput) Validate() error
- type ListBackupPlanVersionsOutput
- func (s ListBackupPlanVersionsOutput) GoString() string
- func (s *ListBackupPlanVersionsOutput) SetBackupPlanVersionsList(v []*PlansListMember) *ListBackupPlanVersionsOutput
- func (s *ListBackupPlanVersionsOutput) SetNextToken(v string) *ListBackupPlanVersionsOutput
- func (s ListBackupPlanVersionsOutput) String() string
- type ListBackupPlansInput
- func (s ListBackupPlansInput) GoString() string
- func (s *ListBackupPlansInput) SetIncludeDeleted(v bool) *ListBackupPlansInput
- func (s *ListBackupPlansInput) SetMaxResults(v int64) *ListBackupPlansInput
- func (s *ListBackupPlansInput) SetNextToken(v string) *ListBackupPlansInput
- func (s ListBackupPlansInput) String() string
- func (s *ListBackupPlansInput) Validate() error
- type ListBackupPlansOutput
- type ListBackupSelectionsInput
- func (s ListBackupSelectionsInput) GoString() string
- func (s *ListBackupSelectionsInput) SetBackupPlanId(v string) *ListBackupSelectionsInput
- func (s *ListBackupSelectionsInput) SetMaxResults(v int64) *ListBackupSelectionsInput
- func (s *ListBackupSelectionsInput) SetNextToken(v string) *ListBackupSelectionsInput
- func (s ListBackupSelectionsInput) String() string
- func (s *ListBackupSelectionsInput) Validate() error
- type ListBackupSelectionsOutput
- func (s ListBackupSelectionsOutput) GoString() string
- func (s *ListBackupSelectionsOutput) SetBackupSelectionsList(v []*SelectionsListMember) *ListBackupSelectionsOutput
- func (s *ListBackupSelectionsOutput) SetNextToken(v string) *ListBackupSelectionsOutput
- func (s ListBackupSelectionsOutput) String() string
- type ListBackupVaultsInput
- func (s ListBackupVaultsInput) GoString() string
- func (s *ListBackupVaultsInput) SetMaxResults(v int64) *ListBackupVaultsInput
- func (s *ListBackupVaultsInput) SetNextToken(v string) *ListBackupVaultsInput
- func (s ListBackupVaultsInput) String() string
- func (s *ListBackupVaultsInput) Validate() error
- type ListBackupVaultsOutput
- type ListCopyJobsInput
- func (s ListCopyJobsInput) GoString() string
- func (s *ListCopyJobsInput) SetByAccountId(v string) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByCompleteAfter(v time.Time) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByCompleteBefore(v time.Time) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByCreatedAfter(v time.Time) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByCreatedBefore(v time.Time) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByDestinationVaultArn(v string) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByResourceArn(v string) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByResourceType(v string) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetByState(v string) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetMaxResults(v int64) *ListCopyJobsInput
- func (s *ListCopyJobsInput) SetNextToken(v string) *ListCopyJobsInput
- func (s ListCopyJobsInput) String() string
- func (s *ListCopyJobsInput) Validate() error
- type ListCopyJobsOutput
- type ListFrameworksInput
- type ListFrameworksOutput
- type ListProtectedResourcesInput
- func (s ListProtectedResourcesInput) GoString() string
- func (s *ListProtectedResourcesInput) SetMaxResults(v int64) *ListProtectedResourcesInput
- func (s *ListProtectedResourcesInput) SetNextToken(v string) *ListProtectedResourcesInput
- func (s ListProtectedResourcesInput) String() string
- func (s *ListProtectedResourcesInput) Validate() error
- type ListProtectedResourcesOutput
- func (s ListProtectedResourcesOutput) GoString() string
- func (s *ListProtectedResourcesOutput) SetNextToken(v string) *ListProtectedResourcesOutput
- func (s *ListProtectedResourcesOutput) SetResults(v []*ProtectedResource) *ListProtectedResourcesOutput
- func (s ListProtectedResourcesOutput) String() string
- type ListRecoveryPointsByBackupVaultInput
- func (s ListRecoveryPointsByBackupVaultInput) GoString() string
- func (s *ListRecoveryPointsByBackupVaultInput) SetBackupVaultName(v string) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetByBackupPlanId(v string) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetByCreatedAfter(v time.Time) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetByCreatedBefore(v time.Time) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetByResourceArn(v string) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetByResourceType(v string) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetMaxResults(v int64) *ListRecoveryPointsByBackupVaultInput
- func (s *ListRecoveryPointsByBackupVaultInput) SetNextToken(v string) *ListRecoveryPointsByBackupVaultInput
- func (s ListRecoveryPointsByBackupVaultInput) String() string
- func (s *ListRecoveryPointsByBackupVaultInput) Validate() error
- type ListRecoveryPointsByBackupVaultOutput
- func (s ListRecoveryPointsByBackupVaultOutput) GoString() string
- func (s *ListRecoveryPointsByBackupVaultOutput) SetNextToken(v string) *ListRecoveryPointsByBackupVaultOutput
- func (s *ListRecoveryPointsByBackupVaultOutput) SetRecoveryPoints(v []*RecoveryPointByBackupVault) *ListRecoveryPointsByBackupVaultOutput
- func (s ListRecoveryPointsByBackupVaultOutput) String() string
- type ListRecoveryPointsByResourceInput
- func (s ListRecoveryPointsByResourceInput) GoString() string
- func (s *ListRecoveryPointsByResourceInput) SetMaxResults(v int64) *ListRecoveryPointsByResourceInput
- func (s *ListRecoveryPointsByResourceInput) SetNextToken(v string) *ListRecoveryPointsByResourceInput
- func (s *ListRecoveryPointsByResourceInput) SetResourceArn(v string) *ListRecoveryPointsByResourceInput
- func (s ListRecoveryPointsByResourceInput) String() string
- func (s *ListRecoveryPointsByResourceInput) Validate() error
- type ListRecoveryPointsByResourceOutput
- func (s ListRecoveryPointsByResourceOutput) GoString() string
- func (s *ListRecoveryPointsByResourceOutput) SetNextToken(v string) *ListRecoveryPointsByResourceOutput
- func (s *ListRecoveryPointsByResourceOutput) SetRecoveryPoints(v []*RecoveryPointByResource) *ListRecoveryPointsByResourceOutput
- func (s ListRecoveryPointsByResourceOutput) String() string
- type ListReportJobsInput
- func (s ListReportJobsInput) GoString() string
- func (s *ListReportJobsInput) SetByCreationAfter(v time.Time) *ListReportJobsInput
- func (s *ListReportJobsInput) SetByCreationBefore(v time.Time) *ListReportJobsInput
- func (s *ListReportJobsInput) SetByReportPlanName(v string) *ListReportJobsInput
- func (s *ListReportJobsInput) SetByStatus(v string) *ListReportJobsInput
- func (s *ListReportJobsInput) SetMaxResults(v int64) *ListReportJobsInput
- func (s *ListReportJobsInput) SetNextToken(v string) *ListReportJobsInput
- func (s ListReportJobsInput) String() string
- func (s *ListReportJobsInput) Validate() error
- type ListReportJobsOutput
- type ListReportPlansInput
- type ListReportPlansOutput
- type ListRestoreJobsInput
- func (s ListRestoreJobsInput) GoString() string
- func (s *ListRestoreJobsInput) SetByAccountId(v string) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetByCompleteAfter(v time.Time) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetByCompleteBefore(v time.Time) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetByCreatedAfter(v time.Time) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetByCreatedBefore(v time.Time) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetByStatus(v string) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetMaxResults(v int64) *ListRestoreJobsInput
- func (s *ListRestoreJobsInput) SetNextToken(v string) *ListRestoreJobsInput
- func (s ListRestoreJobsInput) String() string
- func (s *ListRestoreJobsInput) Validate() error
- type ListRestoreJobsOutput
- type ListTagsInput
- func (s ListTagsInput) GoString() string
- func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput
- func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
- func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput
- func (s ListTagsInput) String() string
- func (s *ListTagsInput) Validate() error
- type ListTagsOutput
- type MissingParameterValueException
- func (s *MissingParameterValueException) Code() string
- func (s *MissingParameterValueException) Error() string
- func (s MissingParameterValueException) GoString() string
- func (s *MissingParameterValueException) Message() string
- func (s *MissingParameterValueException) OrigErr() error
- func (s *MissingParameterValueException) RequestID() string
- func (s *MissingParameterValueException) StatusCode() int
- func (s MissingParameterValueException) String() string
- type Plan
- type PlanInput
- func (s PlanInput) GoString() string
- func (s *PlanInput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *PlanInput
- func (s *PlanInput) SetBackupPlanName(v string) *PlanInput
- func (s *PlanInput) SetRules(v []*RuleInput) *PlanInput
- func (s PlanInput) String() string
- func (s *PlanInput) Validate() error
- type PlanTemplatesListMember
- type PlansListMember
- func (s PlansListMember) GoString() string
- func (s *PlansListMember) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *PlansListMember
- func (s *PlansListMember) SetBackupPlanArn(v string) *PlansListMember
- func (s *PlansListMember) SetBackupPlanId(v string) *PlansListMember
- func (s *PlansListMember) SetBackupPlanName(v string) *PlansListMember
- func (s *PlansListMember) SetCreationDate(v time.Time) *PlansListMember
- func (s *PlansListMember) SetCreatorRequestId(v string) *PlansListMember
- func (s *PlansListMember) SetDeletionDate(v time.Time) *PlansListMember
- func (s *PlansListMember) SetLastExecutionDate(v time.Time) *PlansListMember
- func (s *PlansListMember) SetVersionId(v string) *PlansListMember
- func (s PlansListMember) String() string
- type ProtectedResource
- func (s ProtectedResource) GoString() string
- func (s *ProtectedResource) SetLastBackupTime(v time.Time) *ProtectedResource
- func (s *ProtectedResource) SetResourceArn(v string) *ProtectedResource
- func (s *ProtectedResource) SetResourceType(v string) *ProtectedResource
- func (s ProtectedResource) String() string
- type PutBackupVaultAccessPolicyInput
- func (s PutBackupVaultAccessPolicyInput) GoString() string
- func (s *PutBackupVaultAccessPolicyInput) SetBackupVaultName(v string) *PutBackupVaultAccessPolicyInput
- func (s *PutBackupVaultAccessPolicyInput) SetPolicy(v string) *PutBackupVaultAccessPolicyInput
- func (s PutBackupVaultAccessPolicyInput) String() string
- func (s *PutBackupVaultAccessPolicyInput) Validate() error
- type PutBackupVaultAccessPolicyOutput
- type PutBackupVaultLockConfigurationInput
- func (s PutBackupVaultLockConfigurationInput) GoString() string
- func (s *PutBackupVaultLockConfigurationInput) SetBackupVaultName(v string) *PutBackupVaultLockConfigurationInput
- func (s *PutBackupVaultLockConfigurationInput) SetChangeableForDays(v int64) *PutBackupVaultLockConfigurationInput
- func (s *PutBackupVaultLockConfigurationInput) SetMaxRetentionDays(v int64) *PutBackupVaultLockConfigurationInput
- func (s *PutBackupVaultLockConfigurationInput) SetMinRetentionDays(v int64) *PutBackupVaultLockConfigurationInput
- func (s PutBackupVaultLockConfigurationInput) String() string
- func (s *PutBackupVaultLockConfigurationInput) Validate() error
- type PutBackupVaultLockConfigurationOutput
- type PutBackupVaultNotificationsInput
- func (s PutBackupVaultNotificationsInput) GoString() string
- func (s *PutBackupVaultNotificationsInput) SetBackupVaultEvents(v []*string) *PutBackupVaultNotificationsInput
- func (s *PutBackupVaultNotificationsInput) SetBackupVaultName(v string) *PutBackupVaultNotificationsInput
- func (s *PutBackupVaultNotificationsInput) SetSNSTopicArn(v string) *PutBackupVaultNotificationsInput
- func (s PutBackupVaultNotificationsInput) String() string
- func (s *PutBackupVaultNotificationsInput) Validate() error
- type PutBackupVaultNotificationsOutput
- type RecoveryPointByBackupVault
- func (s RecoveryPointByBackupVault) GoString() string
- func (s *RecoveryPointByBackupVault) SetBackupSizeInBytes(v int64) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetBackupVaultArn(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetBackupVaultName(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetCalculatedLifecycle(v *CalculatedLifecycle) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetCompletionDate(v time.Time) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetCreatedBy(v *RecoveryPointCreator) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetCreationDate(v time.Time) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetEncryptionKeyArn(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetIamRoleArn(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetIsEncrypted(v bool) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetLastRestoreTime(v time.Time) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetLifecycle(v *Lifecycle) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetRecoveryPointArn(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetResourceArn(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetResourceType(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetSourceBackupVaultArn(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetStatus(v string) *RecoveryPointByBackupVault
- func (s *RecoveryPointByBackupVault) SetStatusMessage(v string) *RecoveryPointByBackupVault
- func (s RecoveryPointByBackupVault) String() string
- type RecoveryPointByResource
- func (s RecoveryPointByResource) GoString() string
- func (s *RecoveryPointByResource) SetBackupSizeBytes(v int64) *RecoveryPointByResource
- func (s *RecoveryPointByResource) SetBackupVaultName(v string) *RecoveryPointByResource
- func (s *RecoveryPointByResource) SetCreationDate(v time.Time) *RecoveryPointByResource
- func (s *RecoveryPointByResource) SetEncryptionKeyArn(v string) *RecoveryPointByResource
- func (s *RecoveryPointByResource) SetRecoveryPointArn(v string) *RecoveryPointByResource
- func (s *RecoveryPointByResource) SetStatus(v string) *RecoveryPointByResource
- func (s *RecoveryPointByResource) SetStatusMessage(v string) *RecoveryPointByResource
- func (s RecoveryPointByResource) String() string
- type RecoveryPointCreator
- func (s RecoveryPointCreator) GoString() string
- func (s *RecoveryPointCreator) SetBackupPlanArn(v string) *RecoveryPointCreator
- func (s *RecoveryPointCreator) SetBackupPlanId(v string) *RecoveryPointCreator
- func (s *RecoveryPointCreator) SetBackupPlanVersion(v string) *RecoveryPointCreator
- func (s *RecoveryPointCreator) SetBackupRuleId(v string) *RecoveryPointCreator
- func (s RecoveryPointCreator) String() string
- type ReportDeliveryChannel
- func (s ReportDeliveryChannel) GoString() string
- func (s *ReportDeliveryChannel) SetFormats(v []*string) *ReportDeliveryChannel
- func (s *ReportDeliveryChannel) SetS3BucketName(v string) *ReportDeliveryChannel
- func (s *ReportDeliveryChannel) SetS3KeyPrefix(v string) *ReportDeliveryChannel
- func (s ReportDeliveryChannel) String() string
- func (s *ReportDeliveryChannel) Validate() error
- type ReportDestination
- type ReportJob
- func (s ReportJob) GoString() string
- func (s *ReportJob) SetCompletionTime(v time.Time) *ReportJob
- func (s *ReportJob) SetCreationTime(v time.Time) *ReportJob
- func (s *ReportJob) SetReportDestination(v *ReportDestination) *ReportJob
- func (s *ReportJob) SetReportJobId(v string) *ReportJob
- func (s *ReportJob) SetReportPlanArn(v string) *ReportJob
- func (s *ReportJob) SetReportTemplate(v string) *ReportJob
- func (s *ReportJob) SetStatus(v string) *ReportJob
- func (s *ReportJob) SetStatusMessage(v string) *ReportJob
- func (s ReportJob) String() string
- type ReportPlan
- func (s ReportPlan) GoString() string
- func (s *ReportPlan) SetCreationTime(v time.Time) *ReportPlan
- func (s *ReportPlan) SetDeploymentStatus(v string) *ReportPlan
- func (s *ReportPlan) SetLastAttemptedExecutionTime(v time.Time) *ReportPlan
- func (s *ReportPlan) SetLastSuccessfulExecutionTime(v time.Time) *ReportPlan
- func (s *ReportPlan) SetReportDeliveryChannel(v *ReportDeliveryChannel) *ReportPlan
- func (s *ReportPlan) SetReportPlanArn(v string) *ReportPlan
- func (s *ReportPlan) SetReportPlanDescription(v string) *ReportPlan
- func (s *ReportPlan) SetReportPlanName(v string) *ReportPlan
- func (s *ReportPlan) SetReportSetting(v *ReportSetting) *ReportPlan
- func (s ReportPlan) String() string
- type ReportSetting
- func (s ReportSetting) GoString() string
- func (s *ReportSetting) SetFrameworkArns(v []*string) *ReportSetting
- func (s *ReportSetting) SetNumberOfFrameworks(v int64) *ReportSetting
- func (s *ReportSetting) SetReportTemplate(v string) *ReportSetting
- func (s ReportSetting) String() string
- func (s *ReportSetting) Validate() error
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type RestoreJobsListMember
- func (s RestoreJobsListMember) GoString() string
- func (s *RestoreJobsListMember) SetAccountId(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetBackupSizeInBytes(v int64) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetCompletionDate(v time.Time) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetCreatedResourceArn(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetCreationDate(v time.Time) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetExpectedCompletionTimeMinutes(v int64) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetIamRoleArn(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetPercentDone(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetRecoveryPointArn(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetResourceType(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetRestoreJobId(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetStatus(v string) *RestoreJobsListMember
- func (s *RestoreJobsListMember) SetStatusMessage(v string) *RestoreJobsListMember
- func (s RestoreJobsListMember) String() string
- type Rule
- func (s Rule) GoString() string
- func (s *Rule) SetCompletionWindowMinutes(v int64) *Rule
- func (s *Rule) SetCopyActions(v []*CopyAction) *Rule
- func (s *Rule) SetEnableContinuousBackup(v bool) *Rule
- func (s *Rule) SetLifecycle(v *Lifecycle) *Rule
- func (s *Rule) SetRecoveryPointTags(v map[string]*string) *Rule
- func (s *Rule) SetRuleId(v string) *Rule
- func (s *Rule) SetRuleName(v string) *Rule
- func (s *Rule) SetScheduleExpression(v string) *Rule
- func (s *Rule) SetStartWindowMinutes(v int64) *Rule
- func (s *Rule) SetTargetBackupVaultName(v string) *Rule
- func (s Rule) String() string
- type RuleInput
- func (s RuleInput) GoString() string
- func (s *RuleInput) SetCompletionWindowMinutes(v int64) *RuleInput
- func (s *RuleInput) SetCopyActions(v []*CopyAction) *RuleInput
- func (s *RuleInput) SetEnableContinuousBackup(v bool) *RuleInput
- func (s *RuleInput) SetLifecycle(v *Lifecycle) *RuleInput
- func (s *RuleInput) SetRecoveryPointTags(v map[string]*string) *RuleInput
- func (s *RuleInput) SetRuleName(v string) *RuleInput
- func (s *RuleInput) SetScheduleExpression(v string) *RuleInput
- func (s *RuleInput) SetStartWindowMinutes(v int64) *RuleInput
- func (s *RuleInput) SetTargetBackupVaultName(v string) *RuleInput
- func (s RuleInput) String() string
- func (s *RuleInput) Validate() error
- type Selection
- func (s Selection) GoString() string
- func (s *Selection) SetConditions(v *Conditions) *Selection
- func (s *Selection) SetIamRoleArn(v string) *Selection
- func (s *Selection) SetListOfTags(v []*Condition) *Selection
- func (s *Selection) SetNotResources(v []*string) *Selection
- func (s *Selection) SetResources(v []*string) *Selection
- func (s *Selection) SetSelectionName(v string) *Selection
- func (s Selection) String() string
- func (s *Selection) Validate() error
- type SelectionsListMember
- func (s SelectionsListMember) GoString() string
- func (s *SelectionsListMember) SetBackupPlanId(v string) *SelectionsListMember
- func (s *SelectionsListMember) SetCreationDate(v time.Time) *SelectionsListMember
- func (s *SelectionsListMember) SetCreatorRequestId(v string) *SelectionsListMember
- func (s *SelectionsListMember) SetIamRoleArn(v string) *SelectionsListMember
- func (s *SelectionsListMember) SetSelectionId(v string) *SelectionsListMember
- func (s *SelectionsListMember) SetSelectionName(v string) *SelectionsListMember
- func (s SelectionsListMember) String() string
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type StartBackupJobInput
- func (s StartBackupJobInput) GoString() string
- func (s *StartBackupJobInput) SetBackupOptions(v map[string]*string) *StartBackupJobInput
- func (s *StartBackupJobInput) SetBackupVaultName(v string) *StartBackupJobInput
- func (s *StartBackupJobInput) SetCompleteWindowMinutes(v int64) *StartBackupJobInput
- func (s *StartBackupJobInput) SetIamRoleArn(v string) *StartBackupJobInput
- func (s *StartBackupJobInput) SetIdempotencyToken(v string) *StartBackupJobInput
- func (s *StartBackupJobInput) SetLifecycle(v *Lifecycle) *StartBackupJobInput
- func (s *StartBackupJobInput) SetRecoveryPointTags(v map[string]*string) *StartBackupJobInput
- func (s *StartBackupJobInput) SetResourceArn(v string) *StartBackupJobInput
- func (s *StartBackupJobInput) SetStartWindowMinutes(v int64) *StartBackupJobInput
- func (s StartBackupJobInput) String() string
- func (s *StartBackupJobInput) Validate() error
- type StartBackupJobOutput
- func (s StartBackupJobOutput) GoString() string
- func (s *StartBackupJobOutput) SetBackupJobId(v string) *StartBackupJobOutput
- func (s *StartBackupJobOutput) SetCreationDate(v time.Time) *StartBackupJobOutput
- func (s *StartBackupJobOutput) SetRecoveryPointArn(v string) *StartBackupJobOutput
- func (s StartBackupJobOutput) String() string
- type StartCopyJobInput
- func (s StartCopyJobInput) GoString() string
- func (s *StartCopyJobInput) SetDestinationBackupVaultArn(v string) *StartCopyJobInput
- func (s *StartCopyJobInput) SetIamRoleArn(v string) *StartCopyJobInput
- func (s *StartCopyJobInput) SetIdempotencyToken(v string) *StartCopyJobInput
- func (s *StartCopyJobInput) SetLifecycle(v *Lifecycle) *StartCopyJobInput
- func (s *StartCopyJobInput) SetRecoveryPointArn(v string) *StartCopyJobInput
- func (s *StartCopyJobInput) SetSourceBackupVaultName(v string) *StartCopyJobInput
- func (s StartCopyJobInput) String() string
- func (s *StartCopyJobInput) Validate() error
- type StartCopyJobOutput
- type StartReportJobInput
- type StartReportJobOutput
- type StartRestoreJobInput
- func (s StartRestoreJobInput) GoString() string
- func (s *StartRestoreJobInput) SetIamRoleArn(v string) *StartRestoreJobInput
- func (s *StartRestoreJobInput) SetIdempotencyToken(v string) *StartRestoreJobInput
- func (s *StartRestoreJobInput) SetMetadata(v map[string]*string) *StartRestoreJobInput
- func (s *StartRestoreJobInput) SetRecoveryPointArn(v string) *StartRestoreJobInput
- func (s *StartRestoreJobInput) SetResourceType(v string) *StartRestoreJobInput
- func (s StartRestoreJobInput) String() string
- func (s *StartRestoreJobInput) Validate() error
- type StartRestoreJobOutput
- type StopBackupJobInput
- type StopBackupJobOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateBackupPlanInput
- func (s UpdateBackupPlanInput) GoString() string
- func (s *UpdateBackupPlanInput) SetBackupPlan(v *PlanInput) *UpdateBackupPlanInput
- func (s *UpdateBackupPlanInput) SetBackupPlanId(v string) *UpdateBackupPlanInput
- func (s UpdateBackupPlanInput) String() string
- func (s *UpdateBackupPlanInput) Validate() error
- type UpdateBackupPlanOutput
- func (s UpdateBackupPlanOutput) GoString() string
- func (s *UpdateBackupPlanOutput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *UpdateBackupPlanOutput
- func (s *UpdateBackupPlanOutput) SetBackupPlanArn(v string) *UpdateBackupPlanOutput
- func (s *UpdateBackupPlanOutput) SetBackupPlanId(v string) *UpdateBackupPlanOutput
- func (s *UpdateBackupPlanOutput) SetCreationDate(v time.Time) *UpdateBackupPlanOutput
- func (s *UpdateBackupPlanOutput) SetVersionId(v string) *UpdateBackupPlanOutput
- func (s UpdateBackupPlanOutput) String() string
- type UpdateFrameworkInput
- func (s UpdateFrameworkInput) GoString() string
- func (s *UpdateFrameworkInput) SetFrameworkControls(v []*FrameworkControl) *UpdateFrameworkInput
- func (s *UpdateFrameworkInput) SetFrameworkDescription(v string) *UpdateFrameworkInput
- func (s *UpdateFrameworkInput) SetFrameworkName(v string) *UpdateFrameworkInput
- func (s *UpdateFrameworkInput) SetIdempotencyToken(v string) *UpdateFrameworkInput
- func (s UpdateFrameworkInput) String() string
- func (s *UpdateFrameworkInput) Validate() error
- type UpdateFrameworkOutput
- func (s UpdateFrameworkOutput) GoString() string
- func (s *UpdateFrameworkOutput) SetCreationTime(v time.Time) *UpdateFrameworkOutput
- func (s *UpdateFrameworkOutput) SetFrameworkArn(v string) *UpdateFrameworkOutput
- func (s *UpdateFrameworkOutput) SetFrameworkName(v string) *UpdateFrameworkOutput
- func (s UpdateFrameworkOutput) String() string
- type UpdateGlobalSettingsInput
- type UpdateGlobalSettingsOutput
- type UpdateRecoveryPointLifecycleInput
- func (s UpdateRecoveryPointLifecycleInput) GoString() string
- func (s *UpdateRecoveryPointLifecycleInput) SetBackupVaultName(v string) *UpdateRecoveryPointLifecycleInput
- func (s *UpdateRecoveryPointLifecycleInput) SetLifecycle(v *Lifecycle) *UpdateRecoveryPointLifecycleInput
- func (s *UpdateRecoveryPointLifecycleInput) SetRecoveryPointArn(v string) *UpdateRecoveryPointLifecycleInput
- func (s UpdateRecoveryPointLifecycleInput) String() string
- func (s *UpdateRecoveryPointLifecycleInput) Validate() error
- type UpdateRecoveryPointLifecycleOutput
- func (s UpdateRecoveryPointLifecycleOutput) GoString() string
- func (s *UpdateRecoveryPointLifecycleOutput) SetBackupVaultArn(v string) *UpdateRecoveryPointLifecycleOutput
- func (s *UpdateRecoveryPointLifecycleOutput) SetCalculatedLifecycle(v *CalculatedLifecycle) *UpdateRecoveryPointLifecycleOutput
- func (s *UpdateRecoveryPointLifecycleOutput) SetLifecycle(v *Lifecycle) *UpdateRecoveryPointLifecycleOutput
- func (s *UpdateRecoveryPointLifecycleOutput) SetRecoveryPointArn(v string) *UpdateRecoveryPointLifecycleOutput
- func (s UpdateRecoveryPointLifecycleOutput) String() string
- type UpdateRegionSettingsInput
- func (s UpdateRegionSettingsInput) GoString() string
- func (s *UpdateRegionSettingsInput) SetResourceTypeManagementPreference(v map[string]*bool) *UpdateRegionSettingsInput
- func (s *UpdateRegionSettingsInput) SetResourceTypeOptInPreference(v map[string]*bool) *UpdateRegionSettingsInput
- func (s UpdateRegionSettingsInput) String() string
- type UpdateRegionSettingsOutput
- type UpdateReportPlanInput
- func (s UpdateReportPlanInput) GoString() string
- func (s *UpdateReportPlanInput) SetIdempotencyToken(v string) *UpdateReportPlanInput
- func (s *UpdateReportPlanInput) SetReportDeliveryChannel(v *ReportDeliveryChannel) *UpdateReportPlanInput
- func (s *UpdateReportPlanInput) SetReportPlanDescription(v string) *UpdateReportPlanInput
- func (s *UpdateReportPlanInput) SetReportPlanName(v string) *UpdateReportPlanInput
- func (s *UpdateReportPlanInput) SetReportSetting(v *ReportSetting) *UpdateReportPlanInput
- func (s UpdateReportPlanInput) String() string
- func (s *UpdateReportPlanInput) Validate() error
- type UpdateReportPlanOutput
- func (s UpdateReportPlanOutput) GoString() string
- func (s *UpdateReportPlanOutput) SetCreationTime(v time.Time) *UpdateReportPlanOutput
- func (s *UpdateReportPlanOutput) SetReportPlanArn(v string) *UpdateReportPlanOutput
- func (s *UpdateReportPlanOutput) SetReportPlanName(v string) *UpdateReportPlanOutput
- func (s UpdateReportPlanOutput) String() string
- type VaultListMember
- func (s VaultListMember) GoString() string
- func (s *VaultListMember) SetBackupVaultArn(v string) *VaultListMember
- func (s *VaultListMember) SetBackupVaultName(v string) *VaultListMember
- func (s *VaultListMember) SetCreationDate(v time.Time) *VaultListMember
- func (s *VaultListMember) SetCreatorRequestId(v string) *VaultListMember
- func (s *VaultListMember) SetEncryptionKeyArn(v string) *VaultListMember
- func (s *VaultListMember) SetLockDate(v time.Time) *VaultListMember
- func (s *VaultListMember) SetLocked(v bool) *VaultListMember
- func (s *VaultListMember) SetMaxRetentionDays(v int64) *VaultListMember
- func (s *VaultListMember) SetMinRetentionDays(v int64) *VaultListMember
- func (s *VaultListMember) SetNumberOfRecoveryPoints(v int64) *VaultListMember
- func (s VaultListMember) String() string
Constants ¶
const ( // CopyJobStateCreated is a CopyJobState enum value CopyJobStateCreated = "CREATED" // CopyJobStateRunning is a CopyJobState enum value CopyJobStateRunning = "RUNNING" // CopyJobStateCompleted is a CopyJobState enum value CopyJobStateCompleted = "COMPLETED" // CopyJobStateFailed is a CopyJobState enum value CopyJobStateFailed = "FAILED" )
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" // VaultEventBackupJobSuccessful is a VaultEvent enum value VaultEventBackupJobSuccessful = "BACKUP_JOB_SUCCESSFUL" // VaultEventBackupJobFailed is a VaultEvent enum value VaultEventBackupJobFailed = "BACKUP_JOB_FAILED" // VaultEventBackupJobExpired is a VaultEvent enum value VaultEventBackupJobExpired = "BACKUP_JOB_EXPIRED" // VaultEventRestoreJobStarted is a VaultEvent enum value VaultEventRestoreJobStarted = "RESTORE_JOB_STARTED" // VaultEventRestoreJobCompleted is a VaultEvent enum value VaultEventRestoreJobCompleted = "RESTORE_JOB_COMPLETED" // VaultEventRestoreJobSuccessful is a VaultEvent enum value VaultEventRestoreJobSuccessful = "RESTORE_JOB_SUCCESSFUL" // VaultEventRestoreJobFailed is a VaultEvent enum value VaultEventRestoreJobFailed = "RESTORE_JOB_FAILED" // VaultEventCopyJobStarted is a VaultEvent enum value VaultEventCopyJobStarted = "COPY_JOB_STARTED" // VaultEventCopyJobSuccessful is a VaultEvent enum value VaultEventCopyJobSuccessful = "COPY_JOB_SUCCESSFUL" // VaultEventCopyJobFailed is a VaultEvent enum value VaultEventCopyJobFailed = "COPY_JOB_FAILED" // 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" // VaultEventS3BackupObjectFailed is a VaultEvent enum value VaultEventS3BackupObjectFailed = "S3_BACKUP_OBJECT_FAILED" // VaultEventS3RestoreObjectFailed is a VaultEvent enum value VaultEventS3RestoreObjectFailed = "S3_RESTORE_OBJECT_FAILED" )
const ( // ErrCodeAlreadyExistsException for service response error code // "AlreadyExistsException". // // The required resource already exists. ErrCodeAlreadyExistsException = "AlreadyExistsException" // ErrCodeConflictException for service response error code // "ConflictException". // // Backup can't perform the action that you requested until it finishes performing // a previous action. Try again later. ErrCodeConflictException = "ConflictException" // ErrCodeDependencyFailureException for service response error code // "DependencyFailureException". // // A dependent Amazon Web Services service or resource returned an error to // the 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" // ErrCodeInvalidResourceStateException for service response error code // "InvalidResourceStateException". // // Backup is already performing an action on this recovery point. It can't perform // the action you requested until the first action finishes. Try again later. ErrCodeInvalidResourceStateException = "InvalidResourceStateException" // 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" // "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 identifier of a specific service. )
Service information constants
const (
// ConditionTypeStringequals is a ConditionType enum value
ConditionTypeStringequals = "STRINGEQUALS"
)
Variables ¶
This section is empty.
Functions ¶
func ConditionType_Values ¶ added in v1.34.3
func ConditionType_Values() []string
ConditionType_Values returns all elements of the ConditionType enum
func CopyJobState_Values ¶ added in v1.34.3
func CopyJobState_Values() []string
CopyJobState_Values returns all elements of the CopyJobState enum
func JobState_Values ¶ added in v1.34.3
func JobState_Values() []string
JobState_Values returns all elements of the JobState enum
func RecoveryPointStatus_Values ¶ added in v1.34.3
func RecoveryPointStatus_Values() []string
RecoveryPointStatus_Values returns all elements of the RecoveryPointStatus enum
func RestoreJobStatus_Values ¶ added in v1.34.3
func RestoreJobStatus_Values() []string
RestoreJobStatus_Values returns all elements of the RestoreJobStatus enum
func StorageClass_Values ¶ added in v1.34.3
func StorageClass_Values() []string
StorageClass_Values returns all elements of the StorageClass enum
func VaultEvent_Values ¶ added in v1.34.3
func VaultEvent_Values() []string
VaultEvent_Values returns all elements of the VaultEvent enum
Types ¶
type AdvancedBackupSetting ¶ added in v1.34.30
type AdvancedBackupSetting struct { // Specifies the backup option for a selected resource. This option is only // available for Windows VSS backup jobs. // // Valid values: // // Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and // create a Windows VSS backup. // // Set to "WindowsVSS":"disabled" to create a regular backup. The WindowsVSS // option is not enabled by default. // // If you specify an invalid option, you get an InvalidParameterValueException // exception. // // For more information about Windows VSS backups, see Creating a VSS-Enabled // Windows Backup (https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html). BackupOptions map[string]*string `type:"map"` // Specifies an object containing resource type and backup options. The only // supported resource type is Amazon EC2 instances with Windows Volume Shadow // Copy Service (VSS). For a CloudFormation example, see the sample CloudFormation // template to enable Windows VSS (https://docs.aws.amazon.com/aws-backup/latest/devguide/integrate-cloudformation-with-aws-backup.html) // in the Backup User Guide. // // Valid values: EC2. ResourceType *string `type:"string"` // contains filtered or unexported fields }
A list of backup options for each resource type.
func (AdvancedBackupSetting) GoString ¶ added in v1.34.30
func (s AdvancedBackupSetting) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AdvancedBackupSetting) SetBackupOptions ¶ added in v1.34.30
func (s *AdvancedBackupSetting) SetBackupOptions(v map[string]*string) *AdvancedBackupSetting
SetBackupOptions sets the BackupOptions field's value.
func (*AdvancedBackupSetting) SetResourceType ¶ added in v1.34.30
func (s *AdvancedBackupSetting) SetResourceType(v string) *AdvancedBackupSetting
SetResourceType sets the ResourceType field's value.
func (AdvancedBackupSetting) String ¶ added in v1.34.30
func (s AdvancedBackupSetting) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AlreadyExistsException ¶ added in v1.28.0
type AlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Arn *string `type:"string"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` CreatorRequestId *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The required resource already exists.
func (*AlreadyExistsException) Code ¶ added in v1.28.0
func (s *AlreadyExistsException) Code() string
Code returns the exception type name.
func (*AlreadyExistsException) Error ¶ added in v1.28.0
func (s *AlreadyExistsException) Error() string
func (AlreadyExistsException) GoString ¶ added in v1.28.0
func (s AlreadyExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AlreadyExistsException) Message ¶ added in v1.28.0
func (s *AlreadyExistsException) Message() string
Message returns the exception's message.
func (*AlreadyExistsException) OrigErr ¶ added in v1.28.0
func (s *AlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AlreadyExistsException) RequestID ¶ added in v1.28.0
func (s *AlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AlreadyExistsException) StatusCode ¶ added in v1.28.0
func (s *AlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AlreadyExistsException) String ¶ added in v1.28.0
func (s AlreadyExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Backup ¶
Backup provides the API operation methods for making requests to AWS Backup. See this package's package overview docs for details on the service.
Backup methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(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:
mySession := session.Must(session.NewSession()) // 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 ¶
func (c *Backup) CreateBackupPlan(input *CreateBackupPlanInput) (*CreateBackupPlanOutput, error)
CreateBackupPlan API operation for AWS Backup.
Creates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that Backup uses to schedule tasks that create recovery points for resources.
If you call CreateBackupPlan with a plan that already exists, you receive an AlreadyExistsException exception.
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 Types:
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
AlreadyExistsException The required resource already exists.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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. For examples, see Assigning resources programmatically (https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json).
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 Types:
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
AlreadyExistsException The required resource already exists.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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.
Do not include sensitive data, such as passport numbers, in 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 Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
AlreadyExistsException The required resource already exists.
See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVault
func (*Backup) CreateBackupVaultRequest ¶
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 ¶
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) CreateFramework ¶ added in v1.40.28
func (c *Backup) CreateFramework(input *CreateFrameworkInput) (*CreateFrameworkOutput, error)
CreateFramework API operation for AWS Backup.
Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
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 CreateFramework for usage and error information.
Returned Error Types:
AlreadyExistsException The required resource already exists.
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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/CreateFramework
func (*Backup) CreateFrameworkRequest ¶ added in v1.40.28
func (c *Backup) CreateFrameworkRequest(input *CreateFrameworkInput) (req *request.Request, output *CreateFrameworkOutput)
CreateFrameworkRequest generates a "aws/request.Request" representing the client's request for the CreateFramework 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 CreateFramework for more information on using the CreateFramework 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 CreateFrameworkRequest method. req, resp := client.CreateFrameworkRequest(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/CreateFramework
func (*Backup) CreateFrameworkWithContext ¶ added in v1.40.28
func (c *Backup) CreateFrameworkWithContext(ctx aws.Context, input *CreateFrameworkInput, opts ...request.Option) (*CreateFrameworkOutput, error)
CreateFrameworkWithContext is the same as CreateFramework with the addition of the ability to pass a context and additional request options.
See CreateFramework 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) CreateReportPlan ¶ added in v1.40.28
func (c *Backup) CreateReportPlan(input *CreateReportPlanInput) (*CreateReportPlanOutput, error)
CreateReportPlan API operation for AWS Backup.
Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it.
If you call CreateReportPlan with a plan that already exists, you receive an AlreadyExistsException exception.
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 CreateReportPlan for usage and error information.
Returned Error Types:
AlreadyExistsException The required resource already exists.
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
ServiceUnavailableException The request failed due to a temporary failure of the server.
MissingParameterValueException Indicates that a required parameter is missing.
See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlan
func (*Backup) CreateReportPlanRequest ¶ added in v1.40.28
func (c *Backup) CreateReportPlanRequest(input *CreateReportPlanInput) (req *request.Request, output *CreateReportPlanOutput)
CreateReportPlanRequest generates a "aws/request.Request" representing the client's request for the CreateReportPlan 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 CreateReportPlan for more information on using the CreateReportPlan 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 CreateReportPlanRequest method. req, resp := client.CreateReportPlanRequest(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/CreateReportPlan
func (*Backup) CreateReportPlanWithContext ¶ added in v1.40.28
func (c *Backup) CreateReportPlanWithContext(ctx aws.Context, input *CreateReportPlanInput, opts ...request.Option) (*CreateReportPlanOutput, error)
CreateReportPlanWithContext is the same as CreateReportPlan with the addition of the ability to pass a context and additional request options.
See CreateReportPlan 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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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) DeleteBackupVaultLockConfiguration ¶ added in v1.40.58
func (c *Backup) DeleteBackupVaultLockConfiguration(input *DeleteBackupVaultLockConfigurationInput) (*DeleteBackupVaultLockConfigurationOutput, error)
DeleteBackupVaultLockConfiguration API operation for AWS Backup.
Deletes Backup Vault Lock from a backup vault specified by a backup vault name.
If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you will receive an InvalidRequestException if you attempt to do so. For more information, see Vault Lock (https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) in the Backup Developer Guide.
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 DeleteBackupVaultLockConfiguration for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
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/DeleteBackupVaultLockConfiguration
func (*Backup) DeleteBackupVaultLockConfigurationRequest ¶ added in v1.40.58
func (c *Backup) DeleteBackupVaultLockConfigurationRequest(input *DeleteBackupVaultLockConfigurationInput) (req *request.Request, output *DeleteBackupVaultLockConfigurationOutput)
DeleteBackupVaultLockConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteBackupVaultLockConfiguration 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 DeleteBackupVaultLockConfiguration for more information on using the DeleteBackupVaultLockConfiguration 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 DeleteBackupVaultLockConfigurationRequest method. req, resp := client.DeleteBackupVaultLockConfigurationRequest(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/DeleteBackupVaultLockConfiguration
func (*Backup) DeleteBackupVaultLockConfigurationWithContext ¶ added in v1.40.58
func (c *Backup) DeleteBackupVaultLockConfigurationWithContext(ctx aws.Context, input *DeleteBackupVaultLockConfigurationInput, opts ...request.Option) (*DeleteBackupVaultLockConfigurationOutput, error)
DeleteBackupVaultLockConfigurationWithContext is the same as DeleteBackupVaultLockConfiguration with the addition of the ability to pass a context and additional request options.
See DeleteBackupVaultLockConfiguration 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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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) DeleteFramework ¶ added in v1.40.28
func (c *Backup) DeleteFramework(input *DeleteFrameworkInput) (*DeleteFrameworkOutput, error)
DeleteFramework API operation for AWS Backup.
Deletes the framework specified by a framework 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 DeleteFramework for usage and error information.
Returned Error Types:
MissingParameterValueException Indicates that a required parameter is missing.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
ServiceUnavailableException The request failed due to a temporary failure of the server.
ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
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/DeleteFramework
func (*Backup) DeleteFrameworkRequest ¶ added in v1.40.28
func (c *Backup) DeleteFrameworkRequest(input *DeleteFrameworkInput) (req *request.Request, output *DeleteFrameworkOutput)
DeleteFrameworkRequest generates a "aws/request.Request" representing the client's request for the DeleteFramework 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 DeleteFramework for more information on using the DeleteFramework 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 DeleteFrameworkRequest method. req, resp := client.DeleteFrameworkRequest(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/DeleteFramework
func (*Backup) DeleteFrameworkWithContext ¶ added in v1.40.28
func (c *Backup) DeleteFrameworkWithContext(ctx aws.Context, input *DeleteFrameworkInput, opts ...request.Option) (*DeleteFrameworkOutput, error)
DeleteFrameworkWithContext is the same as DeleteFramework with the addition of the ability to pass a context and additional request options.
See DeleteFramework 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 ¶
func (c *Backup) DeleteRecoveryPoint(input *DeleteRecoveryPointInput) (*DeleteRecoveryPointOutput, error)
DeleteRecoveryPoint API operation for AWS Backup.
Deletes the recovery point specified by a recovery point ID.
If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous 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 DeleteRecoveryPoint for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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) DeleteReportPlan ¶ added in v1.40.28
func (c *Backup) DeleteReportPlan(input *DeleteReportPlanInput) (*DeleteReportPlanOutput, error)
DeleteReportPlan API operation for AWS Backup.
Deletes the report plan specified by a report plan 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 DeleteReportPlan for usage and error information.
Returned Error Types:
MissingParameterValueException Indicates that a required parameter is missing.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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/DeleteReportPlan
func (*Backup) DeleteReportPlanRequest ¶ added in v1.40.28
func (c *Backup) DeleteReportPlanRequest(input *DeleteReportPlanInput) (req *request.Request, output *DeleteReportPlanOutput)
DeleteReportPlanRequest generates a "aws/request.Request" representing the client's request for the DeleteReportPlan 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 DeleteReportPlan for more information on using the DeleteReportPlan 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 DeleteReportPlanRequest method. req, resp := client.DeleteReportPlanRequest(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/DeleteReportPlan
func (*Backup) DeleteReportPlanWithContext ¶ added in v1.40.28
func (c *Backup) DeleteReportPlanWithContext(ctx aws.Context, input *DeleteReportPlanInput, opts ...request.Option) (*DeleteReportPlanOutput, error)
DeleteReportPlanWithContext is the same as DeleteReportPlan with the addition of the ability to pass a context and additional request options.
See DeleteReportPlan 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 ¶
func (c *Backup) DescribeBackupJob(input *DescribeBackupJobInput) (*DescribeBackupJobOutput, error)
DescribeBackupJob API operation for AWS Backup.
Returns backup job details for the specified BackupJobId.
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
DependencyFailureException A dependent Amazon Web Services service or resource returned an error to the 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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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) DescribeCopyJob ¶ added in v1.28.1
func (c *Backup) DescribeCopyJob(input *DescribeCopyJobInput) (*DescribeCopyJobOutput, error)
DescribeCopyJob API operation for AWS Backup.
Returns metadata associated with creating a copy 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 DescribeCopyJob for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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/DescribeCopyJob
func (*Backup) DescribeCopyJobRequest ¶ added in v1.28.1
func (c *Backup) DescribeCopyJobRequest(input *DescribeCopyJobInput) (req *request.Request, output *DescribeCopyJobOutput)
DescribeCopyJobRequest generates a "aws/request.Request" representing the client's request for the DescribeCopyJob 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 DescribeCopyJob for more information on using the DescribeCopyJob 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 DescribeCopyJobRequest method. req, resp := client.DescribeCopyJobRequest(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/DescribeCopyJob
func (*Backup) DescribeCopyJobWithContext ¶ added in v1.28.1
func (c *Backup) DescribeCopyJobWithContext(ctx aws.Context, input *DescribeCopyJobInput, opts ...request.Option) (*DescribeCopyJobOutput, error)
DescribeCopyJobWithContext is the same as DescribeCopyJob with the addition of the ability to pass a context and additional request options.
See DescribeCopyJob 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) DescribeFramework ¶ added in v1.40.28
func (c *Backup) DescribeFramework(input *DescribeFrameworkInput) (*DescribeFrameworkOutput, error)
DescribeFramework API operation for AWS Backup.
Returns the framework details for the specified FrameworkName.
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 DescribeFramework for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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/DescribeFramework
func (*Backup) DescribeFrameworkRequest ¶ added in v1.40.28
func (c *Backup) DescribeFrameworkRequest(input *DescribeFrameworkInput) (req *request.Request, output *DescribeFrameworkOutput)
DescribeFrameworkRequest generates a "aws/request.Request" representing the client's request for the DescribeFramework 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 DescribeFramework for more information on using the DescribeFramework 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 DescribeFrameworkRequest method. req, resp := client.DescribeFrameworkRequest(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/DescribeFramework
func (*Backup) DescribeFrameworkWithContext ¶ added in v1.40.28
func (c *Backup) DescribeFrameworkWithContext(ctx aws.Context, input *DescribeFrameworkInput, opts ...request.Option) (*DescribeFrameworkOutput, error)
DescribeFrameworkWithContext is the same as DescribeFramework with the addition of the ability to pass a context and additional request options.
See DescribeFramework 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) DescribeGlobalSettings ¶ added in v1.35.31
func (c *Backup) DescribeGlobalSettings(input *DescribeGlobalSettingsInput) (*DescribeGlobalSettingsOutput, error)
DescribeGlobalSettings API operation for AWS Backup.
Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not a member of an Organizations organization. Example: describe-global-settings --region us-west-2
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 DescribeGlobalSettings for usage and error information.
Returned Error Types:
InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
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/DescribeGlobalSettings
func (*Backup) DescribeGlobalSettingsRequest ¶ added in v1.35.31
func (c *Backup) DescribeGlobalSettingsRequest(input *DescribeGlobalSettingsInput) (req *request.Request, output *DescribeGlobalSettingsOutput)
DescribeGlobalSettingsRequest generates a "aws/request.Request" representing the client's request for the DescribeGlobalSettings 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 DescribeGlobalSettings for more information on using the DescribeGlobalSettings 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 DescribeGlobalSettingsRequest method. req, resp := client.DescribeGlobalSettingsRequest(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/DescribeGlobalSettings
func (*Backup) DescribeGlobalSettingsWithContext ¶ added in v1.35.31
func (c *Backup) DescribeGlobalSettingsWithContext(ctx aws.Context, input *DescribeGlobalSettingsInput, opts ...request.Option) (*DescribeGlobalSettingsOutput, error)
DescribeGlobalSettingsWithContext is the same as DescribeGlobalSettings with the addition of the ability to pass a context and additional request options.
See DescribeGlobalSettings 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 ¶
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 Amazon Web Services 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 Types:
MissingParameterValueException Indicates that a required parameter is missing.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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) DescribeRegionSettings ¶ added in v1.31.2
func (c *Backup) DescribeRegionSettings(input *DescribeRegionSettingsInput) (*DescribeRegionSettingsOutput, error)
DescribeRegionSettings API operation for AWS Backup.
Returns the current service opt-in settings for the Region. If service opt-in is enabled for a service, Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, Backup does not try to protect that service's resources in this Region.
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 DescribeRegionSettings for usage and error information.
Returned Error Types:
- 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/DescribeRegionSettings
func (*Backup) DescribeRegionSettingsRequest ¶ added in v1.31.2
func (c *Backup) DescribeRegionSettingsRequest(input *DescribeRegionSettingsInput) (req *request.Request, output *DescribeRegionSettingsOutput)
DescribeRegionSettingsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegionSettings 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 DescribeRegionSettings for more information on using the DescribeRegionSettings 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 DescribeRegionSettingsRequest method. req, resp := client.DescribeRegionSettingsRequest(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/DescribeRegionSettings
func (*Backup) DescribeRegionSettingsWithContext ¶ added in v1.31.2
func (c *Backup) DescribeRegionSettingsWithContext(ctx aws.Context, input *DescribeRegionSettingsInput, opts ...request.Option) (*DescribeRegionSettingsOutput, error)
DescribeRegionSettingsWithContext is the same as DescribeRegionSettings with the addition of the ability to pass a context and additional request options.
See DescribeRegionSettings 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) DescribeReportJob ¶ added in v1.40.28
func (c *Backup) DescribeReportJob(input *DescribeReportJobInput) (*DescribeReportJobOutput, error)
DescribeReportJob API operation for AWS Backup.
Returns the details associated with creating a report as specified by its ReportJobId.
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 DescribeReportJob for usage and error information.
Returned Error Types:
ServiceUnavailableException The request failed due to a temporary failure of the server.
MissingParameterValueException Indicates that a required parameter is missing.
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/DescribeReportJob
func (*Backup) DescribeReportJobRequest ¶ added in v1.40.28
func (c *Backup) DescribeReportJobRequest(input *DescribeReportJobInput) (req *request.Request, output *DescribeReportJobOutput)
DescribeReportJobRequest generates a "aws/request.Request" representing the client's request for the DescribeReportJob 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 DescribeReportJob for more information on using the DescribeReportJob 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 DescribeReportJobRequest method. req, resp := client.DescribeReportJobRequest(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/DescribeReportJob
func (*Backup) DescribeReportJobWithContext ¶ added in v1.40.28
func (c *Backup) DescribeReportJobWithContext(ctx aws.Context, input *DescribeReportJobInput, opts ...request.Option) (*DescribeReportJobOutput, error)
DescribeReportJobWithContext is the same as DescribeReportJob with the addition of the ability to pass a context and additional request options.
See DescribeReportJob 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) DescribeReportPlan ¶ added in v1.40.28
func (c *Backup) DescribeReportPlan(input *DescribeReportPlanInput) (*DescribeReportPlanOutput, error)
DescribeReportPlan API operation for AWS Backup.
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
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 DescribeReportPlan for usage and error information.
Returned Error Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ResourceNotFoundException A resource that is required for the action doesn't exist.
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/DescribeReportPlan
func (*Backup) DescribeReportPlanRequest ¶ added in v1.40.28
func (c *Backup) DescribeReportPlanRequest(input *DescribeReportPlanInput) (req *request.Request, output *DescribeReportPlanOutput)
DescribeReportPlanRequest generates a "aws/request.Request" representing the client's request for the DescribeReportPlan 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 DescribeReportPlan for more information on using the DescribeReportPlan 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 DescribeReportPlanRequest method. req, resp := client.DescribeReportPlanRequest(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/DescribeReportPlan
func (*Backup) DescribeReportPlanWithContext ¶ added in v1.40.28
func (c *Backup) DescribeReportPlanWithContext(ctx aws.Context, input *DescribeReportPlanInput, opts ...request.Option) (*DescribeReportPlanOutput, error)
DescribeReportPlanWithContext is the same as DescribeReportPlan with the addition of the ability to pass a context and additional request options.
See DescribeReportPlan 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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
DependencyFailureException A dependent Amazon Web Services service or resource returned an error to the 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 ¶
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 ¶
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) DisassociateRecoveryPoint ¶ added in v1.37.28
func (c *Backup) DisassociateRecoveryPoint(input *DisassociateRecoveryPointInput) (*DisassociateRecoveryPointOutput, error)
DisassociateRecoveryPoint API operation for AWS Backup.
Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.
Does not support snapshot backup recovery points.
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 DisassociateRecoveryPoint for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidResourceStateException Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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/DisassociateRecoveryPoint
func (*Backup) DisassociateRecoveryPointRequest ¶ added in v1.37.28
func (c *Backup) DisassociateRecoveryPointRequest(input *DisassociateRecoveryPointInput) (req *request.Request, output *DisassociateRecoveryPointOutput)
DisassociateRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the DisassociateRecoveryPoint 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 DisassociateRecoveryPoint for more information on using the DisassociateRecoveryPoint 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 DisassociateRecoveryPointRequest method. req, resp := client.DisassociateRecoveryPointRequest(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/DisassociateRecoveryPoint
func (*Backup) DisassociateRecoveryPointWithContext ¶ added in v1.37.28
func (c *Backup) DisassociateRecoveryPointWithContext(ctx aws.Context, input *DisassociateRecoveryPointInput, opts ...request.Option) (*DisassociateRecoveryPointOutput, error)
DisassociateRecoveryPointWithContext is the same as DisassociateRecoveryPoint with the addition of the ability to pass a context and additional request options.
See DisassociateRecoveryPoint 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 ¶
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 Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
func (c *Backup) GetBackupPlan(input *GetBackupPlanInput) (*GetBackupPlanOutput, error)
GetBackupPlan API operation for AWS Backup.
Returns BackupPlan details for the specified BackupPlanId. The details are 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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 Types:
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
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 Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
func (c *Backup) GetRecoveryPointRestoreMetadata(input *GetRecoveryPointRestoreMetadataInput) (*GetRecoveryPointRestoreMetadataOutput, error)
GetRecoveryPointRestoreMetadata API operation for AWS Backup.
Returns a set of metadata key-value pairs that were used to create the 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 GetRecoveryPointRestoreMetadata for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
func (c *Backup) GetSupportedResourceTypes(input *GetSupportedResourceTypesInput) (*GetSupportedResourceTypesOutput, error)
GetSupportedResourceTypes API operation for AWS Backup.
Returns the Amazon Web Services resource types supported by 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 Types:
- 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 ¶
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 ¶
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 ¶
func (c *Backup) ListBackupJobs(input *ListBackupJobsInput) (*ListBackupJobsOutput, error)
ListBackupJobs API operation for AWS Backup.
Returns a list of existing backup jobs for an authenticated account for the last 30 days. For a longer period of time, consider using these monitoring tools (https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html).
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 Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *Backup) ListBackupPlans(input *ListBackupPlansInput) (*ListBackupPlansOutput, error)
ListBackupPlans API operation for AWS Backup.
Returns a list of all active backup plans for an authenticated account. The list contains information such as 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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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) ListCopyJobs ¶ added in v1.28.1
func (c *Backup) ListCopyJobs(input *ListCopyJobsInput) (*ListCopyJobsOutput, error)
ListCopyJobs API operation for AWS Backup.
Returns metadata about your copy 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 ListCopyJobs for usage and error information.
Returned Error Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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/ListCopyJobs
func (*Backup) ListCopyJobsPages ¶ added in v1.28.1
func (c *Backup) ListCopyJobsPages(input *ListCopyJobsInput, fn func(*ListCopyJobsOutput, bool) bool) error
ListCopyJobsPages iterates over the pages of a ListCopyJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCopyJobs 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 ListCopyJobs operation. pageNum := 0 err := client.ListCopyJobsPages(params, func(page *backup.ListCopyJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Backup) ListCopyJobsPagesWithContext ¶ added in v1.28.1
func (c *Backup) ListCopyJobsPagesWithContext(ctx aws.Context, input *ListCopyJobsInput, fn func(*ListCopyJobsOutput, bool) bool, opts ...request.Option) error
ListCopyJobsPagesWithContext same as ListCopyJobsPages 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) ListCopyJobsRequest ¶ added in v1.28.1
func (c *Backup) ListCopyJobsRequest(input *ListCopyJobsInput) (req *request.Request, output *ListCopyJobsOutput)
ListCopyJobsRequest generates a "aws/request.Request" representing the client's request for the ListCopyJobs 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 ListCopyJobs for more information on using the ListCopyJobs 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 ListCopyJobsRequest method. req, resp := client.ListCopyJobsRequest(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/ListCopyJobs
func (*Backup) ListCopyJobsWithContext ¶ added in v1.28.1
func (c *Backup) ListCopyJobsWithContext(ctx aws.Context, input *ListCopyJobsInput, opts ...request.Option) (*ListCopyJobsOutput, error)
ListCopyJobsWithContext is the same as ListCopyJobs with the addition of the ability to pass a context and additional request options.
See ListCopyJobs 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) ListFrameworks ¶ added in v1.40.28
func (c *Backup) ListFrameworks(input *ListFrameworksInput) (*ListFrameworksOutput, error)
ListFrameworks API operation for AWS Backup.
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
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 ListFrameworks for usage and error information.
Returned Error Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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/ListFrameworks
func (*Backup) ListFrameworksPages ¶ added in v1.40.28
func (c *Backup) ListFrameworksPages(input *ListFrameworksInput, fn func(*ListFrameworksOutput, bool) bool) error
ListFrameworksPages iterates over the pages of a ListFrameworks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFrameworks 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 ListFrameworks operation. pageNum := 0 err := client.ListFrameworksPages(params, func(page *backup.ListFrameworksOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Backup) ListFrameworksPagesWithContext ¶ added in v1.40.28
func (c *Backup) ListFrameworksPagesWithContext(ctx aws.Context, input *ListFrameworksInput, fn func(*ListFrameworksOutput, bool) bool, opts ...request.Option) error
ListFrameworksPagesWithContext same as ListFrameworksPages 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) ListFrameworksRequest ¶ added in v1.40.28
func (c *Backup) ListFrameworksRequest(input *ListFrameworksInput) (req *request.Request, output *ListFrameworksOutput)
ListFrameworksRequest generates a "aws/request.Request" representing the client's request for the ListFrameworks 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 ListFrameworks for more information on using the ListFrameworks 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 ListFrameworksRequest method. req, resp := client.ListFrameworksRequest(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/ListFrameworks
func (*Backup) ListFrameworksWithContext ¶ added in v1.40.28
func (c *Backup) ListFrameworksWithContext(ctx aws.Context, input *ListFrameworksInput, opts ...request.Option) (*ListFrameworksOutput, error)
ListFrameworksWithContext is the same as ListFrameworks with the addition of the ability to pass a context and additional request options.
See ListFrameworks 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 ¶
func (c *Backup) ListProtectedResources(input *ListProtectedResourcesInput) (*ListProtectedResourcesOutput, error)
ListProtectedResources API operation for AWS Backup.
Returns an array of resources successfully backed up by 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 Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *Backup) ListRecoveryPointsByResource(input *ListRecoveryPointsByResourceInput) (*ListRecoveryPointsByResourceOutput, error)
ListRecoveryPointsByResource API operation for AWS Backup.
Returns detailed information about all the recovery points of the type specified by a resource Amazon Resource Name (ARN).
For Amazon EFS and Amazon EC2, this action only lists recovery points created by 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 ListRecoveryPointsByResource for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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) ListReportJobs ¶ added in v1.40.28
func (c *Backup) ListReportJobs(input *ListReportJobsInput) (*ListReportJobsOutput, error)
ListReportJobs API operation for AWS Backup.
Returns details about your report 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 ListReportJobs for usage and error information.
Returned Error Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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/ListReportJobs
func (*Backup) ListReportJobsPages ¶ added in v1.40.28
func (c *Backup) ListReportJobsPages(input *ListReportJobsInput, fn func(*ListReportJobsOutput, bool) bool) error
ListReportJobsPages iterates over the pages of a ListReportJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListReportJobs 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 ListReportJobs operation. pageNum := 0 err := client.ListReportJobsPages(params, func(page *backup.ListReportJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Backup) ListReportJobsPagesWithContext ¶ added in v1.40.28
func (c *Backup) ListReportJobsPagesWithContext(ctx aws.Context, input *ListReportJobsInput, fn func(*ListReportJobsOutput, bool) bool, opts ...request.Option) error
ListReportJobsPagesWithContext same as ListReportJobsPages 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) ListReportJobsRequest ¶ added in v1.40.28
func (c *Backup) ListReportJobsRequest(input *ListReportJobsInput) (req *request.Request, output *ListReportJobsOutput)
ListReportJobsRequest generates a "aws/request.Request" representing the client's request for the ListReportJobs 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 ListReportJobs for more information on using the ListReportJobs 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 ListReportJobsRequest method. req, resp := client.ListReportJobsRequest(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/ListReportJobs
func (*Backup) ListReportJobsWithContext ¶ added in v1.40.28
func (c *Backup) ListReportJobsWithContext(ctx aws.Context, input *ListReportJobsInput, opts ...request.Option) (*ListReportJobsOutput, error)
ListReportJobsWithContext is the same as ListReportJobs with the addition of the ability to pass a context and additional request options.
See ListReportJobs 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) ListReportPlans ¶ added in v1.40.28
func (c *Backup) ListReportPlans(input *ListReportPlansInput) (*ListReportPlansOutput, error)
ListReportPlans API operation for AWS Backup.
Returns a list of your report plans. For detailed information about a single report plan, use DescribeReportPlan.
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 ListReportPlans for usage and error information.
Returned Error Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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/ListReportPlans
func (*Backup) ListReportPlansPages ¶ added in v1.40.28
func (c *Backup) ListReportPlansPages(input *ListReportPlansInput, fn func(*ListReportPlansOutput, bool) bool) error
ListReportPlansPages iterates over the pages of a ListReportPlans operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListReportPlans 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 ListReportPlans operation. pageNum := 0 err := client.ListReportPlansPages(params, func(page *backup.ListReportPlansOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Backup) ListReportPlansPagesWithContext ¶ added in v1.40.28
func (c *Backup) ListReportPlansPagesWithContext(ctx aws.Context, input *ListReportPlansInput, fn func(*ListReportPlansOutput, bool) bool, opts ...request.Option) error
ListReportPlansPagesWithContext same as ListReportPlansPages 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) ListReportPlansRequest ¶ added in v1.40.28
func (c *Backup) ListReportPlansRequest(input *ListReportPlansInput) (req *request.Request, output *ListReportPlansOutput)
ListReportPlansRequest generates a "aws/request.Request" representing the client's request for the ListReportPlans 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 ListReportPlans for more information on using the ListReportPlans 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 ListReportPlansRequest method. req, resp := client.ListReportPlansRequest(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/ListReportPlans
func (*Backup) ListReportPlansWithContext ¶ added in v1.40.28
func (c *Backup) ListReportPlansWithContext(ctx aws.Context, input *ListReportPlansInput, opts ...request.Option) (*ListReportPlansOutput, error)
ListReportPlansWithContext is the same as ListReportPlans with the addition of the ability to pass a context and additional request options.
See ListReportPlans 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 ¶
func (c *Backup) ListRestoreJobs(input *ListRestoreJobsInput) (*ListRestoreJobsOutput, error)
ListRestoreJobs API operation for AWS Backup.
Returns a list of jobs that Backup initiated to restore a saved resource, including details 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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
ListTags only works for resource types that support full Backup management of their backups. Those resource types are listed in the "Full Backup management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) table.
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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) PutBackupVaultLockConfiguration ¶ added in v1.40.58
func (c *Backup) PutBackupVaultLockConfiguration(input *PutBackupVaultLockConfigurationInput) (*PutBackupVaultLockConfigurationOutput, error)
PutBackupVaultLockConfiguration API operation for AWS Backup.
Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and maximum retention period for future backup and copy jobs that target a backup vault.
Backup Vault Lock has yet to receive a third-party assessment for SEC 17a-4(f) and CFTC.
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 PutBackupVaultLockConfiguration for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
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/PutBackupVaultLockConfiguration
func (*Backup) PutBackupVaultLockConfigurationRequest ¶ added in v1.40.58
func (c *Backup) PutBackupVaultLockConfigurationRequest(input *PutBackupVaultLockConfigurationInput) (req *request.Request, output *PutBackupVaultLockConfigurationOutput)
PutBackupVaultLockConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutBackupVaultLockConfiguration 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 PutBackupVaultLockConfiguration for more information on using the PutBackupVaultLockConfiguration 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 PutBackupVaultLockConfigurationRequest method. req, resp := client.PutBackupVaultLockConfigurationRequest(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/PutBackupVaultLockConfiguration
func (*Backup) PutBackupVaultLockConfigurationWithContext ¶ added in v1.40.58
func (c *Backup) PutBackupVaultLockConfigurationWithContext(ctx aws.Context, input *PutBackupVaultLockConfigurationInput, opts ...request.Option) (*PutBackupVaultLockConfigurationOutput, error)
PutBackupVaultLockConfigurationWithContext is the same as PutBackupVaultLockConfiguration with the addition of the ability to pass a context and additional request options.
See PutBackupVaultLockConfiguration 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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
func (c *Backup) StartBackupJob(input *StartBackupJobInput) (*StartBackupJobOutput, error)
StartBackupJob API operation for AWS Backup.
Starts an on-demand backup job for 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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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) StartCopyJob ¶ added in v1.28.1
func (c *Backup) StartCopyJob(input *StartCopyJobInput) (*StartCopyJobOutput, error)
StartCopyJob API operation for AWS Backup.
Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
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 StartCopyJob for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
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/StartCopyJob
func (*Backup) StartCopyJobRequest ¶ added in v1.28.1
func (c *Backup) StartCopyJobRequest(input *StartCopyJobInput) (req *request.Request, output *StartCopyJobOutput)
StartCopyJobRequest generates a "aws/request.Request" representing the client's request for the StartCopyJob 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 StartCopyJob for more information on using the StartCopyJob 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 StartCopyJobRequest method. req, resp := client.StartCopyJobRequest(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/StartCopyJob
func (*Backup) StartCopyJobWithContext ¶ added in v1.28.1
func (c *Backup) StartCopyJobWithContext(ctx aws.Context, input *StartCopyJobInput, opts ...request.Option) (*StartCopyJobOutput, error)
StartCopyJobWithContext is the same as StartCopyJob with the addition of the ability to pass a context and additional request options.
See StartCopyJob 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) StartReportJob ¶ added in v1.40.28
func (c *Backup) StartReportJob(input *StartReportJobInput) (*StartReportJobOutput, error)
StartReportJob API operation for AWS Backup.
Starts an on-demand report job for the specified report 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 StartReportJob for usage and error information.
Returned Error Types:
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
ServiceUnavailableException The request failed due to a temporary failure of the server.
MissingParameterValueException Indicates that a required parameter is missing.
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/StartReportJob
func (*Backup) StartReportJobRequest ¶ added in v1.40.28
func (c *Backup) StartReportJobRequest(input *StartReportJobInput) (req *request.Request, output *StartReportJobOutput)
StartReportJobRequest generates a "aws/request.Request" representing the client's request for the StartReportJob 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 StartReportJob for more information on using the StartReportJob 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 StartReportJobRequest method. req, resp := client.StartReportJobRequest(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/StartReportJob
func (*Backup) StartReportJobWithContext ¶ added in v1.40.28
func (c *Backup) StartReportJobWithContext(ctx aws.Context, input *StartReportJobInput, opts ...request.Option) (*StartReportJobOutput, error)
StartReportJobWithContext is the same as StartReportJob with the addition of the ability to pass a context and additional request options.
See StartReportJob 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 ¶
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).
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
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 Types:
MissingParameterValueException Indicates that a required parameter is missing.
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ServiceUnavailableException The request failed due to a temporary failure of the server.
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 ¶
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 ¶
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 ¶
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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 ¶
func (c *Backup) UpdateBackupPlan(input *UpdateBackupPlanInput) (*UpdateBackupPlanOutput, error)
UpdateBackupPlan API operation for AWS Backup.
Updates an existing 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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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) UpdateFramework ¶ added in v1.40.28
func (c *Backup) UpdateFramework(input *UpdateFrameworkInput) (*UpdateFrameworkOutput, error)
UpdateFramework API operation for AWS Backup.
Updates an existing framework identified by its FrameworkName with the input 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 UpdateFramework for usage and error information.
Returned Error Types:
AlreadyExistsException The required resource already exists.
ResourceNotFoundException A resource that is required for the action doesn't exist.
LimitExceededException A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
MissingParameterValueException Indicates that a required parameter is missing.
ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
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/UpdateFramework
func (*Backup) UpdateFrameworkRequest ¶ added in v1.40.28
func (c *Backup) UpdateFrameworkRequest(input *UpdateFrameworkInput) (req *request.Request, output *UpdateFrameworkOutput)
UpdateFrameworkRequest generates a "aws/request.Request" representing the client's request for the UpdateFramework 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 UpdateFramework for more information on using the UpdateFramework 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 UpdateFrameworkRequest method. req, resp := client.UpdateFrameworkRequest(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/UpdateFramework
func (*Backup) UpdateFrameworkWithContext ¶ added in v1.40.28
func (c *Backup) UpdateFrameworkWithContext(ctx aws.Context, input *UpdateFrameworkInput, opts ...request.Option) (*UpdateFrameworkOutput, error)
UpdateFrameworkWithContext is the same as UpdateFramework with the addition of the ability to pass a context and additional request options.
See UpdateFramework 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) UpdateGlobalSettings ¶ added in v1.35.31
func (c *Backup) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error)
UpdateGlobalSettings API operation for AWS Backup.
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings API to determine the current settings.
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 UpdateGlobalSettings for usage and error information.
Returned Error Types:
ServiceUnavailableException The request failed due to a temporary failure of the server.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
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/UpdateGlobalSettings
func (*Backup) UpdateGlobalSettingsRequest ¶ added in v1.35.31
func (c *Backup) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput)
UpdateGlobalSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateGlobalSettings 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 UpdateGlobalSettings for more information on using the UpdateGlobalSettings 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 UpdateGlobalSettingsRequest method. req, resp := client.UpdateGlobalSettingsRequest(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/UpdateGlobalSettings
func (*Backup) UpdateGlobalSettingsWithContext ¶ added in v1.35.31
func (c *Backup) UpdateGlobalSettingsWithContext(ctx aws.Context, input *UpdateGlobalSettingsInput, opts ...request.Option) (*UpdateGlobalSettingsOutput, error)
UpdateGlobalSettingsWithContext is the same as UpdateGlobalSettings with the addition of the ability to pass a context and additional request options.
See UpdateGlobalSettings 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 ¶
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. 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 “retention” 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.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the "Full Backup management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) table. Backup ignores this expression for other resource types.
This operation does not support continuous backups.
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 Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
InvalidRequestException Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
MissingParameterValueException Indicates that a required parameter is missing.
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 ¶
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 ¶
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.
func (*Backup) UpdateRegionSettings ¶ added in v1.31.2
func (c *Backup) UpdateRegionSettings(input *UpdateRegionSettingsInput) (*UpdateRegionSettingsOutput, error)
UpdateRegionSettings API operation for AWS Backup.
Updates the current service opt-in settings for the Region. If service-opt-in is enabled for a service, Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, Backup does not try to protect that service's resources in this Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
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 UpdateRegionSettings for usage and error information.
Returned Error Types:
ServiceUnavailableException The request failed due to a temporary failure of the server.
MissingParameterValueException Indicates that a required parameter is missing.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings
func (*Backup) UpdateRegionSettingsRequest ¶ added in v1.31.2
func (c *Backup) UpdateRegionSettingsRequest(input *UpdateRegionSettingsInput) (req *request.Request, output *UpdateRegionSettingsOutput)
UpdateRegionSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateRegionSettings 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 UpdateRegionSettings for more information on using the UpdateRegionSettings 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 UpdateRegionSettingsRequest method. req, resp := client.UpdateRegionSettingsRequest(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/UpdateRegionSettings
func (*Backup) UpdateRegionSettingsWithContext ¶ added in v1.31.2
func (c *Backup) UpdateRegionSettingsWithContext(ctx aws.Context, input *UpdateRegionSettingsInput, opts ...request.Option) (*UpdateRegionSettingsOutput, error)
UpdateRegionSettingsWithContext is the same as UpdateRegionSettings with the addition of the ability to pass a context and additional request options.
See UpdateRegionSettings 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) UpdateReportPlan ¶ added in v1.40.28
func (c *Backup) UpdateReportPlan(input *UpdateReportPlanInput) (*UpdateReportPlanOutput, error)
UpdateReportPlan API operation for AWS Backup.
Updates an existing report plan identified by its ReportPlanName with the input 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 UpdateReportPlan for usage and error information.
Returned Error Types:
ResourceNotFoundException A resource that is required for the action doesn't exist.
InvalidParameterValueException Indicates that something is wrong with a parameter's value. For example, the value is out of range.
ServiceUnavailableException The request failed due to a temporary failure of the server.
MissingParameterValueException Indicates that a required parameter is missing.
ConflictException Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateReportPlan
func (*Backup) UpdateReportPlanRequest ¶ added in v1.40.28
func (c *Backup) UpdateReportPlanRequest(input *UpdateReportPlanInput) (req *request.Request, output *UpdateReportPlanOutput)
UpdateReportPlanRequest generates a "aws/request.Request" representing the client's request for the UpdateReportPlan 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 UpdateReportPlan for more information on using the UpdateReportPlan 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 UpdateReportPlanRequest method. req, resp := client.UpdateReportPlanRequest(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/UpdateReportPlan
func (*Backup) UpdateReportPlanWithContext ¶ added in v1.40.28
func (c *Backup) UpdateReportPlanWithContext(ctx aws.Context, input *UpdateReportPlanInput, opts ...request.Option) (*UpdateReportPlanOutput, error)
UpdateReportPlanWithContext is the same as UpdateReportPlan with the addition of the ability to pass a context and additional request options.
See UpdateReportPlan 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 ¶
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. 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 “retention” 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.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the "Full Backup management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) table. Backup ignores this expression for other resource types.
func (CalculatedLifecycle) GoString ¶
func (s CalculatedLifecycle) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CalculatedLifecycle) SetDeleteAt ¶
func (s *CalculatedLifecycle) SetDeleteAt(v time.Time) *CalculatedLifecycle
SetDeleteAt sets the DeleteAt field's value.
func (*CalculatedLifecycle) SetMoveToColdStorageAt ¶
func (s *CalculatedLifecycle) SetMoveToColdStorageAt(v time.Time) *CalculatedLifecycle
SetMoveToColdStorageAt sets the MoveToColdStorageAt field's value.
func (CalculatedLifecycle) String ¶
func (s CalculatedLifecycle) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Condition ¶
type Condition struct { // The key in a key-value pair. For example, in the tag Department: Accounting, // Department is the key. // // ConditionKey is a required field ConditionKey *string `type:"string" required:"true"` // An operation applied to a key-value pair used to assign resources to your // backup plan. Condition only supports StringEquals. For more flexible assignment // options, including StringLike and the ability to exclude resources from your // backup plan, use Conditions (with an "s" on the end) for your BackupSelection // (https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupSelection.html). // // ConditionType is a required field ConditionType *string `type:"string" required:"true" enum:"ConditionType"` // The value in a key-value pair. For example, in the tag 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. Used to filter resources using their tags and assign them to a backup plan. Case sensitive.
func (Condition) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Condition) SetConditionKey ¶
SetConditionKey sets the ConditionKey field's value.
func (*Condition) SetConditionType ¶
SetConditionType sets the ConditionType field's value.
func (*Condition) SetConditionValue ¶
SetConditionValue sets the ConditionValue field's value.
type ConditionParameter ¶ added in v1.42.2
type ConditionParameter struct { // The key in a key-value pair. For example, in the tag Department: Accounting, // Department is the key. ConditionKey *string `type:"string"` // The value in a key-value pair. For example, in the tag Department: Accounting, // Accounting is the value. ConditionValue *string `type:"string"` // contains filtered or unexported fields }
Includes information about tags you define to assign tagged resources to a backup plan.
func (ConditionParameter) GoString ¶ added in v1.42.2
func (s ConditionParameter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConditionParameter) SetConditionKey ¶ added in v1.42.2
func (s *ConditionParameter) SetConditionKey(v string) *ConditionParameter
SetConditionKey sets the ConditionKey field's value.
func (*ConditionParameter) SetConditionValue ¶ added in v1.42.2
func (s *ConditionParameter) SetConditionValue(v string) *ConditionParameter
SetConditionValue sets the ConditionValue field's value.
func (ConditionParameter) String ¶ added in v1.42.2
func (s ConditionParameter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Conditions ¶ added in v1.42.2
type Conditions struct { // Filters the values of your tagged resources for only those resources that // you tagged with the same value. Also called "exact matching." StringEquals []*ConditionParameter `type:"list"` // Filters the values of your tagged resources for matching tag values with // the use of a wildcard character (*) anywhere in the string. For example, // "prod*" or "*rod*" matches the tag value "production". StringLike []*ConditionParameter `type:"list"` // Filters the values of your tagged resources for only those resources that // you tagged that do not have the same value. Also called "negated matching." StringNotEquals []*ConditionParameter `type:"list"` // Filters the values of your tagged resources for non-matching tag values with // the use of a wildcard character (*) anywhere in the string. StringNotLike []*ConditionParameter `type:"list"` // contains filtered or unexported fields }
Contains information about which resources to include or exclude from a backup plan using their tags. Conditions are case sensitive.
func (Conditions) GoString ¶ added in v1.42.2
func (s Conditions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Conditions) SetStringEquals ¶ added in v1.42.2
func (s *Conditions) SetStringEquals(v []*ConditionParameter) *Conditions
SetStringEquals sets the StringEquals field's value.
func (*Conditions) SetStringLike ¶ added in v1.42.2
func (s *Conditions) SetStringLike(v []*ConditionParameter) *Conditions
SetStringLike sets the StringLike field's value.
func (*Conditions) SetStringNotEquals ¶ added in v1.42.2
func (s *Conditions) SetStringNotEquals(v []*ConditionParameter) *Conditions
SetStringNotEquals sets the StringNotEquals field's value.
func (*Conditions) SetStringNotLike ¶ added in v1.42.2
func (s *Conditions) SetStringNotLike(v []*ConditionParameter) *Conditions
SetStringNotLike sets the StringNotLike field's value.
func (Conditions) String ¶ added in v1.42.2
func (s Conditions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException ¶ added in v1.40.28
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
func (*ConflictException) Code ¶ added in v1.40.28
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶ added in v1.40.28
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶ added in v1.40.28
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶ added in v1.40.28
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶ added in v1.40.28
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶ added in v1.40.28
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶ added in v1.40.28
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶ added in v1.40.28
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ControlInputParameter ¶ added in v1.40.28
type ControlInputParameter struct { // The name of a parameter, for example, BackupPlanFrequency. ParameterName *string `type:"string"` // The value of parameter, for example, hourly. ParameterValue *string `type:"string"` // contains filtered or unexported fields }
A list of parameters for a control. A control can have zero, one, or more than one parameter. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year.
func (ControlInputParameter) GoString ¶ added in v1.40.28
func (s ControlInputParameter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ControlInputParameter) SetParameterName ¶ added in v1.40.28
func (s *ControlInputParameter) SetParameterName(v string) *ControlInputParameter
SetParameterName sets the ParameterName field's value.
func (*ControlInputParameter) SetParameterValue ¶ added in v1.40.28
func (s *ControlInputParameter) SetParameterValue(v string) *ControlInputParameter
SetParameterValue sets the ParameterValue field's value.
func (ControlInputParameter) String ¶ added in v1.40.28
func (s ControlInputParameter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ControlScope ¶ added in v1.40.28
type ControlScope struct { // The ID of the only Amazon Web Services resource that you want your control // scope to contain. ComplianceResourceIds []*string `min:"1" type:"list"` // Describes whether the control scope includes one or more types of resources, // such as EFS or RDS. ComplianceResourceTypes []*string `type:"list"` // The tag key-value pair applied to those Amazon Web Services resources that // you want to trigger an evaluation for a rule. A maximum of one key-value // pair can be provided. The tag value is optional, but it cannot be an empty // string. The structure to assign a tag is: [{"Key":"string","Value":"string"}]. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
A framework consists of one or more controls. Each control has its own control scope. The control scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. If no scope is specified, evaluations for the rule are triggered when any resource in your recording group changes in configuration.
To set a control scope that includes all of a particular resource, leave the ControlScope empty or do not pass it when calling CreateFramework.
func (ControlScope) GoString ¶ added in v1.40.28
func (s ControlScope) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ControlScope) SetComplianceResourceIds ¶ added in v1.40.28
func (s *ControlScope) SetComplianceResourceIds(v []*string) *ControlScope
SetComplianceResourceIds sets the ComplianceResourceIds field's value.
func (*ControlScope) SetComplianceResourceTypes ¶ added in v1.40.28
func (s *ControlScope) SetComplianceResourceTypes(v []*string) *ControlScope
SetComplianceResourceTypes sets the ComplianceResourceTypes field's value.
func (*ControlScope) SetTags ¶ added in v1.40.28
func (s *ControlScope) SetTags(v map[string]*string) *ControlScope
SetTags sets the Tags field's value.
func (ControlScope) String ¶ added in v1.40.28
func (s ControlScope) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ControlScope) Validate ¶ added in v1.40.28
func (s *ControlScope) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyAction ¶ added in v1.28.1
type CopyAction struct { // An Amazon Resource Name (ARN) that uniquely identifies the destination backup // vault for the copied backup. For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. // // DestinationBackupVaultArn is a required field DestinationBackupVaultArn *string `type:"string" required:"true"` // Contains an array of Transition objects specifying how long in days before // a recovery point transitions to cold storage or is deleted. // // Backups transitioned to cold storage must be stored in cold storage for a // minimum of 90 days. Therefore, on the console, the “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. Lifecycle *Lifecycle `type:"structure"` // contains filtered or unexported fields }
The details of the copy operation.
func (CopyAction) GoString ¶ added in v1.28.1
func (s CopyAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CopyAction) SetDestinationBackupVaultArn ¶ added in v1.28.1
func (s *CopyAction) SetDestinationBackupVaultArn(v string) *CopyAction
SetDestinationBackupVaultArn sets the DestinationBackupVaultArn field's value.
func (*CopyAction) SetLifecycle ¶ added in v1.28.1
func (s *CopyAction) SetLifecycle(v *Lifecycle) *CopyAction
SetLifecycle sets the Lifecycle field's value.
func (CopyAction) String ¶ added in v1.28.1
func (s CopyAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CopyAction) Validate ¶ added in v1.28.1
func (s *CopyAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyJob ¶ added in v1.28.1
type CopyJob struct { // The account ID that owns the copy job. AccountId *string `type:"string"` // The size, in bytes, of a copy job. BackupSizeInBytes *int64 `type:"long"` // The date and time a copy 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"` // Uniquely identifies a copy job. CopyJobId *string `type:"string"` // Contains information about the backup plan and rule that Backup used to initiate // the recovery point backup. CreatedBy *RecoveryPointCreator `type:"structure"` // The date and time a copy 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"` // An Amazon Resource Name (ARN) that uniquely identifies a destination copy // vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. DestinationBackupVaultArn *string `type:"string"` // An ARN that uniquely identifies a destination recovery point; for example, // arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. DestinationRecoveryPointArn *string `type:"string"` // Specifies the IAM role ARN used to copy the target recovery point; for example, // arn:aws:iam::123456789012:role/S3Access. IamRoleArn *string `type:"string"` // The Amazon Web Services resource to be copied; for example, an Amazon Elastic // Block Store (Amazon EBS) volume or an Amazon Relational Database Service // (Amazon RDS) database. ResourceArn *string `type:"string"` // The type of Amazon Web Services resource to be copied; for example, an Amazon // Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database // Service (Amazon RDS) database. ResourceType *string `type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; // for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. SourceBackupVaultArn *string `type:"string"` // An ARN that uniquely identifies a source recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. SourceRecoveryPointArn *string `type:"string"` // The current state of a copy job. State *string `type:"string" enum:"CopyJobState"` // A detailed message explaining the status of the job to copy a resource. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Contains detailed information about a copy job.
func (CopyJob) GoString ¶ added in v1.28.1
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CopyJob) SetAccountId ¶ added in v1.32.9
SetAccountId sets the AccountId field's value.
func (*CopyJob) SetBackupSizeInBytes ¶ added in v1.28.1
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*CopyJob) SetCompletionDate ¶ added in v1.28.1
SetCompletionDate sets the CompletionDate field's value.
func (*CopyJob) SetCopyJobId ¶ added in v1.28.1
SetCopyJobId sets the CopyJobId field's value.
func (*CopyJob) SetCreatedBy ¶ added in v1.28.1
func (s *CopyJob) SetCreatedBy(v *RecoveryPointCreator) *CopyJob
SetCreatedBy sets the CreatedBy field's value.
func (*CopyJob) SetCreationDate ¶ added in v1.28.1
SetCreationDate sets the CreationDate field's value.
func (*CopyJob) SetDestinationBackupVaultArn ¶ added in v1.28.1
SetDestinationBackupVaultArn sets the DestinationBackupVaultArn field's value.
func (*CopyJob) SetDestinationRecoveryPointArn ¶ added in v1.28.1
SetDestinationRecoveryPointArn sets the DestinationRecoveryPointArn field's value.
func (*CopyJob) SetIamRoleArn ¶ added in v1.28.1
SetIamRoleArn sets the IamRoleArn field's value.
func (*CopyJob) SetResourceArn ¶ added in v1.28.1
SetResourceArn sets the ResourceArn field's value.
func (*CopyJob) SetResourceType ¶ added in v1.28.1
SetResourceType sets the ResourceType field's value.
func (*CopyJob) SetSourceBackupVaultArn ¶ added in v1.28.1
SetSourceBackupVaultArn sets the SourceBackupVaultArn field's value.
func (*CopyJob) SetSourceRecoveryPointArn ¶ added in v1.28.1
SetSourceRecoveryPointArn sets the SourceRecoveryPointArn field's value.
func (*CopyJob) SetStatusMessage ¶ added in v1.28.1
SetStatusMessage sets the StatusMessage field's value.
type CreateBackupPlanInput ¶
type CreateBackupPlanInput struct { // Specifies the body of a backup plan. Includes a BackupPlanName and one or // more sets of Rules. // // BackupPlan is a required field BackupPlan *PlanInput `type:"structure" required:"true"` // To help organize your resources, you can assign your own metadata to the // resources that you create. Each tag is a key-value pair. The specified tags // are assigned to all backups created with this plan. // // BackupPlanTags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateBackupPlanInput's // String and GoString methods. BackupPlanTags map[string]*string `type:"map" sensitive:"true"` // Identifies the request and allows failed requests to be retried without the // risk of running the operation twice. If the request includes a CreatorRequestId // that matches an existing backup plan, that plan is returned. This parameter // is optional. // // If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters. CreatorRequestId *string `type:"string"` // contains filtered or unexported fields }
func (CreateBackupPlanInput) GoString ¶
func (s CreateBackupPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupPlanInput) SetBackupPlan ¶
func (s *CreateBackupPlanInput) SetBackupPlan(v *PlanInput) *CreateBackupPlanInput
SetBackupPlan sets the BackupPlan field's value.
func (*CreateBackupPlanInput) SetBackupPlanTags ¶
func (s *CreateBackupPlanInput) SetBackupPlanTags(v map[string]*string) *CreateBackupPlanInput
SetBackupPlanTags sets the BackupPlanTags field's value.
func (*CreateBackupPlanInput) SetCreatorRequestId ¶
func (s *CreateBackupPlanInput) SetCreatorRequestId(v string) *CreateBackupPlanInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (CreateBackupPlanInput) String ¶
func (s CreateBackupPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupPlanInput) Validate ¶
func (s *CreateBackupPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBackupPlanOutput ¶
type CreateBackupPlanOutput struct { // A list of BackupOptions settings for a resource type. This option is only // available for Windows Volume Shadow Copy Service (VSS) backup jobs. AdvancedBackupSettings []*AdvancedBackupSetting `type:"list"` // 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 // 1,024 bytes long. They cannot be edited. VersionId *string `type:"string"` // contains filtered or unexported fields }
func (CreateBackupPlanOutput) GoString ¶
func (s CreateBackupPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupPlanOutput) SetAdvancedBackupSettings ¶ added in v1.34.30
func (s *CreateBackupPlanOutput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *CreateBackupPlanOutput
SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value.
func (*CreateBackupPlanOutput) SetBackupPlanArn ¶
func (s *CreateBackupPlanOutput) SetBackupPlanArn(v string) *CreateBackupPlanOutput
SetBackupPlanArn sets the BackupPlanArn field's value.
func (*CreateBackupPlanOutput) SetBackupPlanId ¶
func (s *CreateBackupPlanOutput) SetBackupPlanId(v string) *CreateBackupPlanOutput
SetBackupPlanId sets the BackupPlanId field's value.
func (*CreateBackupPlanOutput) SetCreationDate ¶
func (s *CreateBackupPlanOutput) SetCreationDate(v time.Time) *CreateBackupPlanOutput
SetCreationDate sets the CreationDate field's value.
func (*CreateBackupPlanOutput) SetVersionId ¶
func (s *CreateBackupPlanOutput) SetVersionId(v string) *CreateBackupPlanOutput
SetVersionId sets the VersionId field's value.
func (CreateBackupPlanOutput) String ¶
func (s CreateBackupPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateBackupSelectionInput ¶
type CreateBackupSelectionInput struct { // Uniquely identifies the backup plan to be associated with the selection of // resources. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // Specifies the body of a request to assign a set of resources to a backup // plan. // // 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 running the operation twice. This parameter // is optional. // // If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters. CreatorRequestId *string `type:"string"` // contains filtered or unexported fields }
func (CreateBackupSelectionInput) GoString ¶
func (s CreateBackupSelectionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupSelectionInput) SetBackupPlanId ¶
func (s *CreateBackupSelectionInput) SetBackupPlanId(v string) *CreateBackupSelectionInput
SetBackupPlanId sets the BackupPlanId field's value.
func (*CreateBackupSelectionInput) SetBackupSelection ¶
func (s *CreateBackupSelectionInput) SetBackupSelection(v *Selection) *CreateBackupSelectionInput
SetBackupSelection sets the BackupSelection field's value.
func (*CreateBackupSelectionInput) SetCreatorRequestId ¶
func (s *CreateBackupSelectionInput) SetCreatorRequestId(v string) *CreateBackupSelectionInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (CreateBackupSelectionInput) String ¶
func (s CreateBackupSelectionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupSelectionInput) Validate ¶
func (s *CreateBackupSelectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBackupSelectionOutput ¶
type CreateBackupSelectionOutput struct { // Uniquely identifies a backup plan. BackupPlanId *string `type:"string"` // The date and time a backup selection is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // Uniquely identifies the body of a request to assign a set of resources to // a backup plan. SelectionId *string `type:"string"` // contains filtered or unexported fields }
func (CreateBackupSelectionOutput) GoString ¶
func (s CreateBackupSelectionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupSelectionOutput) SetBackupPlanId ¶
func (s *CreateBackupSelectionOutput) SetBackupPlanId(v string) *CreateBackupSelectionOutput
SetBackupPlanId sets the BackupPlanId field's value.
func (*CreateBackupSelectionOutput) SetCreationDate ¶
func (s *CreateBackupSelectionOutput) SetCreationDate(v time.Time) *CreateBackupSelectionOutput
SetCreationDate sets the CreationDate field's value.
func (*CreateBackupSelectionOutput) SetSelectionId ¶
func (s *CreateBackupSelectionOutput) SetSelectionId(v string) *CreateBackupSelectionOutput
SetSelectionId sets the SelectionId field's value.
func (CreateBackupSelectionOutput) String ¶
func (s CreateBackupSelectionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateBackupVaultInput ¶
type CreateBackupVaultInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of 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 is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateBackupVaultInput's // String and GoString methods. 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 running the operation twice. This parameter // is optional. // // If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters. 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 ¶
func (s CreateBackupVaultInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupVaultInput) SetBackupVaultName ¶
func (s *CreateBackupVaultInput) SetBackupVaultName(v string) *CreateBackupVaultInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*CreateBackupVaultInput) SetBackupVaultTags ¶
func (s *CreateBackupVaultInput) SetBackupVaultTags(v map[string]*string) *CreateBackupVaultInput
SetBackupVaultTags sets the BackupVaultTags field's value.
func (*CreateBackupVaultInput) SetCreatorRequestId ¶
func (s *CreateBackupVaultInput) SetCreatorRequestId(v string) *CreateBackupVaultInput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*CreateBackupVaultInput) SetEncryptionKeyArn ¶
func (s *CreateBackupVaultInput) SetEncryptionKeyArn(v string) *CreateBackupVaultInput
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (CreateBackupVaultInput) String ¶
func (s CreateBackupVaultInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupVaultInput) Validate ¶
func (s *CreateBackupVaultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBackupVaultOutput ¶
type CreateBackupVaultOutput struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for // example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Region where they are created. They consist of lowercase letters, numbers, // and hyphens. BackupVaultName *string `type:"string"` // The date and time a backup vault is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (CreateBackupVaultOutput) GoString ¶
func (s CreateBackupVaultOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateBackupVaultOutput) SetBackupVaultArn ¶
func (s *CreateBackupVaultOutput) SetBackupVaultArn(v string) *CreateBackupVaultOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*CreateBackupVaultOutput) SetBackupVaultName ¶
func (s *CreateBackupVaultOutput) SetBackupVaultName(v string) *CreateBackupVaultOutput
SetBackupVaultName sets the BackupVaultName field's value.
func (*CreateBackupVaultOutput) SetCreationDate ¶
func (s *CreateBackupVaultOutput) SetCreationDate(v time.Time) *CreateBackupVaultOutput
SetCreationDate sets the CreationDate field's value.
func (CreateBackupVaultOutput) String ¶
func (s CreateBackupVaultOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateFrameworkInput ¶ added in v1.40.28
type CreateFrameworkInput struct { // A list of the controls that make up the framework. Each control in the list // has a name, input parameters, and scope. // // FrameworkControls is a required field FrameworkControls []*FrameworkControl `type:"list" required:"true"` // An optional description of the framework with a maximum of 1,024 characters. FrameworkDescription *string `type:"string"` // The unique name of the framework. The name must be between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). // // FrameworkName is a required field FrameworkName *string `min:"1" type:"string" required:"true"` // Metadata that you can assign to help organize the frameworks that you create. // Each tag is a key-value pair. FrameworkTags map[string]*string `type:"map"` // A customer-chosen string that you can use to distinguish between otherwise // identical calls to CreateFrameworkInput. Retrying a successful request with // the same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // contains filtered or unexported fields }
func (CreateFrameworkInput) GoString ¶ added in v1.40.28
func (s CreateFrameworkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFrameworkInput) SetFrameworkControls ¶ added in v1.40.28
func (s *CreateFrameworkInput) SetFrameworkControls(v []*FrameworkControl) *CreateFrameworkInput
SetFrameworkControls sets the FrameworkControls field's value.
func (*CreateFrameworkInput) SetFrameworkDescription ¶ added in v1.40.28
func (s *CreateFrameworkInput) SetFrameworkDescription(v string) *CreateFrameworkInput
SetFrameworkDescription sets the FrameworkDescription field's value.
func (*CreateFrameworkInput) SetFrameworkName ¶ added in v1.40.28
func (s *CreateFrameworkInput) SetFrameworkName(v string) *CreateFrameworkInput
SetFrameworkName sets the FrameworkName field's value.
func (*CreateFrameworkInput) SetFrameworkTags ¶ added in v1.40.28
func (s *CreateFrameworkInput) SetFrameworkTags(v map[string]*string) *CreateFrameworkInput
SetFrameworkTags sets the FrameworkTags field's value.
func (*CreateFrameworkInput) SetIdempotencyToken ¶ added in v1.40.28
func (s *CreateFrameworkInput) SetIdempotencyToken(v string) *CreateFrameworkInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (CreateFrameworkInput) String ¶ added in v1.40.28
func (s CreateFrameworkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFrameworkInput) Validate ¶ added in v1.40.28
func (s *CreateFrameworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFrameworkOutput ¶ added in v1.40.28
type CreateFrameworkOutput struct { // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. FrameworkArn *string `type:"string"` // The unique name of the framework. The name must be between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). FrameworkName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateFrameworkOutput) GoString ¶ added in v1.40.28
func (s CreateFrameworkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFrameworkOutput) SetFrameworkArn ¶ added in v1.40.28
func (s *CreateFrameworkOutput) SetFrameworkArn(v string) *CreateFrameworkOutput
SetFrameworkArn sets the FrameworkArn field's value.
func (*CreateFrameworkOutput) SetFrameworkName ¶ added in v1.40.28
func (s *CreateFrameworkOutput) SetFrameworkName(v string) *CreateFrameworkOutput
SetFrameworkName sets the FrameworkName field's value.
func (CreateFrameworkOutput) String ¶ added in v1.40.28
func (s CreateFrameworkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateReportPlanInput ¶ added in v1.40.28
type CreateReportPlanInput struct { // A customer-chosen string that you can use to distinguish between otherwise // identical calls to CreateReportPlanInput. Retrying a successful request with // the same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // A structure that contains information about where and how to deliver your // reports, specifically your Amazon S3 bucket name, S3 key prefix, and the // formats of your reports. // // ReportDeliveryChannel is a required field ReportDeliveryChannel *ReportDeliveryChannel `type:"structure" required:"true"` // An optional description of the report plan with a maximum of 1,024 characters. ReportPlanDescription *string `type:"string"` // The unique name of the report plan. The name must be between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). // // ReportPlanName is a required field ReportPlanName *string `min:"1" type:"string" required:"true"` // Metadata that you can assign to help organize the report plans that you create. // Each tag is a key-value pair. ReportPlanTags map[string]*string `type:"map"` // Identifies the report template for the report. Reports are built using a // report template. The report templates are: // // RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT // | COPY_JOB_REPORT | RESTORE_JOB_REPORT // // If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, // this API resource also describes the report coverage by Amazon Web Services // Regions and frameworks. // // ReportSetting is a required field ReportSetting *ReportSetting `type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateReportPlanInput) GoString ¶ added in v1.40.28
func (s CreateReportPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateReportPlanInput) SetIdempotencyToken ¶ added in v1.40.28
func (s *CreateReportPlanInput) SetIdempotencyToken(v string) *CreateReportPlanInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*CreateReportPlanInput) SetReportDeliveryChannel ¶ added in v1.40.28
func (s *CreateReportPlanInput) SetReportDeliveryChannel(v *ReportDeliveryChannel) *CreateReportPlanInput
SetReportDeliveryChannel sets the ReportDeliveryChannel field's value.
func (*CreateReportPlanInput) SetReportPlanDescription ¶ added in v1.40.28
func (s *CreateReportPlanInput) SetReportPlanDescription(v string) *CreateReportPlanInput
SetReportPlanDescription sets the ReportPlanDescription field's value.
func (*CreateReportPlanInput) SetReportPlanName ¶ added in v1.40.28
func (s *CreateReportPlanInput) SetReportPlanName(v string) *CreateReportPlanInput
SetReportPlanName sets the ReportPlanName field's value.
func (*CreateReportPlanInput) SetReportPlanTags ¶ added in v1.40.28
func (s *CreateReportPlanInput) SetReportPlanTags(v map[string]*string) *CreateReportPlanInput
SetReportPlanTags sets the ReportPlanTags field's value.
func (*CreateReportPlanInput) SetReportSetting ¶ added in v1.40.28
func (s *CreateReportPlanInput) SetReportSetting(v *ReportSetting) *CreateReportPlanInput
SetReportSetting sets the ReportSetting field's value.
func (CreateReportPlanInput) String ¶ added in v1.40.28
func (s CreateReportPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateReportPlanInput) Validate ¶ added in v1.40.28
func (s *CreateReportPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateReportPlanOutput ¶ added in v1.40.28
type CreateReportPlanOutput struct { // The date and time a backup vault is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ReportPlanArn *string `type:"string"` // The unique name of the report plan. ReportPlanName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateReportPlanOutput) GoString ¶ added in v1.40.28
func (s CreateReportPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateReportPlanOutput) SetCreationTime ¶ added in v1.40.56
func (s *CreateReportPlanOutput) SetCreationTime(v time.Time) *CreateReportPlanOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateReportPlanOutput) SetReportPlanArn ¶ added in v1.40.28
func (s *CreateReportPlanOutput) SetReportPlanArn(v string) *CreateReportPlanOutput
SetReportPlanArn sets the ReportPlanArn field's value.
func (*CreateReportPlanOutput) SetReportPlanName ¶ added in v1.40.28
func (s *CreateReportPlanOutput) SetReportPlanName(v string) *CreateReportPlanOutput
SetReportPlanName sets the ReportPlanName field's value.
func (CreateReportPlanOutput) String ¶ added in v1.40.28
func (s CreateReportPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBackupPlanInput ¶
type DeleteBackupPlanInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteBackupPlanInput) GoString ¶
func (s DeleteBackupPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupPlanInput) SetBackupPlanId ¶
func (s *DeleteBackupPlanInput) SetBackupPlanId(v string) *DeleteBackupPlanInput
SetBackupPlanId sets the BackupPlanId field's value.
func (DeleteBackupPlanInput) String ¶
func (s DeleteBackupPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupPlanInput) Validate ¶
func (s *DeleteBackupPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBackupPlanOutput ¶
type DeleteBackupPlanOutput struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for // example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50. BackupPlanArn *string `type:"string"` // Uniquely identifies a backup plan. BackupPlanId *string `type:"string"` // The date and time a backup plan is deleted, in Unix format and Coordinated // Universal Time (UTC). The value of 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"` // 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 ¶
func (s DeleteBackupPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupPlanOutput) SetBackupPlanArn ¶
func (s *DeleteBackupPlanOutput) SetBackupPlanArn(v string) *DeleteBackupPlanOutput
SetBackupPlanArn sets the BackupPlanArn field's value.
func (*DeleteBackupPlanOutput) SetBackupPlanId ¶
func (s *DeleteBackupPlanOutput) SetBackupPlanId(v string) *DeleteBackupPlanOutput
SetBackupPlanId sets the BackupPlanId field's value.
func (*DeleteBackupPlanOutput) SetDeletionDate ¶
func (s *DeleteBackupPlanOutput) SetDeletionDate(v time.Time) *DeleteBackupPlanOutput
SetDeletionDate sets the DeletionDate field's value.
func (*DeleteBackupPlanOutput) SetVersionId ¶
func (s *DeleteBackupPlanOutput) SetVersionId(v string) *DeleteBackupPlanOutput
SetVersionId sets the VersionId field's value.
func (DeleteBackupPlanOutput) String ¶
func (s DeleteBackupPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBackupSelectionInput ¶
type DeleteBackupSelectionInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // Uniquely identifies the body of a request to assign a set of resources to // a backup plan. // // SelectionId is a required field SelectionId *string `location:"uri" locationName:"selectionId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteBackupSelectionInput) GoString ¶
func (s DeleteBackupSelectionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupSelectionInput) SetBackupPlanId ¶
func (s *DeleteBackupSelectionInput) SetBackupPlanId(v string) *DeleteBackupSelectionInput
SetBackupPlanId sets the BackupPlanId field's value.
func (*DeleteBackupSelectionInput) SetSelectionId ¶
func (s *DeleteBackupSelectionInput) SetSelectionId(v string) *DeleteBackupSelectionInput
SetSelectionId sets the SelectionId field's value.
func (DeleteBackupSelectionInput) String ¶
func (s DeleteBackupSelectionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupSelectionInput) Validate ¶
func (s *DeleteBackupSelectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBackupSelectionOutput ¶
type DeleteBackupSelectionOutput struct {
// contains filtered or unexported fields
}
func (DeleteBackupSelectionOutput) GoString ¶
func (s DeleteBackupSelectionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteBackupSelectionOutput) String ¶
func (s DeleteBackupSelectionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBackupVaultAccessPolicyInput ¶
type DeleteBackupVaultAccessPolicyInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s DeleteBackupVaultAccessPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultAccessPolicyInput) SetBackupVaultName ¶
func (s *DeleteBackupVaultAccessPolicyInput) SetBackupVaultName(v string) *DeleteBackupVaultAccessPolicyInput
SetBackupVaultName sets the BackupVaultName field's value.
func (DeleteBackupVaultAccessPolicyInput) String ¶
func (s DeleteBackupVaultAccessPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultAccessPolicyInput) Validate ¶
func (s *DeleteBackupVaultAccessPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBackupVaultAccessPolicyOutput ¶
type DeleteBackupVaultAccessPolicyOutput struct {
// contains filtered or unexported fields
}
func (DeleteBackupVaultAccessPolicyOutput) GoString ¶
func (s DeleteBackupVaultAccessPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteBackupVaultAccessPolicyOutput) String ¶
func (s DeleteBackupVaultAccessPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBackupVaultInput ¶
type DeleteBackupVaultInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s DeleteBackupVaultInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultInput) SetBackupVaultName ¶
func (s *DeleteBackupVaultInput) SetBackupVaultName(v string) *DeleteBackupVaultInput
SetBackupVaultName sets the BackupVaultName field's value.
func (DeleteBackupVaultInput) String ¶
func (s DeleteBackupVaultInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultInput) Validate ¶
func (s *DeleteBackupVaultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBackupVaultLockConfigurationInput ¶ added in v1.40.58
type DeleteBackupVaultLockConfigurationInput struct { // The name of the backup vault from which to delete Backup Vault Lock. // // BackupVaultName is a required field BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteBackupVaultLockConfigurationInput) GoString ¶ added in v1.40.58
func (s DeleteBackupVaultLockConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultLockConfigurationInput) SetBackupVaultName ¶ added in v1.40.58
func (s *DeleteBackupVaultLockConfigurationInput) SetBackupVaultName(v string) *DeleteBackupVaultLockConfigurationInput
SetBackupVaultName sets the BackupVaultName field's value.
func (DeleteBackupVaultLockConfigurationInput) String ¶ added in v1.40.58
func (s DeleteBackupVaultLockConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultLockConfigurationInput) Validate ¶ added in v1.40.58
func (s *DeleteBackupVaultLockConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBackupVaultLockConfigurationOutput ¶ added in v1.40.58
type DeleteBackupVaultLockConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteBackupVaultLockConfigurationOutput) GoString ¶ added in v1.40.58
func (s DeleteBackupVaultLockConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteBackupVaultLockConfigurationOutput) String ¶ added in v1.40.58
func (s DeleteBackupVaultLockConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBackupVaultNotificationsInput ¶
type DeleteBackupVaultNotificationsInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Region where they are created. They consist of lowercase letters, numbers, // and hyphens. // // BackupVaultName is a required field BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteBackupVaultNotificationsInput) GoString ¶
func (s DeleteBackupVaultNotificationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultNotificationsInput) SetBackupVaultName ¶
func (s *DeleteBackupVaultNotificationsInput) SetBackupVaultName(v string) *DeleteBackupVaultNotificationsInput
SetBackupVaultName sets the BackupVaultName field's value.
func (DeleteBackupVaultNotificationsInput) String ¶
func (s DeleteBackupVaultNotificationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteBackupVaultNotificationsInput) Validate ¶
func (s *DeleteBackupVaultNotificationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBackupVaultNotificationsOutput ¶
type DeleteBackupVaultNotificationsOutput struct {
// contains filtered or unexported fields
}
func (DeleteBackupVaultNotificationsOutput) GoString ¶
func (s DeleteBackupVaultNotificationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteBackupVaultNotificationsOutput) String ¶
func (s DeleteBackupVaultNotificationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteBackupVaultOutput ¶
type DeleteBackupVaultOutput struct {
// contains filtered or unexported fields
}
func (DeleteBackupVaultOutput) GoString ¶
func (s DeleteBackupVaultOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteBackupVaultOutput) String ¶
func (s DeleteBackupVaultOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFrameworkInput ¶ added in v1.40.28
type DeleteFrameworkInput struct { // The unique name of a framework. // // FrameworkName is a required field FrameworkName *string `location:"uri" locationName:"frameworkName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteFrameworkInput) GoString ¶ added in v1.40.28
func (s DeleteFrameworkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFrameworkInput) SetFrameworkName ¶ added in v1.40.28
func (s *DeleteFrameworkInput) SetFrameworkName(v string) *DeleteFrameworkInput
SetFrameworkName sets the FrameworkName field's value.
func (DeleteFrameworkInput) String ¶ added in v1.40.28
func (s DeleteFrameworkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFrameworkInput) Validate ¶ added in v1.40.28
func (s *DeleteFrameworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFrameworkOutput ¶ added in v1.40.28
type DeleteFrameworkOutput struct {
// contains filtered or unexported fields
}
func (DeleteFrameworkOutput) GoString ¶ added in v1.40.28
func (s DeleteFrameworkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteFrameworkOutput) String ¶ added in v1.40.28
func (s DeleteFrameworkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRecoveryPointInput ¶
type DeleteRecoveryPointInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s DeleteRecoveryPointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRecoveryPointInput) SetBackupVaultName ¶
func (s *DeleteRecoveryPointInput) SetBackupVaultName(v string) *DeleteRecoveryPointInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*DeleteRecoveryPointInput) SetRecoveryPointArn ¶
func (s *DeleteRecoveryPointInput) SetRecoveryPointArn(v string) *DeleteRecoveryPointInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (DeleteRecoveryPointInput) String ¶
func (s DeleteRecoveryPointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRecoveryPointInput) Validate ¶
func (s *DeleteRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRecoveryPointOutput ¶
type DeleteRecoveryPointOutput struct {
// contains filtered or unexported fields
}
func (DeleteRecoveryPointOutput) GoString ¶
func (s DeleteRecoveryPointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteRecoveryPointOutput) String ¶
func (s DeleteRecoveryPointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteReportPlanInput ¶ added in v1.40.28
type DeleteReportPlanInput struct { // The unique name of a report plan. // // ReportPlanName is a required field ReportPlanName *string `location:"uri" locationName:"reportPlanName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteReportPlanInput) GoString ¶ added in v1.40.28
func (s DeleteReportPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteReportPlanInput) SetReportPlanName ¶ added in v1.40.28
func (s *DeleteReportPlanInput) SetReportPlanName(v string) *DeleteReportPlanInput
SetReportPlanName sets the ReportPlanName field's value.
func (DeleteReportPlanInput) String ¶ added in v1.40.28
func (s DeleteReportPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteReportPlanInput) Validate ¶ added in v1.40.28
func (s *DeleteReportPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteReportPlanOutput ¶ added in v1.40.28
type DeleteReportPlanOutput struct {
// contains filtered or unexported fields
}
func (DeleteReportPlanOutput) GoString ¶ added in v1.40.28
func (s DeleteReportPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteReportPlanOutput) String ¶ added in v1.40.28
func (s DeleteReportPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DependencyFailureException ¶ added in v1.28.0
type DependencyFailureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.
func (*DependencyFailureException) Code ¶ added in v1.28.0
func (s *DependencyFailureException) Code() string
Code returns the exception type name.
func (*DependencyFailureException) Error ¶ added in v1.28.0
func (s *DependencyFailureException) Error() string
func (DependencyFailureException) GoString ¶ added in v1.28.0
func (s DependencyFailureException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DependencyFailureException) Message ¶ added in v1.28.0
func (s *DependencyFailureException) Message() string
Message returns the exception's message.
func (*DependencyFailureException) OrigErr ¶ added in v1.28.0
func (s *DependencyFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*DependencyFailureException) RequestID ¶ added in v1.28.0
func (s *DependencyFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*DependencyFailureException) StatusCode ¶ added in v1.28.0
func (s *DependencyFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (DependencyFailureException) String ¶ added in v1.28.0
func (s DependencyFailureException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeBackupJobInput ¶
type DescribeBackupJobInput struct { // Uniquely identifies a request to 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 ¶
func (s DescribeBackupJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBackupJobInput) SetBackupJobId ¶
func (s *DescribeBackupJobInput) SetBackupJobId(v string) *DescribeBackupJobInput
SetBackupJobId sets the BackupJobId field's value.
func (DescribeBackupJobInput) String ¶
func (s DescribeBackupJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBackupJobInput) Validate ¶
func (s *DescribeBackupJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeBackupJobOutput ¶
type DescribeBackupJobOutput struct { // Returns the account ID that owns the backup job. AccountId *string `type:"string"` // Uniquely identifies a request to Backup to back up a resource. BackupJobId *string `type:"string"` // Represents the options specified as part of backup plan or on-demand backup // job. BackupOptions map[string]*string `type:"map"` // The size, in bytes, of a backup. BackupSizeInBytes *int64 `type:"long"` // Represents the actual backup type selected for a backup job. For example, // if a successful Windows Volume Shadow Copy Service (VSS) backup was taken, // BackupType returns "WindowsVSS". If BackupType is empty, then the backup // type was a regular backup. BackupType *string `type:"string"` // 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 Amazon Web Services 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 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 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 Amazon Web Services 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 ¶
func (s DescribeBackupJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBackupJobOutput) SetAccountId ¶ added in v1.32.9
func (s *DescribeBackupJobOutput) SetAccountId(v string) *DescribeBackupJobOutput
SetAccountId sets the AccountId field's value.
func (*DescribeBackupJobOutput) SetBackupJobId ¶
func (s *DescribeBackupJobOutput) SetBackupJobId(v string) *DescribeBackupJobOutput
SetBackupJobId sets the BackupJobId field's value.
func (*DescribeBackupJobOutput) SetBackupOptions ¶ added in v1.34.30
func (s *DescribeBackupJobOutput) SetBackupOptions(v map[string]*string) *DescribeBackupJobOutput
SetBackupOptions sets the BackupOptions field's value.
func (*DescribeBackupJobOutput) SetBackupSizeInBytes ¶
func (s *DescribeBackupJobOutput) SetBackupSizeInBytes(v int64) *DescribeBackupJobOutput
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*DescribeBackupJobOutput) SetBackupType ¶ added in v1.34.30
func (s *DescribeBackupJobOutput) SetBackupType(v string) *DescribeBackupJobOutput
SetBackupType sets the BackupType field's value.
func (*DescribeBackupJobOutput) SetBackupVaultArn ¶
func (s *DescribeBackupJobOutput) SetBackupVaultArn(v string) *DescribeBackupJobOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*DescribeBackupJobOutput) SetBackupVaultName ¶
func (s *DescribeBackupJobOutput) SetBackupVaultName(v string) *DescribeBackupJobOutput
SetBackupVaultName sets the BackupVaultName field's value.
func (*DescribeBackupJobOutput) SetBytesTransferred ¶
func (s *DescribeBackupJobOutput) SetBytesTransferred(v int64) *DescribeBackupJobOutput
SetBytesTransferred sets the BytesTransferred field's value.
func (*DescribeBackupJobOutput) SetCompletionDate ¶
func (s *DescribeBackupJobOutput) SetCompletionDate(v time.Time) *DescribeBackupJobOutput
SetCompletionDate sets the CompletionDate field's value.
func (*DescribeBackupJobOutput) SetCreatedBy ¶
func (s *DescribeBackupJobOutput) SetCreatedBy(v *RecoveryPointCreator) *DescribeBackupJobOutput
SetCreatedBy sets the CreatedBy field's value.
func (*DescribeBackupJobOutput) SetCreationDate ¶
func (s *DescribeBackupJobOutput) SetCreationDate(v time.Time) *DescribeBackupJobOutput
SetCreationDate sets the CreationDate field's value.
func (*DescribeBackupJobOutput) SetExpectedCompletionDate ¶
func (s *DescribeBackupJobOutput) SetExpectedCompletionDate(v time.Time) *DescribeBackupJobOutput
SetExpectedCompletionDate sets the ExpectedCompletionDate field's value.
func (*DescribeBackupJobOutput) SetIamRoleArn ¶
func (s *DescribeBackupJobOutput) SetIamRoleArn(v string) *DescribeBackupJobOutput
SetIamRoleArn sets the IamRoleArn field's value.
func (*DescribeBackupJobOutput) SetPercentDone ¶
func (s *DescribeBackupJobOutput) SetPercentDone(v string) *DescribeBackupJobOutput
SetPercentDone sets the PercentDone field's value.
func (*DescribeBackupJobOutput) SetRecoveryPointArn ¶
func (s *DescribeBackupJobOutput) SetRecoveryPointArn(v string) *DescribeBackupJobOutput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*DescribeBackupJobOutput) SetResourceArn ¶
func (s *DescribeBackupJobOutput) SetResourceArn(v string) *DescribeBackupJobOutput
SetResourceArn sets the ResourceArn field's value.
func (*DescribeBackupJobOutput) SetResourceType ¶
func (s *DescribeBackupJobOutput) SetResourceType(v string) *DescribeBackupJobOutput
SetResourceType sets the ResourceType field's value.
func (*DescribeBackupJobOutput) SetStartBy ¶
func (s *DescribeBackupJobOutput) SetStartBy(v time.Time) *DescribeBackupJobOutput
SetStartBy sets the StartBy field's value.
func (*DescribeBackupJobOutput) SetState ¶
func (s *DescribeBackupJobOutput) SetState(v string) *DescribeBackupJobOutput
SetState sets the State field's value.
func (*DescribeBackupJobOutput) SetStatusMessage ¶
func (s *DescribeBackupJobOutput) SetStatusMessage(v string) *DescribeBackupJobOutput
SetStatusMessage sets the StatusMessage field's value.
func (DescribeBackupJobOutput) String ¶
func (s DescribeBackupJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeBackupVaultInput ¶
type DescribeBackupVaultInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s DescribeBackupVaultInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBackupVaultInput) SetBackupVaultName ¶
func (s *DescribeBackupVaultInput) SetBackupVaultName(v string) *DescribeBackupVaultInput
SetBackupVaultName sets the BackupVaultName field's value.
func (DescribeBackupVaultInput) String ¶
func (s DescribeBackupVaultInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBackupVaultInput) Validate ¶
func (s *DescribeBackupVaultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeBackupVaultOutput ¶
type DescribeBackupVaultOutput struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for // example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Region where they are created. They consist of lowercase letters, numbers, // and hyphens. BackupVaultName *string `type:"string"` // The date and time that a backup vault is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // A unique string that identifies the request and allows failed requests to // be retried without the risk of running 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 date and time when Backup Vault Lock configuration cannot be changed // or deleted. // // If you applied Vault Lock to your vault without specifying a lock date, you // can change any of your Vault Lock settings, or delete Vault Lock from the // vault entirely, at any time. // // This value is in Unix format, Coordinated Universal Time (UTC), and accurate // to milliseconds. For example, the value 1516925490.087 represents Friday, // January 26, 2018 12:11:30.087 AM. LockDate *time.Time `type:"timestamp"` // A Boolean that indicates whether Backup Vault Lock is currently protecting // the backup vault. True means that Vault Lock causes delete or update operations // on the recovery points stored in the vault to fail. Locked *bool `type:"boolean"` // The Backup Vault Lock setting that specifies the maximum retention period // that the vault retains its recovery points. If this parameter is not specified, // Vault Lock does not enforce a maximum retention period on the recovery points // in the vault (allowing indefinite storage). // // If specified, any backup or copy job to the vault must have a lifecycle policy // with a retention period equal to or shorter than the maximum retention period. // If the job's retention period is longer than that maximum retention period, // then the vault fails the backup or copy job, and you should either modify // your lifecycle settings or use a different vault. Recovery points already // stored in the vault prior to Vault Lock are not affected. MaxRetentionDays *int64 `type:"long"` // The Backup Vault Lock setting that specifies the minimum retention period // that the vault retains its recovery points. If this parameter is not specified, // Vault Lock does not enforce a minimum retention period. // // If specified, any backup or copy job to the vault must have a lifecycle policy // with a retention period equal to or longer than the minimum retention period. // If the job's retention period is shorter than that minimum retention period, // then the vault fails the backup or copy job, and you should either modify // your lifecycle settings or use a different vault. Recovery points already // stored in the vault prior to Vault Lock are not affected. MinRetentionDays *int64 `type:"long"` // The number of recovery points that are stored in a backup vault. NumberOfRecoveryPoints *int64 `type:"long"` // contains filtered or unexported fields }
func (DescribeBackupVaultOutput) GoString ¶
func (s DescribeBackupVaultOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBackupVaultOutput) SetBackupVaultArn ¶
func (s *DescribeBackupVaultOutput) SetBackupVaultArn(v string) *DescribeBackupVaultOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*DescribeBackupVaultOutput) SetBackupVaultName ¶
func (s *DescribeBackupVaultOutput) SetBackupVaultName(v string) *DescribeBackupVaultOutput
SetBackupVaultName sets the BackupVaultName field's value.
func (*DescribeBackupVaultOutput) SetCreationDate ¶
func (s *DescribeBackupVaultOutput) SetCreationDate(v time.Time) *DescribeBackupVaultOutput
SetCreationDate sets the CreationDate field's value.
func (*DescribeBackupVaultOutput) SetCreatorRequestId ¶
func (s *DescribeBackupVaultOutput) SetCreatorRequestId(v string) *DescribeBackupVaultOutput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*DescribeBackupVaultOutput) SetEncryptionKeyArn ¶
func (s *DescribeBackupVaultOutput) SetEncryptionKeyArn(v string) *DescribeBackupVaultOutput
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*DescribeBackupVaultOutput) SetLockDate ¶ added in v1.40.58
func (s *DescribeBackupVaultOutput) SetLockDate(v time.Time) *DescribeBackupVaultOutput
SetLockDate sets the LockDate field's value.
func (*DescribeBackupVaultOutput) SetLocked ¶ added in v1.40.58
func (s *DescribeBackupVaultOutput) SetLocked(v bool) *DescribeBackupVaultOutput
SetLocked sets the Locked field's value.
func (*DescribeBackupVaultOutput) SetMaxRetentionDays ¶ added in v1.40.58
func (s *DescribeBackupVaultOutput) SetMaxRetentionDays(v int64) *DescribeBackupVaultOutput
SetMaxRetentionDays sets the MaxRetentionDays field's value.
func (*DescribeBackupVaultOutput) SetMinRetentionDays ¶ added in v1.40.58
func (s *DescribeBackupVaultOutput) SetMinRetentionDays(v int64) *DescribeBackupVaultOutput
SetMinRetentionDays sets the MinRetentionDays field's value.
func (*DescribeBackupVaultOutput) SetNumberOfRecoveryPoints ¶
func (s *DescribeBackupVaultOutput) SetNumberOfRecoveryPoints(v int64) *DescribeBackupVaultOutput
SetNumberOfRecoveryPoints sets the NumberOfRecoveryPoints field's value.
func (DescribeBackupVaultOutput) String ¶
func (s DescribeBackupVaultOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeCopyJobInput ¶ added in v1.28.1
type DescribeCopyJobInput struct { // Uniquely identifies a copy job. // // CopyJobId is a required field CopyJobId *string `location:"uri" locationName:"copyJobId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeCopyJobInput) GoString ¶ added in v1.28.1
func (s DescribeCopyJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeCopyJobInput) SetCopyJobId ¶ added in v1.28.1
func (s *DescribeCopyJobInput) SetCopyJobId(v string) *DescribeCopyJobInput
SetCopyJobId sets the CopyJobId field's value.
func (DescribeCopyJobInput) String ¶ added in v1.28.1
func (s DescribeCopyJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeCopyJobInput) Validate ¶ added in v1.28.1
func (s *DescribeCopyJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCopyJobOutput ¶ added in v1.28.1
type DescribeCopyJobOutput struct { // Contains detailed information about a copy job. CopyJob *CopyJob `type:"structure"` // contains filtered or unexported fields }
func (DescribeCopyJobOutput) GoString ¶ added in v1.28.1
func (s DescribeCopyJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeCopyJobOutput) SetCopyJob ¶ added in v1.28.1
func (s *DescribeCopyJobOutput) SetCopyJob(v *CopyJob) *DescribeCopyJobOutput
SetCopyJob sets the CopyJob field's value.
func (DescribeCopyJobOutput) String ¶ added in v1.28.1
func (s DescribeCopyJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeFrameworkInput ¶ added in v1.40.28
type DescribeFrameworkInput struct { // The unique name of a framework. // // FrameworkName is a required field FrameworkName *string `location:"uri" locationName:"frameworkName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeFrameworkInput) GoString ¶ added in v1.40.28
func (s DescribeFrameworkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeFrameworkInput) SetFrameworkName ¶ added in v1.40.28
func (s *DescribeFrameworkInput) SetFrameworkName(v string) *DescribeFrameworkInput
SetFrameworkName sets the FrameworkName field's value.
func (DescribeFrameworkInput) String ¶ added in v1.40.28
func (s DescribeFrameworkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeFrameworkInput) Validate ¶ added in v1.40.28
func (s *DescribeFrameworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFrameworkOutput ¶ added in v1.40.28
type DescribeFrameworkOutput struct { // The date and time that a framework is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // The deployment status of a framework. The statuses are: // // CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED // | FAILED DeploymentStatus *string `type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. FrameworkArn *string `type:"string"` // A list of the controls that make up the framework. Each control in the list // has a name, input parameters, and scope. FrameworkControls []*FrameworkControl `type:"list"` // An optional description of the framework. FrameworkDescription *string `type:"string"` // The unique name of a framework. FrameworkName *string `min:"1" type:"string"` // A framework consists of one or more controls. Each control governs a resource, // such as backup plans, backup selections, backup vaults, or recovery points. // You can also turn Config recording on or off for each resource. The statuses // are: // // * ACTIVE when recording is turned on for all resources governed by the // framework. // // * PARTIALLY_ACTIVE when recording is turned off for at least one resource // governed by the framework. // // * INACTIVE when recording is turned off for all resources governed by // the framework. // // * UNAVAILABLE when Backup is unable to validate recording status at this // time. FrameworkStatus *string `type:"string"` // A customer-chosen string that you can use to distinguish between otherwise // identical calls to DescribeFrameworkOutput. Retrying a successful request // with the same idempotency token results in a success message with no action // taken. IdempotencyToken *string `type:"string"` // contains filtered or unexported fields }
func (DescribeFrameworkOutput) GoString ¶ added in v1.40.28
func (s DescribeFrameworkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeFrameworkOutput) SetCreationTime ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetCreationTime(v time.Time) *DescribeFrameworkOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeFrameworkOutput) SetDeploymentStatus ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetDeploymentStatus(v string) *DescribeFrameworkOutput
SetDeploymentStatus sets the DeploymentStatus field's value.
func (*DescribeFrameworkOutput) SetFrameworkArn ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetFrameworkArn(v string) *DescribeFrameworkOutput
SetFrameworkArn sets the FrameworkArn field's value.
func (*DescribeFrameworkOutput) SetFrameworkControls ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetFrameworkControls(v []*FrameworkControl) *DescribeFrameworkOutput
SetFrameworkControls sets the FrameworkControls field's value.
func (*DescribeFrameworkOutput) SetFrameworkDescription ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetFrameworkDescription(v string) *DescribeFrameworkOutput
SetFrameworkDescription sets the FrameworkDescription field's value.
func (*DescribeFrameworkOutput) SetFrameworkName ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetFrameworkName(v string) *DescribeFrameworkOutput
SetFrameworkName sets the FrameworkName field's value.
func (*DescribeFrameworkOutput) SetFrameworkStatus ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetFrameworkStatus(v string) *DescribeFrameworkOutput
SetFrameworkStatus sets the FrameworkStatus field's value.
func (*DescribeFrameworkOutput) SetIdempotencyToken ¶ added in v1.40.28
func (s *DescribeFrameworkOutput) SetIdempotencyToken(v string) *DescribeFrameworkOutput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (DescribeFrameworkOutput) String ¶ added in v1.40.28
func (s DescribeFrameworkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeGlobalSettingsInput ¶ added in v1.35.31
type DescribeGlobalSettingsInput struct {
// contains filtered or unexported fields
}
func (DescribeGlobalSettingsInput) GoString ¶ added in v1.35.31
func (s DescribeGlobalSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DescribeGlobalSettingsInput) String ¶ added in v1.35.31
func (s DescribeGlobalSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeGlobalSettingsOutput ¶ added in v1.35.31
type DescribeGlobalSettingsOutput struct { // The status of the flag isCrossAccountBackupEnabled. GlobalSettings map[string]*string `type:"map"` // The date and time that the flag isCrossAccountBackupEnabled was last updated. // This update is in Unix format and Coordinated Universal Time (UTC). The value // of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 // represents Friday, January 26, 2018 12:11:30.087 AM. LastUpdateTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (DescribeGlobalSettingsOutput) GoString ¶ added in v1.35.31
func (s DescribeGlobalSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeGlobalSettingsOutput) SetGlobalSettings ¶ added in v1.35.31
func (s *DescribeGlobalSettingsOutput) SetGlobalSettings(v map[string]*string) *DescribeGlobalSettingsOutput
SetGlobalSettings sets the GlobalSettings field's value.
func (*DescribeGlobalSettingsOutput) SetLastUpdateTime ¶ added in v1.35.31
func (s *DescribeGlobalSettingsOutput) SetLastUpdateTime(v time.Time) *DescribeGlobalSettingsOutput
SetLastUpdateTime sets the LastUpdateTime field's value.
func (DescribeGlobalSettingsOutput) String ¶ added in v1.35.31
func (s DescribeGlobalSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeProtectedResourceInput ¶
type DescribeProtectedResourceInput struct { // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeProtectedResourceInput) GoString ¶
func (s DescribeProtectedResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProtectedResourceInput) SetResourceArn ¶
func (s *DescribeProtectedResourceInput) SetResourceArn(v string) *DescribeProtectedResourceInput
SetResourceArn sets the ResourceArn field's value.
func (DescribeProtectedResourceInput) String ¶
func (s DescribeProtectedResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProtectedResourceInput) Validate ¶
func (s *DescribeProtectedResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProtectedResourceOutput ¶
type DescribeProtectedResourceOutput struct { // The date and time that a resource was last backed up, in Unix format and // Coordinated Universal Time (UTC). The value of LastBackupTime is accurate // to milliseconds. For example, the value 1516925490.087 represents Friday, // January 26, 2018 12:11:30.087 AM. LastBackupTime *time.Time `type:"timestamp"` // An ARN that uniquely identifies a resource. The format of the ARN depends // on the resource type. ResourceArn *string `type:"string"` // The type of Amazon Web Services resource saved as a recovery point; for example, // an Amazon EBS volume or an Amazon RDS database. ResourceType *string `type:"string"` // contains filtered or unexported fields }
func (DescribeProtectedResourceOutput) GoString ¶
func (s DescribeProtectedResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProtectedResourceOutput) SetLastBackupTime ¶
func (s *DescribeProtectedResourceOutput) SetLastBackupTime(v time.Time) *DescribeProtectedResourceOutput
SetLastBackupTime sets the LastBackupTime field's value.
func (*DescribeProtectedResourceOutput) SetResourceArn ¶
func (s *DescribeProtectedResourceOutput) SetResourceArn(v string) *DescribeProtectedResourceOutput
SetResourceArn sets the ResourceArn field's value.
func (*DescribeProtectedResourceOutput) SetResourceType ¶
func (s *DescribeProtectedResourceOutput) SetResourceType(v string) *DescribeProtectedResourceOutput
SetResourceType sets the ResourceType field's value.
func (DescribeProtectedResourceOutput) String ¶
func (s DescribeProtectedResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRecoveryPointInput ¶
type DescribeRecoveryPointInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s DescribeRecoveryPointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecoveryPointInput) SetBackupVaultName ¶
func (s *DescribeRecoveryPointInput) SetBackupVaultName(v string) *DescribeRecoveryPointInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*DescribeRecoveryPointInput) SetRecoveryPointArn ¶
func (s *DescribeRecoveryPointInput) SetRecoveryPointArn(v string) *DescribeRecoveryPointInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (DescribeRecoveryPointInput) String ¶
func (s DescribeRecoveryPointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecoveryPointInput) Validate ¶
func (s *DescribeRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRecoveryPointOutput ¶
type DescribeRecoveryPointOutput struct { // The size, in bytes, of a backup. BackupSizeInBytes *int64 `type:"long"` // An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Region where they are created. They consist of lowercase letters, numbers, // and hyphens. BackupVaultName *string `type:"string"` // A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt // timestamps. CalculatedLifecycle *CalculatedLifecycle `type:"structure"` // The date and time that a job to create a recovery point is completed, in // Unix format and Coordinated Universal Time (UTC). The value of CompletionDate // is accurate to milliseconds. For example, the value 1516925490.087 represents // Friday, January 26, 2018 12:11:30.087 AM. CompletionDate *time.Time `type:"timestamp"` // Contains identifying information about the creation of a recovery point, // including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId // of the backup plan used to create it. CreatedBy *RecoveryPointCreator `type:"structure"` // The date and time that a recovery point is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // The server-side encryption key used to protect your backups; for example, // arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. EncryptionKeyArn *string `type:"string"` // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access. IamRoleArn *string `type:"string"` // A Boolean value that is returned as TRUE if the specified recovery point // is encrypted, or FALSE if the recovery point is not encrypted. IsEncrypted *bool `type:"boolean"` // The date and time that a recovery point was last restored, in Unix format // and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate // to milliseconds. For example, the value 1516925490.087 represents Friday, // January 26, 2018 12:11:30.087 AM. LastRestoreTime *time.Time `type:"timestamp"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. 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 “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. 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 Amazon Web Services 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"` // An Amazon Resource Name (ARN) that uniquely identifies the source vault where // the resource was originally backed up in; for example, arn:aws:backup:us-east-1:123456789012:vault:BackupVault. // If the recovery is restored to the same Amazon Web Services account or Region, // this value will be null. SourceBackupVaultArn *string `type:"string"` // A status code specifying the state of the recovery point. // // PARTIAL status indicates Backup could not create the recovery point before // the backup window closed. To increase your backup plan window using the API, // see UpdateBackupPlan (https://docs.aws.amazon.com/aws-backup/latest/devguide/API_UpdateBackupPlan.html). // You can also increase your backup plan window using the Console by choosing // and editing your backup plan. // // EXPIRED status indicates that the recovery point has exceeded its retention // period, but Backup lacks permission or is otherwise unable to delete it. // To manually delete these recovery points, see Step 3: Delete the recovery // points (https://docs.aws.amazon.com/aws-backup/latest/devguide/gs-cleanup-resources.html#cleanup-backups) // in the Clean up resources section of Getting started. Status *string `type:"string" enum:"RecoveryPointStatus"` // A status message explaining the reason for the recovery point deletion failure. StatusMessage *string `type:"string"` // 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 ¶
func (s DescribeRecoveryPointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecoveryPointOutput) SetBackupSizeInBytes ¶
func (s *DescribeRecoveryPointOutput) SetBackupSizeInBytes(v int64) *DescribeRecoveryPointOutput
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*DescribeRecoveryPointOutput) SetBackupVaultArn ¶
func (s *DescribeRecoveryPointOutput) SetBackupVaultArn(v string) *DescribeRecoveryPointOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*DescribeRecoveryPointOutput) SetBackupVaultName ¶
func (s *DescribeRecoveryPointOutput) SetBackupVaultName(v string) *DescribeRecoveryPointOutput
SetBackupVaultName sets the BackupVaultName field's value.
func (*DescribeRecoveryPointOutput) SetCalculatedLifecycle ¶
func (s *DescribeRecoveryPointOutput) SetCalculatedLifecycle(v *CalculatedLifecycle) *DescribeRecoveryPointOutput
SetCalculatedLifecycle sets the CalculatedLifecycle field's value.
func (*DescribeRecoveryPointOutput) SetCompletionDate ¶
func (s *DescribeRecoveryPointOutput) SetCompletionDate(v time.Time) *DescribeRecoveryPointOutput
SetCompletionDate sets the CompletionDate field's value.
func (*DescribeRecoveryPointOutput) SetCreatedBy ¶
func (s *DescribeRecoveryPointOutput) SetCreatedBy(v *RecoveryPointCreator) *DescribeRecoveryPointOutput
SetCreatedBy sets the CreatedBy field's value.
func (*DescribeRecoveryPointOutput) SetCreationDate ¶
func (s *DescribeRecoveryPointOutput) SetCreationDate(v time.Time) *DescribeRecoveryPointOutput
SetCreationDate sets the CreationDate field's value.
func (*DescribeRecoveryPointOutput) SetEncryptionKeyArn ¶
func (s *DescribeRecoveryPointOutput) SetEncryptionKeyArn(v string) *DescribeRecoveryPointOutput
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*DescribeRecoveryPointOutput) SetIamRoleArn ¶
func (s *DescribeRecoveryPointOutput) SetIamRoleArn(v string) *DescribeRecoveryPointOutput
SetIamRoleArn sets the IamRoleArn field's value.
func (*DescribeRecoveryPointOutput) SetIsEncrypted ¶
func (s *DescribeRecoveryPointOutput) SetIsEncrypted(v bool) *DescribeRecoveryPointOutput
SetIsEncrypted sets the IsEncrypted field's value.
func (*DescribeRecoveryPointOutput) SetLastRestoreTime ¶
func (s *DescribeRecoveryPointOutput) SetLastRestoreTime(v time.Time) *DescribeRecoveryPointOutput
SetLastRestoreTime sets the LastRestoreTime field's value.
func (*DescribeRecoveryPointOutput) SetLifecycle ¶
func (s *DescribeRecoveryPointOutput) SetLifecycle(v *Lifecycle) *DescribeRecoveryPointOutput
SetLifecycle sets the Lifecycle field's value.
func (*DescribeRecoveryPointOutput) SetRecoveryPointArn ¶
func (s *DescribeRecoveryPointOutput) SetRecoveryPointArn(v string) *DescribeRecoveryPointOutput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*DescribeRecoveryPointOutput) SetResourceArn ¶
func (s *DescribeRecoveryPointOutput) SetResourceArn(v string) *DescribeRecoveryPointOutput
SetResourceArn sets the ResourceArn field's value.
func (*DescribeRecoveryPointOutput) SetResourceType ¶
func (s *DescribeRecoveryPointOutput) SetResourceType(v string) *DescribeRecoveryPointOutput
SetResourceType sets the ResourceType field's value.
func (*DescribeRecoveryPointOutput) SetSourceBackupVaultArn ¶ added in v1.35.31
func (s *DescribeRecoveryPointOutput) SetSourceBackupVaultArn(v string) *DescribeRecoveryPointOutput
SetSourceBackupVaultArn sets the SourceBackupVaultArn field's value.
func (*DescribeRecoveryPointOutput) SetStatus ¶
func (s *DescribeRecoveryPointOutput) SetStatus(v string) *DescribeRecoveryPointOutput
SetStatus sets the Status field's value.
func (*DescribeRecoveryPointOutput) SetStatusMessage ¶ added in v1.40.28
func (s *DescribeRecoveryPointOutput) SetStatusMessage(v string) *DescribeRecoveryPointOutput
SetStatusMessage sets the StatusMessage field's value.
func (*DescribeRecoveryPointOutput) SetStorageClass ¶
func (s *DescribeRecoveryPointOutput) SetStorageClass(v string) *DescribeRecoveryPointOutput
SetStorageClass sets the StorageClass field's value.
func (DescribeRecoveryPointOutput) String ¶
func (s DescribeRecoveryPointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRegionSettingsInput ¶ added in v1.31.2
type DescribeRegionSettingsInput struct {
// contains filtered or unexported fields
}
func (DescribeRegionSettingsInput) GoString ¶ added in v1.31.2
func (s DescribeRegionSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DescribeRegionSettingsInput) String ¶ added in v1.31.2
func (s DescribeRegionSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRegionSettingsOutput ¶ added in v1.31.2
type DescribeRegionSettingsOutput struct { // Returns whether Backup fully manages the backups for a resource type. // // For the benefits of full Backup management, see Full Backup management (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management). // // For a list of resource types and whether each supports full Backup management, // see the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. // // If "DynamoDB":false, you can enable full Backup management for DynamoDB backup // by enabling Backup's advanced DynamoDB backup features (https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli). ResourceTypeManagementPreference map[string]*bool `type:"map"` // Returns a list of all services along with the opt-in preferences in the Region. ResourceTypeOptInPreference map[string]*bool `type:"map"` // contains filtered or unexported fields }
func (DescribeRegionSettingsOutput) GoString ¶ added in v1.31.2
func (s DescribeRegionSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRegionSettingsOutput) SetResourceTypeManagementPreference ¶ added in v1.42.11
func (s *DescribeRegionSettingsOutput) SetResourceTypeManagementPreference(v map[string]*bool) *DescribeRegionSettingsOutput
SetResourceTypeManagementPreference sets the ResourceTypeManagementPreference field's value.
func (*DescribeRegionSettingsOutput) SetResourceTypeOptInPreference ¶ added in v1.31.2
func (s *DescribeRegionSettingsOutput) SetResourceTypeOptInPreference(v map[string]*bool) *DescribeRegionSettingsOutput
SetResourceTypeOptInPreference sets the ResourceTypeOptInPreference field's value.
func (DescribeRegionSettingsOutput) String ¶ added in v1.31.2
func (s DescribeRegionSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeReportJobInput ¶ added in v1.40.28
type DescribeReportJobInput struct { // The identifier of the report job. A unique, randomly generated, Unicode, // UTF-8 encoded string that is at most 1,024 bytes long. The report job ID // cannot be edited. // // ReportJobId is a required field ReportJobId *string `location:"uri" locationName:"reportJobId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeReportJobInput) GoString ¶ added in v1.40.28
func (s DescribeReportJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeReportJobInput) SetReportJobId ¶ added in v1.40.28
func (s *DescribeReportJobInput) SetReportJobId(v string) *DescribeReportJobInput
SetReportJobId sets the ReportJobId field's value.
func (DescribeReportJobInput) String ¶ added in v1.40.28
func (s DescribeReportJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeReportJobInput) Validate ¶ added in v1.40.28
func (s *DescribeReportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeReportJobOutput ¶ added in v1.40.28
type DescribeReportJobOutput struct { // A list of information about a report job, including its completion and creation // times, report destination, unique report job ID, Amazon Resource Name (ARN), // report template, status, and status message. ReportJob *ReportJob `type:"structure"` // contains filtered or unexported fields }
func (DescribeReportJobOutput) GoString ¶ added in v1.40.28
func (s DescribeReportJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeReportJobOutput) SetReportJob ¶ added in v1.40.28
func (s *DescribeReportJobOutput) SetReportJob(v *ReportJob) *DescribeReportJobOutput
SetReportJob sets the ReportJob field's value.
func (DescribeReportJobOutput) String ¶ added in v1.40.28
func (s DescribeReportJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeReportPlanInput ¶ added in v1.40.28
type DescribeReportPlanInput struct { // The unique name of a report plan. // // ReportPlanName is a required field ReportPlanName *string `location:"uri" locationName:"reportPlanName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeReportPlanInput) GoString ¶ added in v1.40.28
func (s DescribeReportPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeReportPlanInput) SetReportPlanName ¶ added in v1.40.28
func (s *DescribeReportPlanInput) SetReportPlanName(v string) *DescribeReportPlanInput
SetReportPlanName sets the ReportPlanName field's value.
func (DescribeReportPlanInput) String ¶ added in v1.40.28
func (s DescribeReportPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeReportPlanInput) Validate ¶ added in v1.40.28
func (s *DescribeReportPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeReportPlanOutput ¶ added in v1.40.28
type DescribeReportPlanOutput struct { // Returns details about the report plan that is specified by its name. These // details include the report plan's Amazon Resource Name (ARN), description, // settings, delivery channel, deployment status, creation time, and last attempted // and successful run times. ReportPlan *ReportPlan `type:"structure"` // contains filtered or unexported fields }
func (DescribeReportPlanOutput) GoString ¶ added in v1.40.28
func (s DescribeReportPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeReportPlanOutput) SetReportPlan ¶ added in v1.40.28
func (s *DescribeReportPlanOutput) SetReportPlan(v *ReportPlan) *DescribeReportPlanOutput
SetReportPlan sets the ReportPlan field's value.
func (DescribeReportPlanOutput) String ¶ added in v1.40.28
func (s DescribeReportPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRestoreJobInput ¶
type DescribeRestoreJobInput struct { // Uniquely identifies the job that restores a recovery point. // // RestoreJobId is a required field RestoreJobId *string `location:"uri" locationName:"restoreJobId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRestoreJobInput) GoString ¶
func (s DescribeRestoreJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRestoreJobInput) SetRestoreJobId ¶
func (s *DescribeRestoreJobInput) SetRestoreJobId(v string) *DescribeRestoreJobInput
SetRestoreJobId sets the RestoreJobId field's value.
func (DescribeRestoreJobInput) String ¶
func (s DescribeRestoreJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRestoreJobInput) Validate ¶
func (s *DescribeRestoreJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRestoreJobOutput ¶
type DescribeRestoreJobOutput struct { // Returns the account ID that owns the restore job. AccountId *string `type:"string"` // 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"` // Returns metadata associated with a restore job listed by resource type. ResourceType *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 Backup to // restore a recovery point. Status *string `type:"string" enum:"RestoreJobStatus"` // A message showing the status of a job to restore a recovery point. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
func (DescribeRestoreJobOutput) GoString ¶
func (s DescribeRestoreJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRestoreJobOutput) SetAccountId ¶ added in v1.32.9
func (s *DescribeRestoreJobOutput) SetAccountId(v string) *DescribeRestoreJobOutput
SetAccountId sets the AccountId field's value.
func (*DescribeRestoreJobOutput) SetBackupSizeInBytes ¶
func (s *DescribeRestoreJobOutput) SetBackupSizeInBytes(v int64) *DescribeRestoreJobOutput
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*DescribeRestoreJobOutput) SetCompletionDate ¶
func (s *DescribeRestoreJobOutput) SetCompletionDate(v time.Time) *DescribeRestoreJobOutput
SetCompletionDate sets the CompletionDate field's value.
func (*DescribeRestoreJobOutput) SetCreatedResourceArn ¶
func (s *DescribeRestoreJobOutput) SetCreatedResourceArn(v string) *DescribeRestoreJobOutput
SetCreatedResourceArn sets the CreatedResourceArn field's value.
func (*DescribeRestoreJobOutput) SetCreationDate ¶
func (s *DescribeRestoreJobOutput) SetCreationDate(v time.Time) *DescribeRestoreJobOutput
SetCreationDate sets the CreationDate field's value.
func (*DescribeRestoreJobOutput) SetExpectedCompletionTimeMinutes ¶
func (s *DescribeRestoreJobOutput) SetExpectedCompletionTimeMinutes(v int64) *DescribeRestoreJobOutput
SetExpectedCompletionTimeMinutes sets the ExpectedCompletionTimeMinutes field's value.
func (*DescribeRestoreJobOutput) SetIamRoleArn ¶
func (s *DescribeRestoreJobOutput) SetIamRoleArn(v string) *DescribeRestoreJobOutput
SetIamRoleArn sets the IamRoleArn field's value.
func (*DescribeRestoreJobOutput) SetPercentDone ¶
func (s *DescribeRestoreJobOutput) SetPercentDone(v string) *DescribeRestoreJobOutput
SetPercentDone sets the PercentDone field's value.
func (*DescribeRestoreJobOutput) SetRecoveryPointArn ¶
func (s *DescribeRestoreJobOutput) SetRecoveryPointArn(v string) *DescribeRestoreJobOutput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*DescribeRestoreJobOutput) SetResourceType ¶ added in v1.32.9
func (s *DescribeRestoreJobOutput) SetResourceType(v string) *DescribeRestoreJobOutput
SetResourceType sets the ResourceType field's value.
func (*DescribeRestoreJobOutput) SetRestoreJobId ¶
func (s *DescribeRestoreJobOutput) SetRestoreJobId(v string) *DescribeRestoreJobOutput
SetRestoreJobId sets the RestoreJobId field's value.
func (*DescribeRestoreJobOutput) SetStatus ¶
func (s *DescribeRestoreJobOutput) SetStatus(v string) *DescribeRestoreJobOutput
SetStatus sets the Status field's value.
func (*DescribeRestoreJobOutput) SetStatusMessage ¶
func (s *DescribeRestoreJobOutput) SetStatusMessage(v string) *DescribeRestoreJobOutput
SetStatusMessage sets the StatusMessage field's value.
func (DescribeRestoreJobOutput) String ¶
func (s DescribeRestoreJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateRecoveryPointInput ¶ added in v1.37.28
type DisassociateRecoveryPointInput struct { // The unique name of an Backup vault. // // BackupVaultName is a required field BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` // An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery // point. // // RecoveryPointArn is a required field RecoveryPointArn *string `location:"uri" locationName:"recoveryPointArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateRecoveryPointInput) GoString ¶ added in v1.37.28
func (s DisassociateRecoveryPointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateRecoveryPointInput) SetBackupVaultName ¶ added in v1.37.28
func (s *DisassociateRecoveryPointInput) SetBackupVaultName(v string) *DisassociateRecoveryPointInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*DisassociateRecoveryPointInput) SetRecoveryPointArn ¶ added in v1.37.28
func (s *DisassociateRecoveryPointInput) SetRecoveryPointArn(v string) *DisassociateRecoveryPointInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (DisassociateRecoveryPointInput) String ¶ added in v1.37.28
func (s DisassociateRecoveryPointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateRecoveryPointInput) Validate ¶ added in v1.37.28
func (s *DisassociateRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateRecoveryPointOutput ¶ added in v1.37.28
type DisassociateRecoveryPointOutput struct {
// contains filtered or unexported fields
}
func (DisassociateRecoveryPointOutput) GoString ¶ added in v1.37.28
func (s DisassociateRecoveryPointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DisassociateRecoveryPointOutput) String ¶ added in v1.37.28
func (s DisassociateRecoveryPointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportBackupPlanTemplateInput ¶
type ExportBackupPlanTemplateInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ExportBackupPlanTemplateInput) GoString ¶
func (s ExportBackupPlanTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportBackupPlanTemplateInput) SetBackupPlanId ¶
func (s *ExportBackupPlanTemplateInput) SetBackupPlanId(v string) *ExportBackupPlanTemplateInput
SetBackupPlanId sets the BackupPlanId field's value.
func (ExportBackupPlanTemplateInput) String ¶
func (s ExportBackupPlanTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportBackupPlanTemplateInput) Validate ¶
func (s *ExportBackupPlanTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportBackupPlanTemplateOutput ¶
type ExportBackupPlanTemplateOutput struct { // The body of a backup plan template in JSON format. // // This is a signed JSON document that cannot be modified before being passed // to GetBackupPlanFromJSON. BackupPlanTemplateJson *string `type:"string"` // contains filtered or unexported fields }
func (ExportBackupPlanTemplateOutput) GoString ¶
func (s ExportBackupPlanTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportBackupPlanTemplateOutput) SetBackupPlanTemplateJson ¶
func (s *ExportBackupPlanTemplateOutput) SetBackupPlanTemplateJson(v string) *ExportBackupPlanTemplateOutput
SetBackupPlanTemplateJson sets the BackupPlanTemplateJson field's value.
func (ExportBackupPlanTemplateOutput) String ¶
func (s ExportBackupPlanTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Framework ¶ added in v1.40.28
type Framework struct { // The date and time that a framework is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // The deployment status of a framework. The statuses are: // // CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED // | FAILED DeploymentStatus *string `type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. FrameworkArn *string `type:"string"` // An optional description of the framework with a maximum 1,024 characters. FrameworkDescription *string `type:"string"` // The unique name of a framework. This name is between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). FrameworkName *string `min:"1" type:"string"` // The number of controls contained by the framework. NumberOfControls *int64 `type:"integer"` // contains filtered or unexported fields }
Contains detailed information about a framework. Frameworks contain controls, which evaluate and report on your backup events and resources. Frameworks generate daily compliance results.
func (Framework) GoString ¶ added in v1.40.28
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Framework) SetCreationTime ¶ added in v1.40.28
SetCreationTime sets the CreationTime field's value.
func (*Framework) SetDeploymentStatus ¶ added in v1.40.28
SetDeploymentStatus sets the DeploymentStatus field's value.
func (*Framework) SetFrameworkArn ¶ added in v1.40.28
SetFrameworkArn sets the FrameworkArn field's value.
func (*Framework) SetFrameworkDescription ¶ added in v1.40.28
SetFrameworkDescription sets the FrameworkDescription field's value.
func (*Framework) SetFrameworkName ¶ added in v1.40.28
SetFrameworkName sets the FrameworkName field's value.
func (*Framework) SetNumberOfControls ¶ added in v1.40.28
SetNumberOfControls sets the NumberOfControls field's value.
type FrameworkControl ¶ added in v1.40.28
type FrameworkControl struct { // A list of ParameterName and ParameterValue pairs. ControlInputParameters []*ControlInputParameter `type:"list"` // The name of a control. This name is between 1 and 256 characters. // // ControlName is a required field ControlName *string `type:"string" required:"true"` // The scope of a control. The control scope defines what the control will evaluate. // Three examples of control scopes are: a specific backup plan, all backup // plans with a specific tag, or all backup plans. For more information, see // ControlScope. (aws-backup/latest/devguide/API_ControlScope.html) ControlScope *ControlScope `type:"structure"` // contains filtered or unexported fields }
Contains detailed information about all of the controls of a framework. Each framework must contain at least one control.
func (FrameworkControl) GoString ¶ added in v1.40.28
func (s FrameworkControl) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FrameworkControl) SetControlInputParameters ¶ added in v1.40.28
func (s *FrameworkControl) SetControlInputParameters(v []*ControlInputParameter) *FrameworkControl
SetControlInputParameters sets the ControlInputParameters field's value.
func (*FrameworkControl) SetControlName ¶ added in v1.40.28
func (s *FrameworkControl) SetControlName(v string) *FrameworkControl
SetControlName sets the ControlName field's value.
func (*FrameworkControl) SetControlScope ¶ added in v1.40.28
func (s *FrameworkControl) SetControlScope(v *ControlScope) *FrameworkControl
SetControlScope sets the ControlScope field's value.
func (FrameworkControl) String ¶ added in v1.40.28
func (s FrameworkControl) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FrameworkControl) Validate ¶ added in v1.40.28
func (s *FrameworkControl) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupPlanFromJSONInput ¶
type GetBackupPlanFromJSONInput struct { // A customer-supplied backup plan document in JSON format. // // BackupPlanTemplateJson is a required field BackupPlanTemplateJson *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetBackupPlanFromJSONInput) GoString ¶
func (s GetBackupPlanFromJSONInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanFromJSONInput) SetBackupPlanTemplateJson ¶
func (s *GetBackupPlanFromJSONInput) SetBackupPlanTemplateJson(v string) *GetBackupPlanFromJSONInput
SetBackupPlanTemplateJson sets the BackupPlanTemplateJson field's value.
func (GetBackupPlanFromJSONInput) String ¶
func (s GetBackupPlanFromJSONInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanFromJSONInput) Validate ¶
func (s *GetBackupPlanFromJSONInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupPlanFromJSONOutput ¶
type GetBackupPlanFromJSONOutput struct { // Specifies the body of a backup plan. Includes a BackupPlanName and one or // more sets of Rules. BackupPlan *Plan `type:"structure"` // contains filtered or unexported fields }
func (GetBackupPlanFromJSONOutput) GoString ¶
func (s GetBackupPlanFromJSONOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanFromJSONOutput) SetBackupPlan ¶
func (s *GetBackupPlanFromJSONOutput) SetBackupPlan(v *Plan) *GetBackupPlanFromJSONOutput
SetBackupPlan sets the BackupPlan field's value.
func (GetBackupPlanFromJSONOutput) String ¶
func (s GetBackupPlanFromJSONOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBackupPlanFromTemplateInput ¶
type GetBackupPlanFromTemplateInput struct { // Uniquely identifies a stored backup plan template. // // BackupPlanTemplateId is a required field BackupPlanTemplateId *string `location:"uri" locationName:"templateId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetBackupPlanFromTemplateInput) GoString ¶
func (s GetBackupPlanFromTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanFromTemplateInput) SetBackupPlanTemplateId ¶
func (s *GetBackupPlanFromTemplateInput) SetBackupPlanTemplateId(v string) *GetBackupPlanFromTemplateInput
SetBackupPlanTemplateId sets the BackupPlanTemplateId field's value.
func (GetBackupPlanFromTemplateInput) String ¶
func (s GetBackupPlanFromTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanFromTemplateInput) Validate ¶
func (s *GetBackupPlanFromTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupPlanFromTemplateOutput ¶
type GetBackupPlanFromTemplateOutput struct { // Returns the body of a backup plan based on the target template, including // the name, rules, and backup vault of the plan. BackupPlanDocument *Plan `type:"structure"` // contains filtered or unexported fields }
func (GetBackupPlanFromTemplateOutput) GoString ¶
func (s GetBackupPlanFromTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanFromTemplateOutput) SetBackupPlanDocument ¶
func (s *GetBackupPlanFromTemplateOutput) SetBackupPlanDocument(v *Plan) *GetBackupPlanFromTemplateOutput
SetBackupPlanDocument sets the BackupPlanDocument field's value.
func (GetBackupPlanFromTemplateOutput) String ¶
func (s GetBackupPlanFromTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBackupPlanInput ¶
type GetBackupPlanInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. Version IDs cannot be edited. VersionId *string `location:"querystring" locationName:"versionId" type:"string"` // contains filtered or unexported fields }
func (GetBackupPlanInput) GoString ¶
func (s GetBackupPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanInput) SetBackupPlanId ¶
func (s *GetBackupPlanInput) SetBackupPlanId(v string) *GetBackupPlanInput
SetBackupPlanId sets the BackupPlanId field's value.
func (*GetBackupPlanInput) SetVersionId ¶
func (s *GetBackupPlanInput) SetVersionId(v string) *GetBackupPlanInput
SetVersionId sets the VersionId field's value.
func (GetBackupPlanInput) String ¶
func (s GetBackupPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanInput) Validate ¶
func (s *GetBackupPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupPlanOutput ¶
type GetBackupPlanOutput struct { // Contains a list of BackupOptions for each resource type. The list is populated // only if the advanced option is set for the backup plan. AdvancedBackupSettings []*AdvancedBackupSetting `type:"list"` // 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 running 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 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 run 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 ¶
func (s GetBackupPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupPlanOutput) SetAdvancedBackupSettings ¶ added in v1.34.30
func (s *GetBackupPlanOutput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *GetBackupPlanOutput
SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value.
func (*GetBackupPlanOutput) SetBackupPlan ¶
func (s *GetBackupPlanOutput) SetBackupPlan(v *Plan) *GetBackupPlanOutput
SetBackupPlan sets the BackupPlan field's value.
func (*GetBackupPlanOutput) SetBackupPlanArn ¶
func (s *GetBackupPlanOutput) SetBackupPlanArn(v string) *GetBackupPlanOutput
SetBackupPlanArn sets the BackupPlanArn field's value.
func (*GetBackupPlanOutput) SetBackupPlanId ¶
func (s *GetBackupPlanOutput) SetBackupPlanId(v string) *GetBackupPlanOutput
SetBackupPlanId sets the BackupPlanId field's value.
func (*GetBackupPlanOutput) SetCreationDate ¶
func (s *GetBackupPlanOutput) SetCreationDate(v time.Time) *GetBackupPlanOutput
SetCreationDate sets the CreationDate field's value.
func (*GetBackupPlanOutput) SetCreatorRequestId ¶
func (s *GetBackupPlanOutput) SetCreatorRequestId(v string) *GetBackupPlanOutput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*GetBackupPlanOutput) SetDeletionDate ¶
func (s *GetBackupPlanOutput) SetDeletionDate(v time.Time) *GetBackupPlanOutput
SetDeletionDate sets the DeletionDate field's value.
func (*GetBackupPlanOutput) SetLastExecutionDate ¶
func (s *GetBackupPlanOutput) SetLastExecutionDate(v time.Time) *GetBackupPlanOutput
SetLastExecutionDate sets the LastExecutionDate field's value.
func (*GetBackupPlanOutput) SetVersionId ¶
func (s *GetBackupPlanOutput) SetVersionId(v string) *GetBackupPlanOutput
SetVersionId sets the VersionId field's value.
func (GetBackupPlanOutput) String ¶
func (s GetBackupPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBackupSelectionInput ¶
type GetBackupSelectionInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // Uniquely identifies the body of a request to assign a set of resources to // a backup plan. // // SelectionId is a required field SelectionId *string `location:"uri" locationName:"selectionId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetBackupSelectionInput) GoString ¶
func (s GetBackupSelectionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupSelectionInput) SetBackupPlanId ¶
func (s *GetBackupSelectionInput) SetBackupPlanId(v string) *GetBackupSelectionInput
SetBackupPlanId sets the BackupPlanId field's value.
func (*GetBackupSelectionInput) SetSelectionId ¶
func (s *GetBackupSelectionInput) SetSelectionId(v string) *GetBackupSelectionInput
SetSelectionId sets the SelectionId field's value.
func (GetBackupSelectionInput) String ¶
func (s GetBackupSelectionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupSelectionInput) Validate ¶
func (s *GetBackupSelectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupSelectionOutput ¶
type GetBackupSelectionOutput struct { // Uniquely identifies a backup plan. BackupPlanId *string `type:"string"` // Specifies the body of a request to assign a set of resources to a backup // plan. 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 running 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 ¶
func (s GetBackupSelectionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupSelectionOutput) SetBackupPlanId ¶
func (s *GetBackupSelectionOutput) SetBackupPlanId(v string) *GetBackupSelectionOutput
SetBackupPlanId sets the BackupPlanId field's value.
func (*GetBackupSelectionOutput) SetBackupSelection ¶
func (s *GetBackupSelectionOutput) SetBackupSelection(v *Selection) *GetBackupSelectionOutput
SetBackupSelection sets the BackupSelection field's value.
func (*GetBackupSelectionOutput) SetCreationDate ¶
func (s *GetBackupSelectionOutput) SetCreationDate(v time.Time) *GetBackupSelectionOutput
SetCreationDate sets the CreationDate field's value.
func (*GetBackupSelectionOutput) SetCreatorRequestId ¶
func (s *GetBackupSelectionOutput) SetCreatorRequestId(v string) *GetBackupSelectionOutput
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*GetBackupSelectionOutput) SetSelectionId ¶
func (s *GetBackupSelectionOutput) SetSelectionId(v string) *GetBackupSelectionOutput
SetSelectionId sets the SelectionId field's value.
func (GetBackupSelectionOutput) String ¶
func (s GetBackupSelectionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBackupVaultAccessPolicyInput ¶
type GetBackupVaultAccessPolicyInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s GetBackupVaultAccessPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupVaultAccessPolicyInput) SetBackupVaultName ¶
func (s *GetBackupVaultAccessPolicyInput) SetBackupVaultName(v string) *GetBackupVaultAccessPolicyInput
SetBackupVaultName sets the BackupVaultName field's value.
func (GetBackupVaultAccessPolicyInput) String ¶
func (s GetBackupVaultAccessPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupVaultAccessPolicyInput) Validate ¶
func (s *GetBackupVaultAccessPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupVaultAccessPolicyOutput ¶
type GetBackupVaultAccessPolicyOutput struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for // example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Region where they are created. They consist of lowercase letters, numbers, // and hyphens. BackupVaultName *string `type:"string"` // The backup vault access policy document in JSON format. Policy *string `type:"string"` // contains filtered or unexported fields }
func (GetBackupVaultAccessPolicyOutput) GoString ¶
func (s GetBackupVaultAccessPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupVaultAccessPolicyOutput) SetBackupVaultArn ¶
func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultArn(v string) *GetBackupVaultAccessPolicyOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*GetBackupVaultAccessPolicyOutput) SetBackupVaultName ¶
func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultName(v string) *GetBackupVaultAccessPolicyOutput
SetBackupVaultName sets the BackupVaultName field's value.
func (*GetBackupVaultAccessPolicyOutput) SetPolicy ¶
func (s *GetBackupVaultAccessPolicyOutput) SetPolicy(v string) *GetBackupVaultAccessPolicyOutput
SetPolicy sets the Policy field's value.
func (GetBackupVaultAccessPolicyOutput) String ¶
func (s GetBackupVaultAccessPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetBackupVaultNotificationsInput ¶
type GetBackupVaultNotificationsInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s GetBackupVaultNotificationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupVaultNotificationsInput) SetBackupVaultName ¶
func (s *GetBackupVaultNotificationsInput) SetBackupVaultName(v string) *GetBackupVaultNotificationsInput
SetBackupVaultName sets the BackupVaultName field's value.
func (GetBackupVaultNotificationsInput) String ¶
func (s GetBackupVaultNotificationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupVaultNotificationsInput) Validate ¶
func (s *GetBackupVaultNotificationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBackupVaultNotificationsOutput ¶
type GetBackupVaultNotificationsOutput struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for // example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // An array of events that indicate the status of jobs to back up resources // to the backup vault. BackupVaultEvents []*string `type:"list" enum:"VaultEvent"` // 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 ¶
func (s GetBackupVaultNotificationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetBackupVaultNotificationsOutput) SetBackupVaultArn ¶
func (s *GetBackupVaultNotificationsOutput) SetBackupVaultArn(v string) *GetBackupVaultNotificationsOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*GetBackupVaultNotificationsOutput) SetBackupVaultEvents ¶
func (s *GetBackupVaultNotificationsOutput) SetBackupVaultEvents(v []*string) *GetBackupVaultNotificationsOutput
SetBackupVaultEvents sets the BackupVaultEvents field's value.
func (*GetBackupVaultNotificationsOutput) SetBackupVaultName ¶
func (s *GetBackupVaultNotificationsOutput) SetBackupVaultName(v string) *GetBackupVaultNotificationsOutput
SetBackupVaultName sets the BackupVaultName field's value.
func (*GetBackupVaultNotificationsOutput) SetSNSTopicArn ¶
func (s *GetBackupVaultNotificationsOutput) SetSNSTopicArn(v string) *GetBackupVaultNotificationsOutput
SetSNSTopicArn sets the SNSTopicArn field's value.
func (GetBackupVaultNotificationsOutput) String ¶
func (s GetBackupVaultNotificationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecoveryPointRestoreMetadataInput ¶
type GetRecoveryPointRestoreMetadataInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s GetRecoveryPointRestoreMetadataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecoveryPointRestoreMetadataInput) SetBackupVaultName ¶
func (s *GetRecoveryPointRestoreMetadataInput) SetBackupVaultName(v string) *GetRecoveryPointRestoreMetadataInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*GetRecoveryPointRestoreMetadataInput) SetRecoveryPointArn ¶
func (s *GetRecoveryPointRestoreMetadataInput) SetRecoveryPointArn(v string) *GetRecoveryPointRestoreMetadataInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (GetRecoveryPointRestoreMetadataInput) String ¶
func (s GetRecoveryPointRestoreMetadataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecoveryPointRestoreMetadataInput) Validate ¶
func (s *GetRecoveryPointRestoreMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRecoveryPointRestoreMetadataOutput ¶
type GetRecoveryPointRestoreMetadataOutput struct { // An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` // The set of metadata key-value pairs that describe the original configuration // of the backed-up resource. These values vary depending on the service that // is being restored. // // RestoreMetadata is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetRecoveryPointRestoreMetadataOutput's // String and GoString methods. RestoreMetadata map[string]*string `type:"map" sensitive:"true"` // contains filtered or unexported fields }
func (GetRecoveryPointRestoreMetadataOutput) GoString ¶
func (s GetRecoveryPointRestoreMetadataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecoveryPointRestoreMetadataOutput) SetBackupVaultArn ¶
func (s *GetRecoveryPointRestoreMetadataOutput) SetBackupVaultArn(v string) *GetRecoveryPointRestoreMetadataOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*GetRecoveryPointRestoreMetadataOutput) SetRecoveryPointArn ¶
func (s *GetRecoveryPointRestoreMetadataOutput) SetRecoveryPointArn(v string) *GetRecoveryPointRestoreMetadataOutput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*GetRecoveryPointRestoreMetadataOutput) SetRestoreMetadata ¶
func (s *GetRecoveryPointRestoreMetadataOutput) SetRestoreMetadata(v map[string]*string) *GetRecoveryPointRestoreMetadataOutput
SetRestoreMetadata sets the RestoreMetadata field's value.
func (GetRecoveryPointRestoreMetadataOutput) String ¶
func (s GetRecoveryPointRestoreMetadataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSupportedResourceTypesInput ¶
type GetSupportedResourceTypesInput struct {
// contains filtered or unexported fields
}
func (GetSupportedResourceTypesInput) GoString ¶
func (s GetSupportedResourceTypesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetSupportedResourceTypesInput) String ¶
func (s GetSupportedResourceTypesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSupportedResourceTypesOutput ¶
type GetSupportedResourceTypesOutput struct { // Contains a string with the supported Amazon Web Services resource types: // // * Aurora for Amazon Aurora // // * DynamoDB for Amazon DynamoDB // // * EBS for Amazon Elastic Block Store // // * EC2 for Amazon Elastic Compute Cloud // // * EFS for Amazon Elastic File System // // * FSX for Amazon FSx // // * RDS for Amazon Relational Database Service // // * Storage Gateway for Storage Gateway // // * DocDB for Amazon DocumentDB (with MongoDB compatibility) // // * Neptune for Amazon Neptune ResourceTypes []*string `type:"list"` // contains filtered or unexported fields }
func (GetSupportedResourceTypesOutput) GoString ¶
func (s GetSupportedResourceTypesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetSupportedResourceTypesOutput) SetResourceTypes ¶
func (s *GetSupportedResourceTypesOutput) SetResourceTypes(v []*string) *GetSupportedResourceTypesOutput
SetResourceTypes sets the ResourceTypes field's value.
func (GetSupportedResourceTypesOutput) String ¶
func (s GetSupportedResourceTypesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidParameterValueException ¶ added in v1.28.0
type InvalidParameterValueException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Indicates that something is wrong with a parameter's value. For example, the value is out of range.
func (*InvalidParameterValueException) Code ¶ added in v1.28.0
func (s *InvalidParameterValueException) Code() string
Code returns the exception type name.
func (*InvalidParameterValueException) Error ¶ added in v1.28.0
func (s *InvalidParameterValueException) Error() string
func (InvalidParameterValueException) GoString ¶ added in v1.28.0
func (s InvalidParameterValueException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidParameterValueException) Message ¶ added in v1.28.0
func (s *InvalidParameterValueException) Message() string
Message returns the exception's message.
func (*InvalidParameterValueException) OrigErr ¶ added in v1.28.0
func (s *InvalidParameterValueException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterValueException) RequestID ¶ added in v1.28.0
func (s *InvalidParameterValueException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterValueException) StatusCode ¶ added in v1.28.0
func (s *InvalidParameterValueException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterValueException) String ¶ added in v1.28.0
func (s InvalidParameterValueException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidRequestException ¶ added in v1.28.0
type InvalidRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
func (*InvalidRequestException) Code ¶ added in v1.28.0
func (s *InvalidRequestException) Code() string
Code returns the exception type name.
func (*InvalidRequestException) Error ¶ added in v1.28.0
func (s *InvalidRequestException) Error() string
func (InvalidRequestException) GoString ¶ added in v1.28.0
func (s InvalidRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidRequestException) Message ¶ added in v1.28.0
func (s *InvalidRequestException) Message() string
Message returns the exception's message.
func (*InvalidRequestException) OrigErr ¶ added in v1.28.0
func (s *InvalidRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidRequestException) RequestID ¶ added in v1.28.0
func (s *InvalidRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidRequestException) StatusCode ¶ added in v1.28.0
func (s *InvalidRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidRequestException) String ¶ added in v1.28.0
func (s InvalidRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidResourceStateException ¶ added in v1.37.28
type InvalidResourceStateException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
func (*InvalidResourceStateException) Code ¶ added in v1.37.28
func (s *InvalidResourceStateException) Code() string
Code returns the exception type name.
func (*InvalidResourceStateException) Error ¶ added in v1.37.28
func (s *InvalidResourceStateException) Error() string
func (InvalidResourceStateException) GoString ¶ added in v1.37.28
func (s InvalidResourceStateException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidResourceStateException) Message ¶ added in v1.37.28
func (s *InvalidResourceStateException) Message() string
Message returns the exception's message.
func (*InvalidResourceStateException) OrigErr ¶ added in v1.37.28
func (s *InvalidResourceStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidResourceStateException) RequestID ¶ added in v1.37.28
func (s *InvalidResourceStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidResourceStateException) StatusCode ¶ added in v1.37.28
func (s *InvalidResourceStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidResourceStateException) String ¶ added in v1.37.28
func (s InvalidResourceStateException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Job ¶
type Job struct { // The account ID that owns the backup job. AccountId *string `type:"string"` // Uniquely identifies a request to Backup to back up a resource. BackupJobId *string `type:"string"` // Specifies the backup option for a selected resource. This option is only // available for Windows Volume Shadow Copy Service (VSS) backup jobs. // // Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup // option and create a Windows VSS backup. Set to "WindowsVSS":"disabled" to // create a regular backup. If you specify an invalid option, you get an InvalidParameterValueException // exception. BackupOptions map[string]*string `type:"map"` // The size, in bytes, of a backup. BackupSizeInBytes *int64 `type:"long"` // Represents the type of backup for a backup job. BackupType *string `type:"string"` // 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 Amazon Web Services 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. IAM // roles other than the default role must include either AWSBackup or AwsBackup // in the role name. For example, arn:aws:iam::123456789012:role/AWSBackupRDSAccess. // Role names without those strings lack permissions to perform backup jobs. 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 Amazon Web Services resource to be backed up; for example, an // Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database // Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) // backups, the only supported resource type is Amazon EC2. 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 ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Job) SetAccountId ¶ added in v1.32.9
SetAccountId sets the AccountId field's value.
func (*Job) SetBackupJobId ¶
SetBackupJobId sets the BackupJobId field's value.
func (*Job) SetBackupOptions ¶ added in v1.34.30
SetBackupOptions sets the BackupOptions field's value.
func (*Job) SetBackupSizeInBytes ¶
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*Job) SetBackupType ¶ added in v1.34.30
SetBackupType sets the BackupType field's value.
func (*Job) SetBackupVaultArn ¶
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*Job) SetBackupVaultName ¶
SetBackupVaultName sets the BackupVaultName field's value.
func (*Job) SetBytesTransferred ¶
SetBytesTransferred sets the BytesTransferred field's value.
func (*Job) SetCompletionDate ¶
SetCompletionDate sets the CompletionDate field's value.
func (*Job) SetCreatedBy ¶
func (s *Job) SetCreatedBy(v *RecoveryPointCreator) *Job
SetCreatedBy sets the CreatedBy field's value.
func (*Job) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Job) SetExpectedCompletionDate ¶
SetExpectedCompletionDate sets the ExpectedCompletionDate field's value.
func (*Job) SetIamRoleArn ¶
SetIamRoleArn sets the IamRoleArn field's value.
func (*Job) SetPercentDone ¶
SetPercentDone sets the PercentDone field's value.
func (*Job) SetRecoveryPointArn ¶
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*Job) SetResourceArn ¶
SetResourceArn sets the ResourceArn field's value.
func (*Job) SetResourceType ¶
SetResourceType sets the ResourceType field's value.
func (*Job) SetStartBy ¶
SetStartBy sets the StartBy field's value.
func (*Job) SetStatusMessage ¶
SetStatusMessage sets the StatusMessage field's value.
type Lifecycle ¶
type Lifecycle struct { // Specifies the number of days after creation that a recovery point is deleted. // Must be greater than 90 days plus 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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “retention” 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.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the "Full Backup management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) table. Backup ignores this expression for other resource types.
func (Lifecycle) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Lifecycle) SetDeleteAfterDays ¶
SetDeleteAfterDays sets the DeleteAfterDays field's value.
func (*Lifecycle) SetMoveToColdStorageAfterDays ¶
SetMoveToColdStorageAfterDays sets the MoveToColdStorageAfterDays field's value.
type LimitExceededException ¶ added in v1.28.0
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
func (*LimitExceededException) Code ¶ added in v1.28.0
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶ added in v1.28.0
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶ added in v1.28.0
func (s LimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LimitExceededException) Message ¶ added in v1.28.0
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶ added in v1.28.0
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶ added in v1.28.0
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶ added in v1.28.0
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶ added in v1.28.0
func (s LimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBackupJobsInput ¶
type ListBackupJobsInput struct { // The account ID to list the jobs from. Returns only backup jobs associated // with the specified account ID. // // If used from an Organizations management account, passing * returns all jobs // across the organization. ByAccountId *string `location:"querystring" locationName:"accountId" type:"string"` // 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 Amazon Web Services 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 completed after a date expressed in Unix format // and Coordinated Universal Time (UTC). ByCompleteAfter *time.Time `location:"querystring" locationName:"completeAfter" type:"timestamp"` // Returns only backup jobs completed before a date expressed in Unix format // and Coordinated Universal Time (UTC). ByCompleteBefore *time.Time `location:"querystring" locationName:"completeBefore" type:"timestamp"` // 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: // // * Aurora for Amazon Aurora // // * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) // // * DynamoDB for Amazon DynamoDB // // * EBS for Amazon Elastic Block Store // // * EC2 for Amazon Elastic Compute Cloud // // * EFS for Amazon Elastic File System // // * FSx for Amazon FSx // // * Neptune for Amazon Neptune // // * RDS for Amazon Relational Database Service // // * Storage Gateway for Storage Gateway // // * S3 for Amazon S3 // // * VirtualMachine for virtual machines 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 ¶
func (s ListBackupJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupJobsInput) SetByAccountId ¶ added in v1.32.9
func (s *ListBackupJobsInput) SetByAccountId(v string) *ListBackupJobsInput
SetByAccountId sets the ByAccountId field's value.
func (*ListBackupJobsInput) SetByBackupVaultName ¶
func (s *ListBackupJobsInput) SetByBackupVaultName(v string) *ListBackupJobsInput
SetByBackupVaultName sets the ByBackupVaultName field's value.
func (*ListBackupJobsInput) SetByCompleteAfter ¶ added in v1.44.7
func (s *ListBackupJobsInput) SetByCompleteAfter(v time.Time) *ListBackupJobsInput
SetByCompleteAfter sets the ByCompleteAfter field's value.
func (*ListBackupJobsInput) SetByCompleteBefore ¶ added in v1.44.7
func (s *ListBackupJobsInput) SetByCompleteBefore(v time.Time) *ListBackupJobsInput
SetByCompleteBefore sets the ByCompleteBefore field's value.
func (*ListBackupJobsInput) SetByCreatedAfter ¶
func (s *ListBackupJobsInput) SetByCreatedAfter(v time.Time) *ListBackupJobsInput
SetByCreatedAfter sets the ByCreatedAfter field's value.
func (*ListBackupJobsInput) SetByCreatedBefore ¶
func (s *ListBackupJobsInput) SetByCreatedBefore(v time.Time) *ListBackupJobsInput
SetByCreatedBefore sets the ByCreatedBefore field's value.
func (*ListBackupJobsInput) SetByResourceArn ¶
func (s *ListBackupJobsInput) SetByResourceArn(v string) *ListBackupJobsInput
SetByResourceArn sets the ByResourceArn field's value.
func (*ListBackupJobsInput) SetByResourceType ¶
func (s *ListBackupJobsInput) SetByResourceType(v string) *ListBackupJobsInput
SetByResourceType sets the ByResourceType field's value.
func (*ListBackupJobsInput) SetByState ¶
func (s *ListBackupJobsInput) SetByState(v string) *ListBackupJobsInput
SetByState sets the ByState field's value.
func (*ListBackupJobsInput) SetMaxResults ¶
func (s *ListBackupJobsInput) SetMaxResults(v int64) *ListBackupJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListBackupJobsInput) SetNextToken ¶
func (s *ListBackupJobsInput) SetNextToken(v string) *ListBackupJobsInput
SetNextToken sets the NextToken field's value.
func (ListBackupJobsInput) String ¶
func (s ListBackupJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupJobsInput) Validate ¶
func (s *ListBackupJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBackupJobsOutput ¶
type ListBackupJobsOutput struct { // An array of structures containing metadata about your backup jobs returned // in JSON format. BackupJobs []*Job `type:"list"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListBackupJobsOutput) GoString ¶
func (s ListBackupJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupJobsOutput) SetBackupJobs ¶
func (s *ListBackupJobsOutput) SetBackupJobs(v []*Job) *ListBackupJobsOutput
SetBackupJobs sets the BackupJobs field's value.
func (*ListBackupJobsOutput) SetNextToken ¶
func (s *ListBackupJobsOutput) SetNextToken(v string) *ListBackupJobsOutput
SetNextToken sets the NextToken field's value.
func (ListBackupJobsOutput) String ¶
func (s ListBackupJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBackupPlanTemplatesInput ¶
type ListBackupPlanTemplatesInput struct { // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBackupPlanTemplatesInput) GoString ¶
func (s ListBackupPlanTemplatesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlanTemplatesInput) SetMaxResults ¶
func (s *ListBackupPlanTemplatesInput) SetMaxResults(v int64) *ListBackupPlanTemplatesInput
SetMaxResults sets the MaxResults field's value.
func (*ListBackupPlanTemplatesInput) SetNextToken ¶
func (s *ListBackupPlanTemplatesInput) SetNextToken(v string) *ListBackupPlanTemplatesInput
SetNextToken sets the NextToken field's value.
func (ListBackupPlanTemplatesInput) String ¶
func (s ListBackupPlanTemplatesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlanTemplatesInput) Validate ¶
func (s *ListBackupPlanTemplatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBackupPlanTemplatesOutput ¶
type ListBackupPlanTemplatesOutput struct { // An array of template list items containing metadata about your saved templates. BackupPlanTemplatesList []*PlanTemplatesListMember `type:"list"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListBackupPlanTemplatesOutput) GoString ¶
func (s ListBackupPlanTemplatesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlanTemplatesOutput) SetBackupPlanTemplatesList ¶
func (s *ListBackupPlanTemplatesOutput) SetBackupPlanTemplatesList(v []*PlanTemplatesListMember) *ListBackupPlanTemplatesOutput
SetBackupPlanTemplatesList sets the BackupPlanTemplatesList field's value.
func (*ListBackupPlanTemplatesOutput) SetNextToken ¶
func (s *ListBackupPlanTemplatesOutput) SetNextToken(v string) *ListBackupPlanTemplatesOutput
SetNextToken sets the NextToken field's value.
func (ListBackupPlanTemplatesOutput) String ¶
func (s ListBackupPlanTemplatesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBackupPlanVersionsInput ¶
type ListBackupPlanVersionsInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBackupPlanVersionsInput) GoString ¶
func (s ListBackupPlanVersionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlanVersionsInput) SetBackupPlanId ¶
func (s *ListBackupPlanVersionsInput) SetBackupPlanId(v string) *ListBackupPlanVersionsInput
SetBackupPlanId sets the BackupPlanId field's value.
func (*ListBackupPlanVersionsInput) SetMaxResults ¶
func (s *ListBackupPlanVersionsInput) SetMaxResults(v int64) *ListBackupPlanVersionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListBackupPlanVersionsInput) SetNextToken ¶
func (s *ListBackupPlanVersionsInput) SetNextToken(v string) *ListBackupPlanVersionsInput
SetNextToken sets the NextToken field's value.
func (ListBackupPlanVersionsInput) String ¶
func (s ListBackupPlanVersionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlanVersionsInput) Validate ¶
func (s *ListBackupPlanVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBackupPlanVersionsOutput ¶
type ListBackupPlanVersionsOutput struct { // An array of version list items containing metadata about your backup plans. BackupPlanVersionsList []*PlansListMember `type:"list"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListBackupPlanVersionsOutput) GoString ¶
func (s ListBackupPlanVersionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlanVersionsOutput) SetBackupPlanVersionsList ¶
func (s *ListBackupPlanVersionsOutput) SetBackupPlanVersionsList(v []*PlansListMember) *ListBackupPlanVersionsOutput
SetBackupPlanVersionsList sets the BackupPlanVersionsList field's value.
func (*ListBackupPlanVersionsOutput) SetNextToken ¶
func (s *ListBackupPlanVersionsOutput) SetNextToken(v string) *ListBackupPlanVersionsOutput
SetNextToken sets the NextToken field's value.
func (ListBackupPlanVersionsOutput) String ¶
func (s ListBackupPlanVersionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBackupPlansInput ¶
type ListBackupPlansInput struct { // A Boolean value with a default value of FALSE that returns deleted backup // plans when set to TRUE. IncludeDeleted *bool `location:"querystring" locationName:"includeDeleted" type:"boolean"` // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBackupPlansInput) GoString ¶
func (s ListBackupPlansInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlansInput) SetIncludeDeleted ¶
func (s *ListBackupPlansInput) SetIncludeDeleted(v bool) *ListBackupPlansInput
SetIncludeDeleted sets the IncludeDeleted field's value.
func (*ListBackupPlansInput) SetMaxResults ¶
func (s *ListBackupPlansInput) SetMaxResults(v int64) *ListBackupPlansInput
SetMaxResults sets the MaxResults field's value.
func (*ListBackupPlansInput) SetNextToken ¶
func (s *ListBackupPlansInput) SetNextToken(v string) *ListBackupPlansInput
SetNextToken sets the NextToken field's value.
func (ListBackupPlansInput) String ¶
func (s ListBackupPlansInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlansInput) Validate ¶
func (s *ListBackupPlansInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBackupPlansOutput ¶
type ListBackupPlansOutput struct { // An array of backup plan list items containing metadata about your saved backup // plans. BackupPlansList []*PlansListMember `type:"list"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListBackupPlansOutput) GoString ¶
func (s ListBackupPlansOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupPlansOutput) SetBackupPlansList ¶
func (s *ListBackupPlansOutput) SetBackupPlansList(v []*PlansListMember) *ListBackupPlansOutput
SetBackupPlansList sets the BackupPlansList field's value.
func (*ListBackupPlansOutput) SetNextToken ¶
func (s *ListBackupPlansOutput) SetNextToken(v string) *ListBackupPlansOutput
SetNextToken sets the NextToken field's value.
func (ListBackupPlansOutput) String ¶
func (s ListBackupPlansOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBackupSelectionsInput ¶
type ListBackupSelectionsInput struct { // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBackupSelectionsInput) GoString ¶
func (s ListBackupSelectionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupSelectionsInput) SetBackupPlanId ¶
func (s *ListBackupSelectionsInput) SetBackupPlanId(v string) *ListBackupSelectionsInput
SetBackupPlanId sets the BackupPlanId field's value.
func (*ListBackupSelectionsInput) SetMaxResults ¶
func (s *ListBackupSelectionsInput) SetMaxResults(v int64) *ListBackupSelectionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListBackupSelectionsInput) SetNextToken ¶
func (s *ListBackupSelectionsInput) SetNextToken(v string) *ListBackupSelectionsInput
SetNextToken sets the NextToken field's value.
func (ListBackupSelectionsInput) String ¶
func (s ListBackupSelectionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupSelectionsInput) Validate ¶
func (s *ListBackupSelectionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBackupSelectionsOutput ¶
type ListBackupSelectionsOutput struct { // An array of backup selection list items containing metadata about each resource // in the list. BackupSelectionsList []*SelectionsListMember `type:"list"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListBackupSelectionsOutput) GoString ¶
func (s ListBackupSelectionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupSelectionsOutput) SetBackupSelectionsList ¶
func (s *ListBackupSelectionsOutput) SetBackupSelectionsList(v []*SelectionsListMember) *ListBackupSelectionsOutput
SetBackupSelectionsList sets the BackupSelectionsList field's value.
func (*ListBackupSelectionsOutput) SetNextToken ¶
func (s *ListBackupSelectionsOutput) SetNextToken(v string) *ListBackupSelectionsOutput
SetNextToken sets the NextToken field's value.
func (ListBackupSelectionsOutput) String ¶
func (s ListBackupSelectionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBackupVaultsInput ¶
type ListBackupVaultsInput struct { // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBackupVaultsInput) GoString ¶
func (s ListBackupVaultsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupVaultsInput) SetMaxResults ¶
func (s *ListBackupVaultsInput) SetMaxResults(v int64) *ListBackupVaultsInput
SetMaxResults sets the MaxResults field's value.
func (*ListBackupVaultsInput) SetNextToken ¶
func (s *ListBackupVaultsInput) SetNextToken(v string) *ListBackupVaultsInput
SetNextToken sets the NextToken field's value.
func (ListBackupVaultsInput) String ¶
func (s ListBackupVaultsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupVaultsInput) Validate ¶
func (s *ListBackupVaultsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBackupVaultsOutput ¶
type ListBackupVaultsOutput struct { // An array of backup vault list members containing vault metadata, including // Amazon Resource Name (ARN), display name, creation date, number of saved // recovery points, and encryption information if the resources saved in the // backup vault are encrypted. BackupVaultList []*VaultListMember `type:"list"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListBackupVaultsOutput) GoString ¶
func (s ListBackupVaultsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBackupVaultsOutput) SetBackupVaultList ¶
func (s *ListBackupVaultsOutput) SetBackupVaultList(v []*VaultListMember) *ListBackupVaultsOutput
SetBackupVaultList sets the BackupVaultList field's value.
func (*ListBackupVaultsOutput) SetNextToken ¶
func (s *ListBackupVaultsOutput) SetNextToken(v string) *ListBackupVaultsOutput
SetNextToken sets the NextToken field's value.
func (ListBackupVaultsOutput) String ¶
func (s ListBackupVaultsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCopyJobsInput ¶ added in v1.28.1
type ListCopyJobsInput struct { // The account ID to list the jobs from. Returns only copy jobs associated with // the specified account ID. ByAccountId *string `location:"querystring" locationName:"accountId" type:"string"` // Returns only copy jobs completed after a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteAfter *time.Time `location:"querystring" locationName:"completeAfter" type:"timestamp"` // Returns only copy jobs completed before a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteBefore *time.Time `location:"querystring" locationName:"completeBefore" type:"timestamp"` // Returns only copy jobs that were created after the specified date. ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` // Returns only copy jobs that were created before the specified date. ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` // An Amazon Resource Name (ARN) that uniquely identifies a source backup vault // to copy from; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. ByDestinationVaultArn *string `location:"querystring" locationName:"destinationVaultArn" type:"string"` // Returns only copy 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: // // * Aurora for Amazon Aurora // // * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) // // * DynamoDB for Amazon DynamoDB // // * EBS for Amazon Elastic Block Store // // * EC2 for Amazon Elastic Compute Cloud // // * EFS for Amazon Elastic File System // // * FSx for Amazon FSx // // * Neptune for Amazon Neptune // // * RDS for Amazon Relational Database Service // // * Storage Gateway for Storage Gateway // // * S3 for Amazon S3 // // * VirtualMachine for virtual machines ByResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` // Returns only copy jobs that are in the specified state. ByState *string `location:"querystring" locationName:"state" type:"string" enum:"CopyJobState"` // 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 (ListCopyJobsInput) GoString ¶ added in v1.28.1
func (s ListCopyJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCopyJobsInput) SetByAccountId ¶ added in v1.32.9
func (s *ListCopyJobsInput) SetByAccountId(v string) *ListCopyJobsInput
SetByAccountId sets the ByAccountId field's value.
func (*ListCopyJobsInput) SetByCompleteAfter ¶ added in v1.44.7
func (s *ListCopyJobsInput) SetByCompleteAfter(v time.Time) *ListCopyJobsInput
SetByCompleteAfter sets the ByCompleteAfter field's value.
func (*ListCopyJobsInput) SetByCompleteBefore ¶ added in v1.44.7
func (s *ListCopyJobsInput) SetByCompleteBefore(v time.Time) *ListCopyJobsInput
SetByCompleteBefore sets the ByCompleteBefore field's value.
func (*ListCopyJobsInput) SetByCreatedAfter ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetByCreatedAfter(v time.Time) *ListCopyJobsInput
SetByCreatedAfter sets the ByCreatedAfter field's value.
func (*ListCopyJobsInput) SetByCreatedBefore ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetByCreatedBefore(v time.Time) *ListCopyJobsInput
SetByCreatedBefore sets the ByCreatedBefore field's value.
func (*ListCopyJobsInput) SetByDestinationVaultArn ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetByDestinationVaultArn(v string) *ListCopyJobsInput
SetByDestinationVaultArn sets the ByDestinationVaultArn field's value.
func (*ListCopyJobsInput) SetByResourceArn ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetByResourceArn(v string) *ListCopyJobsInput
SetByResourceArn sets the ByResourceArn field's value.
func (*ListCopyJobsInput) SetByResourceType ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetByResourceType(v string) *ListCopyJobsInput
SetByResourceType sets the ByResourceType field's value.
func (*ListCopyJobsInput) SetByState ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetByState(v string) *ListCopyJobsInput
SetByState sets the ByState field's value.
func (*ListCopyJobsInput) SetMaxResults ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetMaxResults(v int64) *ListCopyJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListCopyJobsInput) SetNextToken ¶ added in v1.28.1
func (s *ListCopyJobsInput) SetNextToken(v string) *ListCopyJobsInput
SetNextToken sets the NextToken field's value.
func (ListCopyJobsInput) String ¶ added in v1.28.1
func (s ListCopyJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCopyJobsInput) Validate ¶ added in v1.28.1
func (s *ListCopyJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCopyJobsOutput ¶ added in v1.28.1
type ListCopyJobsOutput struct { // An array of structures containing metadata about your copy jobs returned // in JSON format. CopyJobs []*CopyJob `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 (ListCopyJobsOutput) GoString ¶ added in v1.28.1
func (s ListCopyJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCopyJobsOutput) SetCopyJobs ¶ added in v1.28.1
func (s *ListCopyJobsOutput) SetCopyJobs(v []*CopyJob) *ListCopyJobsOutput
SetCopyJobs sets the CopyJobs field's value.
func (*ListCopyJobsOutput) SetNextToken ¶ added in v1.28.1
func (s *ListCopyJobsOutput) SetNextToken(v string) *ListCopyJobsOutput
SetNextToken sets the NextToken field's value.
func (ListCopyJobsOutput) String ¶ added in v1.28.1
func (s ListCopyJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFrameworksInput ¶ added in v1.40.28
type ListFrameworksInput struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // contains filtered or unexported fields }
func (ListFrameworksInput) GoString ¶ added in v1.40.28
func (s ListFrameworksInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFrameworksInput) SetMaxResults ¶ added in v1.40.28
func (s *ListFrameworksInput) SetMaxResults(v int64) *ListFrameworksInput
SetMaxResults sets the MaxResults field's value.
func (*ListFrameworksInput) SetNextToken ¶ added in v1.40.28
func (s *ListFrameworksInput) SetNextToken(v string) *ListFrameworksInput
SetNextToken sets the NextToken field's value.
func (ListFrameworksInput) String ¶ added in v1.40.28
func (s ListFrameworksInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFrameworksInput) Validate ¶ added in v1.40.28
func (s *ListFrameworksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFrameworksOutput ¶ added in v1.40.28
type ListFrameworksOutput struct { // A list of frameworks with details for each framework, including the framework // name, Amazon Resource Name (ARN), description, number of controls, creation // time, and deployment status. Frameworks []*Framework `type:"list"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListFrameworksOutput) GoString ¶ added in v1.40.28
func (s ListFrameworksOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFrameworksOutput) SetFrameworks ¶ added in v1.40.28
func (s *ListFrameworksOutput) SetFrameworks(v []*Framework) *ListFrameworksOutput
SetFrameworks sets the Frameworks field's value.
func (*ListFrameworksOutput) SetNextToken ¶ added in v1.40.28
func (s *ListFrameworksOutput) SetNextToken(v string) *ListFrameworksOutput
SetNextToken sets the NextToken field's value.
func (ListFrameworksOutput) String ¶ added in v1.40.28
func (s ListFrameworksOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProtectedResourcesInput ¶
type ListProtectedResourcesInput struct { // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListProtectedResourcesInput) GoString ¶
func (s ListProtectedResourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProtectedResourcesInput) SetMaxResults ¶
func (s *ListProtectedResourcesInput) SetMaxResults(v int64) *ListProtectedResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListProtectedResourcesInput) SetNextToken ¶
func (s *ListProtectedResourcesInput) SetNextToken(v string) *ListProtectedResourcesInput
SetNextToken sets the NextToken field's value.
func (ListProtectedResourcesInput) String ¶
func (s ListProtectedResourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProtectedResourcesInput) Validate ¶
func (s *ListProtectedResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProtectedResourcesOutput ¶
type ListProtectedResourcesOutput struct { // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // An array of resources successfully backed up by 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 ¶
func (s ListProtectedResourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProtectedResourcesOutput) SetNextToken ¶
func (s *ListProtectedResourcesOutput) SetNextToken(v string) *ListProtectedResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListProtectedResourcesOutput) SetResults ¶
func (s *ListProtectedResourcesOutput) SetResults(v []*ProtectedResource) *ListProtectedResourcesOutput
SetResults sets the Results field's value.
func (ListProtectedResourcesOutput) String ¶
func (s ListProtectedResourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRecoveryPointsByBackupVaultInput ¶
type ListRecoveryPointsByBackupVaultInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. // // Backup vault name might not be available when a supported service creates // the backup. // // 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 ¶
func (s ListRecoveryPointsByBackupVaultInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsByBackupVaultInput) SetBackupVaultName ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetBackupVaultName(v string) *ListRecoveryPointsByBackupVaultInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetByBackupPlanId ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetByBackupPlanId(v string) *ListRecoveryPointsByBackupVaultInput
SetByBackupPlanId sets the ByBackupPlanId field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetByCreatedAfter ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetByCreatedAfter(v time.Time) *ListRecoveryPointsByBackupVaultInput
SetByCreatedAfter sets the ByCreatedAfter field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetByCreatedBefore ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetByCreatedBefore(v time.Time) *ListRecoveryPointsByBackupVaultInput
SetByCreatedBefore sets the ByCreatedBefore field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetByResourceArn ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetByResourceArn(v string) *ListRecoveryPointsByBackupVaultInput
SetByResourceArn sets the ByResourceArn field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetByResourceType ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetByResourceType(v string) *ListRecoveryPointsByBackupVaultInput
SetByResourceType sets the ByResourceType field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetMaxResults ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetMaxResults(v int64) *ListRecoveryPointsByBackupVaultInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecoveryPointsByBackupVaultInput) SetNextToken ¶
func (s *ListRecoveryPointsByBackupVaultInput) SetNextToken(v string) *ListRecoveryPointsByBackupVaultInput
SetNextToken sets the NextToken field's value.
func (ListRecoveryPointsByBackupVaultInput) String ¶
func (s ListRecoveryPointsByBackupVaultInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsByBackupVaultInput) Validate ¶
func (s *ListRecoveryPointsByBackupVaultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRecoveryPointsByBackupVaultOutput ¶
type ListRecoveryPointsByBackupVaultOutput struct { // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // An array of objects that contain detailed information about recovery points // saved in a backup vault. RecoveryPoints []*RecoveryPointByBackupVault `type:"list"` // contains filtered or unexported fields }
func (ListRecoveryPointsByBackupVaultOutput) GoString ¶
func (s ListRecoveryPointsByBackupVaultOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsByBackupVaultOutput) SetNextToken ¶
func (s *ListRecoveryPointsByBackupVaultOutput) SetNextToken(v string) *ListRecoveryPointsByBackupVaultOutput
SetNextToken sets the NextToken field's value.
func (*ListRecoveryPointsByBackupVaultOutput) SetRecoveryPoints ¶
func (s *ListRecoveryPointsByBackupVaultOutput) SetRecoveryPoints(v []*RecoveryPointByBackupVault) *ListRecoveryPointsByBackupVaultOutput
SetRecoveryPoints sets the RecoveryPoints field's value.
func (ListRecoveryPointsByBackupVaultOutput) String ¶
func (s ListRecoveryPointsByBackupVaultOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRecoveryPointsByResourceInput ¶
type ListRecoveryPointsByResourceInput struct { // The maximum number of items to be returned. // // Amazon RDS requires a value of at least 20. 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 ¶
func (s ListRecoveryPointsByResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsByResourceInput) SetMaxResults ¶
func (s *ListRecoveryPointsByResourceInput) SetMaxResults(v int64) *ListRecoveryPointsByResourceInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecoveryPointsByResourceInput) SetNextToken ¶
func (s *ListRecoveryPointsByResourceInput) SetNextToken(v string) *ListRecoveryPointsByResourceInput
SetNextToken sets the NextToken field's value.
func (*ListRecoveryPointsByResourceInput) SetResourceArn ¶
func (s *ListRecoveryPointsByResourceInput) SetResourceArn(v string) *ListRecoveryPointsByResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListRecoveryPointsByResourceInput) String ¶
func (s ListRecoveryPointsByResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsByResourceInput) Validate ¶
func (s *ListRecoveryPointsByResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRecoveryPointsByResourceOutput ¶
type ListRecoveryPointsByResourceOutput struct { // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // An array of objects that contain detailed information about recovery points // of the specified resource type. // // Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName. RecoveryPoints []*RecoveryPointByResource `type:"list"` // contains filtered or unexported fields }
func (ListRecoveryPointsByResourceOutput) GoString ¶
func (s ListRecoveryPointsByResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecoveryPointsByResourceOutput) SetNextToken ¶
func (s *ListRecoveryPointsByResourceOutput) SetNextToken(v string) *ListRecoveryPointsByResourceOutput
SetNextToken sets the NextToken field's value.
func (*ListRecoveryPointsByResourceOutput) SetRecoveryPoints ¶
func (s *ListRecoveryPointsByResourceOutput) SetRecoveryPoints(v []*RecoveryPointByResource) *ListRecoveryPointsByResourceOutput
SetRecoveryPoints sets the RecoveryPoints field's value.
func (ListRecoveryPointsByResourceOutput) String ¶
func (s ListRecoveryPointsByResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListReportJobsInput ¶ added in v1.40.28
type ListReportJobsInput struct { // Returns only report jobs that were created after the date and time specified // in Unix format and Coordinated Universal Time (UTC). For example, the value // 1516925490 represents Friday, January 26, 2018 12:11:30 AM. ByCreationAfter *time.Time `location:"querystring" locationName:"CreationAfter" type:"timestamp"` // Returns only report jobs that were created before the date and time specified // in Unix format and Coordinated Universal Time (UTC). For example, the value // 1516925490 represents Friday, January 26, 2018 12:11:30 AM. ByCreationBefore *time.Time `location:"querystring" locationName:"CreationBefore" type:"timestamp"` // Returns only report jobs with the specified report plan name. ByReportPlanName *string `location:"querystring" locationName:"ReportPlanName" min:"1" type:"string"` // Returns only report jobs that are in the specified status. The statuses are: // // CREATED | RUNNING | COMPLETED | FAILED ByStatus *string `location:"querystring" locationName:"Status" type:"string"` // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // contains filtered or unexported fields }
func (ListReportJobsInput) GoString ¶ added in v1.40.28
func (s ListReportJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListReportJobsInput) SetByCreationAfter ¶ added in v1.40.28
func (s *ListReportJobsInput) SetByCreationAfter(v time.Time) *ListReportJobsInput
SetByCreationAfter sets the ByCreationAfter field's value.
func (*ListReportJobsInput) SetByCreationBefore ¶ added in v1.40.28
func (s *ListReportJobsInput) SetByCreationBefore(v time.Time) *ListReportJobsInput
SetByCreationBefore sets the ByCreationBefore field's value.
func (*ListReportJobsInput) SetByReportPlanName ¶ added in v1.40.28
func (s *ListReportJobsInput) SetByReportPlanName(v string) *ListReportJobsInput
SetByReportPlanName sets the ByReportPlanName field's value.
func (*ListReportJobsInput) SetByStatus ¶ added in v1.40.28
func (s *ListReportJobsInput) SetByStatus(v string) *ListReportJobsInput
SetByStatus sets the ByStatus field's value.
func (*ListReportJobsInput) SetMaxResults ¶ added in v1.40.28
func (s *ListReportJobsInput) SetMaxResults(v int64) *ListReportJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListReportJobsInput) SetNextToken ¶ added in v1.40.28
func (s *ListReportJobsInput) SetNextToken(v string) *ListReportJobsInput
SetNextToken sets the NextToken field's value.
func (ListReportJobsInput) String ¶ added in v1.40.28
func (s ListReportJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListReportJobsInput) Validate ¶ added in v1.40.28
func (s *ListReportJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListReportJobsOutput ¶ added in v1.40.28
type ListReportJobsOutput struct { // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `type:"string"` // Details about your report jobs in JSON format. ReportJobs []*ReportJob `type:"list"` // contains filtered or unexported fields }
func (ListReportJobsOutput) GoString ¶ added in v1.40.28
func (s ListReportJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListReportJobsOutput) SetNextToken ¶ added in v1.40.28
func (s *ListReportJobsOutput) SetNextToken(v string) *ListReportJobsOutput
SetNextToken sets the NextToken field's value.
func (*ListReportJobsOutput) SetReportJobs ¶ added in v1.40.28
func (s *ListReportJobsOutput) SetReportJobs(v []*ReportJob) *ListReportJobsOutput
SetReportJobs sets the ReportJobs field's value.
func (ListReportJobsOutput) String ¶ added in v1.40.28
func (s ListReportJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListReportPlansInput ¶ added in v1.40.28
type ListReportPlansInput struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // contains filtered or unexported fields }
func (ListReportPlansInput) GoString ¶ added in v1.40.28
func (s ListReportPlansInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListReportPlansInput) SetMaxResults ¶ added in v1.40.28
func (s *ListReportPlansInput) SetMaxResults(v int64) *ListReportPlansInput
SetMaxResults sets the MaxResults field's value.
func (*ListReportPlansInput) SetNextToken ¶ added in v1.40.28
func (s *ListReportPlansInput) SetNextToken(v string) *ListReportPlansInput
SetNextToken sets the NextToken field's value.
func (ListReportPlansInput) String ¶ added in v1.40.28
func (s ListReportPlansInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListReportPlansInput) Validate ¶ added in v1.40.28
func (s *ListReportPlansInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListReportPlansOutput ¶ added in v1.40.28
type ListReportPlansOutput struct { // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `type:"string"` // A list of your report plans with detailed information for each plan. This // information includes the Amazon Resource Name (ARN), report plan name, description, // settings, delivery channel, deployment status, creation time, and last times // the report plan attempted to and successfully ran. ReportPlans []*ReportPlan `type:"list"` // contains filtered or unexported fields }
func (ListReportPlansOutput) GoString ¶ added in v1.40.28
func (s ListReportPlansOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListReportPlansOutput) SetNextToken ¶ added in v1.40.28
func (s *ListReportPlansOutput) SetNextToken(v string) *ListReportPlansOutput
SetNextToken sets the NextToken field's value.
func (*ListReportPlansOutput) SetReportPlans ¶ added in v1.40.28
func (s *ListReportPlansOutput) SetReportPlans(v []*ReportPlan) *ListReportPlansOutput
SetReportPlans sets the ReportPlans field's value.
func (ListReportPlansOutput) String ¶ added in v1.40.28
func (s ListReportPlansOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRestoreJobsInput ¶
type ListRestoreJobsInput struct { // The account ID to list the jobs from. Returns only restore jobs associated // with the specified account ID. ByAccountId *string `location:"querystring" locationName:"accountId" type:"string"` // Returns only copy jobs completed after a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteAfter *time.Time `location:"querystring" locationName:"completeAfter" type:"timestamp"` // Returns only copy jobs completed before a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteBefore *time.Time `location:"querystring" locationName:"completeBefore" type:"timestamp"` // Returns only restore jobs that were created after the specified date. ByCreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` // Returns only restore jobs that were created before the specified date. ByCreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` // Returns only restore jobs associated with the specified job status. ByStatus *string `location:"querystring" locationName:"status" type:"string" enum:"RestoreJobStatus"` // 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 ¶
func (s ListRestoreJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRestoreJobsInput) SetByAccountId ¶ added in v1.32.9
func (s *ListRestoreJobsInput) SetByAccountId(v string) *ListRestoreJobsInput
SetByAccountId sets the ByAccountId field's value.
func (*ListRestoreJobsInput) SetByCompleteAfter ¶ added in v1.44.7
func (s *ListRestoreJobsInput) SetByCompleteAfter(v time.Time) *ListRestoreJobsInput
SetByCompleteAfter sets the ByCompleteAfter field's value.
func (*ListRestoreJobsInput) SetByCompleteBefore ¶ added in v1.44.7
func (s *ListRestoreJobsInput) SetByCompleteBefore(v time.Time) *ListRestoreJobsInput
SetByCompleteBefore sets the ByCompleteBefore field's value.
func (*ListRestoreJobsInput) SetByCreatedAfter ¶ added in v1.32.9
func (s *ListRestoreJobsInput) SetByCreatedAfter(v time.Time) *ListRestoreJobsInput
SetByCreatedAfter sets the ByCreatedAfter field's value.
func (*ListRestoreJobsInput) SetByCreatedBefore ¶ added in v1.32.9
func (s *ListRestoreJobsInput) SetByCreatedBefore(v time.Time) *ListRestoreJobsInput
SetByCreatedBefore sets the ByCreatedBefore field's value.
func (*ListRestoreJobsInput) SetByStatus ¶ added in v1.32.9
func (s *ListRestoreJobsInput) SetByStatus(v string) *ListRestoreJobsInput
SetByStatus sets the ByStatus field's value.
func (*ListRestoreJobsInput) SetMaxResults ¶
func (s *ListRestoreJobsInput) SetMaxResults(v int64) *ListRestoreJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRestoreJobsInput) SetNextToken ¶
func (s *ListRestoreJobsInput) SetNextToken(v string) *ListRestoreJobsInput
SetNextToken sets the NextToken field's value.
func (ListRestoreJobsInput) String ¶
func (s ListRestoreJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRestoreJobsInput) Validate ¶
func (s *ListRestoreJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRestoreJobsOutput ¶
type ListRestoreJobsOutput struct { // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // An array of objects that contain detailed information about jobs to restore // saved resources. RestoreJobs []*RestoreJobsListMember `type:"list"` // contains filtered or unexported fields }
func (ListRestoreJobsOutput) GoString ¶
func (s ListRestoreJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRestoreJobsOutput) SetNextToken ¶
func (s *ListRestoreJobsOutput) SetNextToken(v string) *ListRestoreJobsOutput
SetNextToken sets the NextToken field's value.
func (*ListRestoreJobsOutput) SetRestoreJobs ¶
func (s *ListRestoreJobsOutput) SetRestoreJobs(v []*RestoreJobsListMember) *ListRestoreJobsOutput
SetRestoreJobs sets the RestoreJobs field's value.
func (ListRestoreJobsOutput) String ¶
func (s ListRestoreJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsInput ¶
type ListTagsInput struct { // The maximum number of items to be returned. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the type of resource. Valid targets for ListTags are // recovery points, backup plans, and backup vaults. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsInput) GoString ¶
func (s ListTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsInput) SetMaxResults ¶
func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput
SetMaxResults sets the MaxResults field's value.
func (*ListTagsInput) SetNextToken ¶
func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
SetNextToken sets the NextToken field's value.
func (*ListTagsInput) SetResourceArn ¶
func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsInput) String ¶
func (s ListTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsInput) Validate ¶
func (s *ListTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsOutput ¶
type ListTagsOutput struct { // The next item following a partial list of returned items. For example, if // a request is made to return maxResults number of items, NextToken allows // you to return more items in your list starting at the location pointed to // by the next token. NextToken *string `type:"string"` // To help organize your resources, you can assign your own metadata to the // resources you create. Each tag is a key-value pair. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ListTagsOutput's // String and GoString methods. Tags map[string]*string `type:"map" sensitive:"true"` // contains filtered or unexported fields }
func (ListTagsOutput) GoString ¶
func (s ListTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsOutput) SetNextToken ¶
func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsOutput) SetTags ¶
func (s *ListTagsOutput) SetTags(v map[string]*string) *ListTagsOutput
SetTags sets the Tags field's value.
func (ListTagsOutput) String ¶
func (s ListTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MissingParameterValueException ¶ added in v1.28.0
type MissingParameterValueException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Indicates that a required parameter is missing.
func (*MissingParameterValueException) Code ¶ added in v1.28.0
func (s *MissingParameterValueException) Code() string
Code returns the exception type name.
func (*MissingParameterValueException) Error ¶ added in v1.28.0
func (s *MissingParameterValueException) Error() string
func (MissingParameterValueException) GoString ¶ added in v1.28.0
func (s MissingParameterValueException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MissingParameterValueException) Message ¶ added in v1.28.0
func (s *MissingParameterValueException) Message() string
Message returns the exception's message.
func (*MissingParameterValueException) OrigErr ¶ added in v1.28.0
func (s *MissingParameterValueException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MissingParameterValueException) RequestID ¶ added in v1.28.0
func (s *MissingParameterValueException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MissingParameterValueException) StatusCode ¶ added in v1.28.0
func (s *MissingParameterValueException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MissingParameterValueException) String ¶ added in v1.28.0
func (s MissingParameterValueException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Plan ¶
type Plan struct { // Contains a list of BackupOptions for each resource type. AdvancedBackupSettings []*AdvancedBackupSetting `type:"list"` // The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' // characters. // // 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 Amazon Web Services resources.
func (Plan) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Plan) SetAdvancedBackupSettings ¶ added in v1.34.30
func (s *Plan) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *Plan
SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value.
func (*Plan) SetBackupPlanName ¶
SetBackupPlanName sets the BackupPlanName field's value.
type PlanInput ¶
type PlanInput struct { // Specifies a list of BackupOptions for each resource type. These settings // are only available for Windows Volume Shadow Copy Service (VSS) backup jobs. AdvancedBackupSettings []*AdvancedBackupSetting `type:"list"` // The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' // characters. // // 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.
func (PlanInput) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PlanInput) SetAdvancedBackupSettings ¶ added in v1.34.30
func (s *PlanInput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *PlanInput
SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value.
func (*PlanInput) SetBackupPlanName ¶
SetBackupPlanName sets the BackupPlanName field's value.
type PlanTemplatesListMember ¶
type PlanTemplatesListMember struct { // Uniquely identifies a stored backup plan template. BackupPlanTemplateId *string `type:"string"` // The optional display name of a backup plan template. BackupPlanTemplateName *string `type:"string"` // contains filtered or unexported fields }
An object specifying metadata associated with a backup plan template.
func (PlanTemplatesListMember) GoString ¶
func (s PlanTemplatesListMember) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PlanTemplatesListMember) SetBackupPlanTemplateId ¶
func (s *PlanTemplatesListMember) SetBackupPlanTemplateId(v string) *PlanTemplatesListMember
SetBackupPlanTemplateId sets the BackupPlanTemplateId field's value.
func (*PlanTemplatesListMember) SetBackupPlanTemplateName ¶
func (s *PlanTemplatesListMember) SetBackupPlanTemplateName(v string) *PlanTemplatesListMember
SetBackupPlanTemplateName sets the BackupPlanTemplateName field's value.
func (PlanTemplatesListMember) String ¶
func (s PlanTemplatesListMember) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PlansListMember ¶
type PlansListMember struct { // Contains a list of BackupOptions for a resource type. AdvancedBackupSettings []*AdvancedBackupSetting `type:"list"` // 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 running the operation twice. This parameter // is optional. // // If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters. 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 run 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 ¶
func (s PlansListMember) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PlansListMember) SetAdvancedBackupSettings ¶ added in v1.34.30
func (s *PlansListMember) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *PlansListMember
SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value.
func (*PlansListMember) SetBackupPlanArn ¶
func (s *PlansListMember) SetBackupPlanArn(v string) *PlansListMember
SetBackupPlanArn sets the BackupPlanArn field's value.
func (*PlansListMember) SetBackupPlanId ¶
func (s *PlansListMember) SetBackupPlanId(v string) *PlansListMember
SetBackupPlanId sets the BackupPlanId field's value.
func (*PlansListMember) SetBackupPlanName ¶
func (s *PlansListMember) SetBackupPlanName(v string) *PlansListMember
SetBackupPlanName sets the BackupPlanName field's value.
func (*PlansListMember) SetCreationDate ¶
func (s *PlansListMember) SetCreationDate(v time.Time) *PlansListMember
SetCreationDate sets the CreationDate field's value.
func (*PlansListMember) SetCreatorRequestId ¶
func (s *PlansListMember) SetCreatorRequestId(v string) *PlansListMember
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*PlansListMember) SetDeletionDate ¶
func (s *PlansListMember) SetDeletionDate(v time.Time) *PlansListMember
SetDeletionDate sets the DeletionDate field's value.
func (*PlansListMember) SetLastExecutionDate ¶
func (s *PlansListMember) SetLastExecutionDate(v time.Time) *PlansListMember
SetLastExecutionDate sets the LastExecutionDate field's value.
func (*PlansListMember) SetVersionId ¶
func (s *PlansListMember) SetVersionId(v string) *PlansListMember
SetVersionId sets the VersionId field's value.
func (PlansListMember) String ¶
func (s PlansListMember) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProtectedResource ¶
type ProtectedResource struct { // The date and time a resource was last backed up, in Unix format and Coordinated // Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. LastBackupTime *time.Time `type:"timestamp"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ResourceArn *string `type:"string"` // The type of Amazon Web Services resource; for example, an Amazon Elastic // Block Store (Amazon EBS) volume or an Amazon Relational Database Service // (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, // the only supported resource type is Amazon EC2. ResourceType *string `type:"string"` // contains filtered or unexported fields }
A structure that contains information about a backed-up resource.
func (ProtectedResource) GoString ¶
func (s ProtectedResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProtectedResource) SetLastBackupTime ¶
func (s *ProtectedResource) SetLastBackupTime(v time.Time) *ProtectedResource
SetLastBackupTime sets the LastBackupTime field's value.
func (*ProtectedResource) SetResourceArn ¶
func (s *ProtectedResource) SetResourceArn(v string) *ProtectedResource
SetResourceArn sets the ResourceArn field's value.
func (*ProtectedResource) SetResourceType ¶
func (s *ProtectedResource) SetResourceType(v string) *ProtectedResource
SetResourceType sets the ResourceType field's value.
func (ProtectedResource) String ¶
func (s ProtectedResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutBackupVaultAccessPolicyInput ¶
type PutBackupVaultAccessPolicyInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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 ¶
func (s PutBackupVaultAccessPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutBackupVaultAccessPolicyInput) SetBackupVaultName ¶
func (s *PutBackupVaultAccessPolicyInput) SetBackupVaultName(v string) *PutBackupVaultAccessPolicyInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*PutBackupVaultAccessPolicyInput) SetPolicy ¶
func (s *PutBackupVaultAccessPolicyInput) SetPolicy(v string) *PutBackupVaultAccessPolicyInput
SetPolicy sets the Policy field's value.
func (PutBackupVaultAccessPolicyInput) String ¶
func (s PutBackupVaultAccessPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutBackupVaultAccessPolicyInput) Validate ¶
func (s *PutBackupVaultAccessPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBackupVaultAccessPolicyOutput ¶
type PutBackupVaultAccessPolicyOutput struct {
// contains filtered or unexported fields
}
func (PutBackupVaultAccessPolicyOutput) GoString ¶
func (s PutBackupVaultAccessPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutBackupVaultAccessPolicyOutput) String ¶
func (s PutBackupVaultAccessPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutBackupVaultLockConfigurationInput ¶ added in v1.40.58
type PutBackupVaultLockConfigurationInput struct { // The Backup Vault Lock configuration that specifies the name of the backup // vault it protects. // // BackupVaultName is a required field BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` // The Backup Vault Lock configuration that specifies the number of days before // the lock date. For example, setting ChangeableForDays to 30 on Jan. 1, 2022 // at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC. // // Backup enforces a 72-hour cooling-off period before Vault Lock takes effect // and becomes immutable. Therefore, you must set ChangeableForDays to 3 or // greater. // // Before the lock date, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration // or change the Vault Lock configuration using PutBackupVaultLockConfiguration. // On and after the lock date, the Vault Lock becomes immutable and cannot be // changed or deleted. // // If this parameter is not specified, you can delete Vault Lock from the vault // using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration // using PutBackupVaultLockConfiguration at any time. ChangeableForDays *int64 `type:"long"` // The Backup Vault Lock configuration that specifies the maximum retention // period that the vault retains its recovery points. This setting can be useful // if, for example, your organization's policies require you to destroy certain // data after retaining it for four years (1460 days). // // If this parameter is not included, Vault Lock does not enforce a maximum // retention period on the recovery points in the vault. If this parameter is // included without a value, Vault Lock will not enforce a maximum retention // period. // // If this parameter is specified, any backup or copy job to the vault must // have a lifecycle policy with a retention period equal to or shorter than // the maximum retention period. If the job's retention period is longer than // that maximum retention period, then the vault fails the backup or copy job, // and you should either modify your lifecycle settings or use a different vault. // The longest maximum retention period you can specify is 36500 days (approximately // 100 years). Recovery points already saved in the vault prior to Vault Lock // are not affected. MaxRetentionDays *int64 `type:"long"` // The Backup Vault Lock configuration that specifies the minimum retention // period that the vault retains its recovery points. This setting can be useful // if, for example, your organization's policies require you to retain certain // data for at least seven years (2555 days). // // If this parameter is not specified, Vault Lock will not enforce a minimum // retention period. // // If this parameter is specified, any backup or copy job to the vault must // have a lifecycle policy with a retention period equal to or longer than the // minimum retention period. If the job's retention period is shorter than that // minimum retention period, then the vault fails that backup or copy job, and // you should either modify your lifecycle settings or use a different vault. // The shortest minimum retention period you can specify is 1 day. Recovery // points already saved in the vault prior to Vault Lock are not affected. MinRetentionDays *int64 `type:"long"` // contains filtered or unexported fields }
func (PutBackupVaultLockConfigurationInput) GoString ¶ added in v1.40.58
func (s PutBackupVaultLockConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutBackupVaultLockConfigurationInput) SetBackupVaultName ¶ added in v1.40.58
func (s *PutBackupVaultLockConfigurationInput) SetBackupVaultName(v string) *PutBackupVaultLockConfigurationInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*PutBackupVaultLockConfigurationInput) SetChangeableForDays ¶ added in v1.40.58
func (s *PutBackupVaultLockConfigurationInput) SetChangeableForDays(v int64) *PutBackupVaultLockConfigurationInput
SetChangeableForDays sets the ChangeableForDays field's value.
func (*PutBackupVaultLockConfigurationInput) SetMaxRetentionDays ¶ added in v1.40.58
func (s *PutBackupVaultLockConfigurationInput) SetMaxRetentionDays(v int64) *PutBackupVaultLockConfigurationInput
SetMaxRetentionDays sets the MaxRetentionDays field's value.
func (*PutBackupVaultLockConfigurationInput) SetMinRetentionDays ¶ added in v1.40.58
func (s *PutBackupVaultLockConfigurationInput) SetMinRetentionDays(v int64) *PutBackupVaultLockConfigurationInput
SetMinRetentionDays sets the MinRetentionDays field's value.
func (PutBackupVaultLockConfigurationInput) String ¶ added in v1.40.58
func (s PutBackupVaultLockConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutBackupVaultLockConfigurationInput) Validate ¶ added in v1.40.58
func (s *PutBackupVaultLockConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBackupVaultLockConfigurationOutput ¶ added in v1.40.58
type PutBackupVaultLockConfigurationOutput struct {
// contains filtered or unexported fields
}
func (PutBackupVaultLockConfigurationOutput) GoString ¶ added in v1.40.58
func (s PutBackupVaultLockConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutBackupVaultLockConfigurationOutput) String ¶ added in v1.40.58
func (s PutBackupVaultLockConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutBackupVaultNotificationsInput ¶
type PutBackupVaultNotificationsInput struct { // An array of events that indicate the status of jobs to back up resources // to the backup vault. // // For common use cases and code samples, see Using Amazon SNS to track Backup // events (https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html). // // The following events are supported: // // * BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED // // * COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED // // * RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RECOVERY_POINT_MODIFIED // // * S3_BACKUP_OBJECT_FAILED | S3_RESTORE_OBJECT_FAILED // // Ignore the list below because it includes deprecated events. Refer to the // list above. // // BackupVaultEvents is a required field BackupVaultEvents []*string `type:"list" required:"true" enum:"VaultEvent"` // 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 Amazon Web Services 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 ¶
func (s PutBackupVaultNotificationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutBackupVaultNotificationsInput) SetBackupVaultEvents ¶
func (s *PutBackupVaultNotificationsInput) SetBackupVaultEvents(v []*string) *PutBackupVaultNotificationsInput
SetBackupVaultEvents sets the BackupVaultEvents field's value.
func (*PutBackupVaultNotificationsInput) SetBackupVaultName ¶
func (s *PutBackupVaultNotificationsInput) SetBackupVaultName(v string) *PutBackupVaultNotificationsInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*PutBackupVaultNotificationsInput) SetSNSTopicArn ¶
func (s *PutBackupVaultNotificationsInput) SetSNSTopicArn(v string) *PutBackupVaultNotificationsInput
SetSNSTopicArn sets the SNSTopicArn field's value.
func (PutBackupVaultNotificationsInput) String ¶
func (s PutBackupVaultNotificationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutBackupVaultNotificationsInput) Validate ¶
func (s *PutBackupVaultNotificationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutBackupVaultNotificationsOutput ¶
type PutBackupVaultNotificationsOutput struct {
// contains filtered or unexported fields
}
func (PutBackupVaultNotificationsOutput) GoString ¶
func (s PutBackupVaultNotificationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutBackupVaultNotificationsOutput) String ¶
func (s PutBackupVaultNotificationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecoveryPointByBackupVault ¶
type RecoveryPointByBackupVault struct { // The size, in bytes, of a backup. BackupSizeInBytes *int64 `type:"long"` // An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services 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. 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 “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. 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 Amazon Web Services 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. For Windows Volume Shadow Copy Service // (VSS) backups, the only supported resource type is Amazon EC2. ResourceType *string `type:"string"` // The backup vault where the recovery point was originally copied from. If // the recovery point is restored to the same account this value will be null. SourceBackupVaultArn *string `type:"string"` // A status code specifying the state of the recovery point. Status *string `type:"string" enum:"RecoveryPointStatus"` // A message explaining the reason of the recovery point deletion failure. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Contains detailed information about the recovery points stored in a backup vault.
func (RecoveryPointByBackupVault) GoString ¶
func (s RecoveryPointByBackupVault) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecoveryPointByBackupVault) SetBackupSizeInBytes ¶
func (s *RecoveryPointByBackupVault) SetBackupSizeInBytes(v int64) *RecoveryPointByBackupVault
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*RecoveryPointByBackupVault) SetBackupVaultArn ¶
func (s *RecoveryPointByBackupVault) SetBackupVaultArn(v string) *RecoveryPointByBackupVault
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*RecoveryPointByBackupVault) SetBackupVaultName ¶
func (s *RecoveryPointByBackupVault) SetBackupVaultName(v string) *RecoveryPointByBackupVault
SetBackupVaultName sets the BackupVaultName field's value.
func (*RecoveryPointByBackupVault) SetCalculatedLifecycle ¶
func (s *RecoveryPointByBackupVault) SetCalculatedLifecycle(v *CalculatedLifecycle) *RecoveryPointByBackupVault
SetCalculatedLifecycle sets the CalculatedLifecycle field's value.
func (*RecoveryPointByBackupVault) SetCompletionDate ¶
func (s *RecoveryPointByBackupVault) SetCompletionDate(v time.Time) *RecoveryPointByBackupVault
SetCompletionDate sets the CompletionDate field's value.
func (*RecoveryPointByBackupVault) SetCreatedBy ¶
func (s *RecoveryPointByBackupVault) SetCreatedBy(v *RecoveryPointCreator) *RecoveryPointByBackupVault
SetCreatedBy sets the CreatedBy field's value.
func (*RecoveryPointByBackupVault) SetCreationDate ¶
func (s *RecoveryPointByBackupVault) SetCreationDate(v time.Time) *RecoveryPointByBackupVault
SetCreationDate sets the CreationDate field's value.
func (*RecoveryPointByBackupVault) SetEncryptionKeyArn ¶
func (s *RecoveryPointByBackupVault) SetEncryptionKeyArn(v string) *RecoveryPointByBackupVault
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*RecoveryPointByBackupVault) SetIamRoleArn ¶
func (s *RecoveryPointByBackupVault) SetIamRoleArn(v string) *RecoveryPointByBackupVault
SetIamRoleArn sets the IamRoleArn field's value.
func (*RecoveryPointByBackupVault) SetIsEncrypted ¶
func (s *RecoveryPointByBackupVault) SetIsEncrypted(v bool) *RecoveryPointByBackupVault
SetIsEncrypted sets the IsEncrypted field's value.
func (*RecoveryPointByBackupVault) SetLastRestoreTime ¶
func (s *RecoveryPointByBackupVault) SetLastRestoreTime(v time.Time) *RecoveryPointByBackupVault
SetLastRestoreTime sets the LastRestoreTime field's value.
func (*RecoveryPointByBackupVault) SetLifecycle ¶
func (s *RecoveryPointByBackupVault) SetLifecycle(v *Lifecycle) *RecoveryPointByBackupVault
SetLifecycle sets the Lifecycle field's value.
func (*RecoveryPointByBackupVault) SetRecoveryPointArn ¶
func (s *RecoveryPointByBackupVault) SetRecoveryPointArn(v string) *RecoveryPointByBackupVault
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*RecoveryPointByBackupVault) SetResourceArn ¶
func (s *RecoveryPointByBackupVault) SetResourceArn(v string) *RecoveryPointByBackupVault
SetResourceArn sets the ResourceArn field's value.
func (*RecoveryPointByBackupVault) SetResourceType ¶
func (s *RecoveryPointByBackupVault) SetResourceType(v string) *RecoveryPointByBackupVault
SetResourceType sets the ResourceType field's value.
func (*RecoveryPointByBackupVault) SetSourceBackupVaultArn ¶ added in v1.35.31
func (s *RecoveryPointByBackupVault) SetSourceBackupVaultArn(v string) *RecoveryPointByBackupVault
SetSourceBackupVaultArn sets the SourceBackupVaultArn field's value.
func (*RecoveryPointByBackupVault) SetStatus ¶
func (s *RecoveryPointByBackupVault) SetStatus(v string) *RecoveryPointByBackupVault
SetStatus sets the Status field's value.
func (*RecoveryPointByBackupVault) SetStatusMessage ¶ added in v1.40.28
func (s *RecoveryPointByBackupVault) SetStatusMessage(v string) *RecoveryPointByBackupVault
SetStatusMessage sets the StatusMessage field's value.
func (RecoveryPointByBackupVault) String ¶
func (s RecoveryPointByBackupVault) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecoveryPointByResource ¶
type RecoveryPointByResource struct { // The size, in bytes, of a backup. BackupSizeBytes *int64 `type:"long"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. BackupVaultName *string `type:"string"` // The date and time a recovery point is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // The server-side encryption key that is used to protect your backups; for // example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. EncryptionKeyArn *string `type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a recovery point; // for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` // A status code specifying the state of the recovery point. Status *string `type:"string" enum:"RecoveryPointStatus"` // A message explaining the reason of the recovery point deletion failure. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Contains detailed information about a saved recovery point.
func (RecoveryPointByResource) GoString ¶
func (s RecoveryPointByResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecoveryPointByResource) SetBackupSizeBytes ¶
func (s *RecoveryPointByResource) SetBackupSizeBytes(v int64) *RecoveryPointByResource
SetBackupSizeBytes sets the BackupSizeBytes field's value.
func (*RecoveryPointByResource) SetBackupVaultName ¶
func (s *RecoveryPointByResource) SetBackupVaultName(v string) *RecoveryPointByResource
SetBackupVaultName sets the BackupVaultName field's value.
func (*RecoveryPointByResource) SetCreationDate ¶
func (s *RecoveryPointByResource) SetCreationDate(v time.Time) *RecoveryPointByResource
SetCreationDate sets the CreationDate field's value.
func (*RecoveryPointByResource) SetEncryptionKeyArn ¶
func (s *RecoveryPointByResource) SetEncryptionKeyArn(v string) *RecoveryPointByResource
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*RecoveryPointByResource) SetRecoveryPointArn ¶
func (s *RecoveryPointByResource) SetRecoveryPointArn(v string) *RecoveryPointByResource
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*RecoveryPointByResource) SetStatus ¶
func (s *RecoveryPointByResource) SetStatus(v string) *RecoveryPointByResource
SetStatus sets the Status field's value.
func (*RecoveryPointByResource) SetStatusMessage ¶ added in v1.40.28
func (s *RecoveryPointByResource) SetStatusMessage(v string) *RecoveryPointByResource
SetStatusMessage sets the StatusMessage field's value.
func (RecoveryPointByResource) String ¶
func (s RecoveryPointByResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecoveryPointCreator ¶
type RecoveryPointCreator struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for // example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50. BackupPlanArn *string `type:"string"` // Uniquely identifies a backup plan. BackupPlanId *string `type:"string"` // Version IDs are unique, randomly generated, Unicode, UTF-8 encoded strings // that are at most 1,024 bytes long. They cannot be edited. BackupPlanVersion *string `type:"string"` // Uniquely identifies a rule used to schedule the backup of a selection of // resources. BackupRuleId *string `type:"string"` // contains filtered or unexported fields }
Contains information about the backup plan and rule that Backup used to initiate the recovery point backup.
func (RecoveryPointCreator) GoString ¶
func (s RecoveryPointCreator) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecoveryPointCreator) SetBackupPlanArn ¶
func (s *RecoveryPointCreator) SetBackupPlanArn(v string) *RecoveryPointCreator
SetBackupPlanArn sets the BackupPlanArn field's value.
func (*RecoveryPointCreator) SetBackupPlanId ¶
func (s *RecoveryPointCreator) SetBackupPlanId(v string) *RecoveryPointCreator
SetBackupPlanId sets the BackupPlanId field's value.
func (*RecoveryPointCreator) SetBackupPlanVersion ¶
func (s *RecoveryPointCreator) SetBackupPlanVersion(v string) *RecoveryPointCreator
SetBackupPlanVersion sets the BackupPlanVersion field's value.
func (*RecoveryPointCreator) SetBackupRuleId ¶
func (s *RecoveryPointCreator) SetBackupRuleId(v string) *RecoveryPointCreator
SetBackupRuleId sets the BackupRuleId field's value.
func (RecoveryPointCreator) String ¶
func (s RecoveryPointCreator) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ReportDeliveryChannel ¶ added in v1.40.28
type ReportDeliveryChannel struct { // A list of the format of your reports: CSV, JSON, or both. If not specified, // the default format is CSV. Formats []*string `type:"list"` // The unique name of the S3 bucket that receives your reports. // // S3BucketName is a required field S3BucketName *string `type:"string" required:"true"` // The prefix for where Backup Audit Manager delivers your reports to Amazon // S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. // If not specified, there is no prefix. S3KeyPrefix *string `type:"string"` // contains filtered or unexported fields }
Contains information from your report plan about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
func (ReportDeliveryChannel) GoString ¶ added in v1.40.28
func (s ReportDeliveryChannel) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportDeliveryChannel) SetFormats ¶ added in v1.40.28
func (s *ReportDeliveryChannel) SetFormats(v []*string) *ReportDeliveryChannel
SetFormats sets the Formats field's value.
func (*ReportDeliveryChannel) SetS3BucketName ¶ added in v1.40.28
func (s *ReportDeliveryChannel) SetS3BucketName(v string) *ReportDeliveryChannel
SetS3BucketName sets the S3BucketName field's value.
func (*ReportDeliveryChannel) SetS3KeyPrefix ¶ added in v1.40.28
func (s *ReportDeliveryChannel) SetS3KeyPrefix(v string) *ReportDeliveryChannel
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (ReportDeliveryChannel) String ¶ added in v1.40.28
func (s ReportDeliveryChannel) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportDeliveryChannel) Validate ¶ added in v1.40.28
func (s *ReportDeliveryChannel) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReportDestination ¶ added in v1.40.28
type ReportDestination struct { // The unique name of the Amazon S3 bucket that receives your reports. S3BucketName *string `type:"string"` // The object key that uniquely identifies your reports in your S3 bucket. S3Keys []*string `type:"list"` // contains filtered or unexported fields }
Contains information from your report job about your report destination.
func (ReportDestination) GoString ¶ added in v1.40.28
func (s ReportDestination) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportDestination) SetS3BucketName ¶ added in v1.40.28
func (s *ReportDestination) SetS3BucketName(v string) *ReportDestination
SetS3BucketName sets the S3BucketName field's value.
func (*ReportDestination) SetS3Keys ¶ added in v1.40.28
func (s *ReportDestination) SetS3Keys(v []*string) *ReportDestination
SetS3Keys sets the S3Keys field's value.
func (ReportDestination) String ¶ added in v1.40.28
func (s ReportDestination) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ReportJob ¶ added in v1.40.28
type ReportJob struct { // The date and time that a report job is completed, in Unix format and Coordinated // Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CompletionTime *time.Time `type:"timestamp"` // The date and time that a report job is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // The S3 bucket name and S3 keys for the destination where the report job publishes // the report. ReportDestination *ReportDestination `type:"structure"` // The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 // encoded string that is at most 1,024 bytes long. Report job IDs cannot be // edited. ReportJobId *string `type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ReportPlanArn *string `type:"string"` // Identifies the report template for the report. Reports are built using a // report template. The report templates are: // // RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT // | COPY_JOB_REPORT | RESTORE_JOB_REPORT ReportTemplate *string `type:"string"` // The status of a report job. The statuses are: // // CREATED | RUNNING | COMPLETED | FAILED // // COMPLETED means that the report is available for your review at your designated // destination. If the status is FAILED, review the StatusMessage for the reason. Status *string `type:"string"` // A message explaining the status of the report job. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Contains detailed information about a report job. A report job compiles a report based on a report plan and publishes it to Amazon S3.
func (ReportJob) GoString ¶ added in v1.40.28
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportJob) SetCompletionTime ¶ added in v1.40.28
SetCompletionTime sets the CompletionTime field's value.
func (*ReportJob) SetCreationTime ¶ added in v1.40.28
SetCreationTime sets the CreationTime field's value.
func (*ReportJob) SetReportDestination ¶ added in v1.40.28
func (s *ReportJob) SetReportDestination(v *ReportDestination) *ReportJob
SetReportDestination sets the ReportDestination field's value.
func (*ReportJob) SetReportJobId ¶ added in v1.40.28
SetReportJobId sets the ReportJobId field's value.
func (*ReportJob) SetReportPlanArn ¶ added in v1.40.28
SetReportPlanArn sets the ReportPlanArn field's value.
func (*ReportJob) SetReportTemplate ¶ added in v1.40.28
SetReportTemplate sets the ReportTemplate field's value.
func (*ReportJob) SetStatusMessage ¶ added in v1.40.28
SetStatusMessage sets the StatusMessage field's value.
type ReportPlan ¶ added in v1.40.28
type ReportPlan struct { // The date and time that a report plan is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // The deployment status of a report plan. The statuses are: // // CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED DeploymentStatus *string `type:"string"` // The date and time that a report job associated with this report plan last // attempted to run, in Unix format and Coordinated Universal Time (UTC). The // value of LastAttemptedExecutionTime is accurate to milliseconds. For example, // the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 // AM. LastAttemptedExecutionTime *time.Time `type:"timestamp"` // The date and time that a report job associated with this report plan last // successfully ran, in Unix format and Coordinated Universal Time (UTC). The // value of LastSuccessfulExecutionTime is accurate to milliseconds. For example, // the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 // AM. LastSuccessfulExecutionTime *time.Time `type:"timestamp"` // Contains information about where and how to deliver your reports, specifically // your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. ReportDeliveryChannel *ReportDeliveryChannel `type:"structure"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ReportPlanArn *string `type:"string"` // An optional description of the report plan with a maximum 1,024 characters. ReportPlanDescription *string `type:"string"` // The unique name of the report plan. This name is between 1 and 256 characters // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). ReportPlanName *string `min:"1" type:"string"` // Identifies the report template for the report. Reports are built using a // report template. The report templates are: // // RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT // | COPY_JOB_REPORT | RESTORE_JOB_REPORT // // If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, // this API resource also describes the report coverage by Amazon Web Services // Regions and frameworks. ReportSetting *ReportSetting `type:"structure"` // contains filtered or unexported fields }
Contains detailed information about a report plan.
func (ReportPlan) GoString ¶ added in v1.40.28
func (s ReportPlan) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportPlan) SetCreationTime ¶ added in v1.40.28
func (s *ReportPlan) SetCreationTime(v time.Time) *ReportPlan
SetCreationTime sets the CreationTime field's value.
func (*ReportPlan) SetDeploymentStatus ¶ added in v1.40.28
func (s *ReportPlan) SetDeploymentStatus(v string) *ReportPlan
SetDeploymentStatus sets the DeploymentStatus field's value.
func (*ReportPlan) SetLastAttemptedExecutionTime ¶ added in v1.40.28
func (s *ReportPlan) SetLastAttemptedExecutionTime(v time.Time) *ReportPlan
SetLastAttemptedExecutionTime sets the LastAttemptedExecutionTime field's value.
func (*ReportPlan) SetLastSuccessfulExecutionTime ¶ added in v1.40.28
func (s *ReportPlan) SetLastSuccessfulExecutionTime(v time.Time) *ReportPlan
SetLastSuccessfulExecutionTime sets the LastSuccessfulExecutionTime field's value.
func (*ReportPlan) SetReportDeliveryChannel ¶ added in v1.40.28
func (s *ReportPlan) SetReportDeliveryChannel(v *ReportDeliveryChannel) *ReportPlan
SetReportDeliveryChannel sets the ReportDeliveryChannel field's value.
func (*ReportPlan) SetReportPlanArn ¶ added in v1.40.28
func (s *ReportPlan) SetReportPlanArn(v string) *ReportPlan
SetReportPlanArn sets the ReportPlanArn field's value.
func (*ReportPlan) SetReportPlanDescription ¶ added in v1.40.28
func (s *ReportPlan) SetReportPlanDescription(v string) *ReportPlan
SetReportPlanDescription sets the ReportPlanDescription field's value.
func (*ReportPlan) SetReportPlanName ¶ added in v1.40.28
func (s *ReportPlan) SetReportPlanName(v string) *ReportPlan
SetReportPlanName sets the ReportPlanName field's value.
func (*ReportPlan) SetReportSetting ¶ added in v1.40.28
func (s *ReportPlan) SetReportSetting(v *ReportSetting) *ReportPlan
SetReportSetting sets the ReportSetting field's value.
func (ReportPlan) String ¶ added in v1.40.28
func (s ReportPlan) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ReportSetting ¶ added in v1.40.28
type ReportSetting struct { // The Amazon Resource Names (ARNs) of the frameworks a report covers. FrameworkArns []*string `type:"list"` // The number of frameworks a report covers. NumberOfFrameworks *int64 `type:"integer"` // Identifies the report template for the report. Reports are built using a // report template. The report templates are: // // RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT // | COPY_JOB_REPORT | RESTORE_JOB_REPORT // // ReportTemplate is a required field ReportTemplate *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains detailed information about a report setting.
func (ReportSetting) GoString ¶ added in v1.40.28
func (s ReportSetting) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportSetting) SetFrameworkArns ¶ added in v1.40.56
func (s *ReportSetting) SetFrameworkArns(v []*string) *ReportSetting
SetFrameworkArns sets the FrameworkArns field's value.
func (*ReportSetting) SetNumberOfFrameworks ¶ added in v1.40.56
func (s *ReportSetting) SetNumberOfFrameworks(v int64) *ReportSetting
SetNumberOfFrameworks sets the NumberOfFrameworks field's value.
func (*ReportSetting) SetReportTemplate ¶ added in v1.40.28
func (s *ReportSetting) SetReportTemplate(v string) *ReportSetting
SetReportTemplate sets the ReportTemplate field's value.
func (ReportSetting) String ¶ added in v1.40.28
func (s ReportSetting) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReportSetting) Validate ¶ added in v1.40.28
func (s *ReportSetting) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException ¶ added in v1.28.0
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Context *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
A resource that is required for the action doesn't exist.
func (*ResourceNotFoundException) Code ¶ added in v1.28.0
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶ added in v1.28.0
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶ added in v1.28.0
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶ added in v1.28.0
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶ added in v1.28.0
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶ added in v1.28.0
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RestoreJobsListMember ¶
type RestoreJobsListMember struct { // The account ID that owns the restore job. AccountId *string `type:"string"` // The size, in bytes, of the restored resource. BackupSizeInBytes *int64 `type:"long"` // The date and time a job to restore a recovery point is completed, in Unix // format and Coordinated Universal Time (UTC). The value of CompletionDate // is accurate to milliseconds. For example, the value 1516925490.087 represents // Friday, January 26, 2018 12:11:30.087 AM. CompletionDate *time.Time `type:"timestamp"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. CreatedResourceArn *string `type:"string"` // The date and time a restore job is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // The amount of time in minutes that a job restoring a recovery point is expected // to take. ExpectedCompletionTimeMinutes *int64 `type:"long"` // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access. IamRoleArn *string `type:"string"` // Contains an estimated percentage complete of a job at the time the job status // was queried. PercentDone *string `type:"string"` // An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` // The resource type of the listed restore jobs; for example, an Amazon Elastic // Block Store (Amazon EBS) volume or an Amazon Relational Database Service // (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, // the only supported resource type is Amazon EC2. ResourceType *string `type:"string"` // Uniquely identifies the job that restores a recovery point. RestoreJobId *string `type:"string"` // A status code specifying the state of the job initiated by Backup to restore // a recovery point. Status *string `type:"string" enum:"RestoreJobStatus"` // A detailed message explaining the status of the job to restore a recovery // point. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
Contains metadata about a restore job.
func (RestoreJobsListMember) GoString ¶
func (s RestoreJobsListMember) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RestoreJobsListMember) SetAccountId ¶ added in v1.32.9
func (s *RestoreJobsListMember) SetAccountId(v string) *RestoreJobsListMember
SetAccountId sets the AccountId field's value.
func (*RestoreJobsListMember) SetBackupSizeInBytes ¶
func (s *RestoreJobsListMember) SetBackupSizeInBytes(v int64) *RestoreJobsListMember
SetBackupSizeInBytes sets the BackupSizeInBytes field's value.
func (*RestoreJobsListMember) SetCompletionDate ¶
func (s *RestoreJobsListMember) SetCompletionDate(v time.Time) *RestoreJobsListMember
SetCompletionDate sets the CompletionDate field's value.
func (*RestoreJobsListMember) SetCreatedResourceArn ¶
func (s *RestoreJobsListMember) SetCreatedResourceArn(v string) *RestoreJobsListMember
SetCreatedResourceArn sets the CreatedResourceArn field's value.
func (*RestoreJobsListMember) SetCreationDate ¶
func (s *RestoreJobsListMember) SetCreationDate(v time.Time) *RestoreJobsListMember
SetCreationDate sets the CreationDate field's value.
func (*RestoreJobsListMember) SetExpectedCompletionTimeMinutes ¶
func (s *RestoreJobsListMember) SetExpectedCompletionTimeMinutes(v int64) *RestoreJobsListMember
SetExpectedCompletionTimeMinutes sets the ExpectedCompletionTimeMinutes field's value.
func (*RestoreJobsListMember) SetIamRoleArn ¶
func (s *RestoreJobsListMember) SetIamRoleArn(v string) *RestoreJobsListMember
SetIamRoleArn sets the IamRoleArn field's value.
func (*RestoreJobsListMember) SetPercentDone ¶
func (s *RestoreJobsListMember) SetPercentDone(v string) *RestoreJobsListMember
SetPercentDone sets the PercentDone field's value.
func (*RestoreJobsListMember) SetRecoveryPointArn ¶
func (s *RestoreJobsListMember) SetRecoveryPointArn(v string) *RestoreJobsListMember
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*RestoreJobsListMember) SetResourceType ¶ added in v1.32.9
func (s *RestoreJobsListMember) SetResourceType(v string) *RestoreJobsListMember
SetResourceType sets the ResourceType field's value.
func (*RestoreJobsListMember) SetRestoreJobId ¶
func (s *RestoreJobsListMember) SetRestoreJobId(v string) *RestoreJobsListMember
SetRestoreJobId sets the RestoreJobId field's value.
func (*RestoreJobsListMember) SetStatus ¶
func (s *RestoreJobsListMember) SetStatus(v string) *RestoreJobsListMember
SetStatus sets the Status field's value.
func (*RestoreJobsListMember) SetStatusMessage ¶
func (s *RestoreJobsListMember) SetStatusMessage(v string) *RestoreJobsListMember
SetStatusMessage sets the StatusMessage field's value.
func (RestoreJobsListMember) String ¶
func (s RestoreJobsListMember) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Rule ¶
type Rule struct { // A value in minutes after a backup job is successfully started before it must // be completed or it will be canceled by Backup. This value is optional. CompletionWindowMinutes *int64 `type:"long"` // An array of CopyAction objects, which contains the details of the copy operation. CopyActions []*CopyAction `type:"list"` // Specifies whether Backup creates continuous backups. True causes Backup to // create continuous backups capable of point-in-time restore (PITR). False // (or not specified) causes Backup to create snapshot backups. EnableContinuousBackup *bool `type:"boolean"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. 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 “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. Lifecycle *Lifecycle `type:"structure"` // An array of key-value pair strings that are assigned to resources that are // associated with this rule when restored from backup. // // RecoveryPointTags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Rule's // String and GoString methods. RecoveryPointTags map[string]*string `type:"map" sensitive:"true"` // Uniquely identifies a rule that is used to schedule the backup of a selection // of resources. RuleId *string `type:"string"` // A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' // characters. // // RuleName is a required field RuleName *string `type:"string" required:"true"` // A cron expression in UTC specifying when Backup initiates a backup job. For // more information about Amazon Web Services cron expressions, see Schedule // Expressions for Rules (https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) // in the Amazon CloudWatch Events User Guide.. Two examples of Amazon Web Services // cron expressions are 15 * ? * * * (take a backup every hour at 15 minutes // past the hour) and 0 12 * * ? * (take a backup every day at 12 noon UTC). // For a table of examples, click the preceding link and scroll down the page. ScheduleExpression *string `type:"string"` // A value in minutes after a backup is scheduled before a job will be canceled // if it doesn't start successfully. This value is optional. StartWindowMinutes *int64 `type:"long"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. // // TargetBackupVaultName is a required field TargetBackupVaultName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies a scheduled task used to back up a selection of resources.
func (Rule) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Rule) SetCompletionWindowMinutes ¶
SetCompletionWindowMinutes sets the CompletionWindowMinutes field's value.
func (*Rule) SetCopyActions ¶ added in v1.28.1
func (s *Rule) SetCopyActions(v []*CopyAction) *Rule
SetCopyActions sets the CopyActions field's value.
func (*Rule) SetEnableContinuousBackup ¶ added in v1.37.28
SetEnableContinuousBackup sets the EnableContinuousBackup field's value.
func (*Rule) SetLifecycle ¶
SetLifecycle sets the Lifecycle field's value.
func (*Rule) SetRecoveryPointTags ¶
SetRecoveryPointTags sets the RecoveryPointTags field's value.
func (*Rule) SetRuleName ¶
SetRuleName sets the RuleName field's value.
func (*Rule) SetScheduleExpression ¶
SetScheduleExpression sets the ScheduleExpression field's value.
func (*Rule) SetStartWindowMinutes ¶
SetStartWindowMinutes sets the StartWindowMinutes field's value.
func (*Rule) SetTargetBackupVaultName ¶
SetTargetBackupVaultName sets the TargetBackupVaultName field's value.
type RuleInput ¶
type RuleInput struct { // A value in minutes after a backup job is successfully started before it must // be completed or it will be canceled by Backup. This value is optional. CompletionWindowMinutes *int64 `type:"long"` // An array of CopyAction objects, which contains the details of the copy operation. CopyActions []*CopyAction `type:"list"` // Specifies whether Backup creates continuous backups. True causes Backup to // create continuous backups capable of point-in-time restore (PITR). False // (or not specified) causes Backup to create snapshot backups. EnableContinuousBackup *bool `type:"boolean"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. Backup will transition and expire backups automatically // according to the lifecycle that you define. // // Backups transitioned to cold storage must be stored in cold storage for a // minimum of 90 days. Therefore, the “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. Lifecycle *Lifecycle `type:"structure"` // To help organize your resources, you can assign your own metadata to the // resources that you create. Each tag is a key-value pair. // // RecoveryPointTags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RuleInput's // String and GoString methods. RecoveryPointTags map[string]*string `type:"map" sensitive:"true"` // A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' // characters. // // RuleName is a required field RuleName *string `type:"string" required:"true"` // A CRON expression in UTC specifying when Backup initiates a backup job. ScheduleExpression *string `type:"string"` // A value in minutes after a backup is scheduled before a job will be canceled // if it doesn't start successfully. This value is optional. StartWindowMinutes *int64 `type:"long"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. // // TargetBackupVaultName is a required field TargetBackupVaultName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies a scheduled task used to back up a selection of resources.
func (RuleInput) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuleInput) SetCompletionWindowMinutes ¶
SetCompletionWindowMinutes sets the CompletionWindowMinutes field's value.
func (*RuleInput) SetCopyActions ¶ added in v1.28.1
func (s *RuleInput) SetCopyActions(v []*CopyAction) *RuleInput
SetCopyActions sets the CopyActions field's value.
func (*RuleInput) SetEnableContinuousBackup ¶ added in v1.37.28
SetEnableContinuousBackup sets the EnableContinuousBackup field's value.
func (*RuleInput) SetLifecycle ¶
SetLifecycle sets the Lifecycle field's value.
func (*RuleInput) SetRecoveryPointTags ¶
SetRecoveryPointTags sets the RecoveryPointTags field's value.
func (*RuleInput) SetRuleName ¶
SetRuleName sets the RuleName field's value.
func (*RuleInput) SetScheduleExpression ¶
SetScheduleExpression sets the ScheduleExpression field's value.
func (*RuleInput) SetStartWindowMinutes ¶
SetStartWindowMinutes sets the StartWindowMinutes field's value.
func (*RuleInput) SetTargetBackupVaultName ¶
SetTargetBackupVaultName sets the TargetBackupVaultName field's value.
type Selection ¶
type Selection struct { // A list of conditions that you define to assign resources to your backup plans // using tags. For example, "StringEquals": {"Department": "accounting". Condition // operators are case sensitive. // // Conditions differs from ListOfTags as follows: // // * When you specify more than one condition, you only assign the resources // that match ALL conditions (using AND logic). // // * Conditions supports StringEquals, StringLike, StringNotEquals, and StringNotLike. // ListOfTags only supports StringEquals. Conditions *Conditions `type:"structure"` // The ARN of the IAM role that Backup uses to authenticate when backing up // the target resource; for example, arn:aws:iam::123456789012:role/S3Access. // // IamRoleArn is a required field IamRoleArn *string `type:"string" required:"true"` // A list of conditions that you define to assign resources to your backup plans // using tags. For example, "StringEquals": {"Department": "accounting". Condition // operators are case sensitive. // // ListOfTags differs from Conditions as follows: // // * When you specify more than one condition, you assign all resources that // match AT LEAST ONE condition (using OR logic). // // * ListOfTags only supports StringEquals. Conditions supports StringEquals, // StringLike, StringNotEquals, and StringNotLike. ListOfTags []*Condition `type:"list"` // A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The // maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. // // If you need to exclude many resources from a backup plan, consider a different // resource selection strategy, such as assigning only one or a few resource // types or refining your resource selection using tags. NotResources []*string `type:"list"` // A list of Amazon Resource Names (ARNs) to assign to a backup plan. The maximum // number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. // // If you need to assign many resources to a backup plan, consider a different // resource selection strategy, such as assigning all resources of a resource // type or refining your resource selection using tags. Resources []*string `type:"list"` // The display name of a resource selection document. Must contain 1 to 50 alphanumeric // or '-_.' characters. // // SelectionName is a required field SelectionName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Used to specify a set of resources to a backup plan.
func (Selection) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Selection) SetConditions ¶ added in v1.42.2
func (s *Selection) SetConditions(v *Conditions) *Selection
SetConditions sets the Conditions field's value.
func (*Selection) SetIamRoleArn ¶
SetIamRoleArn sets the IamRoleArn field's value.
func (*Selection) SetListOfTags ¶
SetListOfTags sets the ListOfTags field's value.
func (*Selection) SetNotResources ¶ added in v1.42.2
SetNotResources sets the NotResources field's value.
func (*Selection) SetResources ¶
SetResources sets the Resources field's value.
func (*Selection) SetSelectionName ¶
SetSelectionName sets the SelectionName field's value.
type SelectionsListMember ¶
type SelectionsListMember struct { // Uniquely identifies a backup plan. BackupPlanId *string `type:"string"` // The date and time a backup plan is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // A unique string that identifies the request and allows failed requests to // be retried without the risk of running the operation twice. This parameter // is optional. // // If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters. CreatorRequestId *string `type:"string"` // Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery // point; for example, arn:aws:iam::123456789012:role/S3Access. IamRoleArn *string `type:"string"` // Uniquely identifies a request to assign a set of resources to a backup plan. SelectionId *string `type:"string"` // The display name of a resource selection document. SelectionName *string `type:"string"` // contains filtered or unexported fields }
Contains metadata about a BackupSelection object.
func (SelectionsListMember) GoString ¶
func (s SelectionsListMember) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SelectionsListMember) SetBackupPlanId ¶
func (s *SelectionsListMember) SetBackupPlanId(v string) *SelectionsListMember
SetBackupPlanId sets the BackupPlanId field's value.
func (*SelectionsListMember) SetCreationDate ¶
func (s *SelectionsListMember) SetCreationDate(v time.Time) *SelectionsListMember
SetCreationDate sets the CreationDate field's value.
func (*SelectionsListMember) SetCreatorRequestId ¶
func (s *SelectionsListMember) SetCreatorRequestId(v string) *SelectionsListMember
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*SelectionsListMember) SetIamRoleArn ¶
func (s *SelectionsListMember) SetIamRoleArn(v string) *SelectionsListMember
SetIamRoleArn sets the IamRoleArn field's value.
func (*SelectionsListMember) SetSelectionId ¶
func (s *SelectionsListMember) SetSelectionId(v string) *SelectionsListMember
SetSelectionId sets the SelectionId field's value.
func (*SelectionsListMember) SetSelectionName ¶
func (s *SelectionsListMember) SetSelectionName(v string) *SelectionsListMember
SetSelectionName sets the SelectionName field's value.
func (SelectionsListMember) String ¶
func (s SelectionsListMember) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceUnavailableException ¶ added in v1.28.0
type ServiceUnavailableException struct { // contains filtered or unexported fields }
The request failed due to a temporary failure of the server.
func (*ServiceUnavailableException) Code ¶ added in v1.28.0
func (s *ServiceUnavailableException) Code() string
Code returns the exception type name.
func (*ServiceUnavailableException) Error ¶ added in v1.28.0
func (s *ServiceUnavailableException) Error() string
func (ServiceUnavailableException) GoString ¶ added in v1.28.0
func (s ServiceUnavailableException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceUnavailableException) Message ¶ added in v1.28.0
func (s *ServiceUnavailableException) Message() string
Message returns the exception's message.
func (*ServiceUnavailableException) OrigErr ¶ added in v1.28.0
func (s *ServiceUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceUnavailableException) RequestID ¶ added in v1.28.0
func (s *ServiceUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceUnavailableException) StatusCode ¶ added in v1.28.0
func (s *ServiceUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceUnavailableException) String ¶ added in v1.28.0
func (s ServiceUnavailableException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartBackupJobInput ¶
type StartBackupJobInput struct { // Specifies the backup option for a selected resource. This option is only // available for Windows Volume Shadow Copy Service (VSS) backup jobs. // // Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup // option and create a Windows VSS backup. Set to "WindowsVSS""disabled" to // create a regular backup. The WindowsVSS option is not enabled by default. BackupOptions map[string]*string `type:"map"` // 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 Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. // // BackupVaultName is a required field BackupVaultName *string `type:"string" required:"true"` // A value in minutes during which a successfully started backup must complete, // or else Backup will cancel the job. This value is optional. This value begins // counting down from when the backup was scheduled. It does not add additional // time for StartWindowMinutes, or if the backup started later than scheduled. CompleteWindowMinutes *int64 `type:"long"` // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access. // // IamRoleArn is a required field IamRoleArn *string `type:"string" required:"true"` // A customer-chosen string that you can use to distinguish between otherwise // identical calls to StartBackupJob. Retrying a successful request with the // same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. Backup will transition and expire backups automatically // according to the lifecycle that you define. // // Backups transitioned to cold storage must be stored in cold storage for a // minimum of 90 days. Therefore, the “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. Lifecycle *Lifecycle `type:"structure"` // To help organize your resources, you can assign your own metadata to the // resources that you create. Each tag is a key-value pair. // // RecoveryPointTags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by StartBackupJobInput's // String and GoString methods. RecoveryPointTags map[string]*string `type:"map" sensitive:"true"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // A value in minutes after a backup is scheduled before a job will be canceled // if it doesn't start successfully. This value is optional, and the default // is 8 hours. StartWindowMinutes *int64 `type:"long"` // contains filtered or unexported fields }
func (StartBackupJobInput) GoString ¶
func (s StartBackupJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartBackupJobInput) SetBackupOptions ¶ added in v1.34.30
func (s *StartBackupJobInput) SetBackupOptions(v map[string]*string) *StartBackupJobInput
SetBackupOptions sets the BackupOptions field's value.
func (*StartBackupJobInput) SetBackupVaultName ¶
func (s *StartBackupJobInput) SetBackupVaultName(v string) *StartBackupJobInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*StartBackupJobInput) SetCompleteWindowMinutes ¶
func (s *StartBackupJobInput) SetCompleteWindowMinutes(v int64) *StartBackupJobInput
SetCompleteWindowMinutes sets the CompleteWindowMinutes field's value.
func (*StartBackupJobInput) SetIamRoleArn ¶
func (s *StartBackupJobInput) SetIamRoleArn(v string) *StartBackupJobInput
SetIamRoleArn sets the IamRoleArn field's value.
func (*StartBackupJobInput) SetIdempotencyToken ¶
func (s *StartBackupJobInput) SetIdempotencyToken(v string) *StartBackupJobInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*StartBackupJobInput) SetLifecycle ¶
func (s *StartBackupJobInput) SetLifecycle(v *Lifecycle) *StartBackupJobInput
SetLifecycle sets the Lifecycle field's value.
func (*StartBackupJobInput) SetRecoveryPointTags ¶
func (s *StartBackupJobInput) SetRecoveryPointTags(v map[string]*string) *StartBackupJobInput
SetRecoveryPointTags sets the RecoveryPointTags field's value.
func (*StartBackupJobInput) SetResourceArn ¶
func (s *StartBackupJobInput) SetResourceArn(v string) *StartBackupJobInput
SetResourceArn sets the ResourceArn field's value.
func (*StartBackupJobInput) SetStartWindowMinutes ¶
func (s *StartBackupJobInput) SetStartWindowMinutes(v int64) *StartBackupJobInput
SetStartWindowMinutes sets the StartWindowMinutes field's value.
func (StartBackupJobInput) String ¶
func (s StartBackupJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartBackupJobInput) Validate ¶
func (s *StartBackupJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartBackupJobOutput ¶
type StartBackupJobOutput struct { // Uniquely identifies a request to Backup to back up a resource. BackupJobId *string `type:"string"` // 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"` // An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` // contains filtered or unexported fields }
func (StartBackupJobOutput) GoString ¶
func (s StartBackupJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartBackupJobOutput) SetBackupJobId ¶
func (s *StartBackupJobOutput) SetBackupJobId(v string) *StartBackupJobOutput
SetBackupJobId sets the BackupJobId field's value.
func (*StartBackupJobOutput) SetCreationDate ¶
func (s *StartBackupJobOutput) SetCreationDate(v time.Time) *StartBackupJobOutput
SetCreationDate sets the CreationDate field's value.
func (*StartBackupJobOutput) SetRecoveryPointArn ¶
func (s *StartBackupJobOutput) SetRecoveryPointArn(v string) *StartBackupJobOutput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (StartBackupJobOutput) String ¶
func (s StartBackupJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartCopyJobInput ¶ added in v1.28.1
type StartCopyJobInput struct { // An Amazon Resource Name (ARN) that uniquely identifies a destination backup // vault to copy to; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. // // DestinationBackupVaultArn is a required field DestinationBackupVaultArn *string `type:"string" required:"true"` // Specifies the IAM role ARN used to copy the target recovery point; for example, // arn:aws:iam::123456789012:role/S3Access. // // IamRoleArn is a required field IamRoleArn *string `type:"string" required:"true"` // A customer-chosen string that you can use to distinguish between otherwise // identical calls to StartCopyJob. Retrying a successful request with the same // idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string"` // Contains an array of Transition objects specifying how long in days before // a recovery point transitions to cold storage or is deleted. // // Backups transitioned to cold storage must be stored in cold storage for a // minimum of 90 days. Therefore, on the console, the “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. Lifecycle *Lifecycle `type:"structure"` // An ARN that uniquely identifies a recovery point to use for the copy job; // for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. // // RecoveryPointArn is a required field RecoveryPointArn *string `type:"string" required:"true"` // The name of a logical source container where backups are stored. Backup vaults // are identified by names that are unique to the account used to create them // and the Amazon Web Services Region where they are created. They consist of // lowercase letters, numbers, and hyphens. // // SourceBackupVaultName is a required field SourceBackupVaultName *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (StartCopyJobInput) GoString ¶ added in v1.28.1
func (s StartCopyJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartCopyJobInput) SetDestinationBackupVaultArn ¶ added in v1.28.1
func (s *StartCopyJobInput) SetDestinationBackupVaultArn(v string) *StartCopyJobInput
SetDestinationBackupVaultArn sets the DestinationBackupVaultArn field's value.
func (*StartCopyJobInput) SetIamRoleArn ¶ added in v1.28.1
func (s *StartCopyJobInput) SetIamRoleArn(v string) *StartCopyJobInput
SetIamRoleArn sets the IamRoleArn field's value.
func (*StartCopyJobInput) SetIdempotencyToken ¶ added in v1.28.1
func (s *StartCopyJobInput) SetIdempotencyToken(v string) *StartCopyJobInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*StartCopyJobInput) SetLifecycle ¶ added in v1.28.1
func (s *StartCopyJobInput) SetLifecycle(v *Lifecycle) *StartCopyJobInput
SetLifecycle sets the Lifecycle field's value.
func (*StartCopyJobInput) SetRecoveryPointArn ¶ added in v1.28.1
func (s *StartCopyJobInput) SetRecoveryPointArn(v string) *StartCopyJobInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*StartCopyJobInput) SetSourceBackupVaultName ¶ added in v1.28.1
func (s *StartCopyJobInput) SetSourceBackupVaultName(v string) *StartCopyJobInput
SetSourceBackupVaultName sets the SourceBackupVaultName field's value.
func (StartCopyJobInput) String ¶ added in v1.28.1
func (s StartCopyJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartCopyJobInput) Validate ¶ added in v1.28.1
func (s *StartCopyJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartCopyJobOutput ¶ added in v1.28.1
type StartCopyJobOutput struct { // Uniquely identifies a copy job. CopyJobId *string `type:"string"` // The date and time that a copy 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"` // contains filtered or unexported fields }
func (StartCopyJobOutput) GoString ¶ added in v1.28.1
func (s StartCopyJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartCopyJobOutput) SetCopyJobId ¶ added in v1.28.1
func (s *StartCopyJobOutput) SetCopyJobId(v string) *StartCopyJobOutput
SetCopyJobId sets the CopyJobId field's value.
func (*StartCopyJobOutput) SetCreationDate ¶ added in v1.28.1
func (s *StartCopyJobOutput) SetCreationDate(v time.Time) *StartCopyJobOutput
SetCreationDate sets the CreationDate field's value.
func (StartCopyJobOutput) String ¶ added in v1.28.1
func (s StartCopyJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartReportJobInput ¶ added in v1.40.28
type StartReportJobInput struct { // A customer-chosen string that you can use to distinguish between otherwise // identical calls to StartReportJobInput. Retrying a successful request with // the same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // The unique name of a report plan. // // ReportPlanName is a required field ReportPlanName *string `location:"uri" locationName:"reportPlanName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartReportJobInput) GoString ¶ added in v1.40.28
func (s StartReportJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartReportJobInput) SetIdempotencyToken ¶ added in v1.40.28
func (s *StartReportJobInput) SetIdempotencyToken(v string) *StartReportJobInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*StartReportJobInput) SetReportPlanName ¶ added in v1.40.28
func (s *StartReportJobInput) SetReportPlanName(v string) *StartReportJobInput
SetReportPlanName sets the ReportPlanName field's value.
func (StartReportJobInput) String ¶ added in v1.40.28
func (s StartReportJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartReportJobInput) Validate ¶ added in v1.40.28
func (s *StartReportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartReportJobOutput ¶ added in v1.40.28
type StartReportJobOutput struct { // The identifier of the report job. A unique, randomly generated, Unicode, // UTF-8 encoded string that is at most 1,024 bytes long. The report job ID // cannot be edited. ReportJobId *string `type:"string"` // contains filtered or unexported fields }
func (StartReportJobOutput) GoString ¶ added in v1.40.28
func (s StartReportJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartReportJobOutput) SetReportJobId ¶ added in v1.40.28
func (s *StartReportJobOutput) SetReportJobId(v string) *StartReportJobOutput
SetReportJobId sets the ReportJobId field's value.
func (StartReportJobOutput) String ¶ added in v1.40.28
func (s StartReportJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StartRestoreJobInput ¶
type StartRestoreJobInput struct { // The Amazon Resource Name (ARN) of the IAM role that Backup uses to create // the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access. // // IamRoleArn is a required field IamRoleArn *string `type:"string" required:"true"` // A customer-chosen string that you can use to distinguish between otherwise // identical calls to StartRestoreJob. Retrying a successful request with the // same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string"` // A set of metadata key-value pairs. Contains information, such as a resource // name, required to restore a recovery point. // // You can get configuration metadata about a resource at the time it was backed // up by calling GetRecoveryPointRestoreMetadata. However, values in addition // to those provided by GetRecoveryPointRestoreMetadata might be required to // restore a resource. For example, you might need to provide a new resource // name if the original already exists. // // You need to specify specific metadata to restore an Amazon Elastic File System // (Amazon EFS) instance: // // * file-system-id: The ID of the Amazon EFS file system that is backed // up by Backup. Returned in GetRecoveryPointRestoreMetadata. // // * Encrypted: A Boolean value that, if true, specifies that the file system // is encrypted. If KmsKeyId is specified, Encrypted must be set to true. // // * KmsKeyId: Specifies the Amazon Web Services KMS key that is used to // encrypt the restored file system. You can specify a key from another Amazon // Web Services account provided that key it is properly shared with your // account via Amazon Web Services KMS. // // * PerformanceMode: Specifies the throughput mode of the file system. // // * CreationToken: A user-supplied value that ensures the uniqueness (idempotency) // of the request. // // * newFileSystem: A Boolean value that, if true, specifies that the recovery // point is restored to a new Amazon EFS file system. // // * ItemsToRestore: An array of one to five strings where each string is // a file path. Use ItemsToRestore to restore specific files or directories // rather than the entire file system. This parameter is optional. For example, // "itemsToRestore":"[\"/my.test\"]". // // Metadata is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by StartRestoreJobInput's // String and GoString methods. // // Metadata is a required field Metadata map[string]*string `type:"map" required:"true" sensitive:"true"` // An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. // // RecoveryPointArn is a required field RecoveryPointArn *string `type:"string" required:"true"` // Starts a job to restore a recovery point for one of the following resources: // // * Aurora for Amazon Aurora // // * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) // // * DynamoDB for Amazon DynamoDB // // * EBS for Amazon Elastic Block Store // // * EC2 for Amazon Elastic Compute Cloud // // * EFS for Amazon Elastic File System // // * FSx for Amazon FSx // // * Neptune for Amazon Neptune // // * RDS for Amazon Relational Database Service // // * Storage Gateway for Storage Gateway // // * S3 for Amazon S3 // // * VirtualMachine for virtual machines ResourceType *string `type:"string"` // contains filtered or unexported fields }
func (StartRestoreJobInput) GoString ¶
func (s StartRestoreJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartRestoreJobInput) SetIamRoleArn ¶
func (s *StartRestoreJobInput) SetIamRoleArn(v string) *StartRestoreJobInput
SetIamRoleArn sets the IamRoleArn field's value.
func (*StartRestoreJobInput) SetIdempotencyToken ¶
func (s *StartRestoreJobInput) SetIdempotencyToken(v string) *StartRestoreJobInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*StartRestoreJobInput) SetMetadata ¶
func (s *StartRestoreJobInput) SetMetadata(v map[string]*string) *StartRestoreJobInput
SetMetadata sets the Metadata field's value.
func (*StartRestoreJobInput) SetRecoveryPointArn ¶
func (s *StartRestoreJobInput) SetRecoveryPointArn(v string) *StartRestoreJobInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (*StartRestoreJobInput) SetResourceType ¶
func (s *StartRestoreJobInput) SetResourceType(v string) *StartRestoreJobInput
SetResourceType sets the ResourceType field's value.
func (StartRestoreJobInput) String ¶
func (s StartRestoreJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartRestoreJobInput) Validate ¶
func (s *StartRestoreJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartRestoreJobOutput ¶
type StartRestoreJobOutput struct { // Uniquely identifies the job that restores a recovery point. RestoreJobId *string `type:"string"` // contains filtered or unexported fields }
func (StartRestoreJobOutput) GoString ¶
func (s StartRestoreJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartRestoreJobOutput) SetRestoreJobId ¶
func (s *StartRestoreJobOutput) SetRestoreJobId(v string) *StartRestoreJobOutput
SetRestoreJobId sets the RestoreJobId field's value.
func (StartRestoreJobOutput) String ¶
func (s StartRestoreJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopBackupJobInput ¶
type StopBackupJobInput struct { // Uniquely identifies a request to Backup to back up a resource. // // BackupJobId is a required field BackupJobId *string `location:"uri" locationName:"backupJobId" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopBackupJobInput) GoString ¶
func (s StopBackupJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopBackupJobInput) SetBackupJobId ¶
func (s *StopBackupJobInput) SetBackupJobId(v string) *StopBackupJobInput
SetBackupJobId sets the BackupJobId field's value.
func (StopBackupJobInput) String ¶
func (s StopBackupJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopBackupJobInput) Validate ¶
func (s *StopBackupJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopBackupJobOutput ¶
type StopBackupJobOutput struct {
// contains filtered or unexported fields
}
func (StopBackupJobOutput) GoString ¶
func (s StopBackupJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StopBackupJobOutput) String ¶
func (s StopBackupJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
type TagResourceInput struct { // An ARN that uniquely identifies a resource. The format of the ARN depends // on the type of the tagged resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // Key-value pairs that are used to help organize your resources. You can assign // your own metadata to the resources you create. For clarity, this is the structure // to assign tags: [{"Key":"string","Value":"string"}]. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TagResourceInput's // String and GoString methods. // // Tags is a required field Tags map[string]*string `type:"map" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // An ARN that uniquely identifies a resource. The format of the ARN depends // on the type of the tagged resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // A list of keys to identify which key-value tags to remove from a resource. // // TagKeyList is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UntagResourceInput's // String and GoString methods. // // TagKeyList is a required field TagKeyList []*string `type:"list" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeyList ¶
func (s *UntagResourceInput) SetTagKeyList(v []*string) *UntagResourceInput
SetTagKeyList sets the TagKeyList field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateBackupPlanInput ¶
type UpdateBackupPlanInput struct { // Specifies the body of a backup plan. Includes a BackupPlanName and one or // more sets of Rules. // // BackupPlan is a required field BackupPlan *PlanInput `type:"structure" required:"true"` // Uniquely identifies a backup plan. // // BackupPlanId is a required field BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateBackupPlanInput) GoString ¶
func (s UpdateBackupPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateBackupPlanInput) SetBackupPlan ¶
func (s *UpdateBackupPlanInput) SetBackupPlan(v *PlanInput) *UpdateBackupPlanInput
SetBackupPlan sets the BackupPlan field's value.
func (*UpdateBackupPlanInput) SetBackupPlanId ¶
func (s *UpdateBackupPlanInput) SetBackupPlanId(v string) *UpdateBackupPlanInput
SetBackupPlanId sets the BackupPlanId field's value.
func (UpdateBackupPlanInput) String ¶
func (s UpdateBackupPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateBackupPlanInput) Validate ¶
func (s *UpdateBackupPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateBackupPlanOutput ¶
type UpdateBackupPlanOutput struct { // Contains a list of BackupOptions for each resource type. AdvancedBackupSettings []*AdvancedBackupSetting `type:"list"` // 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 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 // 1,024 bytes long. Version Ids cannot be edited. VersionId *string `type:"string"` // contains filtered or unexported fields }
func (UpdateBackupPlanOutput) GoString ¶
func (s UpdateBackupPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateBackupPlanOutput) SetAdvancedBackupSettings ¶ added in v1.34.30
func (s *UpdateBackupPlanOutput) SetAdvancedBackupSettings(v []*AdvancedBackupSetting) *UpdateBackupPlanOutput
SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value.
func (*UpdateBackupPlanOutput) SetBackupPlanArn ¶
func (s *UpdateBackupPlanOutput) SetBackupPlanArn(v string) *UpdateBackupPlanOutput
SetBackupPlanArn sets the BackupPlanArn field's value.
func (*UpdateBackupPlanOutput) SetBackupPlanId ¶
func (s *UpdateBackupPlanOutput) SetBackupPlanId(v string) *UpdateBackupPlanOutput
SetBackupPlanId sets the BackupPlanId field's value.
func (*UpdateBackupPlanOutput) SetCreationDate ¶
func (s *UpdateBackupPlanOutput) SetCreationDate(v time.Time) *UpdateBackupPlanOutput
SetCreationDate sets the CreationDate field's value.
func (*UpdateBackupPlanOutput) SetVersionId ¶
func (s *UpdateBackupPlanOutput) SetVersionId(v string) *UpdateBackupPlanOutput
SetVersionId sets the VersionId field's value.
func (UpdateBackupPlanOutput) String ¶
func (s UpdateBackupPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateFrameworkInput ¶ added in v1.40.28
type UpdateFrameworkInput struct { // A list of the controls that make up the framework. Each control in the list // has a name, input parameters, and scope. FrameworkControls []*FrameworkControl `type:"list"` // An optional description of the framework with a maximum 1,024 characters. FrameworkDescription *string `type:"string"` // The unique name of a framework. This name is between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). // // FrameworkName is a required field FrameworkName *string `location:"uri" locationName:"frameworkName" min:"1" type:"string" required:"true"` // A customer-chosen string that you can use to distinguish between otherwise // identical calls to UpdateFrameworkInput. Retrying a successful request with // the same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // contains filtered or unexported fields }
func (UpdateFrameworkInput) GoString ¶ added in v1.40.28
func (s UpdateFrameworkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFrameworkInput) SetFrameworkControls ¶ added in v1.40.28
func (s *UpdateFrameworkInput) SetFrameworkControls(v []*FrameworkControl) *UpdateFrameworkInput
SetFrameworkControls sets the FrameworkControls field's value.
func (*UpdateFrameworkInput) SetFrameworkDescription ¶ added in v1.40.28
func (s *UpdateFrameworkInput) SetFrameworkDescription(v string) *UpdateFrameworkInput
SetFrameworkDescription sets the FrameworkDescription field's value.
func (*UpdateFrameworkInput) SetFrameworkName ¶ added in v1.40.28
func (s *UpdateFrameworkInput) SetFrameworkName(v string) *UpdateFrameworkInput
SetFrameworkName sets the FrameworkName field's value.
func (*UpdateFrameworkInput) SetIdempotencyToken ¶ added in v1.40.28
func (s *UpdateFrameworkInput) SetIdempotencyToken(v string) *UpdateFrameworkInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (UpdateFrameworkInput) String ¶ added in v1.40.28
func (s UpdateFrameworkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFrameworkInput) Validate ¶ added in v1.40.28
func (s *UpdateFrameworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFrameworkOutput ¶ added in v1.40.28
type UpdateFrameworkOutput struct { // The date and time that a framework is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. FrameworkArn *string `type:"string"` // The unique name of a framework. This name is between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). FrameworkName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateFrameworkOutput) GoString ¶ added in v1.40.28
func (s UpdateFrameworkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFrameworkOutput) SetCreationTime ¶ added in v1.40.28
func (s *UpdateFrameworkOutput) SetCreationTime(v time.Time) *UpdateFrameworkOutput
SetCreationTime sets the CreationTime field's value.
func (*UpdateFrameworkOutput) SetFrameworkArn ¶ added in v1.40.28
func (s *UpdateFrameworkOutput) SetFrameworkArn(v string) *UpdateFrameworkOutput
SetFrameworkArn sets the FrameworkArn field's value.
func (*UpdateFrameworkOutput) SetFrameworkName ¶ added in v1.40.28
func (s *UpdateFrameworkOutput) SetFrameworkName(v string) *UpdateFrameworkOutput
SetFrameworkName sets the FrameworkName field's value.
func (UpdateFrameworkOutput) String ¶ added in v1.40.28
func (s UpdateFrameworkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateGlobalSettingsInput ¶ added in v1.35.31
type UpdateGlobalSettingsInput struct { // A value for isCrossAccountBackupEnabled and a Region. Example: update-global-settings // --global-settings isCrossAccountBackupEnabled=false --region us-west-2. GlobalSettings map[string]*string `type:"map"` // contains filtered or unexported fields }
func (UpdateGlobalSettingsInput) GoString ¶ added in v1.35.31
func (s UpdateGlobalSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateGlobalSettingsInput) SetGlobalSettings ¶ added in v1.35.31
func (s *UpdateGlobalSettingsInput) SetGlobalSettings(v map[string]*string) *UpdateGlobalSettingsInput
SetGlobalSettings sets the GlobalSettings field's value.
func (UpdateGlobalSettingsInput) String ¶ added in v1.35.31
func (s UpdateGlobalSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateGlobalSettingsOutput ¶ added in v1.35.31
type UpdateGlobalSettingsOutput struct {
// contains filtered or unexported fields
}
func (UpdateGlobalSettingsOutput) GoString ¶ added in v1.35.31
func (s UpdateGlobalSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateGlobalSettingsOutput) String ¶ added in v1.35.31
func (s UpdateGlobalSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateRecoveryPointLifecycleInput ¶
type UpdateRecoveryPointLifecycleInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. // // BackupVaultName is a required field BackupVaultName *string `location:"uri" locationName:"backupVaultName" type:"string" required:"true"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. 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 “retention” setting must be 90 days // greater than the “transition to cold after days” setting. The “transition // to cold after days” setting cannot be changed after a backup has been transitioned // to cold. Lifecycle *Lifecycle `type:"structure"` // An Amazon Resource Name (ARN) that uniquely identifies a recovery point; // for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. // // RecoveryPointArn is a required field RecoveryPointArn *string `location:"uri" locationName:"recoveryPointArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateRecoveryPointLifecycleInput) GoString ¶
func (s UpdateRecoveryPointLifecycleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateRecoveryPointLifecycleInput) SetBackupVaultName ¶
func (s *UpdateRecoveryPointLifecycleInput) SetBackupVaultName(v string) *UpdateRecoveryPointLifecycleInput
SetBackupVaultName sets the BackupVaultName field's value.
func (*UpdateRecoveryPointLifecycleInput) SetLifecycle ¶
func (s *UpdateRecoveryPointLifecycleInput) SetLifecycle(v *Lifecycle) *UpdateRecoveryPointLifecycleInput
SetLifecycle sets the Lifecycle field's value.
func (*UpdateRecoveryPointLifecycleInput) SetRecoveryPointArn ¶
func (s *UpdateRecoveryPointLifecycleInput) SetRecoveryPointArn(v string) *UpdateRecoveryPointLifecycleInput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (UpdateRecoveryPointLifecycleInput) String ¶
func (s UpdateRecoveryPointLifecycleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateRecoveryPointLifecycleInput) Validate ¶
func (s *UpdateRecoveryPointLifecycleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRecoveryPointLifecycleOutput ¶
type UpdateRecoveryPointLifecycleOutput struct { // An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt // timestamps. CalculatedLifecycle *CalculatedLifecycle `type:"structure"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. 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 “retention” 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. // // Only resource types that support full Backup management can transition their // backups to cold storage. Those resource types are listed in the "Full Backup // management" section of the Feature availability by resource (https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource) // table. Backup ignores this expression for other resource types. Lifecycle *Lifecycle `type:"structure"` // An Amazon Resource Name (ARN) that uniquely identifies a recovery point; // for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. RecoveryPointArn *string `type:"string"` // contains filtered or unexported fields }
func (UpdateRecoveryPointLifecycleOutput) GoString ¶
func (s UpdateRecoveryPointLifecycleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateRecoveryPointLifecycleOutput) SetBackupVaultArn ¶
func (s *UpdateRecoveryPointLifecycleOutput) SetBackupVaultArn(v string) *UpdateRecoveryPointLifecycleOutput
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*UpdateRecoveryPointLifecycleOutput) SetCalculatedLifecycle ¶
func (s *UpdateRecoveryPointLifecycleOutput) SetCalculatedLifecycle(v *CalculatedLifecycle) *UpdateRecoveryPointLifecycleOutput
SetCalculatedLifecycle sets the CalculatedLifecycle field's value.
func (*UpdateRecoveryPointLifecycleOutput) SetLifecycle ¶
func (s *UpdateRecoveryPointLifecycleOutput) SetLifecycle(v *Lifecycle) *UpdateRecoveryPointLifecycleOutput
SetLifecycle sets the Lifecycle field's value.
func (*UpdateRecoveryPointLifecycleOutput) SetRecoveryPointArn ¶
func (s *UpdateRecoveryPointLifecycleOutput) SetRecoveryPointArn(v string) *UpdateRecoveryPointLifecycleOutput
SetRecoveryPointArn sets the RecoveryPointArn field's value.
func (UpdateRecoveryPointLifecycleOutput) String ¶
func (s UpdateRecoveryPointLifecycleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateRegionSettingsInput ¶ added in v1.31.2
type UpdateRegionSettingsInput struct { // Enables or disables full Backup management of backups for a resource type. // To enable full Backup management for DynamoDB along with Backup's advanced // DynamoDB backup features (https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html), // follow the procedure to enable advanced DynamoDB backup programmatically // (https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli). ResourceTypeManagementPreference map[string]*bool `type:"map"` // Updates the list of services along with the opt-in preferences for the Region. ResourceTypeOptInPreference map[string]*bool `type:"map"` // contains filtered or unexported fields }
func (UpdateRegionSettingsInput) GoString ¶ added in v1.31.2
func (s UpdateRegionSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateRegionSettingsInput) SetResourceTypeManagementPreference ¶ added in v1.42.11
func (s *UpdateRegionSettingsInput) SetResourceTypeManagementPreference(v map[string]*bool) *UpdateRegionSettingsInput
SetResourceTypeManagementPreference sets the ResourceTypeManagementPreference field's value.
func (*UpdateRegionSettingsInput) SetResourceTypeOptInPreference ¶ added in v1.31.2
func (s *UpdateRegionSettingsInput) SetResourceTypeOptInPreference(v map[string]*bool) *UpdateRegionSettingsInput
SetResourceTypeOptInPreference sets the ResourceTypeOptInPreference field's value.
func (UpdateRegionSettingsInput) String ¶ added in v1.31.2
func (s UpdateRegionSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateRegionSettingsOutput ¶ added in v1.31.2
type UpdateRegionSettingsOutput struct {
// contains filtered or unexported fields
}
func (UpdateRegionSettingsOutput) GoString ¶ added in v1.31.2
func (s UpdateRegionSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateRegionSettingsOutput) String ¶ added in v1.31.2
func (s UpdateRegionSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateReportPlanInput ¶ added in v1.40.28
type UpdateReportPlanInput struct { // A customer-chosen string that you can use to distinguish between otherwise // identical calls to UpdateReportPlanInput. Retrying a successful request with // the same idempotency token results in a success message with no action taken. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // A structure that contains information about where to deliver your reports, // specifically your Amazon S3 bucket name, S3 key prefix, and the formats of // your reports. ReportDeliveryChannel *ReportDeliveryChannel `type:"structure"` // An optional description of the report plan with a maximum 1,024 characters. ReportPlanDescription *string `type:"string"` // The unique name of the report plan. This name is between 1 and 256 characters, // starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), // and underscores (_). // // ReportPlanName is a required field ReportPlanName *string `location:"uri" locationName:"reportPlanName" min:"1" type:"string" required:"true"` // Identifies the report template for the report. Reports are built using a // report template. The report templates are: // // RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT // | COPY_JOB_REPORT | RESTORE_JOB_REPORT // // If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, // this API resource also describes the report coverage by Amazon Web Services // Regions and frameworks. ReportSetting *ReportSetting `type:"structure"` // contains filtered or unexported fields }
func (UpdateReportPlanInput) GoString ¶ added in v1.40.28
func (s UpdateReportPlanInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateReportPlanInput) SetIdempotencyToken ¶ added in v1.40.28
func (s *UpdateReportPlanInput) SetIdempotencyToken(v string) *UpdateReportPlanInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*UpdateReportPlanInput) SetReportDeliveryChannel ¶ added in v1.40.28
func (s *UpdateReportPlanInput) SetReportDeliveryChannel(v *ReportDeliveryChannel) *UpdateReportPlanInput
SetReportDeliveryChannel sets the ReportDeliveryChannel field's value.
func (*UpdateReportPlanInput) SetReportPlanDescription ¶ added in v1.40.28
func (s *UpdateReportPlanInput) SetReportPlanDescription(v string) *UpdateReportPlanInput
SetReportPlanDescription sets the ReportPlanDescription field's value.
func (*UpdateReportPlanInput) SetReportPlanName ¶ added in v1.40.28
func (s *UpdateReportPlanInput) SetReportPlanName(v string) *UpdateReportPlanInput
SetReportPlanName sets the ReportPlanName field's value.
func (*UpdateReportPlanInput) SetReportSetting ¶ added in v1.40.28
func (s *UpdateReportPlanInput) SetReportSetting(v *ReportSetting) *UpdateReportPlanInput
SetReportSetting sets the ReportSetting field's value.
func (UpdateReportPlanInput) String ¶ added in v1.40.28
func (s UpdateReportPlanInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateReportPlanInput) Validate ¶ added in v1.40.28
func (s *UpdateReportPlanInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateReportPlanOutput ¶ added in v1.40.28
type UpdateReportPlanOutput struct { // The date and time that a report plan is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationTime is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationTime *time.Time `type:"timestamp"` // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ReportPlanArn *string `type:"string"` // The unique name of the report plan. ReportPlanName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateReportPlanOutput) GoString ¶ added in v1.40.28
func (s UpdateReportPlanOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateReportPlanOutput) SetCreationTime ¶ added in v1.40.28
func (s *UpdateReportPlanOutput) SetCreationTime(v time.Time) *UpdateReportPlanOutput
SetCreationTime sets the CreationTime field's value.
func (*UpdateReportPlanOutput) SetReportPlanArn ¶ added in v1.40.28
func (s *UpdateReportPlanOutput) SetReportPlanArn(v string) *UpdateReportPlanOutput
SetReportPlanArn sets the ReportPlanArn field's value.
func (*UpdateReportPlanOutput) SetReportPlanName ¶ added in v1.40.28
func (s *UpdateReportPlanOutput) SetReportPlanName(v string) *UpdateReportPlanOutput
SetReportPlanName sets the ReportPlanName field's value.
func (UpdateReportPlanOutput) String ¶ added in v1.40.28
func (s UpdateReportPlanOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VaultListMember ¶
type VaultListMember struct { // An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for // example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and // the Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. BackupVaultName *string `type:"string"` // The date and time a resource backup is created, in Unix format and Coordinated // Universal Time (UTC). The value of CreationDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CreationDate *time.Time `type:"timestamp"` // A unique string that identifies the request and allows failed requests to // be retried without the risk of running the operation twice. This parameter // is optional. // // If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters. CreatorRequestId *string `type:"string"` // A server-side encryption key you can specify to encrypt your backups from // services that support full Backup management; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. // If you specify a key, you must specify its ARN, not its alias. If you do // not specify a key, Backup creates a KMS key for you by default. // // To learn which Backup services support full Backup management and how Backup // handles encryption for backups from services that do not yet support full // Backup, see Encryption for backups in Backup (https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html) EncryptionKeyArn *string `type:"string"` // The date and time when Backup Vault Lock configuration becomes immutable, // meaning it cannot be changed or deleted. // // If you applied Vault Lock to your vault without specifying a lock date, you // can change your Vault Lock settings, or delete Vault Lock from the vault // entirely, at any time. // // This value is in Unix format, Coordinated Universal Time (UTC), and accurate // to milliseconds. For example, the value 1516925490.087 represents Friday, // January 26, 2018 12:11:30.087 AM. LockDate *time.Time `type:"timestamp"` // A Boolean value that indicates whether Backup Vault Lock applies to the selected // backup vault. If true, Vault Lock prevents delete and update operations on // the recovery points in the selected vault. Locked *bool `type:"boolean"` // The Backup Vault Lock setting that specifies the maximum retention period // that the vault retains its recovery points. If this parameter is not specified, // Vault Lock does not enforce a maximum retention period on the recovery points // in the vault (allowing indefinite storage). // // If specified, any backup or copy job to the vault must have a lifecycle policy // with a retention period equal to or shorter than the maximum retention period. // If the job's retention period is longer than that maximum retention period, // then the vault fails the backup or copy job, and you should either modify // your lifecycle settings or use a different vault. Recovery points already // stored in the vault prior to Vault Lock are not affected. MaxRetentionDays *int64 `type:"long"` // The Backup Vault Lock setting that specifies the minimum retention period // that the vault retains its recovery points. If this parameter is not specified, // Vault Lock does not enforce a minimum retention period. // // If specified, any backup or copy job to the vault must have a lifecycle policy // with a retention period equal to or longer than the minimum retention period. // If the job's retention period is shorter than that minimum retention period, // then the vault fails the backup or copy job, and you should either modify // your lifecycle settings or use a different vault. Recovery points already // stored in the vault prior to Vault Lock are not affected. MinRetentionDays *int64 `type:"long"` // The number of recovery points that are stored in a backup vault. NumberOfRecoveryPoints *int64 `type:"long"` // contains filtered or unexported fields }
Contains metadata about a backup vault.
func (VaultListMember) GoString ¶
func (s VaultListMember) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VaultListMember) SetBackupVaultArn ¶
func (s *VaultListMember) SetBackupVaultArn(v string) *VaultListMember
SetBackupVaultArn sets the BackupVaultArn field's value.
func (*VaultListMember) SetBackupVaultName ¶
func (s *VaultListMember) SetBackupVaultName(v string) *VaultListMember
SetBackupVaultName sets the BackupVaultName field's value.
func (*VaultListMember) SetCreationDate ¶
func (s *VaultListMember) SetCreationDate(v time.Time) *VaultListMember
SetCreationDate sets the CreationDate field's value.
func (*VaultListMember) SetCreatorRequestId ¶
func (s *VaultListMember) SetCreatorRequestId(v string) *VaultListMember
SetCreatorRequestId sets the CreatorRequestId field's value.
func (*VaultListMember) SetEncryptionKeyArn ¶
func (s *VaultListMember) SetEncryptionKeyArn(v string) *VaultListMember
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*VaultListMember) SetLockDate ¶ added in v1.40.58
func (s *VaultListMember) SetLockDate(v time.Time) *VaultListMember
SetLockDate sets the LockDate field's value.
func (*VaultListMember) SetLocked ¶ added in v1.40.58
func (s *VaultListMember) SetLocked(v bool) *VaultListMember
SetLocked sets the Locked field's value.
func (*VaultListMember) SetMaxRetentionDays ¶ added in v1.40.58
func (s *VaultListMember) SetMaxRetentionDays(v int64) *VaultListMember
SetMaxRetentionDays sets the MaxRetentionDays field's value.
func (*VaultListMember) SetMinRetentionDays ¶ added in v1.40.58
func (s *VaultListMember) SetMinRetentionDays(v int64) *VaultListMember
SetMinRetentionDays sets the MinRetentionDays field's value.
func (*VaultListMember) SetNumberOfRecoveryPoints ¶
func (s *VaultListMember) SetNumberOfRecoveryPoints(v int64) *VaultListMember
SetNumberOfRecoveryPoints sets the NumberOfRecoveryPoints field's value.
func (VaultListMember) String ¶
func (s VaultListMember) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package backupiface provides an interface to enable mocking the AWS Backup service client for testing your code.
|
Package backupiface provides an interface to enable mocking the AWS Backup service client for testing your code. |