Put Object Inline operation
The Put Object Inline operation adds an object whose size is 1 MB or smaller to a specified bucket.
The following figure shows the <items> XML element for the Put Object Inline operation:
<item>
<parameters>
<bucket>TestBucket</bucket>
<key>create_oracle_instance.sql</key>
<file-name>C:\\create_oracle_instance.sql</file-name>
</parameters>
</item>
</items>
The following figure shows a sample adapter request for the Put Object Inline operation:
<secret-access-key />
<operation-name>put-object-inline</operation-name>
<parameters>
<bucket>TestBucket</bucket>
<key>create_oracle_instance.sql</key>
<file-name>C:\\create_oracle_instance.sql</file-name>
</parameters>
</amazon-s3-request>
The following table describes the elements for the adapter request:
Element | Description | Required |
|---|---|---|
<wsdl-location> | Specifies the target WSDL URL for Amazon S3 | Conditional; required if not specified in the configuration |
<endpoint-address> | Specifies the web service endpoint to use for performing operations on Amazon S3 buckets across different regions
| No |
<aws-access-key-id> | Specifies the 20-character public access key ID that is included in an Amazon Web Service (AWS) service request to identify the user | Conditional; required if not specified in the configuration |
<secret-access-key> | Specifies the 40-character private identifier that is associated with the access key ID | Conditional; required if not specified in the configuration |
<operation-name> | Contains the name of the operation: put-object-inline | Yes |
<bucket> | Specifies the name of the bucket to which you want to add the object | Yes |
<key> | Specifies the key that you want to assign to the object | Yes |
<file-name> | Specifies the name of the file to be added to the bucket | Yes |
The following figure shows a sample adapter response for the Put Object Inline operation:
<metadata>
<status>success</status>
</metadata>
<PutObjectInlineResponse>
<ETag>"bd80ff40107566c0a427a494a94a7377"</ETag>
<LastModified>2011-04-18T08:40:57.000Z</LastModified>
</PutObjectInlineResponse>
</amazon-s3-response>