lib/oci/ons/notification_data_plane_client.rb
# Resends the confirmation details for the specified subscription.
#
# Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
#
# @param [String] id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to resend the confirmation for.
#
# @param [Hash] opts the optional parameters
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
#   retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
#   particular request, please provide the request ID.
#
# @return [Response] A Response object with data of type {OCI::Ons::Models::Subscription Subscription}
Resends the confirmation details for the specified subscription.
Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
Resends the confirmation details for the specified subscription . Transactions Per Minute ( TPM ) per - tenancy limit for this operation : 60 .
def resend_subscription_confirmation(id, opts = {})
      logger.debug 'Calling operation NotificationDataPlaneClient#resend_subscription_confirmation.' if logger
      raise "Missing the required parameter 'id' when calling resend_subscription_confirmation." if id.nil?
      raise "Parameter value for 'id' must not be blank" if OCI::Internal::Util.blank_string?(id)
      path = '/subscriptions/{id}/resendConfirmation'.sub('{id}', id.to_s)
      operation_signing_strategy = :standard
      query_params = {}
      header_params = {}
      header_params[:accept] = 'application/json'
      header_params[:'content-type'] = 'application/json'
      header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
      post_body = nil
      OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NotificationDataPlaneClient#resend_subscription_confirmation') do
        @api_client.call_api(
          :POST,
          path,
          endpoint,
          header_params: header_params,
          query_params: query_params,
          operation_signing_strategy: operation_signing_strategy,
          body: post_body,
          return_type: 'OCI::Ons::Models::Subscription'
        )
      end
    end
def resend_subscription_confirmation ( id , opts = { } ) logger . debug 'Calling operation NotificationDataPlaneClient#resend_subscription_confirmation.' if logger raise "Missing the required parameter 'id' when calling resend_subscription_confirmation." if id . nil? raise "Parameter value for 'id' must not be blank" if OCI :: Internal :: Util . blank_string? ( id ) path = '/subscriptions/{id}/resendConfirmation' . sub ( '{id}' , id . to_s ) operation_signing_strategy = :standard query_params = { } header_params = { } header_params [ :accept ] = 'application/json' header_params [ :' content-type ' ] = 'application/json' header_params [ :' opc-request-id ' ] = opts [ :opc_request_id ] if opts [ :opc_request_id ] post_body = nil OCI :: Retry . make_retrying_call ( applicable_retry_config ( opts ) , call_name : 'NotificationDataPlaneClient#resend_subscription_confirmation' ) do @api_client . call_api ( :POST , path , endpoint , header_params : header_params , query_params : query_params , operation_signing_strategy : operation_signing_strategy , body : post_body , return_type : 'OCI::Ons::Models::Subscription' ) end end
Resends the confirmation details for the specified subscription.
Resends the confirmation details for the specified subscription .
# rubocop:disable Style/NegatedIf # Query Params # Header Params # rubocop:enable Style/NegatedIf # rubocop:disable Metrics/BlockLength # rubocop:enable Metrics/BlockLength
A Response object with data of type {OCI::Ons::Models::Subscription Subscription}
A Response object with data of type { OCI :: Ons :: Models :: Subscription Subscription }
Response
id
opts
:opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
: opc_request_id The unique Oracle - assigned identifier for the request . If you need to contact Oracle about a particular request please provide the request ID .
opts the optional parameters
opts the optional parameters