bm ilm tier rm

Description

The bm ilm tier rm command removes an remote tier that has not been used to transition any objects.

The bm ilm tier remove command has equivalent functionality to bm ilm tier rm

Note

Once a tier has transitioned objects, it cannot be removed.

Required Permissions

Buckit requires the following permissions scoped to to the bucket or buckets for which you are creating lifecycle management rules.

Buckit also requires the following administrative permissions on the cluster in which you are creating remote tiers for object transition lifecycle management rules:

For example, the following policy provides permission for configuring object transition lifecycle management rules on any bucket in the cluster:.

{
   "Version": "2012-10-17",
   "Statement": [
      {
            "Action": [
               "admin:SetTier",
               "admin:ListTier"
            ],
            "Effect": "Allow",
            "Sid": "EnableRemoteTierManagement"
      },
      {
            "Action": [
               "s3:PutLifecycleConfiguration",
               "s3:GetLifecycleConfiguration"
            ],
            "Resource": [
                        "arn:aws:s3:::*"
            ],
            "Effect": "Allow",
            "Sid": "EnableLifecycleManagementRules"
      }
   ]
}

Syntax

The command has the following syntax:

The following example removes an existing remote tier called WARM-TIER on the mybuckit deployment. No objects have transitioned to the WARM-TIER tier.

 bm ilm tier rm mybuckit WARM-TIER

The command has the following syntax:

bm ilm tier info TARGET TIER_NAME

Parameters

The command accepts the following arguments:

TARGET
Required

The alias of a configured Buckit deployment on which the desired tier exists.

TIER_NAME
Required

The name of an existing remote tier to remove.

You must specify the tier in all-caps, e.g. WARM_TIER.

No object can have transitioned to the tier.

Global Flags

This command supports any of the global flags.

S3 Compatibility

The bm commandline tool is built for compatibility with the AWS S3 API and is tested with Buckit and AWS S3 for expected functionality and behavior.

Buckit provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While bm commands may work as documented, any such usage is at your own risk.

Required Permissions

For permissions required to remove a tier, refer to the required permissions on the parent command.