s3control

package
v1.55.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 19 Imported by: 78

Documentation

Overview

Package s3control provides the client and types for making API requests to AWS S3 Control.

Amazon Web Services S3 Control provides access to Amazon S3 control plane actions.

See https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20 for more information on this service.

See s3control package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/s3control/

Using the Client

To contact AWS S3 Control with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS S3 Control client S3Control for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/s3control/#New

Index

Constants

View Source
const (
	// AsyncOperationNameCreateMultiRegionAccessPoint is a AsyncOperationName enum value
	AsyncOperationNameCreateMultiRegionAccessPoint = "CreateMultiRegionAccessPoint"

	// AsyncOperationNameDeleteMultiRegionAccessPoint is a AsyncOperationName enum value
	AsyncOperationNameDeleteMultiRegionAccessPoint = "DeleteMultiRegionAccessPoint"

	// AsyncOperationNamePutMultiRegionAccessPointPolicy is a AsyncOperationName enum value
	AsyncOperationNamePutMultiRegionAccessPointPolicy = "PutMultiRegionAccessPointPolicy"
)
View Source
const (
	// BucketCannedACLPrivate is a BucketCannedACL enum value
	BucketCannedACLPrivate = "private"

	// BucketCannedACLPublicRead is a BucketCannedACL enum value
	BucketCannedACLPublicRead = "public-read"

	// BucketCannedACLPublicReadWrite is a BucketCannedACL enum value
	BucketCannedACLPublicReadWrite = "public-read-write"

	// BucketCannedACLAuthenticatedRead is a BucketCannedACL enum value
	BucketCannedACLAuthenticatedRead = "authenticated-read"
)
View Source
const (
	// BucketLocationConstraintEu is a BucketLocationConstraint enum value
	BucketLocationConstraintEu = "EU"

	// BucketLocationConstraintEuWest1 is a BucketLocationConstraint enum value
	BucketLocationConstraintEuWest1 = "eu-west-1"

	// BucketLocationConstraintUsWest1 is a BucketLocationConstraint enum value
	BucketLocationConstraintUsWest1 = "us-west-1"

	// BucketLocationConstraintUsWest2 is a BucketLocationConstraint enum value
	BucketLocationConstraintUsWest2 = "us-west-2"

	// BucketLocationConstraintApSouth1 is a BucketLocationConstraint enum value
	BucketLocationConstraintApSouth1 = "ap-south-1"

	// BucketLocationConstraintApSoutheast1 is a BucketLocationConstraint enum value
	BucketLocationConstraintApSoutheast1 = "ap-southeast-1"

	// BucketLocationConstraintApSoutheast2 is a BucketLocationConstraint enum value
	BucketLocationConstraintApSoutheast2 = "ap-southeast-2"

	// BucketLocationConstraintApNortheast1 is a BucketLocationConstraint enum value
	BucketLocationConstraintApNortheast1 = "ap-northeast-1"

	// BucketLocationConstraintSaEast1 is a BucketLocationConstraint enum value
	BucketLocationConstraintSaEast1 = "sa-east-1"

	// BucketLocationConstraintCnNorth1 is a BucketLocationConstraint enum value
	BucketLocationConstraintCnNorth1 = "cn-north-1"

	// BucketLocationConstraintEuCentral1 is a BucketLocationConstraint enum value
	BucketLocationConstraintEuCentral1 = "eu-central-1"
)
View Source
const (
	// BucketVersioningStatusEnabled is a BucketVersioningStatus enum value
	BucketVersioningStatusEnabled = "Enabled"

	// BucketVersioningStatusSuspended is a BucketVersioningStatus enum value
	BucketVersioningStatusSuspended = "Suspended"
)
View Source
const (
	// DeleteMarkerReplicationStatusEnabled is a DeleteMarkerReplicationStatus enum value
	DeleteMarkerReplicationStatusEnabled = "Enabled"

	// DeleteMarkerReplicationStatusDisabled is a DeleteMarkerReplicationStatus enum value
	DeleteMarkerReplicationStatusDisabled = "Disabled"
)
View Source
const (
	// ExistingObjectReplicationStatusEnabled is a ExistingObjectReplicationStatus enum value
	ExistingObjectReplicationStatusEnabled = "Enabled"

	// ExistingObjectReplicationStatusDisabled is a ExistingObjectReplicationStatus enum value
	ExistingObjectReplicationStatusDisabled = "Disabled"
)
View Source
const (
	// ExpirationStatusEnabled is a ExpirationStatus enum value
	ExpirationStatusEnabled = "Enabled"

	// ExpirationStatusDisabled is a ExpirationStatus enum value
	ExpirationStatusDisabled = "Disabled"
)
View Source
const (
	// FormatCsv is a Format enum value
	FormatCsv = "CSV"

	// FormatParquet is a Format enum value
	FormatParquet = "Parquet"
)
View Source
const (
	// GranteeTypeDirectoryUser is a GranteeType enum value
	GranteeTypeDirectoryUser = "DIRECTORY_USER"

	// GranteeTypeDirectoryGroup is a GranteeType enum value
	GranteeTypeDirectoryGroup = "DIRECTORY_GROUP"

	// GranteeTypeIam is a GranteeType enum value
	GranteeTypeIam = "IAM"
)
View Source
const (
	// JobManifestFieldNameIgnore is a JobManifestFieldName enum value
	JobManifestFieldNameIgnore = "Ignore"

	// JobManifestFieldNameBucket is a JobManifestFieldName enum value
	JobManifestFieldNameBucket = "Bucket"

	// JobManifestFieldNameKey is a JobManifestFieldName enum value
	JobManifestFieldNameKey = "Key"

	// JobManifestFieldNameVersionId is a JobManifestFieldName enum value
	JobManifestFieldNameVersionId = "VersionId"
)
View Source
const (
	// JobManifestFormatS3batchOperationsCsv20180820 is a JobManifestFormat enum value
	JobManifestFormatS3batchOperationsCsv20180820 = "S3BatchOperations_CSV_20180820"

	// JobManifestFormatS3inventoryReportCsv20161130 is a JobManifestFormat enum value
	JobManifestFormatS3inventoryReportCsv20161130 = "S3InventoryReport_CSV_20161130"
)
View Source
const (
	// JobReportScopeAllTasks is a JobReportScope enum value
	JobReportScopeAllTasks = "AllTasks"

	// JobReportScopeFailedTasksOnly is a JobReportScope enum value
	JobReportScopeFailedTasksOnly = "FailedTasksOnly"
)
View Source
const (
	// JobStatusActive is a JobStatus enum value
	JobStatusActive = "Active"

	// JobStatusCancelled is a JobStatus enum value
	JobStatusCancelled = "Cancelled"

	// JobStatusCancelling is a JobStatus enum value
	JobStatusCancelling = "Cancelling"

	// JobStatusComplete is a JobStatus enum value
	JobStatusComplete = "Complete"

	// JobStatusCompleting is a JobStatus enum value
	JobStatusCompleting = "Completing"

	// JobStatusFailed is a JobStatus enum value
	JobStatusFailed = "Failed"

	// JobStatusFailing is a JobStatus enum value
	JobStatusFailing = "Failing"

	// JobStatusNew is a JobStatus enum value
	JobStatusNew = "New"

	// JobStatusPaused is a JobStatus enum value
	JobStatusPaused = "Paused"

	// JobStatusPausing is a JobStatus enum value
	JobStatusPausing = "Pausing"

	// JobStatusPreparing is a JobStatus enum value
	JobStatusPreparing = "Preparing"

	// JobStatusReady is a JobStatus enum value
	JobStatusReady = "Ready"

	// JobStatusSuspended is a JobStatus enum value
	JobStatusSuspended = "Suspended"
)
View Source
const (
	// MFADeleteEnabled is a MFADelete enum value
	MFADeleteEnabled = "Enabled"

	// MFADeleteDisabled is a MFADelete enum value
	MFADeleteDisabled = "Disabled"
)
View Source
const (
	// MFADeleteStatusEnabled is a MFADeleteStatus enum value
	MFADeleteStatusEnabled = "Enabled"

	// MFADeleteStatusDisabled is a MFADeleteStatus enum value
	MFADeleteStatusDisabled = "Disabled"
)
View Source
const (
	// MetricsStatusEnabled is a MetricsStatus enum value
	MetricsStatusEnabled = "Enabled"

	// MetricsStatusDisabled is a MetricsStatus enum value
	MetricsStatusDisabled = "Disabled"
)
View Source
const (
	// MultiRegionAccessPointStatusReady is a MultiRegionAccessPointStatus enum value
	MultiRegionAccessPointStatusReady = "READY"

	// MultiRegionAccessPointStatusInconsistentAcrossRegions is a MultiRegionAccessPointStatus enum value
	MultiRegionAccessPointStatusInconsistentAcrossRegions = "INCONSISTENT_ACROSS_REGIONS"

	// MultiRegionAccessPointStatusCreating is a MultiRegionAccessPointStatus enum value
	MultiRegionAccessPointStatusCreating = "CREATING"

	// MultiRegionAccessPointStatusPartiallyCreated is a MultiRegionAccessPointStatus enum value
	MultiRegionAccessPointStatusPartiallyCreated = "PARTIALLY_CREATED"

	// MultiRegionAccessPointStatusPartiallyDeleted is a MultiRegionAccessPointStatus enum value
	MultiRegionAccessPointStatusPartiallyDeleted = "PARTIALLY_DELETED"

	// MultiRegionAccessPointStatusDeleting is a MultiRegionAccessPointStatus enum value
	MultiRegionAccessPointStatusDeleting = "DELETING"
)
View Source
const (
	// NetworkOriginInternet is a NetworkOrigin enum value
	NetworkOriginInternet = "Internet"

	// NetworkOriginVpc is a NetworkOrigin enum value
	NetworkOriginVpc = "VPC"
)
View Source
const (
	// ObjectLambdaAccessPointAliasStatusProvisioning is a ObjectLambdaAccessPointAliasStatus enum value
	ObjectLambdaAccessPointAliasStatusProvisioning = "PROVISIONING"

	// ObjectLambdaAccessPointAliasStatusReady is a ObjectLambdaAccessPointAliasStatus enum value
	ObjectLambdaAccessPointAliasStatusReady = "READY"
)
View Source
const (
	// ObjectLambdaAllowedFeatureGetObjectRange is a ObjectLambdaAllowedFeature enum value
	ObjectLambdaAllowedFeatureGetObjectRange = "GetObject-Range"

	// ObjectLambdaAllowedFeatureGetObjectPartNumber is a ObjectLambdaAllowedFeature enum value
	ObjectLambdaAllowedFeatureGetObjectPartNumber = "GetObject-PartNumber"

	// ObjectLambdaAllowedFeatureHeadObjectRange is a ObjectLambdaAllowedFeature enum value
	ObjectLambdaAllowedFeatureHeadObjectRange = "HeadObject-Range"

	// ObjectLambdaAllowedFeatureHeadObjectPartNumber is a ObjectLambdaAllowedFeature enum value
	ObjectLambdaAllowedFeatureHeadObjectPartNumber = "HeadObject-PartNumber"
)
View Source
const (
	// ObjectLambdaTransformationConfigurationActionGetObject is a ObjectLambdaTransformationConfigurationAction enum value
	ObjectLambdaTransformationConfigurationActionGetObject = "GetObject"

	// ObjectLambdaTransformationConfigurationActionHeadObject is a ObjectLambdaTransformationConfigurationAction enum value
	ObjectLambdaTransformationConfigurationActionHeadObject = "HeadObject"

	// ObjectLambdaTransformationConfigurationActionListObjects is a ObjectLambdaTransformationConfigurationAction enum value
	ObjectLambdaTransformationConfigurationActionListObjects = "ListObjects"

	// ObjectLambdaTransformationConfigurationActionListObjectsV2 is a ObjectLambdaTransformationConfigurationAction enum value
	ObjectLambdaTransformationConfigurationActionListObjectsV2 = "ListObjectsV2"
)
View Source
const (
	// OperationNameLambdaInvoke is a OperationName enum value
	OperationNameLambdaInvoke = "LambdaInvoke"

	// OperationNameS3putObjectCopy is a OperationName enum value
	OperationNameS3putObjectCopy = "S3PutObjectCopy"

	// OperationNameS3putObjectAcl is a OperationName enum value
	OperationNameS3putObjectAcl = "S3PutObjectAcl"

	// OperationNameS3putObjectTagging is a OperationName enum value
	OperationNameS3putObjectTagging = "S3PutObjectTagging"

	// OperationNameS3deleteObjectTagging is a OperationName enum value
	OperationNameS3deleteObjectTagging = "S3DeleteObjectTagging"

	// OperationNameS3initiateRestoreObject is a OperationName enum value
	OperationNameS3initiateRestoreObject = "S3InitiateRestoreObject"

	// OperationNameS3putObjectLegalHold is a OperationName enum value
	OperationNameS3putObjectLegalHold = "S3PutObjectLegalHold"

	// OperationNameS3putObjectRetention is a OperationName enum value
	OperationNameS3putObjectRetention = "S3PutObjectRetention"

	// OperationNameS3replicateObject is a OperationName enum value
	OperationNameS3replicateObject = "S3ReplicateObject"
)
View Source
const (
	// PermissionRead is a Permission enum value
	PermissionRead = "READ"

	// PermissionWrite is a Permission enum value
	PermissionWrite = "WRITE"

	// PermissionReadwrite is a Permission enum value
	PermissionReadwrite = "READWRITE"
)
View Source
const (
	// PrivilegeMinimal is a Privilege enum value
	PrivilegeMinimal = "Minimal"

	// PrivilegeDefault is a Privilege enum value
	PrivilegeDefault = "Default"
)
View Source
const (
	// ReplicaModificationsStatusEnabled is a ReplicaModificationsStatus enum value
	ReplicaModificationsStatusEnabled = "Enabled"

	// ReplicaModificationsStatusDisabled is a ReplicaModificationsStatus enum value
	ReplicaModificationsStatusDisabled = "Disabled"
)
View Source
const (
	// ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value
	ReplicationRuleStatusEnabled = "Enabled"

	// ReplicationRuleStatusDisabled is a ReplicationRuleStatus enum value
	ReplicationRuleStatusDisabled = "Disabled"
)
View Source
const (
	// ReplicationStatusCompleted is a ReplicationStatus enum value
	ReplicationStatusCompleted = "COMPLETED"

	// ReplicationStatusFailed is a ReplicationStatus enum value
	ReplicationStatusFailed = "FAILED"

	// ReplicationStatusReplica is a ReplicationStatus enum value
	ReplicationStatusReplica = "REPLICA"

	// ReplicationStatusNone is a ReplicationStatus enum value
	ReplicationStatusNone = "NONE"
)
View Source
const (
	// ReplicationStorageClassStandard is a ReplicationStorageClass enum value
	ReplicationStorageClassStandard = "STANDARD"

	// ReplicationStorageClassReducedRedundancy is a ReplicationStorageClass enum value
	ReplicationStorageClassReducedRedundancy = "REDUCED_REDUNDANCY"

	// ReplicationStorageClassStandardIa is a ReplicationStorageClass enum value
	ReplicationStorageClassStandardIa = "STANDARD_IA"

	// ReplicationStorageClassOnezoneIa is a ReplicationStorageClass enum value
	ReplicationStorageClassOnezoneIa = "ONEZONE_IA"

	// ReplicationStorageClassIntelligentTiering is a ReplicationStorageClass enum value
	ReplicationStorageClassIntelligentTiering = "INTELLIGENT_TIERING"

	// ReplicationStorageClassGlacier is a ReplicationStorageClass enum value
	ReplicationStorageClassGlacier = "GLACIER"

	// ReplicationStorageClassDeepArchive is a ReplicationStorageClass enum value
	ReplicationStorageClassDeepArchive = "DEEP_ARCHIVE"

	// ReplicationStorageClassOutposts is a ReplicationStorageClass enum value
	ReplicationStorageClassOutposts = "OUTPOSTS"

	// ReplicationStorageClassGlacierIr is a ReplicationStorageClass enum value
	ReplicationStorageClassGlacierIr = "GLACIER_IR"
)
View Source
const (
	// ReplicationTimeStatusEnabled is a ReplicationTimeStatus enum value
	ReplicationTimeStatusEnabled = "Enabled"

	// ReplicationTimeStatusDisabled is a ReplicationTimeStatus enum value
	ReplicationTimeStatusDisabled = "Disabled"
)
View Source
const (
	// RequestedJobStatusCancelled is a RequestedJobStatus enum value
	RequestedJobStatusCancelled = "Cancelled"

	// RequestedJobStatusReady is a RequestedJobStatus enum value
	RequestedJobStatusReady = "Ready"
)
View Source
const (
	// S3CannedAccessControlListPrivate is a S3CannedAccessControlList enum value
	S3CannedAccessControlListPrivate = "private"

	// S3CannedAccessControlListPublicRead is a S3CannedAccessControlList enum value
	S3CannedAccessControlListPublicRead = "public-read"

	// S3CannedAccessControlListPublicReadWrite is a S3CannedAccessControlList enum value
	S3CannedAccessControlListPublicReadWrite = "public-read-write"

	// S3CannedAccessControlListAwsExecRead is a S3CannedAccessControlList enum value
	S3CannedAccessControlListAwsExecRead = "aws-exec-read"

	// S3CannedAccessControlListAuthenticatedRead is a S3CannedAccessControlList enum value
	S3CannedAccessControlListAuthenticatedRead = "authenticated-read"

	// S3CannedAccessControlListBucketOwnerRead is a S3CannedAccessControlList enum value
	S3CannedAccessControlListBucketOwnerRead = "bucket-owner-read"

	// S3CannedAccessControlListBucketOwnerFullControl is a S3CannedAccessControlList enum value
	S3CannedAccessControlListBucketOwnerFullControl = "bucket-owner-full-control"
)
View Source
const (
	// S3ChecksumAlgorithmCrc32 is a S3ChecksumAlgorithm enum value
	S3ChecksumAlgorithmCrc32 = "CRC32"

	// S3ChecksumAlgorithmCrc32c is a S3ChecksumAlgorithm enum value
	S3ChecksumAlgorithmCrc32c = "CRC32C"

	// S3ChecksumAlgorithmSha1 is a S3ChecksumAlgorithm enum value
	S3ChecksumAlgorithmSha1 = "SHA1"

	// S3ChecksumAlgorithmSha256 is a S3ChecksumAlgorithm enum value
	S3ChecksumAlgorithmSha256 = "SHA256"
)
View Source
const (
	// S3GlacierJobTierBulk is a S3GlacierJobTier enum value
	S3GlacierJobTierBulk = "BULK"

	// S3GlacierJobTierStandard is a S3GlacierJobTier enum value
	S3GlacierJobTierStandard = "STANDARD"
)
View Source
const (
	// S3GranteeTypeIdentifierId is a S3GranteeTypeIdentifier enum value
	S3GranteeTypeIdentifierId = "id"

	// S3GranteeTypeIdentifierEmailAddress is a S3GranteeTypeIdentifier enum value
	S3GranteeTypeIdentifierEmailAddress = "emailAddress"

	// S3GranteeTypeIdentifierUri is a S3GranteeTypeIdentifier enum value
	S3GranteeTypeIdentifierUri = "uri"
)
View Source
const (
	// S3MetadataDirectiveCopy is a S3MetadataDirective enum value
	S3MetadataDirectiveCopy = "COPY"

	// S3MetadataDirectiveReplace is a S3MetadataDirective enum value
	S3MetadataDirectiveReplace = "REPLACE"
)
View Source
const (
	// S3ObjectLockLegalHoldStatusOff is a S3ObjectLockLegalHoldStatus enum value
	S3ObjectLockLegalHoldStatusOff = "OFF"

	// S3ObjectLockLegalHoldStatusOn is a S3ObjectLockLegalHoldStatus enum value
	S3ObjectLockLegalHoldStatusOn = "ON"
)
View Source
const (
	// S3ObjectLockModeCompliance is a S3ObjectLockMode enum value
	S3ObjectLockModeCompliance = "COMPLIANCE"

	// S3ObjectLockModeGovernance is a S3ObjectLockMode enum value
	S3ObjectLockModeGovernance = "GOVERNANCE"
)
View Source
const (
	// S3ObjectLockRetentionModeCompliance is a S3ObjectLockRetentionMode enum value
	S3ObjectLockRetentionModeCompliance = "COMPLIANCE"

	// S3ObjectLockRetentionModeGovernance is a S3ObjectLockRetentionMode enum value
	S3ObjectLockRetentionModeGovernance = "GOVERNANCE"
)
View Source
const (
	// S3PermissionFullControl is a S3Permission enum value
	S3PermissionFullControl = "FULL_CONTROL"

	// S3PermissionRead is a S3Permission enum value
	S3PermissionRead = "READ"

	// S3PermissionWrite is a S3Permission enum value
	S3PermissionWrite = "WRITE"

	// S3PermissionReadAcp is a S3Permission enum value
	S3PermissionReadAcp = "READ_ACP"

	// S3PermissionWriteAcp is a S3Permission enum value
	S3PermissionWriteAcp = "WRITE_ACP"
)
View Source
const (
	// S3SSEAlgorithmAes256 is a S3SSEAlgorithm enum value
	S3SSEAlgorithmAes256 = "AES256"

	// S3SSEAlgorithmKms is a S3SSEAlgorithm enum value
	S3SSEAlgorithmKms = "KMS"
)
View Source
const (
	// S3StorageClassStandard is a S3StorageClass enum value
	S3StorageClassStandard = "STANDARD"

	// S3StorageClassStandardIa is a S3StorageClass enum value
	S3StorageClassStandardIa = "STANDARD_IA"

	// S3StorageClassOnezoneIa is a S3StorageClass enum value
	S3StorageClassOnezoneIa = "ONEZONE_IA"

	// S3StorageClassGlacier is a S3StorageClass enum value
	S3StorageClassGlacier = "GLACIER"

	// S3StorageClassIntelligentTiering is a S3StorageClass enum value
	S3StorageClassIntelligentTiering = "INTELLIGENT_TIERING"

	// S3StorageClassDeepArchive is a S3StorageClass enum value
	S3StorageClassDeepArchive = "DEEP_ARCHIVE"

	// S3StorageClassGlacierIr is a S3StorageClass enum value
	S3StorageClassGlacierIr = "GLACIER_IR"
)
View Source
const (
	// SseKmsEncryptedObjectsStatusEnabled is a SseKmsEncryptedObjectsStatus enum value
	SseKmsEncryptedObjectsStatusEnabled = "Enabled"

	// SseKmsEncryptedObjectsStatusDisabled is a SseKmsEncryptedObjectsStatus enum value
	SseKmsEncryptedObjectsStatusDisabled = "Disabled"
)
View Source
const (
	// TransitionStorageClassGlacier is a TransitionStorageClass enum value
	TransitionStorageClassGlacier = "GLACIER"

	// TransitionStorageClassStandardIa is a TransitionStorageClass enum value
	TransitionStorageClassStandardIa = "STANDARD_IA"

	// TransitionStorageClassOnezoneIa is a TransitionStorageClass enum value
	TransitionStorageClassOnezoneIa = "ONEZONE_IA"

	// TransitionStorageClassIntelligentTiering is a TransitionStorageClass enum value
	TransitionStorageClassIntelligentTiering = "INTELLIGENT_TIERING"

	// TransitionStorageClassDeepArchive is a TransitionStorageClass enum value
	TransitionStorageClassDeepArchive = "DEEP_ARCHIVE"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeBucketAlreadyExists for service response error code
	// "BucketAlreadyExists".
	//
	// The requested Outposts bucket name is not available. The bucket namespace
	// is shared by all users of the Outposts in this Region. Select a different
	// name and try again.
	ErrCodeBucketAlreadyExists = "BucketAlreadyExists"

	// ErrCodeBucketAlreadyOwnedByYou for service response error code
	// "BucketAlreadyOwnedByYou".
	//
	// The Outposts bucket you tried to create already exists, and you own it.
	ErrCodeBucketAlreadyOwnedByYou = "BucketAlreadyOwnedByYou"

	// ErrCodeIdempotencyException for service response error code
	// "IdempotencyException".
	ErrCodeIdempotencyException = "IdempotencyException"

	// ErrCodeInternalServiceException for service response error code
	// "InternalServiceException".
	ErrCodeInternalServiceException = "InternalServiceException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeJobStatusException for service response error code
	// "JobStatusException".
	ErrCodeJobStatusException = "JobStatusException"

	// ErrCodeNoSuchPublicAccessBlockConfiguration for service response error code
	// "NoSuchPublicAccessBlockConfiguration".
	//
	// Amazon S3 throws this exception if you make a GetPublicAccessBlock request
	// against an account that doesn't have a PublicAccessBlockConfiguration set.
	ErrCodeNoSuchPublicAccessBlockConfiguration = "NoSuchPublicAccessBlockConfiguration"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// Amazon S3 throws this exception if you have too many tags in your tag set.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)
View Source
const (
	ServiceName = "S3 Control" // Name of service.
	EndpointsID = "s3-control" // ID to lookup a service endpoint with.
	ServiceID   = "S3 Control" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// GeneratedManifestFormatS3inventoryReportCsv20211130 is a GeneratedManifestFormat enum value
	GeneratedManifestFormatS3inventoryReportCsv20211130 = "S3InventoryReport_CSV_20211130"
)
View Source
const (
	// JobReportFormatReportCsv20180820 is a JobReportFormat enum value
	JobReportFormatReportCsv20180820 = "Report_CSV_20180820"
)
View Source
const (
	// OutputSchemaVersionV1 is a OutputSchemaVersion enum value
	OutputSchemaVersionV1 = "V_1"
)
View Source
const (
	// OwnerOverrideDestination is a OwnerOverride enum value
	OwnerOverrideDestination = "Destination"
)
View Source
const (
	// S3PrefixTypeObject is a S3PrefixType enum value
	S3PrefixTypeObject = "Object"
)

Variables

This section is empty.

Functions

func AsyncOperationName_Values added in v1.40.36

func AsyncOperationName_Values() []string

AsyncOperationName_Values returns all elements of the AsyncOperationName enum

func BucketCannedACL_Values added in v1.35.0

func BucketCannedACL_Values() []string

BucketCannedACL_Values returns all elements of the BucketCannedACL enum

func BucketLocationConstraint_Values added in v1.35.0

func BucketLocationConstraint_Values() []string

BucketLocationConstraint_Values returns all elements of the BucketLocationConstraint enum

func BucketVersioningStatus_Values added in v1.44.103

func BucketVersioningStatus_Values() []string

BucketVersioningStatus_Values returns all elements of the BucketVersioningStatus enum

func DeleteMarkerReplicationStatus_Values added in v1.44.220

func DeleteMarkerReplicationStatus_Values() []string

DeleteMarkerReplicationStatus_Values returns all elements of the DeleteMarkerReplicationStatus enum

func ExistingObjectReplicationStatus_Values added in v1.44.220

func ExistingObjectReplicationStatus_Values() []string

ExistingObjectReplicationStatus_Values returns all elements of the ExistingObjectReplicationStatus enum

func ExpirationStatus_Values added in v1.35.0

func ExpirationStatus_Values() []string

ExpirationStatus_Values returns all elements of the ExpirationStatus enum

func Format_Values added in v1.35.31

func Format_Values() []string

Format_Values returns all elements of the Format enum

func GeneratedManifestFormat_Values added in v1.42.49

func GeneratedManifestFormat_Values() []string

GeneratedManifestFormat_Values returns all elements of the GeneratedManifestFormat enum

func GranteeType_Values added in v1.48.4

func GranteeType_Values() []string

GranteeType_Values returns all elements of the GranteeType enum

func JobManifestFieldName_Values added in v1.34.3

func JobManifestFieldName_Values() []string

JobManifestFieldName_Values returns all elements of the JobManifestFieldName enum

func JobManifestFormat_Values added in v1.34.3

func JobManifestFormat_Values() []string

JobManifestFormat_Values returns all elements of the JobManifestFormat enum

func JobReportFormat_Values added in v1.34.3

func JobReportFormat_Values() []string

JobReportFormat_Values returns all elements of the JobReportFormat enum

func JobReportScope_Values added in v1.34.3

func JobReportScope_Values() []string

JobReportScope_Values returns all elements of the JobReportScope enum

func JobStatus_Values added in v1.34.3

func JobStatus_Values() []string

JobStatus_Values returns all elements of the JobStatus enum

func MFADeleteStatus_Values added in v1.44.103

func MFADeleteStatus_Values() []string

MFADeleteStatus_Values returns all elements of the MFADeleteStatus enum

func MFADelete_Values added in v1.44.103

func MFADelete_Values() []string

MFADelete_Values returns all elements of the MFADelete enum

func MetricsStatus_Values added in v1.44.220

func MetricsStatus_Values() []string

MetricsStatus_Values returns all elements of the MetricsStatus enum

func MultiRegionAccessPointStatus_Values added in v1.40.36

func MultiRegionAccessPointStatus_Values() []string

MultiRegionAccessPointStatus_Values returns all elements of the MultiRegionAccessPointStatus enum

func NetworkOrigin_Values added in v1.34.3

func NetworkOrigin_Values() []string

NetworkOrigin_Values returns all elements of the NetworkOrigin enum

func ObjectLambdaAccessPointAliasStatus_Values added in v1.44.222

func ObjectLambdaAccessPointAliasStatus_Values() []string

ObjectLambdaAccessPointAliasStatus_Values returns all elements of the ObjectLambdaAccessPointAliasStatus enum

func ObjectLambdaAllowedFeature_Values added in v1.38.0

func ObjectLambdaAllowedFeature_Values() []string

ObjectLambdaAllowedFeature_Values returns all elements of the ObjectLambdaAllowedFeature enum

func ObjectLambdaTransformationConfigurationAction_Values added in v1.38.0

func ObjectLambdaTransformationConfigurationAction_Values() []string

ObjectLambdaTransformationConfigurationAction_Values returns all elements of the ObjectLambdaTransformationConfigurationAction enum

func OperationName_Values added in v1.34.3

func OperationName_Values() []string

OperationName_Values returns all elements of the OperationName enum

func OutputSchemaVersion_Values added in v1.35.31

func OutputSchemaVersion_Values() []string

OutputSchemaVersion_Values returns all elements of the OutputSchemaVersion enum

func OwnerOverride_Values added in v1.44.220

func OwnerOverride_Values() []string

OwnerOverride_Values returns all elements of the OwnerOverride enum

func Permission_Values added in v1.48.4

func Permission_Values() []string

Permission_Values returns all elements of the Permission enum

func Privilege_Values added in v1.48.4

func Privilege_Values() []string

Privilege_Values returns all elements of the Privilege enum

func ReplicaModificationsStatus_Values added in v1.44.220

func ReplicaModificationsStatus_Values() []string

ReplicaModificationsStatus_Values returns all elements of the ReplicaModificationsStatus enum

func ReplicationRuleStatus_Values added in v1.44.220

func ReplicationRuleStatus_Values() []string

ReplicationRuleStatus_Values returns all elements of the ReplicationRuleStatus enum

func ReplicationStatus_Values added in v1.42.49

func ReplicationStatus_Values() []string

ReplicationStatus_Values returns all elements of the ReplicationStatus enum

func ReplicationStorageClass_Values added in v1.44.220

func ReplicationStorageClass_Values() []string

ReplicationStorageClass_Values returns all elements of the ReplicationStorageClass enum

func ReplicationTimeStatus_Values added in v1.44.220

func ReplicationTimeStatus_Values() []string

ReplicationTimeStatus_Values returns all elements of the ReplicationTimeStatus enum

func RequestedJobStatus_Values added in v1.34.3

func RequestedJobStatus_Values() []string

RequestedJobStatus_Values returns all elements of the RequestedJobStatus enum

func S3CannedAccessControlList_Values added in v1.34.3

func S3CannedAccessControlList_Values() []string

S3CannedAccessControlList_Values returns all elements of the S3CannedAccessControlList enum

func S3ChecksumAlgorithm_Values added in v1.43.6

func S3ChecksumAlgorithm_Values() []string

S3ChecksumAlgorithm_Values returns all elements of the S3ChecksumAlgorithm enum

func S3GlacierJobTier_Values added in v1.34.3

func S3GlacierJobTier_Values() []string

S3GlacierJobTier_Values returns all elements of the S3GlacierJobTier enum

func S3GranteeTypeIdentifier_Values added in v1.34.3

func S3GranteeTypeIdentifier_Values() []string

S3GranteeTypeIdentifier_Values returns all elements of the S3GranteeTypeIdentifier enum

func S3MetadataDirective_Values added in v1.34.3

func S3MetadataDirective_Values() []string

S3MetadataDirective_Values returns all elements of the S3MetadataDirective enum

func S3ObjectLockLegalHoldStatus_Values added in v1.34.3

func S3ObjectLockLegalHoldStatus_Values() []string

S3ObjectLockLegalHoldStatus_Values returns all elements of the S3ObjectLockLegalHoldStatus enum

func S3ObjectLockMode_Values added in v1.34.3

func S3ObjectLockMode_Values() []string

S3ObjectLockMode_Values returns all elements of the S3ObjectLockMode enum

func S3ObjectLockRetentionMode_Values added in v1.34.3

func S3ObjectLockRetentionMode_Values() []string

S3ObjectLockRetentionMode_Values returns all elements of the S3ObjectLockRetentionMode enum

func S3Permission_Values added in v1.34.3

func S3Permission_Values() []string

S3Permission_Values returns all elements of the S3Permission enum

func S3PrefixType_Values added in v1.48.4

func S3PrefixType_Values() []string

S3PrefixType_Values returns all elements of the S3PrefixType enum

func S3SSEAlgorithm_Values added in v1.34.3

func S3SSEAlgorithm_Values() []string

S3SSEAlgorithm_Values returns all elements of the S3SSEAlgorithm enum

func S3StorageClass_Values added in v1.34.3

func S3StorageClass_Values() []string

S3StorageClass_Values returns all elements of the S3StorageClass enum

func SseKmsEncryptedObjectsStatus_Values added in v1.44.220

func SseKmsEncryptedObjectsStatus_Values() []string

SseKmsEncryptedObjectsStatus_Values returns all elements of the SseKmsEncryptedObjectsStatus enum

func TransitionStorageClass_Values added in v1.35.0

func TransitionStorageClass_Values() []string

TransitionStorageClass_Values returns all elements of the TransitionStorageClass enum

Types

type AbortIncompleteMultipartUpload added in v1.35.0

type AbortIncompleteMultipartUpload struct {

	// Specifies the number of days after which Amazon S3 aborts an incomplete multipart
	// upload to the Outposts bucket.
	DaysAfterInitiation *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The container for abort incomplete multipart upload

func (AbortIncompleteMultipartUpload) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AbortIncompleteMultipartUpload) SetDaysAfterInitiation added in v1.35.0

SetDaysAfterInitiation sets the DaysAfterInitiation field's value.

func (AbortIncompleteMultipartUpload) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccessControlTranslation added in v1.44.220

type AccessControlTranslation struct {

	// Specifies the replica ownership.
	//
	// Owner is a required field
	Owner *string `type:"string" required:"true" enum:"OwnerOverride"`
	// contains filtered or unexported fields
}

A container for information about access control for replicas.

This is not supported by Amazon S3 on Outposts buckets.

func (AccessControlTranslation) GoString added in v1.44.220

func (s AccessControlTranslation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlTranslation) SetOwner added in v1.44.220

SetOwner sets the Owner field's value.

func (AccessControlTranslation) String added in v1.44.220

func (s AccessControlTranslation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessControlTranslation) Validate added in v1.44.220

func (s *AccessControlTranslation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AccessGrantsLocationConfiguration added in v1.48.4

type AccessGrantsLocationConfiguration struct {

	// The S3SubPrefix is appended to the location scope creating the grant scope.
	// Use this field to narrow the scope of the grant to a subset of the location
	// scope. This field is required if the location scope is the default location
	// s3:// because you cannot create a grant for all of your S3 data in the Region
	// and must narrow the scope. For example, if the location scope is the default
	// location s3://, the S3SubPrefx can be a <bucket-name>/*, so the full grant
	// scope path would be s3://<bucket-name>/*. Or the S3SubPrefx can be <bucket-name>/<prefix-name>*,
	// so the full grant scope path would be or s3://<bucket-name>/<prefix-name>*.
	//
	// If the S3SubPrefix includes a prefix, append the wildcard character * after
	// the prefix to indicate that you want to include all object key names in the
	// bucket that start with that prefix.
	S3SubPrefix *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The configuration options of the S3 Access Grants location. It contains the S3SubPrefix field. The grant scope, the data to which you are granting access, is the result of appending the Subprefix field to the scope of the registered location.

func (AccessGrantsLocationConfiguration) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessGrantsLocationConfiguration) SetS3SubPrefix added in v1.48.4

SetS3SubPrefix sets the S3SubPrefix field's value.

func (AccessGrantsLocationConfiguration) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessGrantsLocationConfiguration) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type AccessPoint added in v1.25.46

type AccessPoint struct {

	// The ARN for the access point.
	AccessPointArn *string `min:"4" type:"string"`

	// The name or alias of the access point.
	Alias *string `type:"string"`

	// The name of the bucket associated with this access point.
	//
	// Bucket is a required field
	Bucket *string `min:"3" type:"string" required:"true"`

	// The Amazon Web Services account ID associated with the S3 bucket associated
	// with this access point.
	BucketAccountId *string `type:"string"`

	// The name of this access point.
	//
	// Name is a required field
	Name *string `min:"3" type:"string" required:"true"`

	// 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 is a required field
	NetworkOrigin *string `type:"string" required:"true" enum:"NetworkOrigin"`

	// The virtual private cloud (VPC) configuration for this access point, if one
	// exists.
	//
	// This element is empty if this access point is an Amazon S3 on Outposts access
	// point that is used by other Amazon Web Services.
	VpcConfiguration *VpcConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

An access point used to access a bucket.

func (AccessPoint) GoString added in v1.25.46

func (s AccessPoint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessPoint) SetAccessPointArn added in v1.35.0

func (s *AccessPoint) SetAccessPointArn(v string) *AccessPoint

SetAccessPointArn sets the AccessPointArn field's value.

func (*AccessPoint) SetAlias added in v1.40.8

func (s *AccessPoint) SetAlias(v string) *AccessPoint

SetAlias sets the Alias field's value.

func (*AccessPoint) SetBucket added in v1.25.46

func (s *AccessPoint) SetBucket(v string) *AccessPoint

SetBucket sets the Bucket field's value.

func (*AccessPoint) SetBucketAccountId added in v1.44.150

func (s *AccessPoint) SetBucketAccountId(v string) *AccessPoint

SetBucketAccountId sets the BucketAccountId field's value.

func (*AccessPoint) SetName added in v1.25.46

func (s *AccessPoint) SetName(v string) *AccessPoint

SetName sets the Name field's value.

func (*AccessPoint) SetNetworkOrigin added in v1.25.46

func (s *AccessPoint) SetNetworkOrigin(v string) *AccessPoint

SetNetworkOrigin sets the NetworkOrigin field's value.

func (*AccessPoint) SetVpcConfiguration added in v1.25.46

func (s *AccessPoint) SetVpcConfiguration(v *VpcConfiguration) *AccessPoint

SetVpcConfiguration sets the VpcConfiguration field's value.

func (AccessPoint) String added in v1.25.46

func (s AccessPoint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountLevel added in v1.35.31

type AccountLevel struct {

	// A container element for S3 Storage Lens activity metrics.
	ActivityMetrics *ActivityMetrics `type:"structure"`

	// A container element for S3 Storage Lens advanced cost-optimization metrics.
	AdvancedCostOptimizationMetrics *AdvancedCostOptimizationMetrics `type:"structure"`

	// A container element for S3 Storage Lens advanced data-protection metrics.
	AdvancedDataProtectionMetrics *AdvancedDataProtectionMetrics `type:"structure"`

	// A container element for the S3 Storage Lens bucket-level configuration.
	//
	// BucketLevel is a required field
	BucketLevel *BucketLevel `type:"structure" required:"true"`

	// A container element for detailed status code metrics.
	DetailedStatusCodesMetrics *DetailedStatusCodesMetrics `type:"structure"`

	// A container element for S3 Storage Lens groups metrics.
	StorageLensGroupLevel *StorageLensGroupLevel `type:"structure"`
	// contains filtered or unexported fields
}

A container element for the account-level Amazon S3 Storage Lens configuration.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

func (AccountLevel) GoString added in v1.35.31

func (s AccountLevel) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountLevel) SetActivityMetrics added in v1.35.31

func (s *AccountLevel) SetActivityMetrics(v *ActivityMetrics) *AccountLevel

SetActivityMetrics sets the ActivityMetrics field's value.

func (*AccountLevel) SetAdvancedCostOptimizationMetrics added in v1.44.140

func (s *AccountLevel) SetAdvancedCostOptimizationMetrics(v *AdvancedCostOptimizationMetrics) *AccountLevel

SetAdvancedCostOptimizationMetrics sets the AdvancedCostOptimizationMetrics field's value.

func (*AccountLevel) SetAdvancedDataProtectionMetrics added in v1.44.140

func (s *AccountLevel) SetAdvancedDataProtectionMetrics(v *AdvancedDataProtectionMetrics) *AccountLevel

SetAdvancedDataProtectionMetrics sets the AdvancedDataProtectionMetrics field's value.

func (*AccountLevel) SetBucketLevel added in v1.35.31

func (s *AccountLevel) SetBucketLevel(v *BucketLevel) *AccountLevel

SetBucketLevel sets the BucketLevel field's value.

func (*AccountLevel) SetDetailedStatusCodesMetrics added in v1.44.140

func (s *AccountLevel) SetDetailedStatusCodesMetrics(v *DetailedStatusCodesMetrics) *AccountLevel

SetDetailedStatusCodesMetrics sets the DetailedStatusCodesMetrics field's value.

func (*AccountLevel) SetStorageLensGroupLevel added in v1.47.12

func (s *AccountLevel) SetStorageLensGroupLevel(v *StorageLensGroupLevel) *AccountLevel

SetStorageLensGroupLevel sets the StorageLensGroupLevel field's value.

func (AccountLevel) String added in v1.35.31

func (s AccountLevel) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountLevel) Validate added in v1.35.31

func (s *AccountLevel) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ActivityMetrics added in v1.35.31

type ActivityMetrics struct {

	// A container that indicates whether activity metrics are enabled.
	IsEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The container element for Amazon S3 Storage Lens activity metrics. Activity metrics show details about how your storage is requested, such as requests (for example, All requests, Get requests, Put requests), bytes uploaded or downloaded, and errors.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

func (ActivityMetrics) GoString added in v1.35.31

func (s ActivityMetrics) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ActivityMetrics) SetIsEnabled added in v1.35.31

func (s *ActivityMetrics) SetIsEnabled(v bool) *ActivityMetrics

SetIsEnabled sets the IsEnabled field's value.

func (ActivityMetrics) String added in v1.35.31

func (s ActivityMetrics) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AdvancedCostOptimizationMetrics added in v1.44.140

type AdvancedCostOptimizationMetrics struct {

	// A container that indicates whether advanced cost-optimization metrics are
	// enabled.
	IsEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The container element for Amazon S3 Storage Lens advanced cost-optimization metrics. Advanced cost-optimization metrics provide insights that you can use to manage and optimize your storage costs, for example, lifecycle rule counts for transitions, expirations, and incomplete multipart uploads.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

func (AdvancedCostOptimizationMetrics) GoString added in v1.44.140

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdvancedCostOptimizationMetrics) SetIsEnabled added in v1.44.140

SetIsEnabled sets the IsEnabled field's value.

func (AdvancedCostOptimizationMetrics) String added in v1.44.140

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AdvancedDataProtectionMetrics added in v1.44.140

type AdvancedDataProtectionMetrics struct {

	// A container that indicates whether advanced data-protection metrics are enabled.
	IsEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The container element for Amazon S3 Storage Lens advanced data-protection metrics. Advanced data-protection metrics provide insights that you can use to perform audits and protect your data, for example replication rule counts within and across Regions.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

func (AdvancedDataProtectionMetrics) GoString added in v1.44.140

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdvancedDataProtectionMetrics) SetIsEnabled added in v1.44.140

SetIsEnabled sets the IsEnabled field's value.

func (AdvancedDataProtectionMetrics) String added in v1.44.140

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateAccessGrantsIdentityCenterInput added in v1.48.4

type AssociateAccessGrantsIdentityCenterInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center
	// instance that you are associating with your S3 Access Grants instance. An
	// IAM Identity Center instance is your corporate identity directory that you
	// added to the IAM Identity Center. You can use the ListInstances (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html)
	// API operation to retrieve a list of your Identity Center instances and their
	// ARNs.
	//
	// IdentityCenterArn is a required field
	IdentityCenterArn *string `min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateAccessGrantsIdentityCenterInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateAccessGrantsIdentityCenterInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*AssociateAccessGrantsIdentityCenterInput) SetIdentityCenterArn added in v1.48.4

SetIdentityCenterArn sets the IdentityCenterArn field's value.

func (AssociateAccessGrantsIdentityCenterInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateAccessGrantsIdentityCenterInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type AssociateAccessGrantsIdentityCenterOutput added in v1.48.4

type AssociateAccessGrantsIdentityCenterOutput struct {
	// contains filtered or unexported fields
}

func (AssociateAccessGrantsIdentityCenterOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AssociateAccessGrantsIdentityCenterOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AsyncErrorDetails added in v1.40.36

type AsyncErrorDetails struct {

	// A string that uniquely identifies the error condition.
	Code *string `type:"string"`

	// A generic description of the error condition in English.
	Message *string `type:"string"`

	// The ID of the request associated with the error.
	RequestId *string `type:"string"`

	// The identifier of the resource associated with the error.
	Resource *string `type:"string"`
	// contains filtered or unexported fields
}

Error details for the failed asynchronous operation.

func (AsyncErrorDetails) GoString added in v1.40.36

func (s AsyncErrorDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AsyncErrorDetails) SetCode added in v1.40.36

SetCode sets the Code field's value.

func (*AsyncErrorDetails) SetMessage added in v1.40.36

func (s *AsyncErrorDetails) SetMessage(v string) *AsyncErrorDetails

SetMessage sets the Message field's value.

func (*AsyncErrorDetails) SetRequestId added in v1.40.36

func (s *AsyncErrorDetails) SetRequestId(v string) *AsyncErrorDetails

SetRequestId sets the RequestId field's value.

func (*AsyncErrorDetails) SetResource added in v1.40.36

func (s *AsyncErrorDetails) SetResource(v string) *AsyncErrorDetails

SetResource sets the Resource field's value.

func (AsyncErrorDetails) String added in v1.40.36

func (s AsyncErrorDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AsyncOperation added in v1.40.36

type AsyncOperation struct {

	// The time that the request was sent to the service.
	CreationTime *time.Time `type:"timestamp"`

	// The specific operation for the asynchronous request.
	Operation *string `type:"string" enum:"AsyncOperationName"`

	// The parameters associated with the request.
	RequestParameters *AsyncRequestParameters `type:"structure"`

	// The current status of the request.
	RequestStatus *string `type:"string"`

	// The request token associated with the request.
	RequestTokenARN *string `min:"1" type:"string"`

	// The details of the response.
	ResponseDetails *AsyncResponseDetails `type:"structure"`
	// contains filtered or unexported fields
}

A container for the information about an asynchronous operation.

func (AsyncOperation) GoString added in v1.40.36

func (s AsyncOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AsyncOperation) SetCreationTime added in v1.40.36

func (s *AsyncOperation) SetCreationTime(v time.Time) *AsyncOperation

SetCreationTime sets the CreationTime field's value.

func (*AsyncOperation) SetOperation added in v1.40.36

func (s *AsyncOperation) SetOperation(v string) *AsyncOperation

SetOperation sets the Operation field's value.

func (*AsyncOperation) SetRequestParameters added in v1.40.36

func (s *AsyncOperation) SetRequestParameters(v *AsyncRequestParameters) *AsyncOperation

SetRequestParameters sets the RequestParameters field's value.

func (*AsyncOperation) SetRequestStatus added in v1.40.36

func (s *AsyncOperation) SetRequestStatus(v string) *AsyncOperation

SetRequestStatus sets the RequestStatus field's value.

func (*AsyncOperation) SetRequestTokenARN added in v1.40.36

func (s *AsyncOperation) SetRequestTokenARN(v string) *AsyncOperation

SetRequestTokenARN sets the RequestTokenARN field's value.

func (*AsyncOperation) SetResponseDetails added in v1.40.36

func (s *AsyncOperation) SetResponseDetails(v *AsyncResponseDetails) *AsyncOperation

SetResponseDetails sets the ResponseDetails field's value.

func (AsyncOperation) String added in v1.40.36

func (s AsyncOperation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AsyncRequestParameters added in v1.40.36

type AsyncRequestParameters struct {

	// A container of the parameters for a CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html)
	// request.
	CreateMultiRegionAccessPointRequest *CreateMultiRegionAccessPointInput_ `type:"structure"`

	// A container of the parameters for a DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html)
	// request.
	DeleteMultiRegionAccessPointRequest *DeleteMultiRegionAccessPointInput_ `type:"structure"`

	// A container of the parameters for a PutMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPoint.html)
	// request.
	PutMultiRegionAccessPointPolicyRequest *PutMultiRegionAccessPointPolicyInput_ `type:"structure"`
	// contains filtered or unexported fields
}

A container for the request parameters associated with an asynchronous request.

func (AsyncRequestParameters) GoString added in v1.40.36

func (s AsyncRequestParameters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AsyncRequestParameters) SetCreateMultiRegionAccessPointRequest added in v1.40.36

func (s *AsyncRequestParameters) SetCreateMultiRegionAccessPointRequest(v *CreateMultiRegionAccessPointInput_) *AsyncRequestParameters

SetCreateMultiRegionAccessPointRequest sets the CreateMultiRegionAccessPointRequest field's value.

func (*AsyncRequestParameters) SetDeleteMultiRegionAccessPointRequest added in v1.40.36

func (s *AsyncRequestParameters) SetDeleteMultiRegionAccessPointRequest(v *DeleteMultiRegionAccessPointInput_) *AsyncRequestParameters

SetDeleteMultiRegionAccessPointRequest sets the DeleteMultiRegionAccessPointRequest field's value.

func (*AsyncRequestParameters) SetPutMultiRegionAccessPointPolicyRequest added in v1.40.36

func (s *AsyncRequestParameters) SetPutMultiRegionAccessPointPolicyRequest(v *PutMultiRegionAccessPointPolicyInput_) *AsyncRequestParameters

SetPutMultiRegionAccessPointPolicyRequest sets the PutMultiRegionAccessPointPolicyRequest field's value.

func (AsyncRequestParameters) String added in v1.40.36

func (s AsyncRequestParameters) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AsyncResponseDetails added in v1.40.36

type AsyncResponseDetails struct {

	// Error details for an asynchronous request.
	ErrorDetails *AsyncErrorDetails `type:"structure"`

	// The details for the Multi-Region Access Point.
	MultiRegionAccessPointDetails *MultiRegionAccessPointsAsyncResponse `type:"structure"`
	// contains filtered or unexported fields
}

A container for the response details that are returned when querying about an asynchronous request.

func (AsyncResponseDetails) GoString added in v1.40.36

func (s AsyncResponseDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AsyncResponseDetails) SetErrorDetails added in v1.40.36

SetErrorDetails sets the ErrorDetails field's value.

func (*AsyncResponseDetails) SetMultiRegionAccessPointDetails added in v1.40.36

func (s *AsyncResponseDetails) SetMultiRegionAccessPointDetails(v *MultiRegionAccessPointsAsyncResponse) *AsyncResponseDetails

SetMultiRegionAccessPointDetails sets the MultiRegionAccessPointDetails field's value.

func (AsyncResponseDetails) String added in v1.40.36

func (s AsyncResponseDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AwsLambdaTransformation added in v1.38.0

type AwsLambdaTransformation struct {

	// The Amazon Resource Name (ARN) of the Lambda function.
	//
	// FunctionArn is a required field
	FunctionArn *string `min:"1" type:"string" required:"true"`

	// Additional JSON that provides supplemental data to the Lambda function used
	// to transform objects.
	FunctionPayload *string `type:"string"`
	// contains filtered or unexported fields
}

Lambda function used to transform objects through an Object Lambda Access Point.

func (AwsLambdaTransformation) GoString added in v1.38.0

func (s AwsLambdaTransformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsLambdaTransformation) SetFunctionArn added in v1.38.0

SetFunctionArn sets the FunctionArn field's value.

func (*AwsLambdaTransformation) SetFunctionPayload added in v1.38.0

func (s *AwsLambdaTransformation) SetFunctionPayload(v string) *AwsLambdaTransformation

SetFunctionPayload sets the FunctionPayload field's value.

func (AwsLambdaTransformation) String added in v1.38.0

func (s AwsLambdaTransformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsLambdaTransformation) Validate added in v1.38.0

func (s *AwsLambdaTransformation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BucketLevel added in v1.35.31

type BucketLevel struct {

	// A container for the bucket-level activity metrics for S3 Storage Lens.
	ActivityMetrics *ActivityMetrics `type:"structure"`

	// A container for bucket-level advanced cost-optimization metrics for S3 Storage
	// Lens.
	AdvancedCostOptimizationMetrics *AdvancedCostOptimizationMetrics `type:"structure"`

	// A container for bucket-level advanced data-protection metrics for S3 Storage
	// Lens.
	AdvancedDataProtectionMetrics *AdvancedDataProtectionMetrics `type:"structure"`

	// A container for bucket-level detailed status code metrics for S3 Storage
	// Lens.
	DetailedStatusCodesMetrics *DetailedStatusCodesMetrics `type:"structure"`

	// A container for the prefix-level metrics for S3 Storage Lens.
	PrefixLevel *PrefixLevel `type:"structure"`
	// contains filtered or unexported fields
}

A container for the bucket-level configuration for Amazon S3 Storage Lens.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the Amazon S3 User Guide.

func (BucketLevel) GoString added in v1.35.31

func (s BucketLevel) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketLevel) SetActivityMetrics added in v1.35.31

func (s *BucketLevel) SetActivityMetrics(v *ActivityMetrics) *BucketLevel

SetActivityMetrics sets the ActivityMetrics field's value.

func (*BucketLevel) SetAdvancedCostOptimizationMetrics added in v1.44.140

func (s *BucketLevel) SetAdvancedCostOptimizationMetrics(v *AdvancedCostOptimizationMetrics) *BucketLevel

SetAdvancedCostOptimizationMetrics sets the AdvancedCostOptimizationMetrics field's value.

func (*BucketLevel) SetAdvancedDataProtectionMetrics added in v1.44.140

func (s *BucketLevel) SetAdvancedDataProtectionMetrics(v *AdvancedDataProtectionMetrics) *BucketLevel

SetAdvancedDataProtectionMetrics sets the AdvancedDataProtectionMetrics field's value.

func (*BucketLevel) SetDetailedStatusCodesMetrics added in v1.44.140

func (s *BucketLevel) SetDetailedStatusCodesMetrics(v *DetailedStatusCodesMetrics) *BucketLevel

SetDetailedStatusCodesMetrics sets the DetailedStatusCodesMetrics field's value.

func (*BucketLevel) SetPrefixLevel added in v1.35.31

func (s *BucketLevel) SetPrefixLevel(v *PrefixLevel) *BucketLevel

SetPrefixLevel sets the PrefixLevel field's value.

func (BucketLevel) String added in v1.35.31

func (s BucketLevel) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BucketLevel) Validate added in v1.35.31

func (s *BucketLevel) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CloudWatchMetrics added in v1.42.10

type CloudWatchMetrics struct {

	// A container that indicates whether CloudWatch publishing for S3 Storage Lens
	// metrics is enabled. A value of true indicates that CloudWatch publishing
	// for S3 Storage Lens metrics is enabled.
	//
	// IsEnabled is a required field
	IsEnabled *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.

For more information about publishing S3 Storage Lens metrics to CloudWatch, see Monitor S3 Storage Lens metrics in CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_view_metrics_cloudwatch.html) in the Amazon S3 User Guide.

func (CloudWatchMetrics) GoString added in v1.42.10

func (s CloudWatchMetrics) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchMetrics) SetIsEnabled added in v1.42.10

func (s *CloudWatchMetrics) SetIsEnabled(v bool) *CloudWatchMetrics

SetIsEnabled sets the IsEnabled field's value.

func (CloudWatchMetrics) String added in v1.42.10

func (s CloudWatchMetrics) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchMetrics) Validate added in v1.42.10

func (s *CloudWatchMetrics) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessGrantInput added in v1.48.4

type CreateAccessGrantInput struct {

	// The configuration options of the grant location. The grant location is the
	// S3 path to the data to which you are granting access. It contains the S3SubPrefix
	// field. The grant scope is the result of appending the subprefix to the location
	// scope of the registered location.
	AccessGrantsLocationConfiguration *AccessGrantsLocationConfiguration `type:"structure"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	//
	// If you are passing the default location, you cannot create an access grant
	// for the entire default location. You must also specify a bucket or a bucket
	// and prefix in the Subprefix field.
	//
	// AccessGrantsLocationId is a required field
	AccessGrantsLocationId *string `min:"1" type:"string" required:"true"`

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center
	// application associated with your Identity Center instance. If an application
	// ARN is included in the request to create an access grant, the grantee can
	// only access the S3 data through this application.
	ApplicationArn *string `min:"10" type:"string"`

	// The user, group, or role to which you are granting access. You can grant
	// access to an IAM user or role. If you have added your corporate directory
	// to Amazon Web Services IAM Identity Center and associated your Identity Center
	// instance with your S3 Access Grants instance, the grantee can also be a corporate
	// directory user or group.
	//
	// Grantee is a required field
	Grantee *Grantee `type:"structure" required:"true"`

	// The type of access that you are granting to your S3 data, which can be set
	// to one of the following values:
	//
	//    * READ – Grant read-only access to the S3 data.
	//
	//    * WRITE – Grant write-only access to the S3 data.
	//
	//    * READWRITE – Grant both read and write access to the S3 data.
	//
	// Permission is a required field
	Permission *string `type:"string" required:"true" enum:"Permission"`

	// The type of S3SubPrefix. The only possible value is Object. Pass this value
	// if the access grant scope is an object. Do not pass this value if the access
	// grant scope is a bucket or a bucket and a prefix.
	S3PrefixType *string `type:"string" enum:"S3PrefixType"`

	// The Amazon Web Services resource tags that you are adding to the access grant.
	// Each tag is a label consisting of a user-defined key and value. Tags can
	// help you manage, identify, organize, search for, and filter resources.
	Tags []*Tag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (CreateAccessGrantInput) GoString added in v1.48.4

func (s CreateAccessGrantInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantInput) SetAccessGrantsLocationConfiguration added in v1.48.4

func (s *CreateAccessGrantInput) SetAccessGrantsLocationConfiguration(v *AccessGrantsLocationConfiguration) *CreateAccessGrantInput

SetAccessGrantsLocationConfiguration sets the AccessGrantsLocationConfiguration field's value.

func (*CreateAccessGrantInput) SetAccessGrantsLocationId added in v1.48.4

func (s *CreateAccessGrantInput) SetAccessGrantsLocationId(v string) *CreateAccessGrantInput

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*CreateAccessGrantInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*CreateAccessGrantInput) SetApplicationArn added in v1.48.4

func (s *CreateAccessGrantInput) SetApplicationArn(v string) *CreateAccessGrantInput

SetApplicationArn sets the ApplicationArn field's value.

func (*CreateAccessGrantInput) SetGrantee added in v1.48.4

SetGrantee sets the Grantee field's value.

func (*CreateAccessGrantInput) SetPermission added in v1.48.4

SetPermission sets the Permission field's value.

func (*CreateAccessGrantInput) SetS3PrefixType added in v1.48.4

func (s *CreateAccessGrantInput) SetS3PrefixType(v string) *CreateAccessGrantInput

SetS3PrefixType sets the S3PrefixType field's value.

func (*CreateAccessGrantInput) SetTags added in v1.48.4

SetTags sets the Tags field's value.

func (CreateAccessGrantInput) String added in v1.48.4

func (s CreateAccessGrantInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantInput) Validate added in v1.48.4

func (s *CreateAccessGrantInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessGrantOutput added in v1.48.4

type CreateAccessGrantOutput struct {

	// The Amazon Resource Name (ARN) of the access grant.
	AccessGrantArn *string `min:"1" type:"string"`

	// The ID of the access grant. S3 Access Grants auto-generates this ID when
	// you create the access grant.
	AccessGrantId *string `min:"1" type:"string"`

	// The configuration options of the grant location. The grant location is the
	// S3 path to the data to which you are granting access.
	AccessGrantsLocationConfiguration *AccessGrantsLocationConfiguration `type:"structure"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center
	// application associated with your Identity Center instance. If the grant includes
	// an application ARN, the grantee can only access the S3 data through this
	// application.
	ApplicationArn *string `min:"10" type:"string"`

	// The date and time when you created the access grant.
	CreatedAt *time.Time `type:"timestamp"`

	// The S3 path of the data to which you are granting access. It is the result
	// of appending the Subprefix to the location scope.
	GrantScope *string `min:"1" type:"string"`

	// The user, group, or role to which you are granting access. You can grant
	// access to an IAM user or role. If you have added your corporate directory
	// to Amazon Web Services IAM Identity Center and associated your Identity Center
	// instance with your S3 Access Grants instance, the grantee can also be a corporate
	// directory user or group.
	Grantee *Grantee `type:"structure"`

	// The type of access that you are granting to your S3 data, which can be set
	// to one of the following values:
	//
	//    * READ – Grant read-only access to the S3 data.
	//
	//    * WRITE – Grant write-only access to the S3 data.
	//
	//    * READWRITE – Grant both read and write access to the S3 data.
	Permission *string `type:"string" enum:"Permission"`
	// contains filtered or unexported fields
}

func (CreateAccessGrantOutput) GoString added in v1.48.4

func (s CreateAccessGrantOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantOutput) SetAccessGrantArn added in v1.48.4

func (s *CreateAccessGrantOutput) SetAccessGrantArn(v string) *CreateAccessGrantOutput

SetAccessGrantArn sets the AccessGrantArn field's value.

func (*CreateAccessGrantOutput) SetAccessGrantId added in v1.48.4

func (s *CreateAccessGrantOutput) SetAccessGrantId(v string) *CreateAccessGrantOutput

SetAccessGrantId sets the AccessGrantId field's value.

func (*CreateAccessGrantOutput) SetAccessGrantsLocationConfiguration added in v1.48.4

func (s *CreateAccessGrantOutput) SetAccessGrantsLocationConfiguration(v *AccessGrantsLocationConfiguration) *CreateAccessGrantOutput

SetAccessGrantsLocationConfiguration sets the AccessGrantsLocationConfiguration field's value.

func (*CreateAccessGrantOutput) SetAccessGrantsLocationId added in v1.48.4

func (s *CreateAccessGrantOutput) SetAccessGrantsLocationId(v string) *CreateAccessGrantOutput

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*CreateAccessGrantOutput) SetApplicationArn added in v1.48.4

func (s *CreateAccessGrantOutput) SetApplicationArn(v string) *CreateAccessGrantOutput

SetApplicationArn sets the ApplicationArn field's value.

func (*CreateAccessGrantOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*CreateAccessGrantOutput) SetGrantScope added in v1.48.4

SetGrantScope sets the GrantScope field's value.

func (*CreateAccessGrantOutput) SetGrantee added in v1.48.4

SetGrantee sets the Grantee field's value.

func (*CreateAccessGrantOutput) SetPermission added in v1.48.4

SetPermission sets the Permission field's value.

func (CreateAccessGrantOutput) String added in v1.48.4

func (s CreateAccessGrantOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAccessGrantsInstanceInput added in v1.48.4

type CreateAccessGrantsInstanceInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// If you would like to associate your S3 Access Grants instance with an Amazon
	// Web Services IAM Identity Center instance, use this field to pass the Amazon
	// Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance
	// that you are associating with your S3 Access Grants instance. An IAM Identity
	// Center instance is your corporate identity directory that you added to the
	// IAM Identity Center. You can use the ListInstances (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html)
	// API operation to retrieve a list of your Identity Center instances and their
	// ARNs.
	IdentityCenterArn *string `min:"10" type:"string"`

	// The Amazon Web Services resource tags that you are adding to the S3 Access
	// Grants instance. Each tag is a label consisting of a user-defined key and
	// value. Tags can help you manage, identify, organize, search for, and filter
	// resources.
	Tags []*Tag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (CreateAccessGrantsInstanceInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantsInstanceInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*CreateAccessGrantsInstanceInput) SetIdentityCenterArn added in v1.48.4

SetIdentityCenterArn sets the IdentityCenterArn field's value.

func (*CreateAccessGrantsInstanceInput) SetTags added in v1.48.4

SetTags sets the Tags field's value.

func (CreateAccessGrantsInstanceInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantsInstanceInput) Validate added in v1.48.4

func (s *CreateAccessGrantsInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessGrantsInstanceOutput added in v1.48.4

type CreateAccessGrantsInstanceOutput struct {

	// The Amazon Resource Name (ARN) of the S3 Access Grants instance.
	AccessGrantsInstanceArn *string `min:"1" type:"string"`

	// The ID of the S3 Access Grants instance. The ID is default. You can have
	// one S3 Access Grants instance per Region per account.
	AccessGrantsInstanceId *string `min:"1" type:"string"`

	// The date and time when you created the S3 Access Grants instance.
	CreatedAt *time.Time `type:"timestamp"`

	// If you associated your S3 Access Grants instance with an Amazon Web Services
	// IAM Identity Center instance, this field returns the Amazon Resource Name
	// (ARN) of the IAM Identity Center instance application; a subresource of the
	// original Identity Center instance passed in the request. S3 Access Grants
	// creates this Identity Center application for this specific S3 Access Grants
	// instance.
	IdentityCenterArn *string `min:"10" type:"string"`
	// contains filtered or unexported fields
}

func (CreateAccessGrantsInstanceOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantsInstanceOutput) SetAccessGrantsInstanceArn added in v1.48.4

SetAccessGrantsInstanceArn sets the AccessGrantsInstanceArn field's value.

func (*CreateAccessGrantsInstanceOutput) SetAccessGrantsInstanceId added in v1.48.4

SetAccessGrantsInstanceId sets the AccessGrantsInstanceId field's value.

func (*CreateAccessGrantsInstanceOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*CreateAccessGrantsInstanceOutput) SetIdentityCenterArn added in v1.48.4

SetIdentityCenterArn sets the IdentityCenterArn field's value.

func (CreateAccessGrantsInstanceOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAccessGrantsLocationInput added in v1.48.4

type CreateAccessGrantsLocationInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM role for the registered location.
	// S3 Access Grants assumes this role to manage access to the registered location.
	//
	// IAMRoleArn is a required field
	IAMRoleArn *string `min:"1" type:"string" required:"true"`

	// The S3 path to the location that you are registering. The location scope
	// can be the default S3 location s3://, the S3 path to a bucket s3://<bucket>,
	// or the S3 path to a bucket and prefix s3://<bucket>/<prefix>. A prefix in
	// S3 is a string of characters at the beginning of an object key name used
	// to organize the objects that you store in your S3 buckets. For example, object
	// key names that start with the engineering/ prefix or object key names that
	// start with the marketing/campaigns/ prefix.
	//
	// LocationScope is a required field
	LocationScope *string `min:"1" type:"string" required:"true"`

	// The Amazon Web Services resource tags that you are adding to the S3 Access
	// Grants location. Each tag is a label consisting of a user-defined key and
	// value. Tags can help you manage, identify, organize, search for, and filter
	// resources.
	Tags []*Tag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (CreateAccessGrantsLocationInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantsLocationInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*CreateAccessGrantsLocationInput) SetIAMRoleArn added in v1.48.4

SetIAMRoleArn sets the IAMRoleArn field's value.

func (*CreateAccessGrantsLocationInput) SetLocationScope added in v1.48.4

SetLocationScope sets the LocationScope field's value.

func (*CreateAccessGrantsLocationInput) SetTags added in v1.48.4

SetTags sets the Tags field's value.

func (CreateAccessGrantsLocationInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantsLocationInput) Validate added in v1.48.4

func (s *CreateAccessGrantsLocationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessGrantsLocationOutput added in v1.48.4

type CreateAccessGrantsLocationOutput struct {

	// The Amazon Resource Name (ARN) of the location you are registering.
	AccessGrantsLocationArn *string `min:"1" type:"string"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The date and time when you registered the location.
	CreatedAt *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the IAM role for the registered location.
	// S3 Access Grants assumes this role to manage access to the registered location.
	IAMRoleArn *string `min:"1" type:"string"`

	// The S3 URI path to the location that you are registering. The location scope
	// can be the default S3 location s3://, the S3 path to a bucket, or the S3
	// path to a bucket and prefix. A prefix in S3 is a string of characters at
	// the beginning of an object key name used to organize the objects that you
	// store in your S3 buckets. For example, object key names that start with the
	// engineering/ prefix or object key names that start with the marketing/campaigns/
	// prefix.
	LocationScope *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateAccessGrantsLocationOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessGrantsLocationOutput) SetAccessGrantsLocationArn added in v1.48.4

SetAccessGrantsLocationArn sets the AccessGrantsLocationArn field's value.

func (*CreateAccessGrantsLocationOutput) SetAccessGrantsLocationId added in v1.48.4

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*CreateAccessGrantsLocationOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*CreateAccessGrantsLocationOutput) SetIAMRoleArn added in v1.48.4

SetIAMRoleArn sets the IAMRoleArn field's value.

func (*CreateAccessGrantsLocationOutput) SetLocationScope added in v1.48.4

SetLocationScope sets the LocationScope field's value.

func (CreateAccessGrantsLocationOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAccessPointForObjectLambdaInput added in v1.38.0

type CreateAccessPointForObjectLambdaInput struct {

	// The Amazon Web Services account ID for owner of the specified Object Lambda
	// Access Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Object Lambda Access Point configuration as a JSON document.
	//
	// Configuration is a required field
	Configuration *ObjectLambdaConfiguration `type:"structure" required:"true"`

	// The name you want to assign to this Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAccessPointForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessPointForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*CreateAccessPointForObjectLambdaInput) SetConfiguration added in v1.38.0

SetConfiguration sets the Configuration field's value.

func (*CreateAccessPointForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (CreateAccessPointForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessPointForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessPointForObjectLambdaOutput added in v1.38.0

type CreateAccessPointForObjectLambdaOutput struct {

	// The alias of the Object Lambda Access Point.
	Alias *ObjectLambdaAccessPointAlias `type:"structure"`

	// Specifies the ARN for the Object Lambda Access Point.
	ObjectLambdaAccessPointArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateAccessPointForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessPointForObjectLambdaOutput) SetAlias added in v1.44.222

SetAlias sets the Alias field's value.

func (*CreateAccessPointForObjectLambdaOutput) SetObjectLambdaAccessPointArn added in v1.38.0

SetObjectLambdaAccessPointArn sets the ObjectLambdaAccessPointArn field's value.

func (CreateAccessPointForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateAccessPointInput added in v1.25.46

type CreateAccessPointInput struct {

	// The Amazon Web Services account ID for the account that owns the specified
	// access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the bucket that you want to associate this access point with.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `min:"3" type:"string" required:"true"`

	// The Amazon Web Services account ID associated with the S3 bucket associated
	// with this access point.
	//
	// For same account access point when your bucket and access point belong to
	// the same account owner, the BucketAccountId is not required. For cross-account
	// access point when your bucket and access point are not in the same account,
	// the BucketAccountId is required.
	BucketAccountId *string `type:"string"`

	// The name you want to assign to this access point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// The PublicAccessBlock configuration that you want to apply to the access
	// point.
	PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `type:"structure"`

	// If you include this field, Amazon S3 restricts access to this access point
	// to requests from the specified virtual private cloud (VPC).
	//
	// This is required for creating an access point for Amazon S3 on Outposts buckets.
	VpcConfiguration *VpcConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateAccessPointInput) GoString added in v1.25.46

func (s CreateAccessPointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessPointInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*CreateAccessPointInput) SetBucket added in v1.25.46

SetBucket sets the Bucket field's value.

func (*CreateAccessPointInput) SetBucketAccountId added in v1.44.150

func (s *CreateAccessPointInput) SetBucketAccountId(v string) *CreateAccessPointInput

SetBucketAccountId sets the BucketAccountId field's value.

func (*CreateAccessPointInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (*CreateAccessPointInput) SetPublicAccessBlockConfiguration added in v1.25.46

func (s *CreateAccessPointInput) SetPublicAccessBlockConfiguration(v *PublicAccessBlockConfiguration) *CreateAccessPointInput

SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value.

func (*CreateAccessPointInput) SetVpcConfiguration added in v1.25.46

SetVpcConfiguration sets the VpcConfiguration field's value.

func (CreateAccessPointInput) String added in v1.25.46

func (s CreateAccessPointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessPointInput) Validate added in v1.25.46

func (s *CreateAccessPointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessPointOutput added in v1.25.46

type CreateAccessPointOutput struct {

	// The ARN of the access point.
	//
	// This is only supported by Amazon S3 on Outposts.
	AccessPointArn *string `min:"4" type:"string"`

	// The name or alias of the access point.
	Alias *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateAccessPointOutput) GoString added in v1.25.46

func (s CreateAccessPointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateAccessPointOutput) SetAccessPointArn added in v1.35.0

func (s *CreateAccessPointOutput) SetAccessPointArn(v string) *CreateAccessPointOutput

SetAccessPointArn sets the AccessPointArn field's value.

func (*CreateAccessPointOutput) SetAlias added in v1.40.8

SetAlias sets the Alias field's value.

func (CreateAccessPointOutput) String added in v1.25.46

func (s CreateAccessPointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBucketConfiguration added in v1.35.0

type CreateBucketConfiguration struct {

	// Specifies the Region where the bucket will be created. If you are creating
	// a bucket on the US East (N. Virginia) Region (us-east-1), you do not need
	// to specify the location.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	LocationConstraint *string `type:"string" enum:"BucketLocationConstraint"`
	// contains filtered or unexported fields
}

The container for the bucket configuration.

This is not supported by Amazon S3 on Outposts buckets.

func (CreateBucketConfiguration) GoString added in v1.35.0

func (s CreateBucketConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketConfiguration) SetLocationConstraint added in v1.35.0

func (s *CreateBucketConfiguration) SetLocationConstraint(v string) *CreateBucketConfiguration

SetLocationConstraint sets the LocationConstraint field's value.

func (CreateBucketConfiguration) String added in v1.35.0

func (s CreateBucketConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBucketInput added in v1.35.0

type CreateBucketInput struct {

	// The canned ACL to apply to the bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"BucketCannedACL"`

	// The name of the bucket.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// The configuration information for the bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure" xmlURI:"http://awss3control.amazonaws.com/doc/2018-08-20/"`

	// Allows grantee the read, write, read ACP, and write ACP permissions on the
	// bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`

	// Allows grantee to list the objects in the bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string"`

	// Allows grantee to read the bucket ACL.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string"`

	// Allows grantee to create, overwrite, and delete any object in the bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string"`

	// Allows grantee to write the ACL for the applicable bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"`

	// Specifies whether you want S3 Object Lock to be enabled for the new bucket.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	ObjectLockEnabledForBucket *bool `location:"header" locationName:"x-amz-bucket-object-lock-enabled" type:"boolean"`

	// The ID of the Outposts where the bucket is being created.
	//
	// This ID is required by Amazon S3 on Outposts buckets.
	OutpostId *string `location:"header" locationName:"x-amz-outpost-id" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBucketInput) GoString added in v1.35.0

func (s CreateBucketInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketInput) SetACL added in v1.35.0

SetACL sets the ACL field's value.

func (*CreateBucketInput) SetBucket added in v1.35.0

func (s *CreateBucketInput) SetBucket(v string) *CreateBucketInput

SetBucket sets the Bucket field's value.

func (*CreateBucketInput) SetCreateBucketConfiguration added in v1.35.0

func (s *CreateBucketInput) SetCreateBucketConfiguration(v *CreateBucketConfiguration) *CreateBucketInput

SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value.

func (*CreateBucketInput) SetGrantFullControl added in v1.35.0

func (s *CreateBucketInput) SetGrantFullControl(v string) *CreateBucketInput

SetGrantFullControl sets the GrantFullControl field's value.

func (*CreateBucketInput) SetGrantRead added in v1.35.0

func (s *CreateBucketInput) SetGrantRead(v string) *CreateBucketInput

SetGrantRead sets the GrantRead field's value.

func (*CreateBucketInput) SetGrantReadACP added in v1.35.0

func (s *CreateBucketInput) SetGrantReadACP(v string) *CreateBucketInput

SetGrantReadACP sets the GrantReadACP field's value.

func (*CreateBucketInput) SetGrantWrite added in v1.35.0

func (s *CreateBucketInput) SetGrantWrite(v string) *CreateBucketInput

SetGrantWrite sets the GrantWrite field's value.

func (*CreateBucketInput) SetGrantWriteACP added in v1.35.0

func (s *CreateBucketInput) SetGrantWriteACP(v string) *CreateBucketInput

SetGrantWriteACP sets the GrantWriteACP field's value.

func (*CreateBucketInput) SetObjectLockEnabledForBucket added in v1.35.0

func (s *CreateBucketInput) SetObjectLockEnabledForBucket(v bool) *CreateBucketInput

SetObjectLockEnabledForBucket sets the ObjectLockEnabledForBucket field's value.

func (*CreateBucketInput) SetOutpostId added in v1.35.0

func (s *CreateBucketInput) SetOutpostId(v string) *CreateBucketInput

SetOutpostId sets the OutpostId field's value.

func (CreateBucketInput) String added in v1.35.0

func (s CreateBucketInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketInput) Validate added in v1.35.0

func (s *CreateBucketInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBucketOutput added in v1.35.0

type CreateBucketOutput struct {

	// The Amazon Resource Name (ARN) of the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	BucketArn *string `min:"4" type:"string"`

	// The location of the bucket.
	Location *string `location:"header" locationName:"Location" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBucketOutput) GoString added in v1.35.0

func (s CreateBucketOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBucketOutput) SetBucketArn added in v1.35.0

func (s *CreateBucketOutput) SetBucketArn(v string) *CreateBucketOutput

SetBucketArn sets the BucketArn field's value.

func (*CreateBucketOutput) SetLocation added in v1.35.0

func (s *CreateBucketOutput) SetLocation(v string) *CreateBucketOutput

SetLocation sets the Location field's value.

func (CreateBucketOutput) String added in v1.35.0

func (s CreateBucketOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateJobInput added in v1.19.21

type CreateJobInput struct {

	// The Amazon Web Services account ID that creates the job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// An idempotency token to ensure that you don't accidentally submit the same
	// request twice. You can use any string up to the maximum length.
	ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// Indicates whether confirmation is required before Amazon S3 runs the job.
	// Confirmation is only required for jobs created through the Amazon S3 console.
	ConfirmationRequired *bool `type:"boolean"`

	// A description for this job. You can use any string within the permitted length.
	// Descriptions don't need to be unique and can be used for multiple jobs.
	Description *string `min:"1" type:"string"`

	// Configuration parameters for the manifest.
	Manifest *JobManifest `type:"structure"`

	// The attribute container for the ManifestGenerator details. Jobs must be created
	// with either a manifest file or a ManifestGenerator, but not both.
	ManifestGenerator *JobManifestGenerator `type:"structure"`

	// The action that you want this job to perform on every object listed in the
	// manifest. For more information about the available actions, see Operations
	// (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-actions.html)
	// in the Amazon S3 User Guide.
	//
	// Operation is a required field
	Operation *JobOperation `type:"structure" required:"true"`

	// The numerical priority for this job. Higher numbers indicate higher priority.
	//
	// Priority is a required field
	Priority *int64 `type:"integer" required:"true"`

	// Configuration parameters for the optional job-completion report.
	//
	// Report is a required field
	Report *JobReport `type:"structure" required:"true"`

	// The Amazon Resource Name (ARN) for the Identity and Access Management (IAM)
	// role that Batch Operations will use to run this job's action on every object
	// in the manifest.
	//
	// RoleArn is a required field
	RoleArn *string `min:"1" type:"string" required:"true"`

	// A set of tags to associate with the S3 Batch Operations job. This is an optional
	// parameter.
	Tags []*S3Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateJobInput) GoString added in v1.19.21

func (s CreateJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateJobInput) SetAccountId added in v1.19.21

func (s *CreateJobInput) SetAccountId(v string) *CreateJobInput

SetAccountId sets the AccountId field's value.

func (*CreateJobInput) SetClientRequestToken added in v1.19.21

func (s *CreateJobInput) SetClientRequestToken(v string) *CreateJobInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateJobInput) SetConfirmationRequired added in v1.19.21

func (s *CreateJobInput) SetConfirmationRequired(v bool) *CreateJobInput

SetConfirmationRequired sets the ConfirmationRequired field's value.

func (*CreateJobInput) SetDescription added in v1.19.21

func (s *CreateJobInput) SetDescription(v string) *CreateJobInput

SetDescription sets the Description field's value.

func (*CreateJobInput) SetManifest added in v1.19.21

func (s *CreateJobInput) SetManifest(v *JobManifest) *CreateJobInput

SetManifest sets the Manifest field's value.

func (*CreateJobInput) SetManifestGenerator added in v1.42.49

func (s *CreateJobInput) SetManifestGenerator(v *JobManifestGenerator) *CreateJobInput

SetManifestGenerator sets the ManifestGenerator field's value.

func (*CreateJobInput) SetOperation added in v1.19.21

func (s *CreateJobInput) SetOperation(v *JobOperation) *CreateJobInput

SetOperation sets the Operation field's value.

func (*CreateJobInput) SetPriority added in v1.19.21

func (s *CreateJobInput) SetPriority(v int64) *CreateJobInput

SetPriority sets the Priority field's value.

func (*CreateJobInput) SetReport added in v1.19.21

func (s *CreateJobInput) SetReport(v *JobReport) *CreateJobInput

SetReport sets the Report field's value.

func (*CreateJobInput) SetRoleArn added in v1.19.21

func (s *CreateJobInput) SetRoleArn(v string) *CreateJobInput

SetRoleArn sets the RoleArn field's value.

func (*CreateJobInput) SetTags added in v1.29.25

func (s *CreateJobInput) SetTags(v []*S3Tag) *CreateJobInput

SetTags sets the Tags field's value.

func (CreateJobInput) String added in v1.19.21

func (s CreateJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateJobInput) Validate added in v1.19.21

func (s *CreateJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateJobOutput added in v1.19.21

type CreateJobOutput struct {

	// The ID for this job. Amazon S3 generates this ID automatically and returns
	// it after a successful Create Job request.
	JobId *string `min:"5" type:"string"`
	// contains filtered or unexported fields
}

func (CreateJobOutput) GoString added in v1.19.21

func (s CreateJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateJobOutput) SetJobId added in v1.19.21

func (s *CreateJobOutput) SetJobId(v string) *CreateJobOutput

SetJobId sets the JobId field's value.

func (CreateJobOutput) String added in v1.19.21

func (s CreateJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateMultiRegionAccessPointInput added in v1.40.36

type CreateMultiRegionAccessPointInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point. The owner of the Multi-Region Access Point also must own the underlying
	// buckets.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// An idempotency token used to identify the request and guarantee that requests
	// are unique.
	ClientToken *string `type:"string" idempotencyToken:"true"`

	// A container element containing details about the Multi-Region Access Point.
	//
	// Details is a required field
	Details *CreateMultiRegionAccessPointInput_ `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMultiRegionAccessPointInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultiRegionAccessPointInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*CreateMultiRegionAccessPointInput) SetClientToken added in v1.40.36

SetClientToken sets the ClientToken field's value.

func (*CreateMultiRegionAccessPointInput) SetDetails added in v1.40.36

SetDetails sets the Details field's value.

func (CreateMultiRegionAccessPointInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultiRegionAccessPointInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type CreateMultiRegionAccessPointInput_ added in v1.40.36

type CreateMultiRegionAccessPointInput_ struct {

	// The name of the Multi-Region Access Point associated with this request.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The PublicAccessBlock configuration that you want to apply to this Amazon
	// S3 account. 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 S3 User Guide.
	//
	// This data type is not supported for Amazon S3 on Outposts.
	PublicAccessBlock *PublicAccessBlockConfiguration `type:"structure"`

	// The buckets in different Regions that are associated with the Multi-Region
	// Access Point.
	//
	// Regions is a required field
	Regions []*Region `locationNameList:"Region" type:"list" required:"true"`
	// contains filtered or unexported fields
}

A container for the information associated with a CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) request.

func (CreateMultiRegionAccessPointInput_) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultiRegionAccessPointInput_) SetName added in v1.40.36

SetName sets the Name field's value.

func (*CreateMultiRegionAccessPointInput_) SetPublicAccessBlock added in v1.40.36

SetPublicAccessBlock sets the PublicAccessBlock field's value.

func (*CreateMultiRegionAccessPointInput_) SetRegions added in v1.40.36

SetRegions sets the Regions field's value.

func (CreateMultiRegionAccessPointInput_) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultiRegionAccessPointInput_) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type CreateMultiRegionAccessPointOutput added in v1.40.36

type CreateMultiRegionAccessPointOutput struct {

	// The request token associated with the request. You can use this token with
	// DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html)
	// to determine the status of asynchronous requests.
	RequestTokenARN *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateMultiRegionAccessPointOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMultiRegionAccessPointOutput) SetRequestTokenARN added in v1.40.36

SetRequestTokenARN sets the RequestTokenARN field's value.

func (CreateMultiRegionAccessPointOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateStorageLensGroupInput added in v1.47.12

type CreateStorageLensGroupInput struct {

	// The Amazon Web Services account ID that the Storage Lens group is created
	// from and associated with.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Storage Lens group configuration.
	//
	// StorageLensGroup is a required field
	StorageLensGroup *StorageLensGroup `type:"structure" required:"true"`

	// The Amazon Web Services resource tags that you're adding to your Storage
	// Lens group. This parameter is optional.
	Tags []*Tag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (CreateStorageLensGroupInput) GoString added in v1.47.12

func (s CreateStorageLensGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStorageLensGroupInput) SetAccountId added in v1.47.12

SetAccountId sets the AccountId field's value.

func (*CreateStorageLensGroupInput) SetStorageLensGroup added in v1.47.12

SetStorageLensGroup sets the StorageLensGroup field's value.

func (*CreateStorageLensGroupInput) SetTags added in v1.47.12

SetTags sets the Tags field's value.

func (CreateStorageLensGroupInput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStorageLensGroupInput) Validate added in v1.47.12

func (s *CreateStorageLensGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStorageLensGroupOutput added in v1.47.12

type CreateStorageLensGroupOutput struct {
	// contains filtered or unexported fields
}

func (CreateStorageLensGroupOutput) GoString added in v1.47.12

func (s CreateStorageLensGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateStorageLensGroupOutput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Credentials added in v1.48.4

type Credentials struct {

	// The unique access key ID of the Amazon Web Services STS temporary credential
	// that S3 Access Grants vends to grantees and client applications.
	//
	// AccessKeyId is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Credentials's
	// String and GoString methods.
	AccessKeyId *string `type:"string" sensitive:"true"`

	// The expiration date and time of the temporary credential that S3 Access Grants
	// vends to grantees and client applications.
	Expiration *time.Time `type:"timestamp"`

	// The secret access key of the Amazon Web Services STS temporary credential
	// that S3 Access Grants vends to grantees and client applications.
	//
	// SecretAccessKey is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Credentials's
	// String and GoString methods.
	SecretAccessKey *string `type:"string" sensitive:"true"`

	// The Amazon Web Services STS temporary credential that S3 Access Grants vends
	// to grantees and client applications.
	//
	// SessionToken is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Credentials's
	// String and GoString methods.
	SessionToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

The Amazon Web Services Security Token Service temporary credential that S3 Access Grants vends to grantees and client applications.

func (Credentials) GoString added in v1.48.4

func (s Credentials) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Credentials) SetAccessKeyId added in v1.48.4

func (s *Credentials) SetAccessKeyId(v string) *Credentials

SetAccessKeyId sets the AccessKeyId field's value.

func (*Credentials) SetExpiration added in v1.48.4

func (s *Credentials) SetExpiration(v time.Time) *Credentials

SetExpiration sets the Expiration field's value.

func (*Credentials) SetSecretAccessKey added in v1.48.4

func (s *Credentials) SetSecretAccessKey(v string) *Credentials

SetSecretAccessKey sets the SecretAccessKey field's value.

func (*Credentials) SetSessionToken added in v1.48.4

func (s *Credentials) SetSessionToken(v string) *Credentials

SetSessionToken sets the SessionToken field's value.

func (Credentials) String added in v1.48.4

func (s Credentials) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessGrantInput added in v1.48.4

type DeleteAccessGrantInput struct {

	// The ID of the access grant. S3 Access Grants auto-generates this ID when
	// you create the access grant.
	//
	// AccessGrantId is a required field
	AccessGrantId *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"`

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessGrantInput) GoString added in v1.48.4

func (s DeleteAccessGrantInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantInput) SetAccessGrantId added in v1.48.4

func (s *DeleteAccessGrantInput) SetAccessGrantId(v string) *DeleteAccessGrantInput

SetAccessGrantId sets the AccessGrantId field's value.

func (*DeleteAccessGrantInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (DeleteAccessGrantInput) String added in v1.48.4

func (s DeleteAccessGrantInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantInput) Validate added in v1.48.4

func (s *DeleteAccessGrantInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessGrantOutput added in v1.48.4

type DeleteAccessGrantOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessGrantOutput) GoString added in v1.48.4

func (s DeleteAccessGrantOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessGrantOutput) String added in v1.48.4

func (s DeleteAccessGrantOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessGrantsInstanceInput added in v1.48.4

type DeleteAccessGrantsInstanceInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessGrantsInstanceInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantsInstanceInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (DeleteAccessGrantsInstanceInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantsInstanceInput) Validate added in v1.48.4

func (s *DeleteAccessGrantsInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessGrantsInstanceOutput added in v1.48.4

type DeleteAccessGrantsInstanceOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessGrantsInstanceOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessGrantsInstanceOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessGrantsInstanceResourcePolicyInput added in v1.48.4

type DeleteAccessGrantsInstanceResourcePolicyInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessGrantsInstanceResourcePolicyInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantsInstanceResourcePolicyInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (DeleteAccessGrantsInstanceResourcePolicyInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantsInstanceResourcePolicyInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessGrantsInstanceResourcePolicyOutput added in v1.48.4

type DeleteAccessGrantsInstanceResourcePolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessGrantsInstanceResourcePolicyOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessGrantsInstanceResourcePolicyOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessGrantsLocationInput added in v1.48.4

type DeleteAccessGrantsLocationInput struct {

	// The ID of the registered location that you are deregistering from your S3
	// Access Grants instance. S3 Access Grants assigned this ID when you registered
	// the location. S3 Access Grants assigns the ID default to the default location
	// s3:// and assigns an auto-generated ID to other locations that you register.
	//
	// AccessGrantsLocationId is a required field
	AccessGrantsLocationId *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"`

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessGrantsLocationInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantsLocationInput) SetAccessGrantsLocationId added in v1.48.4

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*DeleteAccessGrantsLocationInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (DeleteAccessGrantsLocationInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessGrantsLocationInput) Validate added in v1.48.4

func (s *DeleteAccessGrantsLocationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessGrantsLocationOutput added in v1.48.4

type DeleteAccessGrantsLocationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessGrantsLocationOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessGrantsLocationOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessPointForObjectLambdaInput added in v1.38.0

type DeleteAccessPointForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point you want to delete.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessPointForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*DeleteAccessPointForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (DeleteAccessPointForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessPointForObjectLambdaOutput added in v1.38.0

type DeleteAccessPointForObjectLambdaOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessPointForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessPointForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessPointInput added in v1.25.46

type DeleteAccessPointInput struct {

	// The Amazon Web Services account ID for the account that owns the specified
	// access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point you want to delete.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the access point accessed in the
	// format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>.
	// For example, to access the access point reports-ap through Outpost my-outpost
	// owned by account 123456789012 in Region us-west-2, use the URL encoding of
	// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap.
	// The value must be URL encoded.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessPointInput) GoString added in v1.25.46

func (s DeleteAccessPointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*DeleteAccessPointInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (DeleteAccessPointInput) String added in v1.25.46

func (s DeleteAccessPointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointInput) Validate added in v1.25.46

func (s *DeleteAccessPointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessPointOutput added in v1.25.46

type DeleteAccessPointOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessPointOutput) GoString added in v1.25.46

func (s DeleteAccessPointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessPointOutput) String added in v1.25.46

func (s DeleteAccessPointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessPointPolicyForObjectLambdaInput added in v1.38.0

type DeleteAccessPointPolicyForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Object Lambda Access Point you want to delete the policy
	// for.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessPointPolicyForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointPolicyForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*DeleteAccessPointPolicyForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (DeleteAccessPointPolicyForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointPolicyForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessPointPolicyForObjectLambdaOutput added in v1.38.0

type DeleteAccessPointPolicyForObjectLambdaOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessPointPolicyForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessPointPolicyForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccessPointPolicyInput added in v1.25.46

type DeleteAccessPointPolicyInput struct {

	// The account ID for the account that owns the specified access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point whose policy you want to delete.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the access point accessed in the
	// format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>.
	// For example, to access the access point reports-ap through Outpost my-outpost
	// owned by account 123456789012 in Region us-west-2, use the URL encoding of
	// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap.
	// The value must be URL encoded.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccessPointPolicyInput) GoString added in v1.25.46

func (s DeleteAccessPointPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointPolicyInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*DeleteAccessPointPolicyInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (DeleteAccessPointPolicyInput) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccessPointPolicyInput) Validate added in v1.25.46

func (s *DeleteAccessPointPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessPointPolicyOutput added in v1.25.46

type DeleteAccessPointPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccessPointPolicyOutput) GoString added in v1.25.46

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccessPointPolicyOutput) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketInput added in v1.35.0

type DeleteBucketInput struct {

	// The account ID that owns the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket being deleted.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBucketInput) GoString added in v1.35.0

func (s DeleteBucketInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketInput) SetAccountId added in v1.35.0

func (s *DeleteBucketInput) SetAccountId(v string) *DeleteBucketInput

SetAccountId sets the AccountId field's value.

func (*DeleteBucketInput) SetBucket added in v1.35.0

func (s *DeleteBucketInput) SetBucket(v string) *DeleteBucketInput

SetBucket sets the Bucket field's value.

func (DeleteBucketInput) String added in v1.35.0

func (s DeleteBucketInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketInput) Validate added in v1.35.0

func (s *DeleteBucketInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketLifecycleConfigurationInput added in v1.35.0

type DeleteBucketLifecycleConfigurationInput struct {

	// The account ID of the lifecycle configuration to delete.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBucketLifecycleConfigurationInput) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketLifecycleConfigurationInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*DeleteBucketLifecycleConfigurationInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (DeleteBucketLifecycleConfigurationInput) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketLifecycleConfigurationInput) Validate added in v1.35.0

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketLifecycleConfigurationOutput added in v1.35.0

type DeleteBucketLifecycleConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBucketLifecycleConfigurationOutput) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketLifecycleConfigurationOutput) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketOutput added in v1.35.0

type DeleteBucketOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBucketOutput) GoString added in v1.35.0

func (s DeleteBucketOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketOutput) String added in v1.35.0

func (s DeleteBucketOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketPolicyInput added in v1.35.0

type DeleteBucketPolicyInput struct {

	// The account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBucketPolicyInput) GoString added in v1.35.0

func (s DeleteBucketPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketPolicyInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*DeleteBucketPolicyInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (DeleteBucketPolicyInput) String added in v1.35.0

func (s DeleteBucketPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketPolicyInput) Validate added in v1.35.0

func (s *DeleteBucketPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketPolicyOutput added in v1.35.0

type DeleteBucketPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBucketPolicyOutput) GoString added in v1.35.0

func (s DeleteBucketPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketPolicyOutput) String added in v1.35.0

func (s DeleteBucketPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketReplicationInput added in v1.44.220

type DeleteBucketReplicationInput struct {

	// The Amazon Web Services account ID of the Outposts bucket to delete the replication
	// configuration for.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the S3 on Outposts bucket to delete the replication configuration
	// for.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBucketReplicationInput) GoString added in v1.44.220

func (s DeleteBucketReplicationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketReplicationInput) SetAccountId added in v1.44.220

SetAccountId sets the AccountId field's value.

func (*DeleteBucketReplicationInput) SetBucket added in v1.44.220

SetBucket sets the Bucket field's value.

func (DeleteBucketReplicationInput) String added in v1.44.220

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketReplicationInput) Validate added in v1.44.220

func (s *DeleteBucketReplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketReplicationOutput added in v1.44.220

type DeleteBucketReplicationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBucketReplicationOutput) GoString added in v1.44.220

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketReplicationOutput) String added in v1.44.220

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBucketTaggingInput added in v1.35.0

type DeleteBucketTaggingInput struct {

	// The Amazon Web Services account ID of the Outposts bucket tag set to be removed.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The bucket ARN that has the tag set to be removed.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBucketTaggingInput) GoString added in v1.35.0

func (s DeleteBucketTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketTaggingInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*DeleteBucketTaggingInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (DeleteBucketTaggingInput) String added in v1.35.0

func (s DeleteBucketTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBucketTaggingInput) Validate added in v1.35.0

func (s *DeleteBucketTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBucketTaggingOutput added in v1.35.0

type DeleteBucketTaggingOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBucketTaggingOutput) GoString added in v1.35.0

func (s DeleteBucketTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteBucketTaggingOutput) String added in v1.35.0

func (s DeleteBucketTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteJobTaggingInput added in v1.29.25

type DeleteJobTaggingInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID for the S3 Batch Operations job whose tags you want to delete.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"id" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteJobTaggingInput) GoString added in v1.29.25

func (s DeleteJobTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteJobTaggingInput) SetAccountId added in v1.29.25

SetAccountId sets the AccountId field's value.

func (*DeleteJobTaggingInput) SetJobId added in v1.29.25

SetJobId sets the JobId field's value.

func (DeleteJobTaggingInput) String added in v1.29.25

func (s DeleteJobTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteJobTaggingInput) Validate added in v1.29.25

func (s *DeleteJobTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteJobTaggingOutput added in v1.29.25

type DeleteJobTaggingOutput struct {
	// contains filtered or unexported fields
}

func (DeleteJobTaggingOutput) GoString added in v1.29.25

func (s DeleteJobTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteJobTaggingOutput) String added in v1.29.25

func (s DeleteJobTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMarkerReplication added in v1.44.220

type DeleteMarkerReplication struct {

	// Indicates whether to replicate delete markers.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"DeleteMarkerReplicationStatus"`
	// contains filtered or unexported fields
}

Specifies whether S3 on Outposts replicates delete markers. If you specify a Filter element in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication element's Status child element must be set to Disabled, because S3 on Outposts does not support replicating delete markers for tag-based rules.

For more information about delete marker replication, see How delete operations affect replication (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html#outposts-replication-what-is-replicated) in the Amazon S3 User Guide.

func (DeleteMarkerReplication) GoString added in v1.44.220

func (s DeleteMarkerReplication) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMarkerReplication) SetStatus added in v1.44.220

SetStatus sets the Status field's value.

func (DeleteMarkerReplication) String added in v1.44.220

func (s DeleteMarkerReplication) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMarkerReplication) Validate added in v1.44.220

func (s *DeleteMarkerReplication) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteMultiRegionAccessPointInput added in v1.40.36

type DeleteMultiRegionAccessPointInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// An idempotency token used to identify the request and guarantee that requests
	// are unique.
	ClientToken *string `type:"string" idempotencyToken:"true"`

	// A container element containing details about the Multi-Region Access Point.
	//
	// Details is a required field
	Details *DeleteMultiRegionAccessPointInput_ `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMultiRegionAccessPointInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMultiRegionAccessPointInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*DeleteMultiRegionAccessPointInput) SetClientToken added in v1.40.36

SetClientToken sets the ClientToken field's value.

func (*DeleteMultiRegionAccessPointInput) SetDetails added in v1.40.36

SetDetails sets the Details field's value.

func (DeleteMultiRegionAccessPointInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMultiRegionAccessPointInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type DeleteMultiRegionAccessPointInput_ added in v1.40.36

type DeleteMultiRegionAccessPointInput_ struct {

	// The name of the Multi-Region Access Point associated with this request.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A container for the information associated with a DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) request.

func (DeleteMultiRegionAccessPointInput_) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMultiRegionAccessPointInput_) SetName added in v1.40.36

SetName sets the Name field's value.

func (DeleteMultiRegionAccessPointInput_) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMultiRegionAccessPointInput_) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type DeleteMultiRegionAccessPointOutput added in v1.40.36

type DeleteMultiRegionAccessPointOutput struct {

	// The request token associated with the request. You can use this token with
	// DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html)
	// to determine the status of asynchronous requests.
	RequestTokenARN *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteMultiRegionAccessPointOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMultiRegionAccessPointOutput) SetRequestTokenARN added in v1.40.36

SetRequestTokenARN sets the RequestTokenARN field's value.

func (DeleteMultiRegionAccessPointOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePublicAccessBlockInput

type DeletePublicAccessBlockInput struct {

	// The account ID for the Amazon Web Services account whose PublicAccessBlock
	// configuration you want to remove.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePublicAccessBlockInput) GoString

func (s DeletePublicAccessBlockInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePublicAccessBlockInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (DeletePublicAccessBlockInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePublicAccessBlockInput) Validate

func (s *DeletePublicAccessBlockInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePublicAccessBlockOutput

type DeletePublicAccessBlockOutput struct {
	// contains filtered or unexported fields
}

func (DeletePublicAccessBlockOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeletePublicAccessBlockOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteStorageLensConfigurationInput added in v1.35.31

type DeleteStorageLensConfigurationInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the S3 Storage Lens configuration.
	//
	// ConfigId is a required field
	ConfigId *string `location:"uri" locationName:"storagelensid" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStorageLensConfigurationInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStorageLensConfigurationInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*DeleteStorageLensConfigurationInput) SetConfigId added in v1.35.31

SetConfigId sets the ConfigId field's value.

func (DeleteStorageLensConfigurationInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStorageLensConfigurationInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type DeleteStorageLensConfigurationOutput added in v1.35.31

type DeleteStorageLensConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStorageLensConfigurationOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteStorageLensConfigurationOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteStorageLensConfigurationTaggingInput added in v1.35.31

type DeleteStorageLensConfigurationTaggingInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the S3 Storage Lens configuration.
	//
	// ConfigId is a required field
	ConfigId *string `location:"uri" locationName:"storagelensid" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStorageLensConfigurationTaggingInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStorageLensConfigurationTaggingInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*DeleteStorageLensConfigurationTaggingInput) SetConfigId added in v1.35.31

SetConfigId sets the ConfigId field's value.

func (DeleteStorageLensConfigurationTaggingInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStorageLensConfigurationTaggingInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type DeleteStorageLensConfigurationTaggingOutput added in v1.35.31

type DeleteStorageLensConfigurationTaggingOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStorageLensConfigurationTaggingOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteStorageLensConfigurationTaggingOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteStorageLensGroupInput added in v1.47.12

type DeleteStorageLensGroupInput struct {

	// The Amazon Web Services account ID used to create the Storage Lens group
	// that you're trying to delete.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Storage Lens group that you're trying to delete.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStorageLensGroupInput) GoString added in v1.47.12

func (s DeleteStorageLensGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStorageLensGroupInput) SetAccountId added in v1.47.12

SetAccountId sets the AccountId field's value.

func (*DeleteStorageLensGroupInput) SetName added in v1.47.12

SetName sets the Name field's value.

func (DeleteStorageLensGroupInput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStorageLensGroupInput) Validate added in v1.47.12

func (s *DeleteStorageLensGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStorageLensGroupOutput added in v1.47.12

type DeleteStorageLensGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStorageLensGroupOutput) GoString added in v1.47.12

func (s DeleteStorageLensGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteStorageLensGroupOutput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeJobInput added in v1.19.21

type DescribeJobInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID for the job whose information you want to retrieve.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"id" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeJobInput) GoString added in v1.19.21

func (s DescribeJobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeJobInput) SetAccountId added in v1.19.21

func (s *DescribeJobInput) SetAccountId(v string) *DescribeJobInput

SetAccountId sets the AccountId field's value.

func (*DescribeJobInput) SetJobId added in v1.19.21

func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput

SetJobId sets the JobId field's value.

func (DescribeJobInput) String added in v1.19.21

func (s DescribeJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeJobInput) Validate added in v1.19.21

func (s *DescribeJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeJobOutput added in v1.19.21

type DescribeJobOutput struct {

	// Contains the configuration parameters and status for the job specified in
	// the Describe Job request.
	Job *JobDescriptor `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeJobOutput) GoString added in v1.19.21

func (s DescribeJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeJobOutput) SetJob added in v1.19.21

SetJob sets the Job field's value.

func (DescribeJobOutput) String added in v1.19.21

func (s DescribeJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeMultiRegionAccessPointOperationInput added in v1.40.36

type DescribeMultiRegionAccessPointOperationInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The request token associated with the request you want to know about. This
	// request token is returned as part of the response when you make an asynchronous
	// request. You provide this token to query about the status of the asynchronous
	// action.
	//
	// RequestTokenARN is a required field
	RequestTokenARN *string `location:"uri" locationName:"request_token" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMultiRegionAccessPointOperationInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMultiRegionAccessPointOperationInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*DescribeMultiRegionAccessPointOperationInput) SetRequestTokenARN added in v1.40.36

SetRequestTokenARN sets the RequestTokenARN field's value.

func (DescribeMultiRegionAccessPointOperationInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMultiRegionAccessPointOperationInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type DescribeMultiRegionAccessPointOperationOutput added in v1.40.36

type DescribeMultiRegionAccessPointOperationOutput struct {

	// A container element containing the details of the asynchronous operation.
	AsyncOperation *AsyncOperation `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeMultiRegionAccessPointOperationOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMultiRegionAccessPointOperationOutput) SetAsyncOperation added in v1.40.36

SetAsyncOperation sets the AsyncOperation field's value.

func (DescribeMultiRegionAccessPointOperationOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Destination added in v1.44.220

type Destination struct {

	// Specify this property only in a cross-account scenario (where the source
	// and destination bucket owners are not the same), and you want to change replica
	// ownership to the Amazon Web Services account that owns the destination bucket.
	// If this property is not specified in the replication configuration, the replicas
	// are owned by same Amazon Web Services account that owns the source object.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	AccessControlTranslation *AccessControlTranslation `type:"structure"`

	// The destination bucket owner's account ID.
	Account *string `type:"string"`

	// The Amazon Resource Name (ARN) of the access point for the destination bucket
	// where you want S3 on Outposts to store the replication results.
	//
	// Bucket is a required field
	Bucket *string `type:"string" required:"true"`

	// A container that provides information about encryption. If SourceSelectionCriteria
	// is specified, you must specify this element.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	EncryptionConfiguration *EncryptionConfiguration `type:"structure"`

	// A container that specifies replication metrics-related settings.
	Metrics *Metrics `type:"structure"`

	// A container that specifies S3 Replication Time Control (S3 RTC) settings,
	// including whether S3 RTC is enabled and the time when all objects and operations
	// on objects must be replicated. Must be specified together with a Metrics
	// block.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	ReplicationTime *ReplicationTime `type:"structure"`

	// The storage class to use when replicating objects. All objects stored on
	// S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses
	// the OUTPOSTS storage class to create the object replicas.
	//
	// Values other than OUTPOSTS aren't supported by Amazon S3 on Outposts.
	StorageClass *string `type:"string" enum:"ReplicationStorageClass"`
	// contains filtered or unexported fields
}

Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.

func (Destination) GoString added in v1.44.220

func (s Destination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Destination) SetAccessControlTranslation added in v1.44.220

func (s *Destination) SetAccessControlTranslation(v *AccessControlTranslation) *Destination

SetAccessControlTranslation sets the AccessControlTranslation field's value.

func (*Destination) SetAccount added in v1.44.220

func (s *Destination) SetAccount(v string) *Destination

SetAccount sets the Account field's value.

func (*Destination) SetBucket added in v1.44.220

func (s *Destination) SetBucket(v string) *Destination

SetBucket sets the Bucket field's value.

func (*Destination) SetEncryptionConfiguration added in v1.44.220

func (s *Destination) SetEncryptionConfiguration(v *EncryptionConfiguration) *Destination

SetEncryptionConfiguration sets the EncryptionConfiguration field's value.

func (*Destination) SetMetrics added in v1.44.220

func (s *Destination) SetMetrics(v *Metrics) *Destination

SetMetrics sets the Metrics field's value.

func (*Destination) SetReplicationTime added in v1.44.220

func (s *Destination) SetReplicationTime(v *ReplicationTime) *Destination

SetReplicationTime sets the ReplicationTime field's value.

func (*Destination) SetStorageClass added in v1.44.220

func (s *Destination) SetStorageClass(v string) *Destination

SetStorageClass sets the StorageClass field's value.

func (Destination) String added in v1.44.220

func (s Destination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Destination) Validate added in v1.44.220

func (s *Destination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetailedStatusCodesMetrics added in v1.44.140

type DetailedStatusCodesMetrics struct {

	// A container that indicates whether detailed status code metrics are enabled.
	IsEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The container element for Amazon S3 Storage Lens detailed status code metrics. Detailed status code metrics generate metrics for HTTP status codes, such as 200 OK, 403 Forbidden, 503 Service Unavailable and others.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

func (DetailedStatusCodesMetrics) GoString added in v1.44.140

func (s DetailedStatusCodesMetrics) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DetailedStatusCodesMetrics) SetIsEnabled added in v1.44.140

SetIsEnabled sets the IsEnabled field's value.

func (DetailedStatusCodesMetrics) String added in v1.44.140

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DissociateAccessGrantsIdentityCenterInput added in v1.48.4

type DissociateAccessGrantsIdentityCenterInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DissociateAccessGrantsIdentityCenterInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DissociateAccessGrantsIdentityCenterInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (DissociateAccessGrantsIdentityCenterInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DissociateAccessGrantsIdentityCenterInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type DissociateAccessGrantsIdentityCenterOutput added in v1.48.4

type DissociateAccessGrantsIdentityCenterOutput struct {
	// contains filtered or unexported fields
}

func (DissociateAccessGrantsIdentityCenterOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DissociateAccessGrantsIdentityCenterOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionConfiguration added in v1.44.220

type EncryptionConfiguration struct {

	// Specifies the ID of the customer managed KMS key that's stored in Key Management
	// Service (KMS) for the destination bucket. This ID is either the Amazon Resource
	// Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses
	// this KMS key to encrypt replica objects. Amazon S3 supports only symmetric
	// encryption KMS keys. For more information, see Symmetric encryption KMS keys
	// (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#symmetric-cmks)
	// in the Amazon Web Services Key Management Service Developer Guide.
	ReplicaKmsKeyID *string `type:"string"`
	// contains filtered or unexported fields
}

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.

This is not supported by Amazon S3 on Outposts buckets.

func (EncryptionConfiguration) GoString added in v1.44.220

func (s EncryptionConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionConfiguration) SetReplicaKmsKeyID added in v1.44.220

func (s *EncryptionConfiguration) SetReplicaKmsKeyID(v string) *EncryptionConfiguration

SetReplicaKmsKeyID sets the ReplicaKmsKeyID field's value.

func (EncryptionConfiguration) String added in v1.44.220

func (s EncryptionConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EstablishedMultiRegionAccessPointPolicy added in v1.40.36

type EstablishedMultiRegionAccessPointPolicy struct {

	// The details of the last established policy.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

The last established access control policy for a Multi-Region Access Point.

When you update the policy, the update is first listed as the proposed policy. After the update is finished and all Regions have been updated, the proposed policy is listed as the established policy. If both policies have the same version number, the proposed policy is the established policy.

func (EstablishedMultiRegionAccessPointPolicy) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EstablishedMultiRegionAccessPointPolicy) SetPolicy added in v1.40.36

SetPolicy sets the Policy field's value.

func (EstablishedMultiRegionAccessPointPolicy) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Exclude added in v1.35.31

type Exclude struct {

	// A container for the S3 Storage Lens bucket excludes.
	Buckets []*string `locationNameList:"Arn" type:"list"`

	// A container for the S3 Storage Lens Region excludes.
	Regions []*string `locationNameList:"Region" type:"list"`
	// contains filtered or unexported fields
}

A container for what Amazon S3 Storage Lens will exclude.

func (Exclude) GoString added in v1.35.31

func (s Exclude) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Exclude) SetBuckets added in v1.35.31

func (s *Exclude) SetBuckets(v []*string) *Exclude

SetBuckets sets the Buckets field's value.

func (*Exclude) SetRegions added in v1.35.31

func (s *Exclude) SetRegions(v []*string) *Exclude

SetRegions sets the Regions field's value.

func (Exclude) String added in v1.35.31

func (s Exclude) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExistingObjectReplication added in v1.44.220

type ExistingObjectReplication struct {

	// Specifies whether Amazon S3 replicates existing source bucket objects.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"ExistingObjectReplicationStatus"`
	// contains filtered or unexported fields
}

An optional configuration to replicate existing source bucket objects.

This is not supported by Amazon S3 on Outposts buckets.

func (ExistingObjectReplication) GoString added in v1.44.220

func (s ExistingObjectReplication) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExistingObjectReplication) SetStatus added in v1.44.220

SetStatus sets the Status field's value.

func (ExistingObjectReplication) String added in v1.44.220

func (s ExistingObjectReplication) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExistingObjectReplication) Validate added in v1.44.220

func (s *ExistingObjectReplication) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GeneratedManifestEncryption added in v1.42.49

type GeneratedManifestEncryption struct {

	// Configuration details on how SSE-KMS is used to encrypt generated manifest
	// objects.
	SSEKMS *SSEKMSEncryption `locationName:"SSE-KMS" type:"structure"`

	// Specifies the use of SSE-S3 to encrypt generated manifest objects.
	SSES3 *SSES3Encryption `locationName:"SSE-S3" type:"structure"`
	// contains filtered or unexported fields
}

The encryption configuration to use when storing the generated manifest.

func (GeneratedManifestEncryption) GoString added in v1.42.49

func (s GeneratedManifestEncryption) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GeneratedManifestEncryption) SetSSEKMS added in v1.42.49

SetSSEKMS sets the SSEKMS field's value.

func (*GeneratedManifestEncryption) SetSSES3 added in v1.42.49

SetSSES3 sets the SSES3 field's value.

func (GeneratedManifestEncryption) String added in v1.42.49

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GeneratedManifestEncryption) Validate added in v1.42.49

func (s *GeneratedManifestEncryption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessGrantInput added in v1.48.4

type GetAccessGrantInput struct {

	// The ID of the access grant. S3 Access Grants auto-generates this ID when
	// you create the access grant.
	//
	// AccessGrantId is a required field
	AccessGrantId *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"`

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessGrantInput) GoString added in v1.48.4

func (s GetAccessGrantInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantInput) SetAccessGrantId added in v1.48.4

func (s *GetAccessGrantInput) SetAccessGrantId(v string) *GetAccessGrantInput

SetAccessGrantId sets the AccessGrantId field's value.

func (*GetAccessGrantInput) SetAccountId added in v1.48.4

func (s *GetAccessGrantInput) SetAccountId(v string) *GetAccessGrantInput

SetAccountId sets the AccountId field's value.

func (GetAccessGrantInput) String added in v1.48.4

func (s GetAccessGrantInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantInput) Validate added in v1.48.4

func (s *GetAccessGrantInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessGrantOutput added in v1.48.4

type GetAccessGrantOutput struct {

	// The Amazon Resource Name (ARN) of the access grant.
	AccessGrantArn *string `min:"1" type:"string"`

	// The ID of the access grant. S3 Access Grants auto-generates this ID when
	// you create the access grant.
	AccessGrantId *string `min:"1" type:"string"`

	// The configuration options of the grant location. The grant location is the
	// S3 path to the data to which you are granting access.
	AccessGrantsLocationConfiguration *AccessGrantsLocationConfiguration `type:"structure"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center
	// application associated with your Identity Center instance. If the grant includes
	// an application ARN, the grantee can only access the S3 data through this
	// application.
	ApplicationArn *string `min:"10" type:"string"`

	// The date and time when you created the access grant.
	CreatedAt *time.Time `type:"timestamp"`

	// The S3 path of the data to which you are granting access. It is the result
	// of appending the Subprefix to the location scope.
	GrantScope *string `min:"1" type:"string"`

	// The user, group, or role to which you are granting access. You can grant
	// access to an IAM user or role. If you have added a corporate directory to
	// Amazon Web Services IAM Identity Center and associated this Identity Center
	// instance with the S3 Access Grants instance, the grantee can also be a corporate
	// directory user or group.
	Grantee *Grantee `type:"structure"`

	// The type of permission that was granted in the access grant. Can be one of
	// the following values:
	//
	//    * READ – Grant read-only access to the S3 data.
	//
	//    * WRITE – Grant write-only access to the S3 data.
	//
	//    * READWRITE – Grant both read and write access to the S3 data.
	Permission *string `type:"string" enum:"Permission"`
	// contains filtered or unexported fields
}

func (GetAccessGrantOutput) GoString added in v1.48.4

func (s GetAccessGrantOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantOutput) SetAccessGrantArn added in v1.48.4

func (s *GetAccessGrantOutput) SetAccessGrantArn(v string) *GetAccessGrantOutput

SetAccessGrantArn sets the AccessGrantArn field's value.

func (*GetAccessGrantOutput) SetAccessGrantId added in v1.48.4

func (s *GetAccessGrantOutput) SetAccessGrantId(v string) *GetAccessGrantOutput

SetAccessGrantId sets the AccessGrantId field's value.

func (*GetAccessGrantOutput) SetAccessGrantsLocationConfiguration added in v1.48.4

func (s *GetAccessGrantOutput) SetAccessGrantsLocationConfiguration(v *AccessGrantsLocationConfiguration) *GetAccessGrantOutput

SetAccessGrantsLocationConfiguration sets the AccessGrantsLocationConfiguration field's value.

func (*GetAccessGrantOutput) SetAccessGrantsLocationId added in v1.48.4

func (s *GetAccessGrantOutput) SetAccessGrantsLocationId(v string) *GetAccessGrantOutput

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*GetAccessGrantOutput) SetApplicationArn added in v1.48.4

func (s *GetAccessGrantOutput) SetApplicationArn(v string) *GetAccessGrantOutput

SetApplicationArn sets the ApplicationArn field's value.

func (*GetAccessGrantOutput) SetCreatedAt added in v1.48.4

func (s *GetAccessGrantOutput) SetCreatedAt(v time.Time) *GetAccessGrantOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetAccessGrantOutput) SetGrantScope added in v1.48.4

func (s *GetAccessGrantOutput) SetGrantScope(v string) *GetAccessGrantOutput

SetGrantScope sets the GrantScope field's value.

func (*GetAccessGrantOutput) SetGrantee added in v1.48.4

SetGrantee sets the Grantee field's value.

func (*GetAccessGrantOutput) SetPermission added in v1.48.4

func (s *GetAccessGrantOutput) SetPermission(v string) *GetAccessGrantOutput

SetPermission sets the Permission field's value.

func (GetAccessGrantOutput) String added in v1.48.4

func (s GetAccessGrantOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessGrantsInstanceForPrefixInput added in v1.48.4

type GetAccessGrantsInstanceForPrefixInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The S3 prefix of the access grants that you would like to retrieve.
	//
	// S3Prefix is a required field
	S3Prefix *string `location:"querystring" locationName:"s3prefix" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsInstanceForPrefixInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceForPrefixInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*GetAccessGrantsInstanceForPrefixInput) SetS3Prefix added in v1.48.4

SetS3Prefix sets the S3Prefix field's value.

func (GetAccessGrantsInstanceForPrefixInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceForPrefixInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type GetAccessGrantsInstanceForPrefixOutput added in v1.48.4

type GetAccessGrantsInstanceForPrefixOutput struct {

	// The Amazon Resource Name (ARN) of the S3 Access Grants instance.
	AccessGrantsInstanceArn *string `min:"1" type:"string"`

	// The ID of the S3 Access Grants instance. The ID is default. You can have
	// one S3 Access Grants instance per Region per account.
	AccessGrantsInstanceId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsInstanceForPrefixOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceForPrefixOutput) SetAccessGrantsInstanceArn added in v1.48.4

SetAccessGrantsInstanceArn sets the AccessGrantsInstanceArn field's value.

func (*GetAccessGrantsInstanceForPrefixOutput) SetAccessGrantsInstanceId added in v1.48.4

SetAccessGrantsInstanceId sets the AccessGrantsInstanceId field's value.

func (GetAccessGrantsInstanceForPrefixOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessGrantsInstanceInput added in v1.48.4

type GetAccessGrantsInstanceInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsInstanceInput) GoString added in v1.48.4

func (s GetAccessGrantsInstanceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (GetAccessGrantsInstanceInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceInput) Validate added in v1.48.4

func (s *GetAccessGrantsInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessGrantsInstanceOutput added in v1.48.4

type GetAccessGrantsInstanceOutput struct {

	// The Amazon Resource Name (ARN) of the S3 Access Grants instance.
	AccessGrantsInstanceArn *string `min:"1" type:"string"`

	// The ID of the S3 Access Grants instance. The ID is default. You can have
	// one S3 Access Grants instance per Region per account.
	AccessGrantsInstanceId *string `min:"1" type:"string"`

	// The date and time when you created the S3 Access Grants instance.
	CreatedAt *time.Time `type:"timestamp"`

	// If you associated your S3 Access Grants instance with an Amazon Web Services
	// IAM Identity Center instance, this field returns the Amazon Resource Name
	// (ARN) of the Amazon Web Services IAM Identity Center instance application;
	// a subresource of the original Identity Center instance. S3 Access Grants
	// creates this Identity Center application for the specific S3 Access Grants
	// instance.
	IdentityCenterArn *string `min:"10" type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsInstanceOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceOutput) SetAccessGrantsInstanceArn added in v1.48.4

func (s *GetAccessGrantsInstanceOutput) SetAccessGrantsInstanceArn(v string) *GetAccessGrantsInstanceOutput

SetAccessGrantsInstanceArn sets the AccessGrantsInstanceArn field's value.

func (*GetAccessGrantsInstanceOutput) SetAccessGrantsInstanceId added in v1.48.4

func (s *GetAccessGrantsInstanceOutput) SetAccessGrantsInstanceId(v string) *GetAccessGrantsInstanceOutput

SetAccessGrantsInstanceId sets the AccessGrantsInstanceId field's value.

func (*GetAccessGrantsInstanceOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*GetAccessGrantsInstanceOutput) SetIdentityCenterArn added in v1.48.4

SetIdentityCenterArn sets the IdentityCenterArn field's value.

func (GetAccessGrantsInstanceOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessGrantsInstanceResourcePolicyInput added in v1.48.4

type GetAccessGrantsInstanceResourcePolicyInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsInstanceResourcePolicyInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceResourcePolicyInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (GetAccessGrantsInstanceResourcePolicyInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceResourcePolicyInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type GetAccessGrantsInstanceResourcePolicyOutput added in v1.48.4

type GetAccessGrantsInstanceResourcePolicyOutput struct {

	// The date and time when you created the S3 Access Grants instance resource
	// policy.
	CreatedAt *time.Time `type:"timestamp"`

	// The Organization of the resource policy of the S3 Access Grants instance.
	Organization *string `min:"12" type:"string"`

	// The resource policy of the S3 Access Grants instance.
	Policy *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsInstanceResourcePolicyOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsInstanceResourcePolicyOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*GetAccessGrantsInstanceResourcePolicyOutput) SetOrganization added in v1.48.4

SetOrganization sets the Organization field's value.

func (*GetAccessGrantsInstanceResourcePolicyOutput) SetPolicy added in v1.48.4

SetPolicy sets the Policy field's value.

func (GetAccessGrantsInstanceResourcePolicyOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessGrantsLocationInput added in v1.48.4

type GetAccessGrantsLocationInput struct {

	// The ID of the registered location that you are retrieving. S3 Access Grants
	// assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	//
	// AccessGrantsLocationId is a required field
	AccessGrantsLocationId *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"`

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsLocationInput) GoString added in v1.48.4

func (s GetAccessGrantsLocationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsLocationInput) SetAccessGrantsLocationId added in v1.48.4

func (s *GetAccessGrantsLocationInput) SetAccessGrantsLocationId(v string) *GetAccessGrantsLocationInput

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*GetAccessGrantsLocationInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (GetAccessGrantsLocationInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsLocationInput) Validate added in v1.48.4

func (s *GetAccessGrantsLocationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessGrantsLocationOutput added in v1.48.4

type GetAccessGrantsLocationOutput struct {

	// The Amazon Resource Name (ARN) of the registered location.
	AccessGrantsLocationArn *string `min:"1" type:"string"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The date and time when you registered the location.
	CreatedAt *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the IAM role for the registered location.
	// S3 Access Grants assumes this role to manage access to the registered location.
	IAMRoleArn *string `min:"1" type:"string"`

	// The S3 URI path to the registered location. The location scope can be the
	// default S3 location s3://, the S3 path to a bucket, or the S3 path to a bucket
	// and prefix. A prefix in S3 is a string of characters at the beginning of
	// an object key name used to organize the objects that you store in your S3
	// buckets. For example, object key names that start with the engineering/ prefix
	// or object key names that start with the marketing/campaigns/ prefix.
	LocationScope *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessGrantsLocationOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessGrantsLocationOutput) SetAccessGrantsLocationArn added in v1.48.4

func (s *GetAccessGrantsLocationOutput) SetAccessGrantsLocationArn(v string) *GetAccessGrantsLocationOutput

SetAccessGrantsLocationArn sets the AccessGrantsLocationArn field's value.

func (*GetAccessGrantsLocationOutput) SetAccessGrantsLocationId added in v1.48.4

func (s *GetAccessGrantsLocationOutput) SetAccessGrantsLocationId(v string) *GetAccessGrantsLocationOutput

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*GetAccessGrantsLocationOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*GetAccessGrantsLocationOutput) SetIAMRoleArn added in v1.48.4

SetIAMRoleArn sets the IAMRoleArn field's value.

func (*GetAccessGrantsLocationOutput) SetLocationScope added in v1.48.4

SetLocationScope sets the LocationScope field's value.

func (GetAccessGrantsLocationOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointConfigurationForObjectLambdaInput added in v1.38.0

type GetAccessPointConfigurationForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Object Lambda Access Point you want to return the configuration
	// for.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointConfigurationForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointConfigurationForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*GetAccessPointConfigurationForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (GetAccessPointConfigurationForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointConfigurationForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointConfigurationForObjectLambdaOutput added in v1.38.0

type GetAccessPointConfigurationForObjectLambdaOutput struct {

	// Object Lambda Access Point configuration document.
	Configuration *ObjectLambdaConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccessPointConfigurationForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointConfigurationForObjectLambdaOutput) SetConfiguration added in v1.38.0

SetConfiguration sets the Configuration field's value.

func (GetAccessPointConfigurationForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointForObjectLambdaInput added in v1.38.0

type GetAccessPointForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*GetAccessPointForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (GetAccessPointForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointForObjectLambdaOutput added in v1.38.0

type GetAccessPointForObjectLambdaOutput struct {

	// The alias of the Object Lambda Access Point.
	Alias *ObjectLambdaAccessPointAlias `type:"structure"`

	// The date and time when the specified Object Lambda Access Point was created.
	CreationDate *time.Time `type:"timestamp"`

	// The name of the Object Lambda Access Point.
	Name *string `min:"3" type:"string"`

	// Configuration to block all public access. This setting is turned on and can
	// not be edited.
	PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccessPointForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointForObjectLambdaOutput) SetAlias added in v1.44.222

SetAlias sets the Alias field's value.

func (*GetAccessPointForObjectLambdaOutput) SetCreationDate added in v1.38.0

SetCreationDate sets the CreationDate field's value.

func (*GetAccessPointForObjectLambdaOutput) SetName added in v1.38.0

SetName sets the Name field's value.

func (*GetAccessPointForObjectLambdaOutput) SetPublicAccessBlockConfiguration added in v1.38.0

SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value.

func (GetAccessPointForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointInput added in v1.25.46

type GetAccessPointInput struct {

	// The Amazon Web Services account ID for the account that owns the specified
	// access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point whose configuration information you want to
	// retrieve.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the access point accessed in the
	// format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>.
	// For example, to access the access point reports-ap through Outpost my-outpost
	// owned by account 123456789012 in Region us-west-2, use the URL encoding of
	// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap.
	// The value must be URL encoded.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointInput) GoString added in v1.25.46

func (s GetAccessPointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointInput) SetAccountId added in v1.25.46

func (s *GetAccessPointInput) SetAccountId(v string) *GetAccessPointInput

SetAccountId sets the AccountId field's value.

func (*GetAccessPointInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (GetAccessPointInput) String added in v1.25.46

func (s GetAccessPointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointInput) Validate added in v1.25.46

func (s *GetAccessPointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointOutput added in v1.25.46

type GetAccessPointOutput struct {

	// The ARN of the access point.
	AccessPointArn *string `min:"4" type:"string"`

	// The name or alias of the access point.
	Alias *string `type:"string"`

	// The name of the bucket associated with the specified access point.
	Bucket *string `min:"3" type:"string"`

	// The Amazon Web Services account ID associated with the S3 bucket associated
	// with this access point.
	BucketAccountId *string `type:"string"`

	// The date and time when the specified access point was created.
	CreationDate *time.Time `type:"timestamp"`

	// The VPC endpoint for the access point.
	Endpoints map[string]*string `type:"map"`

	// The name of the specified access point.
	Name *string `min:"3" type:"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.
	//
	// This will always be true for an Amazon S3 on Outposts access point
	NetworkOrigin *string `type:"string" enum:"NetworkOrigin"`

	// The PublicAccessBlock configuration that you want to apply to this Amazon
	// S3 account. 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 S3 User Guide.
	//
	// This data type is not supported for Amazon S3 on Outposts.
	PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `type:"structure"`

	// Contains the virtual private cloud (VPC) configuration for the specified
	// access point.
	//
	// This element is empty if this access point is an Amazon S3 on Outposts access
	// point that is used by other Amazon Web Services.
	VpcConfiguration *VpcConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccessPointOutput) GoString added in v1.25.46

func (s GetAccessPointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointOutput) SetAccessPointArn added in v1.40.8

func (s *GetAccessPointOutput) SetAccessPointArn(v string) *GetAccessPointOutput

SetAccessPointArn sets the AccessPointArn field's value.

func (*GetAccessPointOutput) SetAlias added in v1.40.8

SetAlias sets the Alias field's value.

func (*GetAccessPointOutput) SetBucket added in v1.25.46

SetBucket sets the Bucket field's value.

func (*GetAccessPointOutput) SetBucketAccountId added in v1.44.150

func (s *GetAccessPointOutput) SetBucketAccountId(v string) *GetAccessPointOutput

SetBucketAccountId sets the BucketAccountId field's value.

func (*GetAccessPointOutput) SetCreationDate added in v1.25.46

func (s *GetAccessPointOutput) SetCreationDate(v time.Time) *GetAccessPointOutput

SetCreationDate sets the CreationDate field's value.

func (*GetAccessPointOutput) SetEndpoints added in v1.40.8

func (s *GetAccessPointOutput) SetEndpoints(v map[string]*string) *GetAccessPointOutput

SetEndpoints sets the Endpoints field's value.

func (*GetAccessPointOutput) SetName added in v1.25.46

SetName sets the Name field's value.

func (*GetAccessPointOutput) SetNetworkOrigin added in v1.25.46

func (s *GetAccessPointOutput) SetNetworkOrigin(v string) *GetAccessPointOutput

SetNetworkOrigin sets the NetworkOrigin field's value.

func (*GetAccessPointOutput) SetPublicAccessBlockConfiguration added in v1.25.46

func (s *GetAccessPointOutput) SetPublicAccessBlockConfiguration(v *PublicAccessBlockConfiguration) *GetAccessPointOutput

SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value.

func (*GetAccessPointOutput) SetVpcConfiguration added in v1.25.46

func (s *GetAccessPointOutput) SetVpcConfiguration(v *VpcConfiguration) *GetAccessPointOutput

SetVpcConfiguration sets the VpcConfiguration field's value.

func (GetAccessPointOutput) String added in v1.25.46

func (s GetAccessPointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointPolicyForObjectLambdaInput added in v1.38.0

type GetAccessPointPolicyForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*GetAccessPointPolicyForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (GetAccessPointPolicyForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointPolicyForObjectLambdaOutput added in v1.38.0

type GetAccessPointPolicyForObjectLambdaOutput struct {

	// Object Lambda Access Point resource policy document.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyForObjectLambdaOutput) SetPolicy added in v1.38.0

SetPolicy sets the Policy field's value.

func (GetAccessPointPolicyForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointPolicyInput added in v1.25.46

type GetAccessPointPolicyInput struct {

	// The account ID for the account that owns the specified access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point whose policy you want to retrieve.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the access point accessed in the
	// format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>.
	// For example, to access the access point reports-ap through Outpost my-outpost
	// owned by account 123456789012 in Region us-west-2, use the URL encoding of
	// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap.
	// The value must be URL encoded.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyInput) GoString added in v1.25.46

func (s GetAccessPointPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*GetAccessPointPolicyInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (GetAccessPointPolicyInput) String added in v1.25.46

func (s GetAccessPointPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyInput) Validate added in v1.25.46

func (s *GetAccessPointPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointPolicyOutput added in v1.25.46

type GetAccessPointPolicyOutput struct {

	// The access point policy associated with the specified access point.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyOutput) GoString added in v1.25.46

func (s GetAccessPointPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyOutput) SetPolicy added in v1.25.46

SetPolicy sets the Policy field's value.

func (GetAccessPointPolicyOutput) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointPolicyStatusForObjectLambdaInput added in v1.38.0

type GetAccessPointPolicyStatusForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyStatusForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyStatusForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*GetAccessPointPolicyStatusForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (GetAccessPointPolicyStatusForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyStatusForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointPolicyStatusForObjectLambdaOutput added in v1.38.0

type GetAccessPointPolicyStatusForObjectLambdaOutput struct {

	// 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 S3 User Guide.
	PolicyStatus *PolicyStatus `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyStatusForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyStatusForObjectLambdaOutput) SetPolicyStatus added in v1.38.0

SetPolicyStatus sets the PolicyStatus field's value.

func (GetAccessPointPolicyStatusForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccessPointPolicyStatusInput added in v1.25.46

type GetAccessPointPolicyStatusInput struct {

	// The account ID for the account that owns the specified access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point whose policy status you want to retrieve.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyStatusInput) GoString added in v1.25.46

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyStatusInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*GetAccessPointPolicyStatusInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (GetAccessPointPolicyStatusInput) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyStatusInput) Validate added in v1.25.46

func (s *GetAccessPointPolicyStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessPointPolicyStatusOutput added in v1.25.46

type GetAccessPointPolicyStatusOutput struct {

	// Indicates the current policy status of the specified access point.
	PolicyStatus *PolicyStatus `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccessPointPolicyStatusOutput) GoString added in v1.25.46

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccessPointPolicyStatusOutput) SetPolicyStatus added in v1.25.46

SetPolicyStatus sets the PolicyStatus field's value.

func (GetAccessPointPolicyStatusOutput) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketInput added in v1.35.0

type GetBucketInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketInput) GoString added in v1.35.0

func (s GetBucketInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketInput) SetAccountId added in v1.35.0

func (s *GetBucketInput) SetAccountId(v string) *GetBucketInput

SetAccountId sets the AccountId field's value.

func (*GetBucketInput) SetBucket added in v1.35.0

func (s *GetBucketInput) SetBucket(v string) *GetBucketInput

SetBucket sets the Bucket field's value.

func (GetBucketInput) String added in v1.35.0

func (s GetBucketInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketInput) Validate added in v1.35.0

func (s *GetBucketInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketLifecycleConfigurationInput added in v1.35.0

type GetBucketLifecycleConfigurationInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketLifecycleConfigurationInput) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleConfigurationInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*GetBucketLifecycleConfigurationInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (GetBucketLifecycleConfigurationInput) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleConfigurationInput) Validate added in v1.35.0

Validate inspects the fields of the type to determine if they are valid.

type GetBucketLifecycleConfigurationOutput added in v1.35.0

type GetBucketLifecycleConfigurationOutput struct {

	// Container for the lifecycle rule of the Outposts bucket.
	Rules []*LifecycleRule `locationNameList:"Rule" type:"list"`
	// contains filtered or unexported fields
}

func (GetBucketLifecycleConfigurationOutput) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketLifecycleConfigurationOutput) SetRules added in v1.35.0

SetRules sets the Rules field's value.

func (GetBucketLifecycleConfigurationOutput) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketOutput added in v1.35.0

type GetBucketOutput struct {

	// The Outposts bucket requested.
	Bucket *string `min:"3" type:"string"`

	// The creation date of the Outposts bucket.
	CreationDate *time.Time `type:"timestamp"`

	PublicAccessBlockEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (GetBucketOutput) GoString added in v1.35.0

func (s GetBucketOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketOutput) SetBucket added in v1.35.0

func (s *GetBucketOutput) SetBucket(v string) *GetBucketOutput

SetBucket sets the Bucket field's value.

func (*GetBucketOutput) SetCreationDate added in v1.35.0

func (s *GetBucketOutput) SetCreationDate(v time.Time) *GetBucketOutput

SetCreationDate sets the CreationDate field's value.

func (*GetBucketOutput) SetPublicAccessBlockEnabled added in v1.35.0

func (s *GetBucketOutput) SetPublicAccessBlockEnabled(v bool) *GetBucketOutput

SetPublicAccessBlockEnabled sets the PublicAccessBlockEnabled field's value.

func (GetBucketOutput) String added in v1.35.0

func (s GetBucketOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketPolicyInput added in v1.35.0

type GetBucketPolicyInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketPolicyInput) GoString added in v1.35.0

func (s GetBucketPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyInput) SetAccountId added in v1.35.0

func (s *GetBucketPolicyInput) SetAccountId(v string) *GetBucketPolicyInput

SetAccountId sets the AccountId field's value.

func (*GetBucketPolicyInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (GetBucketPolicyInput) String added in v1.35.0

func (s GetBucketPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyInput) Validate added in v1.35.0

func (s *GetBucketPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketPolicyOutput added in v1.35.0

type GetBucketPolicyOutput struct {

	// The policy of the Outposts bucket.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetBucketPolicyOutput) GoString added in v1.35.0

func (s GetBucketPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketPolicyOutput) SetPolicy added in v1.35.0

SetPolicy sets the Policy field's value.

func (GetBucketPolicyOutput) String added in v1.35.0

func (s GetBucketPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketReplicationInput added in v1.44.220

type GetBucketReplicationInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket to get the replication information for.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketReplicationInput) GoString added in v1.44.220

func (s GetBucketReplicationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketReplicationInput) SetAccountId added in v1.44.220

SetAccountId sets the AccountId field's value.

func (*GetBucketReplicationInput) SetBucket added in v1.44.220

SetBucket sets the Bucket field's value.

func (GetBucketReplicationInput) String added in v1.44.220

func (s GetBucketReplicationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketReplicationInput) Validate added in v1.44.220

func (s *GetBucketReplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketReplicationOutput added in v1.44.220

type GetBucketReplicationOutput struct {

	// A container for one or more replication rules. A replication configuration
	// must have at least one rule and you can add up to 100 rules. The maximum
	// size of a replication configuration is 128 KB.
	ReplicationConfiguration *ReplicationConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetBucketReplicationOutput) GoString added in v1.44.220

func (s GetBucketReplicationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketReplicationOutput) SetReplicationConfiguration added in v1.44.220

SetReplicationConfiguration sets the ReplicationConfiguration field's value.

func (GetBucketReplicationOutput) String added in v1.44.220

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketTaggingInput added in v1.35.0

type GetBucketTaggingInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketTaggingInput) GoString added in v1.35.0

func (s GetBucketTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketTaggingInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*GetBucketTaggingInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (GetBucketTaggingInput) String added in v1.35.0

func (s GetBucketTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketTaggingInput) Validate added in v1.35.0

func (s *GetBucketTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketTaggingOutput added in v1.35.0

type GetBucketTaggingOutput struct {

	// The tags set of the Outposts bucket.
	//
	// TagSet is a required field
	TagSet []*S3Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketTaggingOutput) GoString added in v1.35.0

func (s GetBucketTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketTaggingOutput) SetTagSet added in v1.35.0

SetTagSet sets the TagSet field's value.

func (GetBucketTaggingOutput) String added in v1.35.0

func (s GetBucketTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBucketVersioningInput added in v1.44.103

type GetBucketVersioningInput struct {

	// The Amazon Web Services account ID of the S3 on Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The S3 on Outposts bucket to return the versioning state for.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBucketVersioningInput) GoString added in v1.44.103

func (s GetBucketVersioningInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketVersioningInput) SetAccountId added in v1.44.103

SetAccountId sets the AccountId field's value.

func (*GetBucketVersioningInput) SetBucket added in v1.44.103

SetBucket sets the Bucket field's value.

func (GetBucketVersioningInput) String added in v1.44.103

func (s GetBucketVersioningInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketVersioningInput) Validate added in v1.44.103

func (s *GetBucketVersioningInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBucketVersioningOutput added in v1.44.103

type GetBucketVersioningOutput struct {

	// Specifies whether MFA delete is enabled in the bucket versioning configuration.
	// This element is returned only if the bucket has been configured with MFA
	// delete. If MFA delete has never been configured for the bucket, this element
	// is not returned.
	MFADelete *string `locationName:"MfaDelete" type:"string" enum:"MFADeleteStatus"`

	// The versioning state of the S3 on Outposts bucket.
	Status *string `type:"string" enum:"BucketVersioningStatus"`
	// contains filtered or unexported fields
}

func (GetBucketVersioningOutput) GoString added in v1.44.103

func (s GetBucketVersioningOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBucketVersioningOutput) SetMFADelete added in v1.44.103

SetMFADelete sets the MFADelete field's value.

func (*GetBucketVersioningOutput) SetStatus added in v1.44.103

SetStatus sets the Status field's value.

func (GetBucketVersioningOutput) String added in v1.44.103

func (s GetBucketVersioningOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDataAccessInput added in v1.48.4

type GetDataAccessInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The session duration, in seconds, of the temporary access credential that
	// S3 Access Grants vends to the grantee or client application. The default
	// value is 1 hour, but the grantee can specify a range from 900 seconds (15
	// minutes) up to 43200 seconds (12 hours). If the grantee requests a value
	// higher than this maximum, the operation fails.
	DurationSeconds *int64 `location:"querystring" locationName:"durationSeconds" min:"900" type:"integer"`

	// The type of permission granted to your S3 data, which can be set to one of
	// the following values:
	//
	//    * READ – Grant read-only access to the S3 data.
	//
	//    * WRITE – Grant write-only access to the S3 data.
	//
	//    * READWRITE – Grant both read and write access to the S3 data.
	//
	// Permission is a required field
	Permission *string `location:"querystring" locationName:"permission" type:"string" required:"true" enum:"Permission"`

	// The scope of the temporary access credential that S3 Access Grants vends
	// to the grantee or client application.
	//
	//    * Default – The scope of the returned temporary access token is the
	//    scope of the grant that is closest to the target scope.
	//
	//    * Minimal – The scope of the returned temporary access token is the
	//    same as the requested target scope as long as the requested scope is the
	//    same as or a subset of the grant scope.
	Privilege *string `location:"querystring" locationName:"privilege" type:"string" enum:"Privilege"`

	// The S3 URI path of the data to which you are requesting temporary access
	// credentials. If the requesting account has an access grant for this data,
	// S3 Access Grants vends temporary access credentials in the response.
	//
	// Target is a required field
	Target *string `location:"querystring" locationName:"target" min:"1" type:"string" required:"true"`

	// The type of Target. The only possible value is Object. Pass this value if
	// the target data that you would like to access is a path to an object. Do
	// not pass this value if the target data is a bucket or a bucket and a prefix.
	TargetType *string `location:"querystring" locationName:"targetType" type:"string" enum:"S3PrefixType"`
	// contains filtered or unexported fields
}

func (GetDataAccessInput) GoString added in v1.48.4

func (s GetDataAccessInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDataAccessInput) SetAccountId added in v1.48.4

func (s *GetDataAccessInput) SetAccountId(v string) *GetDataAccessInput

SetAccountId sets the AccountId field's value.

func (*GetDataAccessInput) SetDurationSeconds added in v1.48.4

func (s *GetDataAccessInput) SetDurationSeconds(v int64) *GetDataAccessInput

SetDurationSeconds sets the DurationSeconds field's value.

func (*GetDataAccessInput) SetPermission added in v1.48.4

func (s *GetDataAccessInput) SetPermission(v string) *GetDataAccessInput

SetPermission sets the Permission field's value.

func (*GetDataAccessInput) SetPrivilege added in v1.48.4

func (s *GetDataAccessInput) SetPrivilege(v string) *GetDataAccessInput

SetPrivilege sets the Privilege field's value.

func (*GetDataAccessInput) SetTarget added in v1.48.4

func (s *GetDataAccessInput) SetTarget(v string) *GetDataAccessInput

SetTarget sets the Target field's value.

func (*GetDataAccessInput) SetTargetType added in v1.48.4

func (s *GetDataAccessInput) SetTargetType(v string) *GetDataAccessInput

SetTargetType sets the TargetType field's value.

func (GetDataAccessInput) String added in v1.48.4

func (s GetDataAccessInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDataAccessInput) Validate added in v1.48.4

func (s *GetDataAccessInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDataAccessOutput added in v1.48.4

type GetDataAccessOutput struct {

	// The temporary credential token that S3 Access Grants vends.
	//
	// Credentials is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetDataAccessOutput's
	// String and GoString methods.
	Credentials *Credentials `type:"structure" sensitive:"true"`

	// The S3 URI path of the data to which you are being granted temporary access
	// credentials.
	MatchedGrantTarget *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetDataAccessOutput) GoString added in v1.48.4

func (s GetDataAccessOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDataAccessOutput) SetCredentials added in v1.48.4

func (s *GetDataAccessOutput) SetCredentials(v *Credentials) *GetDataAccessOutput

SetCredentials sets the Credentials field's value.

func (*GetDataAccessOutput) SetMatchedGrantTarget added in v1.48.4

func (s *GetDataAccessOutput) SetMatchedGrantTarget(v string) *GetDataAccessOutput

SetMatchedGrantTarget sets the MatchedGrantTarget field's value.

func (GetDataAccessOutput) String added in v1.48.4

func (s GetDataAccessOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetJobTaggingInput added in v1.29.25

type GetJobTaggingInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID for the S3 Batch Operations job whose tags you want to retrieve.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"id" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetJobTaggingInput) GoString added in v1.29.25

func (s GetJobTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetJobTaggingInput) SetAccountId added in v1.29.25

func (s *GetJobTaggingInput) SetAccountId(v string) *GetJobTaggingInput

SetAccountId sets the AccountId field's value.

func (*GetJobTaggingInput) SetJobId added in v1.29.25

SetJobId sets the JobId field's value.

func (GetJobTaggingInput) String added in v1.29.25

func (s GetJobTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetJobTaggingInput) Validate added in v1.29.25

func (s *GetJobTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetJobTaggingOutput added in v1.29.25

type GetJobTaggingOutput struct {

	// The set of tags associated with the S3 Batch Operations job.
	Tags []*S3Tag `type:"list"`
	// contains filtered or unexported fields
}

func (GetJobTaggingOutput) GoString added in v1.29.25

func (s GetJobTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetJobTaggingOutput) SetTags added in v1.29.25

func (s *GetJobTaggingOutput) SetTags(v []*S3Tag) *GetJobTaggingOutput

SetTags sets the Tags field's value.

func (GetJobTaggingOutput) String added in v1.29.25

func (s GetJobTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMultiRegionAccessPointInput added in v1.40.36

type GetMultiRegionAccessPointInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Multi-Region Access Point whose configuration information
	// you want to receive. The name of the Multi-Region Access Point is different
	// from the alias. For more information about the distinction between the name
	// and the alias of an Multi-Region Access Point, see Rules for naming Amazon
	// S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming)
	// in the Amazon S3 User Guide.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*GetMultiRegionAccessPointInput) SetName added in v1.40.36

SetName sets the Name field's value.

func (GetMultiRegionAccessPointInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointInput) Validate added in v1.40.36

func (s *GetMultiRegionAccessPointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMultiRegionAccessPointOutput added in v1.40.36

type GetMultiRegionAccessPointOutput struct {

	// A container element containing the details of the requested Multi-Region
	// Access Point.
	AccessPoint *MultiRegionAccessPointReport `type:"structure"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointOutput) SetAccessPoint added in v1.40.36

SetAccessPoint sets the AccessPoint field's value.

func (GetMultiRegionAccessPointOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMultiRegionAccessPointPolicyInput added in v1.40.36

type GetMultiRegionAccessPointPolicyInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the Multi-Region Access Point. The name of the Multi-Region Access
	// Point is different from the alias. For more information about the distinction
	// between the name and the alias of an Multi-Region Access Point, see Rules
	// for naming Amazon S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming)
	// in the Amazon S3 User Guide.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointPolicyInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointPolicyInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*GetMultiRegionAccessPointPolicyInput) SetName added in v1.40.36

SetName sets the Name field's value.

func (GetMultiRegionAccessPointPolicyInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointPolicyInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type GetMultiRegionAccessPointPolicyOutput added in v1.40.36

type GetMultiRegionAccessPointPolicyOutput struct {

	// The policy associated with the specified Multi-Region Access Point.
	Policy *MultiRegionAccessPointPolicyDocument `type:"structure"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointPolicyOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointPolicyOutput) SetPolicy added in v1.40.36

SetPolicy sets the Policy field's value.

func (GetMultiRegionAccessPointPolicyOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMultiRegionAccessPointPolicyStatusInput added in v1.40.36

type GetMultiRegionAccessPointPolicyStatusInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the Multi-Region Access Point. The name of the Multi-Region Access
	// Point is different from the alias. For more information about the distinction
	// between the name and the alias of an Multi-Region Access Point, see Rules
	// for naming Amazon S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming)
	// in the Amazon S3 User Guide.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointPolicyStatusInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointPolicyStatusInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*GetMultiRegionAccessPointPolicyStatusInput) SetName added in v1.40.36

SetName sets the Name field's value.

func (GetMultiRegionAccessPointPolicyStatusInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointPolicyStatusInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type GetMultiRegionAccessPointPolicyStatusOutput added in v1.40.36

type GetMultiRegionAccessPointPolicyStatusOutput struct {

	// 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 S3 User Guide.
	Established *PolicyStatus `type:"structure"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointPolicyStatusOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointPolicyStatusOutput) SetEstablished added in v1.40.36

SetEstablished sets the Established field's value.

func (GetMultiRegionAccessPointPolicyStatusOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMultiRegionAccessPointRoutesInput added in v1.44.147

type GetMultiRegionAccessPointRoutesInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Multi-Region Access Point ARN.
	//
	// Mrap is a required field
	Mrap *string `location:"uri" locationName:"mrap" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointRoutesInput) GoString added in v1.44.147

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointRoutesInput) SetAccountId added in v1.44.147

SetAccountId sets the AccountId field's value.

func (*GetMultiRegionAccessPointRoutesInput) SetMrap added in v1.44.147

SetMrap sets the Mrap field's value.

func (GetMultiRegionAccessPointRoutesInput) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointRoutesInput) Validate added in v1.44.147

Validate inspects the fields of the type to determine if they are valid.

type GetMultiRegionAccessPointRoutesOutput added in v1.44.147

type GetMultiRegionAccessPointRoutesOutput struct {

	// The Multi-Region Access Point ARN.
	Mrap *string `type:"string"`

	// The different routes that make up the route configuration. Active routes
	// return a value of 100, and passive routes return a value of 0.
	Routes []*MultiRegionAccessPointRoute `locationNameList:"Route" type:"list"`
	// contains filtered or unexported fields
}

func (GetMultiRegionAccessPointRoutesOutput) GoString added in v1.44.147

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMultiRegionAccessPointRoutesOutput) SetMrap added in v1.44.147

SetMrap sets the Mrap field's value.

func (*GetMultiRegionAccessPointRoutesOutput) SetRoutes added in v1.44.147

SetRoutes sets the Routes field's value.

func (GetMultiRegionAccessPointRoutesOutput) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPublicAccessBlockInput

type GetPublicAccessBlockInput struct {

	// The account ID for the Amazon Web Services account whose PublicAccessBlock
	// configuration you want to retrieve.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPublicAccessBlockInput) GoString

func (s GetPublicAccessBlockInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPublicAccessBlockInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (GetPublicAccessBlockInput) String

func (s GetPublicAccessBlockInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPublicAccessBlockInput) Validate

func (s *GetPublicAccessBlockInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPublicAccessBlockOutput

type GetPublicAccessBlockOutput struct {

	// The PublicAccessBlock configuration currently in effect for this Amazon Web
	// Services account.
	PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetPublicAccessBlockOutput) GoString

func (s GetPublicAccessBlockOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPublicAccessBlockOutput) SetPublicAccessBlockConfiguration

SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value.

func (GetPublicAccessBlockOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetStorageLensConfigurationInput added in v1.35.31

type GetStorageLensConfigurationInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the Amazon S3 Storage Lens configuration.
	//
	// ConfigId is a required field
	ConfigId *string `location:"uri" locationName:"storagelensid" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetStorageLensConfigurationInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensConfigurationInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*GetStorageLensConfigurationInput) SetConfigId added in v1.35.31

SetConfigId sets the ConfigId field's value.

func (GetStorageLensConfigurationInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensConfigurationInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type GetStorageLensConfigurationOutput added in v1.35.31

type GetStorageLensConfigurationOutput struct {

	// The S3 Storage Lens configuration requested.
	StorageLensConfiguration *StorageLensConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetStorageLensConfigurationOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensConfigurationOutput) SetStorageLensConfiguration added in v1.35.31

SetStorageLensConfiguration sets the StorageLensConfiguration field's value.

func (GetStorageLensConfigurationOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetStorageLensConfigurationTaggingInput added in v1.35.31

type GetStorageLensConfigurationTaggingInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the Amazon S3 Storage Lens configuration.
	//
	// ConfigId is a required field
	ConfigId *string `location:"uri" locationName:"storagelensid" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetStorageLensConfigurationTaggingInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensConfigurationTaggingInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*GetStorageLensConfigurationTaggingInput) SetConfigId added in v1.35.31

SetConfigId sets the ConfigId field's value.

func (GetStorageLensConfigurationTaggingInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensConfigurationTaggingInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type GetStorageLensConfigurationTaggingOutput added in v1.35.31

type GetStorageLensConfigurationTaggingOutput struct {

	// The tags of S3 Storage Lens configuration requested.
	Tags []*StorageLensTag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (GetStorageLensConfigurationTaggingOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensConfigurationTaggingOutput) SetTags added in v1.35.31

SetTags sets the Tags field's value.

func (GetStorageLensConfigurationTaggingOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetStorageLensGroupInput added in v1.47.12

type GetStorageLensGroupInput struct {

	// The Amazon Web Services account ID associated with the Storage Lens group
	// that you're trying to retrieve the details for.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Storage Lens group that you're trying to retrieve the configuration
	// details for.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetStorageLensGroupInput) GoString added in v1.47.12

func (s GetStorageLensGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensGroupInput) SetAccountId added in v1.47.12

SetAccountId sets the AccountId field's value.

func (*GetStorageLensGroupInput) SetName added in v1.47.12

SetName sets the Name field's value.

func (GetStorageLensGroupInput) String added in v1.47.12

func (s GetStorageLensGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensGroupInput) Validate added in v1.47.12

func (s *GetStorageLensGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetStorageLensGroupOutput added in v1.47.12

type GetStorageLensGroupOutput struct {

	// The name of the Storage Lens group that you're trying to retrieve the configuration
	// details for.
	StorageLensGroup *StorageLensGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (GetStorageLensGroupOutput) GoString added in v1.47.12

func (s GetStorageLensGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStorageLensGroupOutput) SetStorageLensGroup added in v1.47.12

SetStorageLensGroup sets the StorageLensGroup field's value.

func (GetStorageLensGroupOutput) String added in v1.47.12

func (s GetStorageLensGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Grantee added in v1.48.4

type Grantee struct {

	// The unique identifier of the Grantee. If the grantee type is IAM, the identifier
	// is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee
	// type is a directory user or group, the identifier is 128-bit universally
	// unique identifier (UUID) in the format a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.
	// You can obtain this UUID from your Amazon Web Services IAM Identity Center
	// instance.
	GranteeIdentifier *string `type:"string"`

	// The type of the grantee to which access has been granted. It can be one of
	// the following values:
	//
	//    * IAM - An IAM user or role.
	//
	//    * DIRECTORY_USER - Your corporate directory user. You can use this option
	//    if you have added your corporate identity directory to IAM Identity Center
	//    and associated the IAM Identity Center instance with your S3 Access Grants
	//    instance.
	//
	//    * DIRECTORY_GROUP - Your corporate directory group. You can use this option
	//    if you have added your corporate identity directory to IAM Identity Center
	//    and associated the IAM Identity Center instance with your S3 Access Grants
	//    instance.
	GranteeType *string `type:"string" enum:"GranteeType"`
	// contains filtered or unexported fields
}

The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.

func (Grantee) GoString added in v1.48.4

func (s Grantee) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Grantee) SetGranteeIdentifier added in v1.48.4

func (s *Grantee) SetGranteeIdentifier(v string) *Grantee

SetGranteeIdentifier sets the GranteeIdentifier field's value.

func (*Grantee) SetGranteeType added in v1.48.4

func (s *Grantee) SetGranteeType(v string) *Grantee

SetGranteeType sets the GranteeType field's value.

func (Grantee) String added in v1.48.4

func (s Grantee) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Include added in v1.35.31

type Include struct {

	// A container for the S3 Storage Lens bucket includes.
	Buckets []*string `locationNameList:"Arn" type:"list"`

	// A container for the S3 Storage Lens Region includes.
	Regions []*string `locationNameList:"Region" type:"list"`
	// contains filtered or unexported fields
}

A container for what Amazon S3 Storage Lens configuration includes.

func (Include) GoString added in v1.35.31

func (s Include) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Include) SetBuckets added in v1.35.31

func (s *Include) SetBuckets(v []*string) *Include

SetBuckets sets the Buckets field's value.

func (*Include) SetRegions added in v1.35.31

func (s *Include) SetRegions(v []*string) *Include

SetRegions sets the Regions field's value.

func (Include) String added in v1.35.31

func (s Include) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobDescriptor added in v1.19.21

type JobDescriptor struct {

	// 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 `type:"boolean"`

	// A timestamp indicating when this job was created.
	CreationTime *time.Time `type:"timestamp"`

	// The description for this job, if one was provided in this job's Create Job
	// request.
	Description *string `min:"1" type:"string"`

	// If the specified job failed, this field contains information describing the
	// failure.
	FailureReasons []*JobFailure `type:"list"`

	// The attribute of the JobDescriptor containing details about the job's generated
	// manifest.
	GeneratedManifestDescriptor *S3GeneratedManifestDescriptor `type:"structure"`

	// The Amazon Resource Name (ARN) for this job.
	JobArn *string `min:"1" type:"string"`

	// The ID for the specified job.
	JobId *string `min:"5" type:"string"`

	// The configuration information for the specified job's manifest object.
	Manifest *JobManifest `type:"structure"`

	// The manifest generator that was used to generate a job manifest for this
	// job.
	ManifestGenerator *JobManifestGenerator `type:"structure"`

	// The operation that the specified job is configured to run on the objects
	// listed in the manifest.
	Operation *JobOperation `type:"structure"`

	// The priority of the specified job.
	Priority *int64 `type:"integer"`

	// Describes the total number of tasks that the specified job has run, the number
	// of tasks that succeeded, and the number of tasks that failed.
	ProgressSummary *JobProgressSummary `type:"structure"`

	// Contains the configuration information for the job-completion report if you
	// requested one in the Create Job request.
	Report *JobReport `type:"structure"`

	// The Amazon Resource Name (ARN) for the Identity and Access Management (IAM)
	// role assigned to run the tasks for this job.
	RoleArn *string `min:"1" type:"string"`

	// The current status of the specified job.
	Status *string `type:"string" enum:"JobStatus"`

	// The reason for updating the job.
	StatusUpdateReason *string `min:"1" type:"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 `min:"1" type:"string"`

	// The timestamp when this job was suspended, if it has been suspended.
	SuspendedDate *time.Time `type:"timestamp"`

	// 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 `type:"timestamp"`
	// contains filtered or unexported fields
}

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

func (JobDescriptor) GoString added in v1.19.21

func (s JobDescriptor) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobDescriptor) SetConfirmationRequired added in v1.19.21

func (s *JobDescriptor) SetConfirmationRequired(v bool) *JobDescriptor

SetConfirmationRequired sets the ConfirmationRequired field's value.

func (*JobDescriptor) SetCreationTime added in v1.19.21

func (s *JobDescriptor) SetCreationTime(v time.Time) *JobDescriptor

SetCreationTime sets the CreationTime field's value.

func (*JobDescriptor) SetDescription added in v1.19.21

func (s *JobDescriptor) SetDescription(v string) *JobDescriptor

SetDescription sets the Description field's value.

func (*JobDescriptor) SetFailureReasons added in v1.19.21

func (s *JobDescriptor) SetFailureReasons(v []*JobFailure) *JobDescriptor

SetFailureReasons sets the FailureReasons field's value.

func (*JobDescriptor) SetGeneratedManifestDescriptor added in v1.42.49

func (s *JobDescriptor) SetGeneratedManifestDescriptor(v *S3GeneratedManifestDescriptor) *JobDescriptor

SetGeneratedManifestDescriptor sets the GeneratedManifestDescriptor field's value.

func (*JobDescriptor) SetJobArn added in v1.19.21

func (s *JobDescriptor) SetJobArn(v string) *JobDescriptor

SetJobArn sets the JobArn field's value.

func (*JobDescriptor) SetJobId added in v1.19.21

func (s *JobDescriptor) SetJobId(v string) *JobDescriptor

SetJobId sets the JobId field's value.

func (*JobDescriptor) SetManifest added in v1.19.21

func (s *JobDescriptor) SetManifest(v *JobManifest) *JobDescriptor

SetManifest sets the Manifest field's value.

func (*JobDescriptor) SetManifestGenerator added in v1.42.49

func (s *JobDescriptor) SetManifestGenerator(v *JobManifestGenerator) *JobDescriptor

SetManifestGenerator sets the ManifestGenerator field's value.

func (*JobDescriptor) SetOperation added in v1.19.21

func (s *JobDescriptor) SetOperation(v *JobOperation) *JobDescriptor

SetOperation sets the Operation field's value.

func (*JobDescriptor) SetPriority added in v1.19.21

func (s *JobDescriptor) SetPriority(v int64) *JobDescriptor

SetPriority sets the Priority field's value.

func (*JobDescriptor) SetProgressSummary added in v1.19.21

func (s *JobDescriptor) SetProgressSummary(v *JobProgressSummary) *JobDescriptor

SetProgressSummary sets the ProgressSummary field's value.

func (*JobDescriptor) SetReport added in v1.19.21

func (s *JobDescriptor) SetReport(v *JobReport) *JobDescriptor

SetReport sets the Report field's value.

func (*JobDescriptor) SetRoleArn added in v1.19.21

func (s *JobDescriptor) SetRoleArn(v string) *JobDescriptor

SetRoleArn sets the RoleArn field's value.

func (*JobDescriptor) SetStatus added in v1.19.21

func (s *JobDescriptor) SetStatus(v string) *JobDescriptor

SetStatus sets the Status field's value.

func (*JobDescriptor) SetStatusUpdateReason added in v1.19.21

func (s *JobDescriptor) SetStatusUpdateReason(v string) *JobDescriptor

SetStatusUpdateReason sets the StatusUpdateReason field's value.

func (*JobDescriptor) SetSuspendedCause added in v1.19.21

func (s *JobDescriptor) SetSuspendedCause(v string) *JobDescriptor

SetSuspendedCause sets the SuspendedCause field's value.

func (*JobDescriptor) SetSuspendedDate added in v1.19.21

func (s *JobDescriptor) SetSuspendedDate(v time.Time) *JobDescriptor

SetSuspendedDate sets the SuspendedDate field's value.

func (*JobDescriptor) SetTerminationDate added in v1.19.21

func (s *JobDescriptor) SetTerminationDate(v time.Time) *JobDescriptor

SetTerminationDate sets the TerminationDate field's value.

func (JobDescriptor) String added in v1.19.21

func (s JobDescriptor) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobFailure added in v1.19.21

type JobFailure struct {

	// The failure code, if any, for the specified job.
	FailureCode *string `min:"1" type:"string"`

	// The failure reason, if any, for the specified job.
	FailureReason *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (JobFailure) GoString added in v1.19.21

func (s JobFailure) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobFailure) SetFailureCode added in v1.19.21

func (s *JobFailure) SetFailureCode(v string) *JobFailure

SetFailureCode sets the FailureCode field's value.

func (*JobFailure) SetFailureReason added in v1.19.21

func (s *JobFailure) SetFailureReason(v string) *JobFailure

SetFailureReason sets the FailureReason field's value.

func (JobFailure) String added in v1.19.21

func (s JobFailure) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobListDescriptor added in v1.19.21

type JobListDescriptor struct {

	// A timestamp indicating when the specified job was created.
	CreationTime *time.Time `type:"timestamp"`

	// The user-specified description that was included in the specified job's Create
	// Job request.
	Description *string `min:"1" type:"string"`

	// The ID for the specified job.
	JobId *string `min:"5" type:"string"`

	// The operation that the specified job is configured to run on every object
	// listed in the manifest.
	Operation *string `type:"string" enum:"OperationName"`

	// The current priority for the specified job.
	Priority *int64 `type:"integer"`

	// Describes the total number of tasks that the specified job has run, the number
	// of tasks that succeeded, and the number of tasks that failed.
	ProgressSummary *JobProgressSummary `type:"structure"`

	// The specified job's current status.
	Status *string `type:"string" enum:"JobStatus"`

	// 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 `type:"timestamp"`
	// contains filtered or unexported fields
}

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

func (JobListDescriptor) GoString added in v1.19.21

func (s JobListDescriptor) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobListDescriptor) SetCreationTime added in v1.19.21

func (s *JobListDescriptor) SetCreationTime(v time.Time) *JobListDescriptor

SetCreationTime sets the CreationTime field's value.

func (*JobListDescriptor) SetDescription added in v1.19.21

func (s *JobListDescriptor) SetDescription(v string) *JobListDescriptor

SetDescription sets the Description field's value.

func (*JobListDescriptor) SetJobId added in v1.19.21

func (s *JobListDescriptor) SetJobId(v string) *JobListDescriptor

SetJobId sets the JobId field's value.

func (*JobListDescriptor) SetOperation added in v1.19.21

func (s *JobListDescriptor) SetOperation(v string) *JobListDescriptor

SetOperation sets the Operation field's value.

func (*JobListDescriptor) SetPriority added in v1.19.21

func (s *JobListDescriptor) SetPriority(v int64) *JobListDescriptor

SetPriority sets the Priority field's value.

func (*JobListDescriptor) SetProgressSummary added in v1.19.21

func (s *JobListDescriptor) SetProgressSummary(v *JobProgressSummary) *JobListDescriptor

SetProgressSummary sets the ProgressSummary field's value.

func (*JobListDescriptor) SetStatus added in v1.19.21

func (s *JobListDescriptor) SetStatus(v string) *JobListDescriptor

SetStatus sets the Status field's value.

func (*JobListDescriptor) SetTerminationDate added in v1.19.21

func (s *JobListDescriptor) SetTerminationDate(v time.Time) *JobListDescriptor

SetTerminationDate sets the TerminationDate field's value.

func (JobListDescriptor) String added in v1.19.21

func (s JobListDescriptor) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobManifest added in v1.19.21

type JobManifest struct {

	// Contains the information required to locate the specified job's manifest.
	// Manifests can't be imported from directory buckets. For more information,
	// see Directory buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html).
	//
	// Location is a required field
	Location *JobManifestLocation `type:"structure" required:"true"`

	// 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 is a required field
	Spec *JobManifestSpec `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains the configuration information for a job's manifest.

func (JobManifest) GoString added in v1.19.21

func (s JobManifest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifest) SetLocation added in v1.19.21

func (s *JobManifest) SetLocation(v *JobManifestLocation) *JobManifest

SetLocation sets the Location field's value.

func (*JobManifest) SetSpec added in v1.19.21

func (s *JobManifest) SetSpec(v *JobManifestSpec) *JobManifest

SetSpec sets the Spec field's value.

func (JobManifest) String added in v1.19.21

func (s JobManifest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifest) Validate added in v1.19.21

func (s *JobManifest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobManifestGenerator added in v1.42.49

type JobManifestGenerator struct {

	// The S3 job ManifestGenerator's configuration details.
	S3JobManifestGenerator *S3JobManifestGenerator `type:"structure"`
	// contains filtered or unexported fields
}

Configures the type of the job's ManifestGenerator.

func (JobManifestGenerator) GoString added in v1.42.49

func (s JobManifestGenerator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestGenerator) SetS3JobManifestGenerator added in v1.42.49

func (s *JobManifestGenerator) SetS3JobManifestGenerator(v *S3JobManifestGenerator) *JobManifestGenerator

SetS3JobManifestGenerator sets the S3JobManifestGenerator field's value.

func (JobManifestGenerator) String added in v1.42.49

func (s JobManifestGenerator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestGenerator) Validate added in v1.42.49

func (s *JobManifestGenerator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobManifestGeneratorFilter added in v1.42.49

type JobManifestGeneratorFilter struct {

	// If provided, the generated manifest includes only source bucket objects that
	// were created after this time.
	CreatedAfter *time.Time `type:"timestamp"`

	// If provided, the generated manifest includes only source bucket objects that
	// were created before this time.
	CreatedBefore *time.Time `type:"timestamp"`

	// Include objects in the generated manifest only if they are eligible for replication
	// according to the Replication configuration on the source bucket.
	EligibleForReplication *bool `type:"boolean"`

	// If provided, the generated manifest includes only source bucket objects whose
	// object keys match the string constraints specified for MatchAnyPrefix, MatchAnySuffix,
	// and MatchAnySubstring.
	KeyNameConstraint *KeyNameConstraint `type:"structure"`

	// If provided, the generated manifest includes only source bucket objects that
	// are stored with the specified storage class.
	MatchAnyStorageClass []*string `type:"list" enum:"S3StorageClass"`

	// If provided, the generated manifest includes only source bucket objects that
	// have one of the specified Replication statuses.
	ObjectReplicationStatuses []*string `type:"list" enum:"ReplicationStatus"`

	// If provided, the generated manifest includes only source bucket objects whose
	// file size is greater than the specified number of bytes.
	ObjectSizeGreaterThanBytes *int64 `type:"long"`

	// If provided, the generated manifest includes only source bucket objects whose
	// file size is less than the specified number of bytes.
	ObjectSizeLessThanBytes *int64 `type:"long"`
	// contains filtered or unexported fields
}

The filter used to describe a set of objects for the job's manifest.

func (JobManifestGeneratorFilter) GoString added in v1.42.49

func (s JobManifestGeneratorFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestGeneratorFilter) SetCreatedAfter added in v1.42.49

SetCreatedAfter sets the CreatedAfter field's value.

func (*JobManifestGeneratorFilter) SetCreatedBefore added in v1.42.49

SetCreatedBefore sets the CreatedBefore field's value.

func (*JobManifestGeneratorFilter) SetEligibleForReplication added in v1.42.49

func (s *JobManifestGeneratorFilter) SetEligibleForReplication(v bool) *JobManifestGeneratorFilter

SetEligibleForReplication sets the EligibleForReplication field's value.

func (*JobManifestGeneratorFilter) SetKeyNameConstraint added in v1.48.3

SetKeyNameConstraint sets the KeyNameConstraint field's value.

func (*JobManifestGeneratorFilter) SetMatchAnyStorageClass added in v1.48.3

func (s *JobManifestGeneratorFilter) SetMatchAnyStorageClass(v []*string) *JobManifestGeneratorFilter

SetMatchAnyStorageClass sets the MatchAnyStorageClass field's value.

func (*JobManifestGeneratorFilter) SetObjectReplicationStatuses added in v1.42.49

func (s *JobManifestGeneratorFilter) SetObjectReplicationStatuses(v []*string) *JobManifestGeneratorFilter

SetObjectReplicationStatuses sets the ObjectReplicationStatuses field's value.

func (*JobManifestGeneratorFilter) SetObjectSizeGreaterThanBytes added in v1.48.3

func (s *JobManifestGeneratorFilter) SetObjectSizeGreaterThanBytes(v int64) *JobManifestGeneratorFilter

SetObjectSizeGreaterThanBytes sets the ObjectSizeGreaterThanBytes field's value.

func (*JobManifestGeneratorFilter) SetObjectSizeLessThanBytes added in v1.48.3

func (s *JobManifestGeneratorFilter) SetObjectSizeLessThanBytes(v int64) *JobManifestGeneratorFilter

SetObjectSizeLessThanBytes sets the ObjectSizeLessThanBytes field's value.

func (JobManifestGeneratorFilter) String added in v1.42.49

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobManifestLocation added in v1.19.21

type JobManifestLocation struct {

	// The ETag for the specified manifest object.
	//
	// ETag is a required field
	ETag *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for a manifest object.
	//
	// When you're using XML requests, you must replace special characters (such
	// as carriage returns) in object keys with their equivalent XML entity codes.
	// For more information, see XML-related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints)
	// in the Amazon S3 User Guide.
	//
	// ObjectArn is a required field
	ObjectArn *string `min:"1" type:"string" required:"true"`

	// The optional version ID to identify a specific version of the manifest object.
	ObjectVersionId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains the information required to locate a manifest object. Manifests can't be imported from directory buckets. For more information, see Directory buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html).

func (JobManifestLocation) GoString added in v1.19.21

func (s JobManifestLocation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestLocation) SetETag added in v1.19.21

SetETag sets the ETag field's value.

func (*JobManifestLocation) SetObjectArn added in v1.19.21

func (s *JobManifestLocation) SetObjectArn(v string) *JobManifestLocation

SetObjectArn sets the ObjectArn field's value.

func (*JobManifestLocation) SetObjectVersionId added in v1.19.21

func (s *JobManifestLocation) SetObjectVersionId(v string) *JobManifestLocation

SetObjectVersionId sets the ObjectVersionId field's value.

func (JobManifestLocation) String added in v1.19.21

func (s JobManifestLocation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestLocation) Validate added in v1.19.21

func (s *JobManifestLocation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobManifestSpec added in v1.19.21

type JobManifestSpec struct {

	// If the specified manifest object is in the S3BatchOperations_CSV_20180820
	// format, this element describes which columns contain the required data.
	Fields []*string `type:"list" enum:"JobManifestFieldName"`

	// Indicates which of the available formats the specified manifest uses.
	//
	// Format is a required field
	Format *string `type:"string" required:"true" enum:"JobManifestFormat"`
	// contains filtered or unexported fields
}

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

func (JobManifestSpec) GoString added in v1.19.21

func (s JobManifestSpec) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestSpec) SetFields added in v1.19.21

func (s *JobManifestSpec) SetFields(v []*string) *JobManifestSpec

SetFields sets the Fields field's value.

func (*JobManifestSpec) SetFormat added in v1.19.21

func (s *JobManifestSpec) SetFormat(v string) *JobManifestSpec

SetFormat sets the Format field's value.

func (JobManifestSpec) String added in v1.19.21

func (s JobManifestSpec) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobManifestSpec) Validate added in v1.19.21

func (s *JobManifestSpec) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobOperation added in v1.19.21

type JobOperation struct {

	// Directs the specified job to invoke an Lambda function on every object in
	// the manifest.
	LambdaInvoke *LambdaInvokeOperation `type:"structure"`

	// Directs the specified job to execute a DELETE Object tagging call on every
	// object in the manifest.
	//
	// This functionality is not supported by directory buckets.
	S3DeleteObjectTagging *S3DeleteObjectTaggingOperation `type:"structure"`

	// Directs the specified job to initiate restore requests for every archived
	// object in the manifest.
	//
	// This functionality is not supported by directory buckets.
	S3InitiateRestoreObject *S3InitiateRestoreObjectOperation `type:"structure"`

	// Directs the specified job to run a PutObjectAcl call on every object in the
	// manifest.
	//
	// This functionality is not supported by directory buckets.
	S3PutObjectAcl *S3SetObjectAclOperation `type:"structure"`

	// Directs the specified job to run a PUT Copy object call on every object in
	// the manifest.
	S3PutObjectCopy *S3CopyObjectOperation `type:"structure"`

	// Contains the configuration for an S3 Object Lock legal hold operation that
	// an S3 Batch Operations job passes to every object to the underlying PutObjectLegalHold
	// API operation. For more information, see Using S3 Object Lock legal hold
	// with S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-legal-hold.html)
	// in the Amazon S3 User Guide.
	//
	// This functionality is not supported by directory buckets.
	S3PutObjectLegalHold *S3SetObjectLegalHoldOperation `type:"structure"`

	// Contains the configuration parameters for the Object Lock retention action
	// for an S3 Batch Operations job. Batch Operations passes every object to the
	// underlying PutObjectRetention API operation. For more information, see Using
	// S3 Object Lock retention with S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-retention-date.html)
	// in the Amazon S3 User Guide.
	//
	// This functionality is not supported by directory buckets.
	S3PutObjectRetention *S3SetObjectRetentionOperation `type:"structure"`

	// Directs the specified job to run a PUT Object tagging call on every object
	// in the manifest.
	//
	// This functionality is not supported by directory buckets.
	S3PutObjectTagging *S3SetObjectTaggingOperation `type:"structure"`

	// Directs the specified job to invoke ReplicateObject on every object in the
	// job's manifest.
	//
	// This functionality is not supported by directory buckets.
	S3ReplicateObject *S3ReplicateObjectOperation `type:"structure"`
	// contains filtered or unexported fields
}

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

func (JobOperation) GoString added in v1.19.21

func (s JobOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobOperation) SetLambdaInvoke added in v1.19.21

func (s *JobOperation) SetLambdaInvoke(v *LambdaInvokeOperation) *JobOperation

SetLambdaInvoke sets the LambdaInvoke field's value.

func (*JobOperation) SetS3DeleteObjectTagging added in v1.37.2

func (s *JobOperation) SetS3DeleteObjectTagging(v *S3DeleteObjectTaggingOperation) *JobOperation

SetS3DeleteObjectTagging sets the S3DeleteObjectTagging field's value.

func (*JobOperation) SetS3InitiateRestoreObject added in v1.19.21

func (s *JobOperation) SetS3InitiateRestoreObject(v *S3InitiateRestoreObjectOperation) *JobOperation

SetS3InitiateRestoreObject sets the S3InitiateRestoreObject field's value.

func (*JobOperation) SetS3PutObjectAcl added in v1.19.21

func (s *JobOperation) SetS3PutObjectAcl(v *S3SetObjectAclOperation) *JobOperation

SetS3PutObjectAcl sets the S3PutObjectAcl field's value.

func (*JobOperation) SetS3PutObjectCopy added in v1.19.21

func (s *JobOperation) SetS3PutObjectCopy(v *S3CopyObjectOperation) *JobOperation

SetS3PutObjectCopy sets the S3PutObjectCopy field's value.

func (*JobOperation) SetS3PutObjectLegalHold added in v1.30.20

func (s *JobOperation) SetS3PutObjectLegalHold(v *S3SetObjectLegalHoldOperation) *JobOperation

SetS3PutObjectLegalHold sets the S3PutObjectLegalHold field's value.

func (*JobOperation) SetS3PutObjectRetention added in v1.30.20

func (s *JobOperation) SetS3PutObjectRetention(v *S3SetObjectRetentionOperation) *JobOperation

SetS3PutObjectRetention sets the S3PutObjectRetention field's value.

func (*JobOperation) SetS3PutObjectTagging added in v1.19.21

func (s *JobOperation) SetS3PutObjectTagging(v *S3SetObjectTaggingOperation) *JobOperation

SetS3PutObjectTagging sets the S3PutObjectTagging field's value.

func (*JobOperation) SetS3ReplicateObject added in v1.42.49

func (s *JobOperation) SetS3ReplicateObject(v *S3ReplicateObjectOperation) *JobOperation

SetS3ReplicateObject sets the S3ReplicateObject field's value.

func (JobOperation) String added in v1.19.21

func (s JobOperation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobOperation) Validate added in v1.19.21

func (s *JobOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobProgressSummary added in v1.19.21

type JobProgressSummary struct {
	NumberOfTasksFailed *int64 `type:"long"`

	NumberOfTasksSucceeded *int64 `type:"long"`

	// The JobTimers attribute of a job's progress summary.
	Timers *JobTimers `type:"structure"`

	TotalNumberOfTasks *int64 `type:"long"`
	// contains filtered or unexported fields
}

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

func (JobProgressSummary) GoString added in v1.19.21

func (s JobProgressSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobProgressSummary) SetNumberOfTasksFailed added in v1.19.21

func (s *JobProgressSummary) SetNumberOfTasksFailed(v int64) *JobProgressSummary

SetNumberOfTasksFailed sets the NumberOfTasksFailed field's value.

func (*JobProgressSummary) SetNumberOfTasksSucceeded added in v1.19.21

func (s *JobProgressSummary) SetNumberOfTasksSucceeded(v int64) *JobProgressSummary

SetNumberOfTasksSucceeded sets the NumberOfTasksSucceeded field's value.

func (*JobProgressSummary) SetTimers added in v1.42.49

SetTimers sets the Timers field's value.

func (*JobProgressSummary) SetTotalNumberOfTasks added in v1.19.21

func (s *JobProgressSummary) SetTotalNumberOfTasks(v int64) *JobProgressSummary

SetTotalNumberOfTasks sets the TotalNumberOfTasks field's value.

func (JobProgressSummary) String added in v1.19.21

func (s JobProgressSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobReport added in v1.19.21

type JobReport struct {

	// The Amazon Resource Name (ARN) for the bucket where specified job-completion
	// report will be stored.
	//
	// Directory buckets - Directory buckets aren't supported as a location for
	// Batch Operations to store job completion reports.
	Bucket *string `min:"1" type:"string"`

	// Indicates whether the specified job will generate a job-completion report.
	//
	// Enabled is a required field
	Enabled *bool `type:"boolean" required:"true"`

	// The format of the specified job-completion report.
	Format *string `type:"string" enum:"JobReportFormat"`

	// An optional prefix to describe where in the specified bucket the job-completion
	// report will be stored. Amazon S3 stores the job-completion report at <prefix>/job-<job-id>/report.json.
	Prefix *string `min:"1" type:"string"`

	// Indicates whether the job-completion report will include details of all tasks
	// or only failed tasks.
	ReportScope *string `type:"string" enum:"JobReportScope"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for a job-completion report.

func (JobReport) GoString added in v1.19.21

func (s JobReport) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobReport) SetBucket added in v1.19.21

func (s *JobReport) SetBucket(v string) *JobReport

SetBucket sets the Bucket field's value.

func (*JobReport) SetEnabled added in v1.19.21

func (s *JobReport) SetEnabled(v bool) *JobReport

SetEnabled sets the Enabled field's value.

func (*JobReport) SetFormat added in v1.19.21

func (s *JobReport) SetFormat(v string) *JobReport

SetFormat sets the Format field's value.

func (*JobReport) SetPrefix added in v1.19.21

func (s *JobReport) SetPrefix(v string) *JobReport

SetPrefix sets the Prefix field's value.

func (*JobReport) SetReportScope added in v1.19.21

func (s *JobReport) SetReportScope(v string) *JobReport

SetReportScope sets the ReportScope field's value.

func (JobReport) String added in v1.19.21

func (s JobReport) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobReport) Validate added in v1.19.21

func (s *JobReport) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobTimers added in v1.42.49

type JobTimers struct {

	// Indicates the elapsed time in seconds the job has been in the Active job
	// state.
	ElapsedTimeInActiveSeconds *int64 `type:"long"`
	// contains filtered or unexported fields
}

Provides timing details for the job.

func (JobTimers) GoString added in v1.42.49

func (s JobTimers) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobTimers) SetElapsedTimeInActiveSeconds added in v1.42.49

func (s *JobTimers) SetElapsedTimeInActiveSeconds(v int64) *JobTimers

SetElapsedTimeInActiveSeconds sets the ElapsedTimeInActiveSeconds field's value.

func (JobTimers) String added in v1.42.49

func (s JobTimers) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KeyNameConstraint added in v1.48.3

type KeyNameConstraint struct {

	// If provided, the generated manifest includes objects where the specified
	// string appears at the start of the object key string.
	MatchAnyPrefix []*string `type:"list"`

	// If provided, the generated manifest includes objects where the specified
	// string appears anywhere within the object key string.
	MatchAnySubstring []*string `type:"list"`

	// If provided, the generated manifest includes objects where the specified
	// string appears at the end of the object key string.
	MatchAnySuffix []*string `type:"list"`
	// contains filtered or unexported fields
}

If provided, the generated manifest includes only source bucket objects whose object keys match the string constraints specified for MatchAnyPrefix, MatchAnySuffix, and MatchAnySubstring.

func (KeyNameConstraint) GoString added in v1.48.3

func (s KeyNameConstraint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KeyNameConstraint) SetMatchAnyPrefix added in v1.48.3

func (s *KeyNameConstraint) SetMatchAnyPrefix(v []*string) *KeyNameConstraint

SetMatchAnyPrefix sets the MatchAnyPrefix field's value.

func (*KeyNameConstraint) SetMatchAnySubstring added in v1.48.3

func (s *KeyNameConstraint) SetMatchAnySubstring(v []*string) *KeyNameConstraint

SetMatchAnySubstring sets the MatchAnySubstring field's value.

func (*KeyNameConstraint) SetMatchAnySuffix added in v1.48.3

func (s *KeyNameConstraint) SetMatchAnySuffix(v []*string) *KeyNameConstraint

SetMatchAnySuffix sets the MatchAnySuffix field's value.

func (KeyNameConstraint) String added in v1.48.3

func (s KeyNameConstraint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LambdaInvokeOperation added in v1.19.21

type LambdaInvokeOperation struct {

	// The Amazon Resource Name (ARN) for the Lambda function that the specified
	// job will invoke on every object in the manifest.
	FunctionArn *string `min:"1" type:"string"`

	// Specifies the schema version for the payload that Batch Operations sends
	// when invoking an Lambda function. Version 1.0 is the default. Version 2.0
	// is required when you use Batch Operations to invoke Lambda functions that
	// act on directory buckets, or if you need to specify UserArguments. For more
	// information, see Automate object processing in Amazon S3 directory buckets
	// with S3 Batch Operations and Lambda (https://aws.amazon.com/blogs/storage/automate-object-processing-in-amazon-s3-directory-buckets-with-s3-batch-operations-and-aws-lambda/)
	// in the Amazon Web Services Storage Blog.
	//
	// Ensure that your Lambda function code expects InvocationSchemaVersion 2.0
	// and uses bucket name rather than bucket ARN. If the InvocationSchemaVersion
	// does not match what your Lambda function expects, your function might not
	// work as expected.
	//
	// Directory buckets - To initiate Amazon Web Services Lambda function to perform
	// custom actions on objects in directory buckets, you must specify 2.0.
	InvocationSchemaVersion *string `min:"1" type:"string"`

	// Key-value pairs that are passed in the payload that Batch Operations sends
	// when invoking an Lambda function. You must specify InvocationSchemaVersion
	// 2.0 for LambdaInvoke operations that include UserArguments. For more information,
	// see Automate object processing in Amazon S3 directory buckets with S3 Batch
	// Operations and Lambda (https://aws.amazon.com/blogs/storage/automate-object-processing-in-amazon-s3-directory-buckets-with-s3-batch-operations-and-aws-lambda/)
	// in the Amazon Web Services Storage Blog.
	UserArguments map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for a Lambda Invoke operation.

func (LambdaInvokeOperation) GoString added in v1.19.21

func (s LambdaInvokeOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaInvokeOperation) SetFunctionArn added in v1.19.21

func (s *LambdaInvokeOperation) SetFunctionArn(v string) *LambdaInvokeOperation

SetFunctionArn sets the FunctionArn field's value.

func (*LambdaInvokeOperation) SetInvocationSchemaVersion added in v1.48.7

func (s *LambdaInvokeOperation) SetInvocationSchemaVersion(v string) *LambdaInvokeOperation

SetInvocationSchemaVersion sets the InvocationSchemaVersion field's value.

func (*LambdaInvokeOperation) SetUserArguments added in v1.48.7

func (s *LambdaInvokeOperation) SetUserArguments(v map[string]*string) *LambdaInvokeOperation

SetUserArguments sets the UserArguments field's value.

func (LambdaInvokeOperation) String added in v1.19.21

func (s LambdaInvokeOperation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LambdaInvokeOperation) Validate added in v1.19.21

func (s *LambdaInvokeOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LifecycleConfiguration added in v1.35.0

type LifecycleConfiguration struct {

	// A lifecycle rule for individual objects in an Outposts bucket.
	Rules []*LifecycleRule `locationNameList:"Rule" type:"list"`
	// contains filtered or unexported fields
}

The container for the Outposts bucket lifecycle configuration.

func (LifecycleConfiguration) GoString added in v1.35.0

func (s LifecycleConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleConfiguration) SetRules added in v1.35.0

SetRules sets the Rules field's value.

func (LifecycleConfiguration) String added in v1.35.0

func (s LifecycleConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleConfiguration) Validate added in v1.35.0

func (s *LifecycleConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LifecycleExpiration added in v1.35.0

type LifecycleExpiration struct {

	// Indicates at what date the object is to be deleted. Should be in GMT ISO
	// 8601 format.
	Date *time.Time `type:"timestamp"`

	// Indicates the lifetime, in days, of the objects that are subject to the rule.
	// The value must be a non-zero positive integer.
	Days *int64 `type:"integer"`

	// Indicates whether Amazon S3 will remove a delete marker with no noncurrent
	// versions. If set to true, the delete marker will be expired. If set to false,
	// the policy takes no action. This cannot be specified with Days or Date in
	// a Lifecycle Expiration Policy.
	ExpiredObjectDeleteMarker *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The container of the Outposts bucket lifecycle expiration.

func (LifecycleExpiration) GoString added in v1.35.0

func (s LifecycleExpiration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleExpiration) SetDate added in v1.35.0

SetDate sets the Date field's value.

func (*LifecycleExpiration) SetDays added in v1.35.0

SetDays sets the Days field's value.

func (*LifecycleExpiration) SetExpiredObjectDeleteMarker added in v1.35.0

func (s *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool) *LifecycleExpiration

SetExpiredObjectDeleteMarker sets the ExpiredObjectDeleteMarker field's value.

func (LifecycleExpiration) String added in v1.35.0

func (s LifecycleExpiration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LifecycleRule added in v1.35.0

type LifecycleRule struct {

	// Specifies the days since the initiation of an incomplete multipart upload
	// that Amazon S3 waits before permanently removing all parts of the upload.
	// For more information, see Aborting Incomplete Multipart Uploads Using a Bucket
	// Lifecycle Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config)
	// in the Amazon S3 User Guide.
	AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `type:"structure"`

	// Specifies the expiration for the lifecycle of the object in the form of date,
	// days and, whether the object has a delete marker.
	Expiration *LifecycleExpiration `type:"structure"`

	// The container for the filter of lifecycle rule.
	Filter *LifecycleRuleFilter `type:"structure"`

	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	ID *string `type:"string"`

	// The noncurrent version expiration of the lifecycle rule.
	NoncurrentVersionExpiration *NoncurrentVersionExpiration `type:"structure"`

	// Specifies the transition rule for the lifecycle rule that describes when
	// noncurrent objects transition to a specific storage class. If your bucket
	// is versioning-enabled (or versioning is suspended), you can set this action
	// to request that Amazon S3 transition noncurrent object versions to a specific
	// storage class at a set period in the object's lifetime.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	NoncurrentVersionTransitions []*NoncurrentVersionTransition `locationNameList:"NoncurrentVersionTransition" type:"list"`

	// If 'Enabled', the rule is currently being applied. If 'Disabled', the rule
	// is not currently being applied.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"ExpirationStatus"`

	// Specifies when an Amazon S3 object transitions to a specified storage class.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	Transitions []*Transition `locationNameList:"Transition" type:"list"`
	// contains filtered or unexported fields
}

The container for the Outposts bucket lifecycle rule.

func (LifecycleRule) GoString added in v1.35.0

func (s LifecycleRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleRule) SetAbortIncompleteMultipartUpload added in v1.35.0

func (s *LifecycleRule) SetAbortIncompleteMultipartUpload(v *AbortIncompleteMultipartUpload) *LifecycleRule

SetAbortIncompleteMultipartUpload sets the AbortIncompleteMultipartUpload field's value.

func (*LifecycleRule) SetExpiration added in v1.35.0

func (s *LifecycleRule) SetExpiration(v *LifecycleExpiration) *LifecycleRule

SetExpiration sets the Expiration field's value.

func (*LifecycleRule) SetFilter added in v1.35.0

SetFilter sets the Filter field's value.

func (*LifecycleRule) SetID added in v1.35.0

func (s *LifecycleRule) SetID(v string) *LifecycleRule

SetID sets the ID field's value.

func (*LifecycleRule) SetNoncurrentVersionExpiration added in v1.35.0

func (s *LifecycleRule) SetNoncurrentVersionExpiration(v *NoncurrentVersionExpiration) *LifecycleRule

SetNoncurrentVersionExpiration sets the NoncurrentVersionExpiration field's value.

func (*LifecycleRule) SetNoncurrentVersionTransitions added in v1.35.0

func (s *LifecycleRule) SetNoncurrentVersionTransitions(v []*NoncurrentVersionTransition) *LifecycleRule

SetNoncurrentVersionTransitions sets the NoncurrentVersionTransitions field's value.

func (*LifecycleRule) SetStatus added in v1.35.0

func (s *LifecycleRule) SetStatus(v string) *LifecycleRule

SetStatus sets the Status field's value.

func (*LifecycleRule) SetTransitions added in v1.35.0

func (s *LifecycleRule) SetTransitions(v []*Transition) *LifecycleRule

SetTransitions sets the Transitions field's value.

func (LifecycleRule) String added in v1.35.0

func (s LifecycleRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleRule) Validate added in v1.35.0

func (s *LifecycleRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LifecycleRuleAndOperator added in v1.35.0

type LifecycleRuleAndOperator struct {

	// The non-inclusive minimum object size for the lifecycle rule. Setting this
	// property to 7 means the rule applies to objects with a size that is greater
	// than 7.
	ObjectSizeGreaterThan *int64 `type:"long"`

	// The non-inclusive maximum object size for the lifecycle rule. Setting this
	// property to 77 means the rule applies to objects with a size that is less
	// than 77.
	ObjectSizeLessThan *int64 `type:"long"`

	// Prefix identifying one or more objects to which the rule applies.
	Prefix *string `type:"string"`

	// All of these tags must exist in the object's tag set in order for the rule
	// to apply.
	Tags []*S3Tag `type:"list"`
	// contains filtered or unexported fields
}

The container for the Outposts bucket lifecycle rule and operator.

func (LifecycleRuleAndOperator) GoString added in v1.35.0

func (s LifecycleRuleAndOperator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleRuleAndOperator) SetObjectSizeGreaterThan added in v1.44.129

func (s *LifecycleRuleAndOperator) SetObjectSizeGreaterThan(v int64) *LifecycleRuleAndOperator

SetObjectSizeGreaterThan sets the ObjectSizeGreaterThan field's value.

func (*LifecycleRuleAndOperator) SetObjectSizeLessThan added in v1.44.129

func (s *LifecycleRuleAndOperator) SetObjectSizeLessThan(v int64) *LifecycleRuleAndOperator

SetObjectSizeLessThan sets the ObjectSizeLessThan field's value.

func (*LifecycleRuleAndOperator) SetPrefix added in v1.35.0

SetPrefix sets the Prefix field's value.

func (*LifecycleRuleAndOperator) SetTags added in v1.35.0

SetTags sets the Tags field's value.

func (LifecycleRuleAndOperator) String added in v1.35.0

func (s LifecycleRuleAndOperator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleRuleAndOperator) Validate added in v1.35.0

func (s *LifecycleRuleAndOperator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LifecycleRuleFilter added in v1.35.0

type LifecycleRuleFilter struct {

	// The container for the AND condition for the lifecycle rule.
	And *LifecycleRuleAndOperator `type:"structure"`

	// Minimum object size to which the rule applies.
	ObjectSizeGreaterThan *int64 `type:"long"`

	// Maximum object size to which the rule applies.
	ObjectSizeLessThan *int64 `type:"long"`

	// Prefix identifying one or more objects to which the rule applies.
	//
	// When you're using XML requests, you must replace special characters (such
	// as carriage returns) in object keys with their equivalent XML entity codes.
	// For more information, see XML-related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints)
	// in the Amazon S3 User Guide.
	Prefix *string `type:"string"`

	// A container for a key-value name pair.
	Tag *S3Tag `type:"structure"`
	// contains filtered or unexported fields
}

The container for the filter of the lifecycle rule.

func (LifecycleRuleFilter) GoString added in v1.35.0

func (s LifecycleRuleFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleRuleFilter) SetAnd added in v1.35.0

SetAnd sets the And field's value.

func (*LifecycleRuleFilter) SetObjectSizeGreaterThan added in v1.44.129

func (s *LifecycleRuleFilter) SetObjectSizeGreaterThan(v int64) *LifecycleRuleFilter

SetObjectSizeGreaterThan sets the ObjectSizeGreaterThan field's value.

func (*LifecycleRuleFilter) SetObjectSizeLessThan added in v1.44.129

func (s *LifecycleRuleFilter) SetObjectSizeLessThan(v int64) *LifecycleRuleFilter

SetObjectSizeLessThan sets the ObjectSizeLessThan field's value.

func (*LifecycleRuleFilter) SetPrefix added in v1.35.0

SetPrefix sets the Prefix field's value.

func (*LifecycleRuleFilter) SetTag added in v1.35.0

SetTag sets the Tag field's value.

func (LifecycleRuleFilter) String added in v1.35.0

func (s LifecycleRuleFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LifecycleRuleFilter) Validate added in v1.35.0

func (s *LifecycleRuleFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccessGrantEntry added in v1.48.4

type ListAccessGrantEntry struct {

	// The Amazon Resource Name (ARN) of the access grant.
	AccessGrantArn *string `min:"1" type:"string"`

	// The ID of the access grant. S3 Access Grants auto-generates this ID when
	// you create the access grant.
	AccessGrantId *string `min:"1" type:"string"`

	// The configuration options of the grant location. The grant location is the
	// S3 path to the data to which you are granting access.
	AccessGrantsLocationConfiguration *AccessGrantsLocationConfiguration `type:"structure"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center
	// application associated with your Identity Center instance. If the grant includes
	// an application ARN, the grantee can only access the S3 data through this
	// application.
	ApplicationArn *string `min:"10" type:"string"`

	// The date and time when you created the S3 Access Grants instance.
	CreatedAt *time.Time `type:"timestamp"`

	// The S3 path of the data to which you are granting access. It is the result
	// of appending the Subprefix to the location scope.
	GrantScope *string `min:"1" type:"string"`

	// The user, group, or role to which you are granting access. You can grant
	// access to an IAM user or role. If you have added your corporate directory
	// to Amazon Web Services IAM Identity Center and associated your Identity Center
	// instance with your S3 Access Grants instance, the grantee can also be a corporate
	// directory user or group.
	Grantee *Grantee `type:"structure"`

	// The type of access granted to your S3 data, which can be set to one of the
	// following values:
	//
	//    * READ – Grant read-only access to the S3 data.
	//
	//    * WRITE – Grant write-only access to the S3 data.
	//
	//    * READWRITE – Grant both read and write access to the S3 data.
	Permission *string `type:"string" enum:"Permission"`
	// contains filtered or unexported fields
}

Information about the access grant.

func (ListAccessGrantEntry) GoString added in v1.48.4

func (s ListAccessGrantEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantEntry) SetAccessGrantArn added in v1.48.4

func (s *ListAccessGrantEntry) SetAccessGrantArn(v string) *ListAccessGrantEntry

SetAccessGrantArn sets the AccessGrantArn field's value.

func (*ListAccessGrantEntry) SetAccessGrantId added in v1.48.4

func (s *ListAccessGrantEntry) SetAccessGrantId(v string) *ListAccessGrantEntry

SetAccessGrantId sets the AccessGrantId field's value.

func (*ListAccessGrantEntry) SetAccessGrantsLocationConfiguration added in v1.48.4

func (s *ListAccessGrantEntry) SetAccessGrantsLocationConfiguration(v *AccessGrantsLocationConfiguration) *ListAccessGrantEntry

SetAccessGrantsLocationConfiguration sets the AccessGrantsLocationConfiguration field's value.

func (*ListAccessGrantEntry) SetAccessGrantsLocationId added in v1.48.4

func (s *ListAccessGrantEntry) SetAccessGrantsLocationId(v string) *ListAccessGrantEntry

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*ListAccessGrantEntry) SetApplicationArn added in v1.48.4

func (s *ListAccessGrantEntry) SetApplicationArn(v string) *ListAccessGrantEntry

SetApplicationArn sets the ApplicationArn field's value.

func (*ListAccessGrantEntry) SetCreatedAt added in v1.48.4

func (s *ListAccessGrantEntry) SetCreatedAt(v time.Time) *ListAccessGrantEntry

SetCreatedAt sets the CreatedAt field's value.

func (*ListAccessGrantEntry) SetGrantScope added in v1.48.4

func (s *ListAccessGrantEntry) SetGrantScope(v string) *ListAccessGrantEntry

SetGrantScope sets the GrantScope field's value.

func (*ListAccessGrantEntry) SetGrantee added in v1.48.4

SetGrantee sets the Grantee field's value.

func (*ListAccessGrantEntry) SetPermission added in v1.48.4

func (s *ListAccessGrantEntry) SetPermission(v string) *ListAccessGrantEntry

SetPermission sets the Permission field's value.

func (ListAccessGrantEntry) String added in v1.48.4

func (s ListAccessGrantEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessGrantsInput added in v1.48.4

type ListAccessGrantsInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center
	// application associated with your Identity Center instance. If the grant includes
	// an application ARN, the grantee can only access the S3 data through this
	// application.
	ApplicationArn *string `location:"querystring" locationName:"application_arn" min:"10" type:"string"`

	// The S3 path of the data to which you are granting access. It is the result
	// of appending the Subprefix to the location scope.
	GrantScope *string `location:"querystring" locationName:"grantscope" min:"1" type:"string"`

	// The unique identifer of the Grantee. If the grantee type is IAM, the identifier
	// is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee
	// type is a directory user or group, the identifier is 128-bit universally
	// unique identifier (UUID) in the format a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.
	// You can obtain this UUID from your Amazon Web Services IAM Identity Center
	// instance.
	GranteeIdentifier *string `location:"querystring" locationName:"granteeidentifier" type:"string"`

	// The type of the grantee to which access has been granted. It can be one of
	// the following values:
	//
	//    * IAM - An IAM user or role.
	//
	//    * DIRECTORY_USER - Your corporate directory user. You can use this option
	//    if you have added your corporate identity directory to IAM Identity Center
	//    and associated the IAM Identity Center instance with your S3 Access Grants
	//    instance.
	//
	//    * DIRECTORY_GROUP - Your corporate directory group. You can use this option
	//    if you have added your corporate identity directory to IAM Identity Center
	//    and associated the IAM Identity Center instance with your S3 Access Grants
	//    instance.
	GranteeType *string `location:"querystring" locationName:"granteetype" type:"string" enum:"GranteeType"`

	// The maximum number of access grants that you would like returned in the List
	// Access Grants response. If the results include the pagination token NextToken,
	// make another call using the NextToken to determine if there are more results.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// A pagination token to request the next page of results. Pass this value into
	// a subsequent List Access Grants request in order to retrieve the next page
	// of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The type of permission granted to your S3 data, which can be set to one of
	// the following values:
	//
	//    * READ – Grant read-only access to the S3 data.
	//
	//    * WRITE – Grant write-only access to the S3 data.
	//
	//    * READWRITE – Grant both read and write access to the S3 data.
	Permission *string `location:"querystring" locationName:"permission" type:"string" enum:"Permission"`
	// contains filtered or unexported fields
}

func (ListAccessGrantsInput) GoString added in v1.48.4

func (s ListAccessGrantsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*ListAccessGrantsInput) SetApplicationArn added in v1.48.4

func (s *ListAccessGrantsInput) SetApplicationArn(v string) *ListAccessGrantsInput

SetApplicationArn sets the ApplicationArn field's value.

func (*ListAccessGrantsInput) SetGrantScope added in v1.48.4

func (s *ListAccessGrantsInput) SetGrantScope(v string) *ListAccessGrantsInput

SetGrantScope sets the GrantScope field's value.

func (*ListAccessGrantsInput) SetGranteeIdentifier added in v1.48.4

func (s *ListAccessGrantsInput) SetGranteeIdentifier(v string) *ListAccessGrantsInput

SetGranteeIdentifier sets the GranteeIdentifier field's value.

func (*ListAccessGrantsInput) SetGranteeType added in v1.48.4

func (s *ListAccessGrantsInput) SetGranteeType(v string) *ListAccessGrantsInput

SetGranteeType sets the GranteeType field's value.

func (*ListAccessGrantsInput) SetMaxResults added in v1.48.4

func (s *ListAccessGrantsInput) SetMaxResults(v int64) *ListAccessGrantsInput

SetMaxResults sets the MaxResults field's value.

func (*ListAccessGrantsInput) SetNextToken added in v1.48.4

SetNextToken sets the NextToken field's value.

func (*ListAccessGrantsInput) SetPermission added in v1.48.4

func (s *ListAccessGrantsInput) SetPermission(v string) *ListAccessGrantsInput

SetPermission sets the Permission field's value.

func (ListAccessGrantsInput) String added in v1.48.4

func (s ListAccessGrantsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsInput) Validate added in v1.48.4

func (s *ListAccessGrantsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccessGrantsInstanceEntry added in v1.48.4

type ListAccessGrantsInstanceEntry struct {

	// The Amazon Resource Name (ARN) of the S3 Access Grants instance.
	AccessGrantsInstanceArn *string `min:"1" type:"string"`

	// The ID of the S3 Access Grants instance. The ID is default. You can have
	// one S3 Access Grants instance per Region per account.
	AccessGrantsInstanceId *string `min:"1" type:"string"`

	// The date and time when you created the S3 Access Grants instance.
	CreatedAt *time.Time `type:"timestamp"`

	// If you associated your S3 Access Grants instance with an Amazon Web Services
	// IAM Identity Center instance, this field returns the Amazon Resource Name
	// (ARN) of the IAM Identity Center instance application; a subresource of the
	// original Identity Center instance. S3 Access Grants creates this Identity
	// Center application for the specific S3 Access Grants instance.
	IdentityCenterArn *string `min:"10" type:"string"`
	// contains filtered or unexported fields
}

Information about the S3 Access Grants instance.

func (ListAccessGrantsInstanceEntry) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsInstanceEntry) SetAccessGrantsInstanceArn added in v1.48.4

func (s *ListAccessGrantsInstanceEntry) SetAccessGrantsInstanceArn(v string) *ListAccessGrantsInstanceEntry

SetAccessGrantsInstanceArn sets the AccessGrantsInstanceArn field's value.

func (*ListAccessGrantsInstanceEntry) SetAccessGrantsInstanceId added in v1.48.4

func (s *ListAccessGrantsInstanceEntry) SetAccessGrantsInstanceId(v string) *ListAccessGrantsInstanceEntry

SetAccessGrantsInstanceId sets the AccessGrantsInstanceId field's value.

func (*ListAccessGrantsInstanceEntry) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*ListAccessGrantsInstanceEntry) SetIdentityCenterArn added in v1.48.4

SetIdentityCenterArn sets the IdentityCenterArn field's value.

func (ListAccessGrantsInstanceEntry) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessGrantsInstancesInput added in v1.48.4

type ListAccessGrantsInstancesInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The maximum number of access grants that you would like returned in the List
	// Access Grants response. If the results include the pagination token NextToken,
	// make another call using the NextToken to determine if there are more results.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// A pagination token to request the next page of results. Pass this value into
	// a subsequent List Access Grants Instances request in order to retrieve the
	// next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessGrantsInstancesInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsInstancesInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*ListAccessGrantsInstancesInput) SetMaxResults added in v1.48.4

SetMaxResults sets the MaxResults field's value.

func (*ListAccessGrantsInstancesInput) SetNextToken added in v1.48.4

SetNextToken sets the NextToken field's value.

func (ListAccessGrantsInstancesInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsInstancesInput) Validate added in v1.48.4

func (s *ListAccessGrantsInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccessGrantsInstancesOutput added in v1.48.4

type ListAccessGrantsInstancesOutput struct {

	// A container for a list of S3 Access Grants instances.
	AccessGrantsInstancesList []*ListAccessGrantsInstanceEntry `locationNameList:"AccessGrantsInstance" type:"list"`

	// A pagination token to request the next page of results. Pass this value into
	// a subsequent List Access Grants Instances request in order to retrieve the
	// next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessGrantsInstancesOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsInstancesOutput) SetAccessGrantsInstancesList added in v1.48.4

SetAccessGrantsInstancesList sets the AccessGrantsInstancesList field's value.

func (*ListAccessGrantsInstancesOutput) SetNextToken added in v1.48.4

SetNextToken sets the NextToken field's value.

func (ListAccessGrantsInstancesOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessGrantsLocationsEntry added in v1.48.4

type ListAccessGrantsLocationsEntry struct {

	// The Amazon Resource Name (ARN) of the registered location.
	AccessGrantsLocationArn *string `min:"1" type:"string"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The date and time when you registered the location.
	CreatedAt *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the IAM role for the registered location.
	// S3 Access Grants assumes this role to manage access to the registered location.
	IAMRoleArn *string `min:"1" type:"string"`

	// The S3 path to the location that you are registering. The location scope
	// can be the default S3 location s3://, the S3 path to a bucket s3://<bucket>,
	// or the S3 path to a bucket and prefix s3://<bucket>/<prefix>. A prefix in
	// S3 is a string of characters at the beginning of an object key name used
	// to organize the objects that you store in your S3 buckets. For example, object
	// key names that start with the engineering/ prefix or object key names that
	// start with the marketing/campaigns/ prefix.
	LocationScope *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A container for information about the registered location.

func (ListAccessGrantsLocationsEntry) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsLocationsEntry) SetAccessGrantsLocationArn added in v1.48.4

func (s *ListAccessGrantsLocationsEntry) SetAccessGrantsLocationArn(v string) *ListAccessGrantsLocationsEntry

SetAccessGrantsLocationArn sets the AccessGrantsLocationArn field's value.

func (*ListAccessGrantsLocationsEntry) SetAccessGrantsLocationId added in v1.48.4

func (s *ListAccessGrantsLocationsEntry) SetAccessGrantsLocationId(v string) *ListAccessGrantsLocationsEntry

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*ListAccessGrantsLocationsEntry) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*ListAccessGrantsLocationsEntry) SetIAMRoleArn added in v1.48.4

SetIAMRoleArn sets the IAMRoleArn field's value.

func (*ListAccessGrantsLocationsEntry) SetLocationScope added in v1.48.4

SetLocationScope sets the LocationScope field's value.

func (ListAccessGrantsLocationsEntry) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessGrantsLocationsInput added in v1.48.4

type ListAccessGrantsLocationsInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The S3 path to the location that you are registering. The location scope
	// can be the default S3 location s3://, the S3 path to a bucket s3://<bucket>,
	// or the S3 path to a bucket and prefix s3://<bucket>/<prefix>. A prefix in
	// S3 is a string of characters at the beginning of an object key name used
	// to organize the objects that you store in your S3 buckets. For example, object
	// key names that start with the engineering/ prefix or object key names that
	// start with the marketing/campaigns/ prefix.
	LocationScope *string `location:"querystring" locationName:"locationscope" min:"1" type:"string"`

	// The maximum number of access grants that you would like returned in the List
	// Access Grants response. If the results include the pagination token NextToken,
	// make another call using the NextToken to determine if there are more results.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// A pagination token to request the next page of results. Pass this value into
	// a subsequent List Access Grants Locations request in order to retrieve the
	// next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessGrantsLocationsInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsLocationsInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*ListAccessGrantsLocationsInput) SetLocationScope added in v1.48.4

SetLocationScope sets the LocationScope field's value.

func (*ListAccessGrantsLocationsInput) SetMaxResults added in v1.48.4

SetMaxResults sets the MaxResults field's value.

func (*ListAccessGrantsLocationsInput) SetNextToken added in v1.48.4

SetNextToken sets the NextToken field's value.

func (ListAccessGrantsLocationsInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsLocationsInput) Validate added in v1.48.4

func (s *ListAccessGrantsLocationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccessGrantsLocationsOutput added in v1.48.4

type ListAccessGrantsLocationsOutput struct {

	// A container for a list of registered locations in an S3 Access Grants instance.
	AccessGrantsLocationsList []*ListAccessGrantsLocationsEntry `locationNameList:"AccessGrantsLocation" type:"list"`

	// A pagination token to request the next page of results. Pass this value into
	// a subsequent List Access Grants Locations request in order to retrieve the
	// next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessGrantsLocationsOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsLocationsOutput) SetAccessGrantsLocationsList added in v1.48.4

SetAccessGrantsLocationsList sets the AccessGrantsLocationsList field's value.

func (*ListAccessGrantsLocationsOutput) SetNextToken added in v1.48.4

SetNextToken sets the NextToken field's value.

func (ListAccessGrantsLocationsOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessGrantsOutput added in v1.48.4

type ListAccessGrantsOutput struct {

	// A container for a list of grants in an S3 Access Grants instance.
	AccessGrantsList []*ListAccessGrantEntry `locationNameList:"AccessGrant" type:"list"`

	// A pagination token to request the next page of results. Pass this value into
	// a subsequent List Access Grants request in order to retrieve the next page
	// of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessGrantsOutput) GoString added in v1.48.4

func (s ListAccessGrantsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessGrantsOutput) SetAccessGrantsList added in v1.48.4

SetAccessGrantsList sets the AccessGrantsList field's value.

func (*ListAccessGrantsOutput) SetNextToken added in v1.48.4

SetNextToken sets the NextToken field's value.

func (ListAccessGrantsOutput) String added in v1.48.4

func (s ListAccessGrantsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessPointsForObjectLambdaInput added in v1.38.0

type ListAccessPointsForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The maximum number of access points that you want to include in the list.
	// The response may contain fewer access points but will never contain more.
	// If there are more than this number of access points, then the response will
	// include a continuation token in the NextToken field that you can use to retrieve
	// the next page of access points.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// If the list has more access points than can be returned in one call to this
	// API, this field contains a continuation token that you can provide in subsequent
	// calls to this API to retrieve additional access points.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessPointsForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessPointsForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*ListAccessPointsForObjectLambdaInput) SetMaxResults added in v1.38.0

SetMaxResults sets the MaxResults field's value.

func (*ListAccessPointsForObjectLambdaInput) SetNextToken added in v1.38.0

SetNextToken sets the NextToken field's value.

func (ListAccessPointsForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessPointsForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type ListAccessPointsForObjectLambdaOutput added in v1.38.0

type ListAccessPointsForObjectLambdaOutput struct {

	// If the list has more access points than can be returned in one call to this
	// API, this field contains a continuation token that you can provide in subsequent
	// calls to this API to retrieve additional access points.
	NextToken *string `min:"1" type:"string"`

	// Returns list of Object Lambda Access Points.
	ObjectLambdaAccessPointList []*ObjectLambdaAccessPoint `locationNameList:"ObjectLambdaAccessPoint" type:"list"`
	// contains filtered or unexported fields
}

func (ListAccessPointsForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessPointsForObjectLambdaOutput) SetNextToken added in v1.38.0

SetNextToken sets the NextToken field's value.

func (*ListAccessPointsForObjectLambdaOutput) SetObjectLambdaAccessPointList added in v1.38.0

SetObjectLambdaAccessPointList sets the ObjectLambdaAccessPointList field's value.

func (ListAccessPointsForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccessPointsInput added in v1.25.46

type ListAccessPointsInput struct {

	// The Amazon Web Services account ID for the account that owns the specified
	// access points.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the bucket whose associated access points you want to list.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	Bucket *string `location:"querystring" locationName:"bucket" min:"3" type:"string"`

	// The maximum number of access points that you want to include in the list.
	// If the specified bucket has more than this number of access points, then
	// the response will include a continuation token in the NextToken field that
	// you can use to retrieve the next page of access points.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// A continuation token. If a previous call to ListAccessPoints returned a continuation
	// token in the NextToken field, then providing that value here causes Amazon
	// S3 to retrieve the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessPointsInput) GoString added in v1.25.46

func (s ListAccessPointsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessPointsInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*ListAccessPointsInput) SetBucket added in v1.25.46

SetBucket sets the Bucket field's value.

func (*ListAccessPointsInput) SetMaxResults added in v1.25.46

func (s *ListAccessPointsInput) SetMaxResults(v int64) *ListAccessPointsInput

SetMaxResults sets the MaxResults field's value.

func (*ListAccessPointsInput) SetNextToken added in v1.25.46

SetNextToken sets the NextToken field's value.

func (ListAccessPointsInput) String added in v1.25.46

func (s ListAccessPointsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessPointsInput) Validate added in v1.25.46

func (s *ListAccessPointsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAccessPointsOutput added in v1.25.46

type ListAccessPointsOutput struct {

	// Contains identification and configuration information for one or more access
	// points associated with the specified bucket.
	AccessPointList []*AccessPoint `locationNameList:"AccessPoint" type:"list"`

	// If the specified bucket has more access points than can be returned in one
	// call to this API, this field contains a continuation token that you can provide
	// in subsequent calls to this API to retrieve additional access points.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAccessPointsOutput) GoString added in v1.25.46

func (s ListAccessPointsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccessPointsOutput) SetAccessPointList added in v1.25.46

func (s *ListAccessPointsOutput) SetAccessPointList(v []*AccessPoint) *ListAccessPointsOutput

SetAccessPointList sets the AccessPointList field's value.

func (*ListAccessPointsOutput) SetNextToken added in v1.25.46

SetNextToken sets the NextToken field's value.

func (ListAccessPointsOutput) String added in v1.25.46

func (s ListAccessPointsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListJobsInput added in v1.19.21

type ListJobsInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The List Jobs request returns jobs that match the statuses listed in this
	// element.
	JobStatuses []*string `location:"querystring" locationName:"jobStatuses" type:"list" enum:"JobStatus"`

	// The maximum number of jobs that Amazon S3 will include in the List Jobs response.
	// If there are more jobs than this number, the response will include a pagination
	// token in the NextToken field to enable you to retrieve the next page of results.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// A pagination token to request the next page of results. Use the token that
	// Amazon S3 returned in the NextToken element of the ListJobsResult from the
	// previous List Jobs request.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobsInput) GoString added in v1.19.21

func (s ListJobsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListJobsInput) SetAccountId added in v1.19.21

func (s *ListJobsInput) SetAccountId(v string) *ListJobsInput

SetAccountId sets the AccountId field's value.

func (*ListJobsInput) SetJobStatuses added in v1.19.21

func (s *ListJobsInput) SetJobStatuses(v []*string) *ListJobsInput

SetJobStatuses sets the JobStatuses field's value.

func (*ListJobsInput) SetMaxResults added in v1.19.21

func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput

SetMaxResults sets the MaxResults field's value.

func (*ListJobsInput) SetNextToken added in v1.19.21

func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput

SetNextToken sets the NextToken field's value.

func (ListJobsInput) String added in v1.19.21

func (s ListJobsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListJobsInput) Validate added in v1.19.21

func (s *ListJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsOutput added in v1.19.21

type ListJobsOutput struct {

	// The list of current jobs and jobs that have ended within the last 30 days.
	Jobs []*JobListDescriptor `type:"list"`

	// If the List Jobs request produced more than the maximum number of results,
	// you can pass this value into a subsequent List Jobs request in order to retrieve
	// the next page of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobsOutput) GoString added in v1.19.21

func (s ListJobsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListJobsOutput) SetJobs added in v1.19.21

SetJobs sets the Jobs field's value.

func (*ListJobsOutput) SetNextToken added in v1.19.21

func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput

SetNextToken sets the NextToken field's value.

func (ListJobsOutput) String added in v1.19.21

func (s ListJobsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMultiRegionAccessPointsInput added in v1.40.36

type ListMultiRegionAccessPointsInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Not currently used. Do not use this parameter.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// Not currently used. Do not use this parameter.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMultiRegionAccessPointsInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMultiRegionAccessPointsInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*ListMultiRegionAccessPointsInput) SetMaxResults added in v1.40.36

SetMaxResults sets the MaxResults field's value.

func (*ListMultiRegionAccessPointsInput) SetNextToken added in v1.40.36

SetNextToken sets the NextToken field's value.

func (ListMultiRegionAccessPointsInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMultiRegionAccessPointsInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type ListMultiRegionAccessPointsOutput added in v1.40.36

type ListMultiRegionAccessPointsOutput struct {

	// The list of Multi-Region Access Points associated with the user.
	AccessPoints []*MultiRegionAccessPointReport `locationNameList:"AccessPoint" type:"list"`

	// If the specified bucket has more Multi-Region Access Points than can be returned
	// in one call to this action, this field contains a continuation token. You
	// can use this token tin subsequent calls to this action to retrieve additional
	// Multi-Region Access Points.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMultiRegionAccessPointsOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMultiRegionAccessPointsOutput) SetAccessPoints added in v1.40.36

SetAccessPoints sets the AccessPoints field's value.

func (*ListMultiRegionAccessPointsOutput) SetNextToken added in v1.40.36

SetNextToken sets the NextToken field's value.

func (ListMultiRegionAccessPointsOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRegionalBucketsInput added in v1.35.0

type ListRegionalBucketsInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The ID of the Outposts resource.
	//
	// This ID is required by Amazon S3 on Outposts buckets.
	OutpostId *string `location:"header" locationName:"x-amz-outpost-id" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListRegionalBucketsInput) GoString added in v1.35.0

func (s ListRegionalBucketsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegionalBucketsInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*ListRegionalBucketsInput) SetMaxResults added in v1.35.0

SetMaxResults sets the MaxResults field's value.

func (*ListRegionalBucketsInput) SetNextToken added in v1.35.0

SetNextToken sets the NextToken field's value.

func (*ListRegionalBucketsInput) SetOutpostId added in v1.35.0

SetOutpostId sets the OutpostId field's value.

func (ListRegionalBucketsInput) String added in v1.35.0

func (s ListRegionalBucketsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegionalBucketsInput) Validate added in v1.35.0

func (s *ListRegionalBucketsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListRegionalBucketsOutput added in v1.35.0

type ListRegionalBucketsOutput struct {

	// NextToken is sent when isTruncated is true, which means there are more buckets
	// that can be listed. The next list requests to Amazon S3 can be continued
	// with this NextToken. NextToken is obfuscated and is not a real key.
	NextToken *string `min:"1" type:"string"`

	RegionalBucketList []*RegionalBucket `locationNameList:"RegionalBucket" type:"list"`
	// contains filtered or unexported fields
}

func (ListRegionalBucketsOutput) GoString added in v1.35.0

func (s ListRegionalBucketsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegionalBucketsOutput) SetNextToken added in v1.35.0

SetNextToken sets the NextToken field's value.

func (*ListRegionalBucketsOutput) SetRegionalBucketList added in v1.35.0

func (s *ListRegionalBucketsOutput) SetRegionalBucketList(v []*RegionalBucket) *ListRegionalBucketsOutput

SetRegionalBucketList sets the RegionalBucketList field's value.

func (ListRegionalBucketsOutput) String added in v1.35.0

func (s ListRegionalBucketsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStorageLensConfigurationEntry added in v1.35.31

type ListStorageLensConfigurationEntry struct {

	// A container for the S3 Storage Lens home Region. Your metrics data is stored
	// and retained in your designated S3 Storage Lens home Region.
	//
	// HomeRegion is a required field
	HomeRegion *string `min:"5" type:"string" required:"true"`

	// A container for the S3 Storage Lens configuration ID.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// A container for whether the S3 Storage Lens configuration is enabled. This
	// property is required.
	IsEnabled *bool `type:"boolean"`

	// The ARN of the S3 Storage Lens configuration. This property is read-only.
	//
	// StorageLensArn is a required field
	StorageLensArn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Part of ListStorageLensConfigurationResult. Each entry includes the description of the S3 Storage Lens configuration, its home Region, whether it is enabled, its Amazon Resource Name (ARN), and config ID.

func (ListStorageLensConfigurationEntry) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensConfigurationEntry) SetHomeRegion added in v1.35.31

SetHomeRegion sets the HomeRegion field's value.

func (*ListStorageLensConfigurationEntry) SetId added in v1.35.31

SetId sets the Id field's value.

func (*ListStorageLensConfigurationEntry) SetIsEnabled added in v1.35.31

SetIsEnabled sets the IsEnabled field's value.

func (*ListStorageLensConfigurationEntry) SetStorageLensArn added in v1.35.31

SetStorageLensArn sets the StorageLensArn field's value.

func (ListStorageLensConfigurationEntry) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStorageLensConfigurationsInput added in v1.35.31

type ListStorageLensConfigurationsInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// A pagination token to request the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListStorageLensConfigurationsInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensConfigurationsInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*ListStorageLensConfigurationsInput) SetNextToken added in v1.35.31

SetNextToken sets the NextToken field's value.

func (ListStorageLensConfigurationsInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensConfigurationsInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type ListStorageLensConfigurationsOutput added in v1.35.31

type ListStorageLensConfigurationsOutput struct {

	// If the request produced more than the maximum number of S3 Storage Lens configuration
	// results, you can pass this value into a subsequent request to retrieve the
	// next page of results.
	NextToken *string `type:"string"`

	// A list of S3 Storage Lens configurations.
	StorageLensConfigurationList []*ListStorageLensConfigurationEntry `locationNameList:"StorageLensConfiguration" type:"list" flattened:"true"`
	// contains filtered or unexported fields
}

func (ListStorageLensConfigurationsOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensConfigurationsOutput) SetNextToken added in v1.35.31

SetNextToken sets the NextToken field's value.

func (*ListStorageLensConfigurationsOutput) SetStorageLensConfigurationList added in v1.35.31

SetStorageLensConfigurationList sets the StorageLensConfigurationList field's value.

func (ListStorageLensConfigurationsOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStorageLensGroupEntry added in v1.47.12

type ListStorageLensGroupEntry struct {

	// Contains the Amazon Web Services Region where the Storage Lens group was
	// created.
	//
	// HomeRegion is a required field
	HomeRegion *string `min:"5" type:"string" required:"true"`

	// Contains the name of the Storage Lens group that exists in the specified
	// home Region.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property
	// is read-only.
	//
	// StorageLensGroupArn is a required field
	StorageLensGroupArn *string `min:"4" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Each entry contains a Storage Lens group that exists in the specified home Region.

func (ListStorageLensGroupEntry) GoString added in v1.47.12

func (s ListStorageLensGroupEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensGroupEntry) SetHomeRegion added in v1.47.12

SetHomeRegion sets the HomeRegion field's value.

func (*ListStorageLensGroupEntry) SetName added in v1.47.12

SetName sets the Name field's value.

func (*ListStorageLensGroupEntry) SetStorageLensGroupArn added in v1.47.12

func (s *ListStorageLensGroupEntry) SetStorageLensGroupArn(v string) *ListStorageLensGroupEntry

SetStorageLensGroupArn sets the StorageLensGroupArn field's value.

func (ListStorageLensGroupEntry) String added in v1.47.12

func (s ListStorageLensGroupEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStorageLensGroupsInput added in v1.47.12

type ListStorageLensGroupsInput struct {

	// The Amazon Web Services account ID that owns the Storage Lens groups.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListStorageLensGroupsInput) GoString added in v1.47.12

func (s ListStorageLensGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensGroupsInput) SetAccountId added in v1.47.12

SetAccountId sets the AccountId field's value.

func (*ListStorageLensGroupsInput) SetNextToken added in v1.47.12

SetNextToken sets the NextToken field's value.

func (ListStorageLensGroupsInput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensGroupsInput) Validate added in v1.47.12

func (s *ListStorageLensGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListStorageLensGroupsOutput added in v1.47.12

type ListStorageLensGroupsOutput struct {

	// If NextToken is returned, there are more Storage Lens groups results available.
	// The value of NextToken is a unique pagination token for each page. Make the
	// call again using the returned token to retrieve the next page. Keep all other
	// arguments unchanged. Each pagination token expires after 24 hours.
	NextToken *string `type:"string"`

	// The list of Storage Lens groups that exist in the specified home Region.
	StorageLensGroupList []*ListStorageLensGroupEntry `locationNameList:"StorageLensGroup" type:"list" flattened:"true"`
	// contains filtered or unexported fields
}

func (ListStorageLensGroupsOutput) GoString added in v1.47.12

func (s ListStorageLensGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStorageLensGroupsOutput) SetNextToken added in v1.47.12

SetNextToken sets the NextToken field's value.

func (*ListStorageLensGroupsOutput) SetStorageLensGroupList added in v1.47.12

SetStorageLensGroupList sets the StorageLensGroupList field's value.

func (ListStorageLensGroupsOutput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput added in v1.47.12

type ListTagsForResourceInput struct {

	// The Amazon Web Services account ID of the resource owner.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the S3 resource that you want to list the
	// tags for. The tagged resource can be an S3 Storage Lens group or S3 Access
	// Grants instance, registered location, or grant.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.47.12

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetAccountId added in v1.47.12

SetAccountId sets the AccountId field's value.

func (*ListTagsForResourceInput) SetResourceArn added in v1.47.12

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.47.12

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate added in v1.47.12

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput added in v1.47.12

type ListTagsForResourceOutput struct {

	// The Amazon Web Services resource tags that are associated with the resource.
	Tags []*Tag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.47.12

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags added in v1.47.12

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.47.12

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MatchObjectAge added in v1.47.12

type MatchObjectAge struct {

	// Specifies the maximum object age in days. Must be a positive whole number,
	// greater than the minimum object age and less than or equal to 2,147,483,647.
	DaysGreaterThan *int64 `type:"integer"`

	// Specifies the minimum object age in days. The value must be a positive whole
	// number, greater than 0 and less than or equal to 2,147,483,647.
	DaysLessThan *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A filter condition that specifies the object age range of included objects in days. Only integers are supported.

func (MatchObjectAge) GoString added in v1.47.12

func (s MatchObjectAge) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MatchObjectAge) SetDaysGreaterThan added in v1.47.12

func (s *MatchObjectAge) SetDaysGreaterThan(v int64) *MatchObjectAge

SetDaysGreaterThan sets the DaysGreaterThan field's value.

func (*MatchObjectAge) SetDaysLessThan added in v1.47.12

func (s *MatchObjectAge) SetDaysLessThan(v int64) *MatchObjectAge

SetDaysLessThan sets the DaysLessThan field's value.

func (MatchObjectAge) String added in v1.47.12

func (s MatchObjectAge) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MatchObjectSize added in v1.47.12

type MatchObjectSize struct {

	// Specifies the minimum object size in Bytes. The value must be a positive
	// number, greater than 0 and less than 5 TB.
	BytesGreaterThan *int64 `type:"long"`

	// Specifies the maximum object size in Bytes. The value must be a positive
	// number, greater than the minimum object size and less than 5 TB.
	BytesLessThan *int64 `type:"long"`
	// contains filtered or unexported fields
}

A filter condition that specifies the object size range of included objects in bytes. Only integers are supported.

func (MatchObjectSize) GoString added in v1.47.12

func (s MatchObjectSize) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MatchObjectSize) SetBytesGreaterThan added in v1.47.12

func (s *MatchObjectSize) SetBytesGreaterThan(v int64) *MatchObjectSize

SetBytesGreaterThan sets the BytesGreaterThan field's value.

func (*MatchObjectSize) SetBytesLessThan added in v1.47.12

func (s *MatchObjectSize) SetBytesLessThan(v int64) *MatchObjectSize

SetBytesLessThan sets the BytesLessThan field's value.

func (MatchObjectSize) String added in v1.47.12

func (s MatchObjectSize) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Metrics added in v1.44.220

type Metrics struct {

	// A container that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold
	// event.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	EventThreshold *ReplicationTimeValue `type:"structure"`

	// Specifies whether replication metrics are enabled.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"MetricsStatus"`
	// contains filtered or unexported fields
}

A container that specifies replication metrics-related settings.

func (Metrics) GoString added in v1.44.220

func (s Metrics) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Metrics) SetEventThreshold added in v1.44.220

func (s *Metrics) SetEventThreshold(v *ReplicationTimeValue) *Metrics

SetEventThreshold sets the EventThreshold field's value.

func (*Metrics) SetStatus added in v1.44.220

func (s *Metrics) SetStatus(v string) *Metrics

SetStatus sets the Status field's value.

func (Metrics) String added in v1.44.220

func (s Metrics) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Metrics) Validate added in v1.44.220

func (s *Metrics) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MultiRegionAccessPointPolicyDocument added in v1.40.36

type MultiRegionAccessPointPolicyDocument struct {

	// The last established policy for the Multi-Region Access Point.
	Established *EstablishedMultiRegionAccessPointPolicy `type:"structure"`

	// The proposed policy for the Multi-Region Access Point.
	Proposed *ProposedMultiRegionAccessPointPolicy `type:"structure"`
	// contains filtered or unexported fields
}

The Multi-Region Access Point access control policy.

When you update the policy, the update is first listed as the proposed policy. After the update is finished and all Regions have been updated, the proposed policy is listed as the established policy. If both policies have the same version number, the proposed policy is the established policy.

func (MultiRegionAccessPointPolicyDocument) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultiRegionAccessPointPolicyDocument) SetEstablished added in v1.40.36

SetEstablished sets the Established field's value.

func (*MultiRegionAccessPointPolicyDocument) SetProposed added in v1.40.36

SetProposed sets the Proposed field's value.

func (MultiRegionAccessPointPolicyDocument) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MultiRegionAccessPointRegionalResponse added in v1.40.36

type MultiRegionAccessPointRegionalResponse struct {

	// The name of the Region in the Multi-Region Access Point.
	Name *string `min:"1" type:"string"`

	// The current status of the Multi-Region Access Point in this Region.
	RequestStatus *string `type:"string"`
	// contains filtered or unexported fields
}

Status information for a single Multi-Region Access Point Region.

func (MultiRegionAccessPointRegionalResponse) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultiRegionAccessPointRegionalResponse) SetName added in v1.40.36

SetName sets the Name field's value.

func (*MultiRegionAccessPointRegionalResponse) SetRequestStatus added in v1.40.36

SetRequestStatus sets the RequestStatus field's value.

func (MultiRegionAccessPointRegionalResponse) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MultiRegionAccessPointReport added in v1.40.36

type MultiRegionAccessPointReport struct {

	// The alias for the Multi-Region Access Point. For more information about the
	// distinction between the name and the alias of an Multi-Region Access Point,
	// see Rules for naming Amazon S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming).
	Alias *string `type:"string"`

	// When the Multi-Region Access Point create request was received.
	CreatedAt *time.Time `type:"timestamp"`

	// The name of the Multi-Region Access Point.
	Name *string `type:"string"`

	// The PublicAccessBlock configuration that you want to apply to this Amazon
	// S3 account. 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 S3 User Guide.
	//
	// This data type is not supported for Amazon S3 on Outposts.
	PublicAccessBlock *PublicAccessBlockConfiguration `type:"structure"`

	// A collection of the Regions and buckets associated with the Multi-Region
	// Access Point.
	Regions []*RegionReport `locationNameList:"Region" type:"list"`

	// The current status of the Multi-Region Access Point.
	//
	// CREATING and DELETING are temporary states that exist while the request is
	// propagating and being completed. If a Multi-Region Access Point has a status
	// of PARTIALLY_CREATED, you can retry creation or send a request to delete
	// the Multi-Region Access Point. If a Multi-Region Access Point has a status
	// of PARTIALLY_DELETED, you can retry a delete request to finish the deletion
	// of the Multi-Region Access Point.
	Status *string `type:"string" enum:"MultiRegionAccessPointStatus"`
	// contains filtered or unexported fields
}

A collection of statuses for a Multi-Region Access Point in the various Regions it supports.

func (MultiRegionAccessPointReport) GoString added in v1.40.36

func (s MultiRegionAccessPointReport) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultiRegionAccessPointReport) SetAlias added in v1.40.36

SetAlias sets the Alias field's value.

func (*MultiRegionAccessPointReport) SetCreatedAt added in v1.40.36

SetCreatedAt sets the CreatedAt field's value.

func (*MultiRegionAccessPointReport) SetName added in v1.40.36

SetName sets the Name field's value.

func (*MultiRegionAccessPointReport) SetPublicAccessBlock added in v1.40.36

SetPublicAccessBlock sets the PublicAccessBlock field's value.

func (*MultiRegionAccessPointReport) SetRegions added in v1.40.36

SetRegions sets the Regions field's value.

func (*MultiRegionAccessPointReport) SetStatus added in v1.40.36

SetStatus sets the Status field's value.

func (MultiRegionAccessPointReport) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MultiRegionAccessPointRoute added in v1.44.147

type MultiRegionAccessPointRoute struct {

	// The name of the Amazon S3 bucket for which you'll submit a routing configuration
	// change. Either the Bucket or the Region value must be provided. If both are
	// provided, the bucket must be in the specified Region.
	Bucket *string `min:"3" type:"string"`

	// The Amazon Web Services Region to which you'll be submitting a routing configuration
	// change. Either the Bucket or the Region value must be provided. If both are
	// provided, the bucket must be in the specified Region.
	Region *string `min:"1" type:"string"`

	// The traffic state for the specified bucket or Amazon Web Services Region.
	//
	// A value of 0 indicates a passive state, which means that no new traffic will
	// be routed to the Region.
	//
	// A value of 100 indicates an active state, which means that traffic will be
	// routed to the specified Region.
	//
	// When the routing configuration for a Region is changed from active to passive,
	// any in-progress operations (uploads, copies, deletes, and so on) to the formerly
	// active Region will continue to run to until a final success or failure status
	// is reached.
	//
	// If all Regions in the routing configuration are designated as passive, you'll
	// receive an InvalidRequest error.
	//
	// TrafficDialPercentage is a required field
	TrafficDialPercentage *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

A structure for a Multi-Region Access Point that indicates where Amazon S3 traffic can be routed. Routes can be either active or passive. Active routes can process Amazon S3 requests through the Multi-Region Access Point, but passive routes are not eligible to process Amazon S3 requests.

Each route contains the Amazon S3 bucket name and the Amazon Web Services Region that the bucket is located in. The route also includes the TrafficDialPercentage value, which shows whether the bucket and Region are active (indicated by a value of 100) or passive (indicated by a value of 0).

func (MultiRegionAccessPointRoute) GoString added in v1.44.147

func (s MultiRegionAccessPointRoute) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultiRegionAccessPointRoute) SetBucket added in v1.44.147

SetBucket sets the Bucket field's value.

func (*MultiRegionAccessPointRoute) SetRegion added in v1.44.147

SetRegion sets the Region field's value.

func (*MultiRegionAccessPointRoute) SetTrafficDialPercentage added in v1.44.147

func (s *MultiRegionAccessPointRoute) SetTrafficDialPercentage(v int64) *MultiRegionAccessPointRoute

SetTrafficDialPercentage sets the TrafficDialPercentage field's value.

func (MultiRegionAccessPointRoute) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultiRegionAccessPointRoute) Validate added in v1.44.147

func (s *MultiRegionAccessPointRoute) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MultiRegionAccessPointsAsyncResponse added in v1.40.36

type MultiRegionAccessPointsAsyncResponse struct {

	// A collection of status information for the different Regions that a Multi-Region
	// Access Point supports.
	Regions []*MultiRegionAccessPointRegionalResponse `locationNameList:"Region" type:"list"`
	// contains filtered or unexported fields
}

The Multi-Region Access Point details that are returned when querying about an asynchronous request.

func (MultiRegionAccessPointsAsyncResponse) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultiRegionAccessPointsAsyncResponse) SetRegions added in v1.40.36

SetRegions sets the Regions field's value.

func (MultiRegionAccessPointsAsyncResponse) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NoncurrentVersionExpiration added in v1.35.0

type NoncurrentVersionExpiration struct {

	// Specifies how many noncurrent versions S3 on Outposts will retain. If there
	// are this many more recent noncurrent versions, S3 on Outposts will take the
	// associated action. For more information about noncurrent versions, see Lifecycle
	// configuration elements (https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html)
	// in the Amazon S3 User Guide.
	NewerNoncurrentVersions *int64 `type:"integer"`

	// Specifies the number of days an object is noncurrent before Amazon S3 can
	// perform the associated action. For information about the noncurrent days
	// calculations, see How Amazon S3 Calculates When an Object Became Noncurrent
	// (https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations)
	// in the Amazon S3 User Guide.
	NoncurrentDays *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The container of the noncurrent version expiration.

func (NoncurrentVersionExpiration) GoString added in v1.35.0

func (s NoncurrentVersionExpiration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NoncurrentVersionExpiration) SetNewerNoncurrentVersions added in v1.44.129

func (s *NoncurrentVersionExpiration) SetNewerNoncurrentVersions(v int64) *NoncurrentVersionExpiration

SetNewerNoncurrentVersions sets the NewerNoncurrentVersions field's value.

func (*NoncurrentVersionExpiration) SetNoncurrentDays added in v1.35.0

SetNoncurrentDays sets the NoncurrentDays field's value.

func (NoncurrentVersionExpiration) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NoncurrentVersionTransition added in v1.35.0

type NoncurrentVersionTransition struct {

	// Specifies the number of days an object is noncurrent before Amazon S3 can
	// perform the associated action. For information about the noncurrent days
	// calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent
	// (https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations)
	// in the Amazon S3 User Guide.
	NoncurrentDays *int64 `type:"integer"`

	// The class of storage used to store the object.
	StorageClass *string `type:"string" enum:"TransitionStorageClass"`
	// contains filtered or unexported fields
}

The container for the noncurrent version transition.

func (NoncurrentVersionTransition) GoString added in v1.35.0

func (s NoncurrentVersionTransition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NoncurrentVersionTransition) SetNoncurrentDays added in v1.35.0

SetNoncurrentDays sets the NoncurrentDays field's value.

func (*NoncurrentVersionTransition) SetStorageClass added in v1.35.0

SetStorageClass sets the StorageClass field's value.

func (NoncurrentVersionTransition) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ObjectLambdaAccessPoint added in v1.38.0

type ObjectLambdaAccessPoint struct {

	// The alias of the Object Lambda Access Point.
	Alias *ObjectLambdaAccessPointAlias `type:"structure"`

	// The name of the Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `min:"3" type:"string" required:"true"`

	// Specifies the ARN for the Object Lambda Access Point.
	ObjectLambdaAccessPointArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

An access point with an attached Lambda function used to access transformed data from an Amazon S3 bucket.

func (ObjectLambdaAccessPoint) GoString added in v1.38.0

func (s ObjectLambdaAccessPoint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaAccessPoint) SetAlias added in v1.44.222

SetAlias sets the Alias field's value.

func (*ObjectLambdaAccessPoint) SetName added in v1.38.0

SetName sets the Name field's value.

func (*ObjectLambdaAccessPoint) SetObjectLambdaAccessPointArn added in v1.38.0

func (s *ObjectLambdaAccessPoint) SetObjectLambdaAccessPointArn(v string) *ObjectLambdaAccessPoint

SetObjectLambdaAccessPointArn sets the ObjectLambdaAccessPointArn field's value.

func (ObjectLambdaAccessPoint) String added in v1.38.0

func (s ObjectLambdaAccessPoint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ObjectLambdaAccessPointAlias added in v1.44.222

type ObjectLambdaAccessPointAlias struct {

	// The status of the Object Lambda Access Point alias. If the status is PROVISIONING,
	// the Object Lambda Access Point is provisioning the alias and the alias is
	// not ready for use yet. If the status is READY, the Object Lambda Access Point
	// alias is successfully provisioned and ready for use.
	Status *string `min:"2" type:"string" enum:"ObjectLambdaAccessPointAliasStatus"`

	// The alias value of the Object Lambda Access Point.
	Value *string `min:"3" type:"string"`
	// contains filtered or unexported fields
}

The alias of an Object Lambda Access Point. For more information, see How to use a bucket-style alias for your S3 bucket Object Lambda Access Point (https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-use.html#ol-access-points-alias).

func (ObjectLambdaAccessPointAlias) GoString added in v1.44.222

func (s ObjectLambdaAccessPointAlias) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaAccessPointAlias) SetStatus added in v1.44.222

SetStatus sets the Status field's value.

func (*ObjectLambdaAccessPointAlias) SetValue added in v1.44.222

SetValue sets the Value field's value.

func (ObjectLambdaAccessPointAlias) String added in v1.44.222

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ObjectLambdaConfiguration added in v1.38.0

type ObjectLambdaConfiguration struct {

	// A container for allowed features. Valid inputs are GetObject-Range, GetObject-PartNumber,
	// HeadObject-Range, and HeadObject-PartNumber.
	AllowedFeatures []*string `locationNameList:"AllowedFeature" type:"list" enum:"ObjectLambdaAllowedFeature"`

	// A container for whether the CloudWatch metrics configuration is enabled.
	CloudWatchMetricsEnabled *bool `type:"boolean"`

	// Standard access point associated with the Object Lambda Access Point.
	//
	// SupportingAccessPoint is a required field
	SupportingAccessPoint *string `min:"1" type:"string" required:"true"`

	// A container for transformation configurations for an Object Lambda Access
	// Point.
	//
	// TransformationConfigurations is a required field
	TransformationConfigurations []*ObjectLambdaTransformationConfiguration `locationNameList:"TransformationConfiguration" type:"list" required:"true"`
	// contains filtered or unexported fields
}

A configuration used when creating an Object Lambda Access Point.

func (ObjectLambdaConfiguration) GoString added in v1.38.0

func (s ObjectLambdaConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaConfiguration) SetAllowedFeatures added in v1.38.0

func (s *ObjectLambdaConfiguration) SetAllowedFeatures(v []*string) *ObjectLambdaConfiguration

SetAllowedFeatures sets the AllowedFeatures field's value.

func (*ObjectLambdaConfiguration) SetCloudWatchMetricsEnabled added in v1.38.0

func (s *ObjectLambdaConfiguration) SetCloudWatchMetricsEnabled(v bool) *ObjectLambdaConfiguration

SetCloudWatchMetricsEnabled sets the CloudWatchMetricsEnabled field's value.

func (*ObjectLambdaConfiguration) SetSupportingAccessPoint added in v1.38.0

func (s *ObjectLambdaConfiguration) SetSupportingAccessPoint(v string) *ObjectLambdaConfiguration

SetSupportingAccessPoint sets the SupportingAccessPoint field's value.

func (*ObjectLambdaConfiguration) SetTransformationConfigurations added in v1.38.0

SetTransformationConfigurations sets the TransformationConfigurations field's value.

func (ObjectLambdaConfiguration) String added in v1.38.0

func (s ObjectLambdaConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaConfiguration) Validate added in v1.38.0

func (s *ObjectLambdaConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ObjectLambdaContentTransformation added in v1.38.0

type ObjectLambdaContentTransformation struct {

	// A container for an Lambda function.
	AwsLambda *AwsLambdaTransformation `type:"structure"`
	// contains filtered or unexported fields
}

A container for AwsLambdaTransformation.

func (ObjectLambdaContentTransformation) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaContentTransformation) SetAwsLambda added in v1.38.0

SetAwsLambda sets the AwsLambda field's value.

func (ObjectLambdaContentTransformation) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaContentTransformation) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type ObjectLambdaTransformationConfiguration added in v1.38.0

type ObjectLambdaTransformationConfiguration struct {

	// A container for the action of an Object Lambda Access Point configuration.
	// Valid inputs are GetObject, ListObjects, HeadObject, and ListObjectsV2.
	//
	// Actions is a required field
	Actions []*string `locationNameList:"Action" type:"list" required:"true" enum:"ObjectLambdaTransformationConfigurationAction"`

	// A container for the content transformation of an Object Lambda Access Point
	// configuration.
	//
	// ContentTransformation is a required field
	ContentTransformation *ObjectLambdaContentTransformation `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A configuration used when creating an Object Lambda Access Point transformation.

func (ObjectLambdaTransformationConfiguration) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaTransformationConfiguration) SetActions added in v1.38.0

SetActions sets the Actions field's value.

func (*ObjectLambdaTransformationConfiguration) SetContentTransformation added in v1.38.0

SetContentTransformation sets the ContentTransformation field's value.

func (ObjectLambdaTransformationConfiguration) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectLambdaTransformationConfiguration) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type PolicyStatus added in v1.25.46

type PolicyStatus struct {
	IsPublic *bool `locationName:"IsPublic" type:"boolean"`
	// contains filtered or unexported fields
}

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 S3 User Guide.

func (PolicyStatus) GoString added in v1.25.46

func (s PolicyStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PolicyStatus) SetIsPublic added in v1.25.46

func (s *PolicyStatus) SetIsPublic(v bool) *PolicyStatus

SetIsPublic sets the IsPublic field's value.

func (PolicyStatus) String added in v1.25.46

func (s PolicyStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PrefixLevel added in v1.35.31

type PrefixLevel struct {

	// A container for the prefix-level storage metrics for S3 Storage Lens.
	//
	// StorageMetrics is a required field
	StorageMetrics *PrefixLevelStorageMetrics `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A container for the prefix-level configuration.

func (PrefixLevel) GoString added in v1.35.31

func (s PrefixLevel) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PrefixLevel) SetStorageMetrics added in v1.35.31

func (s *PrefixLevel) SetStorageMetrics(v *PrefixLevelStorageMetrics) *PrefixLevel

SetStorageMetrics sets the StorageMetrics field's value.

func (PrefixLevel) String added in v1.35.31

func (s PrefixLevel) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PrefixLevel) Validate added in v1.35.31

func (s *PrefixLevel) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PrefixLevelStorageMetrics added in v1.35.31

type PrefixLevelStorageMetrics struct {

	// A container for whether prefix-level storage metrics are enabled.
	IsEnabled *bool `type:"boolean"`

	SelectionCriteria *SelectionCriteria `type:"structure"`
	// contains filtered or unexported fields
}

A container for the prefix-level storage metrics for S3 Storage Lens.

func (PrefixLevelStorageMetrics) GoString added in v1.35.31

func (s PrefixLevelStorageMetrics) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PrefixLevelStorageMetrics) SetIsEnabled added in v1.35.31

SetIsEnabled sets the IsEnabled field's value.

func (*PrefixLevelStorageMetrics) SetSelectionCriteria added in v1.35.31

SetSelectionCriteria sets the SelectionCriteria field's value.

func (PrefixLevelStorageMetrics) String added in v1.35.31

func (s PrefixLevelStorageMetrics) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PrefixLevelStorageMetrics) Validate added in v1.35.31

func (s *PrefixLevelStorageMetrics) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProposedMultiRegionAccessPointPolicy added in v1.40.36

type ProposedMultiRegionAccessPointPolicy struct {

	// The details of the proposed policy.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

The proposed access control policy for the Multi-Region Access Point.

When you update the policy, the update is first listed as the proposed policy. After the update is finished and all Regions have been updated, the proposed policy is listed as the established policy. If both policies have the same version number, the proposed policy is the established policy.

func (ProposedMultiRegionAccessPointPolicy) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProposedMultiRegionAccessPointPolicy) SetPolicy added in v1.40.36

SetPolicy sets the Policy field's value.

func (ProposedMultiRegionAccessPointPolicy) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PublicAccessBlockConfiguration

type PublicAccessBlockConfiguration struct {

	// 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:
	//
	//    * PutBucketAcl and PutObjectAcl 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.
	//
	// This property is not supported for Amazon S3 on Outposts.
	BlockPublicAcls *bool `locationName:"BlockPublicAcls" type:"boolean"`

	// 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.
	//
	// This property is not supported for Amazon S3 on Outposts.
	BlockPublicPolicy *bool `locationName:"BlockPublicPolicy" type:"boolean"`

	// 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.
	//
	// This property is not supported for Amazon S3 on Outposts.
	IgnorePublicAcls *bool `locationName:"IgnorePublicAcls" type:"boolean"`

	// 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 Amazon Web Service principals 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.
	//
	// This property is not supported for Amazon S3 on Outposts.
	RestrictPublicBuckets *bool `locationName:"RestrictPublicBuckets" type:"boolean"`
	// contains filtered or unexported fields
}

The PublicAccessBlock configuration that you want to apply to this Amazon S3 account. 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 S3 User Guide.

This data type is not supported for Amazon S3 on Outposts.

func (PublicAccessBlockConfiguration) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PublicAccessBlockConfiguration) SetBlockPublicAcls

SetBlockPublicAcls sets the BlockPublicAcls field's value.

func (*PublicAccessBlockConfiguration) SetBlockPublicPolicy

SetBlockPublicPolicy sets the BlockPublicPolicy field's value.

func (*PublicAccessBlockConfiguration) SetIgnorePublicAcls

SetIgnorePublicAcls sets the IgnorePublicAcls field's value.

func (*PublicAccessBlockConfiguration) SetRestrictPublicBuckets

func (s *PublicAccessBlockConfiguration) SetRestrictPublicBuckets(v bool) *PublicAccessBlockConfiguration

SetRestrictPublicBuckets sets the RestrictPublicBuckets field's value.

func (PublicAccessBlockConfiguration) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccessGrantsInstanceResourcePolicyInput added in v1.48.4

type PutAccessGrantsInstanceResourcePolicyInput struct {

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Organization of the resource policy of the S3 Access Grants instance.
	Organization *string `min:"12" type:"string"`

	// The resource policy of the S3 Access Grants instance that you are updating.
	//
	// Policy is a required field
	Policy *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAccessGrantsInstanceResourcePolicyInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessGrantsInstanceResourcePolicyInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*PutAccessGrantsInstanceResourcePolicyInput) SetOrganization added in v1.48.4

SetOrganization sets the Organization field's value.

func (*PutAccessGrantsInstanceResourcePolicyInput) SetPolicy added in v1.48.4

SetPolicy sets the Policy field's value.

func (PutAccessGrantsInstanceResourcePolicyInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessGrantsInstanceResourcePolicyInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type PutAccessGrantsInstanceResourcePolicyOutput added in v1.48.4

type PutAccessGrantsInstanceResourcePolicyOutput struct {

	// The date and time when you created the S3 Access Grants instance resource
	// policy.
	CreatedAt *time.Time `type:"timestamp"`

	// The Organization of the resource policy of the S3 Access Grants instance.
	Organization *string `min:"12" type:"string"`

	// The updated resource policy of the S3 Access Grants instance.
	Policy *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutAccessGrantsInstanceResourcePolicyOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessGrantsInstanceResourcePolicyOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*PutAccessGrantsInstanceResourcePolicyOutput) SetOrganization added in v1.48.4

SetOrganization sets the Organization field's value.

func (*PutAccessGrantsInstanceResourcePolicyOutput) SetPolicy added in v1.48.4

SetPolicy sets the Policy field's value.

func (PutAccessGrantsInstanceResourcePolicyOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccessPointConfigurationForObjectLambdaInput added in v1.38.0

type PutAccessPointConfigurationForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Object Lambda Access Point configuration document.
	//
	// Configuration is a required field
	Configuration *ObjectLambdaConfiguration `type:"structure" required:"true"`

	// The name of the Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAccessPointConfigurationForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessPointConfigurationForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*PutAccessPointConfigurationForObjectLambdaInput) SetConfiguration added in v1.38.0

SetConfiguration sets the Configuration field's value.

func (*PutAccessPointConfigurationForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (PutAccessPointConfigurationForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessPointConfigurationForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type PutAccessPointConfigurationForObjectLambdaOutput added in v1.38.0

type PutAccessPointConfigurationForObjectLambdaOutput struct {
	// contains filtered or unexported fields
}

func (PutAccessPointConfigurationForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccessPointConfigurationForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccessPointPolicyForObjectLambdaInput added in v1.38.0

type PutAccessPointPolicyForObjectLambdaInput struct {

	// The account ID for the account that owns the specified Object Lambda Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Object Lambda Access Point.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// Object Lambda Access Point resource policy document.
	//
	// Policy is a required field
	Policy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAccessPointPolicyForObjectLambdaInput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessPointPolicyForObjectLambdaInput) SetAccountId added in v1.38.0

SetAccountId sets the AccountId field's value.

func (*PutAccessPointPolicyForObjectLambdaInput) SetName added in v1.38.0

SetName sets the Name field's value.

func (*PutAccessPointPolicyForObjectLambdaInput) SetPolicy added in v1.38.0

SetPolicy sets the Policy field's value.

func (PutAccessPointPolicyForObjectLambdaInput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessPointPolicyForObjectLambdaInput) Validate added in v1.38.0

Validate inspects the fields of the type to determine if they are valid.

type PutAccessPointPolicyForObjectLambdaOutput added in v1.38.0

type PutAccessPointPolicyForObjectLambdaOutput struct {
	// contains filtered or unexported fields
}

func (PutAccessPointPolicyForObjectLambdaOutput) GoString added in v1.38.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccessPointPolicyForObjectLambdaOutput) String added in v1.38.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccessPointPolicyInput added in v1.25.46

type PutAccessPointPolicyInput struct {

	// The Amazon Web Services account ID for owner of the bucket associated with
	// the specified access point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the access point that you want to associate with the specified
	// policy.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the access point accessed in the
	// format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>.
	// For example, to access the access point reports-ap through Outpost my-outpost
	// owned by account 123456789012 in Region us-west-2, use the URL encoding of
	// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap.
	// The value must be URL encoded.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// The policy that you want to apply to the specified access point. For more
	// information about access point policies, see Managing data access with Amazon
	// S3 access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html)
	// in the Amazon S3 User Guide.
	//
	// Policy is a required field
	Policy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAccessPointPolicyInput) GoString added in v1.25.46

func (s PutAccessPointPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessPointPolicyInput) SetAccountId added in v1.25.46

SetAccountId sets the AccountId field's value.

func (*PutAccessPointPolicyInput) SetName added in v1.25.46

SetName sets the Name field's value.

func (*PutAccessPointPolicyInput) SetPolicy added in v1.25.46

SetPolicy sets the Policy field's value.

func (PutAccessPointPolicyInput) String added in v1.25.46

func (s PutAccessPointPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccessPointPolicyInput) Validate added in v1.25.46

func (s *PutAccessPointPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutAccessPointPolicyOutput added in v1.25.46

type PutAccessPointPolicyOutput struct {
	// contains filtered or unexported fields
}

func (PutAccessPointPolicyOutput) GoString added in v1.25.46

func (s PutAccessPointPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccessPointPolicyOutput) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBucketLifecycleConfigurationInput added in v1.35.0

type PutBucketLifecycleConfigurationInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the bucket for which to set the configuration.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// Container for lifecycle rules. You can add as many as 1,000 rules.
	LifecycleConfiguration *LifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://awss3control.amazonaws.com/doc/2018-08-20/"`
	// contains filtered or unexported fields
}

func (PutBucketLifecycleConfigurationInput) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketLifecycleConfigurationInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*PutBucketLifecycleConfigurationInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (*PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration added in v1.35.0

SetLifecycleConfiguration sets the LifecycleConfiguration field's value.

func (PutBucketLifecycleConfigurationInput) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketLifecycleConfigurationInput) Validate added in v1.35.0

Validate inspects the fields of the type to determine if they are valid.

type PutBucketLifecycleConfigurationOutput added in v1.35.0

type PutBucketLifecycleConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (PutBucketLifecycleConfigurationOutput) GoString added in v1.35.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutBucketLifecycleConfigurationOutput) String added in v1.35.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBucketPolicyInput added in v1.35.0

type PutBucketPolicyInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// Set this parameter to true to confirm that you want to remove your permissions
	// to change this bucket policy in the future.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	ConfirmRemoveSelfBucketAccess *bool `location:"header" locationName:"x-amz-confirm-remove-self-bucket-access" type:"boolean"`

	// The bucket policy as a JSON document.
	//
	// Policy is a required field
	Policy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutBucketPolicyInput) GoString added in v1.35.0

func (s PutBucketPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketPolicyInput) SetAccountId added in v1.35.0

func (s *PutBucketPolicyInput) SetAccountId(v string) *PutBucketPolicyInput

SetAccountId sets the AccountId field's value.

func (*PutBucketPolicyInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (*PutBucketPolicyInput) SetConfirmRemoveSelfBucketAccess added in v1.35.0

func (s *PutBucketPolicyInput) SetConfirmRemoveSelfBucketAccess(v bool) *PutBucketPolicyInput

SetConfirmRemoveSelfBucketAccess sets the ConfirmRemoveSelfBucketAccess field's value.

func (*PutBucketPolicyInput) SetPolicy added in v1.35.0

SetPolicy sets the Policy field's value.

func (PutBucketPolicyInput) String added in v1.35.0

func (s PutBucketPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketPolicyInput) Validate added in v1.35.0

func (s *PutBucketPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutBucketPolicyOutput added in v1.35.0

type PutBucketPolicyOutput struct {
	// contains filtered or unexported fields
}

func (PutBucketPolicyOutput) GoString added in v1.35.0

func (s PutBucketPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutBucketPolicyOutput) String added in v1.35.0

func (s PutBucketPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBucketReplicationInput added in v1.44.220

type PutBucketReplicationInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// Specifies the S3 on Outposts bucket to set the configuration for.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// A container for one or more replication rules. A replication configuration
	// must have at least one rule and you can add up to 100 rules. The maximum
	// size of a replication configuration is 128 KB.
	//
	// ReplicationConfiguration is a required field
	ReplicationConfiguration *ReplicationConfiguration `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (PutBucketReplicationInput) GoString added in v1.44.220

func (s PutBucketReplicationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketReplicationInput) SetAccountId added in v1.44.220

SetAccountId sets the AccountId field's value.

func (*PutBucketReplicationInput) SetBucket added in v1.44.220

SetBucket sets the Bucket field's value.

func (*PutBucketReplicationInput) SetReplicationConfiguration added in v1.44.220

SetReplicationConfiguration sets the ReplicationConfiguration field's value.

func (PutBucketReplicationInput) String added in v1.44.220

func (s PutBucketReplicationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketReplicationInput) Validate added in v1.44.220

func (s *PutBucketReplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutBucketReplicationOutput added in v1.44.220

type PutBucketReplicationOutput struct {
	// contains filtered or unexported fields
}

func (PutBucketReplicationOutput) GoString added in v1.44.220

func (s PutBucketReplicationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutBucketReplicationOutput) String added in v1.44.220

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBucketTaggingInput added in v1.35.0

type PutBucketTaggingInput struct {

	// The Amazon Web Services account ID of the Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the bucket.
	//
	// For using this parameter with Amazon S3 on Outposts with the REST API, you
	// must specify the name and the x-amz-outpost-id as well.
	//
	// For using this parameter with S3 on Outposts with the Amazon Web Services
	// SDK and CLI, you must specify the ARN of the bucket accessed in the format
	// arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>.
	// For example, to access the bucket reports through Outpost my-outpost owned
	// by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports.
	// The value must be URL encoded.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// Tagging is a required field
	Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true" xmlURI:"http://awss3control.amazonaws.com/doc/2018-08-20/"`
	// contains filtered or unexported fields
}

func (PutBucketTaggingInput) GoString added in v1.35.0

func (s PutBucketTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketTaggingInput) SetAccountId added in v1.35.0

SetAccountId sets the AccountId field's value.

func (*PutBucketTaggingInput) SetBucket added in v1.35.0

SetBucket sets the Bucket field's value.

func (*PutBucketTaggingInput) SetTagging added in v1.35.0

SetTagging sets the Tagging field's value.

func (PutBucketTaggingInput) String added in v1.35.0

func (s PutBucketTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketTaggingInput) Validate added in v1.35.0

func (s *PutBucketTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutBucketTaggingOutput added in v1.35.0

type PutBucketTaggingOutput struct {
	// contains filtered or unexported fields
}

func (PutBucketTaggingOutput) GoString added in v1.35.0

func (s PutBucketTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutBucketTaggingOutput) String added in v1.35.0

func (s PutBucketTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBucketVersioningInput added in v1.44.103

type PutBucketVersioningInput struct {

	// The Amazon Web Services account ID of the S3 on Outposts bucket.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The S3 on Outposts bucket to set the versioning state for.
	//
	// Bucket is a required field
	Bucket *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"`

	// The concatenation of the authentication device's serial number, a space,
	// and the value that is displayed on your authentication device.
	MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"`

	// The root-level tag for the VersioningConfiguration parameters.
	//
	// VersioningConfiguration is a required field
	VersioningConfiguration *VersioningConfiguration `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (PutBucketVersioningInput) GoString added in v1.44.103

func (s PutBucketVersioningInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketVersioningInput) SetAccountId added in v1.44.103

SetAccountId sets the AccountId field's value.

func (*PutBucketVersioningInput) SetBucket added in v1.44.103

SetBucket sets the Bucket field's value.

func (*PutBucketVersioningInput) SetMFA added in v1.44.103

SetMFA sets the MFA field's value.

func (*PutBucketVersioningInput) SetVersioningConfiguration added in v1.44.103

SetVersioningConfiguration sets the VersioningConfiguration field's value.

func (PutBucketVersioningInput) String added in v1.44.103

func (s PutBucketVersioningInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBucketVersioningInput) Validate added in v1.44.103

func (s *PutBucketVersioningInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutBucketVersioningOutput added in v1.44.103

type PutBucketVersioningOutput struct {
	// contains filtered or unexported fields
}

func (PutBucketVersioningOutput) GoString added in v1.44.103

func (s PutBucketVersioningOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutBucketVersioningOutput) String added in v1.44.103

func (s PutBucketVersioningOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutJobTaggingInput added in v1.29.25

type PutJobTaggingInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID for the S3 Batch Operations job whose tags you want to replace.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"id" min:"5" type:"string" required:"true"`

	// The set of tags to associate with the S3 Batch Operations job.
	//
	// Tags is a required field
	Tags []*S3Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (PutJobTaggingInput) GoString added in v1.29.25

func (s PutJobTaggingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutJobTaggingInput) SetAccountId added in v1.29.25

func (s *PutJobTaggingInput) SetAccountId(v string) *PutJobTaggingInput

SetAccountId sets the AccountId field's value.

func (*PutJobTaggingInput) SetJobId added in v1.29.25

SetJobId sets the JobId field's value.

func (*PutJobTaggingInput) SetTags added in v1.29.25

func (s *PutJobTaggingInput) SetTags(v []*S3Tag) *PutJobTaggingInput

SetTags sets the Tags field's value.

func (PutJobTaggingInput) String added in v1.29.25

func (s PutJobTaggingInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutJobTaggingInput) Validate added in v1.29.25

func (s *PutJobTaggingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutJobTaggingOutput added in v1.29.25

type PutJobTaggingOutput struct {
	// contains filtered or unexported fields
}

func (PutJobTaggingOutput) GoString added in v1.29.25

func (s PutJobTaggingOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutJobTaggingOutput) String added in v1.29.25

func (s PutJobTaggingOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutMultiRegionAccessPointPolicyInput added in v1.40.36

type PutMultiRegionAccessPointPolicyInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// An idempotency token used to identify the request and guarantee that requests
	// are unique.
	ClientToken *string `type:"string" idempotencyToken:"true"`

	// A container element containing the details of the policy for the Multi-Region
	// Access Point.
	//
	// Details is a required field
	Details *PutMultiRegionAccessPointPolicyInput_ `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutMultiRegionAccessPointPolicyInput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMultiRegionAccessPointPolicyInput) SetAccountId added in v1.40.36

SetAccountId sets the AccountId field's value.

func (*PutMultiRegionAccessPointPolicyInput) SetClientToken added in v1.40.36

SetClientToken sets the ClientToken field's value.

func (*PutMultiRegionAccessPointPolicyInput) SetDetails added in v1.40.36

SetDetails sets the Details field's value.

func (PutMultiRegionAccessPointPolicyInput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMultiRegionAccessPointPolicyInput) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type PutMultiRegionAccessPointPolicyInput_ added in v1.40.36

type PutMultiRegionAccessPointPolicyInput_ struct {

	// The name of the Multi-Region Access Point associated with the request.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The policy details for the PutMultiRegionAccessPoint request.
	//
	// Policy is a required field
	Policy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A container for the information associated with a PutMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPoint.html) request.

func (PutMultiRegionAccessPointPolicyInput_) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMultiRegionAccessPointPolicyInput_) SetName added in v1.40.36

SetName sets the Name field's value.

func (*PutMultiRegionAccessPointPolicyInput_) SetPolicy added in v1.40.36

SetPolicy sets the Policy field's value.

func (PutMultiRegionAccessPointPolicyInput_) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMultiRegionAccessPointPolicyInput_) Validate added in v1.40.36

Validate inspects the fields of the type to determine if they are valid.

type PutMultiRegionAccessPointPolicyOutput added in v1.40.36

type PutMultiRegionAccessPointPolicyOutput struct {

	// The request token associated with the request. You can use this token with
	// DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html)
	// to determine the status of asynchronous requests.
	RequestTokenARN *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutMultiRegionAccessPointPolicyOutput) GoString added in v1.40.36

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMultiRegionAccessPointPolicyOutput) SetRequestTokenARN added in v1.40.36

SetRequestTokenARN sets the RequestTokenARN field's value.

func (PutMultiRegionAccessPointPolicyOutput) String added in v1.40.36

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutPublicAccessBlockInput

type PutPublicAccessBlockInput struct {

	// The account ID for the Amazon Web Services account whose PublicAccessBlock
	// configuration you want to set.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The PublicAccessBlock configuration that you want to apply to the specified
	// Amazon Web Services account.
	//
	// PublicAccessBlockConfiguration is a required field
	PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (PutPublicAccessBlockInput) GoString

func (s PutPublicAccessBlockInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPublicAccessBlockInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*PutPublicAccessBlockInput) SetPublicAccessBlockConfiguration

SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value.

func (PutPublicAccessBlockInput) String

func (s PutPublicAccessBlockInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutPublicAccessBlockInput) Validate

func (s *PutPublicAccessBlockInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutPublicAccessBlockOutput

type PutPublicAccessBlockOutput struct {
	// contains filtered or unexported fields
}

func (PutPublicAccessBlockOutput) GoString

func (s PutPublicAccessBlockOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutPublicAccessBlockOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutStorageLensConfigurationInput added in v1.35.31

type PutStorageLensConfigurationInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the S3 Storage Lens configuration.
	//
	// ConfigId is a required field
	ConfigId *string `location:"uri" locationName:"storagelensid" min:"1" type:"string" required:"true"`

	// The S3 Storage Lens configuration.
	//
	// StorageLensConfiguration is a required field
	StorageLensConfiguration *StorageLensConfiguration `type:"structure" required:"true"`

	// The tag set of the S3 Storage Lens configuration.
	//
	// You can set up to a maximum of 50 tags.
	Tags []*StorageLensTag `locationNameList:"Tag" type:"list"`
	// contains filtered or unexported fields
}

func (PutStorageLensConfigurationInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutStorageLensConfigurationInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*PutStorageLensConfigurationInput) SetConfigId added in v1.35.31

SetConfigId sets the ConfigId field's value.

func (*PutStorageLensConfigurationInput) SetStorageLensConfiguration added in v1.35.31

SetStorageLensConfiguration sets the StorageLensConfiguration field's value.

func (*PutStorageLensConfigurationInput) SetTags added in v1.35.31

SetTags sets the Tags field's value.

func (PutStorageLensConfigurationInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutStorageLensConfigurationInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type PutStorageLensConfigurationOutput added in v1.35.31

type PutStorageLensConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (PutStorageLensConfigurationOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutStorageLensConfigurationOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutStorageLensConfigurationTaggingInput added in v1.35.31

type PutStorageLensConfigurationTaggingInput struct {

	// The account ID of the requester.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the S3 Storage Lens configuration.
	//
	// ConfigId is a required field
	ConfigId *string `location:"uri" locationName:"storagelensid" min:"1" type:"string" required:"true"`

	// The tag set of the S3 Storage Lens configuration.
	//
	// You can set up to a maximum of 50 tags.
	//
	// Tags is a required field
	Tags []*StorageLensTag `locationNameList:"Tag" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (PutStorageLensConfigurationTaggingInput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutStorageLensConfigurationTaggingInput) SetAccountId added in v1.35.31

SetAccountId sets the AccountId field's value.

func (*PutStorageLensConfigurationTaggingInput) SetConfigId added in v1.35.31

SetConfigId sets the ConfigId field's value.

func (*PutStorageLensConfigurationTaggingInput) SetTags added in v1.35.31

SetTags sets the Tags field's value.

func (PutStorageLensConfigurationTaggingInput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutStorageLensConfigurationTaggingInput) Validate added in v1.35.31

Validate inspects the fields of the type to determine if they are valid.

type PutStorageLensConfigurationTaggingOutput added in v1.35.31

type PutStorageLensConfigurationTaggingOutput struct {
	// contains filtered or unexported fields
}

func (PutStorageLensConfigurationTaggingOutput) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutStorageLensConfigurationTaggingOutput) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Region added in v1.40.36

type Region struct {

	// The name of the associated bucket for the Region.
	//
	// Bucket is a required field
	Bucket *string `min:"3" type:"string" required:"true"`

	// The Amazon Web Services account ID that owns the Amazon S3 bucket that's
	// associated with this Multi-Region Access Point.
	BucketAccountId *string `type:"string"`
	// contains filtered or unexported fields
}

A Region that supports a Multi-Region Access Point as well as the associated bucket for the Region.

func (Region) GoString added in v1.40.36

func (s Region) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Region) SetBucket added in v1.40.36

func (s *Region) SetBucket(v string) *Region

SetBucket sets the Bucket field's value.

func (*Region) SetBucketAccountId added in v1.44.220

func (s *Region) SetBucketAccountId(v string) *Region

SetBucketAccountId sets the BucketAccountId field's value.

func (Region) String added in v1.40.36

func (s Region) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Region) Validate added in v1.40.36

func (s *Region) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegionReport added in v1.40.36

type RegionReport struct {

	// The name of the bucket.
	Bucket *string `min:"3" type:"string"`

	// The Amazon Web Services account ID that owns the Amazon S3 bucket that's
	// associated with this Multi-Region Access Point.
	BucketAccountId *string `type:"string"`

	// The name of the Region.
	Region *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A combination of a bucket and Region that's part of a Multi-Region Access Point.

func (RegionReport) GoString added in v1.40.36

func (s RegionReport) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegionReport) SetBucket added in v1.40.36

func (s *RegionReport) SetBucket(v string) *RegionReport

SetBucket sets the Bucket field's value.

func (*RegionReport) SetBucketAccountId added in v1.44.220

func (s *RegionReport) SetBucketAccountId(v string) *RegionReport

SetBucketAccountId sets the BucketAccountId field's value.

func (*RegionReport) SetRegion added in v1.40.36

func (s *RegionReport) SetRegion(v string) *RegionReport

SetRegion sets the Region field's value.

func (RegionReport) String added in v1.40.36

func (s RegionReport) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegionalBucket added in v1.35.0

type RegionalBucket struct {

	// Bucket is a required field
	Bucket *string `min:"3" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the regional bucket.
	BucketArn *string `min:"4" type:"string"`

	// The creation date of the regional bucket
	//
	// CreationDate is a required field
	CreationDate *time.Time `type:"timestamp" required:"true"`

	// The Outposts ID of the regional bucket.
	OutpostId *string `min:"1" type:"string"`

	// PublicAccessBlockEnabled is a required field
	PublicAccessBlockEnabled *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The container for the regional bucket.

func (RegionalBucket) GoString added in v1.35.0

func (s RegionalBucket) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegionalBucket) SetBucket added in v1.35.0

func (s *RegionalBucket) SetBucket(v string) *RegionalBucket

SetBucket sets the Bucket field's value.

func (*RegionalBucket) SetBucketArn added in v1.35.0

func (s *RegionalBucket) SetBucketArn(v string) *RegionalBucket

SetBucketArn sets the BucketArn field's value.

func (*RegionalBucket) SetCreationDate added in v1.35.0

func (s *RegionalBucket) SetCreationDate(v time.Time) *RegionalBucket

SetCreationDate sets the CreationDate field's value.

func (*RegionalBucket) SetOutpostId added in v1.35.0

func (s *RegionalBucket) SetOutpostId(v string) *RegionalBucket

SetOutpostId sets the OutpostId field's value.

func (*RegionalBucket) SetPublicAccessBlockEnabled added in v1.35.0

func (s *RegionalBucket) SetPublicAccessBlockEnabled(v bool) *RegionalBucket

SetPublicAccessBlockEnabled sets the PublicAccessBlockEnabled field's value.

func (RegionalBucket) String added in v1.35.0

func (s RegionalBucket) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReplicaModifications added in v1.44.220

type ReplicaModifications struct {

	// Specifies whether S3 on Outposts replicates modifications to object metadata
	// on replicas.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"ReplicaModificationsStatus"`
	// contains filtered or unexported fields
}

A filter that you can use to specify whether replica modification sync is enabled. S3 on Outposts replica modification sync can help you keep object metadata synchronized between replicas and source objects. By default, S3 on Outposts replicates metadata from the source objects to the replicas only. When replica modification sync is enabled, S3 on Outposts replicates metadata changes made to the replica copies back to the source object, making the replication bidirectional.

To replicate object metadata modifications on replicas, you can specify this element and set the Status of this element to Enabled.

You must enable replica modification sync on the source and destination buckets to replicate replica metadata changes between the source and the replicas.

func (ReplicaModifications) GoString added in v1.44.220

func (s ReplicaModifications) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicaModifications) SetStatus added in v1.44.220

SetStatus sets the Status field's value.

func (ReplicaModifications) String added in v1.44.220

func (s ReplicaModifications) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicaModifications) Validate added in v1.44.220

func (s *ReplicaModifications) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicationConfiguration added in v1.44.220

type ReplicationConfiguration struct {

	// The Amazon Resource Name (ARN) of the Identity and Access Management (IAM)
	// role that S3 on Outposts assumes when replicating objects. For information
	// about S3 replication on Outposts configuration, see Setting up replication
	// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-how-setup.html)
	// in the Amazon S3 User Guide.
	//
	// Role is a required field
	Role *string `type:"string" required:"true"`

	// A container for one or more replication rules. A replication configuration
	// must have at least one rule and can contain an array of 100 rules at the
	// most.
	//
	// Rules is a required field
	Rules []*ReplicationRule `locationNameList:"Rule" type:"list" required:"true"`
	// contains filtered or unexported fields
}

A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.

func (ReplicationConfiguration) GoString added in v1.44.220

func (s ReplicationConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationConfiguration) SetRole added in v1.44.220

SetRole sets the Role field's value.

func (*ReplicationConfiguration) SetRules added in v1.44.220

SetRules sets the Rules field's value.

func (ReplicationConfiguration) String added in v1.44.220

func (s ReplicationConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationConfiguration) Validate added in v1.44.220

func (s *ReplicationConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicationRule added in v1.44.220

type ReplicationRule struct {

	// The Amazon Resource Name (ARN) of the access point for the source Outposts
	// bucket that you want S3 on Outposts to replicate the objects from.
	//
	// Bucket is a required field
	Bucket *string `type:"string" required:"true"`

	// Specifies whether S3 on Outposts replicates delete markers. If you specify
	// a Filter element in your replication configuration, you must also include
	// a DeleteMarkerReplication element. If your Filter includes a Tag element,
	// the DeleteMarkerReplication element's Status child element must be set to
	// Disabled, because S3 on Outposts doesn't support replicating delete markers
	// for tag-based rules.
	//
	// For more information about delete marker replication, see How delete operations
	// affect replication (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html#outposts-replication-what-is-replicated)
	// in the Amazon S3 User Guide.
	DeleteMarkerReplication *DeleteMarkerReplication `type:"structure"`

	// A container for information about the replication destination and its configurations.
	//
	// Destination is a required field
	Destination *Destination `type:"structure" required:"true"`

	// An optional configuration to replicate existing source bucket objects.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	ExistingObjectReplication *ExistingObjectReplication `type:"structure"`

	// A filter that identifies the subset of objects to which the replication rule
	// applies. A Filter element must specify exactly one Prefix, Tag, or And child
	// element.
	Filter *ReplicationRuleFilter `type:"structure"`

	// A unique identifier for the rule. The maximum value is 255 characters.
	ID *string `type:"string"`

	// An object key name prefix that identifies the object or objects to which
	// the rule applies. The maximum prefix length is 1,024 characters. To include
	// all objects in an Outposts bucket, specify an empty string.
	//
	// When you're using XML requests, you must replace special characters (such
	// as carriage returns) in object keys with their equivalent XML entity codes.
	// For more information, see XML-related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints)
	// in the Amazon S3 User Guide.
	//
	// Deprecated: Prefix has been deprecated
	Prefix *string `deprecated:"true" type:"string"`

	// The priority indicates which rule has precedence whenever two or more replication
	// rules conflict. S3 on Outposts attempts to replicate objects according to
	// all replication rules. However, if there are two or more rules with the same
	// destination Outposts bucket, then objects will be replicated according to
	// the rule with the highest priority. The higher the number, the higher the
	// priority.
	//
	// For more information, see Creating replication rules on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-between-outposts.html)
	// in the Amazon S3 User Guide.
	Priority *int64 `type:"integer"`

	// A container that describes additional filters for identifying the source
	// Outposts objects that you want to replicate. You can choose to enable or
	// disable the replication of these objects.
	SourceSelectionCriteria *SourceSelectionCriteria `type:"structure"`

	// Specifies whether the rule is enabled.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"ReplicationRuleStatus"`
	// contains filtered or unexported fields
}

Specifies which S3 on Outposts objects to replicate and where to store the replicas.

func (ReplicationRule) GoString added in v1.44.220

func (s ReplicationRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationRule) SetBucket added in v1.44.220

func (s *ReplicationRule) SetBucket(v string) *ReplicationRule

SetBucket sets the Bucket field's value.

func (*ReplicationRule) SetDeleteMarkerReplication added in v1.44.220

func (s *ReplicationRule) SetDeleteMarkerReplication(v *DeleteMarkerReplication) *ReplicationRule

SetDeleteMarkerReplication sets the DeleteMarkerReplication field's value.

func (*ReplicationRule) SetDestination added in v1.44.220

func (s *ReplicationRule) SetDestination(v *Destination) *ReplicationRule

SetDestination sets the Destination field's value.

func (*ReplicationRule) SetExistingObjectReplication added in v1.44.220

func (s *ReplicationRule) SetExistingObjectReplication(v *ExistingObjectReplication) *ReplicationRule

SetExistingObjectReplication sets the ExistingObjectReplication field's value.

func (*ReplicationRule) SetFilter added in v1.44.220

SetFilter sets the Filter field's value.

func (*ReplicationRule) SetID added in v1.44.220

func (s *ReplicationRule) SetID(v string) *ReplicationRule

SetID sets the ID field's value.

func (*ReplicationRule) SetPrefix added in v1.44.220

func (s *ReplicationRule) SetPrefix(v string) *ReplicationRule

SetPrefix sets the Prefix field's value.

func (*ReplicationRule) SetPriority added in v1.44.220

func (s *ReplicationRule) SetPriority(v int64) *ReplicationRule

SetPriority sets the Priority field's value.

func (*ReplicationRule) SetSourceSelectionCriteria added in v1.44.220

func (s *ReplicationRule) SetSourceSelectionCriteria(v *SourceSelectionCriteria) *ReplicationRule

SetSourceSelectionCriteria sets the SourceSelectionCriteria field's value.

func (*ReplicationRule) SetStatus added in v1.44.220

func (s *ReplicationRule) SetStatus(v string) *ReplicationRule

SetStatus sets the Status field's value.

func (ReplicationRule) String added in v1.44.220

func (s ReplicationRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationRule) Validate added in v1.44.220

func (s *ReplicationRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicationRuleAndOperator added in v1.44.220

type ReplicationRuleAndOperator struct {

	// An object key name prefix that identifies the subset of objects that the
	// rule applies to.
	Prefix *string `type:"string"`

	// An array of tags that contain key and value pairs.
	Tags []*S3Tag `type:"list"`
	// contains filtered or unexported fields
}

A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.

For example:

  • If you specify both a Prefix and a Tag filter, wrap these filters in an And element.

  • If you specify a filter based on multiple tags, wrap the Tag elements in an And element.

func (ReplicationRuleAndOperator) GoString added in v1.44.220

func (s ReplicationRuleAndOperator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationRuleAndOperator) SetPrefix added in v1.44.220

SetPrefix sets the Prefix field's value.

func (*ReplicationRuleAndOperator) SetTags added in v1.44.220

SetTags sets the Tags field's value.

func (ReplicationRuleAndOperator) String added in v1.44.220

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationRuleAndOperator) Validate added in v1.44.220

func (s *ReplicationRuleAndOperator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicationRuleFilter added in v1.44.220

type ReplicationRuleFilter struct {

	// A container for specifying rule filters. The filters determine the subset
	// of objects that the rule applies to. This element is required only if you
	// specify more than one filter. For example:
	//
	//    * If you specify both a Prefix and a Tag filter, wrap these filters in
	//    an And element.
	//
	//    * If you specify a filter based on multiple tags, wrap the Tag elements
	//    in an And element.
	And *ReplicationRuleAndOperator `type:"structure"`

	// An object key name prefix that identifies the subset of objects that the
	// rule applies to.
	//
	// When you're using XML requests, you must replace special characters (such
	// as carriage returns) in object keys with their equivalent XML entity codes.
	// For more information, see XML-related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints)
	// in the Amazon S3 User Guide.
	Prefix *string `type:"string"`

	// A container for a key-value name pair.
	Tag *S3Tag `type:"structure"`
	// contains filtered or unexported fields
}

A filter that identifies the subset of objects to which the replication rule applies. A Filter element must specify exactly one Prefix, Tag, or And child element.

func (ReplicationRuleFilter) GoString added in v1.44.220

func (s ReplicationRuleFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationRuleFilter) SetAnd added in v1.44.220

SetAnd sets the And field's value.

func (*ReplicationRuleFilter) SetPrefix added in v1.44.220

SetPrefix sets the Prefix field's value.

func (*ReplicationRuleFilter) SetTag added in v1.44.220

SetTag sets the Tag field's value.

func (ReplicationRuleFilter) String added in v1.44.220

func (s ReplicationRuleFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationRuleFilter) Validate added in v1.44.220

func (s *ReplicationRuleFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicationTime added in v1.44.220

type ReplicationTime struct {

	// Specifies whether S3 Replication Time Control (S3 RTC) is enabled.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"ReplicationTimeStatus"`

	// A container that specifies the time by which replication should be complete
	// for all objects and operations on objects.
	//
	// Time is a required field
	Time *ReplicationTimeValue `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A container that specifies S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated.

This is not supported by Amazon S3 on Outposts buckets.

func (ReplicationTime) GoString added in v1.44.220

func (s ReplicationTime) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationTime) SetStatus added in v1.44.220

func (s *ReplicationTime) SetStatus(v string) *ReplicationTime

SetStatus sets the Status field's value.

func (*ReplicationTime) SetTime added in v1.44.220

SetTime sets the Time field's value.

func (ReplicationTime) String added in v1.44.220

func (s ReplicationTime) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationTime) Validate added in v1.44.220

func (s *ReplicationTime) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicationTimeValue added in v1.44.220

type ReplicationTimeValue struct {

	// Contains an integer that specifies the time period in minutes.
	//
	// Valid value: 15
	Minutes *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A container that specifies the time value for S3 Replication Time Control (S3 RTC). This value is also used for the replication metrics EventThreshold element.

This is not supported by Amazon S3 on Outposts buckets.

func (ReplicationTimeValue) GoString added in v1.44.220

func (s ReplicationTimeValue) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplicationTimeValue) SetMinutes added in v1.44.220

SetMinutes sets the Minutes field's value.

func (ReplicationTimeValue) String added in v1.44.220

func (s ReplicationTimeValue) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3AccessControlList added in v1.19.21

type S3AccessControlList struct {
	Grants []*S3Grant `type:"list"`

	// Owner is a required field
	Owner *S3ObjectOwner `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (S3AccessControlList) GoString added in v1.19.21

func (s S3AccessControlList) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3AccessControlList) SetGrants added in v1.19.21

func (s *S3AccessControlList) SetGrants(v []*S3Grant) *S3AccessControlList

SetGrants sets the Grants field's value.

func (*S3AccessControlList) SetOwner added in v1.19.21

SetOwner sets the Owner field's value.

func (S3AccessControlList) String added in v1.19.21

func (s S3AccessControlList) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3AccessControlList) Validate added in v1.19.21

func (s *S3AccessControlList) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3AccessControlPolicy added in v1.19.21

type S3AccessControlPolicy struct {
	AccessControlList *S3AccessControlList `type:"structure"`

	CannedAccessControlList *string `type:"string" enum:"S3CannedAccessControlList"`
	// contains filtered or unexported fields
}

func (S3AccessControlPolicy) GoString added in v1.19.21

func (s S3AccessControlPolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3AccessControlPolicy) SetAccessControlList added in v1.19.21

SetAccessControlList sets the AccessControlList field's value.

func (*S3AccessControlPolicy) SetCannedAccessControlList added in v1.19.21

func (s *S3AccessControlPolicy) SetCannedAccessControlList(v string) *S3AccessControlPolicy

SetCannedAccessControlList sets the CannedAccessControlList field's value.

func (S3AccessControlPolicy) String added in v1.19.21

func (s S3AccessControlPolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3AccessControlPolicy) Validate added in v1.19.21

func (s *S3AccessControlPolicy) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3BucketDestination added in v1.35.31

type S3BucketDestination struct {

	// The account ID of the owner of the S3 Storage Lens metrics export bucket.
	//
	// AccountId is a required field
	AccountId *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the bucket. This property is read-only
	// and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`

	// The container for the type encryption of the metrics exports in this bucket.
	Encryption *StorageLensDataExportEncryption `type:"structure"`

	// Format is a required field
	Format *string `type:"string" required:"true" enum:"Format"`

	// The schema version of the export file.
	//
	// OutputSchemaVersion is a required field
	OutputSchemaVersion *string `type:"string" required:"true" enum:"OutputSchemaVersion"`

	// The prefix of the destination bucket where the metrics export will be delivered.
	Prefix *string `type:"string"`
	// contains filtered or unexported fields
}

A container for the bucket where the Amazon S3 Storage Lens metrics export files are located.

func (S3BucketDestination) GoString added in v1.35.31

func (s S3BucketDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3BucketDestination) SetAccountId added in v1.35.31

func (s *S3BucketDestination) SetAccountId(v string) *S3BucketDestination

SetAccountId sets the AccountId field's value.

func (*S3BucketDestination) SetArn added in v1.35.31

SetArn sets the Arn field's value.

func (*S3BucketDestination) SetEncryption added in v1.35.31

SetEncryption sets the Encryption field's value.

func (*S3BucketDestination) SetFormat added in v1.35.31

SetFormat sets the Format field's value.

func (*S3BucketDestination) SetOutputSchemaVersion added in v1.35.31

func (s *S3BucketDestination) SetOutputSchemaVersion(v string) *S3BucketDestination

SetOutputSchemaVersion sets the OutputSchemaVersion field's value.

func (*S3BucketDestination) SetPrefix added in v1.35.31

SetPrefix sets the Prefix field's value.

func (S3BucketDestination) String added in v1.35.31

func (s S3BucketDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3BucketDestination) Validate added in v1.35.31

func (s *S3BucketDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3Control

type S3Control struct {
	*client.Client
}

S3Control provides the API operation methods for making requests to AWS S3 Control. See this package's package overview docs for details on the service.

S3Control methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

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

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

Example:

mySession := session.Must(session.NewSession())

// Create a S3Control client from just a session.
svc := s3control.New(mySession)

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

func (*S3Control) AssociateAccessGrantsIdentityCenter added in v1.48.4

AssociateAccessGrantsIdentityCenter API operation for AWS S3 Control.

Associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance. Use this action if you want to create access grants for users or groups from your corporate identity directory. First, you must add your corporate identity directory to Amazon Web Services IAM Identity Center. Then, you can associate this IAM Identity Center instance with your S3 Access Grants instance.

Permissions

You must have the s3:AssociateAccessGrantsIdentityCenter permission to use this operation.

Additional Permissions

You must also have the following permissions: sso:CreateApplication, sso:PutApplicationGrant, and sso:PutApplicationAuthenticationMethod.

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

See the AWS API reference guide for AWS S3 Control's API operation AssociateAccessGrantsIdentityCenter for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AssociateAccessGrantsIdentityCenter

func (*S3Control) AssociateAccessGrantsIdentityCenterRequest added in v1.48.4

func (c *S3Control) AssociateAccessGrantsIdentityCenterRequest(input *AssociateAccessGrantsIdentityCenterInput) (req *request.Request, output *AssociateAccessGrantsIdentityCenterOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AssociateAccessGrantsIdentityCenter

func (*S3Control) AssociateAccessGrantsIdentityCenterWithContext added in v1.48.4

func (c *S3Control) AssociateAccessGrantsIdentityCenterWithContext(ctx aws.Context, input *AssociateAccessGrantsIdentityCenterInput, opts ...request.Option) (*AssociateAccessGrantsIdentityCenterOutput, error)

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

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

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

func (*S3Control) CreateAccessGrant added in v1.48.4

func (c *S3Control) CreateAccessGrant(input *CreateAccessGrantInput) (*CreateAccessGrantOutput, error)

CreateAccessGrant API operation for AWS S3 Control.

Creates an access grant that gives a grantee access to your S3 data. The grantee can be an IAM user or role or a directory user, or group. Before you can create a grant, you must have an S3 Access Grants instance in the same Region as the S3 data. You can create an S3 Access Grants instance using the CreateAccessGrantsInstance (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsInstance.html). You must also have registered at least one S3 data location in your S3 Access Grants instance using CreateAccessGrantsLocation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsLocation.html).

Permissions

You must have the s3:CreateAccessGrant permission to use this operation.

Additional Permissions

For any directory identity - sso:DescribeInstance and sso:DescribeApplication

For directory users - identitystore:DescribeUser

For directory groups - identitystore:DescribeGroup

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

See the AWS API reference guide for AWS S3 Control's API operation CreateAccessGrant for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrant

func (*S3Control) CreateAccessGrantRequest added in v1.48.4

func (c *S3Control) CreateAccessGrantRequest(input *CreateAccessGrantInput) (req *request.Request, output *CreateAccessGrantOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrant

func (*S3Control) CreateAccessGrantWithContext added in v1.48.4

func (c *S3Control) CreateAccessGrantWithContext(ctx aws.Context, input *CreateAccessGrantInput, opts ...request.Option) (*CreateAccessGrantOutput, error)

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

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

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

func (*S3Control) CreateAccessGrantsInstance added in v1.48.4

func (c *S3Control) CreateAccessGrantsInstance(input *CreateAccessGrantsInstanceInput) (*CreateAccessGrantsInstanceOutput, error)

CreateAccessGrantsInstance API operation for AWS S3 Control.

Creates an S3 Access Grants instance, which serves as a logical grouping for access grants. You can create one S3 Access Grants instance per Region per account.

Permissions

You must have the s3:CreateAccessGrantsInstance permission to use this operation.

Additional Permissions

To associate an IAM Identity Center instance with your S3 Access Grants instance, you must also have the sso:DescribeInstance, sso:CreateApplication, sso:PutApplicationGrant, and sso:PutApplicationAuthenticationMethod permissions.

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

See the AWS API reference guide for AWS S3 Control's API operation CreateAccessGrantsInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrantsInstance

func (*S3Control) CreateAccessGrantsInstanceRequest added in v1.48.4

func (c *S3Control) CreateAccessGrantsInstanceRequest(input *CreateAccessGrantsInstanceInput) (req *request.Request, output *CreateAccessGrantsInstanceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrantsInstance

func (*S3Control) CreateAccessGrantsInstanceWithContext added in v1.48.4

func (c *S3Control) CreateAccessGrantsInstanceWithContext(ctx aws.Context, input *CreateAccessGrantsInstanceInput, opts ...request.Option) (*CreateAccessGrantsInstanceOutput, error)

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

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

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

func (*S3Control) CreateAccessGrantsLocation added in v1.48.4

func (c *S3Control) CreateAccessGrantsLocation(input *CreateAccessGrantsLocationInput) (*CreateAccessGrantsLocationOutput, error)

CreateAccessGrantsLocation API operation for AWS S3 Control.

The S3 data location that you would like to register in your S3 Access Grants instance. Your S3 data must be in the same Region as your S3 Access Grants instance. The location can be one of the following:

  • The default S3 location s3://

  • A bucket - S3://<bucket-name>

  • A bucket and prefix - S3://<bucket-name>/<prefix>

When you register a location, you must include the IAM role that has permission to manage the S3 location that you are registering. Give S3 Access Grants permission to assume this role using a policy (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-location.html). S3 Access Grants assumes this role to manage access to the location and to vend temporary credentials to grantees or client applications.

Permissions

You must have the s3:CreateAccessGrantsLocation permission to use this operation.

Additional Permissions

You must also have the following permission for the specified IAM role: iam:PassRole

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

See the AWS API reference guide for AWS S3 Control's API operation CreateAccessGrantsLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrantsLocation

func (*S3Control) CreateAccessGrantsLocationRequest added in v1.48.4

func (c *S3Control) CreateAccessGrantsLocationRequest(input *CreateAccessGrantsLocationInput) (req *request.Request, output *CreateAccessGrantsLocationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrantsLocation

func (*S3Control) CreateAccessGrantsLocationWithContext added in v1.48.4

func (c *S3Control) CreateAccessGrantsLocationWithContext(ctx aws.Context, input *CreateAccessGrantsLocationInput, opts ...request.Option) (*CreateAccessGrantsLocationOutput, error)

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

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

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

func (*S3Control) CreateAccessPoint added in v1.25.46

func (c *S3Control) CreateAccessPoint(input *CreateAccessPointInput) (*CreateAccessPointOutput, error)

CreateAccessPoint API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Creates an access point and associates it with the specified bucket. For more information, see Managing Data Access with Amazon S3 Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html) in the Amazon S3 User Guide.

S3 on Outposts only supports VPC-style access points.

For more information, see Accessing Amazon S3 on Outposts using virtual private cloud (VPC) only access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples) section.

The following actions are related to CreateAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation CreateAccessPoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPoint

func (*S3Control) CreateAccessPointForObjectLambda added in v1.38.0

func (c *S3Control) CreateAccessPointForObjectLambda(input *CreateAccessPointForObjectLambdaInput) (*CreateAccessPointForObjectLambdaOutput, error)

CreateAccessPointForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Creates an Object Lambda Access Point. For more information, see Transforming objects with Object Lambda Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html) in the Amazon S3 User Guide.

The following actions are related to CreateAccessPointForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation CreateAccessPointForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda

func (*S3Control) CreateAccessPointForObjectLambdaRequest added in v1.38.0

func (c *S3Control) CreateAccessPointForObjectLambdaRequest(input *CreateAccessPointForObjectLambdaInput) (req *request.Request, output *CreateAccessPointForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda

func (*S3Control) CreateAccessPointForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) CreateAccessPointForObjectLambdaWithContext(ctx aws.Context, input *CreateAccessPointForObjectLambdaInput, opts ...request.Option) (*CreateAccessPointForObjectLambdaOutput, error)

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

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

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

func (*S3Control) CreateAccessPointRequest added in v1.25.46

func (c *S3Control) CreateAccessPointRequest(input *CreateAccessPointInput) (req *request.Request, output *CreateAccessPointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPoint

func (*S3Control) CreateAccessPointWithContext added in v1.25.46

func (c *S3Control) CreateAccessPointWithContext(ctx aws.Context, input *CreateAccessPointInput, opts ...request.Option) (*CreateAccessPointOutput, error)

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

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

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

func (*S3Control) CreateBucket added in v1.35.0

func (c *S3Control) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error)

CreateBucket API operation for AWS S3 Control.

This action creates an Amazon S3 on Outposts bucket. To create an S3 bucket, see Create Bucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) in the Amazon S3 API Reference.

Creates a new Outposts bucket. By creating the bucket, you become the bucket owner. To create an Outposts bucket, you must have S3 on Outposts. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in Amazon S3 User Guide.

Not every string is an acceptable bucket name. For information on bucket naming restrictions, see Working with Amazon S3 Buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules).

S3 on Outposts buckets support:

  • Tags

  • LifecycleConfigurations for deleting expired objects

For a complete list of restrictions and Amazon S3 feature limitations on S3 on Outposts, see Amazon S3 on Outposts Restrictions and Limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html).

For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your API request, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples) section.

The following actions are related to CreateBucket for Amazon S3 on Outposts:

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

See the AWS API reference guide for AWS S3 Control's API operation CreateBucket for usage and error information.

Returned Error Codes:

  • ErrCodeBucketAlreadyExists "BucketAlreadyExists" The requested Outposts bucket name is not available. The bucket namespace is shared by all users of the Outposts in this Region. Select a different name and try again.

  • ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" The Outposts bucket you tried to create already exists, and you own it.

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateBucket

func (*S3Control) CreateBucketRequest added in v1.35.0

func (c *S3Control) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateBucket

func (*S3Control) CreateBucketWithContext added in v1.35.0

func (c *S3Control) CreateBucketWithContext(ctx aws.Context, input *CreateBucketInput, opts ...request.Option) (*CreateBucketOutput, error)

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

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

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

func (*S3Control) CreateJob added in v1.19.21

func (c *S3Control) CreateJob(input *CreateJobInput) (*CreateJobOutput, error)

CreateJob API operation for AWS S3 Control.

This operation creates an S3 Batch Operations job.

You can use S3 Batch Operations to perform large-scale batch actions on Amazon S3 objects. Batch Operations can run a single action on lists of Amazon S3 objects that you specify. For more information, see S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html) in the Amazon S3 User Guide.

Permissions

For information about permissions required to use the Batch Operations, see Granting permissions for S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-iam-role-policies.html) in the Amazon S3 User Guide.

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation CreateJob for usage and error information.

Returned Error Codes:

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeBadRequestException "BadRequestException"

  • ErrCodeIdempotencyException "IdempotencyException"

  • ErrCodeInternalServiceException "InternalServiceException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateJob

func (*S3Control) CreateJobRequest added in v1.19.21

func (c *S3Control) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateJob

func (*S3Control) CreateJobWithContext added in v1.19.21

func (c *S3Control) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error)

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

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

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

func (*S3Control) CreateMultiRegionAccessPoint added in v1.40.36

func (c *S3Control) CreateMultiRegionAccessPoint(input *CreateMultiRegionAccessPointInput) (*CreateMultiRegionAccessPointOutput, error)

CreateMultiRegionAccessPoint API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Creates a Multi-Region Access Point and associates it with the specified buckets. For more information about creating Multi-Region Access Points, see Creating Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html) in the Amazon S3 User Guide.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation.

The following actions are related to CreateMultiRegionAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation CreateMultiRegionAccessPoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateMultiRegionAccessPoint

func (*S3Control) CreateMultiRegionAccessPointRequest added in v1.40.36

func (c *S3Control) CreateMultiRegionAccessPointRequest(input *CreateMultiRegionAccessPointInput) (req *request.Request, output *CreateMultiRegionAccessPointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateMultiRegionAccessPoint

func (*S3Control) CreateMultiRegionAccessPointWithContext added in v1.40.36

func (c *S3Control) CreateMultiRegionAccessPointWithContext(ctx aws.Context, input *CreateMultiRegionAccessPointInput, opts ...request.Option) (*CreateMultiRegionAccessPointOutput, error)

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

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

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

func (*S3Control) CreateStorageLensGroup added in v1.47.12

func (c *S3Control) CreateStorageLensGroup(input *CreateStorageLensGroupInput) (*CreateStorageLensGroupOutput, error)

CreateStorageLensGroup API operation for AWS S3 Control.

Creates a new S3 Storage Lens group and associates it with the specified Amazon Web Services account ID. An S3 Storage Lens group is a custom grouping of objects based on prefix, suffix, object tags, object size, object age, or a combination of these filters. For each Storage Lens group that you’ve created, you can also optionally add Amazon Web Services resource tags. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups-overview.html).

To use this operation, you must have the permission to perform the s3:CreateStorageLensGroup action. If you’re trying to create a Storage Lens group with Amazon Web Services resource tags, you must also have permission to perform the s3:TagResource action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList).

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

See the AWS API reference guide for AWS S3 Control's API operation CreateStorageLensGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateStorageLensGroup

func (*S3Control) CreateStorageLensGroupRequest added in v1.47.12

func (c *S3Control) CreateStorageLensGroupRequest(input *CreateStorageLensGroupInput) (req *request.Request, output *CreateStorageLensGroupOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateStorageLensGroup

func (*S3Control) CreateStorageLensGroupWithContext added in v1.47.12

func (c *S3Control) CreateStorageLensGroupWithContext(ctx aws.Context, input *CreateStorageLensGroupInput, opts ...request.Option) (*CreateStorageLensGroupOutput, error)

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

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

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

func (*S3Control) DeleteAccessGrant added in v1.48.4

func (c *S3Control) DeleteAccessGrant(input *DeleteAccessGrantInput) (*DeleteAccessGrantOutput, error)

DeleteAccessGrant API operation for AWS S3 Control.

Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant deletion and the grantee will no longer have access to the S3 data.

Permissions

You must have the s3:DeleteAccessGrant permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessGrant for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrant

func (*S3Control) DeleteAccessGrantRequest added in v1.48.4

func (c *S3Control) DeleteAccessGrantRequest(input *DeleteAccessGrantInput) (req *request.Request, output *DeleteAccessGrantOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrant

func (*S3Control) DeleteAccessGrantWithContext added in v1.48.4

func (c *S3Control) DeleteAccessGrantWithContext(ctx aws.Context, input *DeleteAccessGrantInput, opts ...request.Option) (*DeleteAccessGrantOutput, error)

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

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

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

func (*S3Control) DeleteAccessGrantsInstance added in v1.48.4

func (c *S3Control) DeleteAccessGrantsInstance(input *DeleteAccessGrantsInstanceInput) (*DeleteAccessGrantsInstanceOutput, error)

DeleteAccessGrantsInstance API operation for AWS S3 Control.

Deletes your S3 Access Grants instance. You must first delete the access grants and locations before S3 Access Grants can delete the instance. See DeleteAccessGrant (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessGrant.html) and DeleteAccessGrantsLocation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessGrantsLocation.html). If you have associated an IAM Identity Center instance with your S3 Access Grants instance, you must first dissassociate the Identity Center instance from the S3 Access Grants instance before you can delete the S3 Access Grants instance. See AssociateAccessGrantsIdentityCenter (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AssociateAccessGrantsIdentityCenter.html) and DissociateAccessGrantsIdentityCenter (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DissociateAccessGrantsIdentityCenter.html).

Permissions

You must have the s3:DeleteAccessGrantsInstance permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessGrantsInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsInstance

func (*S3Control) DeleteAccessGrantsInstanceRequest added in v1.48.4

func (c *S3Control) DeleteAccessGrantsInstanceRequest(input *DeleteAccessGrantsInstanceInput) (req *request.Request, output *DeleteAccessGrantsInstanceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsInstance

func (*S3Control) DeleteAccessGrantsInstanceResourcePolicy added in v1.48.4

DeleteAccessGrantsInstanceResourcePolicy API operation for AWS S3 Control.

Deletes the resource policy of the S3 Access Grants instance. The resource policy is used to manage cross-account access to your S3 Access Grants instance. By deleting the resource policy, you delete any cross-account permissions to your S3 Access Grants instance.

Permissions

You must have the s3:DeleteAccessGrantsInstanceResourcePolicy permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessGrantsInstanceResourcePolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsInstanceResourcePolicy

func (*S3Control) DeleteAccessGrantsInstanceResourcePolicyRequest added in v1.48.4

func (c *S3Control) DeleteAccessGrantsInstanceResourcePolicyRequest(input *DeleteAccessGrantsInstanceResourcePolicyInput) (req *request.Request, output *DeleteAccessGrantsInstanceResourcePolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsInstanceResourcePolicy

func (*S3Control) DeleteAccessGrantsInstanceResourcePolicyWithContext added in v1.48.4

func (c *S3Control) DeleteAccessGrantsInstanceResourcePolicyWithContext(ctx aws.Context, input *DeleteAccessGrantsInstanceResourcePolicyInput, opts ...request.Option) (*DeleteAccessGrantsInstanceResourcePolicyOutput, error)

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

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

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

func (*S3Control) DeleteAccessGrantsInstanceWithContext added in v1.48.4

func (c *S3Control) DeleteAccessGrantsInstanceWithContext(ctx aws.Context, input *DeleteAccessGrantsInstanceInput, opts ...request.Option) (*DeleteAccessGrantsInstanceOutput, error)

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

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

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

func (*S3Control) DeleteAccessGrantsLocation added in v1.48.4

func (c *S3Control) DeleteAccessGrantsLocation(input *DeleteAccessGrantsLocationInput) (*DeleteAccessGrantsLocationOutput, error)

DeleteAccessGrantsLocation API operation for AWS S3 Control.

Deregisters a location from your S3 Access Grants instance. You can only delete a location registration from an S3 Access Grants instance if there are no grants associated with this location. See Delete a grant (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessGrant.html) for information on how to delete grants. You need to have at least one registered location in your S3 Access Grants instance in order to create access grants.

Permissions

You must have the s3:DeleteAccessGrantsLocation permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessGrantsLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsLocation

func (*S3Control) DeleteAccessGrantsLocationRequest added in v1.48.4

func (c *S3Control) DeleteAccessGrantsLocationRequest(input *DeleteAccessGrantsLocationInput) (req *request.Request, output *DeleteAccessGrantsLocationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsLocation

func (*S3Control) DeleteAccessGrantsLocationWithContext added in v1.48.4

func (c *S3Control) DeleteAccessGrantsLocationWithContext(ctx aws.Context, input *DeleteAccessGrantsLocationInput, opts ...request.Option) (*DeleteAccessGrantsLocationOutput, error)

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

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

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

func (*S3Control) DeleteAccessPoint added in v1.25.46

func (c *S3Control) DeleteAccessPoint(input *DeleteAccessPointInput) (*DeleteAccessPointOutput, error)

DeleteAccessPoint API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Deletes the specified access point.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html#API_control_DeleteAccessPoint_Examples) section.

The following actions are related to DeleteAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessPoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPoint

func (*S3Control) DeleteAccessPointForObjectLambda added in v1.38.0

func (c *S3Control) DeleteAccessPointForObjectLambda(input *DeleteAccessPointForObjectLambdaInput) (*DeleteAccessPointForObjectLambdaOutput, error)

DeleteAccessPointForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Deletes the specified Object Lambda Access Point.

The following actions are related to DeleteAccessPointForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessPointForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda

func (*S3Control) DeleteAccessPointForObjectLambdaRequest added in v1.38.0

func (c *S3Control) DeleteAccessPointForObjectLambdaRequest(input *DeleteAccessPointForObjectLambdaInput) (req *request.Request, output *DeleteAccessPointForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda

func (*S3Control) DeleteAccessPointForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) DeleteAccessPointForObjectLambdaWithContext(ctx aws.Context, input *DeleteAccessPointForObjectLambdaInput, opts ...request.Option) (*DeleteAccessPointForObjectLambdaOutput, error)

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

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

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

func (*S3Control) DeleteAccessPointPolicy added in v1.25.46

func (c *S3Control) DeleteAccessPointPolicy(input *DeleteAccessPointPolicyInput) (*DeleteAccessPointPolicyOutput, error)

DeleteAccessPointPolicy API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Deletes the access point policy for the specified access point.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html#API_control_DeleteAccessPointPolicy_Examples) section.

The following actions are related to DeleteAccessPointPolicy:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessPointPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicy

func (*S3Control) DeleteAccessPointPolicyForObjectLambda added in v1.38.0

DeleteAccessPointPolicyForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Removes the resource policy for an Object Lambda Access Point.

The following actions are related to DeleteAccessPointPolicyForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteAccessPointPolicyForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda

func (*S3Control) DeleteAccessPointPolicyForObjectLambdaRequest added in v1.38.0

func (c *S3Control) DeleteAccessPointPolicyForObjectLambdaRequest(input *DeleteAccessPointPolicyForObjectLambdaInput) (req *request.Request, output *DeleteAccessPointPolicyForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda

func (*S3Control) DeleteAccessPointPolicyForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) DeleteAccessPointPolicyForObjectLambdaWithContext(ctx aws.Context, input *DeleteAccessPointPolicyForObjectLambdaInput, opts ...request.Option) (*DeleteAccessPointPolicyForObjectLambdaOutput, error)

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

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

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

func (*S3Control) DeleteAccessPointPolicyRequest added in v1.25.46

func (c *S3Control) DeleteAccessPointPolicyRequest(input *DeleteAccessPointPolicyInput) (req *request.Request, output *DeleteAccessPointPolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicy

func (*S3Control) DeleteAccessPointPolicyWithContext added in v1.25.46

func (c *S3Control) DeleteAccessPointPolicyWithContext(ctx aws.Context, input *DeleteAccessPointPolicyInput, opts ...request.Option) (*DeleteAccessPointPolicyOutput, error)

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

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

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

func (*S3Control) DeleteAccessPointRequest added in v1.25.46

func (c *S3Control) DeleteAccessPointRequest(input *DeleteAccessPointInput) (req *request.Request, output *DeleteAccessPointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPoint

func (*S3Control) DeleteAccessPointWithContext added in v1.25.46

func (c *S3Control) DeleteAccessPointWithContext(ctx aws.Context, input *DeleteAccessPointInput, opts ...request.Option) (*DeleteAccessPointOutput, error)

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

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

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

func (*S3Control) DeleteBucket added in v1.35.0

func (c *S3Control) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error)

DeleteBucket API operation for AWS S3 Control.

This action deletes an Amazon S3 on Outposts bucket. To delete an S3 bucket, see DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) in the Amazon S3 API Reference.

Deletes the Amazon S3 on Outposts bucket. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples) section.

Related Resources

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteBucket for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucket

func (*S3Control) DeleteBucketLifecycleConfiguration added in v1.35.0

func (c *S3Control) DeleteBucketLifecycleConfiguration(input *DeleteBucketLifecycleConfigurationInput) (*DeleteBucketLifecycleConfigurationOutput, error)

DeleteBucketLifecycleConfiguration API operation for AWS S3 Control.

This action deletes an Amazon S3 on Outposts bucket's lifecycle configuration. To delete an S3 bucket's lifecycle configuration, see DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) in the Amazon S3 API Reference.

Deletes the lifecycle configuration from the specified Outposts bucket. Amazon S3 on Outposts removes all the lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your objects never expire, and Amazon S3 on Outposts no longer automatically deletes any objects on the basis of rules contained in the deleted lifecycle configuration. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in Amazon S3 User Guide.

To use this operation, you must have permission to perform the s3-outposts:PutLifecycleConfiguration action. By default, the bucket owner has this permission and the Outposts bucket owner can grant this permission to others.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples) section.

For more information about object expiration, see Elements to Describe Lifecycle Actions (https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions).

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteBucketLifecycleConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketLifecycleConfiguration

func (*S3Control) DeleteBucketLifecycleConfigurationRequest added in v1.35.0

func (c *S3Control) DeleteBucketLifecycleConfigurationRequest(input *DeleteBucketLifecycleConfigurationInput) (req *request.Request, output *DeleteBucketLifecycleConfigurationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketLifecycleConfiguration

func (*S3Control) DeleteBucketLifecycleConfigurationWithContext added in v1.35.0

func (c *S3Control) DeleteBucketLifecycleConfigurationWithContext(ctx aws.Context, input *DeleteBucketLifecycleConfigurationInput, opts ...request.Option) (*DeleteBucketLifecycleConfigurationOutput, error)

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

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

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

func (*S3Control) DeleteBucketPolicy added in v1.35.0

func (c *S3Control) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error)

DeleteBucketPolicy API operation for AWS S3 Control.

This action deletes an Amazon S3 on Outposts bucket policy. To delete an S3 bucket policy, see DeleteBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html) in the Amazon S3 API Reference.

This implementation of the DELETE action uses the policy subresource to delete the policy of a specified Amazon S3 on Outposts bucket. If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the s3-outposts:DeleteBucketPolicy permissions on the specified Outposts bucket and belong to the bucket owner's account to use this action. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in Amazon S3 User Guide.

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.

As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action.

For more information about bucket policies, see Using Bucket Policies and User Policies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html).

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples) section.

The following actions are related to DeleteBucketPolicy:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteBucketPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketPolicy

func (*S3Control) DeleteBucketPolicyRequest added in v1.35.0

func (c *S3Control) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketPolicy

func (*S3Control) DeleteBucketPolicyWithContext added in v1.35.0

func (c *S3Control) DeleteBucketPolicyWithContext(ctx aws.Context, input *DeleteBucketPolicyInput, opts ...request.Option) (*DeleteBucketPolicyOutput, error)

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

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

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

func (*S3Control) DeleteBucketReplication added in v1.44.220

func (c *S3Control) DeleteBucketReplication(input *DeleteBucketReplicationInput) (*DeleteBucketReplicationOutput, error)

DeleteBucketReplication API operation for AWS S3 Control.

This operation deletes an Amazon S3 on Outposts bucket's replication configuration. To delete an S3 bucket's replication configuration, see DeleteBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html) in the Amazon S3 API Reference.

Deletes the replication configuration from the specified S3 on Outposts bucket.

To use this operation, you must have permissions to perform the s3-outposts:PutReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsIAM.html) and Managing access to S3 on Outposts buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html) in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketReplication.html#API_control_DeleteBucketReplication_Examples) section.

For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html) in the Amazon S3 User Guide.

The following operations are related to DeleteBucketReplication:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteBucketReplication for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketReplication

func (*S3Control) DeleteBucketReplicationRequest added in v1.44.220

func (c *S3Control) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) (req *request.Request, output *DeleteBucketReplicationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketReplication

func (*S3Control) DeleteBucketReplicationWithContext added in v1.44.220

func (c *S3Control) DeleteBucketReplicationWithContext(ctx aws.Context, input *DeleteBucketReplicationInput, opts ...request.Option) (*DeleteBucketReplicationOutput, error)

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

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

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

func (*S3Control) DeleteBucketRequest added in v1.35.0

func (c *S3Control) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucket

func (*S3Control) DeleteBucketTagging added in v1.35.0

func (c *S3Control) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error)

DeleteBucketTagging API operation for AWS S3 Control.

This action deletes an Amazon S3 on Outposts bucket's tags. To delete an S3 bucket tags, see DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html) in the Amazon S3 API Reference.

Deletes the tags from the Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in Amazon S3 User Guide.

To use this action, you must have permission to perform the PutBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples) section.

The following actions are related to DeleteBucketTagging:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteBucketTagging for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketTagging

func (*S3Control) DeleteBucketTaggingRequest added in v1.35.0

func (c *S3Control) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketTagging

func (*S3Control) DeleteBucketTaggingWithContext added in v1.35.0

func (c *S3Control) DeleteBucketTaggingWithContext(ctx aws.Context, input *DeleteBucketTaggingInput, opts ...request.Option) (*DeleteBucketTaggingOutput, error)

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

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

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

func (*S3Control) DeleteBucketWithContext added in v1.35.0

func (c *S3Control) DeleteBucketWithContext(ctx aws.Context, input *DeleteBucketInput, opts ...request.Option) (*DeleteBucketOutput, error)

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

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

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

func (*S3Control) DeleteJobTagging added in v1.29.25

func (c *S3Control) DeleteJobTagging(input *DeleteJobTaggingInput) (*DeleteJobTaggingOutput, error)

DeleteJobTagging API operation for AWS S3 Control.

Removes the entire tag set from the specified S3 Batch Operations job.

Permissions

To use the DeleteJobTagging operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags) in the Amazon S3 User Guide.

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteJobTagging for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException"

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeNotFoundException "NotFoundException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteJobTagging

func (*S3Control) DeleteJobTaggingRequest added in v1.29.25

func (c *S3Control) DeleteJobTaggingRequest(input *DeleteJobTaggingInput) (req *request.Request, output *DeleteJobTaggingOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteJobTagging

func (*S3Control) DeleteJobTaggingWithContext added in v1.29.25

func (c *S3Control) DeleteJobTaggingWithContext(ctx aws.Context, input *DeleteJobTaggingInput, opts ...request.Option) (*DeleteJobTaggingOutput, error)

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

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

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

func (*S3Control) DeleteMultiRegionAccessPoint added in v1.40.36

func (c *S3Control) DeleteMultiRegionAccessPoint(input *DeleteMultiRegionAccessPointInput) (*DeleteMultiRegionAccessPointOutput, error)

DeleteMultiRegionAccessPoint API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Deletes a Multi-Region Access Point. This action does not delete the buckets associated with the Multi-Region Access Point, only the Multi-Region Access Point itself.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation.

The following actions are related to DeleteMultiRegionAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteMultiRegionAccessPoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteMultiRegionAccessPoint

func (*S3Control) DeleteMultiRegionAccessPointRequest added in v1.40.36

func (c *S3Control) DeleteMultiRegionAccessPointRequest(input *DeleteMultiRegionAccessPointInput) (req *request.Request, output *DeleteMultiRegionAccessPointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteMultiRegionAccessPoint

func (*S3Control) DeleteMultiRegionAccessPointWithContext added in v1.40.36

func (c *S3Control) DeleteMultiRegionAccessPointWithContext(ctx aws.Context, input *DeleteMultiRegionAccessPointInput, opts ...request.Option) (*DeleteMultiRegionAccessPointOutput, error)

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

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

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

func (*S3Control) DeletePublicAccessBlock

func (c *S3Control) DeletePublicAccessBlock(input *DeletePublicAccessBlockInput) (*DeletePublicAccessBlockOutput, error)

DeletePublicAccessBlock API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Removes the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html).

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation DeletePublicAccessBlock for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeletePublicAccessBlock

func (*S3Control) DeletePublicAccessBlockRequest

func (c *S3Control) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) (req *request.Request, output *DeletePublicAccessBlockOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeletePublicAccessBlock

func (*S3Control) DeletePublicAccessBlockWithContext

func (c *S3Control) DeletePublicAccessBlockWithContext(ctx aws.Context, input *DeletePublicAccessBlockInput, opts ...request.Option) (*DeletePublicAccessBlockOutput, error)

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

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

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

func (*S3Control) DeleteStorageLensConfiguration added in v1.35.31

func (c *S3Control) DeleteStorageLensConfiguration(input *DeleteStorageLensConfigurationInput) (*DeleteStorageLensConfigurationOutput, error)

DeleteStorageLensConfiguration API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Deletes the Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:DeleteStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteStorageLensConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfiguration

func (*S3Control) DeleteStorageLensConfigurationRequest added in v1.35.31

func (c *S3Control) DeleteStorageLensConfigurationRequest(input *DeleteStorageLensConfigurationInput) (req *request.Request, output *DeleteStorageLensConfigurationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfiguration

func (*S3Control) DeleteStorageLensConfigurationTagging added in v1.35.31

DeleteStorageLensConfigurationTagging API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Deletes the Amazon S3 Storage Lens configuration tags. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:DeleteStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteStorageLensConfigurationTagging for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationTagging

func (*S3Control) DeleteStorageLensConfigurationTaggingRequest added in v1.35.31

func (c *S3Control) DeleteStorageLensConfigurationTaggingRequest(input *DeleteStorageLensConfigurationTaggingInput) (req *request.Request, output *DeleteStorageLensConfigurationTaggingOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationTagging

func (*S3Control) DeleteStorageLensConfigurationTaggingWithContext added in v1.35.31

func (c *S3Control) DeleteStorageLensConfigurationTaggingWithContext(ctx aws.Context, input *DeleteStorageLensConfigurationTaggingInput, opts ...request.Option) (*DeleteStorageLensConfigurationTaggingOutput, error)

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

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

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

func (*S3Control) DeleteStorageLensConfigurationWithContext added in v1.35.31

func (c *S3Control) DeleteStorageLensConfigurationWithContext(ctx aws.Context, input *DeleteStorageLensConfigurationInput, opts ...request.Option) (*DeleteStorageLensConfigurationOutput, error)

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

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

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

func (*S3Control) DeleteStorageLensGroup added in v1.47.12

func (c *S3Control) DeleteStorageLensGroup(input *DeleteStorageLensGroupInput) (*DeleteStorageLensGroupOutput, error)

DeleteStorageLensGroup API operation for AWS S3 Control.

Deletes an existing S3 Storage Lens group.

To use this operation, you must have the permission to perform the s3:DeleteStorageLensGroup action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList).

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

See the AWS API reference guide for AWS S3 Control's API operation DeleteStorageLensGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensGroup

func (*S3Control) DeleteStorageLensGroupRequest added in v1.47.12

func (c *S3Control) DeleteStorageLensGroupRequest(input *DeleteStorageLensGroupInput) (req *request.Request, output *DeleteStorageLensGroupOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensGroup

func (*S3Control) DeleteStorageLensGroupWithContext added in v1.47.12

func (c *S3Control) DeleteStorageLensGroupWithContext(ctx aws.Context, input *DeleteStorageLensGroupInput, opts ...request.Option) (*DeleteStorageLensGroupOutput, error)

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

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

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

func (*S3Control) DescribeJob added in v1.19.21

func (c *S3Control) DescribeJob(input *DescribeJobInput) (*DescribeJobOutput, error)

DescribeJob API operation for AWS S3 Control.

Retrieves the configuration parameters and status for a Batch Operations job. For more information, see S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html) in the Amazon S3 User Guide.

Permissions

To use the DescribeJob operation, you must have permission to perform the s3:DescribeJob action.

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation DescribeJob for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException"

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeNotFoundException "NotFoundException"

  • ErrCodeInternalServiceException "InternalServiceException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeJob

func (*S3Control) DescribeJobRequest added in v1.19.21

func (c *S3Control) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *DescribeJobOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeJob

func (*S3Control) DescribeJobWithContext added in v1.19.21

func (c *S3Control) DescribeJobWithContext(ctx aws.Context, input *DescribeJobInput, opts ...request.Option) (*DescribeJobOutput, error)

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

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

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

func (*S3Control) DescribeMultiRegionAccessPointOperation added in v1.40.36

DescribeMultiRegionAccessPointOperation API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Retrieves the status of an asynchronous request to manage a Multi-Region Access Point. For more information about managing Multi-Region Access Points and how asynchronous requests work, see Using Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MrapOperations.html) in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation DescribeMultiRegionAccessPointOperation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeMultiRegionAccessPointOperation

func (*S3Control) DescribeMultiRegionAccessPointOperationRequest added in v1.40.36

func (c *S3Control) DescribeMultiRegionAccessPointOperationRequest(input *DescribeMultiRegionAccessPointOperationInput) (req *request.Request, output *DescribeMultiRegionAccessPointOperationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeMultiRegionAccessPointOperation

func (*S3Control) DescribeMultiRegionAccessPointOperationWithContext added in v1.40.36

func (c *S3Control) DescribeMultiRegionAccessPointOperationWithContext(ctx aws.Context, input *DescribeMultiRegionAccessPointOperationInput, opts ...request.Option) (*DescribeMultiRegionAccessPointOperationOutput, error)

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

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

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

func (*S3Control) DissociateAccessGrantsIdentityCenter added in v1.48.4

DissociateAccessGrantsIdentityCenter API operation for AWS S3 Control.

Dissociates the Amazon Web Services IAM Identity Center instance from the S3 Access Grants instance.

Permissions

You must have the s3:DissociateAccessGrantsIdentityCenter permission to use this operation.

Additional Permissions

You must have the sso:DeleteApplication permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation DissociateAccessGrantsIdentityCenter for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DissociateAccessGrantsIdentityCenter

func (*S3Control) DissociateAccessGrantsIdentityCenterRequest added in v1.48.4

func (c *S3Control) DissociateAccessGrantsIdentityCenterRequest(input *DissociateAccessGrantsIdentityCenterInput) (req *request.Request, output *DissociateAccessGrantsIdentityCenterOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DissociateAccessGrantsIdentityCenter

func (*S3Control) DissociateAccessGrantsIdentityCenterWithContext added in v1.48.4

func (c *S3Control) DissociateAccessGrantsIdentityCenterWithContext(ctx aws.Context, input *DissociateAccessGrantsIdentityCenterInput, opts ...request.Option) (*DissociateAccessGrantsIdentityCenterOutput, error)

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

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

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

func (*S3Control) GetAccessGrant added in v1.48.4

func (c *S3Control) GetAccessGrant(input *GetAccessGrantInput) (*GetAccessGrantOutput, error)

GetAccessGrant API operation for AWS S3 Control.

Get the details of an access grant from your S3 Access Grants instance.

Permissions

You must have the s3:GetAccessGrant permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessGrant for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrant

func (*S3Control) GetAccessGrantRequest added in v1.48.4

func (c *S3Control) GetAccessGrantRequest(input *GetAccessGrantInput) (req *request.Request, output *GetAccessGrantOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrant

func (*S3Control) GetAccessGrantWithContext added in v1.48.4

func (c *S3Control) GetAccessGrantWithContext(ctx aws.Context, input *GetAccessGrantInput, opts ...request.Option) (*GetAccessGrantOutput, error)

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

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

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

func (*S3Control) GetAccessGrantsInstance added in v1.48.4

func (c *S3Control) GetAccessGrantsInstance(input *GetAccessGrantsInstanceInput) (*GetAccessGrantsInstanceOutput, error)

GetAccessGrantsInstance API operation for AWS S3 Control.

Retrieves the S3 Access Grants instance for a Region in your account.

Permissions

You must have the s3:GetAccessGrantsInstance permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessGrantsInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstance

func (*S3Control) GetAccessGrantsInstanceForPrefix added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceForPrefix(input *GetAccessGrantsInstanceForPrefixInput) (*GetAccessGrantsInstanceForPrefixOutput, error)

GetAccessGrantsInstanceForPrefix API operation for AWS S3 Control.

Retrieve the S3 Access Grants instance that contains a particular prefix.

Permissions

You must have the s3:GetAccessGrantsInstanceForPrefix permission for the caller account to use this operation.

Additional Permissions

The prefix owner account must grant you the following permissions to their S3 Access Grants instance: s3:GetAccessGrantsInstanceForPrefix.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessGrantsInstanceForPrefix for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstanceForPrefix

func (*S3Control) GetAccessGrantsInstanceForPrefixRequest added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceForPrefixRequest(input *GetAccessGrantsInstanceForPrefixInput) (req *request.Request, output *GetAccessGrantsInstanceForPrefixOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstanceForPrefix

func (*S3Control) GetAccessGrantsInstanceForPrefixWithContext added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceForPrefixWithContext(ctx aws.Context, input *GetAccessGrantsInstanceForPrefixInput, opts ...request.Option) (*GetAccessGrantsInstanceForPrefixOutput, error)

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

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

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

func (*S3Control) GetAccessGrantsInstanceRequest added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceRequest(input *GetAccessGrantsInstanceInput) (req *request.Request, output *GetAccessGrantsInstanceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstance

func (*S3Control) GetAccessGrantsInstanceResourcePolicy added in v1.48.4

GetAccessGrantsInstanceResourcePolicy API operation for AWS S3 Control.

Returns the resource policy of the S3 Access Grants instance.

Permissions

You must have the s3:GetAccessGrantsInstanceResourcePolicy permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessGrantsInstanceResourcePolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstanceResourcePolicy

func (*S3Control) GetAccessGrantsInstanceResourcePolicyRequest added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceResourcePolicyRequest(input *GetAccessGrantsInstanceResourcePolicyInput) (req *request.Request, output *GetAccessGrantsInstanceResourcePolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstanceResourcePolicy

func (*S3Control) GetAccessGrantsInstanceResourcePolicyWithContext added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceResourcePolicyWithContext(ctx aws.Context, input *GetAccessGrantsInstanceResourcePolicyInput, opts ...request.Option) (*GetAccessGrantsInstanceResourcePolicyOutput, error)

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

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

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

func (*S3Control) GetAccessGrantsInstanceWithContext added in v1.48.4

func (c *S3Control) GetAccessGrantsInstanceWithContext(ctx aws.Context, input *GetAccessGrantsInstanceInput, opts ...request.Option) (*GetAccessGrantsInstanceOutput, error)

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

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

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

func (*S3Control) GetAccessGrantsLocation added in v1.48.4

func (c *S3Control) GetAccessGrantsLocation(input *GetAccessGrantsLocationInput) (*GetAccessGrantsLocationOutput, error)

GetAccessGrantsLocation API operation for AWS S3 Control.

Retrieves the details of a particular location registered in your S3 Access Grants instance.

Permissions

You must have the s3:GetAccessGrantsLocation permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessGrantsLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsLocation

func (*S3Control) GetAccessGrantsLocationRequest added in v1.48.4

func (c *S3Control) GetAccessGrantsLocationRequest(input *GetAccessGrantsLocationInput) (req *request.Request, output *GetAccessGrantsLocationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsLocation

func (*S3Control) GetAccessGrantsLocationWithContext added in v1.48.4

func (c *S3Control) GetAccessGrantsLocationWithContext(ctx aws.Context, input *GetAccessGrantsLocationInput, opts ...request.Option) (*GetAccessGrantsLocationOutput, error)

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

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

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

func (*S3Control) GetAccessPoint added in v1.25.46

func (c *S3Control) GetAccessPoint(input *GetAccessPointInput) (*GetAccessPointOutput, error)

GetAccessPoint API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns configuration information about the specified access point.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples) section.

The following actions are related to GetAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPoint

func (*S3Control) GetAccessPointConfigurationForObjectLambda added in v1.38.0

GetAccessPointConfigurationForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns configuration for an Object Lambda Access Point.

The following actions are related to GetAccessPointConfigurationForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPointConfigurationForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda

func (*S3Control) GetAccessPointConfigurationForObjectLambdaRequest added in v1.38.0

func (c *S3Control) GetAccessPointConfigurationForObjectLambdaRequest(input *GetAccessPointConfigurationForObjectLambdaInput) (req *request.Request, output *GetAccessPointConfigurationForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda

func (*S3Control) GetAccessPointConfigurationForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) GetAccessPointConfigurationForObjectLambdaWithContext(ctx aws.Context, input *GetAccessPointConfigurationForObjectLambdaInput, opts ...request.Option) (*GetAccessPointConfigurationForObjectLambdaOutput, error)

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

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

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

func (*S3Control) GetAccessPointForObjectLambda added in v1.38.0

func (c *S3Control) GetAccessPointForObjectLambda(input *GetAccessPointForObjectLambdaInput) (*GetAccessPointForObjectLambdaOutput, error)

GetAccessPointForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns configuration information about the specified Object Lambda Access Point

The following actions are related to GetAccessPointForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPointForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda

func (*S3Control) GetAccessPointForObjectLambdaRequest added in v1.38.0

func (c *S3Control) GetAccessPointForObjectLambdaRequest(input *GetAccessPointForObjectLambdaInput) (req *request.Request, output *GetAccessPointForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda

func (*S3Control) GetAccessPointForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) GetAccessPointForObjectLambdaWithContext(ctx aws.Context, input *GetAccessPointForObjectLambdaInput, opts ...request.Option) (*GetAccessPointForObjectLambdaOutput, error)

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

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

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

func (*S3Control) GetAccessPointPolicy added in v1.25.46

func (c *S3Control) GetAccessPointPolicy(input *GetAccessPointPolicyInput) (*GetAccessPointPolicyOutput, error)

GetAccessPointPolicy API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns the access point policy associated with the specified access point.

The following actions are related to GetAccessPointPolicy:

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPointPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicy

func (*S3Control) GetAccessPointPolicyForObjectLambda added in v1.38.0

GetAccessPointPolicyForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns the resource policy for an Object Lambda Access Point.

The following actions are related to GetAccessPointPolicyForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPointPolicyForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda

func (*S3Control) GetAccessPointPolicyForObjectLambdaRequest added in v1.38.0

func (c *S3Control) GetAccessPointPolicyForObjectLambdaRequest(input *GetAccessPointPolicyForObjectLambdaInput) (req *request.Request, output *GetAccessPointPolicyForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda

func (*S3Control) GetAccessPointPolicyForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) GetAccessPointPolicyForObjectLambdaWithContext(ctx aws.Context, input *GetAccessPointPolicyForObjectLambdaInput, opts ...request.Option) (*GetAccessPointPolicyForObjectLambdaOutput, error)

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

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

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

func (*S3Control) GetAccessPointPolicyRequest added in v1.25.46

func (c *S3Control) GetAccessPointPolicyRequest(input *GetAccessPointPolicyInput) (req *request.Request, output *GetAccessPointPolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicy

func (*S3Control) GetAccessPointPolicyStatus added in v1.25.46

func (c *S3Control) GetAccessPointPolicyStatus(input *GetAccessPointPolicyStatusInput) (*GetAccessPointPolicyStatusOutput, error)

GetAccessPointPolicyStatus API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Indicates whether the specified access point currently has a policy that allows public access. For more information about public access through access points, see Managing Data Access with Amazon S3 access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html) in the Amazon S3 User Guide.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPointPolicyStatus for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatus

func (*S3Control) GetAccessPointPolicyStatusForObjectLambda added in v1.38.0

GetAccessPointPolicyStatusForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns the status of the resource policy associated with an Object Lambda Access Point.

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

See the AWS API reference guide for AWS S3 Control's API operation GetAccessPointPolicyStatusForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda

func (*S3Control) GetAccessPointPolicyStatusForObjectLambdaRequest added in v1.38.0

func (c *S3Control) GetAccessPointPolicyStatusForObjectLambdaRequest(input *GetAccessPointPolicyStatusForObjectLambdaInput) (req *request.Request, output *GetAccessPointPolicyStatusForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda

func (*S3Control) GetAccessPointPolicyStatusForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) GetAccessPointPolicyStatusForObjectLambdaWithContext(ctx aws.Context, input *GetAccessPointPolicyStatusForObjectLambdaInput, opts ...request.Option) (*GetAccessPointPolicyStatusForObjectLambdaOutput, error)

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

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

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

func (*S3Control) GetAccessPointPolicyStatusRequest added in v1.25.46

func (c *S3Control) GetAccessPointPolicyStatusRequest(input *GetAccessPointPolicyStatusInput) (req *request.Request, output *GetAccessPointPolicyStatusOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatus

func (*S3Control) GetAccessPointPolicyStatusWithContext added in v1.25.46

func (c *S3Control) GetAccessPointPolicyStatusWithContext(ctx aws.Context, input *GetAccessPointPolicyStatusInput, opts ...request.Option) (*GetAccessPointPolicyStatusOutput, error)

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

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

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

func (*S3Control) GetAccessPointPolicyWithContext added in v1.25.46

func (c *S3Control) GetAccessPointPolicyWithContext(ctx aws.Context, input *GetAccessPointPolicyInput, opts ...request.Option) (*GetAccessPointPolicyOutput, error)

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

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

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

func (*S3Control) GetAccessPointRequest added in v1.25.46

func (c *S3Control) GetAccessPointRequest(input *GetAccessPointInput) (req *request.Request, output *GetAccessPointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPoint

func (*S3Control) GetAccessPointWithContext added in v1.25.46

func (c *S3Control) GetAccessPointWithContext(ctx aws.Context, input *GetAccessPointInput, opts ...request.Option) (*GetAccessPointOutput, error)

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

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

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

func (*S3Control) GetBucket added in v1.35.0

func (c *S3Control) GetBucket(input *GetBucketInput) (*GetBucketOutput, error)

GetBucket API operation for AWS S3 Control.

Gets an Amazon S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

If you are using an identity other than the root user of the Amazon Web Services account that owns the Outposts bucket, the calling identity must have the s3-outposts:GetBucket permissions on the specified Outposts bucket and belong to the Outposts bucket owner's account in order to use this action. Only users from Outposts bucket owner account with the right permissions can perform actions on an Outposts bucket.

If you don't have s3-outposts:GetBucket permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 403 Access Denied error.

The following actions are related to GetBucket for Amazon S3 on Outposts:

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples) section.

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

See the AWS API reference guide for AWS S3 Control's API operation GetBucket for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucket

func (*S3Control) GetBucketLifecycleConfiguration added in v1.35.0

func (c *S3Control) GetBucketLifecycleConfiguration(input *GetBucketLifecycleConfigurationInput) (*GetBucketLifecycleConfigurationOutput, error)

GetBucketLifecycleConfiguration API operation for AWS S3 Control.

This action gets an Amazon S3 on Outposts bucket's lifecycle configuration. To get an S3 bucket's lifecycle configuration, see GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) in the Amazon S3 API Reference.

Returns the lifecycle configuration information set on the Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) and for information about lifecycle configuration, see Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) in Amazon S3 User Guide.

To use this action, you must have permission to perform the s3-outposts:GetLifecycleConfiguration action. The Outposts bucket owner has this permission, by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources) and Managing Access Permissions to Your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html).

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples) section.

GetBucketLifecycleConfiguration has the following special error:

  • Error code: NoSuchLifecycleConfiguration Description: The lifecycle configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault Code Prefix: Client

The following actions are related to GetBucketLifecycleConfiguration:

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

See the AWS API reference guide for AWS S3 Control's API operation GetBucketLifecycleConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketLifecycleConfiguration

func (*S3Control) GetBucketLifecycleConfigurationRequest added in v1.35.0

func (c *S3Control) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketLifecycleConfiguration

func (*S3Control) GetBucketLifecycleConfigurationWithContext added in v1.35.0

func (c *S3Control) GetBucketLifecycleConfigurationWithContext(ctx aws.Context, input *GetBucketLifecycleConfigurationInput, opts ...request.Option) (*GetBucketLifecycleConfigurationOutput, error)

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

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

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

func (*S3Control) GetBucketPolicy added in v1.35.0

func (c *S3Control) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error)

GetBucketPolicy API operation for AWS S3 Control.

This action gets a bucket policy for an Amazon S3 on Outposts bucket. To get a policy for an S3 bucket, see GetBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html) in the Amazon S3 API Reference.

Returns the policy of a specified Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this action.

Only users from Outposts bucket owner account with the right permissions can perform actions on an Outposts bucket. If you don't have s3-outposts:GetBucketPolicy permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 403 Access Denied error.

As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action.

For more information about bucket policies, see Using Bucket Policies and User Policies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html).

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples) section.

The following actions are related to GetBucketPolicy:

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

See the AWS API reference guide for AWS S3 Control's API operation GetBucketPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketPolicy

func (*S3Control) GetBucketPolicyRequest added in v1.35.0

func (c *S3Control) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketPolicy

func (*S3Control) GetBucketPolicyWithContext added in v1.35.0

func (c *S3Control) GetBucketPolicyWithContext(ctx aws.Context, input *GetBucketPolicyInput, opts ...request.Option) (*GetBucketPolicyOutput, error)

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

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

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

func (*S3Control) GetBucketReplication added in v1.44.220

func (c *S3Control) GetBucketReplication(input *GetBucketReplicationInput) (*GetBucketReplicationOutput, error)

GetBucketReplication API operation for AWS S3 Control.

This operation gets an Amazon S3 on Outposts bucket's replication configuration. To get an S3 bucket's replication configuration, see GetBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html) in the Amazon S3 API Reference.

Returns the replication configuration of an S3 on Outposts bucket. For more information about S3 on Outposts, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide. For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html) in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

This action requires permissions for the s3-outposts:GetReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsIAM.html) and Managing access to S3 on Outposts bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html) in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketReplication.html#API_control_GetBucketReplication_Examples) section.

If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication, Status, and Priority elements. The response also returns those elements.

For information about S3 on Outposts replication failure reasons, see Replication failure reasons (https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-eventbridge.html#outposts-replication-failure-codes) in the Amazon S3 User Guide.

The following operations are related to GetBucketReplication:

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

See the AWS API reference guide for AWS S3 Control's API operation GetBucketReplication for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketReplication

func (*S3Control) GetBucketReplicationRequest added in v1.44.220

func (c *S3Control) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req *request.Request, output *GetBucketReplicationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketReplication

func (*S3Control) GetBucketReplicationWithContext added in v1.44.220

func (c *S3Control) GetBucketReplicationWithContext(ctx aws.Context, input *GetBucketReplicationInput, opts ...request.Option) (*GetBucketReplicationOutput, error)

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

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

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

func (*S3Control) GetBucketRequest added in v1.35.0

func (c *S3Control) GetBucketRequest(input *GetBucketInput) (req *request.Request, output *GetBucketOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucket

func (*S3Control) GetBucketTagging added in v1.35.0

func (c *S3Control) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error)

GetBucketTagging API operation for AWS S3 Control.

This action gets an Amazon S3 on Outposts bucket's tags. To get an S3 bucket tags, see GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html) in the Amazon S3 API Reference.

Returns the tag set associated with the Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the GetBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others.

GetBucketTagging has the following special error:

  • Error code: NoSuchTagSetError Description: There is no tag set associated with the bucket.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples) section.

The following actions are related to GetBucketTagging:

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

See the AWS API reference guide for AWS S3 Control's API operation GetBucketTagging for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketTagging

func (*S3Control) GetBucketTaggingRequest added in v1.35.0

func (c *S3Control) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketTagging

func (*S3Control) GetBucketTaggingWithContext added in v1.35.0

func (c *S3Control) GetBucketTaggingWithContext(ctx aws.Context, input *GetBucketTaggingInput, opts ...request.Option) (*GetBucketTaggingOutput, error)

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

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

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

func (*S3Control) GetBucketVersioning added in v1.44.103

func (c *S3Control) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error)

GetBucketVersioning API operation for AWS S3 Control.

This operation returns the versioning state for S3 on Outposts buckets only. To return the versioning state for an S3 bucket, see GetBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html) in the Amazon S3 API Reference.

Returns the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures.

If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value.

For more information about versioning, see Versioning (https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html) in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html#API_control_GetBucketVersioning_Examples) section.

The following operations are related to GetBucketVersioning for S3 on Outposts.

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

See the AWS API reference guide for AWS S3 Control's API operation GetBucketVersioning for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketVersioning

func (*S3Control) GetBucketVersioningRequest added in v1.44.103

func (c *S3Control) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request, output *GetBucketVersioningOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketVersioning

func (*S3Control) GetBucketVersioningWithContext added in v1.44.103

func (c *S3Control) GetBucketVersioningWithContext(ctx aws.Context, input *GetBucketVersioningInput, opts ...request.Option) (*GetBucketVersioningOutput, error)

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

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

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

func (*S3Control) GetBucketWithContext added in v1.35.0

func (c *S3Control) GetBucketWithContext(ctx aws.Context, input *GetBucketInput, opts ...request.Option) (*GetBucketOutput, error)

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

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

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

func (*S3Control) GetDataAccess added in v1.48.4

func (c *S3Control) GetDataAccess(input *GetDataAccessInput) (*GetDataAccessOutput, error)

GetDataAccess API operation for AWS S3 Control.

Returns a temporary access credential from S3 Access Grants to the grantee or client application. The temporary credential (https://docs.aws.amazon.com/STS/latest/APIReference/API_Credentials.html) is an Amazon Web Services STS token that grants them access to the S3 data.

Permissions

You must have the s3:GetDataAccess permission to use this operation.

Additional Permissions

The IAM role that S3 Access Grants assumes must have the following permissions specified in the trust policy when registering the location: sts:AssumeRole, for directory users or groups sts:SetContext, and for IAM users or roles sts:SetSourceIdentity.

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

See the AWS API reference guide for AWS S3 Control's API operation GetDataAccess for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetDataAccess

func (*S3Control) GetDataAccessRequest added in v1.48.4

func (c *S3Control) GetDataAccessRequest(input *GetDataAccessInput) (req *request.Request, output *GetDataAccessOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetDataAccess

func (*S3Control) GetDataAccessWithContext added in v1.48.4

func (c *S3Control) GetDataAccessWithContext(ctx aws.Context, input *GetDataAccessInput, opts ...request.Option) (*GetDataAccessOutput, error)

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

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

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

func (*S3Control) GetJobTagging added in v1.29.25

func (c *S3Control) GetJobTagging(input *GetJobTaggingInput) (*GetJobTaggingOutput, error)

GetJobTagging API operation for AWS S3 Control.

Returns the tags on an S3 Batch Operations job.

Permissions

To use the GetJobTagging operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags) in the Amazon S3 User Guide.

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation GetJobTagging for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException"

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeNotFoundException "NotFoundException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetJobTagging

func (*S3Control) GetJobTaggingRequest added in v1.29.25

func (c *S3Control) GetJobTaggingRequest(input *GetJobTaggingInput) (req *request.Request, output *GetJobTaggingOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetJobTagging

func (*S3Control) GetJobTaggingWithContext added in v1.29.25

func (c *S3Control) GetJobTaggingWithContext(ctx aws.Context, input *GetJobTaggingInput, opts ...request.Option) (*GetJobTaggingOutput, error)

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

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

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

func (*S3Control) GetMultiRegionAccessPoint added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPoint(input *GetMultiRegionAccessPointInput) (*GetMultiRegionAccessPointOutput, error)

GetMultiRegionAccessPoint API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns configuration information about the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation GetMultiRegionAccessPoint for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPoint

func (*S3Control) GetMultiRegionAccessPointPolicy added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointPolicy(input *GetMultiRegionAccessPointPolicyInput) (*GetMultiRegionAccessPointPolicyOutput, error)

GetMultiRegionAccessPointPolicy API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns the access control policy of the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicy:

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

See the AWS API reference guide for AWS S3 Control's API operation GetMultiRegionAccessPointPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicy

func (*S3Control) GetMultiRegionAccessPointPolicyRequest added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointPolicyRequest(input *GetMultiRegionAccessPointPolicyInput) (req *request.Request, output *GetMultiRegionAccessPointPolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicy

func (*S3Control) GetMultiRegionAccessPointPolicyStatus added in v1.40.36

GetMultiRegionAccessPointPolicyStatus API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Indicates whether the specified Multi-Region Access Point has an access control policy that allows public access.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicyStatus:

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

See the AWS API reference guide for AWS S3 Control's API operation GetMultiRegionAccessPointPolicyStatus for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicyStatus

func (*S3Control) GetMultiRegionAccessPointPolicyStatusRequest added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointPolicyStatusRequest(input *GetMultiRegionAccessPointPolicyStatusInput) (req *request.Request, output *GetMultiRegionAccessPointPolicyStatusOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicyStatus

func (*S3Control) GetMultiRegionAccessPointPolicyStatusWithContext added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointPolicyStatusWithContext(ctx aws.Context, input *GetMultiRegionAccessPointPolicyStatusInput, opts ...request.Option) (*GetMultiRegionAccessPointPolicyStatusOutput, error)

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

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

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

func (*S3Control) GetMultiRegionAccessPointPolicyWithContext added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointPolicyWithContext(ctx aws.Context, input *GetMultiRegionAccessPointPolicyInput, opts ...request.Option) (*GetMultiRegionAccessPointPolicyOutput, error)

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

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

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

func (*S3Control) GetMultiRegionAccessPointRequest added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointRequest(input *GetMultiRegionAccessPointInput) (req *request.Request, output *GetMultiRegionAccessPointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPoint

func (*S3Control) GetMultiRegionAccessPointRoutes added in v1.44.147

func (c *S3Control) GetMultiRegionAccessPointRoutes(input *GetMultiRegionAccessPointRoutesInput) (*GetMultiRegionAccessPointRoutesOutput, error)

GetMultiRegionAccessPointRoutes API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns the routing configuration for a Multi-Region Access Point, indicating which Regions are active or passive.

To obtain routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

  • us-east-1

  • us-west-2

  • ap-southeast-2

  • ap-northeast-1

  • eu-west-1

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

See the AWS API reference guide for AWS S3 Control's API operation GetMultiRegionAccessPointRoutes for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointRoutes

func (*S3Control) GetMultiRegionAccessPointRoutesRequest added in v1.44.147

func (c *S3Control) GetMultiRegionAccessPointRoutesRequest(input *GetMultiRegionAccessPointRoutesInput) (req *request.Request, output *GetMultiRegionAccessPointRoutesOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointRoutes

func (*S3Control) GetMultiRegionAccessPointRoutesWithContext added in v1.44.147

func (c *S3Control) GetMultiRegionAccessPointRoutesWithContext(ctx aws.Context, input *GetMultiRegionAccessPointRoutesInput, opts ...request.Option) (*GetMultiRegionAccessPointRoutesOutput, error)

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

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

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

func (*S3Control) GetMultiRegionAccessPointWithContext added in v1.40.36

func (c *S3Control) GetMultiRegionAccessPointWithContext(ctx aws.Context, input *GetMultiRegionAccessPointInput, opts ...request.Option) (*GetMultiRegionAccessPointOutput, error)

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

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

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

func (*S3Control) GetPublicAccessBlock

func (c *S3Control) GetPublicAccessBlock(input *GetPublicAccessBlockInput) (*GetPublicAccessBlockOutput, error)

GetPublicAccessBlock API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Retrieves the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html).

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation GetPublicAccessBlock for usage and error information.

Returned Error Codes:

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlock

func (*S3Control) GetPublicAccessBlockRequest

func (c *S3Control) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) (req *request.Request, output *GetPublicAccessBlockOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlock

func (*S3Control) GetPublicAccessBlockWithContext

func (c *S3Control) GetPublicAccessBlockWithContext(ctx aws.Context, input *GetPublicAccessBlockInput, opts ...request.Option) (*GetPublicAccessBlockOutput, error)

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

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

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

func (*S3Control) GetStorageLensConfiguration added in v1.35.31

func (c *S3Control) GetStorageLensConfiguration(input *GetStorageLensConfigurationInput) (*GetStorageLensConfigurationOutput, error)

GetStorageLensConfiguration API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Gets the Amazon S3 Storage Lens configuration. For more information, see Assessing your storage activity and usage with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:GetStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

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

See the AWS API reference guide for AWS S3 Control's API operation GetStorageLensConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfiguration

func (*S3Control) GetStorageLensConfigurationRequest added in v1.35.31

func (c *S3Control) GetStorageLensConfigurationRequest(input *GetStorageLensConfigurationInput) (req *request.Request, output *GetStorageLensConfigurationOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfiguration

func (*S3Control) GetStorageLensConfigurationTagging added in v1.35.31

func (c *S3Control) GetStorageLensConfigurationTagging(input *GetStorageLensConfigurationTaggingInput) (*GetStorageLensConfigurationTaggingOutput, error)

GetStorageLensConfigurationTagging API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Gets the tags of Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:GetStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

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

See the AWS API reference guide for AWS S3 Control's API operation GetStorageLensConfigurationTagging for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationTagging

func (*S3Control) GetStorageLensConfigurationTaggingRequest added in v1.35.31

func (c *S3Control) GetStorageLensConfigurationTaggingRequest(input *GetStorageLensConfigurationTaggingInput) (req *request.Request, output *GetStorageLensConfigurationTaggingOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationTagging

func (*S3Control) GetStorageLensConfigurationTaggingWithContext added in v1.35.31

func (c *S3Control) GetStorageLensConfigurationTaggingWithContext(ctx aws.Context, input *GetStorageLensConfigurationTaggingInput, opts ...request.Option) (*GetStorageLensConfigurationTaggingOutput, error)

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

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

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

func (*S3Control) GetStorageLensConfigurationWithContext added in v1.35.31

func (c *S3Control) GetStorageLensConfigurationWithContext(ctx aws.Context, input *GetStorageLensConfigurationInput, opts ...request.Option) (*GetStorageLensConfigurationOutput, error)

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

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

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

func (*S3Control) GetStorageLensGroup added in v1.47.12

func (c *S3Control) GetStorageLensGroup(input *GetStorageLensGroupInput) (*GetStorageLensGroupOutput, error)

GetStorageLensGroup API operation for AWS S3 Control.

Retrieves the Storage Lens group configuration details.

To use this operation, you must have the permission to perform the s3:GetStorageLensGroup action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList).

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

See the AWS API reference guide for AWS S3 Control's API operation GetStorageLensGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensGroup

func (*S3Control) GetStorageLensGroupRequest added in v1.47.12

func (c *S3Control) GetStorageLensGroupRequest(input *GetStorageLensGroupInput) (req *request.Request, output *GetStorageLensGroupOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensGroup

func (*S3Control) GetStorageLensGroupWithContext added in v1.47.12

func (c *S3Control) GetStorageLensGroupWithContext(ctx aws.Context, input *GetStorageLensGroupInput, opts ...request.Option) (*GetStorageLensGroupOutput, error)

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

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

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

func (*S3Control) ListAccessGrants added in v1.48.4

func (c *S3Control) ListAccessGrants(input *ListAccessGrantsInput) (*ListAccessGrantsOutput, error)

ListAccessGrants API operation for AWS S3 Control.

Returns the list of access grants in your S3 Access Grants instance.

Permissions

You must have the s3:ListAccessGrants permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation ListAccessGrants for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrants

func (*S3Control) ListAccessGrantsInstances added in v1.48.4

func (c *S3Control) ListAccessGrantsInstances(input *ListAccessGrantsInstancesInput) (*ListAccessGrantsInstancesOutput, error)

ListAccessGrantsInstances API operation for AWS S3 Control.

Returns a list of S3 Access Grants instances. An S3 Access Grants instance serves as a logical grouping for your individual access grants. You can only have one S3 Access Grants instance per Region per account.

Permissions

You must have the s3:ListAccessGrantsInstances permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation ListAccessGrantsInstances for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsInstances

func (*S3Control) ListAccessGrantsInstancesPages added in v1.48.4

func (c *S3Control) ListAccessGrantsInstancesPages(input *ListAccessGrantsInstancesInput, fn func(*ListAccessGrantsInstancesOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListAccessGrantsInstancesPagesWithContext added in v1.48.4

func (c *S3Control) ListAccessGrantsInstancesPagesWithContext(ctx aws.Context, input *ListAccessGrantsInstancesInput, fn func(*ListAccessGrantsInstancesOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListAccessGrantsInstancesRequest added in v1.48.4

func (c *S3Control) ListAccessGrantsInstancesRequest(input *ListAccessGrantsInstancesInput) (req *request.Request, output *ListAccessGrantsInstancesOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsInstances

func (*S3Control) ListAccessGrantsInstancesWithContext added in v1.48.4

func (c *S3Control) ListAccessGrantsInstancesWithContext(ctx aws.Context, input *ListAccessGrantsInstancesInput, opts ...request.Option) (*ListAccessGrantsInstancesOutput, error)

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

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

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

func (*S3Control) ListAccessGrantsLocations added in v1.48.4

func (c *S3Control) ListAccessGrantsLocations(input *ListAccessGrantsLocationsInput) (*ListAccessGrantsLocationsOutput, error)

ListAccessGrantsLocations API operation for AWS S3 Control.

Returns a list of the locations registered in your S3 Access Grants instance.

Permissions

You must have the s3:ListAccessGrantsLocations permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation ListAccessGrantsLocations for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsLocations

func (*S3Control) ListAccessGrantsLocationsPages added in v1.48.4

func (c *S3Control) ListAccessGrantsLocationsPages(input *ListAccessGrantsLocationsInput, fn func(*ListAccessGrantsLocationsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListAccessGrantsLocationsPagesWithContext added in v1.48.4

func (c *S3Control) ListAccessGrantsLocationsPagesWithContext(ctx aws.Context, input *ListAccessGrantsLocationsInput, fn func(*ListAccessGrantsLocationsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListAccessGrantsLocationsRequest added in v1.48.4

func (c *S3Control) ListAccessGrantsLocationsRequest(input *ListAccessGrantsLocationsInput) (req *request.Request, output *ListAccessGrantsLocationsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsLocations

func (*S3Control) ListAccessGrantsLocationsWithContext added in v1.48.4

func (c *S3Control) ListAccessGrantsLocationsWithContext(ctx aws.Context, input *ListAccessGrantsLocationsInput, opts ...request.Option) (*ListAccessGrantsLocationsOutput, error)

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

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

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

func (*S3Control) ListAccessGrantsPages added in v1.48.4

func (c *S3Control) ListAccessGrantsPages(input *ListAccessGrantsInput, fn func(*ListAccessGrantsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListAccessGrantsPagesWithContext added in v1.48.4

func (c *S3Control) ListAccessGrantsPagesWithContext(ctx aws.Context, input *ListAccessGrantsInput, fn func(*ListAccessGrantsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListAccessGrantsRequest added in v1.48.4

func (c *S3Control) ListAccessGrantsRequest(input *ListAccessGrantsInput) (req *request.Request, output *ListAccessGrantsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrants

func (*S3Control) ListAccessGrantsWithContext added in v1.48.4

func (c *S3Control) ListAccessGrantsWithContext(ctx aws.Context, input *ListAccessGrantsInput, opts ...request.Option) (*ListAccessGrantsOutput, error)

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

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

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

func (*S3Control) ListAccessPoints added in v1.25.46

func (c *S3Control) ListAccessPoints(input *ListAccessPointsInput) (*ListAccessPointsOutput, error)

ListAccessPoints API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns a list of the access points that are owned by the current account that's associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples) section.

The following actions are related to ListAccessPoints:

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

See the AWS API reference guide for AWS S3 Control's API operation ListAccessPoints for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPoints

func (*S3Control) ListAccessPointsForObjectLambda added in v1.38.0

func (c *S3Control) ListAccessPointsForObjectLambda(input *ListAccessPointsForObjectLambdaInput) (*ListAccessPointsForObjectLambdaOutput, error)

ListAccessPointsForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points.

The following actions are related to ListAccessPointsForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation ListAccessPointsForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda

func (*S3Control) ListAccessPointsForObjectLambdaPages added in v1.38.0

func (c *S3Control) ListAccessPointsForObjectLambdaPages(input *ListAccessPointsForObjectLambdaInput, fn func(*ListAccessPointsForObjectLambdaOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListAccessPointsForObjectLambdaPagesWithContext added in v1.38.0

func (c *S3Control) ListAccessPointsForObjectLambdaPagesWithContext(ctx aws.Context, input *ListAccessPointsForObjectLambdaInput, fn func(*ListAccessPointsForObjectLambdaOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListAccessPointsForObjectLambdaRequest added in v1.38.0

func (c *S3Control) ListAccessPointsForObjectLambdaRequest(input *ListAccessPointsForObjectLambdaInput) (req *request.Request, output *ListAccessPointsForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda

func (*S3Control) ListAccessPointsForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) ListAccessPointsForObjectLambdaWithContext(ctx aws.Context, input *ListAccessPointsForObjectLambdaInput, opts ...request.Option) (*ListAccessPointsForObjectLambdaOutput, error)

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

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

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

func (*S3Control) ListAccessPointsPages added in v1.25.46

func (c *S3Control) ListAccessPointsPages(input *ListAccessPointsInput, fn func(*ListAccessPointsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListAccessPointsPagesWithContext added in v1.25.46

func (c *S3Control) ListAccessPointsPagesWithContext(ctx aws.Context, input *ListAccessPointsInput, fn func(*ListAccessPointsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListAccessPointsRequest added in v1.25.46

func (c *S3Control) ListAccessPointsRequest(input *ListAccessPointsInput) (req *request.Request, output *ListAccessPointsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPoints

func (*S3Control) ListAccessPointsWithContext added in v1.25.46

func (c *S3Control) ListAccessPointsWithContext(ctx aws.Context, input *ListAccessPointsInput, opts ...request.Option) (*ListAccessPointsOutput, error)

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

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

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

func (*S3Control) ListJobs added in v1.19.21

func (c *S3Control) ListJobs(input *ListJobsInput) (*ListJobsOutput, error)

ListJobs API operation for AWS S3 Control.

Lists current S3 Batch Operations jobs as well as the jobs that have ended within the last 90 days for the Amazon Web Services account making the request. For more information, see S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html) in the Amazon S3 User Guide.

Permissions

To use the ListJobs operation, you must have permission to perform the s3:ListJobs action.

Related actions include:

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

See the AWS API reference guide for AWS S3 Control's API operation ListJobs for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalServiceException "InternalServiceException"

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListJobs

func (*S3Control) ListJobsPages added in v1.19.21

func (c *S3Control) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListJobsPagesWithContext added in v1.19.21

func (c *S3Control) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListJobsRequest added in v1.19.21

func (c *S3Control) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListJobs

func (*S3Control) ListJobsWithContext added in v1.19.21

func (c *S3Control) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error)

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

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

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

func (*S3Control) ListMultiRegionAccessPoints added in v1.40.36

func (c *S3Control) ListMultiRegionAccessPoints(input *ListMultiRegionAccessPointsInput) (*ListMultiRegionAccessPointsOutput, error)

ListMultiRegionAccessPoints API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns a list of the Multi-Region Access Points currently associated with the specified Amazon Web Services account. Each call can return up to 100 Multi-Region Access Points, the maximum number of Multi-Region Access Points that can be associated with a single account.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

The following actions are related to ListMultiRegionAccessPoint:

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

See the AWS API reference guide for AWS S3 Control's API operation ListMultiRegionAccessPoints for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListMultiRegionAccessPoints

func (*S3Control) ListMultiRegionAccessPointsPages added in v1.40.36

func (c *S3Control) ListMultiRegionAccessPointsPages(input *ListMultiRegionAccessPointsInput, fn func(*ListMultiRegionAccessPointsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListMultiRegionAccessPointsPagesWithContext added in v1.40.36

func (c *S3Control) ListMultiRegionAccessPointsPagesWithContext(ctx aws.Context, input *ListMultiRegionAccessPointsInput, fn func(*ListMultiRegionAccessPointsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListMultiRegionAccessPointsRequest added in v1.40.36

func (c *S3Control) ListMultiRegionAccessPointsRequest(input *ListMultiRegionAccessPointsInput) (req *request.Request, output *ListMultiRegionAccessPointsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListMultiRegionAccessPoints

func (*S3Control) ListMultiRegionAccessPointsWithContext added in v1.40.36

func (c *S3Control) ListMultiRegionAccessPointsWithContext(ctx aws.Context, input *ListMultiRegionAccessPointsInput, opts ...request.Option) (*ListMultiRegionAccessPointsOutput, error)

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

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

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

func (*S3Control) ListRegionalBuckets added in v1.35.0

func (c *S3Control) ListRegionalBuckets(input *ListRegionalBucketsInput) (*ListRegionalBucketsOutput, error)

ListRegionalBuckets API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Returns a list of all Outposts buckets in an Outpost that are owned by the authenticated sender of the request. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your request, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples) section.

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

See the AWS API reference guide for AWS S3 Control's API operation ListRegionalBuckets for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListRegionalBuckets

func (*S3Control) ListRegionalBucketsPages added in v1.35.0

func (c *S3Control) ListRegionalBucketsPages(input *ListRegionalBucketsInput, fn func(*ListRegionalBucketsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListRegionalBucketsPagesWithContext added in v1.35.0

func (c *S3Control) ListRegionalBucketsPagesWithContext(ctx aws.Context, input *ListRegionalBucketsInput, fn func(*ListRegionalBucketsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListRegionalBucketsRequest added in v1.35.0

func (c *S3Control) ListRegionalBucketsRequest(input *ListRegionalBucketsInput) (req *request.Request, output *ListRegionalBucketsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListRegionalBuckets

func (*S3Control) ListRegionalBucketsWithContext added in v1.35.0

func (c *S3Control) ListRegionalBucketsWithContext(ctx aws.Context, input *ListRegionalBucketsInput, opts ...request.Option) (*ListRegionalBucketsOutput, error)

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

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

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

func (*S3Control) ListStorageLensConfigurations added in v1.35.31

func (c *S3Control) ListStorageLensConfigurations(input *ListStorageLensConfigurationsInput) (*ListStorageLensConfigurationsOutput, error)

ListStorageLensConfigurations API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Gets a list of Amazon S3 Storage Lens configurations. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:ListStorageLensConfigurations action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

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

See the AWS API reference guide for AWS S3 Control's API operation ListStorageLensConfigurations for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurations

func (*S3Control) ListStorageLensConfigurationsPages added in v1.38.4

func (c *S3Control) ListStorageLensConfigurationsPages(input *ListStorageLensConfigurationsInput, fn func(*ListStorageLensConfigurationsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListStorageLensConfigurationsPagesWithContext added in v1.38.4

func (c *S3Control) ListStorageLensConfigurationsPagesWithContext(ctx aws.Context, input *ListStorageLensConfigurationsInput, fn func(*ListStorageLensConfigurationsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListStorageLensConfigurationsRequest added in v1.35.31

func (c *S3Control) ListStorageLensConfigurationsRequest(input *ListStorageLensConfigurationsInput) (req *request.Request, output *ListStorageLensConfigurationsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurations

func (*S3Control) ListStorageLensConfigurationsWithContext added in v1.35.31

func (c *S3Control) ListStorageLensConfigurationsWithContext(ctx aws.Context, input *ListStorageLensConfigurationsInput, opts ...request.Option) (*ListStorageLensConfigurationsOutput, error)

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

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

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

func (*S3Control) ListStorageLensGroups added in v1.47.12

func (c *S3Control) ListStorageLensGroups(input *ListStorageLensGroupsInput) (*ListStorageLensGroupsOutput, error)

ListStorageLensGroups API operation for AWS S3 Control.

Lists all the Storage Lens groups in the specified home Region.

To use this operation, you must have the permission to perform the s3:ListStorageLensGroups action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList).

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

See the AWS API reference guide for AWS S3 Control's API operation ListStorageLensGroups for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensGroups

func (*S3Control) ListStorageLensGroupsPages added in v1.47.12

func (c *S3Control) ListStorageLensGroupsPages(input *ListStorageLensGroupsInput, fn func(*ListStorageLensGroupsOutput, bool) bool) error

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

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

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

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

func (*S3Control) ListStorageLensGroupsPagesWithContext added in v1.47.12

func (c *S3Control) ListStorageLensGroupsPagesWithContext(ctx aws.Context, input *ListStorageLensGroupsInput, fn func(*ListStorageLensGroupsOutput, bool) bool, opts ...request.Option) error

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

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

func (*S3Control) ListStorageLensGroupsRequest added in v1.47.12

func (c *S3Control) ListStorageLensGroupsRequest(input *ListStorageLensGroupsInput) (req *request.Request, output *ListStorageLensGroupsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensGroups

func (*S3Control) ListStorageLensGroupsWithContext added in v1.47.12

func (c *S3Control) ListStorageLensGroupsWithContext(ctx aws.Context, input *ListStorageLensGroupsInput, opts ...request.Option) (*ListStorageLensGroupsOutput, error)

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

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

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

func (*S3Control) ListTagsForResource added in v1.47.12

func (c *S3Control) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS S3 Control.

This operation allows you to list all the Amazon Web Services resource tags for a specified resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

Permissions

You must have the s3:ListTagsForResource permission to use this operation.

This operation is only supported for S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html) and for S3 Access Grants (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html). The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList).

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

See the AWS API reference guide for AWS S3 Control's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResource

func (*S3Control) ListTagsForResourceRequest added in v1.47.12

func (c *S3Control) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResource

func (*S3Control) ListTagsForResourceWithContext added in v1.47.12

func (c *S3Control) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

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

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

func (*S3Control) PutAccessGrantsInstanceResourcePolicy added in v1.48.4

PutAccessGrantsInstanceResourcePolicy API operation for AWS S3 Control.

Updates the resource policy of the S3 Access Grants instance.

Permissions

You must have the s3:PutAccessGrantsInstanceResourcePolicy permission to use this operation.

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

See the AWS API reference guide for AWS S3 Control's API operation PutAccessGrantsInstanceResourcePolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessGrantsInstanceResourcePolicy

func (*S3Control) PutAccessGrantsInstanceResourcePolicyRequest added in v1.48.4

func (c *S3Control) PutAccessGrantsInstanceResourcePolicyRequest(input *PutAccessGrantsInstanceResourcePolicyInput) (req *request.Request, output *PutAccessGrantsInstanceResourcePolicyOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessGrantsInstanceResourcePolicy

func (*S3Control) PutAccessGrantsInstanceResourcePolicyWithContext added in v1.48.4

func (c *S3Control) PutAccessGrantsInstanceResourcePolicyWithContext(ctx aws.Context, input *PutAccessGrantsInstanceResourcePolicyInput, opts ...request.Option) (*PutAccessGrantsInstanceResourcePolicyOutput, error)

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

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

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

func (*S3Control) PutAccessPointConfigurationForObjectLambda added in v1.38.0

PutAccessPointConfigurationForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Replaces configuration for an Object Lambda Access Point.

The following actions are related to PutAccessPointConfigurationForObjectLambda:

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

See the AWS API reference guide for AWS S3 Control's API operation PutAccessPointConfigurationForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda

func (*S3Control) PutAccessPointConfigurationForObjectLambdaRequest added in v1.38.0

func (c *S3Control) PutAccessPointConfigurationForObjectLambdaRequest(input *PutAccessPointConfigurationForObjectLambdaInput) (req *request.Request, output *PutAccessPointConfigurationForObjectLambdaOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda

func (*S3Control) PutAccessPointConfigurationForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) PutAccessPointConfigurationForObjectLambdaWithContext(ctx aws.Context, input *PutAccessPointConfigurationForObjectLambdaInput, opts ...request.Option) (*PutAccessPointConfigurationForObjectLambdaOutput, error)

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

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

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

func (*S3Control) PutAccessPointPolicy added in v1.25.46

func (c *S3Control) PutAccessPointPolicy(input *PutAccessPointPolicyInput) (*PutAccessPointPolicyOutput, error)

PutAccessPointPolicy API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Associates an access policy with the specified access point. Each access point can have only one policy, so a request made to this API replaces any existing policy associated with the specified access point.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html#API_control_PutAccessPointPolicy_Examples) section.

The following actions are related to PutAccessPointPolicy:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutAccessPointPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicy

func (*S3Control) PutAccessPointPolicyForObjectLambda added in v1.38.0

PutAccessPointPolicyForObjectLambda API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Creates or replaces resource policy for an Object Lambda Access Point. For an example policy, see Creating Object Lambda Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli) in the Amazon S3 User Guide.

The following actions are related to PutAccessPointPolicyForObjectLambda:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutAccessPointPolicyForObjectLambda for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda

func (*S3Control) PutAccessPointPolicyForObjectLambdaRequest added in v1.38.0

func (c *S3Control) PutAccessPointPolicyForObjectLambdaRequest(input *PutAccessPointPolicyForObjectLambdaInput) (req *request.Request, output *PutAccessPointPolicyForObjectLambdaOutput)

PutAccessPointPolicyForObjectLambdaRequest generates a "aws/request.Request" representing the client's request for the PutAccessPointPolicyForObjectLambda operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAccessPointPolicyForObjectLambda for more information on using the PutAccessPointPolicyForObjectLambda API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAccessPointPolicyForObjectLambdaRequest method.
req, resp := client.PutAccessPointPolicyForObjectLambdaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda

func (*S3Control) PutAccessPointPolicyForObjectLambdaWithContext added in v1.38.0

func (c *S3Control) PutAccessPointPolicyForObjectLambdaWithContext(ctx aws.Context, input *PutAccessPointPolicyForObjectLambdaInput, opts ...request.Option) (*PutAccessPointPolicyForObjectLambdaOutput, error)

PutAccessPointPolicyForObjectLambdaWithContext is the same as PutAccessPointPolicyForObjectLambda with the addition of the ability to pass a context and additional request options.

See PutAccessPointPolicyForObjectLambda for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutAccessPointPolicyRequest added in v1.25.46

func (c *S3Control) PutAccessPointPolicyRequest(input *PutAccessPointPolicyInput) (req *request.Request, output *PutAccessPointPolicyOutput)

PutAccessPointPolicyRequest generates a "aws/request.Request" representing the client's request for the PutAccessPointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAccessPointPolicy for more information on using the PutAccessPointPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAccessPointPolicyRequest method.
req, resp := client.PutAccessPointPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicy

func (*S3Control) PutAccessPointPolicyWithContext added in v1.25.46

func (c *S3Control) PutAccessPointPolicyWithContext(ctx aws.Context, input *PutAccessPointPolicyInput, opts ...request.Option) (*PutAccessPointPolicyOutput, error)

PutAccessPointPolicyWithContext is the same as PutAccessPointPolicy with the addition of the ability to pass a context and additional request options.

See PutAccessPointPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutBucketLifecycleConfiguration added in v1.35.0

func (c *S3Control) PutBucketLifecycleConfiguration(input *PutBucketLifecycleConfigurationInput) (*PutBucketLifecycleConfigurationOutput, error)

PutBucketLifecycleConfiguration API operation for AWS S3 Control.

This action puts a lifecycle configuration to an Amazon S3 on Outposts bucket. To put a lifecycle configuration to an S3 bucket, see PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) in the Amazon S3 API Reference.

Creates a new lifecycle configuration for the S3 on Outposts bucket or replaces an existing lifecycle configuration. Outposts buckets only support lifecycle configurations that delete/expire objects after a certain period of time and abort incomplete multipart uploads.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples) section.

The following actions are related to PutBucketLifecycleConfiguration:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutBucketLifecycleConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketLifecycleConfiguration

func (*S3Control) PutBucketLifecycleConfigurationRequest added in v1.35.0

func (c *S3Control) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput)

PutBucketLifecycleConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutBucketLifecycleConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBucketLifecycleConfiguration for more information on using the PutBucketLifecycleConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBucketLifecycleConfigurationRequest method.
req, resp := client.PutBucketLifecycleConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketLifecycleConfiguration

func (*S3Control) PutBucketLifecycleConfigurationWithContext added in v1.35.0

func (c *S3Control) PutBucketLifecycleConfigurationWithContext(ctx aws.Context, input *PutBucketLifecycleConfigurationInput, opts ...request.Option) (*PutBucketLifecycleConfigurationOutput, error)

PutBucketLifecycleConfigurationWithContext is the same as PutBucketLifecycleConfiguration with the addition of the ability to pass a context and additional request options.

See PutBucketLifecycleConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutBucketPolicy added in v1.35.0

func (c *S3Control) PutBucketPolicy(input *PutBucketPolicyInput) (*PutBucketPolicyOutput, error)

PutBucketPolicy API operation for AWS S3 Control.

This action puts a bucket policy to an Amazon S3 on Outposts bucket. To put a policy on an S3 bucket, see PutBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html) in the Amazon S3 API Reference.

Applies an Amazon S3 bucket policy to an Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

If you are using an identity other than the root user of the Amazon Web Services account that owns the Outposts bucket, the calling identity must have the PutBucketPolicy permissions on the specified Outposts bucket and belong to the bucket owner's account in order to use this action.

If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.

As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action.

For more information about bucket policies, see Using Bucket Policies and User Policies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html).

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples) section.

The following actions are related to PutBucketPolicy:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutBucketPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketPolicy

func (*S3Control) PutBucketPolicyRequest added in v1.35.0

func (c *S3Control) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput)

PutBucketPolicyRequest generates a "aws/request.Request" representing the client's request for the PutBucketPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBucketPolicy for more information on using the PutBucketPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBucketPolicyRequest method.
req, resp := client.PutBucketPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketPolicy

func (*S3Control) PutBucketPolicyWithContext added in v1.35.0

func (c *S3Control) PutBucketPolicyWithContext(ctx aws.Context, input *PutBucketPolicyInput, opts ...request.Option) (*PutBucketPolicyOutput, error)

PutBucketPolicyWithContext is the same as PutBucketPolicy with the addition of the ability to pass a context and additional request options.

See PutBucketPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutBucketReplication added in v1.44.220

func (c *S3Control) PutBucketReplication(input *PutBucketReplicationInput) (*PutBucketReplicationOutput, error)

PutBucketReplication API operation for AWS S3 Control.

This action creates an Amazon S3 on Outposts bucket's replication configuration. To create an S3 bucket's replication configuration, see PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html) in the Amazon S3 API Reference.

Creates a replication configuration or replaces an existing one. For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html) in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

Specify the replication configuration in the request body. In the replication configuration, you provide the following information:

  • The name of the destination bucket or buckets where you want S3 on Outposts to replicate objects

  • The Identity and Access Management (IAM) role that S3 on Outposts can assume to replicate objects on your behalf

  • Other relevant information, such as replication rules

A replication configuration must include at least one rule and can contain a maximum of 100. Each rule identifies a subset of objects to replicate by filtering the objects in the source Outposts bucket. To choose additional subsets of objects to replicate, add a rule for each subset.

To specify a subset of the objects in the source Outposts bucket to apply a replication rule to, add the Filter element as a child of the Rule element. You can filter objects based on an object key prefix, one or more object tags, or both. When you add the Filter element in the configuration, you must also add the following elements: DeleteMarkerReplication, Status, and Priority.

Using PutBucketReplication on Outposts requires that both the source and destination buckets must have versioning enabled. For information about enabling versioning on a bucket, see Managing S3 Versioning for your S3 on Outposts bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsManagingVersioning.html).

For information about S3 on Outposts replication failure reasons, see Replication failure reasons (https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-eventbridge.html#outposts-replication-failure-codes) in the Amazon S3 User Guide.

Handling Replication of Encrypted Objects

Outposts buckets are encrypted at all times. All the objects in the source Outposts bucket are encrypted and can be replicated. Also, all the replicas in the destination Outposts bucket are encrypted with the same encryption key as the objects in the source Outposts bucket.

Permissions

To create a PutBucketReplication request, you must have s3-outposts:PutReplicationConfiguration permissions for the bucket. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsIAM.html) and Managing access to S3 on Outposts buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html).

To perform this operation, the user or role must also have the iam:CreateRole and iam:PassRole permissions. For more information, see Granting a user permissions to pass a role to an Amazon Web Services service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html).

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketReplication.html#API_control_PutBucketReplication_Examples) section.

The following operations are related to PutBucketReplication:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutBucketReplication for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketReplication

func (*S3Control) PutBucketReplicationRequest added in v1.44.220

func (c *S3Control) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req *request.Request, output *PutBucketReplicationOutput)

PutBucketReplicationRequest generates a "aws/request.Request" representing the client's request for the PutBucketReplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBucketReplication for more information on using the PutBucketReplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBucketReplicationRequest method.
req, resp := client.PutBucketReplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketReplication

func (*S3Control) PutBucketReplicationWithContext added in v1.44.220

func (c *S3Control) PutBucketReplicationWithContext(ctx aws.Context, input *PutBucketReplicationInput, opts ...request.Option) (*PutBucketReplicationOutput, error)

PutBucketReplicationWithContext is the same as PutBucketReplication with the addition of the ability to pass a context and additional request options.

See PutBucketReplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutBucketTagging added in v1.35.0

func (c *S3Control) PutBucketTagging(input *PutBucketTaggingInput) (*PutBucketTaggingOutput, error)

PutBucketTagging API operation for AWS S3 Control.

This action puts tags on an Amazon S3 on Outposts bucket. To put tags on an S3 bucket, see PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html) in the Amazon S3 API Reference.

Sets the tags for an S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost allocation and tagging (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html).

Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites the old value. For more information, see Using cost allocation in Amazon S3 bucket tags (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html).

To use this action, you must have permissions to perform the s3-outposts:PutBucketTagging action. The Outposts bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources) and Managing access permissions to your Amazon S3 resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html).

PutBucketTagging has the following special errors:

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples) section.

The following actions are related to PutBucketTagging:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutBucketTagging for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketTagging

func (*S3Control) PutBucketTaggingRequest added in v1.35.0

func (c *S3Control) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput)

PutBucketTaggingRequest generates a "aws/request.Request" representing the client's request for the PutBucketTagging operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBucketTagging for more information on using the PutBucketTagging API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBucketTaggingRequest method.
req, resp := client.PutBucketTaggingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketTagging

func (*S3Control) PutBucketTaggingWithContext added in v1.35.0

func (c *S3Control) PutBucketTaggingWithContext(ctx aws.Context, input *PutBucketTaggingInput, opts ...request.Option) (*PutBucketTaggingOutput, error)

PutBucketTaggingWithContext is the same as PutBucketTagging with the addition of the ability to pass a context and additional request options.

See PutBucketTagging for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutBucketVersioning added in v1.44.103

func (c *S3Control) PutBucketVersioning(input *PutBucketVersioningInput) (*PutBucketVersioningOutput, error)

PutBucketVersioning API operation for AWS S3 Control.

This operation sets the versioning state for S3 on Outposts buckets only. To set the versioning state for an S3 bucket, see PutBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html) in the Amazon S3 API Reference.

Sets the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures.

You can set the versioning state to one of the following:

  • Enabled - Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID.

  • Suspended - Suspends versioning for the objects in the bucket. All objects added to the bucket receive the version ID null.

If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html) request does not return a versioning state value.

When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html) in the Amazon S3 User Guide.

If you have an object expiration lifecycle configuration in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage the deletes of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning (https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html) in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples) section.

The following operations are related to PutBucketVersioning for S3 on Outposts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutBucketVersioning for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketVersioning

func (*S3Control) PutBucketVersioningRequest added in v1.44.103

func (c *S3Control) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request, output *PutBucketVersioningOutput)

PutBucketVersioningRequest generates a "aws/request.Request" representing the client's request for the PutBucketVersioning operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutBucketVersioning for more information on using the PutBucketVersioning API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutBucketVersioningRequest method.
req, resp := client.PutBucketVersioningRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketVersioning

func (*S3Control) PutBucketVersioningWithContext added in v1.44.103

func (c *S3Control) PutBucketVersioningWithContext(ctx aws.Context, input *PutBucketVersioningInput, opts ...request.Option) (*PutBucketVersioningOutput, error)

PutBucketVersioningWithContext is the same as PutBucketVersioning with the addition of the ability to pass a context and additional request options.

See PutBucketVersioning for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutJobTagging added in v1.29.25

func (c *S3Control) PutJobTagging(input *PutJobTaggingInput) (*PutJobTaggingOutput, error)

PutJobTagging API operation for AWS S3 Control.

Sets the supplied tag-set on an S3 Batch Operations job.

A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html), modify that tag set, and use this operation to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags) in the Amazon S3 User Guide.

  • If you send this request with an empty tag set, Amazon S3 deletes the existing tag set on the Batch Operations job. If you use this method, you are charged for a Tier 1 Request (PUT). For more information, see Amazon S3 pricing (http://aws.amazon.com/s3/pricing/).

  • For deleting existing tags for your Batch Operations job, a DeleteJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) request is preferred because it achieves the same result without incurring charges.

  • A few things to consider about using tags: Amazon S3 limits the maximum number of tags to 50 tags per job. You can associate up to 50 tags with a job as long as they have unique tag keys. A tag key can be up to 128 Unicode characters in length, and tag values can be up to 256 Unicode characters in length. The key and values are case sensitive. For tagging-related restrictions related to characters and encodings, see User-Defined Tag Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) in the Billing and Cost Management User Guide.

Permissions

To use the PutJobTagging operation, you must have permission to perform the s3:PutJobTagging action.

Related actions include:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutJobTagging for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException"

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeNotFoundException "NotFoundException"

  • ErrCodeTooManyTagsException "TooManyTagsException" Amazon S3 throws this exception if you have too many tags in your tag set.

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutJobTagging

func (*S3Control) PutJobTaggingRequest added in v1.29.25

func (c *S3Control) PutJobTaggingRequest(input *PutJobTaggingInput) (req *request.Request, output *PutJobTaggingOutput)

PutJobTaggingRequest generates a "aws/request.Request" representing the client's request for the PutJobTagging operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutJobTagging for more information on using the PutJobTagging API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutJobTaggingRequest method.
req, resp := client.PutJobTaggingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutJobTagging

func (*S3Control) PutJobTaggingWithContext added in v1.29.25

func (c *S3Control) PutJobTaggingWithContext(ctx aws.Context, input *PutJobTaggingInput, opts ...request.Option) (*PutJobTaggingOutput, error)

PutJobTaggingWithContext is the same as PutJobTagging with the addition of the ability to pass a context and additional request options.

See PutJobTagging for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutMultiRegionAccessPointPolicy added in v1.40.36

func (c *S3Control) PutMultiRegionAccessPointPolicy(input *PutMultiRegionAccessPointPolicyInput) (*PutMultiRegionAccessPointPolicyOutput, error)

PutMultiRegionAccessPointPolicy API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Associates an access control policy with the specified Multi-Region Access Point. Each Multi-Region Access Point can have only one policy, so a request made to this action replaces any existing policy that is associated with the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) in the Amazon S3 User Guide.

The following actions are related to PutMultiRegionAccessPointPolicy:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutMultiRegionAccessPointPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutMultiRegionAccessPointPolicy

func (*S3Control) PutMultiRegionAccessPointPolicyRequest added in v1.40.36

func (c *S3Control) PutMultiRegionAccessPointPolicyRequest(input *PutMultiRegionAccessPointPolicyInput) (req *request.Request, output *PutMultiRegionAccessPointPolicyOutput)

PutMultiRegionAccessPointPolicyRequest generates a "aws/request.Request" representing the client's request for the PutMultiRegionAccessPointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutMultiRegionAccessPointPolicy for more information on using the PutMultiRegionAccessPointPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutMultiRegionAccessPointPolicyRequest method.
req, resp := client.PutMultiRegionAccessPointPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutMultiRegionAccessPointPolicy

func (*S3Control) PutMultiRegionAccessPointPolicyWithContext added in v1.40.36

func (c *S3Control) PutMultiRegionAccessPointPolicyWithContext(ctx aws.Context, input *PutMultiRegionAccessPointPolicyInput, opts ...request.Option) (*PutMultiRegionAccessPointPolicyOutput, error)

PutMultiRegionAccessPointPolicyWithContext is the same as PutMultiRegionAccessPointPolicy with the addition of the ability to pass a context and additional request options.

See PutMultiRegionAccessPointPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutPublicAccessBlock

func (c *S3Control) PutPublicAccessBlock(input *PutPublicAccessBlockInput) (*PutPublicAccessBlockOutput, error)

PutPublicAccessBlock API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutAccountPublicAccessBlock permission. For more information, see Using Amazon S3 block public access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html).

Related actions include:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutPublicAccessBlock for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutPublicAccessBlock

func (*S3Control) PutPublicAccessBlockRequest

func (c *S3Control) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) (req *request.Request, output *PutPublicAccessBlockOutput)

PutPublicAccessBlockRequest generates a "aws/request.Request" representing the client's request for the PutPublicAccessBlock operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutPublicAccessBlock for more information on using the PutPublicAccessBlock API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutPublicAccessBlockRequest method.
req, resp := client.PutPublicAccessBlockRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutPublicAccessBlock

func (*S3Control) PutPublicAccessBlockWithContext

func (c *S3Control) PutPublicAccessBlockWithContext(ctx aws.Context, input *PutPublicAccessBlockInput, opts ...request.Option) (*PutPublicAccessBlockOutput, error)

PutPublicAccessBlockWithContext is the same as PutPublicAccessBlock with the addition of the ability to pass a context and additional request options.

See PutPublicAccessBlock for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutStorageLensConfiguration added in v1.35.31

func (c *S3Control) PutStorageLensConfiguration(input *PutStorageLensConfigurationInput) (*PutStorageLensConfigurationOutput, error)

PutStorageLensConfiguration API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Working with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutStorageLensConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfiguration

func (*S3Control) PutStorageLensConfigurationRequest added in v1.35.31

func (c *S3Control) PutStorageLensConfigurationRequest(input *PutStorageLensConfigurationInput) (req *request.Request, output *PutStorageLensConfigurationOutput)

PutStorageLensConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutStorageLensConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutStorageLensConfiguration for more information on using the PutStorageLensConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutStorageLensConfigurationRequest method.
req, resp := client.PutStorageLensConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfiguration

func (*S3Control) PutStorageLensConfigurationTagging added in v1.35.31

func (c *S3Control) PutStorageLensConfigurationTagging(input *PutStorageLensConfigurationTaggingInput) (*PutStorageLensConfigurationTaggingOutput, error)

PutStorageLensConfigurationTagging API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Put or replace tags on an existing Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html) in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html) in the Amazon S3 User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation PutStorageLensConfigurationTagging for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationTagging

func (*S3Control) PutStorageLensConfigurationTaggingRequest added in v1.35.31

func (c *S3Control) PutStorageLensConfigurationTaggingRequest(input *PutStorageLensConfigurationTaggingInput) (req *request.Request, output *PutStorageLensConfigurationTaggingOutput)

PutStorageLensConfigurationTaggingRequest generates a "aws/request.Request" representing the client's request for the PutStorageLensConfigurationTagging operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutStorageLensConfigurationTagging for more information on using the PutStorageLensConfigurationTagging API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutStorageLensConfigurationTaggingRequest method.
req, resp := client.PutStorageLensConfigurationTaggingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationTagging

func (*S3Control) PutStorageLensConfigurationTaggingWithContext added in v1.35.31

func (c *S3Control) PutStorageLensConfigurationTaggingWithContext(ctx aws.Context, input *PutStorageLensConfigurationTaggingInput, opts ...request.Option) (*PutStorageLensConfigurationTaggingOutput, error)

PutStorageLensConfigurationTaggingWithContext is the same as PutStorageLensConfigurationTagging with the addition of the ability to pass a context and additional request options.

See PutStorageLensConfigurationTagging for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) PutStorageLensConfigurationWithContext added in v1.35.31

func (c *S3Control) PutStorageLensConfigurationWithContext(ctx aws.Context, input *PutStorageLensConfigurationInput, opts ...request.Option) (*PutStorageLensConfigurationOutput, error)

PutStorageLensConfigurationWithContext is the same as PutStorageLensConfiguration with the addition of the ability to pass a context and additional request options.

See PutStorageLensConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) SubmitMultiRegionAccessPointRoutes added in v1.44.147

func (c *S3Control) SubmitMultiRegionAccessPointRoutes(input *SubmitMultiRegionAccessPointRoutesInput) (*SubmitMultiRegionAccessPointRoutesOutput, error)

SubmitMultiRegionAccessPointRoutes API operation for AWS S3 Control.

This operation is not supported by directory buckets.

Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the routing status for the specified Regions from active to passive, or from passive to active. A value of 0 indicates a passive status, which means that traffic won't be routed to the specified Region. A value of 100 indicates an active status, which means that traffic will be routed to the specified Region. At least one Region must be active at all times.

When the routing configuration is changed, any in-progress operations (uploads, copies, deletes, and so on) to formerly active Regions will continue to run to their final completion state (success or failure). The routing configurations of any Regions that aren’t specified remain unchanged.

Updated routing configurations might not be immediately applied. It can take up to 2 minutes for your changes to take effect.

To submit routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

  • us-east-1

  • us-west-2

  • ap-southeast-2

  • ap-northeast-1

  • eu-west-1

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation SubmitMultiRegionAccessPointRoutes for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SubmitMultiRegionAccessPointRoutes

func (*S3Control) SubmitMultiRegionAccessPointRoutesRequest added in v1.44.147

func (c *S3Control) SubmitMultiRegionAccessPointRoutesRequest(input *SubmitMultiRegionAccessPointRoutesInput) (req *request.Request, output *SubmitMultiRegionAccessPointRoutesOutput)

SubmitMultiRegionAccessPointRoutesRequest generates a "aws/request.Request" representing the client's request for the SubmitMultiRegionAccessPointRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SubmitMultiRegionAccessPointRoutes for more information on using the SubmitMultiRegionAccessPointRoutes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SubmitMultiRegionAccessPointRoutesRequest method.
req, resp := client.SubmitMultiRegionAccessPointRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SubmitMultiRegionAccessPointRoutes

func (*S3Control) SubmitMultiRegionAccessPointRoutesWithContext added in v1.44.147

func (c *S3Control) SubmitMultiRegionAccessPointRoutesWithContext(ctx aws.Context, input *SubmitMultiRegionAccessPointRoutesInput, opts ...request.Option) (*SubmitMultiRegionAccessPointRoutesOutput, error)

SubmitMultiRegionAccessPointRoutesWithContext is the same as SubmitMultiRegionAccessPointRoutes with the addition of the ability to pass a context and additional request options.

See SubmitMultiRegionAccessPointRoutes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) TagResource added in v1.47.12

func (c *S3Control) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS S3 Control.

Creates a new Amazon Web Services resource tag or updates an existing resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource.

This operation is only supported for S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html) and for S3 Access Grants (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html). The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

Permissions

You must have the s3:TagResource permission to use this operation.

For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/TagResource

func (*S3Control) TagResourceRequest added in v1.47.12

func (c *S3Control) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/TagResource

func (*S3Control) TagResourceWithContext added in v1.47.12

func (c *S3Control) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) UntagResource added in v1.47.12

func (c *S3Control) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS S3 Control.

This operation removes the specified Amazon Web Services resource tags from an S3 resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

This operation is only supported for S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html) and for S3 Access Grants (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html). The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

Permissions

You must have the s3:UntagResource permission to use this operation.

For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UntagResource

func (*S3Control) UntagResourceRequest added in v1.47.12

func (c *S3Control) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UntagResource

func (*S3Control) UntagResourceWithContext added in v1.47.12

func (c *S3Control) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) UpdateAccessGrantsLocation added in v1.48.4

func (c *S3Control) UpdateAccessGrantsLocation(input *UpdateAccessGrantsLocationInput) (*UpdateAccessGrantsLocationOutput, error)

UpdateAccessGrantsLocation API operation for AWS S3 Control.

Updates the IAM role of a registered location in your S3 Access Grants instance.

Permissions

You must have the s3:UpdateAccessGrantsLocation permission to use this operation.

Additional Permissions

You must also have the following permission: iam:PassRole

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation UpdateAccessGrantsLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateAccessGrantsLocation

func (*S3Control) UpdateAccessGrantsLocationRequest added in v1.48.4

func (c *S3Control) UpdateAccessGrantsLocationRequest(input *UpdateAccessGrantsLocationInput) (req *request.Request, output *UpdateAccessGrantsLocationOutput)

UpdateAccessGrantsLocationRequest generates a "aws/request.Request" representing the client's request for the UpdateAccessGrantsLocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAccessGrantsLocation for more information on using the UpdateAccessGrantsLocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAccessGrantsLocationRequest method.
req, resp := client.UpdateAccessGrantsLocationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateAccessGrantsLocation

func (*S3Control) UpdateAccessGrantsLocationWithContext added in v1.48.4

func (c *S3Control) UpdateAccessGrantsLocationWithContext(ctx aws.Context, input *UpdateAccessGrantsLocationInput, opts ...request.Option) (*UpdateAccessGrantsLocationOutput, error)

UpdateAccessGrantsLocationWithContext is the same as UpdateAccessGrantsLocation with the addition of the ability to pass a context and additional request options.

See UpdateAccessGrantsLocation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) UpdateJobPriority added in v1.19.21

func (c *S3Control) UpdateJobPriority(input *UpdateJobPriorityInput) (*UpdateJobPriorityOutput, error)

UpdateJobPriority API operation for AWS S3 Control.

Updates an existing S3 Batch Operations job's priority. For more information, see S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html) in the Amazon S3 User Guide.

Permissions

To use the UpdateJobPriority operation, you must have permission to perform the s3:UpdateJobPriority action.

Related actions include:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation UpdateJobPriority for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException"

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeNotFoundException "NotFoundException"

  • ErrCodeInternalServiceException "InternalServiceException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobPriority

func (*S3Control) UpdateJobPriorityRequest added in v1.19.21

func (c *S3Control) UpdateJobPriorityRequest(input *UpdateJobPriorityInput) (req *request.Request, output *UpdateJobPriorityOutput)

UpdateJobPriorityRequest generates a "aws/request.Request" representing the client's request for the UpdateJobPriority operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateJobPriority for more information on using the UpdateJobPriority API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateJobPriorityRequest method.
req, resp := client.UpdateJobPriorityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobPriority

func (*S3Control) UpdateJobPriorityWithContext added in v1.19.21

func (c *S3Control) UpdateJobPriorityWithContext(ctx aws.Context, input *UpdateJobPriorityInput, opts ...request.Option) (*UpdateJobPriorityOutput, error)

UpdateJobPriorityWithContext is the same as UpdateJobPriority with the addition of the ability to pass a context and additional request options.

See UpdateJobPriority for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) UpdateJobStatus added in v1.19.21

func (c *S3Control) UpdateJobStatus(input *UpdateJobStatusInput) (*UpdateJobStatusOutput, error)

UpdateJobStatus API operation for AWS S3 Control.

Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job. For more information, see S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html) in the Amazon S3 User Guide.

Permissions

To use the UpdateJobStatus operation, you must have permission to perform the s3:UpdateJobStatus action.

Related actions include:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation UpdateJobStatus for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException"

  • ErrCodeTooManyRequestsException "TooManyRequestsException"

  • ErrCodeNotFoundException "NotFoundException"

  • ErrCodeJobStatusException "JobStatusException"

  • ErrCodeInternalServiceException "InternalServiceException"

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobStatus

func (*S3Control) UpdateJobStatusRequest added in v1.19.21

func (c *S3Control) UpdateJobStatusRequest(input *UpdateJobStatusInput) (req *request.Request, output *UpdateJobStatusOutput)

UpdateJobStatusRequest generates a "aws/request.Request" representing the client's request for the UpdateJobStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateJobStatus for more information on using the UpdateJobStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateJobStatusRequest method.
req, resp := client.UpdateJobStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobStatus

func (*S3Control) UpdateJobStatusWithContext added in v1.19.21

func (c *S3Control) UpdateJobStatusWithContext(ctx aws.Context, input *UpdateJobStatusInput, opts ...request.Option) (*UpdateJobStatusOutput, error)

UpdateJobStatusWithContext is the same as UpdateJobStatus with the addition of the ability to pass a context and additional request options.

See UpdateJobStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*S3Control) UpdateStorageLensGroup added in v1.47.12

func (c *S3Control) UpdateStorageLensGroup(input *UpdateStorageLensGroupInput) (*UpdateStorageLensGroupOutput, error)

UpdateStorageLensGroup API operation for AWS S3 Control.

Updates the existing Storage Lens group.

To use this operation, you must have the permission to perform the s3:UpdateStorageLensGroup action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions).

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS S3 Control's API operation UpdateStorageLensGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateStorageLensGroup

func (*S3Control) UpdateStorageLensGroupRequest added in v1.47.12

func (c *S3Control) UpdateStorageLensGroupRequest(input *UpdateStorageLensGroupInput) (req *request.Request, output *UpdateStorageLensGroupOutput)

UpdateStorageLensGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateStorageLensGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStorageLensGroup for more information on using the UpdateStorageLensGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStorageLensGroupRequest method.
req, resp := client.UpdateStorageLensGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateStorageLensGroup

func (*S3Control) UpdateStorageLensGroupWithContext added in v1.47.12

func (c *S3Control) UpdateStorageLensGroupWithContext(ctx aws.Context, input *UpdateStorageLensGroupInput, opts ...request.Option) (*UpdateStorageLensGroupOutput, error)

UpdateStorageLensGroupWithContext is the same as UpdateStorageLensGroup with the addition of the ability to pass a context and additional request options.

See UpdateStorageLensGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type S3CopyObjectOperation added in v1.19.21

type S3CopyObjectOperation struct {

	//
	// This functionality is not supported by directory buckets.
	AccessControlGrants []*S3Grant `type:"list"`

	// Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
	// with server-side encryption using Amazon Web Services KMS (SSE-KMS). Setting
	// this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption
	// with SSE-KMS.
	//
	// Specifying this header with an object action doesn’t affect bucket-level
	// settings for S3 Bucket Key.
	//
	// This functionality is not supported by directory buckets.
	BucketKeyEnabled *bool `type:"boolean"`

	//
	// This functionality is not supported by directory buckets.
	CannedAccessControlList *string `type:"string" enum:"S3CannedAccessControlList"`

	// Indicates the algorithm that you want Amazon S3 to use to create the checksum.
	// For more information, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
	// in the Amazon S3 User Guide.
	ChecksumAlgorithm *string `type:"string" enum:"S3ChecksumAlgorithm"`

	MetadataDirective *string `type:"string" enum:"S3MetadataDirective"`

	ModifiedSinceConstraint *time.Time `type:"timestamp"`

	// If you don't provide this parameter, Amazon S3 copies all the metadata from
	// the original objects. If you specify an empty set, the new objects will have
	// no tags. Otherwise, Amazon S3 assigns the supplied tags to the new objects.
	NewObjectMetadata *S3ObjectMetadata `type:"structure"`

	// Specifies a list of tags to add to the destination objects after they are
	// copied. If NewObjectTagging is not specified, the tags of the source objects
	// are copied to destination objects by default.
	//
	// Directory buckets - Tags aren't supported by directory buckets. If your source
	// objects have tags and your destination bucket is a directory bucket, specify
	// an empty tag set in the NewObjectTagging field to prevent copying the source
	// object tags to the directory bucket.
	NewObjectTagging []*S3Tag `type:"list"`

	// The legal hold status to be applied to all objects in the Batch Operations
	// job.
	//
	// This functionality is not supported by directory buckets.
	ObjectLockLegalHoldStatus *string `type:"string" enum:"S3ObjectLockLegalHoldStatus"`

	// The retention mode to be applied to all objects in the Batch Operations job.
	//
	// This functionality is not supported by directory buckets.
	ObjectLockMode *string `type:"string" enum:"S3ObjectLockMode"`

	// The date when the applied object retention configuration expires on all objects
	// in the Batch Operations job.
	//
	// This functionality is not supported by directory buckets.
	ObjectLockRetainUntilDate *time.Time `type:"timestamp"`

	// If the destination bucket is configured as a website, specifies an optional
	// metadata property for website redirects, x-amz-website-redirect-location.
	// Allows webpage redirects if the object copy is accessed through a website
	// endpoint.
	//
	// This functionality is not supported by directory buckets.
	RedirectLocation *string `min:"1" type:"string"`

	//
	// This functionality is not supported by directory buckets.
	RequesterPays *bool `type:"boolean"`

	//
	// This functionality is not supported by directory buckets.
	SSEAwsKmsKeyId *string `min:"1" type:"string"`

	// Specify the storage class for the destination objects in a Copy operation.
	//
	// Directory buckets - This functionality is not supported by directory buckets.
	StorageClass *string `type:"string" enum:"S3StorageClass"`

	// Specifies the folder prefix that you want the objects to be copied into.
	// For example, to copy objects into a folder named Folder1 in the destination
	// bucket, set the TargetKeyPrefix property to Folder1.
	TargetKeyPrefix *string `min:"1" type:"string"`

	// Specifies the destination bucket Amazon Resource Name (ARN) for the batch
	// copy operation.
	//
	//    * General purpose buckets - For example, to copy objects to a general
	//    purpose bucket named destinationBucket, set the TargetResource property
	//    to arn:aws:s3:::destinationBucket.
	//
	//    * Directory buckets - For example, to copy objects to a directory bucket
	//    named destinationBucket in the Availability Zone; identified by the AZ
	//    ID usw2-az1, set the TargetResource property to arn:aws:s3express:region:account_id:/bucket/destination_bucket_base_name--usw2-az1--x-s3.
	TargetResource *string `min:"1" type:"string"`

	UnModifiedSinceConstraint *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for a PUT Copy object operation. S3 Batch Operations passes every object to the underlying CopyObject API operation. For more information about the parameters for this operation, see CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html).

func (S3CopyObjectOperation) GoString added in v1.19.21

func (s S3CopyObjectOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3CopyObjectOperation) SetAccessControlGrants added in v1.19.21

func (s *S3CopyObjectOperation) SetAccessControlGrants(v []*S3Grant) *S3CopyObjectOperation

SetAccessControlGrants sets the AccessControlGrants field's value.

func (*S3CopyObjectOperation) SetBucketKeyEnabled added in v1.38.54

func (s *S3CopyObjectOperation) SetBucketKeyEnabled(v bool) *S3CopyObjectOperation

SetBucketKeyEnabled sets the BucketKeyEnabled field's value.

func (*S3CopyObjectOperation) SetCannedAccessControlList added in v1.19.21

func (s *S3CopyObjectOperation) SetCannedAccessControlList(v string) *S3CopyObjectOperation

SetCannedAccessControlList sets the CannedAccessControlList field's value.

func (*S3CopyObjectOperation) SetChecksumAlgorithm added in v1.43.6

func (s *S3CopyObjectOperation) SetChecksumAlgorithm(v string) *S3CopyObjectOperation

SetChecksumAlgorithm sets the ChecksumAlgorithm field's value.

func (*S3CopyObjectOperation) SetMetadataDirective added in v1.19.21

func (s *S3CopyObjectOperation) SetMetadataDirective(v string) *S3CopyObjectOperation

SetMetadataDirective sets the MetadataDirective field's value.

func (*S3CopyObjectOperation) SetModifiedSinceConstraint added in v1.19.21

func (s *S3CopyObjectOperation) SetModifiedSinceConstraint(v time.Time) *S3CopyObjectOperation

SetModifiedSinceConstraint sets the ModifiedSinceConstraint field's value.

func (*S3CopyObjectOperation) SetNewObjectMetadata added in v1.19.21

func (s *S3CopyObjectOperation) SetNewObjectMetadata(v *S3ObjectMetadata) *S3CopyObjectOperation

SetNewObjectMetadata sets the NewObjectMetadata field's value.

func (*S3CopyObjectOperation) SetNewObjectTagging added in v1.19.21

func (s *S3CopyObjectOperation) SetNewObjectTagging(v []*S3Tag) *S3CopyObjectOperation

SetNewObjectTagging sets the NewObjectTagging field's value.

func (*S3CopyObjectOperation) SetObjectLockLegalHoldStatus added in v1.19.21

func (s *S3CopyObjectOperation) SetObjectLockLegalHoldStatus(v string) *S3CopyObjectOperation

SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.

func (*S3CopyObjectOperation) SetObjectLockMode added in v1.19.21

func (s *S3CopyObjectOperation) SetObjectLockMode(v string) *S3CopyObjectOperation

SetObjectLockMode sets the ObjectLockMode field's value.

func (*S3CopyObjectOperation) SetObjectLockRetainUntilDate added in v1.19.21

func (s *S3CopyObjectOperation) SetObjectLockRetainUntilDate(v time.Time) *S3CopyObjectOperation

SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.

func (*S3CopyObjectOperation) SetRedirectLocation added in v1.19.21

func (s *S3CopyObjectOperation) SetRedirectLocation(v string) *S3CopyObjectOperation

SetRedirectLocation sets the RedirectLocation field's value.

func (*S3CopyObjectOperation) SetRequesterPays added in v1.19.21

func (s *S3CopyObjectOperation) SetRequesterPays(v bool) *S3CopyObjectOperation

SetRequesterPays sets the RequesterPays field's value.

func (*S3CopyObjectOperation) SetSSEAwsKmsKeyId added in v1.19.21

func (s *S3CopyObjectOperation) SetSSEAwsKmsKeyId(v string) *S3CopyObjectOperation

SetSSEAwsKmsKeyId sets the SSEAwsKmsKeyId field's value.

func (*S3CopyObjectOperation) SetStorageClass added in v1.19.21

func (s *S3CopyObjectOperation) SetStorageClass(v string) *S3CopyObjectOperation

SetStorageClass sets the StorageClass field's value.

func (*S3CopyObjectOperation) SetTargetKeyPrefix added in v1.19.21

func (s *S3CopyObjectOperation) SetTargetKeyPrefix(v string) *S3CopyObjectOperation

SetTargetKeyPrefix sets the TargetKeyPrefix field's value.

func (*S3CopyObjectOperation) SetTargetResource added in v1.19.21

func (s *S3CopyObjectOperation) SetTargetResource(v string) *S3CopyObjectOperation

SetTargetResource sets the TargetResource field's value.

func (*S3CopyObjectOperation) SetUnModifiedSinceConstraint added in v1.19.21

func (s *S3CopyObjectOperation) SetUnModifiedSinceConstraint(v time.Time) *S3CopyObjectOperation

SetUnModifiedSinceConstraint sets the UnModifiedSinceConstraint field's value.

func (S3CopyObjectOperation) String added in v1.19.21

func (s S3CopyObjectOperation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3CopyObjectOperation) Validate added in v1.19.21

func (s *S3CopyObjectOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3DeleteObjectTaggingOperation added in v1.37.2

type S3DeleteObjectTaggingOperation struct {
	// contains filtered or unexported fields
}

Contains no configuration parameters because the DELETE Object tagging (DeleteObjectTagging) API operation accepts only the bucket name and key name as parameters, which are defined in the job's manifest.

func (S3DeleteObjectTaggingOperation) GoString added in v1.37.2

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (S3DeleteObjectTaggingOperation) String added in v1.37.2

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3GeneratedManifestDescriptor added in v1.42.49

type S3GeneratedManifestDescriptor struct {

	// The format of the generated manifest.
	Format *string `type:"string" enum:"GeneratedManifestFormat"`

	// Contains the information required to locate a manifest object. Manifests
	// can't be imported from directory buckets. For more information, see Directory
	// buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html).
	Location *JobManifestLocation `type:"structure"`
	// contains filtered or unexported fields
}

Describes the specified job's generated manifest. Batch Operations jobs created with a ManifestGenerator populate details of this descriptor after execution of the ManifestGenerator.

func (S3GeneratedManifestDescriptor) GoString added in v1.42.49

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3GeneratedManifestDescriptor) SetFormat added in v1.42.49

SetFormat sets the Format field's value.

func (*S3GeneratedManifestDescriptor) SetLocation added in v1.42.49

SetLocation sets the Location field's value.

func (S3GeneratedManifestDescriptor) String added in v1.42.49

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3Grant added in v1.19.21

type S3Grant struct {
	Grantee *S3Grantee `type:"structure"`

	Permission *string `type:"string" enum:"S3Permission"`
	// contains filtered or unexported fields
}

func (S3Grant) GoString added in v1.19.21

func (s S3Grant) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Grant) SetGrantee added in v1.19.21

func (s *S3Grant) SetGrantee(v *S3Grantee) *S3Grant

SetGrantee sets the Grantee field's value.

func (*S3Grant) SetPermission added in v1.19.21

func (s *S3Grant) SetPermission(v string) *S3Grant

SetPermission sets the Permission field's value.

func (S3Grant) String added in v1.19.21

func (s S3Grant) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Grant) Validate added in v1.19.21

func (s *S3Grant) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3Grantee added in v1.19.21

type S3Grantee struct {
	DisplayName *string `min:"1" type:"string"`

	Identifier *string `min:"1" type:"string"`

	TypeIdentifier *string `type:"string" enum:"S3GranteeTypeIdentifier"`
	// contains filtered or unexported fields
}

func (S3Grantee) GoString added in v1.19.21

func (s S3Grantee) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Grantee) SetDisplayName added in v1.19.21

func (s *S3Grantee) SetDisplayName(v string) *S3Grantee

SetDisplayName sets the DisplayName field's value.

func (*S3Grantee) SetIdentifier added in v1.19.21

func (s *S3Grantee) SetIdentifier(v string) *S3Grantee

SetIdentifier sets the Identifier field's value.

func (*S3Grantee) SetTypeIdentifier added in v1.19.21

func (s *S3Grantee) SetTypeIdentifier(v string) *S3Grantee

SetTypeIdentifier sets the TypeIdentifier field's value.

func (S3Grantee) String added in v1.19.21

func (s S3Grantee) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Grantee) Validate added in v1.19.21

func (s *S3Grantee) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3InitiateRestoreObjectOperation added in v1.19.21

type S3InitiateRestoreObjectOperation struct {

	// This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive
	// object remains available in Amazon S3. S3 Initiate Restore Object jobs that
	// target S3 Glacier and S3 Glacier Deep Archive objects require ExpirationInDays
	// set to 1 or greater.
	//
	// Conversely, do not set ExpirationInDays when creating S3 Initiate Restore
	// Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive
	// Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers
	// are not subject to restore expiry, so specifying ExpirationInDays results
	// in restore request failure.
	//
	// S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier
	// Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access
	// and Deep Archive Access storage tier objects, but not both types in the same
	// job. If you need to restore objects of both types you must create separate
	// Batch Operations jobs.
	ExpirationInDays *int64 `type:"integer"`

	// S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the
	// EXPEDITED retrieval tier.
	GlacierJobTier *string `type:"string" enum:"S3GlacierJobTier"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for a POST Object restore job. S3 Batch Operations passes every object to the underlying RestoreObject API operation. For more information about the parameters for this operation, see RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOSTrestore.html#RESTObjectPOSTrestore-restore-request).

func (S3InitiateRestoreObjectOperation) GoString added in v1.19.21

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3InitiateRestoreObjectOperation) SetExpirationInDays added in v1.19.21

SetExpirationInDays sets the ExpirationInDays field's value.

func (*S3InitiateRestoreObjectOperation) SetGlacierJobTier added in v1.19.21

SetGlacierJobTier sets the GlacierJobTier field's value.

func (S3InitiateRestoreObjectOperation) String added in v1.19.21

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3JobManifestGenerator added in v1.42.49

type S3JobManifestGenerator struct {

	// Determines whether or not to write the job's generated manifest to a bucket.
	//
	// EnableManifestOutput is a required field
	EnableManifestOutput *bool `type:"boolean" required:"true"`

	// The Amazon Web Services account ID that owns the bucket the generated manifest
	// is written to. If provided the generated manifest bucket's owner Amazon Web
	// Services account ID must match this value, else the job fails.
	ExpectedBucketOwner *string `type:"string"`

	// Specifies rules the S3JobManifestGenerator should use to decide whether an
	// object in the source bucket should or should not be included in the generated
	// job manifest.
	Filter *JobManifestGeneratorFilter `type:"structure"`

	// Specifies the location the generated manifest will be written to. Manifests
	// can't be written to directory buckets. For more information, see Directory
	// buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html).
	ManifestOutputLocation *S3ManifestOutputLocation `type:"structure"`

	// The source bucket used by the ManifestGenerator.
	//
	// Directory buckets - Directory buckets aren't supported as the source buckets
	// used by S3JobManifestGenerator to generate the job manifest.
	//
	// SourceBucket is a required field
	SourceBucket *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The container for the service that will create the S3 manifest.

func (S3JobManifestGenerator) GoString added in v1.42.49

func (s S3JobManifestGenerator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3JobManifestGenerator) SetEnableManifestOutput added in v1.42.49

func (s *S3JobManifestGenerator) SetEnableManifestOutput(v bool) *S3JobManifestGenerator

SetEnableManifestOutput sets the EnableManifestOutput field's value.

func (*S3JobManifestGenerator) SetExpectedBucketOwner added in v1.42.49

func (s *S3JobManifestGenerator) SetExpectedBucketOwner(v string) *S3JobManifestGenerator

SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.

func (*S3JobManifestGenerator) SetFilter added in v1.42.49

SetFilter sets the Filter field's value.

func (*S3JobManifestGenerator) SetManifestOutputLocation added in v1.42.49

SetManifestOutputLocation sets the ManifestOutputLocation field's value.

func (*S3JobManifestGenerator) SetSourceBucket added in v1.42.49

func (s *S3JobManifestGenerator) SetSourceBucket(v string) *S3JobManifestGenerator

SetSourceBucket sets the SourceBucket field's value.

func (S3JobManifestGenerator) String added in v1.42.49

func (s S3JobManifestGenerator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3JobManifestGenerator) Validate added in v1.42.49

func (s *S3JobManifestGenerator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3ManifestOutputLocation added in v1.42.49

type S3ManifestOutputLocation struct {

	// The bucket ARN the generated manifest should be written to.
	//
	// Directory buckets - Directory buckets aren't supported as the buckets to
	// store the generated manifest.
	//
	// Bucket is a required field
	Bucket *string `min:"1" type:"string" required:"true"`

	// The Account ID that owns the bucket the generated manifest is written to.
	ExpectedManifestBucketOwner *string `type:"string"`

	// Specifies what encryption should be used when the generated manifest objects
	// are written.
	ManifestEncryption *GeneratedManifestEncryption `type:"structure"`

	// The format of the generated manifest.
	//
	// ManifestFormat is a required field
	ManifestFormat *string `type:"string" required:"true" enum:"GeneratedManifestFormat"`

	// Prefix identifying one or more objects to which the manifest applies.
	ManifestPrefix *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Location details for where the generated manifest should be written.

func (S3ManifestOutputLocation) GoString added in v1.42.49

func (s S3ManifestOutputLocation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ManifestOutputLocation) SetBucket added in v1.42.49

SetBucket sets the Bucket field's value.

func (*S3ManifestOutputLocation) SetExpectedManifestBucketOwner added in v1.42.49

func (s *S3ManifestOutputLocation) SetExpectedManifestBucketOwner(v string) *S3ManifestOutputLocation

SetExpectedManifestBucketOwner sets the ExpectedManifestBucketOwner field's value.

func (*S3ManifestOutputLocation) SetManifestEncryption added in v1.42.49

SetManifestEncryption sets the ManifestEncryption field's value.

func (*S3ManifestOutputLocation) SetManifestFormat added in v1.42.49

func (s *S3ManifestOutputLocation) SetManifestFormat(v string) *S3ManifestOutputLocation

SetManifestFormat sets the ManifestFormat field's value.

func (*S3ManifestOutputLocation) SetManifestPrefix added in v1.42.49

func (s *S3ManifestOutputLocation) SetManifestPrefix(v string) *S3ManifestOutputLocation

SetManifestPrefix sets the ManifestPrefix field's value.

func (S3ManifestOutputLocation) String added in v1.42.49

func (s S3ManifestOutputLocation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ManifestOutputLocation) Validate added in v1.42.49

func (s *S3ManifestOutputLocation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3ObjectLockLegalHold added in v1.30.20

type S3ObjectLockLegalHold struct {

	// The Object Lock legal hold status to be applied to all objects in the Batch
	// Operations job.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"S3ObjectLockLegalHoldStatus"`
	// contains filtered or unexported fields
}

Whether S3 Object Lock legal hold will be applied to objects in an S3 Batch Operations job.

func (S3ObjectLockLegalHold) GoString added in v1.30.20

func (s S3ObjectLockLegalHold) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ObjectLockLegalHold) SetStatus added in v1.30.20

SetStatus sets the Status field's value.

func (S3ObjectLockLegalHold) String added in v1.30.20

func (s S3ObjectLockLegalHold) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ObjectLockLegalHold) Validate added in v1.30.20

func (s *S3ObjectLockLegalHold) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3ObjectMetadata added in v1.19.21

type S3ObjectMetadata struct {
	CacheControl *string `min:"1" type:"string"`

	ContentDisposition *string `min:"1" type:"string"`

	ContentEncoding *string `min:"1" type:"string"`

	ContentLanguage *string `min:"1" type:"string"`

	// This member has been deprecated.
	ContentLength *int64 `type:"long"`

	// This member has been deprecated.
	ContentMD5 *string `min:"1" type:"string"`

	ContentType *string `min:"1" type:"string"`

	HttpExpiresDate *time.Time `type:"timestamp"`

	// This member has been deprecated.
	RequesterCharged *bool `type:"boolean"`

	//
	// For directory buckets, only the server-side encryption with Amazon S3 managed
	// keys (SSE-S3) (AES256) is supported.
	SSEAlgorithm *string `type:"string" enum:"S3SSEAlgorithm"`

	UserMetadata map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (S3ObjectMetadata) GoString added in v1.19.21

func (s S3ObjectMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ObjectMetadata) SetCacheControl added in v1.19.21

func (s *S3ObjectMetadata) SetCacheControl(v string) *S3ObjectMetadata

SetCacheControl sets the CacheControl field's value.

func (*S3ObjectMetadata) SetContentDisposition added in v1.19.21

func (s *S3ObjectMetadata) SetContentDisposition(v string) *S3ObjectMetadata

SetContentDisposition sets the ContentDisposition field's value.

func (*S3ObjectMetadata) SetContentEncoding added in v1.19.21

func (s *S3ObjectMetadata) SetContentEncoding(v string) *S3ObjectMetadata

SetContentEncoding sets the ContentEncoding field's value.

func (*S3ObjectMetadata) SetContentLanguage added in v1.19.21

func (s *S3ObjectMetadata) SetContentLanguage(v string) *S3ObjectMetadata

SetContentLanguage sets the ContentLanguage field's value.

func (*S3ObjectMetadata) SetContentLength added in v1.19.21

func (s *S3ObjectMetadata) SetContentLength(v int64) *S3ObjectMetadata

SetContentLength sets the ContentLength field's value.

func (*S3ObjectMetadata) SetContentMD5 added in v1.19.21

func (s *S3ObjectMetadata) SetContentMD5(v string) *S3ObjectMetadata

SetContentMD5 sets the ContentMD5 field's value.

func (*S3ObjectMetadata) SetContentType added in v1.19.21

func (s *S3ObjectMetadata) SetContentType(v string) *S3ObjectMetadata

SetContentType sets the ContentType field's value.

func (*S3ObjectMetadata) SetHttpExpiresDate added in v1.19.21

func (s *S3ObjectMetadata) SetHttpExpiresDate(v time.Time) *S3ObjectMetadata

SetHttpExpiresDate sets the HttpExpiresDate field's value.

func (*S3ObjectMetadata) SetRequesterCharged added in v1.19.21

func (s *S3ObjectMetadata) SetRequesterCharged(v bool) *S3ObjectMetadata

SetRequesterCharged sets the RequesterCharged field's value.

func (*S3ObjectMetadata) SetSSEAlgorithm added in v1.19.21

func (s *S3ObjectMetadata) SetSSEAlgorithm(v string) *S3ObjectMetadata

SetSSEAlgorithm sets the SSEAlgorithm field's value.

func (*S3ObjectMetadata) SetUserMetadata added in v1.19.21

func (s *S3ObjectMetadata) SetUserMetadata(v map[string]*string) *S3ObjectMetadata

SetUserMetadata sets the UserMetadata field's value.

func (S3ObjectMetadata) String added in v1.19.21

func (s S3ObjectMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ObjectMetadata) Validate added in v1.19.21

func (s *S3ObjectMetadata) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3ObjectOwner added in v1.19.21

type S3ObjectOwner struct {
	DisplayName *string `min:"1" type:"string"`

	ID *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (S3ObjectOwner) GoString added in v1.19.21

func (s S3ObjectOwner) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ObjectOwner) SetDisplayName added in v1.19.21

func (s *S3ObjectOwner) SetDisplayName(v string) *S3ObjectOwner

SetDisplayName sets the DisplayName field's value.

func (*S3ObjectOwner) SetID added in v1.19.21

func (s *S3ObjectOwner) SetID(v string) *S3ObjectOwner

SetID sets the ID field's value.

func (S3ObjectOwner) String added in v1.19.21

func (s S3ObjectOwner) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ObjectOwner) Validate added in v1.19.21

func (s *S3ObjectOwner) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3ReplicateObjectOperation added in v1.42.49

type S3ReplicateObjectOperation struct {
	// contains filtered or unexported fields
}

Directs the specified job to invoke ReplicateObject on every object in the job's manifest.

func (S3ReplicateObjectOperation) GoString added in v1.42.49

func (s S3ReplicateObjectOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (S3ReplicateObjectOperation) String added in v1.42.49

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3Retention added in v1.30.20

type S3Retention struct {

	// The Object Lock retention mode to be applied to all objects in the Batch
	// Operations job.
	Mode *string `type:"string" enum:"S3ObjectLockRetentionMode"`

	// The date when the applied Object Lock retention will expire on all objects
	// set by the Batch Operations job.
	RetainUntilDate *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Contains the S3 Object Lock retention mode to be applied to all objects in the S3 Batch Operations job. If you don't provide Mode and RetainUntilDate data types in your operation, you will remove the retention from your objects. For more information, see Using S3 Object Lock retention with S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-retention-date.html) in the Amazon S3 User Guide.

func (S3Retention) GoString added in v1.30.20

func (s S3Retention) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Retention) SetMode added in v1.30.20

func (s *S3Retention) SetMode(v string) *S3Retention

SetMode sets the Mode field's value.

func (*S3Retention) SetRetainUntilDate added in v1.30.20

func (s *S3Retention) SetRetainUntilDate(v time.Time) *S3Retention

SetRetainUntilDate sets the RetainUntilDate field's value.

func (S3Retention) String added in v1.30.20

func (s S3Retention) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3SetObjectAclOperation added in v1.19.21

type S3SetObjectAclOperation struct {
	AccessControlPolicy *S3AccessControlPolicy `type:"structure"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for a PUT Object ACL operation. S3 Batch Operations passes every object to the underlying PutObjectAcl API operation. For more information about the parameters for this operation, see PutObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html).

func (S3SetObjectAclOperation) GoString added in v1.19.21

func (s S3SetObjectAclOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectAclOperation) SetAccessControlPolicy added in v1.19.21

SetAccessControlPolicy sets the AccessControlPolicy field's value.

func (S3SetObjectAclOperation) String added in v1.19.21

func (s S3SetObjectAclOperation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectAclOperation) Validate added in v1.19.21

func (s *S3SetObjectAclOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3SetObjectLegalHoldOperation added in v1.30.20

type S3SetObjectLegalHoldOperation struct {

	// Contains the Object Lock legal hold status to be applied to all objects in
	// the Batch Operations job.
	//
	// LegalHold is a required field
	LegalHold *S3ObjectLockLegalHold `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes to every object to the underlying PutObjectLegalHold API operation. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-legal-hold.html) in the Amazon S3 User Guide.

This functionality is not supported by directory buckets.

func (S3SetObjectLegalHoldOperation) GoString added in v1.30.20

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectLegalHoldOperation) SetLegalHold added in v1.30.20

SetLegalHold sets the LegalHold field's value.

func (S3SetObjectLegalHoldOperation) String added in v1.30.20

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectLegalHoldOperation) Validate added in v1.30.20

func (s *S3SetObjectLegalHoldOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3SetObjectRetentionOperation added in v1.30.20

type S3SetObjectRetentionOperation struct {

	// Indicates if the action should be applied to objects in the Batch Operations
	// job even if they have Object Lock GOVERNANCE type in place.
	BypassGovernanceRetention *bool `type:"boolean"`

	// Contains the Object Lock retention mode to be applied to all objects in the
	// Batch Operations job. For more information, see Using S3 Object Lock retention
	// with S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-retention-date.html)
	// in the Amazon S3 User Guide.
	//
	// Retention is a required field
	Retention *S3Retention `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch Operations passes every object to the underlying PutObjectRetention API operation. For more information, see Using S3 Object Lock retention with S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-retention-date.html) in the Amazon S3 User Guide.

This functionality is not supported by directory buckets.

func (S3SetObjectRetentionOperation) GoString added in v1.30.20

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectRetentionOperation) SetBypassGovernanceRetention added in v1.30.20

func (s *S3SetObjectRetentionOperation) SetBypassGovernanceRetention(v bool) *S3SetObjectRetentionOperation

SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.

func (*S3SetObjectRetentionOperation) SetRetention added in v1.30.20

SetRetention sets the Retention field's value.

func (S3SetObjectRetentionOperation) String added in v1.30.20

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectRetentionOperation) Validate added in v1.30.20

func (s *S3SetObjectRetentionOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3SetObjectTaggingOperation added in v1.19.21

type S3SetObjectTaggingOperation struct {
	TagSet []*S3Tag `type:"list"`
	// contains filtered or unexported fields
}

Contains the configuration parameters for a PUT Object Tagging operation. S3 Batch Operations passes every object to the underlying PutObjectTagging API operation. For more information about the parameters for this operation, see PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTtagging.html).

func (S3SetObjectTaggingOperation) GoString added in v1.19.21

func (s S3SetObjectTaggingOperation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectTaggingOperation) SetTagSet added in v1.19.21

SetTagSet sets the TagSet field's value.

func (S3SetObjectTaggingOperation) String added in v1.19.21

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3SetObjectTaggingOperation) Validate added in v1.19.21

func (s *S3SetObjectTaggingOperation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3Tag added in v1.19.21

type S3Tag struct {

	// Key of the tag
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// Value of the tag
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A container for a key-value name pair.

func (S3Tag) GoString added in v1.19.21

func (s S3Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Tag) SetKey added in v1.19.21

func (s *S3Tag) SetKey(v string) *S3Tag

SetKey sets the Key field's value.

func (*S3Tag) SetValue added in v1.19.21

func (s *S3Tag) SetValue(v string) *S3Tag

SetValue sets the Value field's value.

func (S3Tag) String added in v1.19.21

func (s S3Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Tag) Validate added in v1.19.21

func (s *S3Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SSEKMS added in v1.35.31

type SSEKMS struct {

	// A container for the ARN of the SSE-KMS encryption. This property is read-only
	// and follows the following format: arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e
	//
	// KeyId is a required field
	KeyId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SSEKMS) GoString added in v1.35.31

func (s SSEKMS) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SSEKMS) SetKeyId added in v1.35.31

func (s *SSEKMS) SetKeyId(v string) *SSEKMS

SetKeyId sets the KeyId field's value.

func (SSEKMS) String added in v1.35.31

func (s SSEKMS) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SSEKMS) Validate added in v1.35.31

func (s *SSEKMS) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SSEKMSEncryption added in v1.42.49

type SSEKMSEncryption struct {

	// Specifies the ID of the Amazon Web Services Key Management Service (Amazon
	// Web Services KMS) symmetric encryption customer managed key to use for encrypting
	// generated manifest objects.
	//
	// KeyId is a required field
	KeyId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Configuration for the use of SSE-KMS to encrypt generated manifest objects.

func (SSEKMSEncryption) GoString added in v1.42.49

func (s SSEKMSEncryption) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SSEKMSEncryption) SetKeyId added in v1.42.49

func (s *SSEKMSEncryption) SetKeyId(v string) *SSEKMSEncryption

SetKeyId sets the KeyId field's value.

func (SSEKMSEncryption) String added in v1.42.49

func (s SSEKMSEncryption) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SSEKMSEncryption) Validate added in v1.42.49

func (s *SSEKMSEncryption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SSES3 added in v1.35.31

type SSES3 struct {
	// contains filtered or unexported fields
}

func (SSES3) GoString added in v1.35.31

func (s SSES3) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SSES3) String added in v1.35.31

func (s SSES3) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SSES3Encryption added in v1.42.49

type SSES3Encryption struct {
	// contains filtered or unexported fields
}

Configuration for the use of SSE-S3 to encrypt generated manifest objects.

func (SSES3Encryption) GoString added in v1.42.49

func (s SSES3Encryption) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SSES3Encryption) String added in v1.42.49

func (s SSES3Encryption) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SelectionCriteria added in v1.35.31

type SelectionCriteria struct {

	// A container for the delimiter of the selection criteria being used.
	Delimiter *string `type:"string"`

	// The max depth of the selection criteria
	MaxDepth *int64 `min:"1" type:"integer"`

	// The minimum number of storage bytes percentage whose metrics will be selected.
	//
	// You must choose a value greater than or equal to 1.0.
	MinStorageBytesPercentage *float64 `min:"0.1" type:"double"`
	// contains filtered or unexported fields
}

func (SelectionCriteria) GoString added in v1.35.31

func (s SelectionCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SelectionCriteria) SetDelimiter added in v1.35.31

func (s *SelectionCriteria) SetDelimiter(v string) *SelectionCriteria

SetDelimiter sets the Delimiter field's value.

func (*SelectionCriteria) SetMaxDepth added in v1.35.31

func (s *SelectionCriteria) SetMaxDepth(v int64) *SelectionCriteria

SetMaxDepth sets the MaxDepth field's value.

func (*SelectionCriteria) SetMinStorageBytesPercentage added in v1.35.31

func (s *SelectionCriteria) SetMinStorageBytesPercentage(v float64) *SelectionCriteria

SetMinStorageBytesPercentage sets the MinStorageBytesPercentage field's value.

func (SelectionCriteria) String added in v1.35.31

func (s SelectionCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SelectionCriteria) Validate added in v1.35.31

func (s *SelectionCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SourceSelectionCriteria added in v1.44.220

type SourceSelectionCriteria struct {

	// A filter that you can use to specify whether replica modification sync is
	// enabled. S3 on Outposts replica modification sync can help you keep object
	// metadata synchronized between replicas and source objects. By default, S3
	// on Outposts replicates metadata from the source objects to the replicas only.
	// When replica modification sync is enabled, S3 on Outposts replicates metadata
	// changes made to the replica copies back to the source object, making the
	// replication bidirectional.
	//
	// To replicate object metadata modifications on replicas, you can specify this
	// element and set the Status of this element to Enabled.
	//
	// You must enable replica modification sync on the source and destination buckets
	// to replicate replica metadata changes between the source and the replicas.
	ReplicaModifications *ReplicaModifications `type:"structure"`

	// A filter that you can use to select Amazon S3 objects that are encrypted
	// with server-side encryption by using Key Management Service (KMS) keys. If
	// you include SourceSelectionCriteria in the replication configuration, this
	// element is required.
	//
	// This is not supported by Amazon S3 on Outposts buckets.
	SseKmsEncryptedObjects *SseKmsEncryptedObjects `type:"structure"`
	// contains filtered or unexported fields
}

A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects.

func (SourceSelectionCriteria) GoString added in v1.44.220

func (s SourceSelectionCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceSelectionCriteria) SetReplicaModifications added in v1.44.220

SetReplicaModifications sets the ReplicaModifications field's value.

func (*SourceSelectionCriteria) SetSseKmsEncryptedObjects added in v1.44.220

SetSseKmsEncryptedObjects sets the SseKmsEncryptedObjects field's value.

func (SourceSelectionCriteria) String added in v1.44.220

func (s SourceSelectionCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceSelectionCriteria) Validate added in v1.44.220

func (s *SourceSelectionCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SseKmsEncryptedObjects added in v1.44.220

type SseKmsEncryptedObjects struct {

	// Specifies whether Amazon S3 replicates objects that are created with server-side
	// encryption by using an KMS key stored in Key Management Service.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"SseKmsEncryptedObjectsStatus"`
	// contains filtered or unexported fields
}

A container for filter information that you can use to select S3 objects that are encrypted with Key Management Service (KMS).

This is not supported by Amazon S3 on Outposts buckets.

func (SseKmsEncryptedObjects) GoString added in v1.44.220

func (s SseKmsEncryptedObjects) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SseKmsEncryptedObjects) SetStatus added in v1.44.220

SetStatus sets the Status field's value.

func (SseKmsEncryptedObjects) String added in v1.44.220

func (s SseKmsEncryptedObjects) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SseKmsEncryptedObjects) Validate added in v1.44.220

func (s *SseKmsEncryptedObjects) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensAwsOrg added in v1.35.31

type StorageLensAwsOrg struct {

	// A container for the Amazon Resource Name (ARN) of the Amazon Web Services
	// organization. This property is read-only and follows the following format:
	// arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The Amazon Web Services organization for your S3 Storage Lens.

func (StorageLensAwsOrg) GoString added in v1.35.31

func (s StorageLensAwsOrg) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensAwsOrg) SetArn added in v1.35.31

SetArn sets the Arn field's value.

func (StorageLensAwsOrg) String added in v1.35.31

func (s StorageLensAwsOrg) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensAwsOrg) Validate added in v1.35.31

func (s *StorageLensAwsOrg) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensConfiguration added in v1.35.31

type StorageLensConfiguration struct {

	// A container for all the account-level configurations of your S3 Storage Lens
	// configuration.
	//
	// AccountLevel is a required field
	AccountLevel *AccountLevel `type:"structure" required:"true"`

	// A container for the Amazon Web Services organization for this S3 Storage
	// Lens configuration.
	AwsOrg *StorageLensAwsOrg `type:"structure"`

	// A container to specify the properties of your S3 Storage Lens metrics export
	// including, the destination, schema and format.
	DataExport *StorageLensDataExport `type:"structure"`

	// A container for what is excluded in this configuration. This container can
	// only be valid if there is no Include container submitted, and it's not empty.
	Exclude *Exclude `type:"structure"`

	// A container for the Amazon S3 Storage Lens configuration ID.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// A container for what is included in this configuration. This container can
	// only be valid if there is no Exclude container submitted, and it's not empty.
	Include *Include `type:"structure"`

	// A container for whether the S3 Storage Lens configuration is enabled.
	//
	// IsEnabled is a required field
	IsEnabled *bool `type:"boolean" required:"true"`

	// The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This
	// property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
	StorageLensArn *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A container for the Amazon S3 Storage Lens configuration.

func (StorageLensConfiguration) GoString added in v1.35.31

func (s StorageLensConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensConfiguration) SetAccountLevel added in v1.35.31

SetAccountLevel sets the AccountLevel field's value.

func (*StorageLensConfiguration) SetAwsOrg added in v1.35.31

SetAwsOrg sets the AwsOrg field's value.

func (*StorageLensConfiguration) SetDataExport added in v1.35.31

SetDataExport sets the DataExport field's value.

func (*StorageLensConfiguration) SetExclude added in v1.35.31

SetExclude sets the Exclude field's value.

func (*StorageLensConfiguration) SetId added in v1.35.31

SetId sets the Id field's value.

func (*StorageLensConfiguration) SetInclude added in v1.35.31

SetInclude sets the Include field's value.

func (*StorageLensConfiguration) SetIsEnabled added in v1.35.31

SetIsEnabled sets the IsEnabled field's value.

func (*StorageLensConfiguration) SetStorageLensArn added in v1.35.31

func (s *StorageLensConfiguration) SetStorageLensArn(v string) *StorageLensConfiguration

SetStorageLensArn sets the StorageLensArn field's value.

func (StorageLensConfiguration) String added in v1.35.31

func (s StorageLensConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensConfiguration) Validate added in v1.35.31

func (s *StorageLensConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensDataExport added in v1.35.31

type StorageLensDataExport struct {

	// A container for enabling Amazon CloudWatch publishing for S3 Storage Lens
	// metrics.
	CloudWatchMetrics *CloudWatchMetrics `type:"structure"`

	// A container for the bucket where the S3 Storage Lens metrics export will
	// be located.
	//
	// This bucket must be located in the same Region as the storage lens configuration.
	S3BucketDestination *S3BucketDestination `type:"structure"`
	// contains filtered or unexported fields
}

A container to specify the properties of your S3 Storage Lens metrics export, including the destination, schema, and format.

func (StorageLensDataExport) GoString added in v1.35.31

func (s StorageLensDataExport) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensDataExport) SetCloudWatchMetrics added in v1.42.10

func (s *StorageLensDataExport) SetCloudWatchMetrics(v *CloudWatchMetrics) *StorageLensDataExport

SetCloudWatchMetrics sets the CloudWatchMetrics field's value.

func (*StorageLensDataExport) SetS3BucketDestination added in v1.35.31

func (s *StorageLensDataExport) SetS3BucketDestination(v *S3BucketDestination) *StorageLensDataExport

SetS3BucketDestination sets the S3BucketDestination field's value.

func (StorageLensDataExport) String added in v1.35.31

func (s StorageLensDataExport) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensDataExport) Validate added in v1.35.31

func (s *StorageLensDataExport) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensDataExportEncryption added in v1.35.31

type StorageLensDataExportEncryption struct {
	SSEKMS *SSEKMS `locationName:"SSE-KMS" type:"structure"`

	SSES3 *SSES3 `locationName:"SSE-S3" type:"structure"`
	// contains filtered or unexported fields
}

A container for the encryption of the S3 Storage Lens metrics exports.

func (StorageLensDataExportEncryption) GoString added in v1.35.31

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensDataExportEncryption) SetSSEKMS added in v1.35.31

SetSSEKMS sets the SSEKMS field's value.

func (*StorageLensDataExportEncryption) SetSSES3 added in v1.35.31

SetSSES3 sets the SSES3 field's value.

func (StorageLensDataExportEncryption) String added in v1.35.31

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensDataExportEncryption) Validate added in v1.35.31

func (s *StorageLensDataExportEncryption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensGroup added in v1.47.12

type StorageLensGroup struct {

	// Sets the criteria for the Storage Lens group data that is displayed. For
	// multiple filter conditions, the AND or OR logical operator is used.
	//
	// Filter is a required field
	Filter *StorageLensGroupFilter `type:"structure" required:"true"`

	// Contains the name of the Storage Lens group.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property
	// is read-only.
	StorageLensGroupArn *string `min:"4" type:"string"`
	// contains filtered or unexported fields
}

A custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND or OR logical operators.

func (StorageLensGroup) GoString added in v1.47.12

func (s StorageLensGroup) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroup) SetFilter added in v1.47.12

SetFilter sets the Filter field's value.

func (*StorageLensGroup) SetName added in v1.47.12

func (s *StorageLensGroup) SetName(v string) *StorageLensGroup

SetName sets the Name field's value.

func (*StorageLensGroup) SetStorageLensGroupArn added in v1.47.12

func (s *StorageLensGroup) SetStorageLensGroupArn(v string) *StorageLensGroup

SetStorageLensGroupArn sets the StorageLensGroupArn field's value.

func (StorageLensGroup) String added in v1.47.12

func (s StorageLensGroup) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroup) Validate added in v1.47.12

func (s *StorageLensGroup) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensGroupAndOperator added in v1.47.12

type StorageLensGroupAndOperator struct {

	// Contains a list of prefixes. At least one prefix must be specified. Up to
	// 10 prefixes are allowed.
	MatchAnyPrefix []*string `locationNameList:"Prefix" type:"list"`

	// Contains a list of suffixes. At least one suffix must be specified. Up to
	// 10 suffixes are allowed.
	MatchAnySuffix []*string `locationNameList:"Suffix" type:"list"`

	// Contains the list of object tags. At least one object tag must be specified.
	// Up to 10 object tags are allowed.
	MatchAnyTag []*S3Tag `locationNameList:"Tag" type:"list"`

	// Contains DaysGreaterThan and DaysLessThan to define the object age range
	// (minimum and maximum number of days).
	MatchObjectAge *MatchObjectAge `type:"structure"`

	// Contains BytesGreaterThan and BytesLessThan to define the object size range
	// (minimum and maximum number of Bytes).
	MatchObjectSize *MatchObjectSize `type:"structure"`
	// contains filtered or unexported fields
}

A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.

func (StorageLensGroupAndOperator) GoString added in v1.47.12

func (s StorageLensGroupAndOperator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupAndOperator) SetMatchAnyPrefix added in v1.47.12

SetMatchAnyPrefix sets the MatchAnyPrefix field's value.

func (*StorageLensGroupAndOperator) SetMatchAnySuffix added in v1.47.12

SetMatchAnySuffix sets the MatchAnySuffix field's value.

func (*StorageLensGroupAndOperator) SetMatchAnyTag added in v1.47.12

SetMatchAnyTag sets the MatchAnyTag field's value.

func (*StorageLensGroupAndOperator) SetMatchObjectAge added in v1.47.12

SetMatchObjectAge sets the MatchObjectAge field's value.

func (*StorageLensGroupAndOperator) SetMatchObjectSize added in v1.47.12

SetMatchObjectSize sets the MatchObjectSize field's value.

func (StorageLensGroupAndOperator) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupAndOperator) Validate added in v1.47.12

func (s *StorageLensGroupAndOperator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensGroupFilter added in v1.47.12

type StorageLensGroupFilter struct {

	// A logical operator that allows multiple filter conditions to be joined for
	// more complex comparisons of Storage Lens group data. Objects must match all
	// of the listed filter conditions that are joined by the And logical operator.
	// Only one of each filter condition is allowed.
	And *StorageLensGroupAndOperator `type:"structure"`

	// Contains a list of prefixes. At least one prefix must be specified. Up to
	// 10 prefixes are allowed.
	MatchAnyPrefix []*string `locationNameList:"Prefix" type:"list"`

	// Contains a list of suffixes. At least one suffix must be specified. Up to
	// 10 suffixes are allowed.
	MatchAnySuffix []*string `locationNameList:"Suffix" type:"list"`

	// Contains the list of S3 object tags. At least one object tag must be specified.
	// Up to 10 object tags are allowed.
	MatchAnyTag []*S3Tag `locationNameList:"Tag" type:"list"`

	// Contains DaysGreaterThan and DaysLessThan to define the object age range
	// (minimum and maximum number of days).
	MatchObjectAge *MatchObjectAge `type:"structure"`

	// Contains BytesGreaterThan and BytesLessThan to define the object size range
	// (minimum and maximum number of Bytes).
	MatchObjectSize *MatchObjectSize `type:"structure"`

	// A single logical operator that allows multiple filter conditions to be joined.
	// Objects can match any of the listed filter conditions, which are joined by
	// the Or logical operator. Only one of each filter condition is allowed.
	Or *StorageLensGroupOrOperator `type:"structure"`
	// contains filtered or unexported fields
}

The filter element sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the AND or OR logical operator is used.

func (StorageLensGroupFilter) GoString added in v1.47.12

func (s StorageLensGroupFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupFilter) SetAnd added in v1.47.12

SetAnd sets the And field's value.

func (*StorageLensGroupFilter) SetMatchAnyPrefix added in v1.47.12

func (s *StorageLensGroupFilter) SetMatchAnyPrefix(v []*string) *StorageLensGroupFilter

SetMatchAnyPrefix sets the MatchAnyPrefix field's value.

func (*StorageLensGroupFilter) SetMatchAnySuffix added in v1.47.12

func (s *StorageLensGroupFilter) SetMatchAnySuffix(v []*string) *StorageLensGroupFilter

SetMatchAnySuffix sets the MatchAnySuffix field's value.

func (*StorageLensGroupFilter) SetMatchAnyTag added in v1.47.12

func (s *StorageLensGroupFilter) SetMatchAnyTag(v []*S3Tag) *StorageLensGroupFilter

SetMatchAnyTag sets the MatchAnyTag field's value.

func (*StorageLensGroupFilter) SetMatchObjectAge added in v1.47.12

SetMatchObjectAge sets the MatchObjectAge field's value.

func (*StorageLensGroupFilter) SetMatchObjectSize added in v1.47.12

SetMatchObjectSize sets the MatchObjectSize field's value.

func (*StorageLensGroupFilter) SetOr added in v1.47.12

SetOr sets the Or field's value.

func (StorageLensGroupFilter) String added in v1.47.12

func (s StorageLensGroupFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupFilter) Validate added in v1.47.12

func (s *StorageLensGroupFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensGroupLevel added in v1.47.12

type StorageLensGroupLevel struct {

	// Indicates which Storage Lens group ARNs to include or exclude in the Storage
	// Lens group aggregation. If this value is left null, then all Storage Lens
	// groups are selected.
	SelectionCriteria *StorageLensGroupLevelSelectionCriteria `type:"structure"`
	// contains filtered or unexported fields
}

Specifies the Storage Lens groups to include in the Storage Lens group aggregation.

func (StorageLensGroupLevel) GoString added in v1.47.12

func (s StorageLensGroupLevel) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupLevel) SetSelectionCriteria added in v1.47.12

SetSelectionCriteria sets the SelectionCriteria field's value.

func (StorageLensGroupLevel) String added in v1.47.12

func (s StorageLensGroupLevel) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StorageLensGroupLevelSelectionCriteria added in v1.47.12

type StorageLensGroupLevelSelectionCriteria struct {

	// Indicates which Storage Lens group ARNs to exclude from the Storage Lens
	// group aggregation.
	Exclude []*string `locationNameList:"Arn" type:"list"`

	// Indicates which Storage Lens group ARNs to include in the Storage Lens group
	// aggregation.
	Include []*string `locationNameList:"Arn" type:"list"`
	// contains filtered or unexported fields
}

Indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. You can only attach Storage Lens groups to your Storage Lens dashboard if they're included in your Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.

func (StorageLensGroupLevelSelectionCriteria) GoString added in v1.47.12

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupLevelSelectionCriteria) SetExclude added in v1.47.12

SetExclude sets the Exclude field's value.

func (*StorageLensGroupLevelSelectionCriteria) SetInclude added in v1.47.12

SetInclude sets the Include field's value.

func (StorageLensGroupLevelSelectionCriteria) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StorageLensGroupOrOperator added in v1.47.12

type StorageLensGroupOrOperator struct {

	// Filters objects that match any of the specified prefixes.
	MatchAnyPrefix []*string `locationNameList:"Prefix" type:"list"`

	// Filters objects that match any of the specified suffixes.
	MatchAnySuffix []*string `locationNameList:"Suffix" type:"list"`

	// Filters objects that match any of the specified S3 object tags.
	MatchAnyTag []*S3Tag `locationNameList:"Tag" type:"list"`

	// Filters objects that match the specified object age range.
	MatchObjectAge *MatchObjectAge `type:"structure"`

	// Filters objects that match the specified object size range.
	MatchObjectSize *MatchObjectSize `type:"structure"`
	// contains filtered or unexported fields
}

A container element for specifying Or rule conditions. The rule conditions determine the subset of objects to which the Or rule applies. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.

func (StorageLensGroupOrOperator) GoString added in v1.47.12

func (s StorageLensGroupOrOperator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupOrOperator) SetMatchAnyPrefix added in v1.47.12

func (s *StorageLensGroupOrOperator) SetMatchAnyPrefix(v []*string) *StorageLensGroupOrOperator

SetMatchAnyPrefix sets the MatchAnyPrefix field's value.

func (*StorageLensGroupOrOperator) SetMatchAnySuffix added in v1.47.12

func (s *StorageLensGroupOrOperator) SetMatchAnySuffix(v []*string) *StorageLensGroupOrOperator

SetMatchAnySuffix sets the MatchAnySuffix field's value.

func (*StorageLensGroupOrOperator) SetMatchAnyTag added in v1.47.12

SetMatchAnyTag sets the MatchAnyTag field's value.

func (*StorageLensGroupOrOperator) SetMatchObjectAge added in v1.47.12

SetMatchObjectAge sets the MatchObjectAge field's value.

func (*StorageLensGroupOrOperator) SetMatchObjectSize added in v1.47.12

SetMatchObjectSize sets the MatchObjectSize field's value.

func (StorageLensGroupOrOperator) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensGroupOrOperator) Validate added in v1.47.12

func (s *StorageLensGroupOrOperator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StorageLensTag added in v1.35.31

type StorageLensTag struct {

	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StorageLensTag) GoString added in v1.35.31

func (s StorageLensTag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensTag) SetKey added in v1.35.31

func (s *StorageLensTag) SetKey(v string) *StorageLensTag

SetKey sets the Key field's value.

func (*StorageLensTag) SetValue added in v1.35.31

func (s *StorageLensTag) SetValue(v string) *StorageLensTag

SetValue sets the Value field's value.

func (StorageLensTag) String added in v1.35.31

func (s StorageLensTag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StorageLensTag) Validate added in v1.35.31

func (s *StorageLensTag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SubmitMultiRegionAccessPointRoutesInput added in v1.44.147

type SubmitMultiRegionAccessPointRoutesInput struct {

	// The Amazon Web Services account ID for the owner of the Multi-Region Access
	// Point.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Multi-Region Access Point ARN.
	//
	// Mrap is a required field
	Mrap *string `location:"uri" locationName:"mrap" type:"string" required:"true"`

	// The different routes that make up the new route configuration. Active routes
	// return a value of 100, and passive routes return a value of 0.
	//
	// RouteUpdates is a required field
	RouteUpdates []*MultiRegionAccessPointRoute `locationNameList:"Route" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (SubmitMultiRegionAccessPointRoutesInput) GoString added in v1.44.147

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubmitMultiRegionAccessPointRoutesInput) SetAccountId added in v1.44.147

SetAccountId sets the AccountId field's value.

func (*SubmitMultiRegionAccessPointRoutesInput) SetMrap added in v1.44.147

SetMrap sets the Mrap field's value.

func (*SubmitMultiRegionAccessPointRoutesInput) SetRouteUpdates added in v1.44.147

SetRouteUpdates sets the RouteUpdates field's value.

func (SubmitMultiRegionAccessPointRoutesInput) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubmitMultiRegionAccessPointRoutesInput) Validate added in v1.44.147

Validate inspects the fields of the type to determine if they are valid.

type SubmitMultiRegionAccessPointRoutesOutput added in v1.44.147

type SubmitMultiRegionAccessPointRoutesOutput struct {
	// contains filtered or unexported fields
}

func (SubmitMultiRegionAccessPointRoutesOutput) GoString added in v1.44.147

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SubmitMultiRegionAccessPointRoutesOutput) String added in v1.44.147

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag added in v1.47.12

type Tag struct {

	// The key of the key-value pair of a tag added to your Amazon Web Services
	// resource. A tag key can be up to 128 Unicode characters in length and is
	// case-sensitive. System created tags that begin with aws: aren’t supported.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The value of the key-value pair of a tag added to your Amazon Web Services
	// resource. A tag value can be up to 256 Unicode characters in length and is
	// case-sensitive.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An Amazon Web Services resource tag that's associated with your S3 resource. You can add tags to new objects when you upload them, or you can add object tags to existing objects.

This operation is only supported for S3 Storage Lens groups (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html) and for S3 Access Grants (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html). The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

func (Tag) GoString added in v1.47.12

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey added in v1.47.12

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.47.12

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v1.47.12

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate added in v1.47.12

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput added in v1.47.12

type TagResourceInput struct {

	// The Amazon Web Services account ID that created the S3 resource that you're
	// trying to add tags to or the requester's account ID.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the S3 resource that you're trying to add
	// tags to. The tagged resource can be an S3 Storage Lens group or S3 Access
	// Grants instance, registered location, or grant.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The Amazon Web Services resource tags that you want to add to the specified
	// S3 resource.
	//
	// Tags is a required field
	Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.47.12

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetAccountId added in v1.47.12

func (s *TagResourceInput) SetAccountId(v string) *TagResourceInput

SetAccountId sets the AccountId field's value.

func (*TagResourceInput) SetResourceArn added in v1.47.12

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.47.12

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.47.12

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate added in v1.47.12

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput added in v1.47.12

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString added in v1.47.12

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String added in v1.47.12

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tagging added in v1.35.0

type Tagging struct {

	// A collection for a set of tags.
	//
	// TagSet is a required field
	TagSet []*S3Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (Tagging) GoString added in v1.35.0

func (s Tagging) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tagging) SetTagSet added in v1.35.0

func (s *Tagging) SetTagSet(v []*S3Tag) *Tagging

SetTagSet sets the TagSet field's value.

func (Tagging) String added in v1.35.0

func (s Tagging) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tagging) Validate added in v1.35.0

func (s *Tagging) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Transition added in v1.35.0

type Transition struct {

	// Indicates when objects are transitioned to the specified storage class. The
	// date value must be in ISO 8601 format. The time is always midnight UTC.
	Date *time.Time `type:"timestamp"`

	// Indicates the number of days after creation when objects are transitioned
	// to the specified storage class. The value must be a positive integer.
	Days *int64 `type:"integer"`

	// The storage class to which you want the object to transition.
	StorageClass *string `type:"string" enum:"TransitionStorageClass"`
	// contains filtered or unexported fields
}

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 Lifecycle configuration rules, see Transitioning objects using Amazon S3 Lifecycle (https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) in the Amazon S3 User Guide.

func (Transition) GoString added in v1.35.0

func (s Transition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Transition) SetDate added in v1.35.0

func (s *Transition) SetDate(v time.Time) *Transition

SetDate sets the Date field's value.

func (*Transition) SetDays added in v1.35.0

func (s *Transition) SetDays(v int64) *Transition

SetDays sets the Days field's value.

func (*Transition) SetStorageClass added in v1.35.0

func (s *Transition) SetStorageClass(v string) *Transition

SetStorageClass sets the StorageClass field's value.

func (Transition) String added in v1.35.0

func (s Transition) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput added in v1.47.12

type UntagResourceInput struct {

	// The Amazon Web Services account ID that owns the resource that you're trying
	// to remove the tags from.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the S3 resource that you're trying to remove
	// the tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The array of tag key-value pairs that you're trying to remove from of the
	// S3 resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.47.12

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetAccountId added in v1.47.12

func (s *UntagResourceInput) SetAccountId(v string) *UntagResourceInput

SetAccountId sets the AccountId field's value.

func (*UntagResourceInput) SetResourceArn added in v1.47.12

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.47.12

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.47.12

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate added in v1.47.12

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput added in v1.47.12

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString added in v1.47.12

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String added in v1.47.12

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateAccessGrantsLocationInput added in v1.48.4

type UpdateAccessGrantsLocationInput struct {

	// The ID of the registered location that you are updating. S3 Access Grants
	// assigns this ID when you register the location. S3 Access Grants assigns
	// the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	//
	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigned this ID when you registered the location. S3 Access Grants
	// assigns the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	//
	// If you are passing the default location, you cannot create an access grant
	// for the entire default location. You must also specify a bucket or a bucket
	// and prefix in the Subprefix field.
	//
	// AccessGrantsLocationId is a required field
	AccessGrantsLocationId *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"`

	// The ID of the Amazon Web Services account that is making this request.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM role for the registered location.
	// S3 Access Grants assumes this role to manage access to the registered location.
	//
	// IAMRoleArn is a required field
	IAMRoleArn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateAccessGrantsLocationInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateAccessGrantsLocationInput) SetAccessGrantsLocationId added in v1.48.4

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*UpdateAccessGrantsLocationInput) SetAccountId added in v1.48.4

SetAccountId sets the AccountId field's value.

func (*UpdateAccessGrantsLocationInput) SetIAMRoleArn added in v1.48.4

SetIAMRoleArn sets the IAMRoleArn field's value.

func (UpdateAccessGrantsLocationInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateAccessGrantsLocationInput) Validate added in v1.48.4

func (s *UpdateAccessGrantsLocationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAccessGrantsLocationOutput added in v1.48.4

type UpdateAccessGrantsLocationOutput struct {

	// The Amazon Resource Name (ARN) of the registered location that you are updating.
	AccessGrantsLocationArn *string `min:"1" type:"string"`

	// The ID of the registered location to which you are granting access. S3 Access
	// Grants assigned this ID when you registered the location. S3 Access Grants
	// assigns the ID default to the default location s3:// and assigns an auto-generated
	// ID to other locations that you register.
	AccessGrantsLocationId *string `min:"1" type:"string"`

	// The date and time when you registered the location.
	CreatedAt *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the IAM role of the registered location.
	// S3 Access Grants assumes this role to manage access to the registered location.
	IAMRoleArn *string `min:"1" type:"string"`

	// The S3 URI path of the location that you are updating. You cannot update
	// the scope of the registered location. The location scope can be the default
	// S3 location s3://, the S3 path to a bucket s3://<bucket>, or the S3 path
	// to a bucket and prefix s3://<bucket>/<prefix>.
	LocationScope *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateAccessGrantsLocationOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateAccessGrantsLocationOutput) SetAccessGrantsLocationArn added in v1.48.4

SetAccessGrantsLocationArn sets the AccessGrantsLocationArn field's value.

func (*UpdateAccessGrantsLocationOutput) SetAccessGrantsLocationId added in v1.48.4

SetAccessGrantsLocationId sets the AccessGrantsLocationId field's value.

func (*UpdateAccessGrantsLocationOutput) SetCreatedAt added in v1.48.4

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateAccessGrantsLocationOutput) SetIAMRoleArn added in v1.48.4

SetIAMRoleArn sets the IAMRoleArn field's value.

func (*UpdateAccessGrantsLocationOutput) SetLocationScope added in v1.48.4

SetLocationScope sets the LocationScope field's value.

func (UpdateAccessGrantsLocationOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateJobPriorityInput added in v1.19.21

type UpdateJobPriorityInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID for the job whose priority you want to update.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"id" min:"5" type:"string" required:"true"`

	// The priority you want to assign to this job.
	//
	// Priority is a required field
	Priority *int64 `location:"querystring" locationName:"priority" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateJobPriorityInput) GoString added in v1.19.21

func (s UpdateJobPriorityInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateJobPriorityInput) SetAccountId added in v1.19.21

SetAccountId sets the AccountId field's value.

func (*UpdateJobPriorityInput) SetJobId added in v1.19.21

SetJobId sets the JobId field's value.

func (*UpdateJobPriorityInput) SetPriority added in v1.19.21

SetPriority sets the Priority field's value.

func (UpdateJobPriorityInput) String added in v1.19.21

func (s UpdateJobPriorityInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateJobPriorityInput) Validate added in v1.19.21

func (s *UpdateJobPriorityInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateJobPriorityOutput added in v1.19.21

type UpdateJobPriorityOutput struct {

	// The ID for the job whose priority Amazon S3 updated.
	//
	// JobId is a required field
	JobId *string `min:"5" type:"string" required:"true"`

	// The new priority assigned to the specified job.
	//
	// Priority is a required field
	Priority *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateJobPriorityOutput) GoString added in v1.19.21

func (s UpdateJobPriorityOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateJobPriorityOutput) SetJobId added in v1.19.21

SetJobId sets the JobId field's value.

func (*UpdateJobPriorityOutput) SetPriority added in v1.19.21

SetPriority sets the Priority field's value.

func (UpdateJobPriorityOutput) String added in v1.19.21

func (s UpdateJobPriorityOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateJobStatusInput added in v1.19.21

type UpdateJobStatusInput struct {

	// The Amazon Web Services account ID associated with the S3 Batch Operations
	// job.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The ID of the job whose status you want to update.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"id" min:"5" type:"string" required:"true"`

	// The status that you want to move the specified job to.
	//
	// RequestedJobStatus is a required field
	RequestedJobStatus *string `location:"querystring" locationName:"requestedJobStatus" type:"string" required:"true" enum:"RequestedJobStatus"`

	// A description of the reason why you want to change the specified job's status.
	// This field can be any string up to the maximum length.
	StatusUpdateReason *string `location:"querystring" locationName:"statusUpdateReason" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateJobStatusInput) GoString added in v1.19.21

func (s UpdateJobStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateJobStatusInput) SetAccountId added in v1.19.21

func (s *UpdateJobStatusInput) SetAccountId(v string) *UpdateJobStatusInput

SetAccountId sets the AccountId field's value.

func (*UpdateJobStatusInput) SetJobId added in v1.19.21

SetJobId sets the JobId field's value.

func (*UpdateJobStatusInput) SetRequestedJobStatus added in v1.19.21

func (s *UpdateJobStatusInput) SetRequestedJobStatus(v string) *UpdateJobStatusInput

SetRequestedJobStatus sets the RequestedJobStatus field's value.

func (*UpdateJobStatusInput) SetStatusUpdateReason added in v1.19.21

func (s *UpdateJobStatusInput) SetStatusUpdateReason(v string) *UpdateJobStatusInput

SetStatusUpdateReason sets the StatusUpdateReason field's value.

func (UpdateJobStatusInput) String added in v1.19.21

func (s UpdateJobStatusInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateJobStatusInput) Validate added in v1.19.21

func (s *UpdateJobStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateJobStatusOutput added in v1.19.21

type UpdateJobStatusOutput struct {

	// The ID for the job whose status was updated.
	JobId *string `min:"5" type:"string"`

	// The current status for the specified job.
	Status *string `type:"string" enum:"JobStatus"`

	// The reason that the specified job's status was updated.
	StatusUpdateReason *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateJobStatusOutput) GoString added in v1.19.21

func (s UpdateJobStatusOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateJobStatusOutput) SetJobId added in v1.19.21

SetJobId sets the JobId field's value.

func (*UpdateJobStatusOutput) SetStatus added in v1.19.21

SetStatus sets the Status field's value.

func (*UpdateJobStatusOutput) SetStatusUpdateReason added in v1.19.21

func (s *UpdateJobStatusOutput) SetStatusUpdateReason(v string) *UpdateJobStatusOutput

SetStatusUpdateReason sets the StatusUpdateReason field's value.

func (UpdateJobStatusOutput) String added in v1.19.21

func (s UpdateJobStatusOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateStorageLensGroupInput added in v1.47.12

type UpdateStorageLensGroupInput struct {

	// The Amazon Web Services account ID of the Storage Lens group owner.
	//
	// AccountId is a required field
	AccountId *string `location:"header" locationName:"x-amz-account-id" type:"string" required:"true"`

	// The name of the Storage Lens group that you want to update.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// The JSON file that contains the Storage Lens group configuration.
	//
	// StorageLensGroup is a required field
	StorageLensGroup *StorageLensGroup `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateStorageLensGroupInput) GoString added in v1.47.12

func (s UpdateStorageLensGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateStorageLensGroupInput) SetAccountId added in v1.47.12

SetAccountId sets the AccountId field's value.

func (*UpdateStorageLensGroupInput) SetName added in v1.47.12

SetName sets the Name field's value.

func (*UpdateStorageLensGroupInput) SetStorageLensGroup added in v1.47.12

SetStorageLensGroup sets the StorageLensGroup field's value.

func (UpdateStorageLensGroupInput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateStorageLensGroupInput) Validate added in v1.47.12

func (s *UpdateStorageLensGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateStorageLensGroupOutput added in v1.47.12

type UpdateStorageLensGroupOutput struct {
	// contains filtered or unexported fields
}

func (UpdateStorageLensGroupOutput) GoString added in v1.47.12

func (s UpdateStorageLensGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateStorageLensGroupOutput) String added in v1.47.12

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VersioningConfiguration added in v1.44.103

type VersioningConfiguration struct {

	// Specifies whether MFA delete is enabled or disabled in the bucket versioning
	// configuration for the S3 on Outposts bucket.
	MFADelete *string `locationName:"MfaDelete" type:"string" enum:"MFADelete"`

	// Sets the versioning state of the S3 on Outposts bucket.
	Status *string `type:"string" enum:"BucketVersioningStatus"`
	// contains filtered or unexported fields
}

Describes the versioning state of an Amazon S3 on Outposts bucket. For more information, see PutBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html).

func (VersioningConfiguration) GoString added in v1.44.103

func (s VersioningConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VersioningConfiguration) SetMFADelete added in v1.44.103

SetMFADelete sets the MFADelete field's value.

func (*VersioningConfiguration) SetStatus added in v1.44.103

SetStatus sets the Status field's value.

func (VersioningConfiguration) String added in v1.44.103

func (s VersioningConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VpcConfiguration added in v1.25.46

type VpcConfiguration struct {

	// If this field is specified, this access point will only allow connections
	// from the specified VPC ID.
	//
	// VpcId is a required field
	VpcId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The virtual private cloud (VPC) configuration for an access point.

func (VpcConfiguration) GoString added in v1.25.46

func (s VpcConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VpcConfiguration) SetVpcId added in v1.25.46

func (s *VpcConfiguration) SetVpcId(v string) *VpcConfiguration

SetVpcId sets the VpcId field's value.

func (VpcConfiguration) String added in v1.25.46

func (s VpcConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VpcConfiguration) Validate added in v1.25.46

func (s *VpcConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

Directories

Path Synopsis
Package s3controliface provides an interface to enable mocking the AWS S3 Control service client for testing your code.
Package s3controliface provides an interface to enable mocking the AWS S3 Control service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL