You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glacier::Types::GetVaultLockOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb

Overview

Contains the Amazon Glacier response to your request.

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

The UTC date and time at which the vault lock was put into the InProgress state.

Returns:

  • (Time)


846
847
848
849
850
851
852
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 846

class GetVaultLockOutput < Struct.new(
  :policy,
  :state,
  :expiration_date,
  :creation_date)
  include Aws::Structure
end

#expiration_dateTime

The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.

Returns:

  • (Time)


846
847
848
849
850
851
852
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 846

class GetVaultLockOutput < Struct.new(
  :policy,
  :state,
  :expiration_date,
  :creation_date)
  include Aws::Structure
end

#policyString

The vault lock policy as a JSON string, which uses "\" as an escape character.

Returns:

  • (String)


846
847
848
849
850
851
852
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 846

class GetVaultLockOutput < Struct.new(
  :policy,
  :state,
  :expiration_date,
  :creation_date)
  include Aws::Structure
end

#stateString

The state of the vault lock. InProgress or Locked.

Returns:

  • (String)


846
847
848
849
850
851
852
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 846

class GetVaultLockOutput < Struct.new(
  :policy,
  :state,
  :expiration_date,
  :creation_date)
  include Aws::Structure
end