Smaws_Client_IAM.UpdateAssumeRolePolicyUpdates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, see Using roles to delegate permissions and federate identities.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededException of Types.limit_exceeded_exception
| `MalformedPolicyDocumentException of
Types.malformed_policy_document_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception
| `UnmodifiableEntityException of Types.unmodifiable_entity_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_assume_role_policy_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededException of Types.limit_exceeded_exception
| `MalformedPolicyDocumentException of
Types.malformed_policy_document_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception
| `UnmodifiableEntityException of Types.unmodifiable_entity_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_assume_role_policy_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededException of Types.limit_exceeded_exception
| `MalformedPolicyDocumentException of
Types.malformed_policy_document_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception
| `UnmodifiableEntityException of Types.unmodifiable_entity_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result