openapi: 3.0.0 info: version: '2009-04-15' x-release: v2 title: 'Amazon SimpleDB #Action=BatchDeleteAttributes #Action=BatchDeleteAttributes #Action=PutAttributes API' description: Amazon SimpleDB is a web service providing the core database functions of data indexing and querying in the cloud. By offloading the time and effort associated with building and operating a web-scale database, SimpleDB provides developers the freedom to focus on application development.
A traditional, clustered relational database requires a sizable upfront capital outlay, is complex to design, and often requires extensive and repetitive database administration. Amazon SimpleDB is dramatically simpler, requiring no schema, automatically indexing your data and providing a simple API for storage and access. This approach eliminates the administrative burden of data modeling, index maintenance, and performance tuning. Developers gain access to this functionality within Amazon's proven computing environment, are able to scale instantly, and pay only for what they use.
Visit http://aws.amazon.com/simpledb/ for more information.
x-logo: url: https://twitter.com/awscloud/profile_image?size=original backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: sdb x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/sdb-2009-04-15.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://sdb.amazonaws.com variables: {} description: The general Amazon SimpleDB endpoint for US East (N. Virginia) - url: https://sdb.amazonaws.com variables: {} description: The general Amazon SimpleDB endpoint for US East (N. Virginia) - url: http://sdb.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-2 description: The Amazon SimpleDB multi-region endpoint - url: https://sdb.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-2 description: The Amazon SimpleDB multi-region endpoint - url: http://sdb.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon SimpleDB endpoint for China (Beijing) and China (Ningxia) - url: https://sdb.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon SimpleDB endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#Action=PutAttributes' paths: /#Action=PutAttributes: parameters: - $ref: '#/components/parameters/AWSAccessKeyId' - $ref: '#/components/parameters/Action' - $ref: '#/components/parameters/SignatureMethod' - $ref: '#/components/parameters/SignatureVersion' - $ref: '#/components/parameters/Timestamp' - $ref: '#/components/parameters/Version' - $ref: '#/components/parameters/Signature' get: x-aws-operation-name: PutAttributes operationId: GET_PutAttributes description: ' The PutAttributes operation creates or replaces attributes in an item. The client may specify new attributes using a combination of the Attribute.X.Name and Attribute.X.Value parameters. The client specifies the first attribute by the parameters Attribute.0.Name and Attribute.0.Value, the second attribute by the parameters Attribute.1.Name and Attribute.1.Value, and so on.
Attributes are uniquely identified in an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", second_value" }. However, it cannot have two attribute instances where both the Attribute.X.Name and Attribute.X.Value are the same.
Optionally, the requestor can supply the Replace parameter for each individual attribute. Setting this value to true causes the new attribute value to replace the existing attribute value(s). For example, if an item has the attributes { ''a'', ''1'' }, { ''b'', ''2''} and { ''b'', ''3'' } and the requestor calls PutAttributes using the attributes { ''b'', ''4'' } with the Replace parameter set to true, the final attributes of the item are changed to { ''a'', ''1'' } and { ''b'', ''4'' }, which replaces the previous values of the ''b'' attribute with the new value.
PutAttributes to replace attribute values that do not exist will not result in an error response. You cannot specify an empty string as an attribute name.
Because Amazon SimpleDB makes multiple copies of client data and uses an eventual consistency update model, an immediate GetAttributes or Select operation (read) immediately after a PutAttributes or DeleteAttributes operation (write) might not return the updated data.
The following limitations are enforced for this operation:
Exists parameter is equal to true.
Exists:
allOf:
- $ref: '#/components/schemas/Boolean'
- description: A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.
description: ' Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn''t exist. '
- name: Action
in: query
required: true
schema:
type: string
enum:
- PutAttributes
- name: Version
in: query
required: true
schema:
type: string
enum:
- '2009-04-15'
summary: Amazon G E T_ Put Attributes
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
tags:
- '#Action=PutAttributes'
post:
x-aws-operation-name: PutAttributes
operationId: POST_PutAttributes
description: ' The PutAttributes operation creates or replaces attributes in an item. The client may specify new attributes using a combination of the Attribute.X.Name and Attribute.X.Value parameters. The client specifies the first attribute by the parameters Attribute.0.Name and Attribute.0.Value, the second attribute by the parameters Attribute.1.Name and Attribute.1.Value, and so on.
Attributes are uniquely identified in an item by their name/value combination. For example, a single item can have the attributes { "first_name", "first_value" } and { "first_name", second_value" }. However, it cannot have two attribute instances where both the Attribute.X.Name and Attribute.X.Value are the same.
Optionally, the requestor can supply the Replace parameter for each individual attribute. Setting this value to true causes the new attribute value to replace the existing attribute value(s). For example, if an item has the attributes { ''a'', ''1'' }, { ''b'', ''2''} and { ''b'', ''3'' } and the requestor calls PutAttributes using the attributes { ''b'', ''4'' } with the Replace parameter set to true, the final attributes of the item are changed to { ''a'', ''1'' } and { ''b'', ''4'' }, which replaces the previous values of the ''b'' attribute with the new value.
PutAttributes to replace attribute values that do not exist will not result in an error response. You cannot specify an empty string as an attribute name.
Because Amazon SimpleDB makes multiple copies of client data and uses an eventual consistency update model, an immediate GetAttributes or Select operation (read) immediately after a PutAttributes or DeleteAttributes operation (write) might not return the updated data.
The following limitations are enforced for this operation:
false.
description: ''
UpdateCondition:
type: object
properties:
Name:
allOf:
- $ref: '#/components/schemas/String'
- description: The name of the attribute involved in the condition.
Value:
allOf:
- $ref: '#/components/schemas/String'
- description: The value of an attribute. This value can only be specified when the Exists parameter is equal to true.
Exists:
allOf:
- $ref: '#/components/schemas/Boolean'
- description: A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.
description: ' Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn''t exist. '
AttributeDoesNotExist:
type: object
properties:
BoxUsage:
$ref: '#/components/schemas/Float'
description: The specified attribute does not exist.
PutAttributesRequest:
type: object
required:
- DomainName
- ItemName
- Attributes
title: PutAttributesRequest
properties:
DomainName:
allOf:
- $ref: '#/components/schemas/String'
- description: The name of the domain in which to perform the operation.
ItemName:
allOf:
- $ref: '#/components/schemas/String'
- description: The name of the item.
Attributes:
allOf:
- $ref: '#/components/schemas/ReplaceableAttributeList'
- description: The list of attributes.
Expected:
allOf:
- $ref: '#/components/schemas/UpdateCondition'
- description: The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.
Boolean:
type: boolean
String:
type: string
NoSuchDomain:
type: object
properties:
BoxUsage:
$ref: '#/components/schemas/Float'
description: The specified domain does not exist.
Float:
type: number
format: float
NumberItemAttributesExceeded:
type: object
properties:
BoxUsage:
$ref: '#/components/schemas/Float'
description: Too many attributes in this item.
ReplaceableAttributeList:
type: array
items:
allOf:
- $ref: '#/components/schemas/ReplaceableAttribute'
- xml:
name: Attribute
xml:
wrapped: false
parameters:
AWSAccessKeyId:
name: AWSAccessKeyId
in: query
schema:
type: string
required: true
SignatureMethod:
name: SignatureMethod
in: query
schema:
type: string
required: true
SignatureVersion:
name: SignatureVersion
in: query
schema:
type: string
required: true
Signature:
name: Signature
in: query
schema:
type: string
required: true
Timestamp:
name: Timestamp
in: query
schema:
type: string
required: true
Action:
name: Action
in: query
schema:
type: string
required: true
Version:
name: Version
in: query
schema:
type: string
required: true
securitySchemes:
hmac:
type: apiKey
name: Authorization
in: header
description: Amazon Signature authorization v2
x-amazon-apigateway-authtype: awsSigv2
externalDocs:
description: Amazon Web Services documentation
url: https://docs.aws.amazon.com/sdb/
x-hasEquivalentPaths: true