Class: Aws::Redshift::Types::AuthorizeSnapshotAccessMessage

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

Overview

Note:

When making an API call, you may pass AuthorizeSnapshotAccessMessage data as a hash:

{
  snapshot_identifier: "String", # required
  snapshot_cluster_identifier: "String",
  account_with_restore_access: "String", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_with_restore_accessString

The identifier of the Amazon Web Services account authorized to restore the specified snapshot.

To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

Returns:

  • (String)


405
406
407
408
409
410
411
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 405

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_cluster_identifierString

The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Returns:

  • (String)


405
406
407
408
409
410
411
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 405

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_identifierString

The identifier of the snapshot the account is authorized to restore.

Returns:

  • (String)


405
406
407
408
409
410
411
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 405

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  SENSITIVE = []
  include Aws::Structure
end