Class: Aws::OpenSearchService::Types::ReplicationPeer

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

Overview

A domain that another domain replicates with, and the state of that relationship.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#peer_domain_arn ⇒ String

The Amazon Resource Name (ARN) of the peer domain.

Returns:

  • (String)


8609
8610
8611
8612
8613
8614
8615
8616
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8609

class ReplicationPeer < Struct.new(
  :peer_domain_arn,
  :peer_role,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#peer_role ⇒ String

The peer's role in the relationship, either PRIMARY or SECONDARY.

Returns:

  • (String)


8609
8610
8611
8612
8613
8614
8615
8616
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8609

class ReplicationPeer < Struct.new(
  :peer_domain_arn,
  :peer_role,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The state of the relationship:

  • PENDING_SETUP - replication is being established.

  • ACTIVE - replication is running.

  • SWITCHING_OVER - a planned promotion is in progress.

  • FAILING_OVER - an unplanned promotion is in progress.

  • PENDING_REMOVAL - replication is being stopped.

  • DETACHED - the relationship has ended.

  • EJECTED - a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again.

  • FAILED - setup or teardown could not complete. You can still remove the relationship.

A relationship that is removed successfully no longer appears in Peers.

Returns:

  • (String)


8609
8610
8611
8612
8613
8614
8615
8616
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8609

class ReplicationPeer < Struct.new(
  :peer_domain_arn,
  :peer_role,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#status_message ⇒ String

An explanation of why the relationship is in its current state, when more detail is available.

Returns:

  • (String)


8609
8610
8611
8612
8613
8614
8615
8616
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8609

class ReplicationPeer < Struct.new(
  :peer_domain_arn,
  :peer_role,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end