Class: Aws::EFS::Types::PolicyNotFound

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

Overview

Returned if the specified IAM policy or resource policy cannot be located or accessed. Depending on the action being performed, the error may also be returned if the default file system policy is in effect for the EFS file system or if no backup policy is specified.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_code ⇒ String

The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.

Returns:

  • (String)


2351
2352
2353
2354
2355
2356
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2351

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

#message ⇒ String

The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.

Returns:

  • (String)


2351
2352
2353
2354
2355
2356
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2351

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