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 S3 Glacier response to your request.

Constant Summary collapse

SENSITIVE =
[]

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)


821
822
823
824
825
826
827
828
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 821

class GetVaultLockOutput < Struct.new(
  :policy,
  :state,
  :expiration_date,
  :creation_date)
  SENSITIVE = []
  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)


821
822
823
824
825
826
827
828
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 821

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

#policyString

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

Returns:

  • (String)


821
822
823
824
825
826
827
828
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 821

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

#stateString

The state of the vault lock. InProgress or Locked.

Returns:

  • (String)


821
822
823
824
825
826
827
828
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 821

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