Module Smaws_Client_Rekognition.ListProjectPolicies

This operation applies only to Amazon Rekognition Custom Labels.

Gets a list of the project policies attached to a project.

To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.

This operation requires permissions to perform the rekognition:ListProjectPolicies action.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidPaginationTokenException of Types.invalid_pagination_token_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.list_project_policies_request -> (Types.list_project_policies_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidPaginationTokenException of Types.invalid_pagination_token_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.list_project_policies_request -> (Types.list_project_policies_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidPaginationTokenException of Types.invalid_pagination_token_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result