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

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
}

Instance Attribute Summary collapse

Instance Attribute Details

#account_with_restore_accessString

The identifier of the AWS customer account authorized to restore the specified snapshot.

To share a snapshot with AWS support, specify amazon-redshift-support.

Returns:

  • (String)


114
115
116
117
118
119
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 114

class AuthorizeSnapshotAccessMessage < Struct.new(
  :snapshot_identifier,
  :snapshot_cluster_identifier,
  :account_with_restore_access)
  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)


114
115
116
117
118
119
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 114

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

#snapshot_identifierString

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

Returns:

  • (String)


114
115
116
117
118
119
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 114

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