The Request response group returns all of the parameters and their values that were submitted in a request. Use this information to debug requests.
All ECS operations return this response group by default. There can be up to ten parameters in each request.
Operations that can use this response group include:
All ECS operations use the Request response group by default.
The following table describes the elements returned by Request. These elements are returned in all ECS responses because the Request response group is a default response group for all ECS operations. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.
| Response Element | Ancestry | Definition |
|---|---|---|
Code
| Errors/Error/Code | Error code |
IsValid
| Request/IsValid | Boolean value that specifies whether the request syntax was correct. |
Message
| Errors/Error/Message | Error message |
Name
| Arguments/Argument/Name | The name of a parameter passed in the request. |
RequestId
| OperationRequest/RequestId | A number that uniquely identifies a request |
UserAgent
| OperationRequest/UserAgent | The |
Value
| Arguments/Argument/Value | The value of a parameter passed in the request. |
The folllowing request was used to illustrate the XML response elements returned by Request.
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService& AWSAccessKeyId=[Access Key ID]& Operation=ItemLookup& ItemId=B000BGH22W&
The following response snippet shows the elements returned by Request.
<Request>
<RequestId>1JDFR86T6JF3P24J59MT</RequestId>
<Arguments>
<Argument Name="Service" Value="AWSECommerceService" />
<Argument Name="AWSAccessKeyId" Value="[Access Key ID]" />
<Argument Name="ItemId" Value="B000BGH22W" />
<Argument Name="Operation" Value="ItemLookup" />
</Arguments>
<RequestProcessingTime>0.0303101539611816</RequestProcessingTime>
</OperationRequest>
<Items>
<Request>
<IsValid>True</IsValid>