Module: AmznSpApi::UploadsApiModel

Defined in:
lib/uploads_api_model/version.rb,
lib/uploads_api_model.rb,
lib/uploads_api_model/api_error.rb,
lib/uploads_api_model/api_client.rb,
lib/uploads_api_model/models/error.rb,
lib/uploads_api_model/configuration.rb,
lib/uploads_api_model/api/uploads_api.rb,
lib/uploads_api_model/models/error_list.rb,
lib/uploads_api_model/models/upload_destination.rb,
lib/uploads_api_model/models/create_upload_destination_response.rb

Overview

#Selling Partner API for Uploads

The Uploads API lets you upload files that you can programmatically access using other Selling Partner APIs, such as the A+ Content API and the Messaging API.

OpenAPI spec version: 2020-11-01

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, CreateUploadDestinationResponse, Error, ErrorList, UploadDestination, UploadsApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmznSpApi::UploadsApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



33
34
35
36
37
38
39
# File 'lib/uploads_api_model.rb', line 33

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