Documentation ¶
Overview ¶
Package s3control provides the API client, operations, and parameter types for AWS S3 Control.
Amazon Web Services S3 Control provides access to Amazon S3 control plane
actions.
Index ¶
- Constants
- func GetHostIDMetadata(metadata middleware.Metadata) (string, bool)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AssociateAccessGrantsIdentityCenterInput
- type AssociateAccessGrantsIdentityCenterOutput
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) AssociateAccessGrantsIdentityCenter(ctx context.Context, params *AssociateAccessGrantsIdentityCenterInput, ...) (*AssociateAccessGrantsIdentityCenterOutput, error)
- func (c *Client) CreateAccessGrant(ctx context.Context, params *CreateAccessGrantInput, optFns ...func(*Options)) (*CreateAccessGrantOutput, error)
- func (c *Client) CreateAccessGrantsInstance(ctx context.Context, params *CreateAccessGrantsInstanceInput, ...) (*CreateAccessGrantsInstanceOutput, error)
- func (c *Client) CreateAccessGrantsLocation(ctx context.Context, params *CreateAccessGrantsLocationInput, ...) (*CreateAccessGrantsLocationOutput, error)
- func (c *Client) CreateAccessPoint(ctx context.Context, params *CreateAccessPointInput, optFns ...func(*Options)) (*CreateAccessPointOutput, error)
- func (c *Client) CreateAccessPointForObjectLambda(ctx context.Context, params *CreateAccessPointForObjectLambdaInput, ...) (*CreateAccessPointForObjectLambdaOutput, error)
- func (c *Client) CreateBucket(ctx context.Context, params *CreateBucketInput, optFns ...func(*Options)) (*CreateBucketOutput, error)
- func (c *Client) CreateJob(ctx context.Context, params *CreateJobInput, optFns ...func(*Options)) (*CreateJobOutput, error)
- func (c *Client) CreateMultiRegionAccessPoint(ctx context.Context, params *CreateMultiRegionAccessPointInput, ...) (*CreateMultiRegionAccessPointOutput, error)
- func (c *Client) CreateStorageLensGroup(ctx context.Context, params *CreateStorageLensGroupInput, ...) (*CreateStorageLensGroupOutput, error)
- func (c *Client) DeleteAccessGrant(ctx context.Context, params *DeleteAccessGrantInput, optFns ...func(*Options)) (*DeleteAccessGrantOutput, error)
- func (c *Client) DeleteAccessGrantsInstance(ctx context.Context, params *DeleteAccessGrantsInstanceInput, ...) (*DeleteAccessGrantsInstanceOutput, error)
- func (c *Client) DeleteAccessGrantsInstanceResourcePolicy(ctx context.Context, params *DeleteAccessGrantsInstanceResourcePolicyInput, ...) (*DeleteAccessGrantsInstanceResourcePolicyOutput, error)
- func (c *Client) DeleteAccessGrantsLocation(ctx context.Context, params *DeleteAccessGrantsLocationInput, ...) (*DeleteAccessGrantsLocationOutput, error)
- func (c *Client) DeleteAccessPoint(ctx context.Context, params *DeleteAccessPointInput, optFns ...func(*Options)) (*DeleteAccessPointOutput, error)
- func (c *Client) DeleteAccessPointForObjectLambda(ctx context.Context, params *DeleteAccessPointForObjectLambdaInput, ...) (*DeleteAccessPointForObjectLambdaOutput, error)
- func (c *Client) DeleteAccessPointPolicy(ctx context.Context, params *DeleteAccessPointPolicyInput, ...) (*DeleteAccessPointPolicyOutput, error)
- func (c *Client) DeleteAccessPointPolicyForObjectLambda(ctx context.Context, params *DeleteAccessPointPolicyForObjectLambdaInput, ...) (*DeleteAccessPointPolicyForObjectLambdaOutput, error)
- func (c *Client) DeleteBucket(ctx context.Context, params *DeleteBucketInput, optFns ...func(*Options)) (*DeleteBucketOutput, error)
- func (c *Client) DeleteBucketLifecycleConfiguration(ctx context.Context, params *DeleteBucketLifecycleConfigurationInput, ...) (*DeleteBucketLifecycleConfigurationOutput, error)
- func (c *Client) DeleteBucketPolicy(ctx context.Context, params *DeleteBucketPolicyInput, optFns ...func(*Options)) (*DeleteBucketPolicyOutput, error)
- func (c *Client) DeleteBucketReplication(ctx context.Context, params *DeleteBucketReplicationInput, ...) (*DeleteBucketReplicationOutput, error)
- func (c *Client) DeleteBucketTagging(ctx context.Context, params *DeleteBucketTaggingInput, ...) (*DeleteBucketTaggingOutput, error)
- func (c *Client) DeleteJobTagging(ctx context.Context, params *DeleteJobTaggingInput, optFns ...func(*Options)) (*DeleteJobTaggingOutput, error)
- func (c *Client) DeleteMultiRegionAccessPoint(ctx context.Context, params *DeleteMultiRegionAccessPointInput, ...) (*DeleteMultiRegionAccessPointOutput, error)
- func (c *Client) DeletePublicAccessBlock(ctx context.Context, params *DeletePublicAccessBlockInput, ...) (*DeletePublicAccessBlockOutput, error)
- func (c *Client) DeleteStorageLensConfiguration(ctx context.Context, params *DeleteStorageLensConfigurationInput, ...) (*DeleteStorageLensConfigurationOutput, error)
- func (c *Client) DeleteStorageLensConfigurationTagging(ctx context.Context, params *DeleteStorageLensConfigurationTaggingInput, ...) (*DeleteStorageLensConfigurationTaggingOutput, error)
- func (c *Client) DeleteStorageLensGroup(ctx context.Context, params *DeleteStorageLensGroupInput, ...) (*DeleteStorageLensGroupOutput, error)
- func (c *Client) DescribeJob(ctx context.Context, params *DescribeJobInput, optFns ...func(*Options)) (*DescribeJobOutput, error)
- func (c *Client) DescribeMultiRegionAccessPointOperation(ctx context.Context, params *DescribeMultiRegionAccessPointOperationInput, ...) (*DescribeMultiRegionAccessPointOperationOutput, error)
- func (c *Client) DissociateAccessGrantsIdentityCenter(ctx context.Context, params *DissociateAccessGrantsIdentityCenterInput, ...) (*DissociateAccessGrantsIdentityCenterOutput, error)
- func (c *Client) GetAccessGrant(ctx context.Context, params *GetAccessGrantInput, optFns ...func(*Options)) (*GetAccessGrantOutput, error)
- func (c *Client) GetAccessGrantsInstance(ctx context.Context, params *GetAccessGrantsInstanceInput, ...) (*GetAccessGrantsInstanceOutput, error)
- func (c *Client) GetAccessGrantsInstanceForPrefix(ctx context.Context, params *GetAccessGrantsInstanceForPrefixInput, ...) (*GetAccessGrantsInstanceForPrefixOutput, error)
- func (c *Client) GetAccessGrantsInstanceResourcePolicy(ctx context.Context, params *GetAccessGrantsInstanceResourcePolicyInput, ...) (*GetAccessGrantsInstanceResourcePolicyOutput, error)
- func (c *Client) GetAccessGrantsLocation(ctx context.Context, params *GetAccessGrantsLocationInput, ...) (*GetAccessGrantsLocationOutput, error)
- func (c *Client) GetAccessPoint(ctx context.Context, params *GetAccessPointInput, optFns ...func(*Options)) (*GetAccessPointOutput, error)
- func (c *Client) GetAccessPointConfigurationForObjectLambda(ctx context.Context, params *GetAccessPointConfigurationForObjectLambdaInput, ...) (*GetAccessPointConfigurationForObjectLambdaOutput, error)
- func (c *Client) GetAccessPointForObjectLambda(ctx context.Context, params *GetAccessPointForObjectLambdaInput, ...) (*GetAccessPointForObjectLambdaOutput, error)
- func (c *Client) GetAccessPointPolicy(ctx context.Context, params *GetAccessPointPolicyInput, ...) (*GetAccessPointPolicyOutput, error)
- func (c *Client) GetAccessPointPolicyForObjectLambda(ctx context.Context, params *GetAccessPointPolicyForObjectLambdaInput, ...) (*GetAccessPointPolicyForObjectLambdaOutput, error)
- func (c *Client) GetAccessPointPolicyStatus(ctx context.Context, params *GetAccessPointPolicyStatusInput, ...) (*GetAccessPointPolicyStatusOutput, error)
- func (c *Client) GetAccessPointPolicyStatusForObjectLambda(ctx context.Context, params *GetAccessPointPolicyStatusForObjectLambdaInput, ...) (*GetAccessPointPolicyStatusForObjectLambdaOutput, error)
- func (c *Client) GetBucket(ctx context.Context, params *GetBucketInput, optFns ...func(*Options)) (*GetBucketOutput, error)
- func (c *Client) GetBucketLifecycleConfiguration(ctx context.Context, params *GetBucketLifecycleConfigurationInput, ...) (*GetBucketLifecycleConfigurationOutput, error)
- func (c *Client) GetBucketPolicy(ctx context.Context, params *GetBucketPolicyInput, optFns ...func(*Options)) (*GetBucketPolicyOutput, error)
- func (c *Client) GetBucketReplication(ctx context.Context, params *GetBucketReplicationInput, ...) (*GetBucketReplicationOutput, error)
- func (c *Client) GetBucketTagging(ctx context.Context, params *GetBucketTaggingInput, optFns ...func(*Options)) (*GetBucketTaggingOutput, error)
- func (c *Client) GetBucketVersioning(ctx context.Context, params *GetBucketVersioningInput, ...) (*GetBucketVersioningOutput, error)
- func (c *Client) GetDataAccess(ctx context.Context, params *GetDataAccessInput, optFns ...func(*Options)) (*GetDataAccessOutput, error)
- func (c *Client) GetJobTagging(ctx context.Context, params *GetJobTaggingInput, optFns ...func(*Options)) (*GetJobTaggingOutput, error)
- func (c *Client) GetMultiRegionAccessPoint(ctx context.Context, params *GetMultiRegionAccessPointInput, ...) (*GetMultiRegionAccessPointOutput, error)
- func (c *Client) GetMultiRegionAccessPointPolicy(ctx context.Context, params *GetMultiRegionAccessPointPolicyInput, ...) (*GetMultiRegionAccessPointPolicyOutput, error)
- func (c *Client) GetMultiRegionAccessPointPolicyStatus(ctx context.Context, params *GetMultiRegionAccessPointPolicyStatusInput, ...) (*GetMultiRegionAccessPointPolicyStatusOutput, error)
- func (c *Client) GetMultiRegionAccessPointRoutes(ctx context.Context, params *GetMultiRegionAccessPointRoutesInput, ...) (*GetMultiRegionAccessPointRoutesOutput, error)
- func (c *Client) GetPublicAccessBlock(ctx context.Context, params *GetPublicAccessBlockInput, ...) (*GetPublicAccessBlockOutput, error)
- func (c *Client) GetStorageLensConfiguration(ctx context.Context, params *GetStorageLensConfigurationInput, ...) (*GetStorageLensConfigurationOutput, error)
- func (c *Client) GetStorageLensConfigurationTagging(ctx context.Context, params *GetStorageLensConfigurationTaggingInput, ...) (*GetStorageLensConfigurationTaggingOutput, error)
- func (c *Client) GetStorageLensGroup(ctx context.Context, params *GetStorageLensGroupInput, ...) (*GetStorageLensGroupOutput, error)
- func (c *Client) ListAccessGrants(ctx context.Context, params *ListAccessGrantsInput, optFns ...func(*Options)) (*ListAccessGrantsOutput, error)
- func (c *Client) ListAccessGrantsInstances(ctx context.Context, params *ListAccessGrantsInstancesInput, ...) (*ListAccessGrantsInstancesOutput, error)
- func (c *Client) ListAccessGrantsLocations(ctx context.Context, params *ListAccessGrantsLocationsInput, ...) (*ListAccessGrantsLocationsOutput, error)
- func (c *Client) ListAccessPoints(ctx context.Context, params *ListAccessPointsInput, optFns ...func(*Options)) (*ListAccessPointsOutput, error)
- func (c *Client) ListAccessPointsForObjectLambda(ctx context.Context, params *ListAccessPointsForObjectLambdaInput, ...) (*ListAccessPointsForObjectLambdaOutput, error)
- func (c *Client) ListJobs(ctx context.Context, params *ListJobsInput, optFns ...func(*Options)) (*ListJobsOutput, error)
- func (c *Client) ListMultiRegionAccessPoints(ctx context.Context, params *ListMultiRegionAccessPointsInput, ...) (*ListMultiRegionAccessPointsOutput, error)
- func (c *Client) ListRegionalBuckets(ctx context.Context, params *ListRegionalBucketsInput, ...) (*ListRegionalBucketsOutput, error)
- func (c *Client) ListStorageLensConfigurations(ctx context.Context, params *ListStorageLensConfigurationsInput, ...) (*ListStorageLensConfigurationsOutput, error)
- func (c *Client) ListStorageLensGroups(ctx context.Context, params *ListStorageLensGroupsInput, ...) (*ListStorageLensGroupsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutAccessGrantsInstanceResourcePolicy(ctx context.Context, params *PutAccessGrantsInstanceResourcePolicyInput, ...) (*PutAccessGrantsInstanceResourcePolicyOutput, error)
- func (c *Client) PutAccessPointConfigurationForObjectLambda(ctx context.Context, params *PutAccessPointConfigurationForObjectLambdaInput, ...) (*PutAccessPointConfigurationForObjectLambdaOutput, error)
- func (c *Client) PutAccessPointPolicy(ctx context.Context, params *PutAccessPointPolicyInput, ...) (*PutAccessPointPolicyOutput, error)
- func (c *Client) PutAccessPointPolicyForObjectLambda(ctx context.Context, params *PutAccessPointPolicyForObjectLambdaInput, ...) (*PutAccessPointPolicyForObjectLambdaOutput, error)
- func (c *Client) PutBucketLifecycleConfiguration(ctx context.Context, params *PutBucketLifecycleConfigurationInput, ...) (*PutBucketLifecycleConfigurationOutput, error)
- func (c *Client) PutBucketPolicy(ctx context.Context, params *PutBucketPolicyInput, optFns ...func(*Options)) (*PutBucketPolicyOutput, error)
- func (c *Client) PutBucketReplication(ctx context.Context, params *PutBucketReplicationInput, ...) (*PutBucketReplicationOutput, error)
- func (c *Client) PutBucketTagging(ctx context.Context, params *PutBucketTaggingInput, optFns ...func(*Options)) (*PutBucketTaggingOutput, error)
- func (c *Client) PutBucketVersioning(ctx context.Context, params *PutBucketVersioningInput, ...) (*PutBucketVersioningOutput, error)
- func (c *Client) PutJobTagging(ctx context.Context, params *PutJobTaggingInput, optFns ...func(*Options)) (*PutJobTaggingOutput, error)
- func (c *Client) PutMultiRegionAccessPointPolicy(ctx context.Context, params *PutMultiRegionAccessPointPolicyInput, ...) (*PutMultiRegionAccessPointPolicyOutput, error)
- func (c *Client) PutPublicAccessBlock(ctx context.Context, params *PutPublicAccessBlockInput, ...) (*PutPublicAccessBlockOutput, error)
- func (c *Client) PutStorageLensConfiguration(ctx context.Context, params *PutStorageLensConfigurationInput, ...) (*PutStorageLensConfigurationOutput, error)
- func (c *Client) PutStorageLensConfigurationTagging(ctx context.Context, params *PutStorageLensConfigurationTaggingInput, ...) (*PutStorageLensConfigurationTaggingOutput, error)
- func (c *Client) SubmitMultiRegionAccessPointRoutes(ctx context.Context, params *SubmitMultiRegionAccessPointRoutesInput, ...) (*SubmitMultiRegionAccessPointRoutesOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAccessGrantsLocation(ctx context.Context, params *UpdateAccessGrantsLocationInput, ...) (*UpdateAccessGrantsLocationOutput, error)
- func (c *Client) UpdateJobPriority(ctx context.Context, params *UpdateJobPriorityInput, optFns ...func(*Options)) (*UpdateJobPriorityOutput, error)
- func (c *Client) UpdateJobStatus(ctx context.Context, params *UpdateJobStatusInput, optFns ...func(*Options)) (*UpdateJobStatusOutput, error)
- func (c *Client) UpdateStorageLensGroup(ctx context.Context, params *UpdateStorageLensGroupInput, ...) (*UpdateStorageLensGroupOutput, error)
- type CreateAccessGrantInput
- type CreateAccessGrantOutput
- type CreateAccessGrantsInstanceInput
- type CreateAccessGrantsInstanceOutput
- type CreateAccessGrantsLocationInput
- type CreateAccessGrantsLocationOutput
- type CreateAccessPointForObjectLambdaInput
- type CreateAccessPointForObjectLambdaOutput
- type CreateAccessPointInput
- type CreateAccessPointOutput
- type CreateBucketInput
- type CreateBucketOutput
- type CreateJobInput
- type CreateJobOutput
- type CreateMultiRegionAccessPointInput
- type CreateMultiRegionAccessPointOutput
- type CreateStorageLensGroupInput
- type CreateStorageLensGroupOutput
- type DeleteAccessGrantInput
- type DeleteAccessGrantOutput
- type DeleteAccessGrantsInstanceInput
- type DeleteAccessGrantsInstanceOutput
- type DeleteAccessGrantsInstanceResourcePolicyInput
- type DeleteAccessGrantsInstanceResourcePolicyOutput
- type DeleteAccessGrantsLocationInput
- type DeleteAccessGrantsLocationOutput
- type DeleteAccessPointForObjectLambdaInput
- type DeleteAccessPointForObjectLambdaOutput
- type DeleteAccessPointInput
- type DeleteAccessPointOutput
- type DeleteAccessPointPolicyForObjectLambdaInput
- type DeleteAccessPointPolicyForObjectLambdaOutput
- type DeleteAccessPointPolicyInput
- type DeleteAccessPointPolicyOutput
- type DeleteBucketInput
- type DeleteBucketLifecycleConfigurationInput
- type DeleteBucketLifecycleConfigurationOutput
- type DeleteBucketOutput
- type DeleteBucketPolicyInput
- type DeleteBucketPolicyOutput
- type DeleteBucketReplicationInput
- type DeleteBucketReplicationOutput
- type DeleteBucketTaggingInput
- type DeleteBucketTaggingOutput
- type DeleteJobTaggingInput
- type DeleteJobTaggingOutput
- type DeleteMultiRegionAccessPointInput
- type DeleteMultiRegionAccessPointOutput
- type DeletePublicAccessBlockInput
- type DeletePublicAccessBlockOutput
- type DeleteStorageLensConfigurationInput
- type DeleteStorageLensConfigurationOutput
- type DeleteStorageLensConfigurationTaggingInput
- type DeleteStorageLensConfigurationTaggingOutput
- type DeleteStorageLensGroupInput
- type DeleteStorageLensGroupOutput
- type DescribeJobInput
- type DescribeJobOutput
- type DescribeMultiRegionAccessPointOperationInput
- type DescribeMultiRegionAccessPointOperationOutput
- type DissociateAccessGrantsIdentityCenterInput
- type DissociateAccessGrantsIdentityCenterOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetAccessGrantInput
- type GetAccessGrantOutput
- type GetAccessGrantsInstanceForPrefixInput
- type GetAccessGrantsInstanceForPrefixOutput
- type GetAccessGrantsInstanceInput
- type GetAccessGrantsInstanceOutput
- type GetAccessGrantsInstanceResourcePolicyInput
- type GetAccessGrantsInstanceResourcePolicyOutput
- type GetAccessGrantsLocationInput
- type GetAccessGrantsLocationOutput
- type GetAccessPointConfigurationForObjectLambdaInput
- type GetAccessPointConfigurationForObjectLambdaOutput
- type GetAccessPointForObjectLambdaInput
- type GetAccessPointForObjectLambdaOutput
- type GetAccessPointInput
- type GetAccessPointOutput
- type GetAccessPointPolicyForObjectLambdaInput
- type GetAccessPointPolicyForObjectLambdaOutput
- type GetAccessPointPolicyInput
- type GetAccessPointPolicyOutput
- type GetAccessPointPolicyStatusForObjectLambdaInput
- type GetAccessPointPolicyStatusForObjectLambdaOutput
- type GetAccessPointPolicyStatusInput
- type GetAccessPointPolicyStatusOutput
- type GetBucketInput
- type GetBucketLifecycleConfigurationInput
- type GetBucketLifecycleConfigurationOutput
- type GetBucketOutput
- type GetBucketPolicyInput
- type GetBucketPolicyOutput
- type GetBucketReplicationInput
- type GetBucketReplicationOutput
- type GetBucketTaggingInput
- type GetBucketTaggingOutput
- type GetBucketVersioningInput
- type GetBucketVersioningOutput
- type GetDataAccessInput
- type GetDataAccessOutput
- type GetJobTaggingInput
- type GetJobTaggingOutput
- type GetMultiRegionAccessPointInput
- type GetMultiRegionAccessPointOutput
- type GetMultiRegionAccessPointPolicyInput
- type GetMultiRegionAccessPointPolicyOutput
- type GetMultiRegionAccessPointPolicyStatusInput
- type GetMultiRegionAccessPointPolicyStatusOutput
- type GetMultiRegionAccessPointRoutesInput
- type GetMultiRegionAccessPointRoutesOutput
- type GetPublicAccessBlockInput
- type GetPublicAccessBlockOutput
- type GetStorageLensConfigurationInput
- type GetStorageLensConfigurationOutput
- type GetStorageLensConfigurationTaggingInput
- type GetStorageLensConfigurationTaggingOutput
- type GetStorageLensGroupInput
- type GetStorageLensGroupOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAccessGrantsAPIClient
- type ListAccessGrantsInput
- type ListAccessGrantsInstancesAPIClient
- type ListAccessGrantsInstancesInput
- type ListAccessGrantsInstancesOutput
- type ListAccessGrantsInstancesPaginator
- type ListAccessGrantsInstancesPaginatorOptions
- type ListAccessGrantsLocationsAPIClient
- type ListAccessGrantsLocationsInput
- type ListAccessGrantsLocationsOutput
- type ListAccessGrantsLocationsPaginator
- type ListAccessGrantsLocationsPaginatorOptions
- type ListAccessGrantsOutput
- type ListAccessGrantsPaginator
- type ListAccessGrantsPaginatorOptions
- type ListAccessPointsAPIClient
- type ListAccessPointsForObjectLambdaAPIClient
- type ListAccessPointsForObjectLambdaInput
- type ListAccessPointsForObjectLambdaOutput
- type ListAccessPointsForObjectLambdaPaginator
- type ListAccessPointsForObjectLambdaPaginatorOptions
- type ListAccessPointsInput
- type ListAccessPointsOutput
- type ListAccessPointsPaginator
- type ListAccessPointsPaginatorOptions
- type ListJobsAPIClient
- type ListJobsInput
- type ListJobsOutput
- type ListJobsPaginator
- type ListJobsPaginatorOptions
- type ListMultiRegionAccessPointsAPIClient
- type ListMultiRegionAccessPointsInput
- type ListMultiRegionAccessPointsOutput
- type ListMultiRegionAccessPointsPaginator
- type ListMultiRegionAccessPointsPaginatorOptions
- type ListRegionalBucketsAPIClient
- type ListRegionalBucketsInput
- type ListRegionalBucketsOutput
- type ListRegionalBucketsPaginator
- type ListRegionalBucketsPaginatorOptions
- type ListStorageLensConfigurationsAPIClient
- type ListStorageLensConfigurationsInput
- type ListStorageLensConfigurationsOutput
- type ListStorageLensConfigurationsPaginator
- type ListStorageLensConfigurationsPaginatorOptions
- type ListStorageLensGroupsAPIClient
- type ListStorageLensGroupsInput
- type ListStorageLensGroupsOutput
- type ListStorageLensGroupsPaginator
- type ListStorageLensGroupsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type PutAccessGrantsInstanceResourcePolicyInput
- type PutAccessGrantsInstanceResourcePolicyOutput
- type PutAccessPointConfigurationForObjectLambdaInput
- type PutAccessPointConfigurationForObjectLambdaOutput
- type PutAccessPointPolicyForObjectLambdaInput
- type PutAccessPointPolicyForObjectLambdaOutput
- type PutAccessPointPolicyInput
- type PutAccessPointPolicyOutput
- type PutBucketLifecycleConfigurationInput
- type PutBucketLifecycleConfigurationOutput
- type PutBucketPolicyInput
- type PutBucketPolicyOutput
- type PutBucketReplicationInput
- type PutBucketReplicationOutput
- type PutBucketTaggingInput
- type PutBucketTaggingOutput
- type PutBucketVersioningInput
- type PutBucketVersioningOutput
- type PutJobTaggingInput
- type PutJobTaggingOutput
- type PutMultiRegionAccessPointPolicyInput
- type PutMultiRegionAccessPointPolicyOutput
- type PutPublicAccessBlockInput
- type PutPublicAccessBlockOutput
- type PutStorageLensConfigurationInput
- type PutStorageLensConfigurationOutput
- type PutStorageLensConfigurationTaggingInput
- type PutStorageLensConfigurationTaggingOutput
- type ResolveEndpoint
- type ResponseError
- type SubmitMultiRegionAccessPointRoutesInput
- type SubmitMultiRegionAccessPointRoutesOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAccessGrantsLocationInput
- type UpdateAccessGrantsLocationOutput
- type UpdateJobPriorityInput
- type UpdateJobPriorityOutput
- type UpdateJobStatusInput
- type UpdateJobStatusOutput
- type UpdateStorageLensGroupInput
- type UpdateStorageLensGroupOutput
Constants ¶
const ServiceAPIVersion = "2018-08-20"
const ServiceID = "S3 Control"
Variables ¶
This section is empty.
Functions ¶
func GetHostIDMetadata ¶
func GetHostIDMetadata(metadata middleware.Metadata) (string, bool)
GetHostIDMetadata retrieves the host id from middleware metadata returns host id as string along with a boolean indicating presence of hostId on middleware metadata.
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AssociateAccessGrantsIdentityCenterInput ¶
type AssociateAccessGrantsIdentityCenterInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // 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]API operation to retrieve a list of // your Identity Center instances and their ARNs. // // [ListInstances]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html // // This member is required. IdentityCenterArn *string // contains filtered or unexported fields }
type AssociateAccessGrantsIdentityCenterOutput ¶
type AssociateAccessGrantsIdentityCenterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS S3 Control.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateAccessGrantsIdentityCenter ¶
func (c *Client) AssociateAccessGrantsIdentityCenter(ctx context.Context, params *AssociateAccessGrantsIdentityCenterInput, optFns ...func(*Options)) (*AssociateAccessGrantsIdentityCenterOutput, error)
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 .
func (*Client) CreateAccessGrant ¶
func (c *Client) CreateAccessGrant(ctx context.Context, params *CreateAccessGrantInput, optFns ...func(*Options)) (*CreateAccessGrantOutput, error)
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. You must also have registered at least one S3 data location in your S3 Access Grants instance using CreateAccessGrantsLocation.
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
func (*Client) CreateAccessGrantsInstance ¶
func (c *Client) CreateAccessGrantsInstance(ctx context.Context, params *CreateAccessGrantsInstanceInput, optFns ...func(*Options)) (*CreateAccessGrantsInstanceOutput, error)
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.
func (*Client) CreateAccessGrantsLocation ¶
func (c *Client) CreateAccessGrantsLocation(ctx context.Context, params *CreateAccessGrantsLocationInput, optFns ...func(*Options)) (*CreateAccessGrantsLocationOutput, error)
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://
A bucket and prefix - S3:///
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. 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
func (*Client) CreateAccessPoint ¶
func (c *Client) CreateAccessPoint(ctx context.Context, params *CreateAccessPointInput, optFns ...func(*Options)) (*CreateAccessPointOutput, error)
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 Pointsin 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 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 Examplessection.
The following actions are related to CreateAccessPoint :
func (*Client) CreateAccessPointForObjectLambda ¶
func (c *Client) CreateAccessPointForObjectLambda(ctx context.Context, params *CreateAccessPointForObjectLambdaInput, optFns ...func(*Options)) (*CreateAccessPointForObjectLambdaOutput, error)
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 in the Amazon S3 User Guide.
The following actions are related to CreateAccessPointForObjectLambda :
func (*Client) CreateBucket ¶
func (c *Client) CreateBucket(ctx context.Context, params *CreateBucketInput, optFns ...func(*Options)) (*CreateBucketOutput, error)
This action creates an Amazon S3 on Outposts bucket. To create an S3 bucket, see Create Bucketin 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 Outpostsin Amazon S3 User Guide.
Not every string is an acceptable bucket name. For information on bucket naming restrictions, see Working with Amazon S3 Buckets.
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.
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 Examplessection.
The following actions are related to CreateBucket for Amazon S3 on Outposts:
func (*Client) CreateJob ¶
func (c *Client) CreateJob(ctx context.Context, params *CreateJobInput, optFns ...func(*Options)) (*CreateJobOutput, error)
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 Operationsin the Amazon S3 User Guide.
Permissions For information about permissions required to use the Batch Operations, see Granting permissions for S3 Batch Operationsin the Amazon S3 User Guide.
Related actions include:
func (*Client) CreateMultiRegionAccessPoint ¶
func (c *Client) CreateMultiRegionAccessPoint(ctx context.Context, params *CreateMultiRegionAccessPointInput, optFns ...func(*Options)) (*CreateMultiRegionAccessPointOutput, error)
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 Pointsin 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 limitationsin 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 :
func (*Client) CreateStorageLensGroup ¶
func (c *Client) CreateStorageLensGroup(ctx context.Context, params *CreateStorageLensGroupInput, optFns ...func(*Options)) (*CreateStorageLensGroupOutput, error)
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.
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.
For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
func (*Client) DeleteAccessGrant ¶
func (c *Client) DeleteAccessGrant(ctx context.Context, params *DeleteAccessGrantInput, optFns ...func(*Options)) (*DeleteAccessGrantOutput, error)
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.
func (*Client) DeleteAccessGrantsInstance ¶
func (c *Client) DeleteAccessGrantsInstance(ctx context.Context, params *DeleteAccessGrantsInstanceInput, optFns ...func(*Options)) (*DeleteAccessGrantsInstanceOutput, error)
Deletes your S3 Access Grants instance. You must first delete the access grants and locations before S3 Access Grants can delete the instance. See DeleteAccessGrantand DeleteAccessGrantsLocation. 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 and DissociateAccessGrantsIdentityCenter.
Permissions You must have the s3:DeleteAccessGrantsInstance permission to use this operation.
func (*Client) DeleteAccessGrantsInstanceResourcePolicy ¶
func (c *Client) DeleteAccessGrantsInstanceResourcePolicy(ctx context.Context, params *DeleteAccessGrantsInstanceResourcePolicyInput, optFns ...func(*Options)) (*DeleteAccessGrantsInstanceResourcePolicyOutput, error)
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.
func (*Client) DeleteAccessGrantsLocation ¶
func (c *Client) DeleteAccessGrantsLocation(ctx context.Context, params *DeleteAccessGrantsLocationInput, optFns ...func(*Options)) (*DeleteAccessGrantsLocationOutput, error)
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 grantfor 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.
func (*Client) DeleteAccessPoint ¶
func (c *Client) DeleteAccessPoint(ctx context.Context, params *DeleteAccessPointInput, optFns ...func(*Options)) (*DeleteAccessPointOutput, error)
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 Examplessection.
The following actions are related to DeleteAccessPoint :
func (*Client) DeleteAccessPointForObjectLambda ¶
func (c *Client) DeleteAccessPointForObjectLambda(ctx context.Context, params *DeleteAccessPointForObjectLambdaInput, optFns ...func(*Options)) (*DeleteAccessPointForObjectLambdaOutput, error)
This operation is not supported by directory buckets.
Deletes the specified Object Lambda Access Point.
The following actions are related to DeleteAccessPointForObjectLambda :
func (*Client) DeleteAccessPointPolicy ¶
func (c *Client) DeleteAccessPointPolicy(ctx context.Context, params *DeleteAccessPointPolicyInput, optFns ...func(*Options)) (*DeleteAccessPointPolicyOutput, error)
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 Examplessection.
The following actions are related to DeleteAccessPointPolicy :
func (*Client) DeleteAccessPointPolicyForObjectLambda ¶
func (c *Client) DeleteAccessPointPolicyForObjectLambda(ctx context.Context, params *DeleteAccessPointPolicyForObjectLambdaInput, optFns ...func(*Options)) (*DeleteAccessPointPolicyForObjectLambdaOutput, error)
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 :
func (*Client) DeleteBucket ¶
func (c *Client) DeleteBucket(ctx context.Context, params *DeleteBucketInput, optFns ...func(*Options)) (*DeleteBucketOutput, error)
This action deletes an Amazon S3 on Outposts bucket. To delete an S3 bucket, see DeleteBucketin 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 Outpostsin 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 Examplessection.
Related Resources ¶
func (*Client) DeleteBucketLifecycleConfiguration ¶
func (c *Client) DeleteBucketLifecycleConfiguration(ctx context.Context, params *DeleteBucketLifecycleConfigurationInput, optFns ...func(*Options)) (*DeleteBucketLifecycleConfigurationOutput, error)
This action deletes an Amazon S3 on Outposts bucket's lifecycle configuration. To delete an S3 bucket's lifecycle configuration, see DeleteBucketLifecyclein 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 Outpostsin 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 Examplessection.
For more information about object expiration, see Elements to Describe Lifecycle Actions.
Related actions include:
func (*Client) DeleteBucketPolicy ¶
func (c *Client) DeleteBucketPolicy(ctx context.Context, params *DeleteBucketPolicyInput, optFns ...func(*Options)) (*DeleteBucketPolicyOutput, error)
This action deletes an Amazon S3 on Outposts bucket policy. To delete an S3 bucket policy, see DeleteBucketPolicyin 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 Outpostsin 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.
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 Examplessection.
The following actions are related to DeleteBucketPolicy :
func (*Client) DeleteBucketReplication ¶
func (c *Client) DeleteBucketReplication(ctx context.Context, params *DeleteBucketReplicationInput, optFns ...func(*Options)) (*DeleteBucketReplicationOutput, error)
This operation deletes an Amazon S3 on Outposts bucket's replication configuration. To delete an S3 bucket's replication configuration, see DeleteBucketReplicationin 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 Outpostsand Managing access to S3 on Outposts buckets 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 Examplessection.
For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outposts in the Amazon S3 User Guide.
The following operations are related to DeleteBucketReplication :
func (*Client) DeleteBucketTagging ¶
func (c *Client) DeleteBucketTagging(ctx context.Context, params *DeleteBucketTaggingInput, optFns ...func(*Options)) (*DeleteBucketTaggingOutput, error)
This action deletes an Amazon S3 on Outposts bucket's tags. To delete an S3 bucket tags, see DeleteBucketTaggingin the Amazon S3 API Reference.
Deletes the tags from the Outposts bucket. For more information, see Using Amazon S3 on Outposts 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 Examplessection.
The following actions are related to DeleteBucketTagging :
func (*Client) DeleteJobTagging ¶
func (c *Client) DeleteJobTagging(ctx context.Context, params *DeleteJobTaggingInput, optFns ...func(*Options)) (*DeleteJobTaggingOutput, error)
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 in the Amazon S3 User Guide.
Related actions include:
func (*Client) DeleteMultiRegionAccessPoint ¶
func (c *Client) DeleteMultiRegionAccessPoint(ctx context.Context, params *DeleteMultiRegionAccessPointInput, optFns ...func(*Options)) (*DeleteMultiRegionAccessPointOutput, error)
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 limitationsin 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 :
func (*Client) DeletePublicAccessBlock ¶
func (c *Client) DeletePublicAccessBlock(ctx context.Context, params *DeletePublicAccessBlockInput, optFns ...func(*Options)) (*DeletePublicAccessBlockOutput, error)
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.
Related actions include:
func (*Client) DeleteStorageLensConfiguration ¶
func (c *Client) DeleteStorageLensConfiguration(ctx context.Context, params *DeleteStorageLensConfigurationInput, optFns ...func(*Options)) (*DeleteStorageLensConfigurationOutput, error)
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 Lensin 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 in the Amazon S3 User Guide.
func (*Client) DeleteStorageLensConfigurationTagging ¶
func (c *Client) DeleteStorageLensConfigurationTagging(ctx context.Context, params *DeleteStorageLensConfigurationTaggingInput, optFns ...func(*Options)) (*DeleteStorageLensConfigurationTaggingOutput, error)
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 Lensin 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 in the Amazon S3 User Guide.
func (*Client) DeleteStorageLensGroup ¶
func (c *Client) DeleteStorageLensGroup(ctx context.Context, params *DeleteStorageLensGroupInput, optFns ...func(*Options)) (*DeleteStorageLensGroupOutput, error)
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.
For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
func (*Client) DescribeJob ¶
func (c *Client) DescribeJob(ctx context.Context, params *DescribeJobInput, optFns ...func(*Options)) (*DescribeJobOutput, error)
Retrieves the configuration parameters and status for a Batch Operations job. For more information, see S3 Batch Operationsin the Amazon S3 User Guide.
Permissions To use the DescribeJob operation, you must have permission to perform the s3:DescribeJob action.
Related actions include:
func (*Client) DescribeMultiRegionAccessPointOperation ¶
func (c *Client) DescribeMultiRegionAccessPointOperation(ctx context.Context, params *DescribeMultiRegionAccessPointOperationInput, optFns ...func(*Options)) (*DescribeMultiRegionAccessPointOperationOutput, error)
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 Pointsin the Amazon S3 User Guide.
The following actions are related to GetMultiRegionAccessPoint :
func (*Client) DissociateAccessGrantsIdentityCenter ¶
func (c *Client) DissociateAccessGrantsIdentityCenter(ctx context.Context, params *DissociateAccessGrantsIdentityCenterInput, optFns ...func(*Options)) (*DissociateAccessGrantsIdentityCenterOutput, error)
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.
func (*Client) GetAccessGrant ¶
func (c *Client) GetAccessGrant(ctx context.Context, params *GetAccessGrantInput, optFns ...func(*Options)) (*GetAccessGrantOutput, error)
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.
func (*Client) GetAccessGrantsInstance ¶
func (c *Client) GetAccessGrantsInstance(ctx context.Context, params *GetAccessGrantsInstanceInput, optFns ...func(*Options)) (*GetAccessGrantsInstanceOutput, error)
Retrieves the S3 Access Grants instance for a Region in your account.
Permissions You must have the s3:GetAccessGrantsInstance permission to use this operation.
func (*Client) GetAccessGrantsInstanceForPrefix ¶
func (c *Client) GetAccessGrantsInstanceForPrefix(ctx context.Context, params *GetAccessGrantsInstanceForPrefixInput, optFns ...func(*Options)) (*GetAccessGrantsInstanceForPrefixOutput, error)
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 .
func (*Client) GetAccessGrantsInstanceResourcePolicy ¶
func (c *Client) GetAccessGrantsInstanceResourcePolicy(ctx context.Context, params *GetAccessGrantsInstanceResourcePolicyInput, optFns ...func(*Options)) (*GetAccessGrantsInstanceResourcePolicyOutput, error)
Returns the resource policy of the S3 Access Grants instance.
Permissions You must have the s3:GetAccessGrantsInstanceResourcePolicy permission to use this operation.
func (*Client) GetAccessGrantsLocation ¶
func (c *Client) GetAccessGrantsLocation(ctx context.Context, params *GetAccessGrantsLocationInput, optFns ...func(*Options)) (*GetAccessGrantsLocationOutput, error)
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.
func (*Client) GetAccessPoint ¶
func (c *Client) GetAccessPoint(ctx context.Context, params *GetAccessPointInput, optFns ...func(*Options)) (*GetAccessPointOutput, error)
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 Examplessection.
The following actions are related to GetAccessPoint :
func (*Client) GetAccessPointConfigurationForObjectLambda ¶
func (c *Client) GetAccessPointConfigurationForObjectLambda(ctx context.Context, params *GetAccessPointConfigurationForObjectLambdaInput, optFns ...func(*Options)) (*GetAccessPointConfigurationForObjectLambdaOutput, error)
This operation is not supported by directory buckets.
Returns configuration for an Object Lambda Access Point.
The following actions are related to GetAccessPointConfigurationForObjectLambda :
func (*Client) GetAccessPointForObjectLambda ¶
func (c *Client) GetAccessPointForObjectLambda(ctx context.Context, params *GetAccessPointForObjectLambdaInput, optFns ...func(*Options)) (*GetAccessPointForObjectLambdaOutput, error)
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 :
CreateAccessPointForObjectLambda
func (*Client) GetAccessPointPolicy ¶
func (c *Client) GetAccessPointPolicy(ctx context.Context, params *GetAccessPointPolicyInput, optFns ...func(*Options)) (*GetAccessPointPolicyOutput, error)
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 :
func (*Client) GetAccessPointPolicyForObjectLambda ¶
func (c *Client) GetAccessPointPolicyForObjectLambda(ctx context.Context, params *GetAccessPointPolicyForObjectLambdaInput, optFns ...func(*Options)) (*GetAccessPointPolicyForObjectLambdaOutput, error)
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 :
func (*Client) GetAccessPointPolicyStatus ¶
func (c *Client) GetAccessPointPolicyStatus(ctx context.Context, params *GetAccessPointPolicyStatusInput, optFns ...func(*Options)) (*GetAccessPointPolicyStatusOutput, error)
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 pointsin the Amazon S3 User Guide.
func (*Client) GetAccessPointPolicyStatusForObjectLambda ¶
func (c *Client) GetAccessPointPolicyStatusForObjectLambda(ctx context.Context, params *GetAccessPointPolicyStatusForObjectLambdaInput, optFns ...func(*Options)) (*GetAccessPointPolicyStatusForObjectLambdaOutput, error)
This operation is not supported by directory buckets.
Returns the status of the resource policy associated with an Object Lambda Access Point.
func (*Client) GetBucket ¶
func (c *Client) GetBucket(ctx context.Context, params *GetBucketInput, optFns ...func(*Options)) (*GetBucketOutput, error)
Gets an Amazon S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts 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 Examplessection.
func (*Client) GetBucketLifecycleConfiguration ¶
func (c *Client) GetBucketLifecycleConfiguration(ctx context.Context, params *GetBucketLifecycleConfigurationInput, optFns ...func(*Options)) (*GetBucketLifecycleConfigurationOutput, error)
This action gets an Amazon S3 on Outposts bucket's lifecycle configuration. To get an S3 bucket's lifecycle configuration, see GetBucketLifecycleConfigurationin the Amazon S3 API Reference.
Returns the lifecycle configuration information set on the Outposts bucket. For more information, see Using Amazon S3 on Outpostsand for information about lifecycle configuration, see Object Lifecycle Management 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 Operationsand Managing Access Permissions to Your Amazon S3 Resources.
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 Examplessection.
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 :
func (*Client) GetBucketPolicy ¶
func (c *Client) GetBucketPolicy(ctx context.Context, params *GetBucketPolicyInput, optFns ...func(*Options)) (*GetBucketPolicyOutput, error)
This action gets a bucket policy for an Amazon S3 on Outposts bucket. To get a policy for an S3 bucket, see GetBucketPolicyin the Amazon S3 API Reference.
Returns the policy of a specified Outposts bucket. For more information, see Using Amazon S3 on Outposts 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.
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 Examplessection.
The following actions are related to GetBucketPolicy :
func (*Client) GetBucketReplication ¶
func (c *Client) GetBucketReplication(ctx context.Context, params *GetBucketReplicationInput, optFns ...func(*Options)) (*GetBucketReplicationOutput, error)
This operation gets an Amazon S3 on Outposts bucket's replication configuration. To get an S3 bucket's replication configuration, see GetBucketReplicationin 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 Outpostsin the Amazon S3 User Guide. For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outpostsin 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 Outpostsand Managing access to S3 on Outposts bucket 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 Examplessection.
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 in the Amazon S3 User Guide.
The following operations are related to GetBucketReplication :
func (*Client) GetBucketTagging ¶
func (c *Client) GetBucketTagging(ctx context.Context, params *GetBucketTaggingInput, optFns ...func(*Options)) (*GetBucketTaggingOutput, error)
This action gets an Amazon S3 on Outposts bucket's tags. To get an S3 bucket tags, see GetBucketTaggingin the Amazon S3 API Reference.
Returns the tag set associated with the Outposts bucket. For more information, see Using Amazon S3 on Outpostsin 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 Examplessection.
The following actions are related to GetBucketTagging :
func (*Client) GetBucketVersioning ¶
func (c *Client) GetBucketVersioning(ctx context.Context, params *GetBucketVersioningInput, optFns ...func(*Options)) (*GetBucketVersioningOutput, error)
This operation returns the versioning state for S3 on Outposts buckets only. To return the versioning state for an S3 bucket, see GetBucketVersioningin 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 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 Examplessection.
The following operations are related to GetBucketVersioning for S3 on Outposts.
func (*Client) GetDataAccess ¶
func (c *Client) GetDataAccess(ctx context.Context, params *GetDataAccessInput, optFns ...func(*Options)) (*GetDataAccessOutput, error)
Returns a temporary access credential from S3 Access Grants to the grantee or client application. The temporary credentialis 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 .
func (*Client) GetJobTagging ¶
func (c *Client) GetJobTagging(ctx context.Context, params *GetJobTaggingInput, optFns ...func(*Options)) (*GetJobTaggingOutput, error)
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 in the Amazon S3 User Guide.
Related actions include:
func (*Client) GetMultiRegionAccessPoint ¶
func (c *Client) GetMultiRegionAccessPoint(ctx context.Context, params *GetMultiRegionAccessPointInput, optFns ...func(*Options)) (*GetMultiRegionAccessPointOutput, error)
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 limitationsin the Amazon S3 User Guide.
The following actions are related to GetMultiRegionAccessPoint :
func (*Client) GetMultiRegionAccessPointPolicy ¶
func (c *Client) GetMultiRegionAccessPointPolicy(ctx context.Context, params *GetMultiRegionAccessPointPolicyInput, optFns ...func(*Options)) (*GetMultiRegionAccessPointPolicyOutput, error)
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 limitationsin the Amazon S3 User Guide.
The following actions are related to GetMultiRegionAccessPointPolicy :
func (*Client) GetMultiRegionAccessPointPolicyStatus ¶
func (c *Client) GetMultiRegionAccessPointPolicyStatus(ctx context.Context, params *GetMultiRegionAccessPointPolicyStatusInput, optFns ...func(*Options)) (*GetMultiRegionAccessPointPolicyStatusOutput, error)
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 limitationsin the Amazon S3 User Guide.
The following actions are related to GetMultiRegionAccessPointPolicyStatus :
func (*Client) GetMultiRegionAccessPointRoutes ¶
func (c *Client) GetMultiRegionAccessPointRoutes(ctx context.Context, params *GetMultiRegionAccessPointRoutesInput, optFns ...func(*Options)) (*GetMultiRegionAccessPointRoutesOutput, error)
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
func (*Client) GetPublicAccessBlock ¶
func (c *Client) GetPublicAccessBlock(ctx context.Context, params *GetPublicAccessBlockInput, optFns ...func(*Options)) (*GetPublicAccessBlockOutput, error)
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.
Related actions include:
func (*Client) GetStorageLensConfiguration ¶
func (c *Client) GetStorageLensConfiguration(ctx context.Context, params *GetStorageLensConfigurationInput, optFns ...func(*Options)) (*GetStorageLensConfigurationOutput, error)
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 in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary 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 in the Amazon S3 User Guide.
func (*Client) GetStorageLensConfigurationTagging ¶
func (c *Client) GetStorageLensConfigurationTagging(ctx context.Context, params *GetStorageLensConfigurationTaggingInput, optFns ...func(*Options)) (*GetStorageLensConfigurationTaggingOutput, error)
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 Lensin 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 in the Amazon S3 User Guide.
func (*Client) GetStorageLensGroup ¶
func (c *Client) GetStorageLensGroup(ctx context.Context, params *GetStorageLensGroupInput, optFns ...func(*Options)) (*GetStorageLensGroupOutput, error)
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.
For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
func (*Client) ListAccessGrants ¶
func (c *Client) ListAccessGrants(ctx context.Context, params *ListAccessGrantsInput, optFns ...func(*Options)) (*ListAccessGrantsOutput, error)
Returns the list of access grants in your S3 Access Grants instance.
Permissions You must have the s3:ListAccessGrants permission to use this operation.
func (*Client) ListAccessGrantsInstances ¶
func (c *Client) ListAccessGrantsInstances(ctx context.Context, params *ListAccessGrantsInstancesInput, optFns ...func(*Options)) (*ListAccessGrantsInstancesOutput, error)
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.
func (*Client) ListAccessGrantsLocations ¶
func (c *Client) ListAccessGrantsLocations(ctx context.Context, params *ListAccessGrantsLocationsInput, optFns ...func(*Options)) (*ListAccessGrantsLocationsOutput, error)
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.
func (*Client) ListAccessPoints ¶
func (c *Client) ListAccessPoints(ctx context.Context, params *ListAccessPointsInput, optFns ...func(*Options)) (*ListAccessPointsOutput, error)
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 Examplessection.
The following actions are related to ListAccessPoints :
func (*Client) ListAccessPointsForObjectLambda ¶
func (c *Client) ListAccessPointsForObjectLambda(ctx context.Context, params *ListAccessPointsForObjectLambdaInput, optFns ...func(*Options)) (*ListAccessPointsForObjectLambdaOutput, error)
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 :
CreateAccessPointForObjectLambda
func (*Client) ListJobs ¶
func (c *Client) ListJobs(ctx context.Context, params *ListJobsInput, optFns ...func(*Options)) (*ListJobsOutput, error)
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 Operationsin the Amazon S3 User Guide.
Permissions To use the ListJobs operation, you must have permission to perform the s3:ListJobs action.
Related actions include:
func (*Client) ListMultiRegionAccessPoints ¶
func (c *Client) ListMultiRegionAccessPoints(ctx context.Context, params *ListMultiRegionAccessPointsInput, optFns ...func(*Options)) (*ListMultiRegionAccessPointsOutput, error)
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 limitationsin the Amazon S3 User Guide.
The following actions are related to ListMultiRegionAccessPoint :
func (*Client) ListRegionalBuckets ¶
func (c *Client) ListRegionalBuckets(ctx context.Context, params *ListRegionalBucketsInput, optFns ...func(*Options)) (*ListRegionalBucketsOutput, error)
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 Outpostsin 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 Examplessection.
func (*Client) ListStorageLensConfigurations ¶
func (c *Client) ListStorageLensConfigurations(ctx context.Context, params *ListStorageLensConfigurationsInput, optFns ...func(*Options)) (*ListStorageLensConfigurationsOutput, error)
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 Lensin 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 in the Amazon S3 User Guide.
func (*Client) ListStorageLensGroups ¶
func (c *Client) ListStorageLensGroups(ctx context.Context, params *ListStorageLensGroupsInput, optFns ...func(*Options)) (*ListStorageLensGroupsOutput, error)
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.
For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
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 and for S3 Access Grants. 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.
For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutAccessGrantsInstanceResourcePolicy ¶
func (c *Client) PutAccessGrantsInstanceResourcePolicy(ctx context.Context, params *PutAccessGrantsInstanceResourcePolicyInput, optFns ...func(*Options)) (*PutAccessGrantsInstanceResourcePolicyOutput, error)
Updates the resource policy of the S3 Access Grants instance.
Permissions You must have the s3:PutAccessGrantsInstanceResourcePolicy permission to use this operation.
func (*Client) PutAccessPointConfigurationForObjectLambda ¶
func (c *Client) PutAccessPointConfigurationForObjectLambda(ctx context.Context, params *PutAccessPointConfigurationForObjectLambdaInput, optFns ...func(*Options)) (*PutAccessPointConfigurationForObjectLambdaOutput, error)
This operation is not supported by directory buckets.
Replaces configuration for an Object Lambda Access Point.
The following actions are related to PutAccessPointConfigurationForObjectLambda :
func (*Client) PutAccessPointPolicy ¶
func (c *Client) PutAccessPointPolicy(ctx context.Context, params *PutAccessPointPolicyInput, optFns ...func(*Options)) (*PutAccessPointPolicyOutput, error)
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 Examplessection.
The following actions are related to PutAccessPointPolicy :
func (*Client) PutAccessPointPolicyForObjectLambda ¶
func (c *Client) PutAccessPointPolicyForObjectLambda(ctx context.Context, params *PutAccessPointPolicyForObjectLambdaInput, optFns ...func(*Options)) (*PutAccessPointPolicyForObjectLambdaOutput, error)
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 Pointsin the Amazon S3 User Guide.
The following actions are related to PutAccessPointPolicyForObjectLambda :
func (*Client) PutBucketLifecycleConfiguration ¶
func (c *Client) PutBucketLifecycleConfiguration(ctx context.Context, params *PutBucketLifecycleConfigurationInput, optFns ...func(*Options)) (*PutBucketLifecycleConfigurationOutput, error)
This action puts a lifecycle configuration to an Amazon S3 on Outposts bucket. To put a lifecycle configuration to an S3 bucket, see PutBucketLifecycleConfigurationin 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 Examplessection.
The following actions are related to PutBucketLifecycleConfiguration :
func (*Client) PutBucketPolicy ¶
func (c *Client) PutBucketPolicy(ctx context.Context, params *PutBucketPolicyInput, optFns ...func(*Options)) (*PutBucketPolicyOutput, error)
This action puts a bucket policy to an Amazon S3 on Outposts bucket. To put a policy on an S3 bucket, see PutBucketPolicyin the Amazon S3 API Reference.
Applies an Amazon S3 bucket policy to an Outposts bucket. For more information, see Using Amazon S3 on Outpostsin 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.
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 Examplessection.
The following actions are related to PutBucketPolicy :
func (*Client) PutBucketReplication ¶
func (c *Client) PutBucketReplication(ctx context.Context, params *PutBucketReplicationInput, optFns ...func(*Options)) (*PutBucketReplicationOutput, error)
This action creates an Amazon S3 on Outposts bucket's replication configuration. To create an S3 bucket's replication configuration, see PutBucketReplicationin 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 Outpostsin 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.
For information about S3 on Outposts replication failure reasons, see Replication failure reasons 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 Outpostsand Managing access to S3 on Outposts buckets.
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.
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 Examplessection.
The following operations are related to PutBucketReplication :
func (*Client) PutBucketTagging ¶
func (c *Client) PutBucketTagging(ctx context.Context, params *PutBucketTaggingInput, optFns ...func(*Options)) (*PutBucketTaggingOutput, error)
This action puts tags on an Amazon S3 on Outposts bucket. To put tags on an S3 bucket, see PutBucketTaggingin the Amazon S3 API Reference.
Sets the tags for an S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts 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.
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.
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 Operationsand Managing access permissions to your Amazon S3 resources.
PutBucketTagging has the following special errors:
Error code: InvalidTagError
Description: The tag provided was not a valid tag. This error can occur if the tag did not pass input validation. For information about tag restrictions, see User-Defined Tag Restrictionsand Amazon Web Services-Generated Cost Allocation Tag Restrictions.
Error code: MalformedXMLError
Description: The XML provided does not match the schema.
Error code: OperationAbortedError
Description: A conflicting conditional action is currently in progress against this resource. Try again.
Error code: InternalError
Description: The service was unable to apply the provided tag to 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 Examplessection.
The following actions are related to PutBucketTagging :
func (*Client) PutBucketVersioning ¶
func (c *Client) PutBucketVersioning(ctx context.Context, params *PutBucketVersioningInput, optFns ...func(*Options)) (*PutBucketVersioningOutput, error)
This operation sets the versioning state for S3 on Outposts buckets only. To set the versioning state for an S3 bucket, see PutBucketVersioningin 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 GetBucketVersioningrequest 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 bucketin 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 Versioningin 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 Examplessection.
The following operations are related to PutBucketVersioning for S3 on Outposts.
func (*Client) PutJobTagging ¶
func (c *Client) PutJobTagging(ctx context.Context, params *PutJobTaggingInput, optFns ...func(*Options)) (*PutJobTaggingOutput, error)
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, 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 tagsin 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.
For deleting existing tags for your Batch Operations job, a DeleteJobTaggingrequest 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 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:
func (*Client) PutMultiRegionAccessPointPolicy ¶
func (c *Client) PutMultiRegionAccessPointPolicy(ctx context.Context, params *PutMultiRegionAccessPointPolicyInput, optFns ...func(*Options)) (*PutMultiRegionAccessPointPolicyOutput, error)
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 limitationsin the Amazon S3 User Guide.
The following actions are related to PutMultiRegionAccessPointPolicy :
func (*Client) PutPublicAccessBlock ¶
func (c *Client) PutPublicAccessBlock(ctx context.Context, params *PutPublicAccessBlockInput, optFns ...func(*Options)) (*PutPublicAccessBlockOutput, error)
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.
Related actions include:
func (*Client) PutStorageLensConfiguration ¶
func (c *Client) PutStorageLensConfiguration(ctx context.Context, params *PutStorageLensConfigurationInput, optFns ...func(*Options)) (*PutStorageLensConfigurationOutput, error)
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 Lensin the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossaryin 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 in the Amazon S3 User Guide.
func (*Client) PutStorageLensConfigurationTagging ¶
func (c *Client) PutStorageLensConfigurationTagging(ctx context.Context, params *PutStorageLensConfigurationTaggingInput, optFns ...func(*Options)) (*PutStorageLensConfigurationTaggingOutput, error)
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 Lensin 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 in the Amazon S3 User Guide.
func (*Client) SubmitMultiRegionAccessPointRoutes ¶
func (c *Client) SubmitMultiRegionAccessPointRoutes(ctx context.Context, params *SubmitMultiRegionAccessPointRoutesInput, optFns ...func(*Options)) (*SubmitMultiRegionAccessPointRoutesOutput, error)
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
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
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 and for S3 Access Grants. 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.
For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
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 and for S3 Access Grants. 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.
For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.
func (*Client) UpdateAccessGrantsLocation ¶
func (c *Client) UpdateAccessGrantsLocation(ctx context.Context, params *UpdateAccessGrantsLocationInput, optFns ...func(*Options)) (*UpdateAccessGrantsLocationOutput, error)
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
func (*Client) UpdateJobPriority ¶
func (c *Client) UpdateJobPriority(ctx context.Context, params *UpdateJobPriorityInput, optFns ...func(*Options)) (*UpdateJobPriorityOutput, error)
Updates an existing S3 Batch Operations job's priority. For more information, see S3 Batch Operationsin the Amazon S3 User Guide.
Permissions To use the UpdateJobPriority operation, you must have permission to perform the s3:UpdateJobPriority action.
Related actions include:
func (*Client) UpdateJobStatus ¶
func (c *Client) UpdateJobStatus(ctx context.Context, params *UpdateJobStatusInput, optFns ...func(*Options)) (*UpdateJobStatusOutput, error)
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 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:
func (*Client) UpdateStorageLensGroup ¶
func (c *Client) UpdateStorageLensGroup(ctx context.Context, params *UpdateStorageLensGroupInput, optFns ...func(*Options)) (*UpdateStorageLensGroupOutput, error)
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.
For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
type CreateAccessGrantInput ¶
type CreateAccessGrantInput struct { // 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. // // This member is required. AccessGrantsLocationId *string // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *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. // // This member is required. Grantee *types.Grantee // 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. // // This member is required. Permission types.Permission // 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 *types.AccessGrantsLocationConfiguration // 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 // 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 types.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 []types.Tag // contains filtered or unexported fields }
type CreateAccessGrantOutput ¶
type CreateAccessGrantOutput struct { // The Amazon Resource Name (ARN) of the access grant. AccessGrantArn *string // The ID of the access grant. S3 Access Grants auto-generates this ID when you // create the access grant. AccessGrantId *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 *types.AccessGrantsLocationConfiguration // 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 // 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 // The date and time when you created the access grant. CreatedAt *time.Time // 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 // 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 *types.Grantee // 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 types.Permission // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateAccessGrantsInstanceInput ¶
type CreateAccessGrantsInstanceInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // 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]API operation to retrieve a list of your Identity // Center instances and their ARNs. // // [ListInstances]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html IdentityCenterArn *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 []types.Tag // contains filtered or unexported fields }
type CreateAccessGrantsInstanceOutput ¶
type CreateAccessGrantsInstanceOutput struct { // The Amazon Resource Name (ARN) of the S3 Access Grants instance. AccessGrantsInstanceArn *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 // The date and time when you created the S3 Access Grants instance. CreatedAt *time.Time // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateAccessGrantsLocationInput ¶
type CreateAccessGrantsLocationInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // 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. // // This member is required. IAMRoleArn *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:// , or the S3 path // to a bucket and prefix s3:/// . 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. // // This member is required. LocationScope *string // 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 []types.Tag // contains filtered or unexported fields }
type CreateAccessGrantsLocationOutput ¶
type CreateAccessGrantsLocationOutput struct { // The Amazon Resource Name (ARN) of the location you are registering. AccessGrantsLocationArn *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 // The date and time when you registered the location. CreatedAt *time.Time // 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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateAccessPointForObjectLambdaInput ¶
type CreateAccessPointForObjectLambdaInput struct { // The Amazon Web Services account ID for owner of the specified Object Lambda // Access Point. // // This member is required. AccountId *string // Object Lambda Access Point configuration as a JSON document. // // This member is required. Configuration *types.ObjectLambdaConfiguration // The name you want to assign to this Object Lambda Access Point. // // This member is required. Name *string // contains filtered or unexported fields }
type CreateAccessPointForObjectLambdaOutput ¶
type CreateAccessPointForObjectLambdaOutput struct { // The alias of the Object Lambda Access Point. Alias *types.ObjectLambdaAccessPointAlias // Specifies the ARN for the Object Lambda Access Point. ObjectLambdaAccessPointArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateAccessPointInput ¶
type CreateAccessPointInput struct { // The Amazon Web Services account ID for the account that owns the specified // access point. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // The name you want to assign to this access point. // // This member is required. Name *string // 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 // The PublicAccessBlock configuration that you want to apply to the access // point. PublicAccessBlockConfiguration *types.PublicAccessBlockConfiguration // 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 *types.VpcConfiguration // contains filtered or unexported fields }
func (*CreateAccessPointInput) GetARNMember ¶
func (m *CreateAccessPointInput) GetARNMember() (*string, bool)
func (*CreateAccessPointInput) SetARNMember ¶
func (m *CreateAccessPointInput) SetARNMember(v string) error
type CreateAccessPointOutput ¶
type CreateAccessPointOutput struct { // The ARN of the access point. // // This is only supported by Amazon S3 on Outposts. AccessPointArn *string // The name or alias of the access point. Alias *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBucketInput ¶
type CreateBucketInput struct { // The name of the bucket. // // This member is required. Bucket *string // The canned ACL to apply to the bucket. // // This is not supported by Amazon S3 on Outposts buckets. ACL types.BucketCannedACL // The configuration information for the bucket. // // This is not supported by Amazon S3 on Outposts buckets. CreateBucketConfiguration *types.CreateBucketConfiguration // 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 // Allows grantee to list the objects in the bucket. // // This is not supported by Amazon S3 on Outposts buckets. GrantRead *string // Allows grantee to read the bucket ACL. // // This is not supported by Amazon S3 on Outposts buckets. GrantReadACP *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 // Allows grantee to write the ACL for the applicable bucket. // // This is not supported by Amazon S3 on Outposts buckets. GrantWriteACP *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 // The ID of the Outposts where the bucket is being created. // // This ID is required by Amazon S3 on Outposts buckets. OutpostId *string // contains filtered or unexported fields }
func (*CreateBucketInput) GetARNMember ¶
func (m *CreateBucketInput) GetARNMember() (*string, bool)
func (*CreateBucketInput) SetARNMember ¶
func (m *CreateBucketInput) SetARNMember(v string) error
type CreateBucketOutput ¶
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:::outpost//bucket/ . 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 // The location of the bucket. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateJobInput ¶
type CreateJobInput struct { // The Amazon Web Services account ID that creates the job. // // This member is required. AccountId *string // 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. // // This member is required. ClientRequestToken *string // 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]in the Amazon // S3 User Guide. // // [Operations]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-actions.html // // This member is required. Operation *types.JobOperation // The numerical priority for this job. Higher numbers indicate higher priority. // // This member is required. Priority *int32 // Configuration parameters for the optional job-completion report. // // This member is required. Report *types.JobReport // 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. // // This member is required. RoleArn *string // 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 // 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 // Configuration parameters for the manifest. Manifest *types.JobManifest // The attribute container for the ManifestGenerator details. Jobs must be created // with either a manifest file or a ManifestGenerator, but not both. ManifestGenerator types.JobManifestGenerator // A set of tags to associate with the S3 Batch Operations job. This is an // optional parameter. Tags []types.S3Tag // contains filtered or unexported fields }
type CreateJobOutput ¶
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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateMultiRegionAccessPointInput ¶
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. // // This member is required. AccountId *string // An idempotency token used to identify the request and guarantee that requests // are unique. // // This member is required. ClientToken *string // A container element containing details about the Multi-Region Access Point. // // This member is required. Details *types.CreateMultiRegionAccessPointInput // contains filtered or unexported fields }
type CreateMultiRegionAccessPointOutput ¶
type CreateMultiRegionAccessPointOutput struct { // The request token associated with the request. You can use this token with [DescribeMultiRegionAccessPointOperation] to // determine the status of asynchronous requests. // // [DescribeMultiRegionAccessPointOperation]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html RequestTokenARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateStorageLensGroupInput ¶
type CreateStorageLensGroupInput struct { // The Amazon Web Services account ID that the Storage Lens group is created from // and associated with. // // This member is required. AccountId *string // The Storage Lens group configuration. // // This member is required. StorageLensGroup *types.StorageLensGroup // The Amazon Web Services resource tags that you're adding to your Storage Lens // group. This parameter is optional. Tags []types.Tag // contains filtered or unexported fields }
type CreateStorageLensGroupOutput ¶
type CreateStorageLensGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessGrantInput ¶
type DeleteAccessGrantInput struct { // The ID of the access grant. S3 Access Grants auto-generates this ID when you // create the access grant. // // This member is required. AccessGrantId *string // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type DeleteAccessGrantOutput ¶
type DeleteAccessGrantOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessGrantsInstanceInput ¶
type DeleteAccessGrantsInstanceInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type DeleteAccessGrantsInstanceOutput ¶
type DeleteAccessGrantsInstanceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessGrantsInstanceResourcePolicyInput ¶
type DeleteAccessGrantsInstanceResourcePolicyInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type DeleteAccessGrantsInstanceResourcePolicyOutput ¶
type DeleteAccessGrantsInstanceResourcePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessGrantsLocationInput ¶
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. // // This member is required. AccessGrantsLocationId *string // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type DeleteAccessGrantsLocationOutput ¶
type DeleteAccessGrantsLocationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessPointForObjectLambdaInput ¶
type DeleteAccessPointForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the access point you want to delete. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteAccessPointForObjectLambdaOutput ¶
type DeleteAccessPointForObjectLambdaOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessPointInput ¶
type DeleteAccessPointInput struct { // The Amazon Web Services account ID for the account that owns the specified // access point. // // This member is required. AccountId *string // 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:::outpost//accesspoint/ . 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. // // This member is required. Name *string // contains filtered or unexported fields }
func (*DeleteAccessPointInput) GetARNMember ¶
func (m *DeleteAccessPointInput) GetARNMember() (*string, bool)
func (*DeleteAccessPointInput) SetARNMember ¶
func (m *DeleteAccessPointInput) SetARNMember(v string) error
type DeleteAccessPointOutput ¶
type DeleteAccessPointOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessPointPolicyForObjectLambdaInput ¶
type DeleteAccessPointPolicyForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the Object Lambda Access Point you want to delete the policy for. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteAccessPointPolicyForObjectLambdaOutput ¶
type DeleteAccessPointPolicyForObjectLambdaOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessPointPolicyInput ¶
type DeleteAccessPointPolicyInput struct { // The account ID for the account that owns the specified access point. // // This member is required. AccountId *string // 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:::outpost//accesspoint/ . 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. // // This member is required. Name *string // contains filtered or unexported fields }
func (*DeleteAccessPointPolicyInput) GetARNMember ¶
func (m *DeleteAccessPointPolicyInput) GetARNMember() (*string, bool)
func (*DeleteAccessPointPolicyInput) SetARNMember ¶
func (m *DeleteAccessPointPolicyInput) SetARNMember(v string) error
type DeleteAccessPointPolicyOutput ¶
type DeleteAccessPointPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBucketInput ¶
type DeleteBucketInput struct { // The account ID that owns the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*DeleteBucketInput) GetARNMember ¶
func (m *DeleteBucketInput) GetARNMember() (*string, bool)
func (*DeleteBucketInput) SetARNMember ¶
func (m *DeleteBucketInput) SetARNMember(v string) error
type DeleteBucketLifecycleConfigurationInput ¶
type DeleteBucketLifecycleConfigurationInput struct { // The account ID of the lifecycle configuration to delete. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*DeleteBucketLifecycleConfigurationInput) GetARNMember ¶
func (m *DeleteBucketLifecycleConfigurationInput) GetARNMember() (*string, bool)
func (*DeleteBucketLifecycleConfigurationInput) SetARNMember ¶
func (m *DeleteBucketLifecycleConfigurationInput) SetARNMember(v string) error
type DeleteBucketLifecycleConfigurationOutput ¶
type DeleteBucketLifecycleConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBucketOutput ¶
type DeleteBucketOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBucketPolicyInput ¶
type DeleteBucketPolicyInput struct { // The account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*DeleteBucketPolicyInput) GetARNMember ¶
func (m *DeleteBucketPolicyInput) GetARNMember() (*string, bool)
func (*DeleteBucketPolicyInput) SetARNMember ¶
func (m *DeleteBucketPolicyInput) SetARNMember(v string) error
type DeleteBucketPolicyOutput ¶
type DeleteBucketPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBucketReplicationInput ¶
type DeleteBucketReplicationInput struct { // The Amazon Web Services account ID of the Outposts bucket to delete the // replication configuration for. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*DeleteBucketReplicationInput) GetARNMember ¶
func (m *DeleteBucketReplicationInput) GetARNMember() (*string, bool)
func (*DeleteBucketReplicationInput) SetARNMember ¶
func (m *DeleteBucketReplicationInput) SetARNMember(v string) error
type DeleteBucketReplicationOutput ¶
type DeleteBucketReplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBucketTaggingInput ¶
type DeleteBucketTaggingInput struct { // The Amazon Web Services account ID of the Outposts bucket tag set to be removed. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*DeleteBucketTaggingInput) GetARNMember ¶
func (m *DeleteBucketTaggingInput) GetARNMember() (*string, bool)
func (*DeleteBucketTaggingInput) SetARNMember ¶
func (m *DeleteBucketTaggingInput) SetARNMember(v string) error
type DeleteBucketTaggingOutput ¶
type DeleteBucketTaggingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteJobTaggingInput ¶
type DeleteJobTaggingInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The ID for the S3 Batch Operations job whose tags you want to delete. // // This member is required. JobId *string // contains filtered or unexported fields }
type DeleteJobTaggingOutput ¶
type DeleteJobTaggingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMultiRegionAccessPointInput ¶
type DeleteMultiRegionAccessPointInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // An idempotency token used to identify the request and guarantee that requests // are unique. // // This member is required. ClientToken *string // A container element containing details about the Multi-Region Access Point. // // This member is required. Details *types.DeleteMultiRegionAccessPointInput // contains filtered or unexported fields }
type DeleteMultiRegionAccessPointOutput ¶
type DeleteMultiRegionAccessPointOutput struct { // The request token associated with the request. You can use this token with [DescribeMultiRegionAccessPointOperation] to // determine the status of asynchronous requests. // // [DescribeMultiRegionAccessPointOperation]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html RequestTokenARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeletePublicAccessBlockInput ¶
type DeletePublicAccessBlockInput struct { // The account ID for the Amazon Web Services account whose PublicAccessBlock // configuration you want to remove. // // This member is required. AccountId *string // contains filtered or unexported fields }
type DeletePublicAccessBlockOutput ¶
type DeletePublicAccessBlockOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteStorageLensConfigurationInput ¶
type DeleteStorageLensConfigurationOutput ¶
type DeleteStorageLensConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteStorageLensConfigurationTaggingInput ¶
type DeleteStorageLensConfigurationTaggingOutput ¶
type DeleteStorageLensConfigurationTaggingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteStorageLensGroupInput ¶
type DeleteStorageLensGroupInput struct { // The Amazon Web Services account ID used to create the Storage Lens group that // you're trying to delete. // // This member is required. AccountId *string // The name of the Storage Lens group that you're trying to delete. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteStorageLensGroupOutput ¶
type DeleteStorageLensGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJobInput ¶
type DescribeJobInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The ID for the job whose information you want to retrieve. // // This member is required. JobId *string // contains filtered or unexported fields }
type DescribeJobOutput ¶
type DescribeJobOutput struct { // Contains the configuration parameters and status for the job specified in the // Describe Job request. Job *types.JobDescriptor // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeMultiRegionAccessPointOperationInput ¶
type DescribeMultiRegionAccessPointOperationInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // 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. // // This member is required. RequestTokenARN *string // contains filtered or unexported fields }
type DescribeMultiRegionAccessPointOperationOutput ¶
type DescribeMultiRegionAccessPointOperationOutput struct { // A container element containing the details of the asynchronous operation. AsyncOperation *types.AsyncOperation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DissociateAccessGrantsIdentityCenterInput ¶
type DissociateAccessGrantsIdentityCenterInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type DissociateAccessGrantsIdentityCenterOutput ¶
type DissociateAccessGrantsIdentityCenterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string // The Account ID used to send the request. This is an optional parameter that will // be set automatically for operations that require it. // // Parameter is required. AccountId *string // Internal parameter for operations that require account id host // prefix. // // Parameter is required. RequiresAccountId *bool // The Outpost ID. Some operations have an optional OutpostId which should be used // in endpoint construction. // // Parameter is required. OutpostId *string // The S3 bucket used to send the request. This is an optional parameter that will // be set automatically for operations that are scoped to an S3 bucket. // // Parameter // is required. Bucket *string // The S3 AccessPointName used to send the request. This is an optional parameter // that will be set automatically for operations that are scoped to an S3 // AccessPoint. // // Parameter is required. AccessPointName *string // When an Access Point ARN is provided and this flag is enabled, the SDK MUST use // the ARN's region when constructing the endpoint instead of the client's // configured region. // // Parameter is required. // // AWS::S3Control::UseArnRegion UseArnRegion *bool }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetAccessGrantInput ¶
type GetAccessGrantInput struct { // The ID of the access grant. S3 Access Grants auto-generates this ID when you // create the access grant. // // This member is required. AccessGrantId *string // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type GetAccessGrantOutput ¶
type GetAccessGrantOutput struct { // The Amazon Resource Name (ARN) of the access grant. AccessGrantArn *string // The ID of the access grant. S3 Access Grants auto-generates this ID when you // create the access grant. AccessGrantId *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 *types.AccessGrantsLocationConfiguration // 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 // 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 // The date and time when you created the access grant. CreatedAt *time.Time // 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 // 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 *types.Grantee // 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 types.Permission // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessGrantsInstanceForPrefixInput ¶
type GetAccessGrantsInstanceForPrefixInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // The S3 prefix of the access grants that you would like to retrieve. // // This member is required. S3Prefix *string // contains filtered or unexported fields }
type GetAccessGrantsInstanceForPrefixOutput ¶
type GetAccessGrantsInstanceForPrefixOutput struct { // The Amazon Resource Name (ARN) of the S3 Access Grants instance. AccessGrantsInstanceArn *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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessGrantsInstanceInput ¶
type GetAccessGrantsInstanceInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type GetAccessGrantsInstanceOutput ¶
type GetAccessGrantsInstanceOutput struct { // The Amazon Resource Name (ARN) of the S3 Access Grants instance. AccessGrantsInstanceArn *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 // The date and time when you created the S3 Access Grants instance. CreatedAt *time.Time // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessGrantsInstanceResourcePolicyInput ¶
type GetAccessGrantsInstanceResourcePolicyInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type GetAccessGrantsInstanceResourcePolicyOutput ¶
type GetAccessGrantsInstanceResourcePolicyOutput struct { // The date and time when you created the S3 Access Grants instance resource // policy. CreatedAt *time.Time // The Organization of the resource policy of the S3 Access Grants instance. Organization *string // The resource policy of the S3 Access Grants instance. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessGrantsLocationInput ¶
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. // // This member is required. AccessGrantsLocationId *string // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // contains filtered or unexported fields }
type GetAccessGrantsLocationOutput ¶
type GetAccessGrantsLocationOutput struct { // The Amazon Resource Name (ARN) of the registered location. AccessGrantsLocationArn *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 // The date and time when you registered the location. CreatedAt *time.Time // 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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointConfigurationForObjectLambdaInput ¶
type GetAccessPointConfigurationForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the Object Lambda Access Point you want to return the configuration // for. // // This member is required. Name *string // contains filtered or unexported fields }
type GetAccessPointConfigurationForObjectLambdaOutput ¶
type GetAccessPointConfigurationForObjectLambdaOutput struct { // Object Lambda Access Point configuration document. Configuration *types.ObjectLambdaConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointForObjectLambdaInput ¶
type GetAccessPointForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the Object Lambda Access Point. // // This member is required. Name *string // contains filtered or unexported fields }
type GetAccessPointForObjectLambdaOutput ¶
type GetAccessPointForObjectLambdaOutput struct { // The alias of the Object Lambda Access Point. Alias *types.ObjectLambdaAccessPointAlias // The date and time when the specified Object Lambda Access Point was created. CreationDate *time.Time // The name of the Object Lambda Access Point. Name *string // Configuration to block all public access. This setting is turned on and can not // be edited. PublicAccessBlockConfiguration *types.PublicAccessBlockConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointInput ¶
type GetAccessPointInput struct { // The Amazon Web Services account ID for the account that owns the specified // access point. // // This member is required. AccountId *string // 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:::outpost//accesspoint/ . 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. // // This member is required. Name *string // contains filtered or unexported fields }
func (*GetAccessPointInput) GetARNMember ¶
func (m *GetAccessPointInput) GetARNMember() (*string, bool)
func (*GetAccessPointInput) SetARNMember ¶
func (m *GetAccessPointInput) SetARNMember(v string) error
type GetAccessPointOutput ¶
type GetAccessPointOutput struct { // The ARN of the access point. AccessPointArn *string // The name or alias of the access point. Alias *string // The name of the bucket associated with the specified access point. Bucket *string // The Amazon Web Services account ID associated with the S3 bucket associated // with this access point. BucketAccountId *string // The date and time when the specified access point was created. CreationDate *time.Time // The VPC endpoint for the access point. Endpoints map[string]string // The name of the specified access point. Name *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 types.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"]in // the Amazon S3 User Guide. // // This data type is not supported for Amazon S3 on Outposts. // // [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 PublicAccessBlockConfiguration *types.PublicAccessBlockConfiguration // 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 *types.VpcConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointPolicyForObjectLambdaInput ¶
type GetAccessPointPolicyForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the Object Lambda Access Point. // // This member is required. Name *string // contains filtered or unexported fields }
type GetAccessPointPolicyForObjectLambdaOutput ¶
type GetAccessPointPolicyForObjectLambdaOutput struct { // Object Lambda Access Point resource policy document. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointPolicyInput ¶
type GetAccessPointPolicyInput struct { // The account ID for the account that owns the specified access point. // // This member is required. AccountId *string // 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:::outpost//accesspoint/ . 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. // // This member is required. Name *string // contains filtered or unexported fields }
func (*GetAccessPointPolicyInput) GetARNMember ¶
func (m *GetAccessPointPolicyInput) GetARNMember() (*string, bool)
func (*GetAccessPointPolicyInput) SetARNMember ¶
func (m *GetAccessPointPolicyInput) SetARNMember(v string) error
type GetAccessPointPolicyOutput ¶
type GetAccessPointPolicyOutput struct { // The access point policy associated with the specified access point. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointPolicyStatusForObjectLambdaInput ¶
type GetAccessPointPolicyStatusForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the Object Lambda Access Point. // // This member is required. Name *string // contains filtered or unexported fields }
type GetAccessPointPolicyStatusForObjectLambdaOutput ¶
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"]in the Amazon S3 User Guide. // // [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 PolicyStatus *types.PolicyStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAccessPointPolicyStatusInput ¶
type GetAccessPointPolicyStatusInput struct { // The account ID for the account that owns the specified access point. // // This member is required. AccountId *string // The name of the access point whose policy status you want to retrieve. // // This member is required. Name *string // contains filtered or unexported fields }
type GetAccessPointPolicyStatusOutput ¶
type GetAccessPointPolicyStatusOutput struct { // Indicates the current policy status of the specified access point. PolicyStatus *types.PolicyStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBucketInput ¶
type GetBucketInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*GetBucketInput) GetARNMember ¶
func (m *GetBucketInput) GetARNMember() (*string, bool)
func (*GetBucketInput) SetARNMember ¶
func (m *GetBucketInput) SetARNMember(v string) error
type GetBucketLifecycleConfigurationInput ¶
type GetBucketLifecycleConfigurationInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*GetBucketLifecycleConfigurationInput) GetARNMember ¶
func (m *GetBucketLifecycleConfigurationInput) GetARNMember() (*string, bool)
func (*GetBucketLifecycleConfigurationInput) SetARNMember ¶
func (m *GetBucketLifecycleConfigurationInput) SetARNMember(v string) error
type GetBucketLifecycleConfigurationOutput ¶
type GetBucketLifecycleConfigurationOutput struct { // Container for the lifecycle rule of the Outposts bucket. Rules []types.LifecycleRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBucketOutput ¶
type GetBucketOutput struct { // The Outposts bucket requested. Bucket *string // The creation date of the Outposts bucket. CreationDate *time.Time // PublicAccessBlockEnabled bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBucketPolicyInput ¶
type GetBucketPolicyInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*GetBucketPolicyInput) GetARNMember ¶
func (m *GetBucketPolicyInput) GetARNMember() (*string, bool)
func (*GetBucketPolicyInput) SetARNMember ¶
func (m *GetBucketPolicyInput) SetARNMember(v string) error
type GetBucketPolicyOutput ¶
type GetBucketPolicyOutput struct { // The policy of the Outposts bucket. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBucketReplicationInput ¶
type GetBucketReplicationInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*GetBucketReplicationInput) GetARNMember ¶
func (m *GetBucketReplicationInput) GetARNMember() (*string, bool)
func (*GetBucketReplicationInput) SetARNMember ¶
func (m *GetBucketReplicationInput) SetARNMember(v string) error
type GetBucketReplicationOutput ¶
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 *types.ReplicationConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBucketTaggingInput ¶
type GetBucketTaggingInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*GetBucketTaggingInput) GetARNMember ¶
func (m *GetBucketTaggingInput) GetARNMember() (*string, bool)
func (*GetBucketTaggingInput) SetARNMember ¶
func (m *GetBucketTaggingInput) SetARNMember(v string) error
type GetBucketTaggingOutput ¶
type GetBucketTaggingOutput struct { // The tags set of the Outposts bucket. // // This member is required. TagSet []types.S3Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBucketVersioningInput ¶
type GetBucketVersioningInput struct { // The Amazon Web Services account ID of the S3 on Outposts bucket. // // This member is required. AccountId *string // The S3 on Outposts bucket to return the versioning state for. // // This member is required. Bucket *string // contains filtered or unexported fields }
func (*GetBucketVersioningInput) GetARNMember ¶
func (m *GetBucketVersioningInput) GetARNMember() (*string, bool)
func (*GetBucketVersioningInput) SetARNMember ¶
func (m *GetBucketVersioningInput) SetARNMember(v string) error
type GetBucketVersioningOutput ¶
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 types.MFADeleteStatus // The versioning state of the S3 on Outposts bucket. Status types.BucketVersioningStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDataAccessInput ¶
type GetDataAccessInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *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. // // This member is required. Permission types.Permission // 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. // // This member is required. Target *string // 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 *int32 // 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 types.Privilege // 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 types.S3PrefixType // contains filtered or unexported fields }
type GetDataAccessOutput ¶
type GetDataAccessOutput struct { // The temporary credential token that S3 Access Grants vends. Credentials *types.Credentials // The S3 URI path of the data to which you are being granted temporary access // credentials. MatchedGrantTarget *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetJobTaggingInput ¶
type GetJobTaggingInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The ID for the S3 Batch Operations job whose tags you want to retrieve. // // This member is required. JobId *string // contains filtered or unexported fields }
type GetJobTaggingOutput ¶
type GetJobTaggingOutput struct { // The set of tags associated with the S3 Batch Operations job. Tags []types.S3Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMultiRegionAccessPointInput ¶
type GetMultiRegionAccessPointInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // 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]in the Amazon S3 User Guide. // // [Rules for naming Amazon S3 Multi-Region Access Points]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming // // This member is required. Name *string // contains filtered or unexported fields }
type GetMultiRegionAccessPointOutput ¶
type GetMultiRegionAccessPointOutput struct { // A container element containing the details of the requested Multi-Region Access // Point. AccessPoint *types.MultiRegionAccessPointReport // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMultiRegionAccessPointPolicyInput ¶
type GetMultiRegionAccessPointPolicyInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // 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]in the // Amazon S3 User Guide. // // [Rules for naming Amazon S3 Multi-Region Access Points]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming // // This member is required. Name *string // contains filtered or unexported fields }
type GetMultiRegionAccessPointPolicyOutput ¶
type GetMultiRegionAccessPointPolicyOutput struct { // The policy associated with the specified Multi-Region Access Point. Policy *types.MultiRegionAccessPointPolicyDocument // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMultiRegionAccessPointPolicyStatusInput ¶
type GetMultiRegionAccessPointPolicyStatusInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // 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]in the // Amazon S3 User Guide. // // [Rules for naming Amazon S3 Multi-Region Access Points]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming // // This member is required. Name *string // contains filtered or unexported fields }
type GetMultiRegionAccessPointPolicyStatusOutput ¶
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"]in the Amazon S3 User Guide. // // [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 Established *types.PolicyStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMultiRegionAccessPointRoutesInput ¶
type GetMultiRegionAccessPointRoutesInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // The Multi-Region Access Point ARN. // // This member is required. Mrap *string // contains filtered or unexported fields }
type GetMultiRegionAccessPointRoutesOutput ¶
type GetMultiRegionAccessPointRoutesOutput struct { // The Multi-Region Access Point ARN. Mrap *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 []types.MultiRegionAccessPointRoute // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetPublicAccessBlockInput ¶
type GetPublicAccessBlockInput struct { // The account ID for the Amazon Web Services account whose PublicAccessBlock // configuration you want to retrieve. // // This member is required. AccountId *string // contains filtered or unexported fields }
type GetPublicAccessBlockOutput ¶
type GetPublicAccessBlockOutput struct { // The PublicAccessBlock configuration currently in effect for this Amazon Web // Services account. PublicAccessBlockConfiguration *types.PublicAccessBlockConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetStorageLensConfigurationInput ¶
type GetStorageLensConfigurationOutput ¶
type GetStorageLensConfigurationOutput struct { // The S3 Storage Lens configuration requested. StorageLensConfiguration *types.StorageLensConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetStorageLensConfigurationTaggingInput ¶
type GetStorageLensConfigurationTaggingOutput ¶
type GetStorageLensConfigurationTaggingOutput struct { // The tags of S3 Storage Lens configuration requested. Tags []types.StorageLensTag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetStorageLensGroupInput ¶
type GetStorageLensGroupInput struct { // The Amazon Web Services account ID associated with the Storage Lens group that // you're trying to retrieve the details for. // // This member is required. AccountId *string // The name of the Storage Lens group that you're trying to retrieve the // configuration details for. // // This member is required. Name *string // contains filtered or unexported fields }
type GetStorageLensGroupOutput ¶
type GetStorageLensGroupOutput struct { // The name of the Storage Lens group that you're trying to retrieve the // configuration details for. StorageLensGroup *types.StorageLensGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAccessGrantsAPIClient ¶
type ListAccessGrantsAPIClient interface {
ListAccessGrants(context.Context, *ListAccessGrantsInput, ...func(*Options)) (*ListAccessGrantsOutput, error)
}
ListAccessGrantsAPIClient is a client that implements the ListAccessGrants operation.
type ListAccessGrantsInput ¶
type ListAccessGrantsInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *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 // 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 // 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 // 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 types.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 int32 // 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 // 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 types.Permission // contains filtered or unexported fields }
type ListAccessGrantsInstancesAPIClient ¶
type ListAccessGrantsInstancesAPIClient interface {
ListAccessGrantsInstances(context.Context, *ListAccessGrantsInstancesInput, ...func(*Options)) (*ListAccessGrantsInstancesOutput, error)
}
ListAccessGrantsInstancesAPIClient is a client that implements the ListAccessGrantsInstances operation.
type ListAccessGrantsInstancesInput ¶
type ListAccessGrantsInstancesInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *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 int32 // 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 // contains filtered or unexported fields }
type ListAccessGrantsInstancesOutput ¶
type ListAccessGrantsInstancesOutput struct { // A container for a list of S3 Access Grants instances. AccessGrantsInstancesList []types.ListAccessGrantsInstanceEntry // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessGrantsInstancesPaginator ¶
type ListAccessGrantsInstancesPaginator struct {
// contains filtered or unexported fields
}
ListAccessGrantsInstancesPaginator is a paginator for ListAccessGrantsInstances
func NewListAccessGrantsInstancesPaginator ¶
func NewListAccessGrantsInstancesPaginator(client ListAccessGrantsInstancesAPIClient, params *ListAccessGrantsInstancesInput, optFns ...func(*ListAccessGrantsInstancesPaginatorOptions)) *ListAccessGrantsInstancesPaginator
NewListAccessGrantsInstancesPaginator returns a new ListAccessGrantsInstancesPaginator
func (*ListAccessGrantsInstancesPaginator) HasMorePages ¶
func (p *ListAccessGrantsInstancesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessGrantsInstancesPaginator) NextPage ¶
func (p *ListAccessGrantsInstancesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessGrantsInstancesOutput, error)
NextPage retrieves the next ListAccessGrantsInstances page.
type ListAccessGrantsInstancesPaginatorOptions ¶
type ListAccessGrantsInstancesPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessGrantsInstancesPaginatorOptions is the paginator options for ListAccessGrantsInstances
type ListAccessGrantsLocationsAPIClient ¶
type ListAccessGrantsLocationsAPIClient interface {
ListAccessGrantsLocations(context.Context, *ListAccessGrantsLocationsInput, ...func(*Options)) (*ListAccessGrantsLocationsOutput, error)
}
ListAccessGrantsLocationsAPIClient is a client that implements the ListAccessGrantsLocations operation.
type ListAccessGrantsLocationsInput ¶
type ListAccessGrantsLocationsInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *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:// , or the S3 path // to a bucket and prefix s3:/// . 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 // 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 int32 // 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 // contains filtered or unexported fields }
type ListAccessGrantsLocationsOutput ¶
type ListAccessGrantsLocationsOutput struct { // A container for a list of registered locations in an S3 Access Grants instance. AccessGrantsLocationsList []types.ListAccessGrantsLocationsEntry // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessGrantsLocationsPaginator ¶
type ListAccessGrantsLocationsPaginator struct {
// contains filtered or unexported fields
}
ListAccessGrantsLocationsPaginator is a paginator for ListAccessGrantsLocations
func NewListAccessGrantsLocationsPaginator ¶
func NewListAccessGrantsLocationsPaginator(client ListAccessGrantsLocationsAPIClient, params *ListAccessGrantsLocationsInput, optFns ...func(*ListAccessGrantsLocationsPaginatorOptions)) *ListAccessGrantsLocationsPaginator
NewListAccessGrantsLocationsPaginator returns a new ListAccessGrantsLocationsPaginator
func (*ListAccessGrantsLocationsPaginator) HasMorePages ¶
func (p *ListAccessGrantsLocationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessGrantsLocationsPaginator) NextPage ¶
func (p *ListAccessGrantsLocationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessGrantsLocationsOutput, error)
NextPage retrieves the next ListAccessGrantsLocations page.
type ListAccessGrantsLocationsPaginatorOptions ¶
type ListAccessGrantsLocationsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessGrantsLocationsPaginatorOptions is the paginator options for ListAccessGrantsLocations
type ListAccessGrantsOutput ¶
type ListAccessGrantsOutput struct { // A container for a list of grants in an S3 Access Grants instance. AccessGrantsList []types.ListAccessGrantEntry // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessGrantsPaginator ¶
type ListAccessGrantsPaginator struct {
// contains filtered or unexported fields
}
ListAccessGrantsPaginator is a paginator for ListAccessGrants
func NewListAccessGrantsPaginator ¶
func NewListAccessGrantsPaginator(client ListAccessGrantsAPIClient, params *ListAccessGrantsInput, optFns ...func(*ListAccessGrantsPaginatorOptions)) *ListAccessGrantsPaginator
NewListAccessGrantsPaginator returns a new ListAccessGrantsPaginator
func (*ListAccessGrantsPaginator) HasMorePages ¶
func (p *ListAccessGrantsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessGrantsPaginator) NextPage ¶
func (p *ListAccessGrantsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessGrantsOutput, error)
NextPage retrieves the next ListAccessGrants page.
type ListAccessGrantsPaginatorOptions ¶
type ListAccessGrantsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessGrantsPaginatorOptions is the paginator options for ListAccessGrants
type ListAccessPointsAPIClient ¶
type ListAccessPointsAPIClient interface {
ListAccessPoints(context.Context, *ListAccessPointsInput, ...func(*Options)) (*ListAccessPointsOutput, error)
}
ListAccessPointsAPIClient is a client that implements the ListAccessPoints operation.
type ListAccessPointsForObjectLambdaAPIClient ¶
type ListAccessPointsForObjectLambdaAPIClient interface {
ListAccessPointsForObjectLambda(context.Context, *ListAccessPointsForObjectLambdaInput, ...func(*Options)) (*ListAccessPointsForObjectLambdaOutput, error)
}
ListAccessPointsForObjectLambdaAPIClient is a client that implements the ListAccessPointsForObjectLambda operation.
type ListAccessPointsForObjectLambdaInput ¶
type ListAccessPointsForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // 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 int32 // 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 // contains filtered or unexported fields }
type ListAccessPointsForObjectLambdaOutput ¶
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 // Returns list of Object Lambda Access Points. ObjectLambdaAccessPointList []types.ObjectLambdaAccessPoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessPointsForObjectLambdaPaginator ¶
type ListAccessPointsForObjectLambdaPaginator struct {
// contains filtered or unexported fields
}
ListAccessPointsForObjectLambdaPaginator is a paginator for ListAccessPointsForObjectLambda
func NewListAccessPointsForObjectLambdaPaginator ¶
func NewListAccessPointsForObjectLambdaPaginator(client ListAccessPointsForObjectLambdaAPIClient, params *ListAccessPointsForObjectLambdaInput, optFns ...func(*ListAccessPointsForObjectLambdaPaginatorOptions)) *ListAccessPointsForObjectLambdaPaginator
NewListAccessPointsForObjectLambdaPaginator returns a new ListAccessPointsForObjectLambdaPaginator
func (*ListAccessPointsForObjectLambdaPaginator) HasMorePages ¶
func (p *ListAccessPointsForObjectLambdaPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessPointsForObjectLambdaPaginator) NextPage ¶
func (p *ListAccessPointsForObjectLambdaPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPointsForObjectLambdaOutput, error)
NextPage retrieves the next ListAccessPointsForObjectLambda page.
type ListAccessPointsForObjectLambdaPaginatorOptions ¶
type ListAccessPointsForObjectLambdaPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessPointsForObjectLambdaPaginatorOptions is the paginator options for ListAccessPointsForObjectLambda
type ListAccessPointsInput ¶
type ListAccessPointsInput struct { // The Amazon Web Services account ID for the account that owns the specified // access points. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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 // 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 int32 // 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 // contains filtered or unexported fields }
func (*ListAccessPointsInput) GetARNMember ¶
func (m *ListAccessPointsInput) GetARNMember() (*string, bool)
func (*ListAccessPointsInput) SetARNMember ¶
func (m *ListAccessPointsInput) SetARNMember(v string) error
type ListAccessPointsOutput ¶
type ListAccessPointsOutput struct { // Contains identification and configuration information for one or more access // points associated with the specified bucket. AccessPointList []types.AccessPoint // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessPointsPaginator ¶
type ListAccessPointsPaginator struct {
// contains filtered or unexported fields
}
ListAccessPointsPaginator is a paginator for ListAccessPoints
func NewListAccessPointsPaginator ¶
func NewListAccessPointsPaginator(client ListAccessPointsAPIClient, params *ListAccessPointsInput, optFns ...func(*ListAccessPointsPaginatorOptions)) *ListAccessPointsPaginator
NewListAccessPointsPaginator returns a new ListAccessPointsPaginator
func (*ListAccessPointsPaginator) HasMorePages ¶
func (p *ListAccessPointsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessPointsPaginator) NextPage ¶
func (p *ListAccessPointsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessPointsOutput, error)
NextPage retrieves the next ListAccessPoints page.
type ListAccessPointsPaginatorOptions ¶
type ListAccessPointsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessPointsPaginatorOptions is the paginator options for ListAccessPoints
type ListJobsAPIClient ¶
type ListJobsAPIClient interface {
ListJobs(context.Context, *ListJobsInput, ...func(*Options)) (*ListJobsOutput, error)
}
ListJobsAPIClient is a client that implements the ListJobs operation.
type ListJobsInput ¶
type ListJobsInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The List Jobs request returns jobs that match the statuses listed in this // element. JobStatuses []types.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 *int32 // 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 // contains filtered or unexported fields }
type ListJobsOutput ¶
type ListJobsOutput struct { // The list of current jobs and jobs that have ended within the last 30 days. Jobs []types.JobListDescriptor // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListJobsPaginator ¶
type ListJobsPaginator struct {
// contains filtered or unexported fields
}
ListJobsPaginator is a paginator for ListJobs
func NewListJobsPaginator ¶
func NewListJobsPaginator(client ListJobsAPIClient, params *ListJobsInput, optFns ...func(*ListJobsPaginatorOptions)) *ListJobsPaginator
NewListJobsPaginator returns a new ListJobsPaginator
func (*ListJobsPaginator) HasMorePages ¶
func (p *ListJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListJobsPaginator) NextPage ¶
func (p *ListJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListJobsOutput, error)
NextPage retrieves the next ListJobs page.
type ListJobsPaginatorOptions ¶
type ListJobsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListJobsPaginatorOptions is the paginator options for ListJobs
type ListMultiRegionAccessPointsAPIClient ¶
type ListMultiRegionAccessPointsAPIClient interface {
ListMultiRegionAccessPoints(context.Context, *ListMultiRegionAccessPointsInput, ...func(*Options)) (*ListMultiRegionAccessPointsOutput, error)
}
ListMultiRegionAccessPointsAPIClient is a client that implements the ListMultiRegionAccessPoints operation.
type ListMultiRegionAccessPointsInput ¶
type ListMultiRegionAccessPointsInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // Not currently used. Do not use this parameter. MaxResults int32 // Not currently used. Do not use this parameter. NextToken *string // contains filtered or unexported fields }
type ListMultiRegionAccessPointsOutput ¶
type ListMultiRegionAccessPointsOutput struct { // The list of Multi-Region Access Points associated with the user. AccessPoints []types.MultiRegionAccessPointReport // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMultiRegionAccessPointsPaginator ¶
type ListMultiRegionAccessPointsPaginator struct {
// contains filtered or unexported fields
}
ListMultiRegionAccessPointsPaginator is a paginator for ListMultiRegionAccessPoints
func NewListMultiRegionAccessPointsPaginator ¶
func NewListMultiRegionAccessPointsPaginator(client ListMultiRegionAccessPointsAPIClient, params *ListMultiRegionAccessPointsInput, optFns ...func(*ListMultiRegionAccessPointsPaginatorOptions)) *ListMultiRegionAccessPointsPaginator
NewListMultiRegionAccessPointsPaginator returns a new ListMultiRegionAccessPointsPaginator
func (*ListMultiRegionAccessPointsPaginator) HasMorePages ¶
func (p *ListMultiRegionAccessPointsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMultiRegionAccessPointsPaginator) NextPage ¶
func (p *ListMultiRegionAccessPointsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMultiRegionAccessPointsOutput, error)
NextPage retrieves the next ListMultiRegionAccessPoints page.
type ListMultiRegionAccessPointsPaginatorOptions ¶
type ListMultiRegionAccessPointsPaginatorOptions struct { // Not currently used. Do not use this parameter. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListMultiRegionAccessPointsPaginatorOptions is the paginator options for ListMultiRegionAccessPoints
type ListRegionalBucketsAPIClient ¶
type ListRegionalBucketsAPIClient interface {
ListRegionalBuckets(context.Context, *ListRegionalBucketsInput, ...func(*Options)) (*ListRegionalBucketsOutput, error)
}
ListRegionalBucketsAPIClient is a client that implements the ListRegionalBuckets operation.
type ListRegionalBucketsInput ¶
type ListRegionalBucketsInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // MaxResults int32 // NextToken *string // The ID of the Outposts resource. // // This ID is required by Amazon S3 on Outposts buckets. OutpostId *string // contains filtered or unexported fields }
type ListRegionalBucketsOutput ¶
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 // RegionalBucketList []types.RegionalBucket // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRegionalBucketsPaginator ¶
type ListRegionalBucketsPaginator struct {
// contains filtered or unexported fields
}
ListRegionalBucketsPaginator is a paginator for ListRegionalBuckets
func NewListRegionalBucketsPaginator ¶
func NewListRegionalBucketsPaginator(client ListRegionalBucketsAPIClient, params *ListRegionalBucketsInput, optFns ...func(*ListRegionalBucketsPaginatorOptions)) *ListRegionalBucketsPaginator
NewListRegionalBucketsPaginator returns a new ListRegionalBucketsPaginator
func (*ListRegionalBucketsPaginator) HasMorePages ¶
func (p *ListRegionalBucketsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRegionalBucketsPaginator) NextPage ¶
func (p *ListRegionalBucketsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRegionalBucketsOutput, error)
NextPage retrieves the next ListRegionalBuckets page.
type ListRegionalBucketsPaginatorOptions ¶
type ListRegionalBucketsPaginatorOptions struct { // Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRegionalBucketsPaginatorOptions is the paginator options for ListRegionalBuckets
type ListStorageLensConfigurationsAPIClient ¶
type ListStorageLensConfigurationsAPIClient interface {
ListStorageLensConfigurations(context.Context, *ListStorageLensConfigurationsInput, ...func(*Options)) (*ListStorageLensConfigurationsOutput, error)
}
ListStorageLensConfigurationsAPIClient is a client that implements the ListStorageLensConfigurations operation.
type ListStorageLensConfigurationsInput ¶
type ListStorageLensConfigurationsOutput ¶
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 // A list of S3 Storage Lens configurations. StorageLensConfigurationList []types.ListStorageLensConfigurationEntry // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListStorageLensConfigurationsPaginator ¶
type ListStorageLensConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListStorageLensConfigurationsPaginator is a paginator for ListStorageLensConfigurations
func NewListStorageLensConfigurationsPaginator ¶
func NewListStorageLensConfigurationsPaginator(client ListStorageLensConfigurationsAPIClient, params *ListStorageLensConfigurationsInput, optFns ...func(*ListStorageLensConfigurationsPaginatorOptions)) *ListStorageLensConfigurationsPaginator
NewListStorageLensConfigurationsPaginator returns a new ListStorageLensConfigurationsPaginator
func (*ListStorageLensConfigurationsPaginator) HasMorePages ¶
func (p *ListStorageLensConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListStorageLensConfigurationsPaginator) NextPage ¶
func (p *ListStorageLensConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListStorageLensConfigurationsOutput, error)
NextPage retrieves the next ListStorageLensConfigurations page.
type ListStorageLensConfigurationsPaginatorOptions ¶
type ListStorageLensConfigurationsPaginatorOptions struct { // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListStorageLensConfigurationsPaginatorOptions is the paginator options for ListStorageLensConfigurations
type ListStorageLensGroupsAPIClient ¶
type ListStorageLensGroupsAPIClient interface {
ListStorageLensGroups(context.Context, *ListStorageLensGroupsInput, ...func(*Options)) (*ListStorageLensGroupsOutput, error)
}
ListStorageLensGroupsAPIClient is a client that implements the ListStorageLensGroups operation.
type ListStorageLensGroupsInput ¶
type ListStorageLensGroupsInput struct { // The Amazon Web Services account ID that owns the Storage Lens groups. // // This member is required. AccountId *string // The token for the next set of results, or null if there are no more results. NextToken *string // contains filtered or unexported fields }
type ListStorageLensGroupsOutput ¶
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 // The list of Storage Lens groups that exist in the specified home Region. StorageLensGroupList []types.ListStorageLensGroupEntry // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListStorageLensGroupsPaginator ¶
type ListStorageLensGroupsPaginator struct {
// contains filtered or unexported fields
}
ListStorageLensGroupsPaginator is a paginator for ListStorageLensGroups
func NewListStorageLensGroupsPaginator ¶
func NewListStorageLensGroupsPaginator(client ListStorageLensGroupsAPIClient, params *ListStorageLensGroupsInput, optFns ...func(*ListStorageLensGroupsPaginatorOptions)) *ListStorageLensGroupsPaginator
NewListStorageLensGroupsPaginator returns a new ListStorageLensGroupsPaginator
func (*ListStorageLensGroupsPaginator) HasMorePages ¶
func (p *ListStorageLensGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListStorageLensGroupsPaginator) NextPage ¶
func (p *ListStorageLensGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListStorageLensGroupsOutput, error)
NextPage retrieves the next ListStorageLensGroups page.
type ListStorageLensGroupsPaginatorOptions ¶
type ListStorageLensGroupsPaginatorOptions struct { // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListStorageLensGroupsPaginatorOptions is the paginator options for ListStorageLensGroups
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Web Services account ID of the resource owner. // // This member is required. AccountId *string // 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. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The Amazon Web Services resource tags that are associated with the resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // Allows you to enable arn region support for the service. UseARNRegion bool // Allows you to enable dual-stack endpoint support for the service. // // Deprecated: Set dual-stack by setting UseDualStackEndpoint on // EndpointResolverOptions. When EndpointResolverOptions' UseDualStackEndpoint // field is set it overrides this field value. UseDualstack bool // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutAccessGrantsInstanceResourcePolicyInput ¶
type PutAccessGrantsInstanceResourcePolicyInput struct { // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // The resource policy of the S3 Access Grants instance that you are updating. // // This member is required. Policy *string // The Organization of the resource policy of the S3 Access Grants instance. Organization *string // contains filtered or unexported fields }
type PutAccessGrantsInstanceResourcePolicyOutput ¶
type PutAccessGrantsInstanceResourcePolicyOutput struct { // The date and time when you created the S3 Access Grants instance resource // policy. CreatedAt *time.Time // The Organization of the resource policy of the S3 Access Grants instance. Organization *string // The updated resource policy of the S3 Access Grants instance. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutAccessPointConfigurationForObjectLambdaInput ¶
type PutAccessPointConfigurationForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // Object Lambda Access Point configuration document. // // This member is required. Configuration *types.ObjectLambdaConfiguration // The name of the Object Lambda Access Point. // // This member is required. Name *string // contains filtered or unexported fields }
type PutAccessPointConfigurationForObjectLambdaOutput ¶
type PutAccessPointConfigurationForObjectLambdaOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutAccessPointPolicyForObjectLambdaInput ¶
type PutAccessPointPolicyForObjectLambdaInput struct { // The account ID for the account that owns the specified Object Lambda Access // Point. // // This member is required. AccountId *string // The name of the Object Lambda Access Point. // // This member is required. Name *string // Object Lambda Access Point resource policy document. // // This member is required. Policy *string // contains filtered or unexported fields }
type PutAccessPointPolicyForObjectLambdaOutput ¶
type PutAccessPointPolicyForObjectLambdaOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutAccessPointPolicyInput ¶
type PutAccessPointPolicyInput struct { // The Amazon Web Services account ID for owner of the bucket associated with the // specified access point. // // This member is required. AccountId *string // 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:::outpost//accesspoint/ . 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. // // This member is required. Name *string // 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]in the Amazon S3 User Guide. // // [Managing data access with Amazon S3 access points]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html // // This member is required. Policy *string // contains filtered or unexported fields }
func (*PutAccessPointPolicyInput) GetARNMember ¶
func (m *PutAccessPointPolicyInput) GetARNMember() (*string, bool)
func (*PutAccessPointPolicyInput) SetARNMember ¶
func (m *PutAccessPointPolicyInput) SetARNMember(v string) error
type PutAccessPointPolicyOutput ¶
type PutAccessPointPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutBucketLifecycleConfigurationInput ¶
type PutBucketLifecycleConfigurationInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // The name of the bucket for which to set the configuration. // // This member is required. Bucket *string // Container for lifecycle rules. You can add as many as 1,000 rules. LifecycleConfiguration *types.LifecycleConfiguration // contains filtered or unexported fields }
func (*PutBucketLifecycleConfigurationInput) GetARNMember ¶
func (m *PutBucketLifecycleConfigurationInput) GetARNMember() (*string, bool)
func (*PutBucketLifecycleConfigurationInput) SetARNMember ¶
func (m *PutBucketLifecycleConfigurationInput) SetARNMember(v string) error
type PutBucketLifecycleConfigurationOutput ¶
type PutBucketLifecycleConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutBucketPolicyInput ¶
type PutBucketPolicyInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // The bucket policy as a JSON document. // // This member is required. Policy *string // 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 // contains filtered or unexported fields }
func (*PutBucketPolicyInput) GetARNMember ¶
func (m *PutBucketPolicyInput) GetARNMember() (*string, bool)
func (*PutBucketPolicyInput) SetARNMember ¶
func (m *PutBucketPolicyInput) SetARNMember(v string) error
type PutBucketPolicyOutput ¶
type PutBucketPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutBucketReplicationInput ¶
type PutBucketReplicationInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // // // This member is required. ReplicationConfiguration *types.ReplicationConfiguration // contains filtered or unexported fields }
func (*PutBucketReplicationInput) GetARNMember ¶
func (m *PutBucketReplicationInput) GetARNMember() (*string, bool)
func (*PutBucketReplicationInput) SetARNMember ¶
func (m *PutBucketReplicationInput) SetARNMember(v string) error
type PutBucketReplicationOutput ¶
type PutBucketReplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutBucketTaggingInput ¶
type PutBucketTaggingInput struct { // The Amazon Web Services account ID of the Outposts bucket. // // This member is required. AccountId *string // 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:::outpost//bucket/ . 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. // // This member is required. Bucket *string // // // This member is required. Tagging *types.Tagging // contains filtered or unexported fields }
func (*PutBucketTaggingInput) GetARNMember ¶
func (m *PutBucketTaggingInput) GetARNMember() (*string, bool)
func (*PutBucketTaggingInput) SetARNMember ¶
func (m *PutBucketTaggingInput) SetARNMember(v string) error
type PutBucketTaggingOutput ¶
type PutBucketTaggingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutBucketVersioningInput ¶
type PutBucketVersioningInput struct { // The Amazon Web Services account ID of the S3 on Outposts bucket. // // This member is required. AccountId *string // The S3 on Outposts bucket to set the versioning state for. // // This member is required. Bucket *string // The root-level tag for the VersioningConfiguration parameters. // // This member is required. VersioningConfiguration *types.VersioningConfiguration // The concatenation of the authentication device's serial number, a space, and // the value that is displayed on your authentication device. MFA *string // contains filtered or unexported fields }
func (*PutBucketVersioningInput) GetARNMember ¶
func (m *PutBucketVersioningInput) GetARNMember() (*string, bool)
func (*PutBucketVersioningInput) SetARNMember ¶
func (m *PutBucketVersioningInput) SetARNMember(v string) error
type PutBucketVersioningOutput ¶
type PutBucketVersioningOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutJobTaggingInput ¶
type PutJobTaggingInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The ID for the S3 Batch Operations job whose tags you want to replace. // // This member is required. JobId *string // The set of tags to associate with the S3 Batch Operations job. // // This member is required. Tags []types.S3Tag // contains filtered or unexported fields }
type PutJobTaggingOutput ¶
type PutJobTaggingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutMultiRegionAccessPointPolicyInput ¶
type PutMultiRegionAccessPointPolicyInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // An idempotency token used to identify the request and guarantee that requests // are unique. // // This member is required. ClientToken *string // A container element containing the details of the policy for the Multi-Region // Access Point. // // This member is required. Details *types.PutMultiRegionAccessPointPolicyInput // contains filtered or unexported fields }
type PutMultiRegionAccessPointPolicyOutput ¶
type PutMultiRegionAccessPointPolicyOutput struct { // The request token associated with the request. You can use this token with [DescribeMultiRegionAccessPointOperation] to // determine the status of asynchronous requests. // // [DescribeMultiRegionAccessPointOperation]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html RequestTokenARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutPublicAccessBlockInput ¶
type PutPublicAccessBlockInput struct { // The account ID for the Amazon Web Services account whose PublicAccessBlock // configuration you want to set. // // This member is required. AccountId *string // The PublicAccessBlock configuration that you want to apply to the specified // Amazon Web Services account. // // This member is required. PublicAccessBlockConfiguration *types.PublicAccessBlockConfiguration // contains filtered or unexported fields }
type PutPublicAccessBlockOutput ¶
type PutPublicAccessBlockOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutStorageLensConfigurationInput ¶
type PutStorageLensConfigurationInput struct { // The account ID of the requester. // // This member is required. AccountId *string // The ID of the S3 Storage Lens configuration. // // This member is required. ConfigId *string // The S3 Storage Lens configuration. // // This member is required. StorageLensConfiguration *types.StorageLensConfiguration // The tag set of the S3 Storage Lens configuration. // // You can set up to a maximum of 50 tags. Tags []types.StorageLensTag // contains filtered or unexported fields }
type PutStorageLensConfigurationOutput ¶
type PutStorageLensConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutStorageLensConfigurationTaggingInput ¶
type PutStorageLensConfigurationTaggingInput struct { // The account ID of the requester. // // This member is required. AccountId *string // The ID of the S3 Storage Lens configuration. // // This member is required. ConfigId *string // The tag set of the S3 Storage Lens configuration. // // You can set up to a maximum of 50 tags. // // This member is required. Tags []types.StorageLensTag // contains filtered or unexported fields }
type PutStorageLensConfigurationTaggingOutput ¶
type PutStorageLensConfigurationTaggingOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResponseError ¶
ResponseError provides the HTTP centric error type wrapping the underlying error with the HTTP response value and the deserialized RequestID.
type SubmitMultiRegionAccessPointRoutesInput ¶
type SubmitMultiRegionAccessPointRoutesInput struct { // The Amazon Web Services account ID for the owner of the Multi-Region Access // Point. // // This member is required. AccountId *string // The Multi-Region Access Point ARN. // // This member is required. Mrap *string // 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 . // // This member is required. RouteUpdates []types.MultiRegionAccessPointRoute // contains filtered or unexported fields }
type SubmitMultiRegionAccessPointRoutesOutput ¶
type SubmitMultiRegionAccessPointRoutesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
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. // // This member is required. AccountId *string // 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. // // This member is required. ResourceArn *string // The Amazon Web Services resource tags that you want to add to the specified S3 // resource. // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Web Services account ID that owns the resource that you're trying // to remove the tags from. // // This member is required. AccountId *string // The Amazon Resource Name (ARN) of the S3 resource that you're trying to remove // the tags from. // // This member is required. ResourceArn *string // The array of tag key-value pairs that you're trying to remove from of the S3 // resource. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateAccessGrantsLocationInput ¶
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. // // This member is required. AccessGrantsLocationId *string // The ID of the Amazon Web Services account that is making this request. // // This member is required. AccountId *string // 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. // // This member is required. IAMRoleArn *string // contains filtered or unexported fields }
type UpdateAccessGrantsLocationOutput ¶
type UpdateAccessGrantsLocationOutput struct { // The Amazon Resource Name (ARN) of the registered location that you are // updating. AccessGrantsLocationArn *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 // The date and time when you registered the location. CreatedAt *time.Time // 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 // 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:// , or the S3 path to a bucket and // prefix s3:/// . LocationScope *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateJobPriorityInput ¶
type UpdateJobPriorityInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The ID for the job whose priority you want to update. // // This member is required. JobId *string // The priority you want to assign to this job. // // This member is required. Priority int32 // contains filtered or unexported fields }
type UpdateJobPriorityOutput ¶
type UpdateJobPriorityOutput struct { // The ID for the job whose priority Amazon S3 updated. // // This member is required. JobId *string // The new priority assigned to the specified job. // // This member is required. Priority int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateJobStatusInput ¶
type UpdateJobStatusInput struct { // The Amazon Web Services account ID associated with the S3 Batch Operations job. // // This member is required. AccountId *string // The ID of the job whose status you want to update. // // This member is required. JobId *string // The status that you want to move the specified job to. // // This member is required. RequestedJobStatus types.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 // contains filtered or unexported fields }
type UpdateJobStatusOutput ¶
type UpdateJobStatusOutput struct { // The ID for the job whose status was updated. JobId *string // The current status for the specified job. Status types.JobStatus // The reason that the specified job's status was updated. StatusUpdateReason *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateStorageLensGroupInput ¶
type UpdateStorageLensGroupInput struct { // The Amazon Web Services account ID of the Storage Lens group owner. // // This member is required. AccountId *string // The name of the Storage Lens group that you want to update. // // This member is required. Name *string // The JSON file that contains the Storage Lens group configuration. // // This member is required. StorageLensGroup *types.StorageLensGroup // contains filtered or unexported fields }
type UpdateStorageLensGroupOutput ¶
type UpdateStorageLensGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_AssociateAccessGrantsIdentityCenter.go
- api_op_CreateAccessGrant.go
- api_op_CreateAccessGrantsInstance.go
- api_op_CreateAccessGrantsLocation.go
- api_op_CreateAccessPoint.go
- api_op_CreateAccessPointForObjectLambda.go
- api_op_CreateBucket.go
- api_op_CreateJob.go
- api_op_CreateMultiRegionAccessPoint.go
- api_op_CreateStorageLensGroup.go
- api_op_DeleteAccessGrant.go
- api_op_DeleteAccessGrantsInstance.go
- api_op_DeleteAccessGrantsInstanceResourcePolicy.go
- api_op_DeleteAccessGrantsLocation.go
- api_op_DeleteAccessPoint.go
- api_op_DeleteAccessPointForObjectLambda.go
- api_op_DeleteAccessPointPolicy.go
- api_op_DeleteAccessPointPolicyForObjectLambda.go
- api_op_DeleteBucket.go
- api_op_DeleteBucketLifecycleConfiguration.go
- api_op_DeleteBucketPolicy.go
- api_op_DeleteBucketReplication.go
- api_op_DeleteBucketTagging.go
- api_op_DeleteJobTagging.go
- api_op_DeleteMultiRegionAccessPoint.go
- api_op_DeletePublicAccessBlock.go
- api_op_DeleteStorageLensConfiguration.go
- api_op_DeleteStorageLensConfigurationTagging.go
- api_op_DeleteStorageLensGroup.go
- api_op_DescribeJob.go
- api_op_DescribeMultiRegionAccessPointOperation.go
- api_op_DissociateAccessGrantsIdentityCenter.go
- api_op_GetAccessGrant.go
- api_op_GetAccessGrantsInstance.go
- api_op_GetAccessGrantsInstanceForPrefix.go
- api_op_GetAccessGrantsInstanceResourcePolicy.go
- api_op_GetAccessGrantsLocation.go
- api_op_GetAccessPoint.go
- api_op_GetAccessPointConfigurationForObjectLambda.go
- api_op_GetAccessPointForObjectLambda.go
- api_op_GetAccessPointPolicy.go
- api_op_GetAccessPointPolicyForObjectLambda.go
- api_op_GetAccessPointPolicyStatus.go
- api_op_GetAccessPointPolicyStatusForObjectLambda.go
- api_op_GetBucket.go
- api_op_GetBucketLifecycleConfiguration.go
- api_op_GetBucketPolicy.go
- api_op_GetBucketReplication.go
- api_op_GetBucketTagging.go
- api_op_GetBucketVersioning.go
- api_op_GetDataAccess.go
- api_op_GetJobTagging.go
- api_op_GetMultiRegionAccessPoint.go
- api_op_GetMultiRegionAccessPointPolicy.go
- api_op_GetMultiRegionAccessPointPolicyStatus.go
- api_op_GetMultiRegionAccessPointRoutes.go
- api_op_GetPublicAccessBlock.go
- api_op_GetStorageLensConfiguration.go
- api_op_GetStorageLensConfigurationTagging.go
- api_op_GetStorageLensGroup.go
- api_op_ListAccessGrants.go
- api_op_ListAccessGrantsInstances.go
- api_op_ListAccessGrantsLocations.go
- api_op_ListAccessPoints.go
- api_op_ListAccessPointsForObjectLambda.go
- api_op_ListJobs.go
- api_op_ListMultiRegionAccessPoints.go
- api_op_ListRegionalBuckets.go
- api_op_ListStorageLensConfigurations.go
- api_op_ListStorageLensGroups.go
- api_op_ListTagsForResource.go
- api_op_PutAccessGrantsInstanceResourcePolicy.go
- api_op_PutAccessPointConfigurationForObjectLambda.go
- api_op_PutAccessPointPolicy.go
- api_op_PutAccessPointPolicyForObjectLambda.go
- api_op_PutBucketLifecycleConfiguration.go
- api_op_PutBucketPolicy.go
- api_op_PutBucketReplication.go
- api_op_PutBucketTagging.go
- api_op_PutBucketVersioning.go
- api_op_PutJobTagging.go
- api_op_PutMultiRegionAccessPointPolicy.go
- api_op_PutPublicAccessBlock.go
- api_op_PutStorageLensConfiguration.go
- api_op_PutStorageLensConfigurationTagging.go
- api_op_SubmitMultiRegionAccessPointRoutes.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateAccessGrantsLocation.go
- api_op_UpdateJobPriority.go
- api_op_UpdateJobStatus.go
- api_op_UpdateStorageLensGroup.go
- auth.go
- context.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
customizations
Package customizations provides customizations for the Amazon S3-Control API client.
|
Package customizations provides customizations for the Amazon S3-Control API client. |