Smaws_Client_IAM.CreateServiceSpecificCredentialGenerates a set of credentials consisting of a user name and password that can be used to access the service specified in the request. These credentials are generated by IAM, and can be used only for the specified service.
You can have a maximum of two sets of service-specific credentials for each supported service per user.
You can reset the password to a new service-generated value by calling ResetServiceSpecificCredential.
For more information about using service-specific credentials to authenticate to an Amazon Web Services service, refer to the following docs:
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceNotSupportedException of Types.service_not_supported_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_service_specific_credential_request ->
(Types.create_service_specific_credential_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceNotSupportedException of Types.service_not_supported_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_service_specific_credential_request ->
(Types.create_service_specific_credential_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceNotSupportedException of Types.service_not_supported_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result