Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const AccessDeniedExceptionReasonDependencyAccessDenied + const AccessDeniedExceptionReasonUnauthorizedAccount + const ChecksumAggregationMethodLinear + const ChecksumAlgorithmSha256 + const EndpointsID + const ErrCodeAccessDeniedException + const ErrCodeConcurrentLimitExceededException + const ErrCodeConflictException + const ErrCodeInternalServerException + const ErrCodeRequestThrottledException + const ErrCodeResourceNotFoundException + const ErrCodeServiceQuotaExceededException + const ErrCodeValidationException + const RequestThrottledExceptionReasonAccountThrottled + const RequestThrottledExceptionReasonDependencyRequestThrottled + const RequestThrottledExceptionReasonResourceLevelThrottle + const ResourceNotFoundExceptionReasonDependencyResourceNotFound + const ResourceNotFoundExceptionReasonGrantNotFound + const ResourceNotFoundExceptionReasonImageNotFound + const ResourceNotFoundExceptionReasonSnapshotNotFound + const SSETypeNone + const SSETypeSseEbs + const SSETypeSseKms + const ServiceID + const ServiceName + const ServiceQuotaExceededExceptionReasonDependencyServiceQuotaExceeded + const StatusCompleted + const StatusError + const StatusPending + const ValidationExceptionReasonConflictingBlockUpdate + const ValidationExceptionReasonInvalidBlock + const ValidationExceptionReasonInvalidBlockToken + const ValidationExceptionReasonInvalidContentEncoding + const ValidationExceptionReasonInvalidCustomerKey + const ValidationExceptionReasonInvalidDependencyRequest + const ValidationExceptionReasonInvalidGrantToken + const ValidationExceptionReasonInvalidImageId + const ValidationExceptionReasonInvalidPageToken + const ValidationExceptionReasonInvalidParameterValue + const ValidationExceptionReasonInvalidSnapshotId + const ValidationExceptionReasonInvalidTag + const ValidationExceptionReasonInvalidVolumeSize + const ValidationExceptionReasonUnrelatedSnapshots + const ValidationExceptionReasonWriteRequestTimeout + func AccessDeniedExceptionReason_Values() []string + func ChecksumAggregationMethod_Values() []string + func ChecksumAlgorithm_Values() []string + func RequestThrottledExceptionReason_Values() []string + func ResourceNotFoundExceptionReason_Values() []string + func SSEType_Values() []string + func ServiceQuotaExceededExceptionReason_Values() []string + func Status_Values() []string + func ValidationExceptionReason_Values() []string + type AccessDeniedException struct + Message_ *string + Reason *string + RespMetadata protocol.ResponseMetadata + func (s *AccessDeniedException) Code() string + func (s *AccessDeniedException) Error() string + func (s *AccessDeniedException) Message() string + func (s *AccessDeniedException) OrigErr() error + func (s *AccessDeniedException) RequestID() string + func (s *AccessDeniedException) StatusCode() int + func (s AccessDeniedException) GoString() string + func (s AccessDeniedException) String() string + type Block struct + BlockIndex *int64 + BlockToken *string + func (s *Block) SetBlockIndex(v int64) *Block + func (s *Block) SetBlockToken(v string) *Block + func (s Block) GoString() string + func (s Block) String() string + type ChangedBlock struct + BlockIndex *int64 + FirstBlockToken *string + SecondBlockToken *string + func (s *ChangedBlock) SetBlockIndex(v int64) *ChangedBlock + func (s *ChangedBlock) SetFirstBlockToken(v string) *ChangedBlock + func (s *ChangedBlock) SetSecondBlockToken(v string) *ChangedBlock + func (s ChangedBlock) GoString() string + func (s ChangedBlock) String() string + type CompleteSnapshotInput struct + ChangedBlocksCount *int64 + Checksum *string + ChecksumAggregationMethod *string + ChecksumAlgorithm *string + SnapshotId *string + func (s *CompleteSnapshotInput) SetChangedBlocksCount(v int64) *CompleteSnapshotInput + func (s *CompleteSnapshotInput) SetChecksum(v string) *CompleteSnapshotInput + func (s *CompleteSnapshotInput) SetChecksumAggregationMethod(v string) *CompleteSnapshotInput + func (s *CompleteSnapshotInput) SetChecksumAlgorithm(v string) *CompleteSnapshotInput + func (s *CompleteSnapshotInput) SetSnapshotId(v string) *CompleteSnapshotInput + func (s *CompleteSnapshotInput) Validate() error + func (s CompleteSnapshotInput) GoString() string + func (s CompleteSnapshotInput) String() string + type CompleteSnapshotOutput struct + Status *string + func (s *CompleteSnapshotOutput) SetStatus(v string) *CompleteSnapshotOutput + func (s CompleteSnapshotOutput) GoString() string + func (s CompleteSnapshotOutput) String() string + type ConcurrentLimitExceededException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ConcurrentLimitExceededException) Code() string + func (s *ConcurrentLimitExceededException) Error() string + func (s *ConcurrentLimitExceededException) Message() string + func (s *ConcurrentLimitExceededException) OrigErr() error + func (s *ConcurrentLimitExceededException) RequestID() string + func (s *ConcurrentLimitExceededException) StatusCode() int + func (s ConcurrentLimitExceededException) GoString() string + func (s ConcurrentLimitExceededException) String() string + type ConflictException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ConflictException) Code() string + func (s *ConflictException) Error() string + func (s *ConflictException) Message() string + func (s *ConflictException) OrigErr() error + func (s *ConflictException) RequestID() string + func (s *ConflictException) StatusCode() int + func (s ConflictException) GoString() string + func (s ConflictException) String() string + type EBS struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *EBS + func (c *EBS) CompleteSnapshot(input *CompleteSnapshotInput) (*CompleteSnapshotOutput, error) + func (c *EBS) CompleteSnapshotRequest(input *CompleteSnapshotInput) (req *request.Request, output *CompleteSnapshotOutput) + func (c *EBS) CompleteSnapshotWithContext(ctx aws.Context, input *CompleteSnapshotInput, opts ...request.Option) (*CompleteSnapshotOutput, error) + func (c *EBS) GetSnapshotBlock(input *GetSnapshotBlockInput) (*GetSnapshotBlockOutput, error) + func (c *EBS) GetSnapshotBlockRequest(input *GetSnapshotBlockInput) (req *request.Request, output *GetSnapshotBlockOutput) + func (c *EBS) GetSnapshotBlockWithContext(ctx aws.Context, input *GetSnapshotBlockInput, opts ...request.Option) (*GetSnapshotBlockOutput, error) + func (c *EBS) ListChangedBlocks(input *ListChangedBlocksInput) (*ListChangedBlocksOutput, error) + func (c *EBS) ListChangedBlocksPages(input *ListChangedBlocksInput, fn func(*ListChangedBlocksOutput, bool) bool) error + func (c *EBS) ListChangedBlocksPagesWithContext(ctx aws.Context, input *ListChangedBlocksInput, ...) error + func (c *EBS) ListChangedBlocksRequest(input *ListChangedBlocksInput) (req *request.Request, output *ListChangedBlocksOutput) + func (c *EBS) ListChangedBlocksWithContext(ctx aws.Context, input *ListChangedBlocksInput, opts ...request.Option) (*ListChangedBlocksOutput, error) + func (c *EBS) ListSnapshotBlocks(input *ListSnapshotBlocksInput) (*ListSnapshotBlocksOutput, error) + func (c *EBS) ListSnapshotBlocksPages(input *ListSnapshotBlocksInput, fn func(*ListSnapshotBlocksOutput, bool) bool) error + func (c *EBS) ListSnapshotBlocksPagesWithContext(ctx aws.Context, input *ListSnapshotBlocksInput, ...) error + func (c *EBS) ListSnapshotBlocksRequest(input *ListSnapshotBlocksInput) (req *request.Request, output *ListSnapshotBlocksOutput) + func (c *EBS) ListSnapshotBlocksWithContext(ctx aws.Context, input *ListSnapshotBlocksInput, opts ...request.Option) (*ListSnapshotBlocksOutput, error) + func (c *EBS) PutSnapshotBlock(input *PutSnapshotBlockInput) (*PutSnapshotBlockOutput, error) + func (c *EBS) PutSnapshotBlockRequest(input *PutSnapshotBlockInput) (req *request.Request, output *PutSnapshotBlockOutput) + func (c *EBS) PutSnapshotBlockWithContext(ctx aws.Context, input *PutSnapshotBlockInput, opts ...request.Option) (*PutSnapshotBlockOutput, error) + func (c *EBS) StartSnapshot(input *StartSnapshotInput) (*StartSnapshotOutput, error) + func (c *EBS) StartSnapshotRequest(input *StartSnapshotInput) (req *request.Request, output *StartSnapshotOutput) + func (c *EBS) StartSnapshotWithContext(ctx aws.Context, input *StartSnapshotInput, opts ...request.Option) (*StartSnapshotOutput, error) + type GetSnapshotBlockInput struct + BlockIndex *int64 + BlockToken *string + SnapshotId *string + func (s *GetSnapshotBlockInput) SetBlockIndex(v int64) *GetSnapshotBlockInput + func (s *GetSnapshotBlockInput) SetBlockToken(v string) *GetSnapshotBlockInput + func (s *GetSnapshotBlockInput) SetSnapshotId(v string) *GetSnapshotBlockInput + func (s *GetSnapshotBlockInput) Validate() error + func (s GetSnapshotBlockInput) GoString() string + func (s GetSnapshotBlockInput) String() string + type GetSnapshotBlockOutput struct + BlockData io.ReadCloser + Checksum *string + ChecksumAlgorithm *string + DataLength *int64 + func (s *GetSnapshotBlockOutput) SetBlockData(v io.ReadCloser) *GetSnapshotBlockOutput + func (s *GetSnapshotBlockOutput) SetChecksum(v string) *GetSnapshotBlockOutput + func (s *GetSnapshotBlockOutput) SetChecksumAlgorithm(v string) *GetSnapshotBlockOutput + func (s *GetSnapshotBlockOutput) SetDataLength(v int64) *GetSnapshotBlockOutput + func (s GetSnapshotBlockOutput) GoString() string + func (s GetSnapshotBlockOutput) String() string + type InternalServerException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InternalServerException) Code() string + func (s *InternalServerException) Error() string + func (s *InternalServerException) Message() string + func (s *InternalServerException) OrigErr() error + func (s *InternalServerException) RequestID() string + func (s *InternalServerException) StatusCode() int + func (s InternalServerException) GoString() string + func (s InternalServerException) String() string + type ListChangedBlocksInput struct + FirstSnapshotId *string + MaxResults *int64 + NextToken *string + SecondSnapshotId *string + StartingBlockIndex *int64 + func (s *ListChangedBlocksInput) SetFirstSnapshotId(v string) *ListChangedBlocksInput + func (s *ListChangedBlocksInput) SetMaxResults(v int64) *ListChangedBlocksInput + func (s *ListChangedBlocksInput) SetNextToken(v string) *ListChangedBlocksInput + func (s *ListChangedBlocksInput) SetSecondSnapshotId(v string) *ListChangedBlocksInput + func (s *ListChangedBlocksInput) SetStartingBlockIndex(v int64) *ListChangedBlocksInput + func (s *ListChangedBlocksInput) Validate() error + func (s ListChangedBlocksInput) GoString() string + func (s ListChangedBlocksInput) String() string + type ListChangedBlocksOutput struct + BlockSize *int64 + ChangedBlocks []*ChangedBlock + ExpiryTime *time.Time + NextToken *string + VolumeSize *int64 + func (s *ListChangedBlocksOutput) SetBlockSize(v int64) *ListChangedBlocksOutput + func (s *ListChangedBlocksOutput) SetChangedBlocks(v []*ChangedBlock) *ListChangedBlocksOutput + func (s *ListChangedBlocksOutput) SetExpiryTime(v time.Time) *ListChangedBlocksOutput + func (s *ListChangedBlocksOutput) SetNextToken(v string) *ListChangedBlocksOutput + func (s *ListChangedBlocksOutput) SetVolumeSize(v int64) *ListChangedBlocksOutput + func (s ListChangedBlocksOutput) GoString() string + func (s ListChangedBlocksOutput) String() string + type ListSnapshotBlocksInput struct + MaxResults *int64 + NextToken *string + SnapshotId *string + StartingBlockIndex *int64 + func (s *ListSnapshotBlocksInput) SetMaxResults(v int64) *ListSnapshotBlocksInput + func (s *ListSnapshotBlocksInput) SetNextToken(v string) *ListSnapshotBlocksInput + func (s *ListSnapshotBlocksInput) SetSnapshotId(v string) *ListSnapshotBlocksInput + func (s *ListSnapshotBlocksInput) SetStartingBlockIndex(v int64) *ListSnapshotBlocksInput + func (s *ListSnapshotBlocksInput) Validate() error + func (s ListSnapshotBlocksInput) GoString() string + func (s ListSnapshotBlocksInput) String() string + type ListSnapshotBlocksOutput struct + BlockSize *int64 + Blocks []*Block + ExpiryTime *time.Time + NextToken *string + VolumeSize *int64 + func (s *ListSnapshotBlocksOutput) SetBlockSize(v int64) *ListSnapshotBlocksOutput + func (s *ListSnapshotBlocksOutput) SetBlocks(v []*Block) *ListSnapshotBlocksOutput + func (s *ListSnapshotBlocksOutput) SetExpiryTime(v time.Time) *ListSnapshotBlocksOutput + func (s *ListSnapshotBlocksOutput) SetNextToken(v string) *ListSnapshotBlocksOutput + func (s *ListSnapshotBlocksOutput) SetVolumeSize(v int64) *ListSnapshotBlocksOutput + func (s ListSnapshotBlocksOutput) GoString() string + func (s ListSnapshotBlocksOutput) String() string + type PutSnapshotBlockInput struct + BlockData io.ReadSeeker + BlockIndex *int64 + Checksum *string + ChecksumAlgorithm *string + DataLength *int64 + Progress *int64 + SnapshotId *string + func (s *PutSnapshotBlockInput) SetBlockData(v io.ReadSeeker) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) SetBlockIndex(v int64) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) SetChecksum(v string) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) SetChecksumAlgorithm(v string) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) SetDataLength(v int64) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) SetProgress(v int64) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) SetSnapshotId(v string) *PutSnapshotBlockInput + func (s *PutSnapshotBlockInput) Validate() error + func (s PutSnapshotBlockInput) GoString() string + func (s PutSnapshotBlockInput) String() string + type PutSnapshotBlockOutput struct + Checksum *string + ChecksumAlgorithm *string + func (s *PutSnapshotBlockOutput) SetChecksum(v string) *PutSnapshotBlockOutput + func (s *PutSnapshotBlockOutput) SetChecksumAlgorithm(v string) *PutSnapshotBlockOutput + func (s PutSnapshotBlockOutput) GoString() string + func (s PutSnapshotBlockOutput) String() string + type RequestThrottledException struct + Message_ *string + Reason *string + RespMetadata protocol.ResponseMetadata + func (s *RequestThrottledException) Code() string + func (s *RequestThrottledException) Error() string + func (s *RequestThrottledException) Message() string + func (s *RequestThrottledException) OrigErr() error + func (s *RequestThrottledException) RequestID() string + func (s *RequestThrottledException) StatusCode() int + func (s RequestThrottledException) GoString() string + func (s RequestThrottledException) String() string + type ResourceNotFoundException struct + Message_ *string + Reason *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string + type ServiceQuotaExceededException struct + Message_ *string + Reason *string + RespMetadata protocol.ResponseMetadata + func (s *ServiceQuotaExceededException) Code() string + func (s *ServiceQuotaExceededException) Error() string + func (s *ServiceQuotaExceededException) Message() string + func (s *ServiceQuotaExceededException) OrigErr() error + func (s *ServiceQuotaExceededException) RequestID() string + func (s *ServiceQuotaExceededException) StatusCode() int + func (s ServiceQuotaExceededException) GoString() string + func (s ServiceQuotaExceededException) String() string + type StartSnapshotInput struct + ClientToken *string + Description *string + Encrypted *bool + KmsKeyArn *string + ParentSnapshotId *string + Tags []*Tag + Timeout *int64 + VolumeSize *int64 + func (s *StartSnapshotInput) SetClientToken(v string) *StartSnapshotInput + func (s *StartSnapshotInput) SetDescription(v string) *StartSnapshotInput + func (s *StartSnapshotInput) SetEncrypted(v bool) *StartSnapshotInput + func (s *StartSnapshotInput) SetKmsKeyArn(v string) *StartSnapshotInput + func (s *StartSnapshotInput) SetParentSnapshotId(v string) *StartSnapshotInput + func (s *StartSnapshotInput) SetTags(v []*Tag) *StartSnapshotInput + func (s *StartSnapshotInput) SetTimeout(v int64) *StartSnapshotInput + func (s *StartSnapshotInput) SetVolumeSize(v int64) *StartSnapshotInput + func (s *StartSnapshotInput) Validate() error + func (s StartSnapshotInput) GoString() string + func (s StartSnapshotInput) String() string + type StartSnapshotOutput struct + BlockSize *int64 + Description *string + KmsKeyArn *string + OwnerId *string + ParentSnapshotId *string + SnapshotId *string + SseType *string + StartTime *time.Time + Status *string + Tags []*Tag + VolumeSize *int64 + func (s *StartSnapshotOutput) SetBlockSize(v int64) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetDescription(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetKmsKeyArn(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetOwnerId(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetParentSnapshotId(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetSnapshotId(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetSseType(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetStartTime(v time.Time) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetStatus(v string) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetTags(v []*Tag) *StartSnapshotOutput + func (s *StartSnapshotOutput) SetVolumeSize(v int64) *StartSnapshotOutput + func (s StartSnapshotOutput) GoString() string + func (s StartSnapshotOutput) String() string + type Tag struct + Key *string + Value *string + func (s *Tag) SetKey(v string) *Tag + func (s *Tag) SetValue(v string) *Tag + func (s Tag) GoString() string + func (s Tag) String() string + type ValidationException struct + Message_ *string + Reason *string + RespMetadata protocol.ResponseMetadata + func (s *ValidationException) Code() string + func (s *ValidationException) Error() string + func (s *ValidationException) Message() string + func (s *ValidationException) OrigErr() error + func (s *ValidationException) RequestID() string + func (s *ValidationException) StatusCode() int + func (s ValidationException) GoString() string + func (s ValidationException) String() string