GetBucketVersioning

GetBucketVersioning #

Overview #

Returns the versioning state of a bucket.

AWS API Reference: https://docs.aws.amazon.com/es_es/AmazonS3/latest/API/API_GetBucketVersioning.html

Method #

GETBUCKETVERSIONING

Import Parameters #

The request uses the following import parameters.

  • i_bucket_name (bucket in AWS) (Required)

    Name of the bucket.

  • i_region (Required)

    AWS Region of the Amazon S3 Bucket.

  • i_x_amz_expected_b_owner (x-amz-expected-bucket-owner in AWS)

    The account id of the expected bucket owner.


Export Parameters #

This method use the following export parameters:

  • e_http_status

    HTTP Status code.

  • e_response_headers

    Returns information about the request in format Name/Value pair values.

  • e_response_content

    Response content in string format.

  • e_status (Status in AWS)

    The versioning state of the bucket.

    Valid Values: Enabled | Suspended.

  • e_mfadelete (MfaDelete in AWS)

    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.

    Valid Values: Enabled | Suspended.