The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::StorageGateway::DeleteTape - Arguments for method DeleteTape on Paws::StorageGateway

DESCRIPTION

This class represents the parameters used for calling the method DeleteTape on the AWS Storage Gateway service. Use the attributes of this class as arguments to method DeleteTape.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteTape.

SYNOPSIS

    my $storagegateway = Paws->service('StorageGateway');
    # To delete a virtual tape
    # This example deletes the specified virtual tape.
    my $DeleteTapeOutput = $storagegateway->DeleteTape(
      'GatewayARN' =>
        'arn:aws:storagegateway:us-east-1:204469490176:gateway/sgw-12A3456B',
      'TapeARN' =>
        'arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0'
    );

    # Results:
    my $TapeARN = $DeleteTapeOutput->TapeARN;

    # Returns a L<Paws::StorageGateway::DeleteTapeOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/storagegateway/DeleteTape

ATTRIBUTES

BypassGovernanceRetention => Bool

Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

REQUIRED GatewayARN => Str

The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and AWS Region.

REQUIRED TapeARN => Str

The Amazon Resource Name (ARN) of the virtual tape to delete.

SEE ALSO

This class forms part of Paws, documenting arguments for method DeleteTape in Paws::StorageGateway

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues