Class: Aws::NetworkManager::Types::NetworkScopeStateReason

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 is in its current state.

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)


7182
7183
7184
7185
7186
7187
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7182

class NetworkScopeStateReason < 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)


7182
7183
7184
7185
7186
7187
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7182

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