Documentation ¶
Overview ¶
Package backup provides the API client, operations, and parameter types for AWS Backup.
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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type CancelLegalHoldInput
- type CancelLegalHoldOutput
- type Client
- func (c *Client) CancelLegalHold(ctx context.Context, params *CancelLegalHoldInput, optFns ...func(*Options)) (*CancelLegalHoldOutput, error)
- func (c *Client) CreateBackupPlan(ctx context.Context, params *CreateBackupPlanInput, optFns ...func(*Options)) (*CreateBackupPlanOutput, error)
- func (c *Client) CreateBackupSelection(ctx context.Context, params *CreateBackupSelectionInput, ...) (*CreateBackupSelectionOutput, error)
- func (c *Client) CreateBackupVault(ctx context.Context, params *CreateBackupVaultInput, optFns ...func(*Options)) (*CreateBackupVaultOutput, error)
- func (c *Client) CreateFramework(ctx context.Context, params *CreateFrameworkInput, optFns ...func(*Options)) (*CreateFrameworkOutput, error)
- func (c *Client) CreateLegalHold(ctx context.Context, params *CreateLegalHoldInput, optFns ...func(*Options)) (*CreateLegalHoldOutput, error)
- func (c *Client) CreateLogicallyAirGappedBackupVault(ctx context.Context, params *CreateLogicallyAirGappedBackupVaultInput, ...) (*CreateLogicallyAirGappedBackupVaultOutput, error)
- func (c *Client) CreateReportPlan(ctx context.Context, params *CreateReportPlanInput, optFns ...func(*Options)) (*CreateReportPlanOutput, error)
- func (c *Client) CreateRestoreTestingPlan(ctx context.Context, params *CreateRestoreTestingPlanInput, ...) (*CreateRestoreTestingPlanOutput, error)
- func (c *Client) CreateRestoreTestingSelection(ctx context.Context, params *CreateRestoreTestingSelectionInput, ...) (*CreateRestoreTestingSelectionOutput, error)
- func (c *Client) DeleteBackupPlan(ctx context.Context, params *DeleteBackupPlanInput, optFns ...func(*Options)) (*DeleteBackupPlanOutput, error)
- func (c *Client) DeleteBackupSelection(ctx context.Context, params *DeleteBackupSelectionInput, ...) (*DeleteBackupSelectionOutput, error)
- func (c *Client) DeleteBackupVault(ctx context.Context, params *DeleteBackupVaultInput, optFns ...func(*Options)) (*DeleteBackupVaultOutput, error)
- func (c *Client) DeleteBackupVaultAccessPolicy(ctx context.Context, params *DeleteBackupVaultAccessPolicyInput, ...) (*DeleteBackupVaultAccessPolicyOutput, error)
- func (c *Client) DeleteBackupVaultLockConfiguration(ctx context.Context, params *DeleteBackupVaultLockConfigurationInput, ...) (*DeleteBackupVaultLockConfigurationOutput, error)
- func (c *Client) DeleteBackupVaultNotifications(ctx context.Context, params *DeleteBackupVaultNotificationsInput, ...) (*DeleteBackupVaultNotificationsOutput, error)
- func (c *Client) DeleteFramework(ctx context.Context, params *DeleteFrameworkInput, optFns ...func(*Options)) (*DeleteFrameworkOutput, error)
- func (c *Client) DeleteRecoveryPoint(ctx context.Context, params *DeleteRecoveryPointInput, ...) (*DeleteRecoveryPointOutput, error)
- func (c *Client) DeleteReportPlan(ctx context.Context, params *DeleteReportPlanInput, optFns ...func(*Options)) (*DeleteReportPlanOutput, error)
- func (c *Client) DeleteRestoreTestingPlan(ctx context.Context, params *DeleteRestoreTestingPlanInput, ...) (*DeleteRestoreTestingPlanOutput, error)
- func (c *Client) DeleteRestoreTestingSelection(ctx context.Context, params *DeleteRestoreTestingSelectionInput, ...) (*DeleteRestoreTestingSelectionOutput, error)
- func (c *Client) DescribeBackupJob(ctx context.Context, params *DescribeBackupJobInput, optFns ...func(*Options)) (*DescribeBackupJobOutput, error)
- func (c *Client) DescribeBackupVault(ctx context.Context, params *DescribeBackupVaultInput, ...) (*DescribeBackupVaultOutput, error)
- func (c *Client) DescribeCopyJob(ctx context.Context, params *DescribeCopyJobInput, optFns ...func(*Options)) (*DescribeCopyJobOutput, error)
- func (c *Client) DescribeFramework(ctx context.Context, params *DescribeFrameworkInput, optFns ...func(*Options)) (*DescribeFrameworkOutput, error)
- func (c *Client) DescribeGlobalSettings(ctx context.Context, params *DescribeGlobalSettingsInput, ...) (*DescribeGlobalSettingsOutput, error)
- func (c *Client) DescribeProtectedResource(ctx context.Context, params *DescribeProtectedResourceInput, ...) (*DescribeProtectedResourceOutput, error)
- func (c *Client) DescribeRecoveryPoint(ctx context.Context, params *DescribeRecoveryPointInput, ...) (*DescribeRecoveryPointOutput, error)
- func (c *Client) DescribeRegionSettings(ctx context.Context, params *DescribeRegionSettingsInput, ...) (*DescribeRegionSettingsOutput, error)
- func (c *Client) DescribeReportJob(ctx context.Context, params *DescribeReportJobInput, optFns ...func(*Options)) (*DescribeReportJobOutput, error)
- func (c *Client) DescribeReportPlan(ctx context.Context, params *DescribeReportPlanInput, optFns ...func(*Options)) (*DescribeReportPlanOutput, error)
- func (c *Client) DescribeRestoreJob(ctx context.Context, params *DescribeRestoreJobInput, optFns ...func(*Options)) (*DescribeRestoreJobOutput, error)
- func (c *Client) DisassociateRecoveryPoint(ctx context.Context, params *DisassociateRecoveryPointInput, ...) (*DisassociateRecoveryPointOutput, error)
- func (c *Client) DisassociateRecoveryPointFromParent(ctx context.Context, params *DisassociateRecoveryPointFromParentInput, ...) (*DisassociateRecoveryPointFromParentOutput, error)
- func (c *Client) ExportBackupPlanTemplate(ctx context.Context, params *ExportBackupPlanTemplateInput, ...) (*ExportBackupPlanTemplateOutput, error)
- func (c *Client) GetBackupPlan(ctx context.Context, params *GetBackupPlanInput, optFns ...func(*Options)) (*GetBackupPlanOutput, error)
- func (c *Client) GetBackupPlanFromJSON(ctx context.Context, params *GetBackupPlanFromJSONInput, ...) (*GetBackupPlanFromJSONOutput, error)
- func (c *Client) GetBackupPlanFromTemplate(ctx context.Context, params *GetBackupPlanFromTemplateInput, ...) (*GetBackupPlanFromTemplateOutput, error)
- func (c *Client) GetBackupSelection(ctx context.Context, params *GetBackupSelectionInput, optFns ...func(*Options)) (*GetBackupSelectionOutput, error)
- func (c *Client) GetBackupVaultAccessPolicy(ctx context.Context, params *GetBackupVaultAccessPolicyInput, ...) (*GetBackupVaultAccessPolicyOutput, error)
- func (c *Client) GetBackupVaultNotifications(ctx context.Context, params *GetBackupVaultNotificationsInput, ...) (*GetBackupVaultNotificationsOutput, error)
- func (c *Client) GetLegalHold(ctx context.Context, params *GetLegalHoldInput, optFns ...func(*Options)) (*GetLegalHoldOutput, error)
- func (c *Client) GetRecoveryPointRestoreMetadata(ctx context.Context, params *GetRecoveryPointRestoreMetadataInput, ...) (*GetRecoveryPointRestoreMetadataOutput, error)
- func (c *Client) GetRestoreJobMetadata(ctx context.Context, params *GetRestoreJobMetadataInput, ...) (*GetRestoreJobMetadataOutput, error)
- func (c *Client) GetRestoreTestingInferredMetadata(ctx context.Context, params *GetRestoreTestingInferredMetadataInput, ...) (*GetRestoreTestingInferredMetadataOutput, error)
- func (c *Client) GetRestoreTestingPlan(ctx context.Context, params *GetRestoreTestingPlanInput, ...) (*GetRestoreTestingPlanOutput, error)
- func (c *Client) GetRestoreTestingSelection(ctx context.Context, params *GetRestoreTestingSelectionInput, ...) (*GetRestoreTestingSelectionOutput, error)
- func (c *Client) GetSupportedResourceTypes(ctx context.Context, params *GetSupportedResourceTypesInput, ...) (*GetSupportedResourceTypesOutput, error)
- func (c *Client) ListBackupJobSummaries(ctx context.Context, params *ListBackupJobSummariesInput, ...) (*ListBackupJobSummariesOutput, error)
- func (c *Client) ListBackupJobs(ctx context.Context, params *ListBackupJobsInput, optFns ...func(*Options)) (*ListBackupJobsOutput, error)
- func (c *Client) ListBackupPlanTemplates(ctx context.Context, params *ListBackupPlanTemplatesInput, ...) (*ListBackupPlanTemplatesOutput, error)
- func (c *Client) ListBackupPlanVersions(ctx context.Context, params *ListBackupPlanVersionsInput, ...) (*ListBackupPlanVersionsOutput, error)
- func (c *Client) ListBackupPlans(ctx context.Context, params *ListBackupPlansInput, optFns ...func(*Options)) (*ListBackupPlansOutput, error)
- func (c *Client) ListBackupSelections(ctx context.Context, params *ListBackupSelectionsInput, ...) (*ListBackupSelectionsOutput, error)
- func (c *Client) ListBackupVaults(ctx context.Context, params *ListBackupVaultsInput, optFns ...func(*Options)) (*ListBackupVaultsOutput, error)
- func (c *Client) ListCopyJobSummaries(ctx context.Context, params *ListCopyJobSummariesInput, ...) (*ListCopyJobSummariesOutput, error)
- func (c *Client) ListCopyJobs(ctx context.Context, params *ListCopyJobsInput, optFns ...func(*Options)) (*ListCopyJobsOutput, error)
- func (c *Client) ListFrameworks(ctx context.Context, params *ListFrameworksInput, optFns ...func(*Options)) (*ListFrameworksOutput, error)
- func (c *Client) ListLegalHolds(ctx context.Context, params *ListLegalHoldsInput, optFns ...func(*Options)) (*ListLegalHoldsOutput, error)
- func (c *Client) ListProtectedResources(ctx context.Context, params *ListProtectedResourcesInput, ...) (*ListProtectedResourcesOutput, error)
- func (c *Client) ListProtectedResourcesByBackupVault(ctx context.Context, params *ListProtectedResourcesByBackupVaultInput, ...) (*ListProtectedResourcesByBackupVaultOutput, error)
- func (c *Client) ListRecoveryPointsByBackupVault(ctx context.Context, params *ListRecoveryPointsByBackupVaultInput, ...) (*ListRecoveryPointsByBackupVaultOutput, error)
- func (c *Client) ListRecoveryPointsByLegalHold(ctx context.Context, params *ListRecoveryPointsByLegalHoldInput, ...) (*ListRecoveryPointsByLegalHoldOutput, error)
- func (c *Client) ListRecoveryPointsByResource(ctx context.Context, params *ListRecoveryPointsByResourceInput, ...) (*ListRecoveryPointsByResourceOutput, error)
- func (c *Client) ListReportJobs(ctx context.Context, params *ListReportJobsInput, optFns ...func(*Options)) (*ListReportJobsOutput, error)
- func (c *Client) ListReportPlans(ctx context.Context, params *ListReportPlansInput, optFns ...func(*Options)) (*ListReportPlansOutput, error)
- func (c *Client) ListRestoreJobSummaries(ctx context.Context, params *ListRestoreJobSummariesInput, ...) (*ListRestoreJobSummariesOutput, error)
- func (c *Client) ListRestoreJobs(ctx context.Context, params *ListRestoreJobsInput, optFns ...func(*Options)) (*ListRestoreJobsOutput, error)
- func (c *Client) ListRestoreJobsByProtectedResource(ctx context.Context, params *ListRestoreJobsByProtectedResourceInput, ...) (*ListRestoreJobsByProtectedResourceOutput, error)
- func (c *Client) ListRestoreTestingPlans(ctx context.Context, params *ListRestoreTestingPlansInput, ...) (*ListRestoreTestingPlansOutput, error)
- func (c *Client) ListRestoreTestingSelections(ctx context.Context, params *ListRestoreTestingSelectionsInput, ...) (*ListRestoreTestingSelectionsOutput, error)
- func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutBackupVaultAccessPolicy(ctx context.Context, params *PutBackupVaultAccessPolicyInput, ...) (*PutBackupVaultAccessPolicyOutput, error)
- func (c *Client) PutBackupVaultLockConfiguration(ctx context.Context, params *PutBackupVaultLockConfigurationInput, ...) (*PutBackupVaultLockConfigurationOutput, error)
- func (c *Client) PutBackupVaultNotifications(ctx context.Context, params *PutBackupVaultNotificationsInput, ...) (*PutBackupVaultNotificationsOutput, error)
- func (c *Client) PutRestoreValidationResult(ctx context.Context, params *PutRestoreValidationResultInput, ...) (*PutRestoreValidationResultOutput, error)
- func (c *Client) StartBackupJob(ctx context.Context, params *StartBackupJobInput, optFns ...func(*Options)) (*StartBackupJobOutput, error)
- func (c *Client) StartCopyJob(ctx context.Context, params *StartCopyJobInput, optFns ...func(*Options)) (*StartCopyJobOutput, error)
- func (c *Client) StartReportJob(ctx context.Context, params *StartReportJobInput, optFns ...func(*Options)) (*StartReportJobOutput, error)
- func (c *Client) StartRestoreJob(ctx context.Context, params *StartRestoreJobInput, optFns ...func(*Options)) (*StartRestoreJobOutput, error)
- func (c *Client) StopBackupJob(ctx context.Context, params *StopBackupJobInput, optFns ...func(*Options)) (*StopBackupJobOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateBackupPlan(ctx context.Context, params *UpdateBackupPlanInput, optFns ...func(*Options)) (*UpdateBackupPlanOutput, error)
- func (c *Client) UpdateFramework(ctx context.Context, params *UpdateFrameworkInput, optFns ...func(*Options)) (*UpdateFrameworkOutput, error)
- func (c *Client) UpdateGlobalSettings(ctx context.Context, params *UpdateGlobalSettingsInput, ...) (*UpdateGlobalSettingsOutput, error)
- func (c *Client) UpdateRecoveryPointLifecycle(ctx context.Context, params *UpdateRecoveryPointLifecycleInput, ...) (*UpdateRecoveryPointLifecycleOutput, error)
- func (c *Client) UpdateRegionSettings(ctx context.Context, params *UpdateRegionSettingsInput, ...) (*UpdateRegionSettingsOutput, error)
- func (c *Client) UpdateReportPlan(ctx context.Context, params *UpdateReportPlanInput, optFns ...func(*Options)) (*UpdateReportPlanOutput, error)
- func (c *Client) UpdateRestoreTestingPlan(ctx context.Context, params *UpdateRestoreTestingPlanInput, ...) (*UpdateRestoreTestingPlanOutput, error)
- func (c *Client) UpdateRestoreTestingSelection(ctx context.Context, params *UpdateRestoreTestingSelectionInput, ...) (*UpdateRestoreTestingSelectionOutput, error)
- type CreateBackupPlanInput
- type CreateBackupPlanOutput
- type CreateBackupSelectionInput
- type CreateBackupSelectionOutput
- type CreateBackupVaultInput
- type CreateBackupVaultOutput
- type CreateFrameworkInput
- type CreateFrameworkOutput
- type CreateLegalHoldInput
- type CreateLegalHoldOutput
- type CreateLogicallyAirGappedBackupVaultInput
- type CreateLogicallyAirGappedBackupVaultOutput
- type CreateReportPlanInput
- type CreateReportPlanOutput
- type CreateRestoreTestingPlanInput
- type CreateRestoreTestingPlanOutput
- type CreateRestoreTestingSelectionInput
- type CreateRestoreTestingSelectionOutput
- type DeleteBackupPlanInput
- type DeleteBackupPlanOutput
- type DeleteBackupSelectionInput
- type DeleteBackupSelectionOutput
- type DeleteBackupVaultAccessPolicyInput
- type DeleteBackupVaultAccessPolicyOutput
- type DeleteBackupVaultInput
- type DeleteBackupVaultLockConfigurationInput
- type DeleteBackupVaultLockConfigurationOutput
- type DeleteBackupVaultNotificationsInput
- type DeleteBackupVaultNotificationsOutput
- type DeleteBackupVaultOutput
- type DeleteFrameworkInput
- type DeleteFrameworkOutput
- type DeleteRecoveryPointInput
- type DeleteRecoveryPointOutput
- type DeleteReportPlanInput
- type DeleteReportPlanOutput
- type DeleteRestoreTestingPlanInput
- type DeleteRestoreTestingPlanOutput
- type DeleteRestoreTestingSelectionInput
- type DeleteRestoreTestingSelectionOutput
- type DescribeBackupJobInput
- type DescribeBackupJobOutput
- type DescribeBackupVaultInput
- type DescribeBackupVaultOutput
- type DescribeCopyJobInput
- type DescribeCopyJobOutput
- type DescribeFrameworkInput
- type DescribeFrameworkOutput
- type DescribeGlobalSettingsInput
- type DescribeGlobalSettingsOutput
- type DescribeProtectedResourceInput
- type DescribeProtectedResourceOutput
- type DescribeRecoveryPointInput
- type DescribeRecoveryPointOutput
- type DescribeRegionSettingsInput
- type DescribeRegionSettingsOutput
- type DescribeReportJobInput
- type DescribeReportJobOutput
- type DescribeReportPlanInput
- type DescribeReportPlanOutput
- type DescribeRestoreJobInput
- type DescribeRestoreJobOutput
- type DisassociateRecoveryPointFromParentInput
- type DisassociateRecoveryPointFromParentOutput
- type DisassociateRecoveryPointInput
- type DisassociateRecoveryPointOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type ExportBackupPlanTemplateInput
- type ExportBackupPlanTemplateOutput
- type GetBackupPlanFromJSONInput
- type GetBackupPlanFromJSONOutput
- type GetBackupPlanFromTemplateInput
- type GetBackupPlanFromTemplateOutput
- type GetBackupPlanInput
- type GetBackupPlanOutput
- type GetBackupSelectionInput
- type GetBackupSelectionOutput
- type GetBackupVaultAccessPolicyInput
- type GetBackupVaultAccessPolicyOutput
- type GetBackupVaultNotificationsInput
- type GetBackupVaultNotificationsOutput
- type GetLegalHoldInput
- type GetLegalHoldOutput
- type GetRecoveryPointRestoreMetadataInput
- type GetRecoveryPointRestoreMetadataOutput
- type GetRestoreJobMetadataInput
- type GetRestoreJobMetadataOutput
- type GetRestoreTestingInferredMetadataInput
- type GetRestoreTestingInferredMetadataOutput
- type GetRestoreTestingPlanInput
- type GetRestoreTestingPlanOutput
- type GetRestoreTestingSelectionInput
- type GetRestoreTestingSelectionOutput
- type GetSupportedResourceTypesInput
- type GetSupportedResourceTypesOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListBackupJobSummariesAPIClient
- type ListBackupJobSummariesInput
- type ListBackupJobSummariesOutput
- type ListBackupJobSummariesPaginator
- type ListBackupJobSummariesPaginatorOptions
- type ListBackupJobsAPIClient
- type ListBackupJobsInput
- type ListBackupJobsOutput
- type ListBackupJobsPaginator
- type ListBackupJobsPaginatorOptions
- type ListBackupPlanTemplatesAPIClient
- type ListBackupPlanTemplatesInput
- type ListBackupPlanTemplatesOutput
- type ListBackupPlanTemplatesPaginator
- type ListBackupPlanTemplatesPaginatorOptions
- type ListBackupPlanVersionsAPIClient
- type ListBackupPlanVersionsInput
- type ListBackupPlanVersionsOutput
- type ListBackupPlanVersionsPaginator
- type ListBackupPlanVersionsPaginatorOptions
- type ListBackupPlansAPIClient
- type ListBackupPlansInput
- type ListBackupPlansOutput
- type ListBackupPlansPaginator
- type ListBackupPlansPaginatorOptions
- type ListBackupSelectionsAPIClient
- type ListBackupSelectionsInput
- type ListBackupSelectionsOutput
- type ListBackupSelectionsPaginator
- type ListBackupSelectionsPaginatorOptions
- type ListBackupVaultsAPIClient
- type ListBackupVaultsInput
- type ListBackupVaultsOutput
- type ListBackupVaultsPaginator
- type ListBackupVaultsPaginatorOptions
- type ListCopyJobSummariesAPIClient
- type ListCopyJobSummariesInput
- type ListCopyJobSummariesOutput
- type ListCopyJobSummariesPaginator
- type ListCopyJobSummariesPaginatorOptions
- type ListCopyJobsAPIClient
- type ListCopyJobsInput
- type ListCopyJobsOutput
- type ListCopyJobsPaginator
- type ListCopyJobsPaginatorOptions
- type ListFrameworksAPIClient
- type ListFrameworksInput
- type ListFrameworksOutput
- type ListFrameworksPaginator
- type ListFrameworksPaginatorOptions
- type ListLegalHoldsAPIClient
- type ListLegalHoldsInput
- type ListLegalHoldsOutput
- type ListLegalHoldsPaginator
- type ListLegalHoldsPaginatorOptions
- type ListProtectedResourcesAPIClient
- type ListProtectedResourcesByBackupVaultAPIClient
- type ListProtectedResourcesByBackupVaultInput
- type ListProtectedResourcesByBackupVaultOutput
- type ListProtectedResourcesByBackupVaultPaginator
- type ListProtectedResourcesByBackupVaultPaginatorOptions
- type ListProtectedResourcesInput
- type ListProtectedResourcesOutput
- type ListProtectedResourcesPaginator
- type ListProtectedResourcesPaginatorOptions
- type ListRecoveryPointsByBackupVaultAPIClient
- type ListRecoveryPointsByBackupVaultInput
- type ListRecoveryPointsByBackupVaultOutput
- type ListRecoveryPointsByBackupVaultPaginator
- type ListRecoveryPointsByBackupVaultPaginatorOptions
- type ListRecoveryPointsByLegalHoldAPIClient
- type ListRecoveryPointsByLegalHoldInput
- type ListRecoveryPointsByLegalHoldOutput
- type ListRecoveryPointsByLegalHoldPaginator
- type ListRecoveryPointsByLegalHoldPaginatorOptions
- type ListRecoveryPointsByResourceAPIClient
- type ListRecoveryPointsByResourceInput
- type ListRecoveryPointsByResourceOutput
- type ListRecoveryPointsByResourcePaginator
- type ListRecoveryPointsByResourcePaginatorOptions
- type ListReportJobsAPIClient
- type ListReportJobsInput
- type ListReportJobsOutput
- type ListReportJobsPaginator
- type ListReportJobsPaginatorOptions
- type ListReportPlansAPIClient
- type ListReportPlansInput
- type ListReportPlansOutput
- type ListReportPlansPaginator
- type ListReportPlansPaginatorOptions
- type ListRestoreJobSummariesAPIClient
- type ListRestoreJobSummariesInput
- type ListRestoreJobSummariesOutput
- type ListRestoreJobSummariesPaginator
- type ListRestoreJobSummariesPaginatorOptions
- type ListRestoreJobsAPIClient
- type ListRestoreJobsByProtectedResourceAPIClient
- type ListRestoreJobsByProtectedResourceInput
- type ListRestoreJobsByProtectedResourceOutput
- type ListRestoreJobsByProtectedResourcePaginator
- type ListRestoreJobsByProtectedResourcePaginatorOptions
- type ListRestoreJobsInput
- type ListRestoreJobsOutput
- type ListRestoreJobsPaginator
- type ListRestoreJobsPaginatorOptions
- type ListRestoreTestingPlansAPIClient
- type ListRestoreTestingPlansInput
- type ListRestoreTestingPlansOutput
- type ListRestoreTestingPlansPaginator
- type ListRestoreTestingPlansPaginatorOptions
- type ListRestoreTestingSelectionsAPIClient
- type ListRestoreTestingSelectionsInput
- type ListRestoreTestingSelectionsOutput
- type ListRestoreTestingSelectionsPaginator
- type ListRestoreTestingSelectionsPaginatorOptions
- type ListTagsAPIClient
- type ListTagsInput
- type ListTagsOutput
- type ListTagsPaginator
- type ListTagsPaginatorOptions
- type Options
- type PutBackupVaultAccessPolicyInput
- type PutBackupVaultAccessPolicyOutput
- type PutBackupVaultLockConfigurationInput
- type PutBackupVaultLockConfigurationOutput
- type PutBackupVaultNotificationsInput
- type PutBackupVaultNotificationsOutput
- type PutRestoreValidationResultInput
- type PutRestoreValidationResultOutput
- type ResolveEndpoint
- type StartBackupJobInput
- type StartBackupJobOutput
- type StartCopyJobInput
- type StartCopyJobOutput
- type StartReportJobInput
- type StartReportJobOutput
- type StartRestoreJobInput
- type StartRestoreJobOutput
- type StopBackupJobInput
- type StopBackupJobOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateBackupPlanInput
- type UpdateBackupPlanOutput
- type UpdateFrameworkInput
- type UpdateFrameworkOutput
- type UpdateGlobalSettingsInput
- type UpdateGlobalSettingsOutput
- type UpdateRecoveryPointLifecycleInput
- type UpdateRecoveryPointLifecycleOutput
- type UpdateRegionSettingsInput
- type UpdateRegionSettingsOutput
- type UpdateReportPlanInput
- type UpdateReportPlanOutput
- type UpdateRestoreTestingPlanInput
- type UpdateRestoreTestingPlanOutput
- type UpdateRestoreTestingSelectionInput
- type UpdateRestoreTestingSelectionOutput
Constants ¶
const ServiceAPIVersion = "2018-11-15"
const ServiceID = "Backup"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type CancelLegalHoldInput ¶
type CancelLegalHoldInput struct { // String describing the reason for removing the legal hold. // // This member is required. CancelDescription *string // Legal hold ID required to remove the specified legal hold on a recovery point. // // This member is required. LegalHoldId *string // The integer amount in days specifying amount of days after this API operation // to remove legal hold. RetainRecordInDays *int64 // contains filtered or unexported fields }
type CancelLegalHoldOutput ¶
type CancelLegalHoldOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Backup.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CancelLegalHold ¶
func (c *Client) CancelLegalHold(ctx context.Context, params *CancelLegalHoldInput, optFns ...func(*Options)) (*CancelLegalHoldOutput, error)
This action removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
func (*Client) CreateBackupPlan ¶
func (c *Client) CreateBackupPlan(ctx context.Context, params *CreateBackupPlanInput, optFns ...func(*Options)) (*CreateBackupPlanOutput, error)
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.
func (*Client) CreateBackupSelection ¶
func (c *Client) CreateBackupSelection(ctx context.Context, params *CreateBackupSelectionInput, optFns ...func(*Options)) (*CreateBackupSelectionOutput, error)
Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
func (*Client) CreateBackupVault ¶
func (c *Client) CreateBackupVault(ctx context.Context, params *CreateBackupVaultInput, optFns ...func(*Options)) (*CreateBackupVaultOutput, error)
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.
func (*Client) CreateFramework ¶
func (c *Client) CreateFramework(ctx context.Context, params *CreateFrameworkInput, optFns ...func(*Options)) (*CreateFrameworkOutput, error)
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.
func (*Client) CreateLegalHold ¶
func (c *Client) CreateLegalHold(ctx context.Context, params *CreateLegalHoldInput, optFns ...func(*Options)) (*CreateLegalHoldOutput, error)
This action creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.
func (*Client) CreateLogicallyAirGappedBackupVault ¶
func (c *Client) CreateLogicallyAirGappedBackupVault(ctx context.Context, params *CreateLogicallyAirGappedBackupVaultInput, optFns ...func(*Options)) (*CreateLogicallyAirGappedBackupVaultOutput, error)
This request creates a logical container to where backups may be copied.
This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
func (*Client) CreateReportPlan ¶
func (c *Client) CreateReportPlan(ctx context.Context, params *CreateReportPlanInput, optFns ...func(*Options)) (*CreateReportPlanOutput, error)
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.
func (*Client) CreateRestoreTestingPlan ¶
func (c *Client) CreateRestoreTestingPlan(ctx context.Context, params *CreateRestoreTestingPlanInput, optFns ...func(*Options)) (*CreateRestoreTestingPlanOutput, error)
This is the first of two steps to create a restore testing plan; once this request is successful, finish the procedure with request CreateRestoreTestingSelection.
You must include the parameter RestoreTestingPlan. You may optionally include CreatorRequestId and Tags.
func (*Client) CreateRestoreTestingSelection ¶
func (c *Client) CreateRestoreTestingSelection(ctx context.Context, params *CreateRestoreTestingSelectionInput, optFns ...func(*Options)) (*CreateRestoreTestingSelectionOutput, error)
This request can be sent after CreateRestoreTestingPlan request returns successfully. This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
ProtectedResourceArns
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
func (*Client) DeleteBackupPlan ¶
func (c *Client) DeleteBackupPlan(ctx context.Context, params *DeleteBackupPlanInput, optFns ...func(*Options)) (*DeleteBackupPlanOutput, error)
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.
func (*Client) DeleteBackupSelection ¶
func (c *Client) DeleteBackupSelection(ctx context.Context, params *DeleteBackupSelectionInput, optFns ...func(*Options)) (*DeleteBackupSelectionOutput, error)
Deletes the resource selection associated with a backup plan that is specified by the SelectionId .
func (*Client) DeleteBackupVault ¶
func (c *Client) DeleteBackupVault(ctx context.Context, params *DeleteBackupVaultInput, optFns ...func(*Options)) (*DeleteBackupVaultOutput, error)
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
func (*Client) DeleteBackupVaultAccessPolicy ¶
func (c *Client) DeleteBackupVaultAccessPolicy(ctx context.Context, params *DeleteBackupVaultAccessPolicyInput, optFns ...func(*Options)) (*DeleteBackupVaultAccessPolicyOutput, error)
Deletes the policy document that manages permissions on a backup vault.
func (*Client) DeleteBackupVaultLockConfiguration ¶
func (c *Client) DeleteBackupVaultLockConfiguration(ctx context.Context, params *DeleteBackupVaultLockConfigurationInput, optFns ...func(*Options)) (*DeleteBackupVaultLockConfigurationOutput, error)
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 Lockin the Backup Developer Guide.
func (*Client) DeleteBackupVaultNotifications ¶
func (c *Client) DeleteBackupVaultNotifications(ctx context.Context, params *DeleteBackupVaultNotificationsInput, optFns ...func(*Options)) (*DeleteBackupVaultNotificationsOutput, error)
Deletes event notifications for the specified backup vault.
func (*Client) DeleteFramework ¶
func (c *Client) DeleteFramework(ctx context.Context, params *DeleteFrameworkInput, optFns ...func(*Options)) (*DeleteFrameworkOutput, error)
Deletes the framework specified by a framework name.
func (*Client) DeleteRecoveryPoint ¶
func (c *Client) DeleteRecoveryPoint(ctx context.Context, params *DeleteRecoveryPointInput, optFns ...func(*Options)) (*DeleteRecoveryPointOutput, error)
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.
When an IAM role's permissions are insufficient to call this API, the service sends back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. Instead, it enters an EXPIRED state.
EXPIRED recovery points can be deleted with this API once the IAM role has the iam:CreateServiceLinkedRole action. To learn more about adding this role, see Troubleshooting manual deletions.
If the user or role is deleted or the permission within the role is removed, the deletion will not be successful and will enter an EXPIRED state.
func (*Client) DeleteReportPlan ¶
func (c *Client) DeleteReportPlan(ctx context.Context, params *DeleteReportPlanInput, optFns ...func(*Options)) (*DeleteReportPlanOutput, error)
Deletes the report plan specified by a report plan name.
func (*Client) DeleteRestoreTestingPlan ¶
func (c *Client) DeleteRestoreTestingPlan(ctx context.Context, params *DeleteRestoreTestingPlanInput, optFns ...func(*Options)) (*DeleteRestoreTestingPlanOutput, error)
This request deletes the specified restore testing plan.
Deletion can only successfully occur if all associated restore testing selections are deleted first.
func (*Client) DeleteRestoreTestingSelection ¶
func (c *Client) DeleteRestoreTestingSelection(ctx context.Context, params *DeleteRestoreTestingSelectionInput, optFns ...func(*Options)) (*DeleteRestoreTestingSelectionOutput, error)
Input the Restore Testing Plan name and Restore Testing Selection name.
All testing selections associated with a restore testing plan must be deleted before the restore testing plan can be deleted.
func (*Client) DescribeBackupJob ¶
func (c *Client) DescribeBackupJob(ctx context.Context, params *DescribeBackupJobInput, optFns ...func(*Options)) (*DescribeBackupJobOutput, error)
Returns backup job details for the specified BackupJobId .
func (*Client) DescribeBackupVault ¶
func (c *Client) DescribeBackupVault(ctx context.Context, params *DescribeBackupVaultInput, optFns ...func(*Options)) (*DescribeBackupVaultOutput, error)
Returns metadata about a backup vault specified by its name.
func (*Client) DescribeCopyJob ¶
func (c *Client) DescribeCopyJob(ctx context.Context, params *DescribeCopyJobInput, optFns ...func(*Options)) (*DescribeCopyJobOutput, error)
Returns metadata associated with creating a copy of a resource.
func (*Client) DescribeFramework ¶
func (c *Client) DescribeFramework(ctx context.Context, params *DescribeFrameworkInput, optFns ...func(*Options)) (*DescribeFrameworkOutput, error)
Returns the framework details for the specified FrameworkName .
func (*Client) DescribeGlobalSettings ¶
func (c *Client) DescribeGlobalSettings(ctx context.Context, params *DescribeGlobalSettingsInput, optFns ...func(*Options)) (*DescribeGlobalSettingsOutput, error)
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
func (*Client) DescribeProtectedResource ¶
func (c *Client) DescribeProtectedResource(ctx context.Context, params *DescribeProtectedResourceInput, optFns ...func(*Options)) (*DescribeProtectedResourceOutput, error)
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.
func (*Client) DescribeRecoveryPoint ¶
func (c *Client) DescribeRecoveryPoint(ctx context.Context, params *DescribeRecoveryPointInput, optFns ...func(*Options)) (*DescribeRecoveryPointOutput, error)
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
func (*Client) DescribeRegionSettings ¶
func (c *Client) DescribeRegionSettings(ctx context.Context, params *DescribeRegionSettingsInput, optFns ...func(*Options)) (*DescribeRegionSettingsOutput, error)
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.
func (*Client) DescribeReportJob ¶
func (c *Client) DescribeReportJob(ctx context.Context, params *DescribeReportJobInput, optFns ...func(*Options)) (*DescribeReportJobOutput, error)
Returns the details associated with creating a report as specified by its ReportJobId .
func (*Client) DescribeReportPlan ¶
func (c *Client) DescribeReportPlan(ctx context.Context, params *DescribeReportPlanInput, optFns ...func(*Options)) (*DescribeReportPlanOutput, error)
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
func (*Client) DescribeRestoreJob ¶
func (c *Client) DescribeRestoreJob(ctx context.Context, params *DescribeRestoreJobInput, optFns ...func(*Options)) (*DescribeRestoreJobOutput, error)
Returns metadata associated with a restore job that is specified by a job ID.
func (*Client) DisassociateRecoveryPoint ¶
func (c *Client) DisassociateRecoveryPoint(ctx context.Context, params *DisassociateRecoveryPointInput, optFns ...func(*Options)) (*DisassociateRecoveryPointOutput, error)
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.
func (*Client) DisassociateRecoveryPointFromParent ¶
func (c *Client) DisassociateRecoveryPointFromParent(ctx context.Context, params *DisassociateRecoveryPointFromParentInput, optFns ...func(*Options)) (*DisassociateRecoveryPointFromParentOutput, error)
This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
func (*Client) ExportBackupPlanTemplate ¶
func (c *Client) ExportBackupPlanTemplate(ctx context.Context, params *ExportBackupPlanTemplateInput, optFns ...func(*Options)) (*ExportBackupPlanTemplateOutput, error)
Returns the backup plan that is specified by the plan ID as a backup template.
func (*Client) GetBackupPlan ¶
func (c *Client) GetBackupPlan(ctx context.Context, params *GetBackupPlanInput, optFns ...func(*Options)) (*GetBackupPlanOutput, error)
Returns BackupPlan details for the specified BackupPlanId . The details are the body of a backup plan in JSON format, in addition to plan metadata.
func (*Client) GetBackupPlanFromJSON ¶
func (c *Client) GetBackupPlanFromJSON(ctx context.Context, params *GetBackupPlanFromJSONInput, optFns ...func(*Options)) (*GetBackupPlanFromJSONOutput, error)
Returns a valid JSON document specifying a backup plan or an error.
func (*Client) GetBackupPlanFromTemplate ¶
func (c *Client) GetBackupPlanFromTemplate(ctx context.Context, params *GetBackupPlanFromTemplateInput, optFns ...func(*Options)) (*GetBackupPlanFromTemplateOutput, error)
Returns the template specified by its templateId as a backup plan.
func (*Client) GetBackupSelection ¶
func (c *Client) GetBackupSelection(ctx context.Context, params *GetBackupSelectionInput, optFns ...func(*Options)) (*GetBackupSelectionOutput, error)
Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
func (*Client) GetBackupVaultAccessPolicy ¶
func (c *Client) GetBackupVaultAccessPolicy(ctx context.Context, params *GetBackupVaultAccessPolicyInput, optFns ...func(*Options)) (*GetBackupVaultAccessPolicyOutput, error)
Returns the access policy document that is associated with the named backup vault.
func (*Client) GetBackupVaultNotifications ¶
func (c *Client) GetBackupVaultNotifications(ctx context.Context, params *GetBackupVaultNotificationsInput, optFns ...func(*Options)) (*GetBackupVaultNotificationsOutput, error)
Returns event notifications for the specified backup vault.
func (*Client) GetLegalHold ¶
func (c *Client) GetLegalHold(ctx context.Context, params *GetLegalHoldInput, optFns ...func(*Options)) (*GetLegalHoldOutput, error)
This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.
func (*Client) GetRecoveryPointRestoreMetadata ¶
func (c *Client) GetRecoveryPointRestoreMetadata(ctx context.Context, params *GetRecoveryPointRestoreMetadataInput, optFns ...func(*Options)) (*GetRecoveryPointRestoreMetadataOutput, error)
Returns a set of metadata key-value pairs that were used to create the backup.
func (*Client) GetRestoreJobMetadata ¶
func (c *Client) GetRestoreJobMetadata(ctx context.Context, params *GetRestoreJobMetadataInput, optFns ...func(*Options)) (*GetRestoreJobMetadataOutput, error)
This request returns the metadata for the specified restore job.
func (*Client) GetRestoreTestingInferredMetadata ¶
func (c *Client) GetRestoreTestingInferredMetadata(ctx context.Context, params *GetRestoreTestingInferredMetadataInput, optFns ...func(*Options)) (*GetRestoreTestingInferredMetadataOutput, error)
This request returns the minimal required set of metadata needed to start a restore job with secure default settings. BackupVaultName and RecoveryPointArn are required parameters. BackupVaultAccountId is an optional parameter.
func (*Client) GetRestoreTestingPlan ¶
func (c *Client) GetRestoreTestingPlan(ctx context.Context, params *GetRestoreTestingPlanInput, optFns ...func(*Options)) (*GetRestoreTestingPlanOutput, error)
Returns RestoreTestingPlan details for the specified RestoreTestingPlanName . The details are the body of a restore testing plan in JSON format, in addition to plan metadata.
func (*Client) GetRestoreTestingSelection ¶
func (c *Client) GetRestoreTestingSelection(ctx context.Context, params *GetRestoreTestingSelectionInput, optFns ...func(*Options)) (*GetRestoreTestingSelectionOutput, error)
Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
func (*Client) GetSupportedResourceTypes ¶
func (c *Client) GetSupportedResourceTypes(ctx context.Context, params *GetSupportedResourceTypesInput, optFns ...func(*Options)) (*GetSupportedResourceTypesOutput, error)
Returns the Amazon Web Services resource types supported by Backup.
func (*Client) ListBackupJobSummaries ¶
func (c *Client) ListBackupJobSummaries(ctx context.Context, params *ListBackupJobSummariesInput, optFns ...func(*Options)) (*ListBackupJobSummariesOutput, error)
This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
func (*Client) ListBackupJobs ¶
func (c *Client) ListBackupJobs(ctx context.Context, params *ListBackupJobsInput, optFns ...func(*Options)) (*ListBackupJobsOutput, error)
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.
func (*Client) ListBackupPlanTemplates ¶
func (c *Client) ListBackupPlanTemplates(ctx context.Context, params *ListBackupPlanTemplatesInput, optFns ...func(*Options)) (*ListBackupPlanTemplatesOutput, error)
Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
func (*Client) ListBackupPlanVersions ¶
func (c *Client) ListBackupPlanVersions(ctx context.Context, params *ListBackupPlanVersionsInput, optFns ...func(*Options)) (*ListBackupPlanVersionsOutput, error)
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
func (*Client) ListBackupPlans ¶
func (c *Client) ListBackupPlans(ctx context.Context, params *ListBackupPlansInput, optFns ...func(*Options)) (*ListBackupPlansOutput, error)
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.
func (*Client) ListBackupSelections ¶
func (c *Client) ListBackupSelections(ctx context.Context, params *ListBackupSelectionsInput, optFns ...func(*Options)) (*ListBackupSelectionsOutput, error)
Returns an array containing metadata of the resources associated with the target backup plan.
func (*Client) ListBackupVaults ¶
func (c *Client) ListBackupVaults(ctx context.Context, params *ListBackupVaultsInput, optFns ...func(*Options)) (*ListBackupVaultsOutput, error)
Returns a list of recovery point storage containers along with information about them.
func (*Client) ListCopyJobSummaries ¶
func (c *Client) ListCopyJobSummaries(ctx context.Context, params *ListCopyJobSummariesInput, optFns ...func(*Options)) (*ListCopyJobSummariesOutput, error)
This request obtains a list of copy jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
func (*Client) ListCopyJobs ¶
func (c *Client) ListCopyJobs(ctx context.Context, params *ListCopyJobsInput, optFns ...func(*Options)) (*ListCopyJobsOutput, error)
Returns metadata about your copy jobs.
func (*Client) ListFrameworks ¶
func (c *Client) ListFrameworks(ctx context.Context, params *ListFrameworksInput, optFns ...func(*Options)) (*ListFrameworksOutput, error)
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
func (*Client) ListLegalHolds ¶
func (c *Client) ListLegalHolds(ctx context.Context, params *ListLegalHoldsInput, optFns ...func(*Options)) (*ListLegalHoldsOutput, error)
This action returns metadata about active and previous legal holds.
func (*Client) ListProtectedResources ¶
func (c *Client) ListProtectedResources(ctx context.Context, params *ListProtectedResourcesInput, optFns ...func(*Options)) (*ListProtectedResourcesOutput, error)
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.
func (*Client) ListProtectedResourcesByBackupVault ¶
func (c *Client) ListProtectedResourcesByBackupVault(ctx context.Context, params *ListProtectedResourcesByBackupVaultInput, optFns ...func(*Options)) (*ListProtectedResourcesByBackupVaultOutput, error)
This request lists the protected resources corresponding to each backup vault.
func (*Client) ListRecoveryPointsByBackupVault ¶
func (c *Client) ListRecoveryPointsByBackupVault(ctx context.Context, params *ListRecoveryPointsByBackupVaultInput, optFns ...func(*Options)) (*ListRecoveryPointsByBackupVaultOutput, error)
Returns detailed information about the recovery points stored in a backup vault.
func (*Client) ListRecoveryPointsByLegalHold ¶
func (c *Client) ListRecoveryPointsByLegalHold(ctx context.Context, params *ListRecoveryPointsByLegalHoldInput, optFns ...func(*Options)) (*ListRecoveryPointsByLegalHoldOutput, error)
This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
func (*Client) ListRecoveryPointsByResource ¶
func (c *Client) ListRecoveryPointsByResource(ctx context.Context, params *ListRecoveryPointsByResourceInput, optFns ...func(*Options)) (*ListRecoveryPointsByResourceOutput, error)
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.
func (*Client) ListReportJobs ¶
func (c *Client) ListReportJobs(ctx context.Context, params *ListReportJobsInput, optFns ...func(*Options)) (*ListReportJobsOutput, error)
Returns details about your report jobs.
func (*Client) ListReportPlans ¶
func (c *Client) ListReportPlans(ctx context.Context, params *ListReportPlansInput, optFns ...func(*Options)) (*ListReportPlansOutput, error)
Returns a list of your report plans. For detailed information about a single report plan, use DescribeReportPlan .
func (*Client) ListRestoreJobSummaries ¶
func (c *Client) ListRestoreJobSummaries(ctx context.Context, params *ListRestoreJobSummariesInput, optFns ...func(*Options)) (*ListRestoreJobSummariesOutput, error)
This request obtains a summary of restore jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
func (*Client) ListRestoreJobs ¶
func (c *Client) ListRestoreJobs(ctx context.Context, params *ListRestoreJobsInput, optFns ...func(*Options)) (*ListRestoreJobsOutput, error)
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
func (*Client) ListRestoreJobsByProtectedResource ¶
func (c *Client) ListRestoreJobsByProtectedResource(ctx context.Context, params *ListRestoreJobsByProtectedResourceInput, optFns ...func(*Options)) (*ListRestoreJobsByProtectedResourceOutput, error)
This returns restore jobs that contain the specified protected resource.
You must include ResourceArn . You can optionally include NextToken , ByStatus , MaxResults , ByRecoveryPointCreationDateAfter , and ByRecoveryPointCreationDateBefore .
func (*Client) ListRestoreTestingPlans ¶
func (c *Client) ListRestoreTestingPlans(ctx context.Context, params *ListRestoreTestingPlansInput, optFns ...func(*Options)) (*ListRestoreTestingPlansOutput, error)
Returns a list of restore testing plans.
func (*Client) ListRestoreTestingSelections ¶
func (c *Client) ListRestoreTestingSelections(ctx context.Context, params *ListRestoreTestingSelectionsInput, optFns ...func(*Options)) (*ListRestoreTestingSelectionsOutput, error)
Returns a list of restore testing selections. Can be filtered by MaxResults and RestoreTestingPlanName .
func (*Client) ListTags ¶
func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
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 resourcetable.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutBackupVaultAccessPolicy ¶
func (c *Client) PutBackupVaultAccessPolicy(ctx context.Context, params *PutBackupVaultAccessPolicyInput, optFns ...func(*Options)) (*PutBackupVaultAccessPolicyOutput, error)
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.
func (*Client) PutBackupVaultLockConfiguration ¶
func (c *Client) PutBackupVaultLockConfiguration(ctx context.Context, params *PutBackupVaultLockConfigurationInput, optFns ...func(*Options)) (*PutBackupVaultLockConfigurationOutput, error)
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 been assessed by Cohasset Associates for use in environments that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about how Backup Vault Lock relates to these regulations, see the Cohasset Associates Compliance Assessment.
func (*Client) PutBackupVaultNotifications ¶
func (c *Client) PutBackupVaultNotifications(ctx context.Context, params *PutBackupVaultNotificationsInput, optFns ...func(*Options)) (*PutBackupVaultNotificationsOutput, error)
Turns on notifications on a backup vault for the specified topic and events.
func (*Client) PutRestoreValidationResult ¶
func (c *Client) PutRestoreValidationResult(ctx context.Context, params *PutRestoreValidationResultInput, optFns ...func(*Options)) (*PutRestoreValidationResultOutput, error)
This request allows you to send your independent self-run restore test validation results. RestoreJobId and ValidationStatus are required. Optionally, you can input a ValidationStatusMessage .
func (*Client) StartBackupJob ¶
func (c *Client) StartBackupJob(ctx context.Context, params *StartBackupJobInput, optFns ...func(*Options)) (*StartBackupJobOutput, error)
Starts an on-demand backup job for the specified resource.
func (*Client) StartCopyJob ¶
func (c *Client) StartCopyJob(ctx context.Context, params *StartCopyJobInput, optFns ...func(*Options)) (*StartCopyJobOutput, error)
Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
func (*Client) StartReportJob ¶
func (c *Client) StartReportJob(ctx context.Context, params *StartReportJobInput, optFns ...func(*Options)) (*StartReportJobOutput, error)
Starts an on-demand report job for the specified report plan.
func (*Client) StartRestoreJob ¶
func (c *Client) StartRestoreJob(ctx context.Context, params *StartRestoreJobInput, optFns ...func(*Options)) (*StartRestoreJobOutput, error)
Recovers the saved resource identified by an Amazon Resource Name (ARN).
func (*Client) StopBackupJob ¶
func (c *Client) StopBackupJob(ctx context.Context, params *StopBackupJobInput, optFns ...func(*Options)) (*StopBackupJobOutput, error)
Attempts to cancel a job to create a one-time backup of a resource.
This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
func (*Client) UpdateBackupPlan ¶
func (c *Client) UpdateBackupPlan(ctx context.Context, params *UpdateBackupPlanInput, optFns ...func(*Options)) (*UpdateBackupPlanOutput, error)
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 .
func (*Client) UpdateFramework ¶
func (c *Client) UpdateFramework(ctx context.Context, params *UpdateFrameworkInput, optFns ...func(*Options)) (*UpdateFrameworkOutput, error)
Updates an existing framework identified by its FrameworkName with the input document in JSON format.
func (*Client) UpdateGlobalSettings ¶
func (c *Client) UpdateGlobalSettings(ctx context.Context, params *UpdateGlobalSettingsInput, optFns ...func(*Options)) (*UpdateGlobalSettingsOutput, error)
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.
func (*Client) UpdateRecoveryPointLifecycle ¶
func (c *Client) UpdateRecoveryPointLifecycle(ctx context.Context, params *UpdateRecoveryPointLifecycleInput, optFns ...func(*Options)) (*UpdateRecoveryPointLifecycleOutput, error)
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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resourcetable. Backup ignores this expression for other resource types.
This operation does not support continuous backups.
func (*Client) UpdateRegionSettings ¶
func (c *Client) UpdateRegionSettings(ctx context.Context, params *UpdateRegionSettingsInput, optFns ...func(*Options)) (*UpdateRegionSettingsOutput, error)
Updates the current service opt-in settings for the Region.
Use the DescribeRegionSettings API to determine the resource types that are supported.
func (*Client) UpdateReportPlan ¶
func (c *Client) UpdateReportPlan(ctx context.Context, params *UpdateReportPlanInput, optFns ...func(*Options)) (*UpdateReportPlanOutput, error)
Updates an existing report plan identified by its ReportPlanName with the input document in JSON format.
func (*Client) UpdateRestoreTestingPlan ¶
func (c *Client) UpdateRestoreTestingPlan(ctx context.Context, params *UpdateRestoreTestingPlanInput, optFns ...func(*Options)) (*UpdateRestoreTestingPlanOutput, error)
This request will send changes to your specified restore testing plan. RestoreTestingPlanName cannot be updated after it is created.
RecoveryPointSelection can contain:
Algorithm
ExcludeVaults
IncludeVaults
RecoveryPointTypes
SelectionWindowDays
func (*Client) UpdateRestoreTestingSelection ¶
func (c *Client) UpdateRestoreTestingSelection(ctx context.Context, params *UpdateRestoreTestingSelectionInput, optFns ...func(*Options)) (*UpdateRestoreTestingSelectionOutput, error)
Most elements except the RestoreTestingSelectionName can be updated with this request.
RestoreTestingSelection can use either protected resource ARNs or conditions, but not both. That is, if your selection has ProtectedResourceArns , requesting an update with the parameter ProtectedResourceConditions will be unsuccessful.
type CreateBackupPlanInput ¶
type CreateBackupPlanInput struct { // Specifies the body of a backup plan. Includes a BackupPlanName and one or more // sets of Rules . // // This member is required. BackupPlan *types.BackupPlanInput // To help organize your resources, you can assign your own metadata to the // resources that you create. Each tag is a key-value pair. The specified tags are // assigned to all backups created with this plan. BackupPlanTags map[string]string // 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 // contains filtered or unexported fields }
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 []types.AdvancedBackupSetting // 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 // Uniquely identifies a backup plan. BackupPlanId *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 // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. They cannot be edited. VersionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBackupSelectionInput ¶
type CreateBackupSelectionInput struct { // Uniquely identifies the backup plan to be associated with the selection of // resources. // // This member is required. BackupPlanId *string // Specifies the body of a request to assign a set of resources to a backup plan. // // This member is required. BackupSelection *types.BackupSelection // 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 // contains filtered or unexported fields }
type CreateBackupSelectionOutput ¶
type CreateBackupSelectionOutput struct { // Uniquely identifies a backup plan. BackupPlanId *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 // Uniquely identifies the body of a request to assign a set of resources to a // backup plan. SelectionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // Metadata that you can assign to help organize the resources that you create. // Each tag is a key-value pair. BackupVaultTags map[string]string // 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 // 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 // contains filtered or unexported fields }
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 // 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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFrameworkInput ¶
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. // // This member is required. FrameworkControls []types.FrameworkControl // 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 (_). // // This member is required. FrameworkName *string // An optional description of the framework with a maximum of 1,024 characters. FrameworkDescription *string // Metadata that you can assign to help organize the frameworks that you create. // Each tag is a key-value pair. FrameworkTags map[string]string // 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 // contains filtered or unexported fields }
type CreateFrameworkOutput ¶
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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateLegalHoldInput ¶
type CreateLegalHoldInput struct { // This is the string description of the legal hold. // // This member is required. Description *string // This is the string title of the legal hold. // // This member is required. Title *string // This is a user-chosen string used to distinguish between otherwise identical // calls. Retrying a successful request with the same idempotency token results in // a success message with no action taken. IdempotencyToken *string // This specifies criteria to assign a set of resources, such as resource types or // backup vaults. RecoveryPointSelection *types.RecoveryPointSelection // Optional tags to include. A tag is a key-value pair you can use to manage, // filter, and search for your resources. Allowed characters include UTF-8 letters, // numbers, spaces, and the following characters: + - = . _ : /. Tags map[string]string // contains filtered or unexported fields }
type CreateLegalHoldOutput ¶
type CreateLegalHoldOutput struct { // Time in number format when legal hold was created. CreationDate *time.Time // This is the returned string description of the legal hold. Description *string // This is the ARN (Amazon Resource Number) of the created legal hold. LegalHoldArn *string // Legal hold ID returned for the specified legal hold on a recovery point. LegalHoldId *string // This specifies criteria to assign a set of resources, such as resource types or // backup vaults. RecoveryPointSelection *types.RecoveryPointSelection // This displays the status of the legal hold returned after creating the legal // hold. Statuses can be ACTIVE , PENDING , CANCELED , CANCELING , or FAILED . Status types.LegalHoldStatus // This is the string title of the legal hold returned after creating the legal // hold. Title *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateLogicallyAirGappedBackupVaultInput ¶
type CreateLogicallyAirGappedBackupVaultInput struct { // This is the name of the vault that is being created. // // This member is required. BackupVaultName *string // This is the setting that specifies the maximum retention period that the vault // retains its recovery points. If this parameter is not specified, Backup 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 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. // // This member is required. MaxRetentionDays *int64 // This setting specifies the minimum retention period that the vault retains its // recovery points. If this parameter is not specified, no minimum retention period // is enforced. // // 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 // a job 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. // // This member is required. MinRetentionDays *int64 // These are the tags that will be included in the newly-created vault. BackupVaultTags map[string]string // This is the ID of the creation request. // // This parameter is optional. If used, this parameter must contain 1 to 50 // alphanumeric or '-_.' characters. CreatorRequestId *string // contains filtered or unexported fields }
type CreateLogicallyAirGappedBackupVaultOutput ¶
type CreateLogicallyAirGappedBackupVaultOutput struct { // This is the ARN (Amazon Resource Name) of the vault being created. BackupVaultArn *string // The name of a logical container where backups are stored. Logically air-gapped // 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 // The date and time when the vault was created. // // 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. CreationDate *time.Time // This is the current state of the vault. VaultState types.VaultState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateReportPlanInput ¶
type CreateReportPlanInput struct { // 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. // // This member is required. ReportDeliveryChannel *types.ReportDeliveryChannel // 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 (_). // // This member is required. ReportPlanName *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. // // This member is required. ReportSetting *types.ReportSetting // 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 // An optional description of the report plan with a maximum of 1,024 characters. ReportPlanDescription *string // 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 // contains filtered or unexported fields }
type CreateReportPlanOutput ¶
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 // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ReportPlanArn *string // The unique name of the report plan. ReportPlanName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateRestoreTestingPlanInput ¶
type CreateRestoreTestingPlanInput struct { // A restore testing plan must contain a unique RestoreTestingPlanName string you // create and must contain a ScheduleExpression cron. You may optionally include a // StartWindowHours integer and a CreatorRequestId string. // // The RestoreTestingPlanName is a unique string that is the name of the restore // testing plan. This cannot be changed after creation, and it must consist of only // alphanumeric characters and underscores. // // This member is required. RestoreTestingPlan *types.RestoreTestingPlanForCreate // This is a unique string that identifies the request and allows failed requests // to be retriedwithout 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 // Optional tags to include. A tag is a key-value pair you can use to manage, // filter, and search for your resources. Allowed characters include UTF-8 // letters,numbers, spaces, and the following characters: + - = . _ : /. Tags map[string]string // contains filtered or unexported fields }
type CreateRestoreTestingPlanOutput ¶
type CreateRestoreTestingPlanOutput struct { // The date and time a restore testing plan was 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.087AM. // // This member is required. CreationTime *time.Time // An Amazon Resource Name (ARN) that uniquely identifies the created restore // testing plan. // // This member is required. RestoreTestingPlanArn *string // This unique string is the name of the restore testing plan. // // The name cannot be changed after creation. The name consists of only // alphanumeric characters and underscores. Maximum length is 50. // // This member is required. RestoreTestingPlanName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateRestoreTestingSelectionInput ¶
type CreateRestoreTestingSelectionInput struct { // Input the restore testing plan name that was returned from the related // CreateRestoreTestingPlan request. // // This member is required. RestoreTestingPlanName *string // This consists of RestoreTestingSelectionName , ProtectedResourceType , and one // of the following: // // - ProtectedResourceArns // // - ProtectedResourceConditions // // Each protected resource type can have one single value. // // A restore testing selection can include a wildcard value ("*") for // ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, // you can include up to 30 specific protected resource ARNs in // ProtectedResourceArns . // // This member is required. RestoreTestingSelection *types.RestoreTestingSelectionForCreate // This is an optional unique string that identifies the request and allows failed // requests to be retried without the risk of running the operation twice. If used, // this parameter must contain 1 to 50 alphanumeric or '-_.' characters. CreatorRequestId *string // contains filtered or unexported fields }
type CreateRestoreTestingSelectionOutput ¶
type CreateRestoreTestingSelectionOutput struct { // This is the time the resource testing selection was created successfully. // // This member is required. CreationTime *time.Time // This is the ARN of the restore testing plan with which the restore testing // selection is associated. // // This member is required. RestoreTestingPlanArn *string // Unique string that is the name of the restore testing plan. // // The name cannot be changed after creation. The name consists of only // alphanumeric characters and underscores. Maximum length is 50. // // This member is required. RestoreTestingPlanName *string // This is the unique name of the restore testing selection that belongs to the // related restore testing plan. // // This member is required. RestoreTestingSelectionName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBackupPlanInput ¶
type DeleteBackupPlanInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // contains filtered or unexported fields }
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 // Uniquely identifies a backup plan. BackupPlanId *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 // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. Version IDs cannot be edited. VersionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBackupSelectionInput ¶
type DeleteBackupSelectionInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // Uniquely identifies the body of a request to assign a set of resources to a // backup plan. // // This member is required. SelectionId *string // contains filtered or unexported fields }
type DeleteBackupSelectionOutput ¶
type DeleteBackupSelectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // contains filtered or unexported fields }
type DeleteBackupVaultAccessPolicyOutput ¶
type DeleteBackupVaultAccessPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // contains filtered or unexported fields }
type DeleteBackupVaultLockConfigurationInput ¶
type DeleteBackupVaultLockConfigurationInput struct { // The name of the backup vault from which to delete Backup Vault Lock. // // This member is required. BackupVaultName *string // contains filtered or unexported fields }
type DeleteBackupVaultLockConfigurationOutput ¶
type DeleteBackupVaultLockConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // contains filtered or unexported fields }
type DeleteBackupVaultNotificationsOutput ¶
type DeleteBackupVaultNotificationsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBackupVaultOutput ¶
type DeleteBackupVaultOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFrameworkInput ¶
type DeleteFrameworkInput struct { // The unique name of a framework. // // This member is required. FrameworkName *string // contains filtered or unexported fields }
type DeleteFrameworkOutput ¶
type DeleteFrameworkOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *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 // . // // This member is required. RecoveryPointArn *string // contains filtered or unexported fields }
type DeleteRecoveryPointOutput ¶
type DeleteRecoveryPointOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteReportPlanInput ¶
type DeleteReportPlanInput struct { // The unique name of a report plan. // // This member is required. ReportPlanName *string // contains filtered or unexported fields }
type DeleteReportPlanOutput ¶
type DeleteReportPlanOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRestoreTestingPlanInput ¶
type DeleteRestoreTestingPlanInput struct { // Required unique name of the restore testing plan you wish to delete. // // This member is required. RestoreTestingPlanName *string // contains filtered or unexported fields }
type DeleteRestoreTestingPlanOutput ¶
type DeleteRestoreTestingPlanOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRestoreTestingSelectionInput ¶
type DeleteRestoreTestingSelectionInput struct { // Required unique name of the restore testing plan that contains the restore // testing selection you wish to delete. // // This member is required. RestoreTestingPlanName *string // Required unique name of the restore testing selection you wish to delete. // // This member is required. RestoreTestingSelectionName *string // contains filtered or unexported fields }
type DeleteRestoreTestingSelectionOutput ¶
type DeleteRestoreTestingSelectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBackupJobInput ¶
type DescribeBackupJobInput struct { // Uniquely identifies a request to Backup to back up a resource. // // This member is required. BackupJobId *string // contains filtered or unexported fields }
type DescribeBackupJobOutput ¶
type DescribeBackupJobOutput struct { // Returns the account ID that owns the backup job. AccountId *string // Uniquely identifies a request to Backup to back up a resource. BackupJobId *string // Represents the options specified as part of backup plan or on-demand backup job. BackupOptions map[string]string // The size, in bytes, of a backup. BackupSizeInBytes *int64 // 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 // An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for // example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . BackupVaultArn *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 // The size in bytes transferred to a backup vault at the time that the job status // was queried. BytesTransferred *int64 // This returns the statistics of the included child (nested) backup jobs. ChildJobsInState map[string]int64 // 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 // 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 *types.RecoveryPointCreator // 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 // 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 // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access . IamRoleArn *string // This is the date a backup job was initiated. InitiationDate *time.Time // This returns the boolean value that a backup job is a parent (composite) job. IsParent bool // This is the job count for the specified message category. // // Example strings may include AccessDenied , SUCCESS , AGGREGATE_ALL , and // INVALIDPARAMETERS . View [Monitoring] for a list of accepted MessageCategory strings. // // [Monitoring]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html MessageCategory *string // This returns the number of child (nested) backup jobs. NumberOfChildJobs *int64 // This returns the parent (composite) resource backup job ID. ParentJobId *string // Contains an estimated percentage that is complete of a job at the time the job // status was queried. PercentDone *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 // An ARN that uniquely identifies a saved resource. The format of the ARN depends // on the resource type. ResourceArn *string // This is the non-unique name of the resource that belongs to the specified // backup. ResourceName *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 // 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 // The current state of a backup job. State types.BackupJobState // A detailed message explaining the status of the job to back up a resource. StatusMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // This is the account ID of the specified backup vault. BackupVaultAccountId *string // contains filtered or unexported fields }
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 // 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 // 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 // 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 // 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 // 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 // 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 // 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 // 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 // The number of recovery points that are stored in a backup vault. NumberOfRecoveryPoints int64 // This is the type of vault described. VaultType types.VaultType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeCopyJobInput ¶
type DescribeCopyJobInput struct { // Uniquely identifies a copy job. // // This member is required. CopyJobId *string // contains filtered or unexported fields }
type DescribeCopyJobOutput ¶
type DescribeCopyJobOutput struct { // Contains detailed information about a copy job. CopyJob *types.CopyJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeFrameworkInput ¶
type DescribeFrameworkInput struct { // The unique name of a framework. // // This member is required. FrameworkName *string // contains filtered or unexported fields }
type DescribeFrameworkOutput ¶
type DescribeFrameworkOutput struct { // The date and time that a framework is created, in ISO 8601 representation. The // value of CreationTime is accurate to milliseconds. For example, // 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 // hours behind UTC. CreationTime *time.Time // The deployment status of a framework. The statuses are: // // CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | // FAILED DeploymentStatus *string // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. FrameworkArn *string // A list of the controls that make up the framework. Each control in the list has // a name, input parameters, and scope. FrameworkControls []types.FrameworkControl // An optional description of the framework. FrameworkDescription *string // The unique name of a framework. FrameworkName *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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeGlobalSettingsInput ¶
type DescribeGlobalSettingsInput struct {
// contains filtered or unexported fields
}
type DescribeGlobalSettingsOutput ¶
type DescribeGlobalSettingsOutput struct { // The status of the flag isCrossAccountBackupEnabled . GlobalSettings map[string]string // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
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 // This is the ARN (Amazon Resource Name) of the backup vault that contains the // most recent backup recovery point. LastBackupVaultArn *string // This is the ARN (Amazon Resource Name) of the most recent recovery point. LastRecoveryPointArn *string // This is the time in minutes the most recent restore job took to complete. LatestRestoreExecutionTimeMinutes *int64 // This is the creation date of the most recent restore job. LatestRestoreJobCreationDate *time.Time // This is the date the most recent recovery point was created. LatestRestoreRecoveryPointCreationDate *time.Time // An ARN that uniquely identifies a resource. The format of the ARN depends on // the resource type. ResourceArn *string // This is the non-unique name of the resource that belongs to the specified // backup. ResourceName *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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *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 // . // // This member is required. RecoveryPointArn *string // This is the account ID of the specified backup vault. BackupVaultAccountId *string // contains filtered or unexported fields }
type DescribeRecoveryPointOutput ¶
type DescribeRecoveryPointOutput struct { // The size, in bytes, of a backup. BackupSizeInBytes *int64 // An ARN that uniquely identifies a backup vault; for example, // arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . BackupVaultArn *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 // A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt // timestamps. CalculatedLifecycle *types.CalculatedLifecycle // 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 // This is the identifier of a resource within a composite group, such as nested // (child) recovery point belonging to a composite (parent) stack. The ID is // transferred from the [logical ID]within a stack. // // [logical ID]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html#resources-section-structure-syntax CompositeMemberIdentifier *string // 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 *types.RecoveryPointCreator // 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 // 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 // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access . IamRoleArn *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 // This returns the boolean value that a recovery point is a parent (composite) // job. IsParent bool // 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 // 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. // // Resource types that are able to be transitioned to cold storage are listed in // the "Lifecycle to cold storage" section of the [Feature availability by resource]table. Backup ignores this // expression for other resource types. // // [Feature availability by resource]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource Lifecycle *types.Lifecycle // This is an ARN that uniquely identifies a parent (composite) recovery point; // for example, // arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 // . ParentRecoveryPointArn *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 // An ARN that uniquely identifies a saved resource. The format of the ARN depends // on the resource type. ResourceArn *string // This is the non-unique name of the resource that belongs to the specified // backup. ResourceName *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 // 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 // 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]. // 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]in the Clean up resources section of // Getting started. // // STOPPED status occurs on a continuous backup where a user has taken some action // that causes the continuous backup to be disabled. This can be caused by the // removal of permissions, turning off versioning, turning off events being sent to // EventBridge, or disabling the EventBridge rules that are put in place by Backup. // // To resolve STOPPED status, ensure that all requested permissions are in place // and that versioning is enabled on the S3 bucket. Once these conditions are met, // the next instance of a backup rule running will result in a new continuous // recovery point being created. The recovery points with STOPPED status do not // need to be deleted. // // For SAP HANA on Amazon EC2 STOPPED status occurs due to user action, // application misconfiguration, or backup failure. To ensure that future // continuous backups succeed, refer to the recovery point status and check SAP // HANA for details. // // [Step 3: Delete the recovery points]: https://docs.aws.amazon.com/aws-backup/latest/devguide/gs-cleanup-resources.html#cleanup-backups // [UpdateBackupPlan]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_UpdateBackupPlan.html Status types.RecoveryPointStatus // A status message explaining the status of the recovery point. StatusMessage *string // Specifies the storage class of the recovery point. Valid values are WARM or COLD // . StorageClass types.StorageClass // This is the type of vault in which the described recovery point is stored. VaultType types.VaultType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeRegionSettingsInput ¶
type DescribeRegionSettingsInput struct {
// contains filtered or unexported fields
}
type DescribeRegionSettingsOutput ¶
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]. // // For a list of resource types and whether each supports full Backup management, // see the [Feature availability by resource]table. // // If "DynamoDB":false , you can enable full Backup management for DynamoDB backup // by enabling [Backup's advanced DynamoDB backup features]. // // [Full Backup management]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management // [Feature availability by resource]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource // [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 // Returns a list of all services along with the opt-in preferences in the Region. ResourceTypeOptInPreference map[string]bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeReportJobInput ¶
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. // // This member is required. ReportJobId *string // contains filtered or unexported fields }
type DescribeReportJobOutput ¶
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 *types.ReportJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeReportPlanInput ¶
type DescribeReportPlanInput struct { // The unique name of a report plan. // // This member is required. ReportPlanName *string // contains filtered or unexported fields }
type DescribeReportPlanOutput ¶
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 *types.ReportPlan // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeRestoreJobInput ¶
type DescribeRestoreJobInput struct { // Uniquely identifies the job that restores a recovery point. // // This member is required. RestoreJobId *string // contains filtered or unexported fields }
type DescribeRestoreJobOutput ¶
type DescribeRestoreJobOutput struct { // Returns the account ID that owns the restore job. AccountId *string // The size, in bytes, of the restored resource. BackupSizeInBytes *int64 // 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 // Contains identifying information about the creation of a restore job. CreatedBy *types.RestoreJobCreator // 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 // 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 // This notes the status of the data generated by the restore test. The status may // be Deleting , Failed , or Successful . DeletionStatus types.RestoreDeletionStatus // This describes the restore job deletion status. DeletionStatusMessage *string // The amount of time in minutes that a job restoring a recovery point is expected // to take. ExpectedCompletionTimeMinutes *int64 // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access . IamRoleArn *string // Contains an estimated percentage that is complete of a job at the time the job // status was queried. PercentDone *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 // This is the creation date of the recovery point made by the specifed restore // job. RecoveryPointCreationDate *time.Time // Returns metadata associated with a restore job listed by resource type. ResourceType *string // Uniquely identifies the job that restores a recovery point. RestoreJobId *string // Status code specifying the state of the job that is initiated by Backup to // restore a recovery point. Status types.RestoreJobStatus // A message showing the status of a job to restore a recovery point. StatusMessage *string // This is the status of validation run on the indicated restore job. ValidationStatus types.RestoreValidationStatus // This describes the status of validation run on the indicated restore job. ValidationStatusMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisassociateRecoveryPointFromParentInput ¶
type DisassociateRecoveryPointFromParentInput struct { // This is the name of a logical container where the child (nested) recovery point // is 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. // // This member is required. BackupVaultName *string // This is the Amazon Resource Name (ARN) that uniquely identifies the child // (nested) recovery point; for example, // arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. // // This member is required. RecoveryPointArn *string // contains filtered or unexported fields }
type DisassociateRecoveryPointFromParentOutput ¶
type DisassociateRecoveryPointFromParentOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisassociateRecoveryPointInput ¶
type DisassociateRecoveryPointInput struct { // The unique name of an Backup vault. // // This member is required. BackupVaultName *string // An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery point. // // This member is required. RecoveryPointArn *string // contains filtered or unexported fields }
type DisassociateRecoveryPointOutput ¶
type DisassociateRecoveryPointOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type ExportBackupPlanTemplateInput ¶
type ExportBackupPlanTemplateInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // contains filtered or unexported fields }
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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackupPlanFromJSONInput ¶
type GetBackupPlanFromJSONInput struct { // A customer-supplied backup plan document in JSON format. // // This member is required. BackupPlanTemplateJson *string // contains filtered or unexported fields }
type GetBackupPlanFromJSONOutput ¶
type GetBackupPlanFromJSONOutput struct { // Specifies the body of a backup plan. Includes a BackupPlanName and one or more // sets of Rules . BackupPlan *types.BackupPlan // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackupPlanFromTemplateInput ¶
type GetBackupPlanFromTemplateInput struct { // Uniquely identifies a stored backup plan template. // // This member is required. BackupPlanTemplateId *string // contains filtered or unexported fields }
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 *types.BackupPlan // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackupPlanInput ¶
type GetBackupPlanInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. Version IDs cannot be edited. VersionId *string // contains filtered or unexported fields }
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 []types.AdvancedBackupSetting // Specifies the body of a backup plan. Includes a BackupPlanName and one or more // sets of Rules . BackupPlan *types.BackupPlan // 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 // Uniquely identifies a backup plan. BackupPlanId *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 // A unique string that identifies the request and allows failed requests to be // retried without the risk of running the operation twice. CreatorRequestId *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 // 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 // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. Version IDs cannot be edited. VersionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackupSelectionInput ¶
type GetBackupSelectionInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // Uniquely identifies the body of a request to assign a set of resources to a // backup plan. // // This member is required. SelectionId *string // contains filtered or unexported fields }
type GetBackupSelectionOutput ¶
type GetBackupSelectionOutput struct { // Uniquely identifies a backup plan. BackupPlanId *string // Specifies the body of a request to assign a set of resources to a backup plan. BackupSelection *types.BackupSelection // 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 // A unique string that identifies the request and allows failed requests to be // retried without the risk of running the operation twice. CreatorRequestId *string // Uniquely identifies the body of a request to assign a set of resources to a // backup plan. SelectionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // contains filtered or unexported fields }
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 // 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 // The backup vault access policy document in JSON format. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *string // contains filtered or unexported fields }
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 // An array of events that indicate the status of jobs to back up resources to the // backup vault. BackupVaultEvents []types.BackupVaultEvent // 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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetLegalHoldInput ¶
type GetLegalHoldInput struct { // This is the ID required to use GetLegalHold . This unique ID is associated with // a specific legal hold. // // This member is required. LegalHoldId *string // contains filtered or unexported fields }
type GetLegalHoldOutput ¶
type GetLegalHoldOutput struct { // String describing the reason for removing the legal hold. CancelDescription *string // Time in number when legal hold was cancelled. CancellationDate *time.Time // Time in number format when legal hold was created. CreationDate *time.Time // This is the returned string description of the legal hold. Description *string // This is the returned framework ARN for the specified legal hold. An Amazon // Resource Name (ARN) uniquely identifies a resource. The format of the ARN // depends on the resource type. LegalHoldArn *string // This is the returned ID associated with a specified legal hold. LegalHoldId *string // This specifies criteria to assign a set of resources, such as resource types or // backup vaults. RecoveryPointSelection *types.RecoveryPointSelection // This is the date and time until which the legal hold record will be retained. RetainRecordUntil *time.Time // This is the status of the legal hold. Statuses can be ACTIVE , CREATING , // CANCELED , and CANCELING . Status types.LegalHoldStatus // This is the string title of the legal hold. Title *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *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 // . // // This member is required. RecoveryPointArn *string // This is the account ID of the specified backup vault. BackupVaultAccountId *string // contains filtered or unexported fields }
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 // 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 // This is the resource type associated with the recovery point. ResourceType *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 map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRestoreJobMetadataInput ¶
type GetRestoreJobMetadataInput struct { // This is a unique identifier of a restore job within Backup. // // This member is required. RestoreJobId *string // contains filtered or unexported fields }
type GetRestoreJobMetadataOutput ¶
type GetRestoreJobMetadataOutput struct { // This contains the metadata of the specified backup job. Metadata map[string]string // This is a unique identifier of a restore job within Backup. RestoreJobId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRestoreTestingInferredMetadataInput ¶
type GetRestoreTestingInferredMetadataInput 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 ServicesRegion where they are created. They consist of letters, // numbers, and hyphens. // // This member is required. BackupVaultName *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 // . // // This member is required. RecoveryPointArn *string // This is the account ID of the specified backup vault. BackupVaultAccountId *string // contains filtered or unexported fields }
type GetRestoreTestingInferredMetadataOutput ¶
type GetRestoreTestingInferredMetadataOutput struct { // This is a string map of the metadata inferred from the request. // // This member is required. InferredMetadata map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRestoreTestingPlanInput ¶
type GetRestoreTestingPlanInput struct { // Required unique name of the restore testing plan. // // This member is required. RestoreTestingPlanName *string // contains filtered or unexported fields }
type GetRestoreTestingPlanOutput ¶
type GetRestoreTestingPlanOutput struct { // Specifies the body of a restore testing plan. Includes RestoreTestingPlanName . // // This member is required. RestoreTestingPlan *types.RestoreTestingPlanForGet // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRestoreTestingSelectionInput ¶
type GetRestoreTestingSelectionInput struct { // Required unique name of the restore testing plan. // // This member is required. RestoreTestingPlanName *string // Required unique name of the restore testing selection. // // This member is required. RestoreTestingSelectionName *string // contains filtered or unexported fields }
type GetRestoreTestingSelectionOutput ¶
type GetRestoreTestingSelectionOutput struct { // Unique name of the restore testing selection. // // This member is required. RestoreTestingSelection *types.RestoreTestingSelectionForGet // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSupportedResourceTypesInput ¶
type GetSupportedResourceTypesInput struct {
// contains filtered or unexported fields
}
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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListBackupJobSummariesAPIClient ¶
type ListBackupJobSummariesAPIClient interface {
ListBackupJobSummaries(context.Context, *ListBackupJobSummariesInput, ...func(*Options)) (*ListBackupJobSummariesOutput, error)
}
ListBackupJobSummariesAPIClient is a client that implements the ListBackupJobSummaries operation.
type ListBackupJobSummariesInput ¶
type ListBackupJobSummariesInput struct { // Returns the job count for the specified account. // // If the request is sent from a member account or an account not part of Amazon // Web Services Organizations, jobs within requestor's account will be returned. // // Root, admin, and delegated administrator accounts can use the value ANY to // return job counts from every account in the organization. // // AGGREGATE_ALL aggregates job counts from all accounts within the authenticated // organization, then returns the sum. AccountId *string // This is the period that sets the boundaries for returned results. // // Acceptable values include // // - ONE_DAY for daily job count for the prior 14 days. // // - SEVEN_DAYS for the aggregated job count for the prior 7 days. // // - FOURTEEN_DAYS for aggregated job count for prior 14 days. AggregationPeriod types.AggregationPeriod // This parameter sets the maximum number of items to be returned. // // The value is an integer. Range of accepted values is from 1 to 500. MaxResults *int32 // This parameter returns the job count for the specified message category. // // Example accepted strings include AccessDenied , Success , and InvalidParameters // . See [Monitoring]for a list of accepted MessageCategory strings. // // The the value ANY returns count of all message categories. // // AGGREGATE_ALL aggregates job counts for all message categories and returns the // sum. // // [Monitoring]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html MessageCategory *string // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // Returns the job count for the specified resource type. Use request // GetSupportedResourceTypes to obtain strings for supported resource types. // // The the value ANY returns count of all resource types. // // AGGREGATE_ALL aggregates job counts for all resource types and returns the sum. // // 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 // This parameter returns the job count for jobs with the specified state. // // The the value ANY returns count of all states. // // AGGREGATE_ALL aggregates job counts for all states and returns the sum. // // Completed with issues is a status found only in the Backup console. For API, // this status refers to jobs with a state of COMPLETED and a MessageCategory with // a value other than SUCCESS ; that is, the status is completed but comes with a // status message. To obtain the job count for Completed with issues , run two GET // requests, and subtract the second, smaller number: // // GET /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&State=COMPLETED // // GET // /audit/backup-job-summaries?AggregationPeriod=FOURTEEN_DAYS&MessageCategory=SUCCESS&State=COMPLETED State types.BackupJobStatus // contains filtered or unexported fields }
type ListBackupJobSummariesOutput ¶
type ListBackupJobSummariesOutput struct { // This is the period that sets the boundaries for returned results. // // - ONE_DAY for daily job count for the prior 14 days. // // - SEVEN_DAYS for the aggregated job count for the prior 7 days. // // - FOURTEEN_DAYS for aggregated job count for prior 14 days. AggregationPeriod *string // This request returns a summary that contains Region, Account, State, // ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs. BackupJobSummaries []types.BackupJobSummary // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupJobSummariesPaginator ¶
type ListBackupJobSummariesPaginator struct {
// contains filtered or unexported fields
}
ListBackupJobSummariesPaginator is a paginator for ListBackupJobSummaries
func NewListBackupJobSummariesPaginator ¶
func NewListBackupJobSummariesPaginator(client ListBackupJobSummariesAPIClient, params *ListBackupJobSummariesInput, optFns ...func(*ListBackupJobSummariesPaginatorOptions)) *ListBackupJobSummariesPaginator
NewListBackupJobSummariesPaginator returns a new ListBackupJobSummariesPaginator
func (*ListBackupJobSummariesPaginator) HasMorePages ¶
func (p *ListBackupJobSummariesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupJobSummariesPaginator) NextPage ¶
func (p *ListBackupJobSummariesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupJobSummariesOutput, error)
NextPage retrieves the next ListBackupJobSummaries page.
type ListBackupJobSummariesPaginatorOptions ¶
type ListBackupJobSummariesPaginatorOptions struct { // This parameter sets the maximum number of items to be returned. // // The value is an integer. Range of accepted values is from 1 to 500. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupJobSummariesPaginatorOptions is the paginator options for ListBackupJobSummaries
type ListBackupJobsAPIClient ¶
type ListBackupJobsAPIClient interface {
ListBackupJobs(context.Context, *ListBackupJobsInput, ...func(*Options)) (*ListBackupJobsOutput, error)
}
ListBackupJobsAPIClient is a client that implements the ListBackupJobs operation.
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 // 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 // Returns only backup jobs completed after a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteAfter *time.Time // Returns only backup jobs completed before a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteBefore *time.Time // Returns only backup jobs that were created after the specified date. ByCreatedAfter *time.Time // Returns only backup jobs that were created before the specified date. ByCreatedBefore *time.Time // This is an optional parameter that can be used to filter out jobs with a // MessageCategory which matches the value you input. // // Example strings may include AccessDenied , SUCCESS , AGGREGATE_ALL , and // InvalidParameters . // // View [Monitoring] // // The wildcard () returns count of all message categories. // // AGGREGATE_ALL aggregates job counts for all message categories and returns the // sum. // // [Monitoring]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html ByMessageCategory *string // This is a filter to list child (nested) jobs based on parent job ID. ByParentJobId *string // Returns only backup jobs that match the specified resource Amazon Resource Name // (ARN). ByResourceArn *string // Returns only backup jobs for the specified resources: // // - Aurora for Amazon Aurora // // - CloudFormation for CloudFormation // // - 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 // // - Redshift for Amazon Redshift // // - RDS for Amazon Relational Database Service // // - SAP HANA on Amazon EC2 for SAP HANA databases // // - Storage Gateway for Storage Gateway // // - S3 for Amazon S3 // // - Timestream for Amazon Timestream // // - VirtualMachine for virtual machines ByResourceType *string // Returns only backup jobs that are in the specified state. // // Completed with issues is a status found only in the Backup console. For API, // this status refers to jobs with a state of COMPLETED and a MessageCategory with // a value other than SUCCESS ; that is, the status is completed but comes with a // status message. // // To obtain the job count for Completed with issues , run two GET requests, and // subtract the second, smaller number: // // GET /backup-jobs/?state=COMPLETED // // GET /backup-jobs/?messageCategory=SUCCESS&state=COMPLETED ByState types.BackupJobState // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListBackupJobsOutput ¶
type ListBackupJobsOutput struct { // An array of structures containing metadata about your backup jobs returned in // JSON format. BackupJobs []types.BackupJob // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupJobsPaginator ¶
type ListBackupJobsPaginator struct {
// contains filtered or unexported fields
}
ListBackupJobsPaginator is a paginator for ListBackupJobs
func NewListBackupJobsPaginator ¶
func NewListBackupJobsPaginator(client ListBackupJobsAPIClient, params *ListBackupJobsInput, optFns ...func(*ListBackupJobsPaginatorOptions)) *ListBackupJobsPaginator
NewListBackupJobsPaginator returns a new ListBackupJobsPaginator
func (*ListBackupJobsPaginator) HasMorePages ¶
func (p *ListBackupJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupJobsPaginator) NextPage ¶
func (p *ListBackupJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupJobsOutput, error)
NextPage retrieves the next ListBackupJobs page.
type ListBackupJobsPaginatorOptions ¶
type ListBackupJobsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupJobsPaginatorOptions is the paginator options for ListBackupJobs
type ListBackupPlanTemplatesAPIClient ¶
type ListBackupPlanTemplatesAPIClient interface {
ListBackupPlanTemplates(context.Context, *ListBackupPlanTemplatesInput, ...func(*Options)) (*ListBackupPlanTemplatesOutput, error)
}
ListBackupPlanTemplatesAPIClient is a client that implements the ListBackupPlanTemplates operation.
type ListBackupPlanTemplatesInput ¶
type ListBackupPlanTemplatesInput struct { // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListBackupPlanTemplatesOutput ¶
type ListBackupPlanTemplatesOutput struct { // An array of template list items containing metadata about your saved templates. BackupPlanTemplatesList []types.BackupPlanTemplatesListMember // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupPlanTemplatesPaginator ¶
type ListBackupPlanTemplatesPaginator struct {
// contains filtered or unexported fields
}
ListBackupPlanTemplatesPaginator is a paginator for ListBackupPlanTemplates
func NewListBackupPlanTemplatesPaginator ¶
func NewListBackupPlanTemplatesPaginator(client ListBackupPlanTemplatesAPIClient, params *ListBackupPlanTemplatesInput, optFns ...func(*ListBackupPlanTemplatesPaginatorOptions)) *ListBackupPlanTemplatesPaginator
NewListBackupPlanTemplatesPaginator returns a new ListBackupPlanTemplatesPaginator
func (*ListBackupPlanTemplatesPaginator) HasMorePages ¶
func (p *ListBackupPlanTemplatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupPlanTemplatesPaginator) NextPage ¶
func (p *ListBackupPlanTemplatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupPlanTemplatesOutput, error)
NextPage retrieves the next ListBackupPlanTemplates page.
type ListBackupPlanTemplatesPaginatorOptions ¶
type ListBackupPlanTemplatesPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupPlanTemplatesPaginatorOptions is the paginator options for ListBackupPlanTemplates
type ListBackupPlanVersionsAPIClient ¶
type ListBackupPlanVersionsAPIClient interface {
ListBackupPlanVersions(context.Context, *ListBackupPlanVersionsInput, ...func(*Options)) (*ListBackupPlanVersionsOutput, error)
}
ListBackupPlanVersionsAPIClient is a client that implements the ListBackupPlanVersions operation.
type ListBackupPlanVersionsInput ¶
type ListBackupPlanVersionsInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListBackupPlanVersionsOutput ¶
type ListBackupPlanVersionsOutput struct { // An array of version list items containing metadata about your backup plans. BackupPlanVersionsList []types.BackupPlansListMember // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupPlanVersionsPaginator ¶
type ListBackupPlanVersionsPaginator struct {
// contains filtered or unexported fields
}
ListBackupPlanVersionsPaginator is a paginator for ListBackupPlanVersions
func NewListBackupPlanVersionsPaginator ¶
func NewListBackupPlanVersionsPaginator(client ListBackupPlanVersionsAPIClient, params *ListBackupPlanVersionsInput, optFns ...func(*ListBackupPlanVersionsPaginatorOptions)) *ListBackupPlanVersionsPaginator
NewListBackupPlanVersionsPaginator returns a new ListBackupPlanVersionsPaginator
func (*ListBackupPlanVersionsPaginator) HasMorePages ¶
func (p *ListBackupPlanVersionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupPlanVersionsPaginator) NextPage ¶
func (p *ListBackupPlanVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupPlanVersionsOutput, error)
NextPage retrieves the next ListBackupPlanVersions page.
type ListBackupPlanVersionsPaginatorOptions ¶
type ListBackupPlanVersionsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupPlanVersionsPaginatorOptions is the paginator options for ListBackupPlanVersions
type ListBackupPlansAPIClient ¶
type ListBackupPlansAPIClient interface {
ListBackupPlans(context.Context, *ListBackupPlansInput, ...func(*Options)) (*ListBackupPlansOutput, error)
}
ListBackupPlansAPIClient is a client that implements the ListBackupPlans operation.
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 // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListBackupPlansOutput ¶
type ListBackupPlansOutput struct { // An array of backup plan list items containing metadata about your saved backup // plans. BackupPlansList []types.BackupPlansListMember // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupPlansPaginator ¶
type ListBackupPlansPaginator struct {
// contains filtered or unexported fields
}
ListBackupPlansPaginator is a paginator for ListBackupPlans
func NewListBackupPlansPaginator ¶
func NewListBackupPlansPaginator(client ListBackupPlansAPIClient, params *ListBackupPlansInput, optFns ...func(*ListBackupPlansPaginatorOptions)) *ListBackupPlansPaginator
NewListBackupPlansPaginator returns a new ListBackupPlansPaginator
func (*ListBackupPlansPaginator) HasMorePages ¶
func (p *ListBackupPlansPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupPlansPaginator) NextPage ¶
func (p *ListBackupPlansPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupPlansOutput, error)
NextPage retrieves the next ListBackupPlans page.
type ListBackupPlansPaginatorOptions ¶
type ListBackupPlansPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupPlansPaginatorOptions is the paginator options for ListBackupPlans
type ListBackupSelectionsAPIClient ¶
type ListBackupSelectionsAPIClient interface {
ListBackupSelections(context.Context, *ListBackupSelectionsInput, ...func(*Options)) (*ListBackupSelectionsOutput, error)
}
ListBackupSelectionsAPIClient is a client that implements the ListBackupSelections operation.
type ListBackupSelectionsInput ¶
type ListBackupSelectionsInput struct { // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListBackupSelectionsOutput ¶
type ListBackupSelectionsOutput struct { // An array of backup selection list items containing metadata about each resource // in the list. BackupSelectionsList []types.BackupSelectionsListMember // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupSelectionsPaginator ¶
type ListBackupSelectionsPaginator struct {
// contains filtered or unexported fields
}
ListBackupSelectionsPaginator is a paginator for ListBackupSelections
func NewListBackupSelectionsPaginator ¶
func NewListBackupSelectionsPaginator(client ListBackupSelectionsAPIClient, params *ListBackupSelectionsInput, optFns ...func(*ListBackupSelectionsPaginatorOptions)) *ListBackupSelectionsPaginator
NewListBackupSelectionsPaginator returns a new ListBackupSelectionsPaginator
func (*ListBackupSelectionsPaginator) HasMorePages ¶
func (p *ListBackupSelectionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupSelectionsPaginator) NextPage ¶
func (p *ListBackupSelectionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupSelectionsOutput, error)
NextPage retrieves the next ListBackupSelections page.
type ListBackupSelectionsPaginatorOptions ¶
type ListBackupSelectionsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupSelectionsPaginatorOptions is the paginator options for ListBackupSelections
type ListBackupVaultsAPIClient ¶
type ListBackupVaultsAPIClient interface {
ListBackupVaults(context.Context, *ListBackupVaultsInput, ...func(*Options)) (*ListBackupVaultsOutput, error)
}
ListBackupVaultsAPIClient is a client that implements the ListBackupVaults operation.
type ListBackupVaultsInput ¶
type ListBackupVaultsInput struct { bool // This parameter will sort the list of vaults by vault type. ByVaultType types.VaultType // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }ByShared
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 []types.BackupVaultListMember // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackupVaultsPaginator ¶
type ListBackupVaultsPaginator struct {
// contains filtered or unexported fields
}
ListBackupVaultsPaginator is a paginator for ListBackupVaults
func NewListBackupVaultsPaginator ¶
func NewListBackupVaultsPaginator(client ListBackupVaultsAPIClient, params *ListBackupVaultsInput, optFns ...func(*ListBackupVaultsPaginatorOptions)) *ListBackupVaultsPaginator
NewListBackupVaultsPaginator returns a new ListBackupVaultsPaginator
func (*ListBackupVaultsPaginator) HasMorePages ¶
func (p *ListBackupVaultsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBackupVaultsPaginator) NextPage ¶
func (p *ListBackupVaultsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBackupVaultsOutput, error)
NextPage retrieves the next ListBackupVaults page.
type ListBackupVaultsPaginatorOptions ¶
type ListBackupVaultsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBackupVaultsPaginatorOptions is the paginator options for ListBackupVaults
type ListCopyJobSummariesAPIClient ¶
type ListCopyJobSummariesAPIClient interface {
ListCopyJobSummaries(context.Context, *ListCopyJobSummariesInput, ...func(*Options)) (*ListCopyJobSummariesOutput, error)
}
ListCopyJobSummariesAPIClient is a client that implements the ListCopyJobSummaries operation.
type ListCopyJobSummariesInput ¶
type ListCopyJobSummariesInput struct { // Returns the job count for the specified account. // // If the request is sent from a member account or an account not part of Amazon // Web Services Organizations, jobs within requestor's account will be returned. // // Root, admin, and delegated administrator accounts can use the value ANY to // return job counts from every account in the organization. // // AGGREGATE_ALL aggregates job counts from all accounts within the authenticated // organization, then returns the sum. AccountId *string // This is the period that sets the boundaries for returned results. // // - ONE_DAY for daily job count for the prior 14 days. // // - SEVEN_DAYS for the aggregated job count for the prior 7 days. // // - FOURTEEN_DAYS for aggregated job count for prior 14 days. AggregationPeriod types.AggregationPeriod // This parameter sets the maximum number of items to be returned. // // The value is an integer. Range of accepted values is from 1 to 500. MaxResults *int32 // This parameter returns the job count for the specified message category. // // Example accepted strings include AccessDenied , Success , and InvalidParameters // . See [Monitoring]for a list of accepted MessageCategory strings. // // The the value ANY returns count of all message categories. // // AGGREGATE_ALL aggregates job counts for all message categories and returns the // sum. // // [Monitoring]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html MessageCategory *string // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // Returns the job count for the specified resource type. Use request // GetSupportedResourceTypes to obtain strings for supported resource types. // // The the value ANY returns count of all resource types. // // AGGREGATE_ALL aggregates job counts for all resource types and returns the sum. // // 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 // This parameter returns the job count for jobs with the specified state. // // The the value ANY returns count of all states. // // AGGREGATE_ALL aggregates job counts for all states and returns the sum. State types.CopyJobStatus // contains filtered or unexported fields }
type ListCopyJobSummariesOutput ¶
type ListCopyJobSummariesOutput struct { // This is the period that sets the boundaries for returned results. // // - ONE_DAY for daily job count for the prior 14 days. // // - SEVEN_DAYS for the aggregated job count for the prior 7 days. // // - FOURTEEN_DAYS for aggregated job count for prior 14 days. AggregationPeriod *string // This return shows a summary that contains Region, Account, State, ResourceType, // MessageCategory, StartTime, EndTime, and Count of included jobs. CopyJobSummaries []types.CopyJobSummary // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCopyJobSummariesPaginator ¶
type ListCopyJobSummariesPaginator struct {
// contains filtered or unexported fields
}
ListCopyJobSummariesPaginator is a paginator for ListCopyJobSummaries
func NewListCopyJobSummariesPaginator ¶
func NewListCopyJobSummariesPaginator(client ListCopyJobSummariesAPIClient, params *ListCopyJobSummariesInput, optFns ...func(*ListCopyJobSummariesPaginatorOptions)) *ListCopyJobSummariesPaginator
NewListCopyJobSummariesPaginator returns a new ListCopyJobSummariesPaginator
func (*ListCopyJobSummariesPaginator) HasMorePages ¶
func (p *ListCopyJobSummariesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCopyJobSummariesPaginator) NextPage ¶
func (p *ListCopyJobSummariesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCopyJobSummariesOutput, error)
NextPage retrieves the next ListCopyJobSummaries page.
type ListCopyJobSummariesPaginatorOptions ¶
type ListCopyJobSummariesPaginatorOptions struct { // This parameter sets the maximum number of items to be returned. // // The value is an integer. Range of accepted values is from 1 to 500. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCopyJobSummariesPaginatorOptions is the paginator options for ListCopyJobSummaries
type ListCopyJobsAPIClient ¶
type ListCopyJobsAPIClient interface {
ListCopyJobs(context.Context, *ListCopyJobsInput, ...func(*Options)) (*ListCopyJobsOutput, error)
}
ListCopyJobsAPIClient is a client that implements the ListCopyJobs operation.
type ListCopyJobsInput ¶
type ListCopyJobsInput struct { // The account ID to list the jobs from. Returns only copy jobs associated with // the specified account ID. ByAccountId *string // Returns only copy jobs completed after a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteAfter *time.Time // Returns only copy jobs completed before a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteBefore *time.Time // Returns only copy jobs that were created after the specified date. ByCreatedAfter *time.Time // Returns only copy jobs that were created before the specified date. ByCreatedBefore *time.Time // 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 // This is an optional parameter that can be used to filter out jobs with a // MessageCategory which matches the value you input. // // Example strings may include AccessDenied , SUCCESS , AGGREGATE_ALL , and // INVALIDPARAMETERS . // // View [Monitoring] for a list of accepted strings. // // The the value ANY returns count of all message categories. // // AGGREGATE_ALL aggregates job counts for all message categories and returns the // sum. // // [Monitoring]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html ByMessageCategory *string // This is a filter to list child (nested) jobs based on parent job ID. ByParentJobId *string // Returns only copy jobs that match the specified resource Amazon Resource Name // (ARN). ByResourceArn *string // Returns only backup jobs for the specified resources: // // - Aurora for Amazon Aurora // // - CloudFormation for CloudFormation // // - 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 // // - Redshift for Amazon Redshift // // - RDS for Amazon Relational Database Service // // - SAP HANA on Amazon EC2 for SAP HANA databases // // - Storage Gateway for Storage Gateway // // - S3 for Amazon S3 // // - Timestream for Amazon Timestream // // - VirtualMachine for virtual machines ByResourceType *string // Returns only copy jobs that are in the specified state. ByState types.CopyJobState // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListCopyJobsOutput ¶
type ListCopyJobsOutput struct { // An array of structures containing metadata about your copy jobs returned in // JSON format. CopyJobs []types.CopyJob // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCopyJobsPaginator ¶
type ListCopyJobsPaginator struct {
// contains filtered or unexported fields
}
ListCopyJobsPaginator is a paginator for ListCopyJobs
func NewListCopyJobsPaginator ¶
func NewListCopyJobsPaginator(client ListCopyJobsAPIClient, params *ListCopyJobsInput, optFns ...func(*ListCopyJobsPaginatorOptions)) *ListCopyJobsPaginator
NewListCopyJobsPaginator returns a new ListCopyJobsPaginator
func (*ListCopyJobsPaginator) HasMorePages ¶
func (p *ListCopyJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCopyJobsPaginator) NextPage ¶
func (p *ListCopyJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCopyJobsOutput, error)
NextPage retrieves the next ListCopyJobs page.
type ListCopyJobsPaginatorOptions ¶
type ListCopyJobsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCopyJobsPaginatorOptions is the paginator options for ListCopyJobs
type ListFrameworksAPIClient ¶
type ListFrameworksAPIClient interface {
ListFrameworks(context.Context, *ListFrameworksInput, ...func(*Options)) (*ListFrameworksOutput, error)
}
ListFrameworksAPIClient is a client that implements the ListFrameworks operation.
type ListFrameworksInput ¶
type ListFrameworksInput struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListFrameworksOutput ¶
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 []types.Framework // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFrameworksPaginator ¶
type ListFrameworksPaginator struct {
// contains filtered or unexported fields
}
ListFrameworksPaginator is a paginator for ListFrameworks
func NewListFrameworksPaginator ¶
func NewListFrameworksPaginator(client ListFrameworksAPIClient, params *ListFrameworksInput, optFns ...func(*ListFrameworksPaginatorOptions)) *ListFrameworksPaginator
NewListFrameworksPaginator returns a new ListFrameworksPaginator
func (*ListFrameworksPaginator) HasMorePages ¶
func (p *ListFrameworksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFrameworksPaginator) NextPage ¶
func (p *ListFrameworksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFrameworksOutput, error)
NextPage retrieves the next ListFrameworks page.
type ListFrameworksPaginatorOptions ¶
type ListFrameworksPaginatorOptions struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFrameworksPaginatorOptions is the paginator options for ListFrameworks
type ListLegalHoldsAPIClient ¶
type ListLegalHoldsAPIClient interface {
ListLegalHolds(context.Context, *ListLegalHoldsInput, ...func(*Options)) (*ListLegalHoldsOutput, error)
}
ListLegalHoldsAPIClient is a client that implements the ListLegalHolds operation.
type ListLegalHoldsInput ¶
type ListLegalHoldsInput struct { // The maximum number of resource list items to be returned. MaxResults *int32 // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // contains filtered or unexported fields }
type ListLegalHoldsOutput ¶
type ListLegalHoldsOutput struct { // This is an array of returned legal holds, both active and previous. LegalHolds []types.LegalHold // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLegalHoldsPaginator ¶
type ListLegalHoldsPaginator struct {
// contains filtered or unexported fields
}
ListLegalHoldsPaginator is a paginator for ListLegalHolds
func NewListLegalHoldsPaginator ¶
func NewListLegalHoldsPaginator(client ListLegalHoldsAPIClient, params *ListLegalHoldsInput, optFns ...func(*ListLegalHoldsPaginatorOptions)) *ListLegalHoldsPaginator
NewListLegalHoldsPaginator returns a new ListLegalHoldsPaginator
func (*ListLegalHoldsPaginator) HasMorePages ¶
func (p *ListLegalHoldsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListLegalHoldsPaginator) NextPage ¶
func (p *ListLegalHoldsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLegalHoldsOutput, error)
NextPage retrieves the next ListLegalHolds page.
type ListLegalHoldsPaginatorOptions ¶
type ListLegalHoldsPaginatorOptions struct { // The maximum number of resource list items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListLegalHoldsPaginatorOptions is the paginator options for ListLegalHolds
type ListProtectedResourcesAPIClient ¶
type ListProtectedResourcesAPIClient interface {
ListProtectedResources(context.Context, *ListProtectedResourcesInput, ...func(*Options)) (*ListProtectedResourcesOutput, error)
}
ListProtectedResourcesAPIClient is a client that implements the ListProtectedResources operation.
type ListProtectedResourcesByBackupVaultAPIClient ¶
type ListProtectedResourcesByBackupVaultAPIClient interface {
ListProtectedResourcesByBackupVault(context.Context, *ListProtectedResourcesByBackupVaultInput, ...func(*Options)) (*ListProtectedResourcesByBackupVaultOutput, error)
}
ListProtectedResourcesByBackupVaultAPIClient is a client that implements the ListProtectedResourcesByBackupVault operation.
type ListProtectedResourcesByBackupVaultInput ¶
type ListProtectedResourcesByBackupVaultInput struct { // This is the list of protected resources by backup vault within the vault(s) you // specify by name. // // This member is required. BackupVaultName *string // This is the list of protected resources by backup vault within the vault(s) you // specify by account ID. BackupVaultAccountId *string // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListProtectedResourcesByBackupVaultOutput ¶
type ListProtectedResourcesByBackupVaultOutput 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 // These are the results returned for the request // ListProtectedResourcesByBackupVault. Results []types.ProtectedResource // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProtectedResourcesByBackupVaultPaginator ¶
type ListProtectedResourcesByBackupVaultPaginator struct {
// contains filtered or unexported fields
}
ListProtectedResourcesByBackupVaultPaginator is a paginator for ListProtectedResourcesByBackupVault
func NewListProtectedResourcesByBackupVaultPaginator ¶
func NewListProtectedResourcesByBackupVaultPaginator(client ListProtectedResourcesByBackupVaultAPIClient, params *ListProtectedResourcesByBackupVaultInput, optFns ...func(*ListProtectedResourcesByBackupVaultPaginatorOptions)) *ListProtectedResourcesByBackupVaultPaginator
NewListProtectedResourcesByBackupVaultPaginator returns a new ListProtectedResourcesByBackupVaultPaginator
func (*ListProtectedResourcesByBackupVaultPaginator) HasMorePages ¶
func (p *ListProtectedResourcesByBackupVaultPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProtectedResourcesByBackupVaultPaginator) NextPage ¶
func (p *ListProtectedResourcesByBackupVaultPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProtectedResourcesByBackupVaultOutput, error)
NextPage retrieves the next ListProtectedResourcesByBackupVault page.
type ListProtectedResourcesByBackupVaultPaginatorOptions ¶
type ListProtectedResourcesByBackupVaultPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProtectedResourcesByBackupVaultPaginatorOptions is the paginator options for ListProtectedResourcesByBackupVault
type ListProtectedResourcesInput ¶
type ListProtectedResourcesInput struct { // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
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 // 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 []types.ProtectedResource // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProtectedResourcesPaginator ¶
type ListProtectedResourcesPaginator struct {
// contains filtered or unexported fields
}
ListProtectedResourcesPaginator is a paginator for ListProtectedResources
func NewListProtectedResourcesPaginator ¶
func NewListProtectedResourcesPaginator(client ListProtectedResourcesAPIClient, params *ListProtectedResourcesInput, optFns ...func(*ListProtectedResourcesPaginatorOptions)) *ListProtectedResourcesPaginator
NewListProtectedResourcesPaginator returns a new ListProtectedResourcesPaginator
func (*ListProtectedResourcesPaginator) HasMorePages ¶
func (p *ListProtectedResourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProtectedResourcesPaginator) NextPage ¶
func (p *ListProtectedResourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProtectedResourcesOutput, error)
NextPage retrieves the next ListProtectedResources page.
type ListProtectedResourcesPaginatorOptions ¶
type ListProtectedResourcesPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProtectedResourcesPaginatorOptions is the paginator options for ListProtectedResources
type ListRecoveryPointsByBackupVaultAPIClient ¶
type ListRecoveryPointsByBackupVaultAPIClient interface {
ListRecoveryPointsByBackupVault(context.Context, *ListRecoveryPointsByBackupVaultInput, ...func(*Options)) (*ListRecoveryPointsByBackupVaultOutput, error)
}
ListRecoveryPointsByBackupVaultAPIClient is a client that implements the ListRecoveryPointsByBackupVault operation.
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. // // This member is required. BackupVaultName *string // This parameter will sort the list of recovery points by account ID. BackupVaultAccountId *string // Returns only recovery points that match the specified backup plan ID. ByBackupPlanId *string // Returns only recovery points that were created after the specified timestamp. ByCreatedAfter *time.Time // Returns only recovery points that were created before the specified timestamp. ByCreatedBefore *time.Time // This returns only recovery points that match the specified parent (composite) // recovery point Amazon Resource Name (ARN). ByParentRecoveryPointArn *string // Returns only recovery points that match the specified resource Amazon Resource // Name (ARN). ByResourceArn *string // Returns only recovery points that match the specified resource type(s): // // - Aurora for Amazon Aurora // // - CloudFormation for CloudFormation // // - 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 // // - Redshift for Amazon Redshift // // - RDS for Amazon Relational Database Service // // - SAP HANA on Amazon EC2 for SAP HANA databases // // - Storage Gateway for Storage Gateway // // - S3 for Amazon S3 // // - Timestream for Amazon Timestream // // - VirtualMachine for virtual machines ByResourceType *string // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
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 // An array of objects that contain detailed information about recovery points // saved in a backup vault. RecoveryPoints []types.RecoveryPointByBackupVault // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRecoveryPointsByBackupVaultPaginator ¶
type ListRecoveryPointsByBackupVaultPaginator struct {
// contains filtered or unexported fields
}
ListRecoveryPointsByBackupVaultPaginator is a paginator for ListRecoveryPointsByBackupVault
func NewListRecoveryPointsByBackupVaultPaginator ¶
func NewListRecoveryPointsByBackupVaultPaginator(client ListRecoveryPointsByBackupVaultAPIClient, params *ListRecoveryPointsByBackupVaultInput, optFns ...func(*ListRecoveryPointsByBackupVaultPaginatorOptions)) *ListRecoveryPointsByBackupVaultPaginator
NewListRecoveryPointsByBackupVaultPaginator returns a new ListRecoveryPointsByBackupVaultPaginator
func (*ListRecoveryPointsByBackupVaultPaginator) HasMorePages ¶
func (p *ListRecoveryPointsByBackupVaultPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRecoveryPointsByBackupVaultPaginator) NextPage ¶
func (p *ListRecoveryPointsByBackupVaultPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRecoveryPointsByBackupVaultOutput, error)
NextPage retrieves the next ListRecoveryPointsByBackupVault page.
type ListRecoveryPointsByBackupVaultPaginatorOptions ¶
type ListRecoveryPointsByBackupVaultPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRecoveryPointsByBackupVaultPaginatorOptions is the paginator options for ListRecoveryPointsByBackupVault
type ListRecoveryPointsByLegalHoldAPIClient ¶
type ListRecoveryPointsByLegalHoldAPIClient interface {
ListRecoveryPointsByLegalHold(context.Context, *ListRecoveryPointsByLegalHoldInput, ...func(*Options)) (*ListRecoveryPointsByLegalHoldOutput, error)
}
ListRecoveryPointsByLegalHoldAPIClient is a client that implements the ListRecoveryPointsByLegalHold operation.
type ListRecoveryPointsByLegalHoldInput ¶
type ListRecoveryPointsByLegalHoldInput struct { // This is the ID of the legal hold. // // This member is required. LegalHoldId *string // This is the maximum number of resource list items to be returned. MaxResults *int32 // This is the next item following a partial list of returned resources. For // example, if a request is made to return MaxResults number of resources, // NextToken allows you to return more items in your list starting at the location // pointed to by the next token. NextToken *string // contains filtered or unexported fields }
type ListRecoveryPointsByLegalHoldOutput ¶
type ListRecoveryPointsByLegalHoldOutput struct { // This return is the next item following a partial list of returned resources. NextToken *string // This is a list of the recovery points returned by ListRecoveryPointsByLegalHold . RecoveryPoints []types.RecoveryPointMember // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRecoveryPointsByLegalHoldPaginator ¶
type ListRecoveryPointsByLegalHoldPaginator struct {
// contains filtered or unexported fields
}
ListRecoveryPointsByLegalHoldPaginator is a paginator for ListRecoveryPointsByLegalHold
func NewListRecoveryPointsByLegalHoldPaginator ¶
func NewListRecoveryPointsByLegalHoldPaginator(client ListRecoveryPointsByLegalHoldAPIClient, params *ListRecoveryPointsByLegalHoldInput, optFns ...func(*ListRecoveryPointsByLegalHoldPaginatorOptions)) *ListRecoveryPointsByLegalHoldPaginator
NewListRecoveryPointsByLegalHoldPaginator returns a new ListRecoveryPointsByLegalHoldPaginator
func (*ListRecoveryPointsByLegalHoldPaginator) HasMorePages ¶
func (p *ListRecoveryPointsByLegalHoldPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRecoveryPointsByLegalHoldPaginator) NextPage ¶
func (p *ListRecoveryPointsByLegalHoldPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRecoveryPointsByLegalHoldOutput, error)
NextPage retrieves the next ListRecoveryPointsByLegalHold page.
type ListRecoveryPointsByLegalHoldPaginatorOptions ¶
type ListRecoveryPointsByLegalHoldPaginatorOptions struct { // This is the maximum number of resource list items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRecoveryPointsByLegalHoldPaginatorOptions is the paginator options for ListRecoveryPointsByLegalHold
type ListRecoveryPointsByResourceAPIClient ¶
type ListRecoveryPointsByResourceAPIClient interface {
ListRecoveryPointsByResource(context.Context, *ListRecoveryPointsByResourceInput, ...func(*Options)) (*ListRecoveryPointsByResourceOutput, error)
}
ListRecoveryPointsByResourceAPIClient is a client that implements the ListRecoveryPointsByResource operation.
type ListRecoveryPointsByResourceInput ¶
type ListRecoveryPointsByResourceInput struct { // An ARN that uniquely identifies a resource. The format of the ARN depends on // the resource type. // // This member is required. ResourceArn *string // This attribute filters recovery points based on ownership. // // If this is set to TRUE , the response will contain recovery points associated // with the selected resources that are managed by Backup. // // If this is set to FALSE , the response will contain all recovery points // associated with the selected resource. // // Type: Boolean ManagedByAWSBackupOnly bool // The maximum number of items to be returned. // // Amazon RDS requires a value of at least 20. MaxResults *int32 // 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 // contains filtered or unexported fields }
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 // 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 []types.RecoveryPointByResource // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRecoveryPointsByResourcePaginator ¶
type ListRecoveryPointsByResourcePaginator struct {
// contains filtered or unexported fields
}
ListRecoveryPointsByResourcePaginator is a paginator for ListRecoveryPointsByResource
func NewListRecoveryPointsByResourcePaginator ¶
func NewListRecoveryPointsByResourcePaginator(client ListRecoveryPointsByResourceAPIClient, params *ListRecoveryPointsByResourceInput, optFns ...func(*ListRecoveryPointsByResourcePaginatorOptions)) *ListRecoveryPointsByResourcePaginator
NewListRecoveryPointsByResourcePaginator returns a new ListRecoveryPointsByResourcePaginator
func (*ListRecoveryPointsByResourcePaginator) HasMorePages ¶
func (p *ListRecoveryPointsByResourcePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRecoveryPointsByResourcePaginator) NextPage ¶
func (p *ListRecoveryPointsByResourcePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRecoveryPointsByResourceOutput, error)
NextPage retrieves the next ListRecoveryPointsByResource page.
type ListRecoveryPointsByResourcePaginatorOptions ¶
type ListRecoveryPointsByResourcePaginatorOptions struct { // The maximum number of items to be returned. // // Amazon RDS requires a value of at least 20. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRecoveryPointsByResourcePaginatorOptions is the paginator options for ListRecoveryPointsByResource
type ListReportJobsAPIClient ¶
type ListReportJobsAPIClient interface {
ListReportJobs(context.Context, *ListReportJobsInput, ...func(*Options)) (*ListReportJobsOutput, error)
}
ListReportJobsAPIClient is a client that implements the ListReportJobs operation.
type ListReportJobsInput ¶
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 // 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 // Returns only report jobs with the specified report plan name. ByReportPlanName *string // Returns only report jobs that are in the specified status. The statuses are: // // CREATED | RUNNING | COMPLETED | FAILED ByStatus *string // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListReportJobsOutput ¶
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 // Details about your report jobs in JSON format. ReportJobs []types.ReportJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListReportJobsPaginator ¶
type ListReportJobsPaginator struct {
// contains filtered or unexported fields
}
ListReportJobsPaginator is a paginator for ListReportJobs
func NewListReportJobsPaginator ¶
func NewListReportJobsPaginator(client ListReportJobsAPIClient, params *ListReportJobsInput, optFns ...func(*ListReportJobsPaginatorOptions)) *ListReportJobsPaginator
NewListReportJobsPaginator returns a new ListReportJobsPaginator
func (*ListReportJobsPaginator) HasMorePages ¶
func (p *ListReportJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReportJobsPaginator) NextPage ¶
func (p *ListReportJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportJobsOutput, error)
NextPage retrieves the next ListReportJobs page.
type ListReportJobsPaginatorOptions ¶
type ListReportJobsPaginatorOptions struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListReportJobsPaginatorOptions is the paginator options for ListReportJobs
type ListReportPlansAPIClient ¶
type ListReportPlansAPIClient interface {
ListReportPlans(context.Context, *ListReportPlansInput, ...func(*Options)) (*ListReportPlansOutput, error)
}
ListReportPlansAPIClient is a client that implements the ListReportPlans operation.
type ListReportPlansInput ¶
type ListReportPlansInput struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListReportPlansOutput ¶
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 // 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 []types.ReportPlan // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListReportPlansPaginator ¶
type ListReportPlansPaginator struct {
// contains filtered or unexported fields
}
ListReportPlansPaginator is a paginator for ListReportPlans
func NewListReportPlansPaginator ¶
func NewListReportPlansPaginator(client ListReportPlansAPIClient, params *ListReportPlansInput, optFns ...func(*ListReportPlansPaginatorOptions)) *ListReportPlansPaginator
NewListReportPlansPaginator returns a new ListReportPlansPaginator
func (*ListReportPlansPaginator) HasMorePages ¶
func (p *ListReportPlansPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReportPlansPaginator) NextPage ¶
func (p *ListReportPlansPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportPlansOutput, error)
NextPage retrieves the next ListReportPlans page.
type ListReportPlansPaginatorOptions ¶
type ListReportPlansPaginatorOptions struct { // The number of desired results from 1 to 1000. Optional. If unspecified, the // query will return 1 MB of data. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListReportPlansPaginatorOptions is the paginator options for ListReportPlans
type ListRestoreJobSummariesAPIClient ¶
type ListRestoreJobSummariesAPIClient interface {
ListRestoreJobSummaries(context.Context, *ListRestoreJobSummariesInput, ...func(*Options)) (*ListRestoreJobSummariesOutput, error)
}
ListRestoreJobSummariesAPIClient is a client that implements the ListRestoreJobSummaries operation.
type ListRestoreJobSummariesInput ¶
type ListRestoreJobSummariesInput struct { // Returns the job count for the specified account. // // If the request is sent from a member account or an account not part of Amazon // Web Services Organizations, jobs within requestor's account will be returned. // // Root, admin, and delegated administrator accounts can use the value ANY to // return job counts from every account in the organization. // // AGGREGATE_ALL aggregates job counts from all accounts within the authenticated // organization, then returns the sum. AccountId *string // This is the period that sets the boundaries for returned results. // // Acceptable values include // // - ONE_DAY for daily job count for the prior 14 days. // // - SEVEN_DAYS for the aggregated job count for the prior 7 days. // // - FOURTEEN_DAYS for aggregated job count for prior 14 days. AggregationPeriod types.AggregationPeriod // This parameter sets the maximum number of items to be returned. // // The value is an integer. Range of accepted values is from 1 to 500. MaxResults *int32 // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // Returns the job count for the specified resource type. Use request // GetSupportedResourceTypes to obtain strings for supported resource types. // // The the value ANY returns count of all resource types. // // AGGREGATE_ALL aggregates job counts for all resource types and returns the sum. // // 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 // This parameter returns the job count for jobs with the specified state. // // The the value ANY returns count of all states. // // AGGREGATE_ALL aggregates job counts for all states and returns the sum. State types.RestoreJobState // contains filtered or unexported fields }
type ListRestoreJobSummariesOutput ¶
type ListRestoreJobSummariesOutput struct { // This is the period that sets the boundaries for returned results. // // - ONE_DAY for daily job count for the prior 14 days. // // - SEVEN_DAYS for the aggregated job count for the prior 7 days. // // - FOURTEEN_DAYS for aggregated job count for prior 14 days. AggregationPeriod *string // The next item following a partial list of returned resources. For example, if a // request is made to return MaxResults number of resources, NextToken allows you // to return more items in your list starting at the location pointed to by the // next token. NextToken *string // This return contains a summary that contains Region, Account, State, // ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs. RestoreJobSummaries []types.RestoreJobSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRestoreJobSummariesPaginator ¶
type ListRestoreJobSummariesPaginator struct {
// contains filtered or unexported fields
}
ListRestoreJobSummariesPaginator is a paginator for ListRestoreJobSummaries
func NewListRestoreJobSummariesPaginator ¶
func NewListRestoreJobSummariesPaginator(client ListRestoreJobSummariesAPIClient, params *ListRestoreJobSummariesInput, optFns ...func(*ListRestoreJobSummariesPaginatorOptions)) *ListRestoreJobSummariesPaginator
NewListRestoreJobSummariesPaginator returns a new ListRestoreJobSummariesPaginator
func (*ListRestoreJobSummariesPaginator) HasMorePages ¶
func (p *ListRestoreJobSummariesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRestoreJobSummariesPaginator) NextPage ¶
func (p *ListRestoreJobSummariesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRestoreJobSummariesOutput, error)
NextPage retrieves the next ListRestoreJobSummaries page.
type ListRestoreJobSummariesPaginatorOptions ¶
type ListRestoreJobSummariesPaginatorOptions struct { // This parameter sets the maximum number of items to be returned. // // The value is an integer. Range of accepted values is from 1 to 500. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRestoreJobSummariesPaginatorOptions is the paginator options for ListRestoreJobSummaries
type ListRestoreJobsAPIClient ¶
type ListRestoreJobsAPIClient interface {
ListRestoreJobs(context.Context, *ListRestoreJobsInput, ...func(*Options)) (*ListRestoreJobsOutput, error)
}
ListRestoreJobsAPIClient is a client that implements the ListRestoreJobs operation.
type ListRestoreJobsByProtectedResourceAPIClient ¶
type ListRestoreJobsByProtectedResourceAPIClient interface {
ListRestoreJobsByProtectedResource(context.Context, *ListRestoreJobsByProtectedResourceInput, ...func(*Options)) (*ListRestoreJobsByProtectedResourceOutput, error)
}
ListRestoreJobsByProtectedResourceAPIClient is a client that implements the ListRestoreJobsByProtectedResource operation.
type ListRestoreJobsByProtectedResourceInput ¶
type ListRestoreJobsByProtectedResourceInput struct { // Returns only restore jobs that match the specified resource Amazon Resource // Name (ARN). // // This member is required. ResourceArn *string // Returns only restore jobs of recovery points that were created after the // specified date. ByRecoveryPointCreationDateAfter *time.Time // Returns only restore jobs of recovery points that were created before the // specified date. ByRecoveryPointCreationDateBefore *time.Time // Returns only restore jobs associated with the specified job status. ByStatus types.RestoreJobStatus // The maximum number of items to be returned. MaxResults *int32 // The next item following a partial list of returned items. For example, if a // request ismade 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 // contains filtered or unexported fields }
type ListRestoreJobsByProtectedResourceOutput ¶
type ListRestoreJobsByProtectedResourceOutput 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 youto // return more items in your list starting at the location pointed to by the next // token NextToken *string // An array of objects that contain detailed information about jobs to restore // saved resources.> RestoreJobs []types.RestoreJobsListMember // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRestoreJobsByProtectedResourcePaginator ¶
type ListRestoreJobsByProtectedResourcePaginator struct {
// contains filtered or unexported fields
}
ListRestoreJobsByProtectedResourcePaginator is a paginator for ListRestoreJobsByProtectedResource
func NewListRestoreJobsByProtectedResourcePaginator ¶
func NewListRestoreJobsByProtectedResourcePaginator(client ListRestoreJobsByProtectedResourceAPIClient, params *ListRestoreJobsByProtectedResourceInput, optFns ...func(*ListRestoreJobsByProtectedResourcePaginatorOptions)) *ListRestoreJobsByProtectedResourcePaginator
NewListRestoreJobsByProtectedResourcePaginator returns a new ListRestoreJobsByProtectedResourcePaginator
func (*ListRestoreJobsByProtectedResourcePaginator) HasMorePages ¶
func (p *ListRestoreJobsByProtectedResourcePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRestoreJobsByProtectedResourcePaginator) NextPage ¶
func (p *ListRestoreJobsByProtectedResourcePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRestoreJobsByProtectedResourceOutput, error)
NextPage retrieves the next ListRestoreJobsByProtectedResource page.
type ListRestoreJobsByProtectedResourcePaginatorOptions ¶
type ListRestoreJobsByProtectedResourcePaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRestoreJobsByProtectedResourcePaginatorOptions is the paginator options for ListRestoreJobsByProtectedResource
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 // Returns only copy jobs completed after a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteAfter *time.Time // Returns only copy jobs completed before a date expressed in Unix format and // Coordinated Universal Time (UTC). ByCompleteBefore *time.Time // Returns only restore jobs that were created after the specified date. ByCreatedAfter *time.Time // Returns only restore jobs that were created before the specified date. ByCreatedBefore *time.Time // Include this parameter to return only restore jobs for the specified resources: // // - Aurora for Amazon Aurora // // - CloudFormation for CloudFormation // // - 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 // // - Redshift for Amazon Redshift // // - RDS for Amazon Relational Database Service // // - SAP HANA on Amazon EC2 for SAP HANA databases // // - Storage Gateway for Storage Gateway // // - S3 for Amazon S3 // // - Timestream for Amazon Timestream // // - VirtualMachine for virtual machines ByResourceType *string // This returns only restore testing jobs that match the specified resource Amazon // Resource Name (ARN). ByRestoreTestingPlanArn *string // Returns only restore jobs associated with the specified job status. ByStatus types.RestoreJobStatus // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
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 // An array of objects that contain detailed information about jobs to restore // saved resources. RestoreJobs []types.RestoreJobsListMember // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRestoreJobsPaginator ¶
type ListRestoreJobsPaginator struct {
// contains filtered or unexported fields
}
ListRestoreJobsPaginator is a paginator for ListRestoreJobs
func NewListRestoreJobsPaginator ¶
func NewListRestoreJobsPaginator(client ListRestoreJobsAPIClient, params *ListRestoreJobsInput, optFns ...func(*ListRestoreJobsPaginatorOptions)) *ListRestoreJobsPaginator
NewListRestoreJobsPaginator returns a new ListRestoreJobsPaginator
func (*ListRestoreJobsPaginator) HasMorePages ¶
func (p *ListRestoreJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRestoreJobsPaginator) NextPage ¶
func (p *ListRestoreJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRestoreJobsOutput, error)
NextPage retrieves the next ListRestoreJobs page.
type ListRestoreJobsPaginatorOptions ¶
type ListRestoreJobsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRestoreJobsPaginatorOptions is the paginator options for ListRestoreJobs
type ListRestoreTestingPlansAPIClient ¶
type ListRestoreTestingPlansAPIClient interface {
ListRestoreTestingPlans(context.Context, *ListRestoreTestingPlansInput, ...func(*Options)) (*ListRestoreTestingPlansOutput, error)
}
ListRestoreTestingPlansAPIClient is a client that implements the ListRestoreTestingPlans operation.
type ListRestoreTestingPlansInput ¶
type ListRestoreTestingPlansInput struct { // The maximum number of items to be returned. MaxResults *int32 // 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 // nexttoken. NextToken *string // contains filtered or unexported fields }
type ListRestoreTestingPlansOutput ¶
type ListRestoreTestingPlansOutput struct { // This is a returned list of restore testing plans. // // This member is required. RestoreTestingPlans []types.RestoreTestingPlanForList // 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 // nexttoken. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRestoreTestingPlansPaginator ¶
type ListRestoreTestingPlansPaginator struct {
// contains filtered or unexported fields
}
ListRestoreTestingPlansPaginator is a paginator for ListRestoreTestingPlans
func NewListRestoreTestingPlansPaginator ¶
func NewListRestoreTestingPlansPaginator(client ListRestoreTestingPlansAPIClient, params *ListRestoreTestingPlansInput, optFns ...func(*ListRestoreTestingPlansPaginatorOptions)) *ListRestoreTestingPlansPaginator
NewListRestoreTestingPlansPaginator returns a new ListRestoreTestingPlansPaginator
func (*ListRestoreTestingPlansPaginator) HasMorePages ¶
func (p *ListRestoreTestingPlansPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRestoreTestingPlansPaginator) NextPage ¶
func (p *ListRestoreTestingPlansPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRestoreTestingPlansOutput, error)
NextPage retrieves the next ListRestoreTestingPlans page.
type ListRestoreTestingPlansPaginatorOptions ¶
type ListRestoreTestingPlansPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRestoreTestingPlansPaginatorOptions is the paginator options for ListRestoreTestingPlans
type ListRestoreTestingSelectionsAPIClient ¶
type ListRestoreTestingSelectionsAPIClient interface {
ListRestoreTestingSelections(context.Context, *ListRestoreTestingSelectionsInput, ...func(*Options)) (*ListRestoreTestingSelectionsOutput, error)
}
ListRestoreTestingSelectionsAPIClient is a client that implements the ListRestoreTestingSelections operation.
type ListRestoreTestingSelectionsInput ¶
type ListRestoreTestingSelectionsInput struct { // Returns restore testing selections by the specified restore testing plan name. // // This member is required. RestoreTestingPlanName *string // The maximum number of items to be returned. MaxResults *int32 // 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 // nexttoken. NextToken *string // contains filtered or unexported fields }
type ListRestoreTestingSelectionsOutput ¶
type ListRestoreTestingSelectionsOutput struct { // The returned restore testing selections associated with the restore testing // plan. // // This member is required. RestoreTestingSelections []types.RestoreTestingSelectionForList // 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 // nexttoken. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRestoreTestingSelectionsPaginator ¶
type ListRestoreTestingSelectionsPaginator struct {
// contains filtered or unexported fields
}
ListRestoreTestingSelectionsPaginator is a paginator for ListRestoreTestingSelections
func NewListRestoreTestingSelectionsPaginator ¶
func NewListRestoreTestingSelectionsPaginator(client ListRestoreTestingSelectionsAPIClient, params *ListRestoreTestingSelectionsInput, optFns ...func(*ListRestoreTestingSelectionsPaginatorOptions)) *ListRestoreTestingSelectionsPaginator
NewListRestoreTestingSelectionsPaginator returns a new ListRestoreTestingSelectionsPaginator
func (*ListRestoreTestingSelectionsPaginator) HasMorePages ¶
func (p *ListRestoreTestingSelectionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRestoreTestingSelectionsPaginator) NextPage ¶
func (p *ListRestoreTestingSelectionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRestoreTestingSelectionsOutput, error)
NextPage retrieves the next ListRestoreTestingSelections page.
type ListRestoreTestingSelectionsPaginatorOptions ¶
type ListRestoreTestingSelectionsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRestoreTestingSelectionsPaginatorOptions is the paginator options for ListRestoreTestingSelections
type ListTagsAPIClient ¶
type ListTagsAPIClient interface {
ListTags(context.Context, *ListTagsInput, ...func(*Options)) (*ListTagsOutput, error)
}
ListTagsAPIClient is a client that implements the ListTags operation.
type ListTagsInput ¶
type ListTagsInput struct { // 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. // // This member is required. ResourceArn *string // The maximum number of items to be returned. MaxResults *int32 // 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 // contains filtered or unexported fields }
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 // To help organize your resources, you can assign your own metadata to the // resources you create. Each tag is a key-value pair. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsPaginator ¶
type ListTagsPaginator struct {
// contains filtered or unexported fields
}
ListTagsPaginator is a paginator for ListTags
func NewListTagsPaginator ¶
func NewListTagsPaginator(client ListTagsAPIClient, params *ListTagsInput, optFns ...func(*ListTagsPaginatorOptions)) *ListTagsPaginator
NewListTagsPaginator returns a new ListTagsPaginator
func (*ListTagsPaginator) HasMorePages ¶
func (p *ListTagsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTagsPaginator) NextPage ¶
func (p *ListTagsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTagsOutput, error)
NextPage retrieves the next ListTags page.
type ListTagsPaginatorOptions ¶
type ListTagsPaginatorOptions struct { // The maximum number of items to be returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListTagsPaginatorOptions is the paginator options for ListTags
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
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. // // This member is required. BackupVaultName *string // The backup vault access policy document in JSON format. Policy *string // contains filtered or unexported fields }
type PutBackupVaultAccessPolicyOutput ¶
type PutBackupVaultAccessPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutBackupVaultLockConfigurationInput ¶
type PutBackupVaultLockConfigurationInput struct { // The Backup Vault Lock configuration that specifies the name of the backup vault // it protects. // // This member is required. BackupVaultName *string // 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 // 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 // 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 // contains filtered or unexported fields }
type PutBackupVaultLockConfigurationOutput ¶
type PutBackupVaultLockConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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]. // // 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 // // The list below shows items that are deprecated events (for reference) and are // no longer in use. They are no longer supported and will not return statuses or // notifications. Refer to the list above for current supported events. // // [Using Amazon SNS to track Backup events]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html // // This member is required. BackupVaultEvents []types.BackupVaultEvent // 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. // // This member is required. BackupVaultName *string // 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 . // // This member is required. SNSTopicArn *string // contains filtered or unexported fields }
type PutBackupVaultNotificationsOutput ¶
type PutBackupVaultNotificationsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutRestoreValidationResultInput ¶
type PutRestoreValidationResultInput struct { // This is a unique identifier of a restore job within Backup. // // This member is required. RestoreJobId *string // This is the status of your restore validation. // // This member is required. ValidationStatus types.RestoreValidationStatus // This is an optional message string you can input to describe the validation // status for the restore test validation. ValidationStatusMessage *string // contains filtered or unexported fields }
type PutRestoreValidationResultOutput ¶
type PutRestoreValidationResultOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartBackupJobInput ¶
type StartBackupJobInput struct { // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and the // Amazon Web Services Region where they are created. They consist of lowercase // letters, numbers, and hyphens. // // This member is required. BackupVaultName *string // Specifies the IAM role ARN used to create the target recovery point; for // example, arn:aws:iam::123456789012:role/S3Access . // // This member is required. IamRoleArn *string // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. // // This member is required. ResourceArn *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. The WindowsVSS option is not enabled by default. BackupOptions map[string]string // 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. // // Like StartWindowMinutes , this parameter has a maximum value of 100 years // (52,560,000 minutes). CompleteWindowMinutes *int64 // 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 // 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. // // Resource types that are able to be transitioned to cold storage are listed in // the "Lifecycle to cold storage" section of the [Feature availability by resource]table. Backup ignores this // expression for other resource types. // // This parameter has a maximum value of 100 years (36,500 days). // // [Feature availability by resource]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource Lifecycle *types.Lifecycle // To help organize your resources, you can assign your own metadata to the // resources that you create. Each tag is a key-value pair. RecoveryPointTags map[string]string // 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. If this value is included, it must be at least 60 minutes to avoid // errors. // // This parameter has a maximum value of 100 years (52,560,000 minutes). // // During the start window, the backup job status remains in CREATED status until // it has successfully begun or until the start window time has run out. If within // the start window time Backup receives an error that allows the job to be // retried, Backup will automatically retry to begin the job at least every 10 // minutes until the backup successfully begins (the job status changes to RUNNING // ) or until the job status changes to EXPIRED (which is expected to occur when // the start window time is over). StartWindowMinutes *int64 // contains filtered or unexported fields }
type StartBackupJobOutput ¶
type StartBackupJobOutput struct { // Uniquely identifies a request to Backup to back up a resource. BackupJobId *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 // This is a returned boolean value indicating this is a parent (composite) backup // job. IsParent bool // Note: This field is only returned for Amazon EFS and Advanced DynamoDB // resources. // // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartCopyJobInput ¶
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 . // // This member is required. DestinationBackupVaultArn *string // Specifies the IAM role ARN used to copy the target recovery point; for example, // arn:aws:iam::123456789012:role/S3Access . // // This member is required. IamRoleArn *string // 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. // // This member is required. RecoveryPointArn *string // 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. // // This member is required. SourceBackupVaultName *string // 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 // 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. // // Resource types that are able to be transitioned to cold storage are listed in // the "Lifecycle to cold storage" section of the [Feature availability by resource]table. Backup ignores this // expression for other resource types. // // [Feature availability by resource]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource Lifecycle *types.Lifecycle // contains filtered or unexported fields }
type StartCopyJobOutput ¶
type StartCopyJobOutput struct { // Uniquely identifies a copy job. CopyJobId *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 // This is a returned boolean value indicating this is a parent (composite) copy // job. IsParent bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartReportJobInput ¶
type StartReportJobInput struct { // The unique name of a report plan. // // This member is required. ReportPlanName *string // 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 // contains filtered or unexported fields }
type StartReportJobOutput ¶
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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartRestoreJobInput ¶
type StartRestoreJobInput struct { // 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\"]" . // // This member is required. Metadata map[string]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 // . // // This member is required. RecoveryPointArn *string // This is an optional parameter. If this equals True , tags included in the backup // will be copied to the restored resource. // // This can only be applied to backups created through Backup. CopySourceTagsToRestoredResource bool // The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the // target resource; for example: arn:aws:iam::123456789012:role/S3Access . IamRoleArn *string // 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 // 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) // // - CloudFormation for CloudFormation // // - 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 // // - Redshift for Amazon Redshift // // - Storage Gateway for Storage Gateway // // - S3 for Amazon S3 // // - Timestream for Amazon Timestream // // - VirtualMachine for virtual machines ResourceType *string // contains filtered or unexported fields }
type StartRestoreJobOutput ¶
type StartRestoreJobOutput struct { // Uniquely identifies the job that restores a recovery point. RestoreJobId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopBackupJobInput ¶
type StopBackupJobInput struct { // Uniquely identifies a request to Backup to back up a resource. // // This member is required. BackupJobId *string // contains filtered or unexported fields }
type StopBackupJobOutput ¶
type StopBackupJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. ResourceArn *string // 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"}] . // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. ResourceArn *string // A list of keys to identify which key-value tags to remove from a resource. // // This member is required. TagKeyList []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateBackupPlanInput ¶
type UpdateBackupPlanInput struct { // Specifies the body of a backup plan. Includes a BackupPlanName and one or more // sets of Rules . // // This member is required. BackupPlan *types.BackupPlanInput // Uniquely identifies a backup plan. // // This member is required. BackupPlanId *string // contains filtered or unexported fields }
type UpdateBackupPlanOutput ¶
type UpdateBackupPlanOutput struct { // Contains a list of BackupOptions for each resource type. AdvancedBackupSettings []types.AdvancedBackupSetting // 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 // Uniquely identifies a backup plan. BackupPlanId *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 // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. Version Ids cannot be edited. VersionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFrameworkInput ¶
type UpdateFrameworkInput struct { // 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 (_). // // This member is required. FrameworkName *string // A list of the controls that make up the framework. Each control in the list has // a name, input parameters, and scope. FrameworkControls []types.FrameworkControl // An optional description of the framework with a maximum 1,024 characters. FrameworkDescription *string // 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 // contains filtered or unexported fields }
type UpdateFrameworkOutput ¶
type UpdateFrameworkOutput struct { // The date and time that a framework is created, in ISO 8601 representation. The // value of CreationTime is accurate to milliseconds. For example, // 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 // hours behind UTC. CreationTime *time.Time // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. FrameworkArn *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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateGlobalSettingsInput ¶
type UpdateGlobalSettingsOutput ¶
type UpdateGlobalSettingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. BackupVaultName *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 // . // // This member is required. RecoveryPointArn *string // 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 *types.Lifecycle // contains filtered or unexported fields }
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 // A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt // timestamps. CalculatedLifecycle *types.CalculatedLifecycle // 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. // // Resource types that are able to be transitioned to cold storage are listed in // the "Lifecycle to cold storage" section of the [Feature availability by resource]table. Backup ignores this // expression for other resource types. // // [Feature availability by resource]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource Lifecycle *types.Lifecycle // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRegionSettingsInput ¶
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], follow the procedure to [enable advanced DynamoDB backup programmatically] // . // // [Backup's advanced DynamoDB backup features]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html // [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 // Updates the list of services along with the opt-in preferences for the Region. // // If resource assignments are only based on tags, then service opt-in settings // are applied. If a resource type is explicitly assigned to a backup plan, such as // Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if // the opt-in is not enabled for that particular service. If both a resource type // and tags are specified in a resource assignment, the resource type specified in // the backup plan takes priority over the tag condition. Service opt-in settings // are disregarded in this situation. ResourceTypeOptInPreference map[string]bool // contains filtered or unexported fields }
type UpdateRegionSettingsOutput ¶
type UpdateRegionSettingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateReportPlanInput ¶
type UpdateReportPlanInput struct { // 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 (_). // // This member is required. ReportPlanName *string // 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 // 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 *types.ReportDeliveryChannel // An optional description of the report plan with a maximum 1,024 characters. ReportPlanDescription *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 *types.ReportSetting // contains filtered or unexported fields }
type UpdateReportPlanOutput ¶
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 // An Amazon Resource Name (ARN) that uniquely identifies a resource. The format // of the ARN depends on the resource type. ReportPlanArn *string // The unique name of the report plan. ReportPlanName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRestoreTestingPlanInput ¶
type UpdateRestoreTestingPlanInput struct { // Specifies the body of a restore testing plan. // // This member is required. RestoreTestingPlan *types.RestoreTestingPlanForUpdate // This is the restore testing plan name you wish to update. // // This member is required. RestoreTestingPlanName *string // contains filtered or unexported fields }
type UpdateRestoreTestingPlanOutput ¶
type UpdateRestoreTestingPlanOutput struct { // This is the time the resource testing plan was created. // // This member is required. CreationTime *time.Time // Unique ARN (Amazon Resource Name) of the restore testing plan. // // This member is required. RestoreTestingPlanArn *string // The name cannot be changed after creation. The name consists of only // alphanumeric characters and underscores. Maximum length is 50. // // This member is required. RestoreTestingPlanName *string // This is the time the update completed for the restore testing plan. // // This member is required. UpdateTime *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRestoreTestingSelectionInput ¶
type UpdateRestoreTestingSelectionInput struct { // The restore testing plan name is required to update the indicated testing plan. // // This member is required. RestoreTestingPlanName *string // To update your restore testing selection, you can use either protected resource // ARNs or conditions, but not both. That is, if your selection has // ProtectedResourceArns , requesting an update with the parameter // ProtectedResourceConditions will be unsuccessful. // // This member is required. RestoreTestingSelection *types.RestoreTestingSelectionForUpdate // This is the required restore testing selection name of the restore testing // selection you wish to update. // // This member is required. RestoreTestingSelectionName *string // contains filtered or unexported fields }
type UpdateRestoreTestingSelectionOutput ¶
type UpdateRestoreTestingSelectionOutput struct { // This is the time the resource testing selection was updated successfully. // // This member is required. CreationTime *time.Time // Unique string that is the name of the restore testing plan. // // This member is required. RestoreTestingPlanArn *string // This is the restore testing plan with which the updated restore testing // selection is associated. // // This member is required. RestoreTestingPlanName *string // This is the returned restore testing selection name. // // This member is required. RestoreTestingSelectionName *string // This is the time the update completed for the restore testing selection. // // This member is required. UpdateTime *time.Time // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CancelLegalHold.go
- api_op_CreateBackupPlan.go
- api_op_CreateBackupSelection.go
- api_op_CreateBackupVault.go
- api_op_CreateFramework.go
- api_op_CreateLegalHold.go
- api_op_CreateLogicallyAirGappedBackupVault.go
- api_op_CreateReportPlan.go
- api_op_CreateRestoreTestingPlan.go
- api_op_CreateRestoreTestingSelection.go
- api_op_DeleteBackupPlan.go
- api_op_DeleteBackupSelection.go
- api_op_DeleteBackupVault.go
- api_op_DeleteBackupVaultAccessPolicy.go
- api_op_DeleteBackupVaultLockConfiguration.go
- api_op_DeleteBackupVaultNotifications.go
- api_op_DeleteFramework.go
- api_op_DeleteRecoveryPoint.go
- api_op_DeleteReportPlan.go
- api_op_DeleteRestoreTestingPlan.go
- api_op_DeleteRestoreTestingSelection.go
- api_op_DescribeBackupJob.go
- api_op_DescribeBackupVault.go
- api_op_DescribeCopyJob.go
- api_op_DescribeFramework.go
- api_op_DescribeGlobalSettings.go
- api_op_DescribeProtectedResource.go
- api_op_DescribeRecoveryPoint.go
- api_op_DescribeRegionSettings.go
- api_op_DescribeReportJob.go
- api_op_DescribeReportPlan.go
- api_op_DescribeRestoreJob.go
- api_op_DisassociateRecoveryPoint.go
- api_op_DisassociateRecoveryPointFromParent.go
- api_op_ExportBackupPlanTemplate.go
- api_op_GetBackupPlan.go
- api_op_GetBackupPlanFromJSON.go
- api_op_GetBackupPlanFromTemplate.go
- api_op_GetBackupSelection.go
- api_op_GetBackupVaultAccessPolicy.go
- api_op_GetBackupVaultNotifications.go
- api_op_GetLegalHold.go
- api_op_GetRecoveryPointRestoreMetadata.go
- api_op_GetRestoreJobMetadata.go
- api_op_GetRestoreTestingInferredMetadata.go
- api_op_GetRestoreTestingPlan.go
- api_op_GetRestoreTestingSelection.go
- api_op_GetSupportedResourceTypes.go
- api_op_ListBackupJobSummaries.go
- api_op_ListBackupJobs.go
- api_op_ListBackupPlanTemplates.go
- api_op_ListBackupPlanVersions.go
- api_op_ListBackupPlans.go
- api_op_ListBackupSelections.go
- api_op_ListBackupVaults.go
- api_op_ListCopyJobSummaries.go
- api_op_ListCopyJobs.go
- api_op_ListFrameworks.go
- api_op_ListLegalHolds.go
- api_op_ListProtectedResources.go
- api_op_ListProtectedResourcesByBackupVault.go
- api_op_ListRecoveryPointsByBackupVault.go
- api_op_ListRecoveryPointsByLegalHold.go
- api_op_ListRecoveryPointsByResource.go
- api_op_ListReportJobs.go
- api_op_ListReportPlans.go
- api_op_ListRestoreJobSummaries.go
- api_op_ListRestoreJobs.go
- api_op_ListRestoreJobsByProtectedResource.go
- api_op_ListRestoreTestingPlans.go
- api_op_ListRestoreTestingSelections.go
- api_op_ListTags.go
- api_op_PutBackupVaultAccessPolicy.go
- api_op_PutBackupVaultLockConfiguration.go
- api_op_PutBackupVaultNotifications.go
- api_op_PutRestoreValidationResult.go
- api_op_StartBackupJob.go
- api_op_StartCopyJob.go
- api_op_StartReportJob.go
- api_op_StartRestoreJob.go
- api_op_StopBackupJob.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateBackupPlan.go
- api_op_UpdateFramework.go
- api_op_UpdateGlobalSettings.go
- api_op_UpdateRecoveryPointLifecycle.go
- api_op_UpdateRegionSettings.go
- api_op_UpdateReportPlan.go
- api_op_UpdateRestoreTestingPlan.go
- api_op_UpdateRestoreTestingSelection.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go