Class: AWSCDK::QuickSight::CfnDataSource::DataSourceErrorInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::DataSourceErrorInfoProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
Error information for the data source creation or update.
Instance Attribute Summary collapse
-
#message ⇒ String?
readonly
Error message.
-
#type ⇒ String?
readonly
Error type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message: nil, type: nil) ⇒ DataSourceErrorInfoProperty
constructor
A new instance of DataSourceErrorInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(message: nil, type: nil) ⇒ DataSourceErrorInfoProperty
Returns a new instance of DataSourceErrorInfoProperty.
1058 1059 1060 1061 1062 1063 |
# File 'quick_sight/cfn_data_source.rb', line 1058 def initialize(message: nil, type: nil) @message = Jsii::Type.check_type(@message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "message") unless @message.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#message ⇒ String? (readonly)
Error message.
1069 1070 1071 |
# File 'quick_sight/cfn_data_source.rb', line 1069 def @message end |
#type ⇒ String? (readonly)
Error type.
1074 1075 1076 |
# File 'quick_sight/cfn_data_source.rb', line 1074 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1076 1077 1078 1079 1080 1081 |
# File 'quick_sight/cfn_data_source.rb', line 1076 def self.jsii_properties { :message => "message", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1083 1084 1085 1086 1087 1088 1089 1090 |
# File 'quick_sight/cfn_data_source.rb', line 1083 def to_jsii result = {} result.merge!({ "message" => @message, "type" => @type, }) result.compact end |