Smaws_Client_CloudControl.GetResourceReturns information about the current state of the specified resource. For details, see Reading a resource's current state.
You can use this action to return information about an existing resource in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `GeneralServiceException of Types.general_service_exception
| `HandlerFailureException of Types.handler_failure_exception
| `HandlerInternalFailureException of
Types.handler_internal_failure_exception
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NetworkFailureException of Types.network_failure_exception
| `NotStabilizedException of Types.not_stabilized_exception
| `NotUpdatableException of Types.not_updatable_exception
| `PrivateTypeException of Types.private_type_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceInternalErrorException of Types.service_internal_error_exception
| `ServiceLimitExceededException of Types.service_limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `TypeNotFoundException of Types.type_not_found_exception
| `UnsupportedActionException of Types.unsupported_action_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_resource_input ->
(Types.get_resource_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `GeneralServiceException of Types.general_service_exception
| `HandlerFailureException of Types.handler_failure_exception
| `HandlerInternalFailureException of
Types.handler_internal_failure_exception
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NetworkFailureException of Types.network_failure_exception
| `NotStabilizedException of Types.not_stabilized_exception
| `NotUpdatableException of Types.not_updatable_exception
| `PrivateTypeException of Types.private_type_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceInternalErrorException of Types.service_internal_error_exception
| `ServiceLimitExceededException of Types.service_limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `TypeNotFoundException of Types.type_not_found_exception
| `UnsupportedActionException of Types.unsupported_action_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_resource_input ->
(Types.get_resource_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `GeneralServiceException of Types.general_service_exception
| `HandlerFailureException of Types.handler_failure_exception
| `HandlerInternalFailureException of
Types.handler_internal_failure_exception
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NetworkFailureException of Types.network_failure_exception
| `NotStabilizedException of Types.not_stabilized_exception
| `NotUpdatableException of Types.not_updatable_exception
| `PrivateTypeException of Types.private_type_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceInternalErrorException of Types.service_internal_error_exception
| `ServiceLimitExceededException of Types.service_limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `TypeNotFoundException of Types.type_not_found_exception
| `UnsupportedActionException of Types.unsupported_action_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result