Smaws_Client_IAM.CreateInstanceProfileCreates a new instance profile. For information about instance profiles, see Using roles for applications on Amazon EC2 in the IAM User Guide, and Instance profiles in the Amazon EC2 User Guide.
For information about the number of instance profiles you can create, see IAM object 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
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_instance_profile_request ->
(Types.create_instance_profile_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
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_instance_profile_request ->
(Types.create_instance_profile_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
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result