Skip to content

Commit

Permalink
Add SQS examples model
Browse files Browse the repository at this point in the history
  • Loading branch information
jeskew committed Jan 13, 2016
1 parent ffc9c2e commit 4a56888
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/data/sqs/2012-11-05/examples-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "1.0",
"examples": {
"CreateQueue": [
{
"input": {
"QueueName": "MyQueue"
},
"output": {
"QueueUrl": "https://queue.amazonaws.com/012345678910/MyQueue"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation creates an SQS queue named MyQueue.",
"id": "create-an-sqs-queue-1445915686197",
"title": "Create an SQS queue"
}
],
"GetQueueUrl": [
{
"input": {
"QueueName": "MyQueue",
"QueueOwnerAWSAccountId": "12345678910"
},
"output": {
"QueueUrl": "https://queue.amazonaws.com/123456789101112/MyQueue"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example retrieves the queue ARN.",
"id": "retrieve-queue-attributes-from-an-sqs-queue-1445915930574",
"title": "Retrieve queue attributes from an SQS queue"
}
]
}
}
3 changes: 3 additions & 0 deletions src/data/sqs/2012-11-05/examples-1.json.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// This file was auto-generated from sdk-root/src/data/sqs/2012-11-05/examples-1.json
return [ 'version' => '1.0', 'examples' => [ 'CreateQueue' => [ [ 'input' => [ 'QueueName' => 'MyQueue', ], 'output' => [ 'QueueUrl' => 'https://queue.amazonaws.com/012345678910/MyQueue', ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'The following operation creates an SQS queue named MyQueue.', 'id' => 'create-an-sqs-queue-1445915686197', 'title' => 'Create an SQS queue', ], ], 'GetQueueUrl' => [ [ 'input' => [ 'QueueName' => 'MyQueue', 'QueueOwnerAWSAccountId' => '12345678910', ], 'output' => [ 'QueueUrl' => 'https://queue.amazonaws.com/123456789101112/MyQueue', ], 'comments' => [ 'input' => [], 'output' => [], ], 'description' => 'The following example retrieves the queue ARN.', 'id' => 'retrieve-queue-attributes-from-an-sqs-queue-1445915930574', 'title' => 'Retrieve queue attributes from an SQS queue', ], ], ],];

0 comments on commit 4a56888

Please sign in to comment.