Module Smaws_Client_CloudControl.UpdateResource

and Deserialization

Updates the specified property values in the resource.

You specify your resource property updates as a list of patch operations contained in a JSON patch document that adheres to the RFC 6902 - JavaScript Object Notation (JSON) Patch standard.

For details on how Cloud Control API performs resource update operations, see Updating a resource in the Amazon Web Services Cloud Control API User Guide.

After you have initiated a resource update request, you can monitor the progress of your request by calling GetResourceRequestStatus using the RequestToken of the ProgressEvent returned by UpdateResource.

For more information about the properties of a specific resource, refer to the related topic for the resource in the Resource and property types reference in the CloudFormation Users Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AlreadyExistsException of Types.already_exists_exception | `ClientTokenConflictException of Types.client_token_conflict_exception | `ConcurrentOperationException of Types.concurrent_operation_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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_resource_input -> (Types.update_resource_output, [> Smaws_Lib.Protocols.AwsJson.error | `AlreadyExistsException of Types.already_exists_exception | `ClientTokenConflictException of Types.client_token_conflict_exception | `ConcurrentOperationException of Types.concurrent_operation_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.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_resource_input -> (Types.update_resource_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AlreadyExistsException of Types.already_exists_exception | `ClientTokenConflictException of Types.client_token_conflict_exception | `ConcurrentOperationException of Types.concurrent_operation_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