Module: AmzSpApi::NotificationsApiModel

Defined in:
lib/notifications-api-model/version.rb,
lib/notifications-api-model.rb,
lib/notifications-api-model/api_error.rb,
lib/notifications-api-model/api_client.rb,
lib/notifications-api-model/models/error.rb,
lib/notifications-api-model/configuration.rb,
lib/notifications-api-model/models/error_list.rb,
lib/notifications-api-model/models/destination.rb,
lib/notifications-api-model/models/event_filter.rb,
lib/notifications-api-model/models/sqs_resource.rb,
lib/notifications-api-model/models/subscription.rb,
lib/notifications-api-model/api/notifications_api.rb,
lib/notifications-api-model/models/marketplace_ids.rb,
lib/notifications-api-model/models/destination_list.rb,
lib/notifications-api-model/models/aggregation_filter.rb,
lib/notifications-api-model/models/marketplace_filter.rb,
lib/notifications-api-model/models/aggregation_settings.rb,
lib/notifications-api-model/models/destination_resource.rb,
lib/notifications-api-model/models/processing_directive.rb,
lib/notifications-api-model/models/event_bridge_resource.rb,
lib/notifications-api-model/models/aggregation_time_period.rb,
lib/notifications-api-model/models/get_destination_response.rb,
lib/notifications-api-model/models/get_destinations_response.rb,
lib/notifications-api-model/models/get_subscription_response.rb,
lib/notifications-api-model/models/create_destination_request.rb,
lib/notifications-api-model/models/create_destination_response.rb,
lib/notifications-api-model/models/create_subscription_request.rb,
lib/notifications-api-model/models/delete_destination_response.rb,
lib/notifications-api-model/models/create_subscription_response.rb,
lib/notifications-api-model/models/get_subscription_by_id_response.rb,
lib/notifications-api-model/models/delete_subscription_by_id_response.rb,
lib/notifications-api-model/models/destination_resource_specification.rb,
lib/notifications-api-model/models/event_bridge_resource_specification.rb

Overview

#Selling Partner API for Notifications

#The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner’s business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more. For more information, see the [Notifications Use Case Guide](doc:notifications-api-v1-use-case-guide).

OpenAPI spec version: v1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.24

Defined Under Namespace

Classes: AggregationFilter, AggregationSettings, AggregationTimePeriod, ApiClient, ApiError, Configuration, CreateDestinationRequest, CreateDestinationResponse, CreateSubscriptionRequest, CreateSubscriptionResponse, DeleteDestinationResponse, DeleteSubscriptionByIdResponse, Destination, DestinationList, DestinationResource, DestinationResourceSpecification, Error, ErrorList, EventBridgeResource, EventBridgeResourceSpecification, EventFilter, GetDestinationResponse, GetDestinationsResponse, GetSubscriptionByIdResponse, GetSubscriptionResponse, MarketplaceFilter, MarketplaceIds, NotificationsApi, ProcessingDirective, SqsResource, Subscription

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmzSpApi::NotificationsApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



58
59
60
61
62
63
64
# File 'lib/notifications-api-model.rb', line 58

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end