Class: Aws::NetworkManager::Types::NetworkScopePrincipalStateReason

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

Overview

Contains a code and a message that describe why a network scope principal is in its current state, for example why the account isn't covered in a Region of the network scope.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code ⇒ String

A stable code that identifies why the resource is in its current state. Branch on this value rather than on Message.

Returns:

  • (String)


7159
7160
7161
7162
7163
7164
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7159

class NetworkScopePrincipalStateReason < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#message ⇒ String

A human-readable description of the reason, including details such as the action that was denied, the account, or the Region. Don't parse this value to determine state.

Returns:

  • (String)


7159
7160
7161
7162
7163
7164
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7159

class NetworkScopePrincipalStateReason < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end