Module: AmznSpApi::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.36
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, CreateRestrictedDataTokenRequest, CreateRestrictedDataTokenResponse, Error, ErrorList, RestrictedResource, TokensApi
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
AmznSpApi::TokensApiModel.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
34 35 36 37 38 39 40 |
# File 'lib/tokens_api_model.rb', line 34 def configure if block_given? yield(Configuration.default) else Configuration.default end end |