Smaws_Client_IAM.CreateRoleCreates a new role for your Amazon Web Services account.
For more information about roles, see IAM roles in the IAM User Guide. For information about quotas for role names and the number of roles you can create, see IAM and STS quotas in the IAM User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `EntityAlreadyExistsException of Types.entity_already_exists_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `MalformedPolicyDocumentException of
Types.malformed_policy_document_exception
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_role_request ->
(Types.create_role_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityAlreadyExistsException of Types.entity_already_exists_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `MalformedPolicyDocumentException of
Types.malformed_policy_document_exception
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_role_request ->
(Types.create_role_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `EntityAlreadyExistsException of Types.entity_already_exists_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `MalformedPolicyDocumentException of
Types.malformed_policy_document_exception
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result