Class: Aws::Context::Types::ConnectionFailure
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::ConnectionFailure
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
Details of why a connection is FAILED. Use code to decide how to
respond. message is a human-readable description that you shouldn't
parse. Both members are always present together.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#code ⇒ String
A code that identifies why the connection failed.
-
#message ⇒ String
The failure message.
Instance Attribute Details
#code ⇒ String
A code that identifies why the connection failed. Codes include the following:
GLUE_CONNECTION_UNAVAILABLE- The AWS Glue connection failed AWS Glue validation or no longer exists, or AWS Context couldn't provision catalog synchronization. Check the AWS Glue connection in the AWS Glue console, and then create the connection again.
^
New codes can be added, so handle a code that you don't recognize.
Use code, not message, to decide how to respond.
1286 1287 1288 1289 1290 1291 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1286 class ConnectionFailure < Struct.new( :code, :message) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
The failure message. For an AWS Glue connection that failed validation, this is the StatusReason from AWS Glue. Otherwise, it is a message from AWS Context.
1286 1287 1288 1289 1290 1291 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1286 class ConnectionFailure < Struct.new( :code, :message) SENSITIVE = [] include Aws::Structure end |