Class: Aws::STS::Errors::InvalidWorkloadIdentityConfigurationException Deprecated

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-sts/errors.rb

Overview

Deprecated.

This error class is not used during parsing. Please use InvalidWorkloadIdentityConfiguration instead.

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidWorkloadIdentityConfigurationException

Returns a new instance of InvalidWorkloadIdentityConfigurationException.

Parameters:



244
245
246
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/errors.rb', line 244

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#message ⇒ String

Returns:

  • (String)


249
250
251
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/errors.rb', line 249

def message
  @message || @data[:message]
end

#reason ⇒ String

Returns:

  • (String)


254
255
256
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/errors.rb', line 254

def reason
  @data[:reason]
end