package types

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

Index

Types

type AccessPoint

type AccessPoint struct {
	// The virtual private cloud (VPC) configuration for this access point, if one
	// exists.
	VpcConfiguration *VpcConfiguration
	// The name of the bucket associated with this access point.
	Bucket *string
	// Indicates whether this access point allows access from the public internet. If
	// VpcConfiguration is specified for this access point, then NetworkOrigin is VPC,
	// and the access point doesn't allow access from the public internet. Otherwise,
	// NetworkOrigin is Internet, and the access point allows access from the public
	// internet, subject to the access point and bucket access policies.
	NetworkOrigin NetworkOrigin
	// The name of this access point.
	Name *string
}

An access point used to access a bucket.

type BadRequestException

type BadRequestException struct {
	Message *string
}

func (*BadRequestException) Error

func (e *BadRequestException) Error() string

func (*BadRequestException) ErrorCode

func (e *BadRequestException) ErrorCode() string

func (*BadRequestException) ErrorFault

func (e *BadRequestException) ErrorFault() smithy.ErrorFault

func (*BadRequestException) ErrorMessage

func (e *BadRequestException) ErrorMessage() string

func (*BadRequestException) GetMessage

func (e *BadRequestException) GetMessage() string

func (*BadRequestException) HasMessage

func (e *BadRequestException) HasMessage() bool

type IdempotencyException

type IdempotencyException struct {
	Message *string
}

func (*IdempotencyException) Error

func (e *IdempotencyException) Error() string

func (*IdempotencyException) ErrorCode

func (e *IdempotencyException) ErrorCode() string

func (*IdempotencyException) ErrorFault

func (e *IdempotencyException) ErrorFault() smithy.ErrorFault

func (*IdempotencyException) ErrorMessage

func (e *IdempotencyException) ErrorMessage() string

func (*IdempotencyException) GetMessage

func (e *IdempotencyException) GetMessage() string

func (*IdempotencyException) HasMessage

func (e *IdempotencyException) HasMessage() bool

type InternalServiceException

type InternalServiceException struct {
	Message *string
}

func (*InternalServiceException) Error

func (e *InternalServiceException) Error() string

func (*InternalServiceException) ErrorCode

func (e *InternalServiceException) ErrorCode() string

func (*InternalServiceException) ErrorFault

func (e *InternalServiceException) ErrorFault() smithy.ErrorFault

func (*InternalServiceException) ErrorMessage

func (e *InternalServiceException) ErrorMessage() string

func (*InternalServiceException) GetMessage

func (e *InternalServiceException) GetMessage() string

func (*InternalServiceException) HasMessage

func (e *InternalServiceException) HasMessage() bool

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string
}

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

func (*InvalidNextTokenException) GetMessage

func (e *InvalidNextTokenException) GetMessage() string

func (*InvalidNextTokenException) HasMessage

func (e *InvalidNextTokenException) HasMessage() bool

type InvalidRequestException

type InvalidRequestException struct {
	Message *string
}

func (*InvalidRequestException) Error

func (e *InvalidRequestException) Error() string

func (*InvalidRequestException) ErrorCode

func (e *InvalidRequestException) ErrorCode() string

func (*InvalidRequestException) ErrorFault

func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault

func (*InvalidRequestException) ErrorMessage

func (e *InvalidRequestException) ErrorMessage() string

func (*InvalidRequestException) GetMessage

func (e *InvalidRequestException) GetMessage() string

func (*InvalidRequestException) HasMessage

func (e *InvalidRequestException) HasMessage() bool

type JobDescriptor

type JobDescriptor struct {
	// The configuration information for the specified job's manifest object.
	Manifest *JobManifest
	// The Amazon Resource Name (ARN) for this job.
	JobArn *string
	// The ID for the specified job.
	JobId *string
	// The timestamp when this job was suspended, if it has been suspended.
	SuspendedDate *time.Time
	// If the specified job failed, this field contains information describing the
	// failure.
	FailureReasons []*JobFailure
	// The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM)
	// role assigned to execute the tasks for this job.
	RoleArn *string
	// The reason why the specified job was suspended. A job is only suspended if you
	// create it through the Amazon S3 console. When you create the job, it enters the
	// Suspended state to await confirmation before running. After you confirm the job,
	// it automatically exits the Suspended state.
	SuspendedCause *string
	// The operation that the specified job is configured to execute on the objects
	// listed in the manifest.
	Operation *JobOperation
	// The description for this job, if one was provided in this job's Create Job
	// request.
	Description *string
	// A timestamp indicating when this job was created.
	CreationTime *time.Time
	//
	StatusUpdateReason *string
	// Contains the configuration information for the job-completion report if you
	// requested one in the Create Job request.
	Report *JobReport
	// Describes the total number of tasks that the specified job has executed, the
	// number of tasks that succeeded, and the number of tasks that failed.
	ProgressSummary *JobProgressSummary
	// Indicates whether confirmation is required before Amazon S3 begins running the
	// specified job. Confirmation is required only for jobs created through the Amazon
	// S3 console.
	ConfirmationRequired *bool
	// The current status of the specified job.
	Status JobStatus
	// The priority of the specified job.
	Priority *int32
	// A timestamp indicating when this job terminated. A job's termination date is the
	// date and time when it succeeded, failed, or was canceled.
	TerminationDate *time.Time
}

A container element for the job configuration and status information returned by a Describe Job request.

type JobFailure

type JobFailure struct {
	// The failure reason, if any, for the specified job.
	FailureReason *string
	// The failure code, if any, for the specified job.
	FailureCode *string
}

If this job failed, this element indicates why the job failed.

type JobListDescriptor

type JobListDescriptor struct {
	// Describes the total number of tasks that the specified job has executed, the
	// number of tasks that succeeded, and the number of tasks that failed.
	ProgressSummary *JobProgressSummary
	// The current priority for the specified job.
	Priority *int32
	// The ID for the specified job.
	JobId *string
	// The user-specified description that was included in the specified job's Create
	// Job request.
	Description *string
	// A timestamp indicating when the specified job terminated. A job's termination
	// date is the date and time when it succeeded, failed, or was canceled.
	TerminationDate *time.Time
	// A timestamp indicating when the specified job was created.
	CreationTime *time.Time
	// The specified job's current status.
	Status JobStatus
	// The operation that the specified job is configured to run on each object listed
	// in the manifest.
	Operation OperationName
}

Contains the configuration and status information for a single job retrieved as part of a job list.

type JobManifest

type JobManifest struct {
	// Contains the information required to locate the specified job's manifest.
	Location *JobManifestLocation
	// Describes the format of the specified job's manifest. If the manifest is in CSV
	// format, also describes the columns contained within the manifest.
	Spec *JobManifestSpec
}

Contains the configuration information for a job's manifest.

type JobManifestFieldName

type JobManifestFieldName string
const (
	JobManifestFieldNameIgnore    JobManifestFieldName = "Ignore"
	JobManifestFieldNameBucket    JobManifestFieldName = "Bucket"
	JobManifestFieldNameKey       JobManifestFieldName = "Key"
	JobManifestFieldNameVersionid JobManifestFieldName = "VersionId"
)

Enum values for JobManifestFieldName

type JobManifestFormat

type JobManifestFormat string
const (
	JobManifestFormatS3batchoperations_csv_20180820 JobManifestFormat = "S3BatchOperations_CSV_20180820"
	JobManifestFormatS3inventoryreport_csv_20161130 JobManifestFormat = "S3InventoryReport_CSV_20161130"
)

Enum values for JobManifestFormat

type JobManifestLocation

type JobManifestLocation struct {
	// The Amazon Resource Name (ARN) for a manifest object.
	ObjectArn *string
	// The ETag for the specified manifest object.
	ETag *string
	// The optional version ID to identify a specific version of the manifest object.
	ObjectVersionId *string
}

Contains the information required to locate a manifest object.

type JobManifestSpec

type JobManifestSpec struct {
	// Indicates which of the available formats the specified manifest uses.
	Format JobManifestFormat
	// If the specified manifest object is in the S3BatchOperations_CSV_20180820
	// format, this element describes which columns contain the required data.
	Fields []JobManifestFieldName
}

Describes the format of a manifest. If the manifest is in CSV format, also describes the columns contained within the manifest.

type JobOperation

type JobOperation struct {
	// Contains the configuration parameters for a Set Object Legal Hold operation.
	// Amazon S3 Batch Operations passes each value through to the underlying PUT
	// Object Legal Hold API. For more information about the parameters for this
	// operation, see PUT Object Legal Hold
	// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.htmll#object-lock-legal-holds).
	S3PutObjectLegalHold *S3SetObjectLegalHoldOperation
	// Directs the specified job to execute an Initiate Glacier Restore call on each
	// object in the manifest.
	S3InitiateRestoreObject *S3InitiateRestoreObjectOperation
	// Directs the specified job to execute a PUT Object tagging call on each object in
	// the manifest.
	S3PutObjectTagging *S3SetObjectTaggingOperation
	// Directs the specified job to invoke an AWS Lambda function on each object in the
	// manifest.
	LambdaInvoke *LambdaInvokeOperation
	// Contains the configuration parameters for a Set Object Retention operation.
	// Amazon S3 Batch Operations passes each value through to the underlying PUT
	// Object Retention API. For more information about the parameters for this
	// operation, see PUT Object Retention
	// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes).
	S3PutObjectRetention *S3SetObjectRetentionOperation
	// Directs the specified job to execute a PUT Copy object call on each object in
	// the manifest.
	S3PutObjectCopy *S3CopyObjectOperation
	// Directs the specified job to execute a PUT Object acl call on each object in the
	// manifest.
	S3PutObjectAcl *S3SetObjectAclOperation
}

The operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Available Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-operations.html) in the Amazon Simple Storage Service Developer Guide.

type JobProgressSummary

type JobProgressSummary struct {
	//
	NumberOfTasksSucceeded *int64
	//
	TotalNumberOfTasks *int64
	//
	NumberOfTasksFailed *int64
}

Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and the number of tasks that failed.

type JobReport

type JobReport struct {
	// An optional prefix to describe where in the specified bucket the job-completion
	// report will be stored. Amazon S3 will store the job-completion report at
	// /job-/report.json.
	Prefix *string
	// Indicates whether the job-completion report will include details of all tasks or
	// only failed tasks.
	ReportScope JobReportScope
	// Indicates whether the specified job will generate a job-completion report.
	Enabled *bool
	// The Amazon Resource Name (ARN) for the bucket where specified job-completion
	// report will be stored.
	Bucket *string
	// The format of the specified job-completion report.
	Format JobReportFormat
}

Contains the configuration parameters for a job-completion report.

type JobReportFormat

type JobReportFormat string
const (
	JobReportFormatReport_csv_20180820 JobReportFormat = "Report_CSV_20180820"
)

Enum values for JobReportFormat

type JobReportScope

type JobReportScope string
const (
	JobReportScopeAlltasks        JobReportScope = "AllTasks"
	JobReportScopeFailedtasksonly JobReportScope = "FailedTasksOnly"
)

Enum values for JobReportScope

type JobStatus

type JobStatus string
const (
	JobStatusActive     JobStatus = "Active"
	JobStatusCancelled  JobStatus = "Cancelled"
	JobStatusCancelling JobStatus = "Cancelling"
	JobStatusComplete   JobStatus = "Complete"
	JobStatusCompleting JobStatus = "Completing"
	JobStatusFailed     JobStatus = "Failed"
	JobStatusFailing    JobStatus = "Failing"
	JobStatusNew        JobStatus = "New"
	JobStatusPaused     JobStatus = "Paused"
	JobStatusPausing    JobStatus = "Pausing"
	JobStatusPreparing  JobStatus = "Preparing"
	JobStatusReady      JobStatus = "Ready"
	JobStatusSuspended  JobStatus = "Suspended"
)

Enum values for JobStatus

type JobStatusException

type JobStatusException struct {
	Message *string
}

func (*JobStatusException) Error

func (e *JobStatusException) Error() string

func (*JobStatusException) ErrorCode

func (e *JobStatusException) ErrorCode() string

func (*JobStatusException) ErrorFault

func (e *JobStatusException) ErrorFault() smithy.ErrorFault

func (*JobStatusException) ErrorMessage

func (e *JobStatusException) ErrorMessage() string

func (*JobStatusException) GetMessage

func (e *JobStatusException) GetMessage() string

func (*JobStatusException) HasMessage

func (e *JobStatusException) HasMessage() bool

type LambdaInvokeOperation

type LambdaInvokeOperation struct {
	// The Amazon Resource Name (ARN) for the AWS Lambda function that the specified
	// job will invoke for each object in the manifest.
	FunctionArn *string
}

Contains the configuration parameters for a Lambda Invoke operation.

type NetworkOrigin

type NetworkOrigin string
const (
	NetworkOriginInternet NetworkOrigin = "Internet"
	NetworkOriginVpc      NetworkOrigin = "VPC"
)

Enum values for NetworkOrigin

type NoSuchPublicAccessBlockConfiguration

type NoSuchPublicAccessBlockConfiguration struct {
	Message *string
}

Amazon S3 throws this exception if you make a GetPublicAccessBlock request against an account that doesn't have a PublicAccessBlockConfiguration set.

func (*NoSuchPublicAccessBlockConfiguration) Error

func (*NoSuchPublicAccessBlockConfiguration) ErrorCode

func (*NoSuchPublicAccessBlockConfiguration) ErrorFault

func (*NoSuchPublicAccessBlockConfiguration) ErrorMessage

func (e *NoSuchPublicAccessBlockConfiguration) ErrorMessage() string

func (*NoSuchPublicAccessBlockConfiguration) GetMessage

func (*NoSuchPublicAccessBlockConfiguration) HasMessage

type NotFoundException

type NotFoundException struct {
	Message *string
}

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

func (*NotFoundException) GetMessage

func (e *NotFoundException) GetMessage() string

func (*NotFoundException) HasMessage

func (e *NotFoundException) HasMessage() bool

type OperationName

type OperationName string
const (
	OperationNameLambdainvoke            OperationName = "LambdaInvoke"
	OperationNameS3putobjectcopy         OperationName = "S3PutObjectCopy"
	OperationNameS3putobjectacl          OperationName = "S3PutObjectAcl"
	OperationNameS3putobjecttagging      OperationName = "S3PutObjectTagging"
	OperationNameS3initiaterestoreobject OperationName = "S3InitiateRestoreObject"
	OperationNameS3putobjectlegalhold    OperationName = "S3PutObjectLegalHold"
	OperationNameS3putobjectretention    OperationName = "S3PutObjectRetention"
)

Enum values for OperationName

type PolicyStatus

type PolicyStatus struct {
	//
	IsPublic *bool
}

Indicates whether this access point policy is public. For more information about how Amazon S3 evaluates policies to determine whether they are public, see The Meaning of "Public" (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the Amazon Simple Storage Service Developer Guide.

type PublicAccessBlockConfiguration

type PublicAccessBlockConfiguration struct {
	// Specifies whether Amazon S3 should ignore public ACLs for buckets in this
	// account. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs
	// on buckets in this account and any objects that they contain. Enabling this
	// setting doesn't affect the persistence of any existing ACLs and doesn't prevent
	// new public ACLs from being set.
	IgnorePublicAcls *bool
	// Specifies whether Amazon S3 should block public access control lists (ACLs) for
	// buckets in this account. Setting this element to TRUE causes the following
	// behavior:
	//
	//     * PUT Bucket acl and PUT Object acl calls fail if the specified
	// ACL is public.
	//
	//     * PUT Object calls fail if the request includes a public
	// ACL.
	//
	//     * PUT Bucket calls fail if the request includes a public
	// ACL.
	//
	// Enabling this setting doesn't affect existing policies or ACLs.
	BlockPublicAcls *bool
	// Specifies whether Amazon S3 should block public bucket policies for buckets in
	// this account. Setting this element to TRUE causes Amazon S3 to reject calls to
	// PUT Bucket policy if the specified bucket policy allows public access. Enabling
	// this setting doesn't affect existing bucket policies.
	BlockPublicPolicy *bool
	// Specifies whether Amazon S3 should restrict public bucket policies for buckets
	// in this account. Setting this element to TRUE restricts access to buckets with
	// public policies to only AWS services and authorized users within this account.
	// Enabling this setting doesn't affect previously stored bucket policies, except
	// that public and cross-account access within any public bucket policy, including
	// non-public delegation to specific accounts, is blocked.
	RestrictPublicBuckets *bool
}

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the Amazon Simple Storage Service Developer Guide.

type RequestedJobStatus

type RequestedJobStatus string
const (
	RequestedJobStatusCancelled RequestedJobStatus = "Cancelled"
	RequestedJobStatusReady     RequestedJobStatus = "Ready"
)

Enum values for RequestedJobStatus

type S3AccessControlList

type S3AccessControlList struct {
	//
	Grants []*S3Grant
	//
	Owner *S3ObjectOwner
}

type S3AccessControlPolicy

type S3AccessControlPolicy struct {
	//
	CannedAccessControlList S3CannedAccessControlList
	//
	AccessControlList *S3AccessControlList
}

type S3CannedAccessControlList

type S3CannedAccessControlList string
const (
	S3CannedAccessControlListPrivate                   S3CannedAccessControlList = "private"
	S3CannedAccessControlListPublic_read               S3CannedAccessControlList = "public-read"
	S3CannedAccessControlListPublic_read_write         S3CannedAccessControlList = "public-read-write"
	S3CannedAccessControlListAws_exec_read             S3CannedAccessControlList = "aws-exec-read"
	S3CannedAccessControlListAuthenticated_read        S3CannedAccessControlList = "authenticated-read"
	S3CannedAccessControlListBucket_owner_read         S3CannedAccessControlList = "bucket-owner-read"
	S3CannedAccessControlListBucket_owner_full_control S3CannedAccessControlList = "bucket-owner-full-control"
)

Enum values for S3CannedAccessControlList

type S3CopyObjectOperation

type S3CopyObjectOperation struct {
	//
	RedirectLocation *string
	// The Legal Hold status to be applied to all objects in the Batch Operations job.
	ObjectLockLegalHoldStatus S3ObjectLockLegalHoldStatus
	//
	SSEAwsKmsKeyId *string
	// The Retention mode to be applied to all objects in the Batch Operations job.
	ObjectLockMode S3ObjectLockMode
	//
	ModifiedSinceConstraint *time.Time
	//
	AccessControlGrants []*S3Grant
	//
	MetadataDirective S3MetadataDirective
	//
	CannedAccessControlList S3CannedAccessControlList
	//
	RequesterPays *bool
	//
	NewObjectTagging []*S3Tag
	//
	UnModifiedSinceConstraint *time.Time
	//
	StorageClass S3StorageClass
	//
	NewObjectMetadata *S3ObjectMetadata
	//
	TargetKeyPrefix *string
	// The date when the applied Object Retention configuration will expire on all
	// objects in the Batch Operations job.
	ObjectLockRetainUntilDate *time.Time
	//
	TargetResource *string
}

Contains the configuration parameters for a PUT Copy object operation. Amazon S3 Batch Operations passes each value through to the underlying PUT Copy object API. For more information about the parameters for this operation, see PUT Object - Copy (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html).

type S3GlacierJobTier

type S3GlacierJobTier string
const (
	S3GlacierJobTierBulk     S3GlacierJobTier = "BULK"
	S3GlacierJobTierStandard S3GlacierJobTier = "STANDARD"
)

Enum values for S3GlacierJobTier

type S3Grant

type S3Grant struct {
	//
	Permission S3Permission
	//
	Grantee *S3Grantee
}

type S3Grantee

type S3Grantee struct {
	//
	Identifier *string
	//
	DisplayName *string
	//
	TypeIdentifier S3GranteeTypeIdentifier
}

type S3GranteeTypeIdentifier

type S3GranteeTypeIdentifier string
const (
	S3GranteeTypeIdentifierCanonical     S3GranteeTypeIdentifier = "id"
	S3GranteeTypeIdentifierEmail_address S3GranteeTypeIdentifier = "emailAddress"
	S3GranteeTypeIdentifierGroup         S3GranteeTypeIdentifier = "uri"
)

Enum values for S3GranteeTypeIdentifier

type S3InitiateRestoreObjectOperation

type S3InitiateRestoreObjectOperation struct {
	//
	ExpirationInDays *int32
	//
	GlacierJobTier S3GlacierJobTier
}

Contains the configuration parameters for an Initiate Glacier Restore job. Amazon S3 Batch Operations passes each value through to the underlying POST Object restore API. For more information about the parameters for this operation, see Restoring Archives (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOSTrestore.html#RESTObjectPOSTrestore-restore-request).

type S3MetadataDirective

type S3MetadataDirective string
const (
	S3MetadataDirectiveCopy    S3MetadataDirective = "COPY"
	S3MetadataDirectiveReplace S3MetadataDirective = "REPLACE"
)

Enum values for S3MetadataDirective

type S3ObjectLockLegalHold

type S3ObjectLockLegalHold struct {
	// The Legal Hold status to be applied to all objects in the Batch Operations job.
	Status S3ObjectLockLegalHoldStatus
}

type S3ObjectLockLegalHoldStatus

type S3ObjectLockLegalHoldStatus string
const (
	S3ObjectLockLegalHoldStatusOff S3ObjectLockLegalHoldStatus = "OFF"
	S3ObjectLockLegalHoldStatusOn  S3ObjectLockLegalHoldStatus = "ON"
)

Enum values for S3ObjectLockLegalHoldStatus

type S3ObjectLockMode

type S3ObjectLockMode string
const (
	S3ObjectLockModeCompliance S3ObjectLockMode = "COMPLIANCE"
	S3ObjectLockModeGovernance S3ObjectLockMode = "GOVERNANCE"
)

Enum values for S3ObjectLockMode

type S3ObjectLockRetentionMode

type S3ObjectLockRetentionMode string
const (
	S3ObjectLockRetentionModeCompliance S3ObjectLockRetentionMode = "COMPLIANCE"
	S3ObjectLockRetentionModeGovernance S3ObjectLockRetentionMode = "GOVERNANCE"
)

Enum values for S3ObjectLockRetentionMode

type S3ObjectMetadata

type S3ObjectMetadata struct {
	//
	ContentLanguage *string
	//
	ContentEncoding *string
	//
	UserMetadata map[string]*string
	//
	ContentLength *int64
	//
	SSEAlgorithm S3SSEAlgorithm
	//
	ContentMD5 *string
	//
	RequesterCharged *bool
	//
	CacheControl *string
	//
	HttpExpiresDate *time.Time
	//
	ContentDisposition *string
	//
	ContentType *string
}

type S3ObjectOwner

type S3ObjectOwner struct {
	//
	ID *string
	//
	DisplayName *string
}

type S3Permission

type S3Permission string
const (
	S3PermissionFull_control S3Permission = "FULL_CONTROL"
	S3PermissionRead         S3Permission = "READ"
	S3PermissionWrite        S3Permission = "WRITE"
	S3PermissionRead_acp     S3Permission = "READ_ACP"
	S3PermissionWrite_acp    S3Permission = "WRITE_ACP"
)

Enum values for S3Permission

type S3Retention

type S3Retention struct {
	// The date when the applied Object Retention will expire on all objects in the
	// Batch Operations job.
	RetainUntilDate *time.Time
	// The Retention mode to be applied to all objects in the Batch Operations job.
	Mode S3ObjectLockRetentionMode
}

type S3SSEAlgorithm

type S3SSEAlgorithm string
const (
	S3SSEAlgorithmAes256 S3SSEAlgorithm = "AES256"
	S3SSEAlgorithmKms    S3SSEAlgorithm = "KMS"
)

Enum values for S3SSEAlgorithm

type S3SetObjectAclOperation

type S3SetObjectAclOperation struct {
	//
	AccessControlPolicy *S3AccessControlPolicy
}

Contains the configuration parameters for a Set Object ACL operation. Amazon S3 Batch Operations passes each value through to the underlying PUT Object acl API. For more information about the parameters for this operation, see PUT Object acl (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html).

type S3SetObjectLegalHoldOperation

type S3SetObjectLegalHoldOperation struct {
	// The Legal Hold contains the status to be applied to all objects in the Batch
	// Operations job.
	LegalHold *S3ObjectLockLegalHold
}

Contains the configuration parameters for a Set Object Legal Hold operation. Amazon S3 Batch Operations passes each value through to the underlying PUT Object Legal Hold API. For more information about the parameters for this operation, see PUT Object Legal Hold (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.htmll#object-lock-legal-holds).

type S3SetObjectRetentionOperation

type S3SetObjectRetentionOperation struct {
	// Amazon S3 object lock Retention contains the retention mode to be applied to all
	// objects in the Batch Operations job.
	Retention *S3Retention
	// Indicates if the operation should be applied to objects in the Batch Operations
	// job even if they have Governance-type Object Lock in place.
	BypassGovernanceRetention *bool
}

Contains the configuration parameters for a Set Object Retention operation. Amazon S3 Batch Operations passes each value through to the underlying PUT Object Retention API. For more information about the parameters for this operation, see PUT Object Retention (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes).

type S3SetObjectTaggingOperation

type S3SetObjectTaggingOperation struct {
	//
	TagSet []*S3Tag
}

Contains the configuration parameters for a Set Object Tagging operation. Amazon S3 Batch Operations passes each value through to the underlying PUT Object tagging API. For more information about the parameters for this operation, see PUT Object tagging (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTtagging.html).

type S3StorageClass

type S3StorageClass string
const (
	S3StorageClassStandard            S3StorageClass = "STANDARD"
	S3StorageClassStandard_ia         S3StorageClass = "STANDARD_IA"
	S3StorageClassOnezone_ia          S3StorageClass = "ONEZONE_IA"
	S3StorageClassGlacier             S3StorageClass = "GLACIER"
	S3StorageClassIntelligent_tiering S3StorageClass = "INTELLIGENT_TIERING"
	S3StorageClassDeep_archive        S3StorageClass = "DEEP_ARCHIVE"
)

Enum values for S3StorageClass

type S3Tag

type S3Tag struct {
	//
	Value *string
	//
	Key *string
}

type TooManyRequestsException

type TooManyRequestsException struct {
	Message *string
}

func (*TooManyRequestsException) Error

func (e *TooManyRequestsException) Error() string

func (*TooManyRequestsException) ErrorCode

func (e *TooManyRequestsException) ErrorCode() string

func (*TooManyRequestsException) ErrorFault

func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault

func (*TooManyRequestsException) ErrorMessage

func (e *TooManyRequestsException) ErrorMessage() string

func (*TooManyRequestsException) GetMessage

func (e *TooManyRequestsException) GetMessage() string

func (*TooManyRequestsException) HasMessage

func (e *TooManyRequestsException) HasMessage() bool

type TooManyTagsException

type TooManyTagsException struct {
	Message *string
}

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

func (*TooManyTagsException) GetMessage

func (e *TooManyTagsException) GetMessage() string

func (*TooManyTagsException) HasMessage

func (e *TooManyTagsException) HasMessage() bool

type VpcConfiguration

type VpcConfiguration struct {
	// If this field is specified, this access point will only allow connections from
	// the specified VPC ID.
	VpcId *string
}

The virtual private cloud (VPC) configuration for an access point.

Source Files

enums.go errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
4 packages
Last checked
9 hours ago

Tools for package owners.