Values.CreateServiceLinkedRoleResponseSourceCreates an IAM role that is linked to a specific Amazon Web Services service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your Amazon Web Services resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. For more information, see Using service-linked roles in the IAM User Guide. To attach a policy to this service-linked role, you must make the request using the Amazon Web Services service that depends on this role.
and t = {createServiceLinkedRoleResult : createServiceLinkedRoleResult;responseMetaData : responseMetaData;}type error = [ | `InvalidInputException of InvalidInputException.t| `LimitExceededException of LimitExceededException.t| `NoSuchEntityException of NoSuchEntityException.t| `ServiceFailureException of ServiceFailureException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidInputException of InvalidInputException.t
| `LimitExceededException of LimitExceededException.t
| `NoSuchEntityException of NoSuchEntityException.t
| `ServiceFailureException of ServiceFailureException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidInputException of InvalidInputException.t
| `LimitExceededException of LimitExceededException.t
| `NoSuchEntityException of NoSuchEntityException.t
| `ServiceFailureException of ServiceFailureException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Integer of RoleMaxSessionDurationType.t
| `List of
[> `Structure of
(string * [> `String of TagKeyType.t ]) list ]
list
| `String of PathType.t
| `Structure of
(string
* [> `Enum of string
| `String of ArnType.t
| `Timestamp of DateType.t ])
list
| `Timestamp of DateType.t ])
list ])
list ])
list ]