You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Organizations::Types::AccessDeniedForDependencyException

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

Overview

The operation that you attempted requires you to have the iam:CreateServiceLinkedRole for organizations.amazonaws.com permission so that AWS Organizations can create the required service-linked role. You don't have that permission.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Returns:

  • (String)


93
94
95
96
97
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 93

class AccessDeniedForDependencyException < Struct.new(
  :message,
  :reason)
  include Aws::Structure
end

#reasonString

Returns:

  • (String)


93
94
95
96
97
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 93

class AccessDeniedForDependencyException < Struct.new(
  :message,
  :reason)
  include Aws::Structure
end