Smaws_Client_AppStream.AssociateApplicationToEntitlementAssociates an application to entitle.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `EntitlementNotFoundException of Types.entitlement_not_found_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.associate_application_to_entitlement_request ->
(Types.associate_application_to_entitlement_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `EntitlementNotFoundException of Types.entitlement_not_found_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.associate_application_to_entitlement_request ->
(Types.associate_application_to_entitlement_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `EntitlementNotFoundException of Types.entitlement_not_found_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result