This operation is not supported by directory buckets.
Returns the versioning state of a bucket.
To retrieve the versioning state of a bucket, you must be the bucket owner.
This implementation also returns the MFA Delete status of the versioning state. If the MFA Delete status is enabled, the bucket owner must use an authentication device to change the versioning state of the bucket.
The name of the bucket for which to get the versioning information.
VARCHAR
expected_bucket_ownerInput Column
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
VARCHAR
_aws_profileInput Column
The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.
Information about this profile's membership in the AWS organization.
Show child fields
_aws_profile.organization.account_name
The name of account speciifed by the organization
_aws_profile.organization.id
The organization id
_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email
The organization master account email address
_aws_profile.organization.master_account.id
The organization master account id
_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id
The id of the parent
_aws_profile.organization.parents[].name
The name of the parent
_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type
The type of parent can be an organization unit or a root
_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type
The type of profile, either 'credentials' or 'assumed_role'
_aws_profile.via_profile_name
This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.
mfa_delete
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.