Module: AmzSpApi::TokensApiModel

Defined in:
lib/tokens-api-model/version.rb,
lib/tokens-api-model.rb,
lib/tokens-api-model/api_error.rb,
lib/tokens-api-model/api_client.rb,
lib/tokens-api-model/models/error.rb,
lib/tokens-api-model/configuration.rb,
lib/tokens-api-model/api/tokens_api.rb,
lib/tokens-api-model/models/error_list.rb,
lib/tokens-api-model/models/restricted_resource.rb,
lib/tokens-api-model/models/create_restricted_data_token_request.rb,
lib/tokens-api-model/models/create_restricted_data_token_response.rb

Overview

#Selling Partner API for Tokens

#The Selling Partner API for Tokens provides a secure way to access a customer’s PII (Personally Identifiable Information). You can call the Tokens API to get a Restricted Data Token (RDT) for one or more restricted resources that you specify. The RDT authorizes subsequent calls to restricted operations that correspond to the restricted resources that you specified. For more information, see the [Tokens API Use Case Guide](doc:tokens-api-use-case-guide).

OpenAPI spec version: 2021-03-01

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, CreateRestrictedDataTokenRequest, CreateRestrictedDataTokenResponse, Error, ErrorList, RestrictedResource, TokensApi

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



36
37
38
39
40
41
42
# File 'lib/tokens-api-model.rb', line 36

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