Module Values.EnableSharingWithAwsOrganizationResponseSource

Enables resource sharing within your organization in Organizations. This operation creates a service-linked role called AWSServiceRoleForResourceAccessManager that has the IAM managed policy named AWSResourceAccessManagerServiceRolePolicy attached. This role permits RAM to retrieve information about the organization and its structure. This lets you share resources with all of the accounts in the calling account's organization by specifying the organization ID, or all of the accounts in an organizational unit (OU) by specifying the OU ID. Until you enable sharing within the organization, you can specify only individual Amazon Web Services accounts, or for supported resource types, IAM roles and users. You must call this operation from an IAM role or user in the organization's management account.

Sourcetype nonrec t = {
  1. returnValue : Boolean.t option;
    (*

    A return value of true indicates that the request succeeded. A value of false indicates that the request failed.

    *)
}
Sourcetype nonrec error = [
  1. | `OperationNotPermittedException of OperationNotPermittedException.t
  2. | `ServerInternalException of ServerInternalException.t
  3. | `ServiceUnavailableException of ServiceUnavailableException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?returnValue:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `OperationNotPermittedException of OperationNotPermittedException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `OperationNotPermittedException of OperationNotPermittedException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t