[Groonga-commit] groonga/gcs [master] Add ACS responses

アーカイブの一覧に戻る

Yoji SHIDARA null+****@clear*****
Fri Nov 9 17:56:26 JST 2012


Yoji SHIDARA	2012-11-09 17:56:26 +0900 (Fri, 09 Nov 2012)

  New Revision: 6ac2abd41b646f3bd324d118a31e14142eec1a2d
  https://github.com/groonga/gcs/commit/6ac2abd41b646f3bd324d118a31e14142eec1a2d

  Log:
    Add ACS responses

  Added files:
    test/response/configuration/CreateDomain/for-existing-domain.txt
    test/response/configuration/CreateDomain/with-invalid-character-and-too-long.txt
    test/response/configuration/CreateDomain/with-invalid-character.txt
    test/response/configuration/CreateDomain/with-too-long-name.txt
    test/response/configuration/CreateDomain/with-too-short-one-letter-name.txt
    test/response/configuration/CreateDomain/with-too-short-two-letters-name.txt
    test/response/configuration/CreateDomain/with-valid-name.txt
    test/response/configuration/CreateDomain/without-domain-name.txt
    test/response/configuration/DefineIndexField/literal-redefine-update-options.txt
    test/response/configuration/DefineIndexField/literal-with-options.txt
    test/response/configuration/DefineIndexField/literal-without-options.txt
    test/response/configuration/DefineIndexField/setup-prepare-the-test-domain.txt
    test/response/configuration/DefineIndexField/text-redefine-update-options.txt
    test/response/configuration/DefineIndexField/text-with-options.txt
    test/response/configuration/DefineIndexField/text-without-options.txt
    test/response/configuration/DefineIndexField/uint-redefine.txt
    test/response/configuration/DefineIndexField/uint-without-options.txt
    test/response/configuration/DefineIndexField/with-domain-name-including-invalid-character.txt
    test/response/configuration/DefineIndexField/with-too-long-domain-name-including-invalid-character.txt
    test/response/configuration/DefineIndexField/with-too-long-domain-name.txt
    test/response/configuration/DefineIndexField/with-too-short-one-letter-domain-name.txt
    test/response/configuration/DefineIndexField/with-too-short-two-letters-domain-name.txt
    test/response/configuration/DefineIndexField/without-domain-domain-name.txt
    test/response/configuration/DeleteDomain/for-not-existing-domain.txt
    test/response/configuration/DeleteDomain/setup-to-be-deleted-domain.txt
    test/response/configuration/DeleteDomain/with-invalid-character-and-too-long.txt
    test/response/configuration/DeleteDomain/with-invalid-character.txt
    test/response/configuration/DeleteDomain/with-too-long-name.txt
    test/response/configuration/DeleteDomain/with-too-short-one-letter-name.txt
    test/response/configuration/DeleteDomain/with-too-short-two-letters-name.txt
    test/response/configuration/DeleteDomain/with-valid-name.txt
  Removed files:
    test/response/configuration/CreateDomain-results/for-existing-domain.txt
    test/response/configuration/CreateDomain-results/setup-delete-all-domains.txt
    test/response/configuration/CreateDomain-results/with-too-long-name.txt
    test/response/configuration/CreateDomain-results/with-too-short-one-letter-name.txt
    test/response/configuration/CreateDomain-results/with-too-short-two-letters-name.txt
    test/response/configuration/CreateDomain-results/with-valid-name.txt
    test/response/configuration/CreateDomain-results/without-domain-name.txt
    test/response/configuration/DeleteDomain-results/for-not-existing-domain.txt
    test/response/configuration/DeleteDomain-results/setup-delete-all-domains.txt
    test/response/configuration/DeleteDomain-results/setup-to-be-deleted-domain.txt
    test/response/configuration/DeleteDomain-results/with-too-long-name.txt
    test/response/configuration/DeleteDomain-results/with-too-short-one-letter-name.txt
    test/response/configuration/DeleteDomain-results/with-too-short-two-letters-name.txt
    test/response/configuration/DeleteDomain-results/with-valid-name.txt
  Renamed files:
    test/response/configuration/DeleteDomain/without-domain-name.txt
      (from test/response/configuration/DeleteDomain-results/without-domain-name.txt)

  Deleted: test/response/configuration/CreateDomain-results/for-existing-domain.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/for-existing-domain.txt    2012-11-09 17:51:38 +0900 (afd2e69)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: 700247c1-3dd2-44f2-9377-d3a1668985de
-content-type: application/xml
-content-length: 835
-connection: keep-alive
-
-<?xml version="1.0"?><CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><CreateDomainResult><DomainStatus><Created>true</Created><Deleted>false</Deleted><DocService><Endpoint>doc-companies-8ct2tihgrob8xuyvvdlqal5nx8.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>8ct2tihgrob8xuyvvdlqal5nx8/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-8ct2tihgrob8xuyvvdlqal5nx8.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></CreateDomainResult><ResponseMetadata><RequestId>700247c1-3dd2-44f2-9377-d3a1668985de</RequestId></ResponseMetadata></CreateDomainResponse>
\ No newline at end of file

  Deleted: test/response/configuration/CreateDomain-results/setup-delete-all-domains.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/setup-delete-all-domains.txt    2012-11-09 17:51:38 +0900 (6527f82)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: 1d3a2de6-4a97-4c36-afb8-87db8fa8c415
-content-type: application/xml
-content-length: 260
-connection: keep-alive
-
-<?xml version="1.0"?><GCSDeleteAllDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><GCSDeleteAllDomainsResult/><ResponseMetadata><RequestId>1d3a2de6-4a97-4c36-afb8-87db8fa8c415</RequestId></ResponseMetadata></GCSDeleteAllDomainsResponse>
\ No newline at end of file

  Deleted: test/response/configuration/CreateDomain-results/with-too-long-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/with-too-long-name.txt    2012-11-09 17:51:38 +0900 (b5dccbb)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: 557fc0af-f4e4-43de-abb0-9a4c37fe8f39
-content-type: application/xml
-content-length: 387
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value &apos;abcdefghijklmnopqrstuvwxyz0123456789&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length less than or equal to 28</Message></Error></Errors><RequestID>557fc0af-f4e4-43de-abb0-9a4c37fe8f39</RequestID></Response>
\ No newline at end of file

  Deleted: test/response/configuration/CreateDomain-results/with-too-short-one-letter-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/with-too-short-one-letter-name.txt    2012-11-09 17:51:38 +0900 (18dcd66)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: a44e92e1-de9e-40f1-b9c0-cbbb81ee3b08
-content-type: application/xml
-content-length: 497
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>2 validation errors detected: Value &apos;a&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value &apos;a&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>a44e92e1-de9e-40f1-b9c0-cbbb81ee3b08</RequestID></Response>
\ No newline at end of file

  Deleted: test/response/configuration/CreateDomain-results/with-too-short-two-letters-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/with-too-short-two-letters-name.txt    2012-11-09 17:51:38 +0900 (575c879)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: 8b30901e-5d00-46f3-8563-17f6eb93c333
-content-type: application/xml
-content-length: 355
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value &apos;ab&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>8b30901e-5d00-46f3-8563-17f6eb93c333</RequestID></Response>
\ No newline at end of file

  Deleted: test/response/configuration/CreateDomain-results/with-valid-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/with-valid-name.txt    2012-11-09 17:51:38 +0900 (441d2f1)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: bbae7c86-874d-4904-bc29-4895ce0a066d
-content-type: application/xml
-content-length: 835
-connection: keep-alive
-
-<?xml version="1.0"?><CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><CreateDomainResult><DomainStatus><Created>true</Created><Deleted>false</Deleted><DocService><Endpoint>doc-companies-8ct2tihgrob8xuyvvdlqal5nx8.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>8ct2tihgrob8xuyvvdlqal5nx8/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-8ct2tihgrob8xuyvvdlqal5nx8.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></CreateDomainResult><ResponseMetadata><RequestId>bbae7c86-874d-4904-bc29-4895ce0a066d</RequestId></ResponseMetadata></CreateDomainResponse>
\ No newline at end of file

  Deleted: test/response/configuration/CreateDomain-results/without-domain-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/CreateDomain-results/without-domain-name.txt    2012-11-09 17:51:38 +0900 (18d663a)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: 55af78d2-d34d-4355-b1fa-d3aa0983bf7e
-content-type: application/xml
-content-length: 495
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>2 validation errors detected: Value &apos;&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value &apos;&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>55af78d2-d34d-4355-b1fa-d3aa0983bf7e</RequestID></Response>
\ No newline at end of file

  Added: test/response/configuration/CreateDomain/for-existing-domain.txt (+30 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/for-existing-domain.txt    2012-11-09 17:56:26 +0900 (edd08cf)
@@ -0,0 +1,30 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 2bb9d970-2a4b-11e2-ad5f-f51cf7168cf9
+content-type: text/xml
+content-length: 918
+date: Fri, 09 Nov 2012 08:55:11 GMT
+
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>549934713630/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>2bb9d970-2a4b-11e2-ad5f-f51cf7168cf9</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Added: test/response/configuration/CreateDomain/with-invalid-character-and-too-long.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/with-invalid-character-and-too-long.txt    2012-11-09 17:56:26 +0900 (e940b11)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 31b49c2a-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 581
+date: Fri, 09 Nov 2012 08:55:21 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value '@abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value '@abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message>
+  </Error>
+  <RequestId>31b49c2a-2a4b-11e2-8f15-e551e85874bd</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/CreateDomain/with-invalid-character.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/with-invalid-character.txt    2012-11-09 17:56:26 +0900 (3ef1a0b)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 306cda5a-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 404
+date: Fri, 09 Nov 2012 08:55:19 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value '@_@' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+</Message>
+  </Error>
+  <RequestId>306cda5a-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/CreateDomain/with-too-long-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/with-too-long-name.txt    2012-11-09 17:56:26 +0900 (3fda82c)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 2f22ce27-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 421
+date: Fri, 09 Nov 2012 08:55:16 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value 'abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message>
+  </Error>
+  <RequestId>2f22ce27-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/CreateDomain/with-too-short-one-letter-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/with-too-short-one-letter-name.txt    2012-11-09 17:56:26 +0900 (548d62e)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 2cc52f71-2a4b-11e2-8f0a-5d9365f34086
+content-type: text/xml
+content-length: 511
+date: Fri, 09 Nov 2012 08:55:12 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value 'a' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value 'a' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>2cc52f71-2a4b-11e2-8f0a-5d9365f34086</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/CreateDomain/with-too-short-two-letters-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/with-too-short-two-letters-name.txt    2012-11-09 17:56:26 +0900 (2aac5f5)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 2e1974d4-2a4b-11e2-8f0a-5d9365f34086
+content-type: text/xml
+content-length: 389
+date: Fri, 09 Nov 2012 08:55:15 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value 'ab' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>2e1974d4-2a4b-11e2-8f0a-5d9365f34086</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/CreateDomain/with-valid-name.txt (+30 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/with-valid-name.txt    2012-11-09 17:56:26 +0900 (c7373f4)
@@ -0,0 +1,30 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 2965aff1-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 918
+date: Fri, 09 Nov 2012 08:55:10 GMT
+
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>549934713630/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>2965aff1-2a4b-11e2-8f15-e551e85874bd</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Added: test/response/configuration/CreateDomain/without-domain-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/CreateDomain/without-domain-name.txt    2012-11-09 17:56:26 +0900 (699e101)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 32b91428-2a4b-11e2-ad5f-f51cf7168cf9
+content-type: text/xml
+content-length: 509
+date: Fri, 09 Nov 2012 08:55:22 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value '' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value '' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>32b91428-2a4b-11e2-ad5f-f51cf7168cf9</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/literal-redefine-update-options.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/literal-redefine-update-options.txt    2012-11-09 17:56:26 +0900 (4f4a7e4)
@@ -0,0 +1,14 @@
+HTTP/1.1 409 Conflict
+x-amzn-requestid: 40bdf238-2a4b-11e2-ad5f-f51cf7168cf9
+content-type: text/xml
+content-length: 340
+date: Fri, 09 Nov 2012 08:55:46 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>InvalidType</Code>
+    <Message>Error defining field: product. An IndexField may not be both FacetEnabled and ResultEnabled</Message>
+  </Error>
+  <RequestId>40bdf238-2a4b-11e2-ad5f-f51cf7168cf9</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/literal-with-options.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/literal-with-options.txt    2012-11-09 17:56:26 +0900 (c4319bf)
@@ -0,0 +1,14 @@
+HTTP/1.1 409 Conflict
+x-amzn-requestid: 3f915915-2a4b-11e2-ad5f-f51cf7168cf9
+content-type: text/xml
+content-length: 353
+date: Fri, 09 Nov 2012 08:55:44 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>InvalidType</Code>
+    <Message>Error defining field: product_with_options. An IndexField may not be both FacetEnabled and ResultEnabled</Message>
+  </Error>
+  <RequestId>3f915915-2a4b-11e2-ad5f-f51cf7168cf9</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/literal-without-options.txt (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/literal-without-options.txt    2012-11-09 17:56:26 +0900 (3652ca5)
@@ -0,0 +1,26 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 3d85f936-2a4b-11e2-8f0a-5d9365f34086
+content-type: text/xml
+content-length: 718
+date: Fri, 09 Nov 2012 08:55:42 GMT
+
+<DefineIndexFieldResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DefineIndexFieldResult>
+    <IndexField>
+      <Status>
+        <CreationDate>2012-11-09T08:55:41Z</CreationDate>
+        <PendingDeletion>false</PendingDeletion>
+        <UpdateVersion>7</UpdateVersion>
+        <State>RequiresIndexDocuments</State>
+        <UpdateDate>2012-11-09T08:55:41Z</UpdateDate>
+      </Status>
+      <Options>
+        <IndexFieldType>literal</IndexFieldType>
+        <IndexFieldName>product</IndexFieldName>
+      </Options>
+    </IndexField>
+  </DefineIndexFieldResult>
+  <ResponseMetadata>
+    <RequestId>3d85f936-2a4b-11e2-8f0a-5d9365f34086</RequestId>
+  </ResponseMetadata>
+</DefineIndexFieldResponse>

  Added: test/response/configuration/DefineIndexField/setup-prepare-the-test-domain.txt (+30 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/setup-prepare-the-test-domain.txt    2012-11-09 17:56:26 +0900 (061aa8f)
@@ -0,0 +1,30 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 338b315e-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 918
+date: Fri, 09 Nov 2012 08:55:25 GMT
+
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>549934713630/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>338b315e-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Added: test/response/configuration/DefineIndexField/text-redefine-update-options.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/text-redefine-update-options.txt    2012-11-09 17:56:26 +0900 (2586cd6)
@@ -0,0 +1,14 @@
+HTTP/1.1 409 Conflict
+x-amzn-requestid: 381acb7e-2a4b-11e2-ad5f-f51cf7168cf9
+content-type: text/xml
+content-length: 337
+date: Fri, 09 Nov 2012 08:55:32 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>InvalidType</Code>
+    <Message>Error defining field: name. An IndexField may not be both FacetEnabled and ResultEnabled</Message>
+  </Error>
+  <RequestId>381acb7e-2a4b-11e2-ad5f-f51cf7168cf9</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/text-with-options.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/text-with-options.txt    2012-11-09 17:56:26 +0900 (b2555e0)
@@ -0,0 +1,14 @@
+HTTP/1.1 409 Conflict
+x-amzn-requestid: 36fc14bf-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 350
+date: Fri, 09 Nov 2012 08:55:30 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>InvalidType</Code>
+    <Message>Error defining field: name_with_options. An IndexField may not be both FacetEnabled and ResultEnabled</Message>
+  </Error>
+  <RequestId>36fc14bf-2a4b-11e2-8f15-e551e85874bd</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/text-without-options.txt (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/text-without-options.txt    2012-11-09 17:56:26 +0900 (e7cb2dc)
@@ -0,0 +1,26 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 34f19f8c-2a4b-11e2-8f0a-5d9365f34086
+content-type: text/xml
+content-length: 712
+date: Fri, 09 Nov 2012 08:55:28 GMT
+
+<DefineIndexFieldResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DefineIndexFieldResult>
+    <IndexField>
+      <Status>
+        <CreationDate>2012-11-09T08:55:27Z</CreationDate>
+        <PendingDeletion>false</PendingDeletion>
+        <UpdateVersion>4</UpdateVersion>
+        <State>RequiresIndexDocuments</State>
+        <UpdateDate>2012-11-09T08:55:27Z</UpdateDate>
+      </Status>
+      <Options>
+        <IndexFieldType>text</IndexFieldType>
+        <IndexFieldName>name</IndexFieldName>
+      </Options>
+    </IndexField>
+  </DefineIndexFieldResult>
+  <ResponseMetadata>
+    <RequestId>34f19f8c-2a4b-11e2-8f0a-5d9365f34086</RequestId>
+  </ResponseMetadata>
+</DefineIndexFieldResponse>

  Added: test/response/configuration/DefineIndexField/uint-redefine.txt (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/uint-redefine.txt    2012-11-09 17:56:26 +0900 (ddfa4bc)
@@ -0,0 +1,26 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 3b7b3445-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 711
+date: Fri, 09 Nov 2012 08:55:39 GMT
+
+<DefineIndexFieldResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DefineIndexFieldResult>
+    <IndexField>
+      <Status>
+        <CreationDate>2012-11-09T08:55:34Z</CreationDate>
+        <PendingDeletion>false</PendingDeletion>
+        <UpdateVersion>6</UpdateVersion>
+        <State>RequiresIndexDocuments</State>
+        <UpdateDate>2012-11-09T08:55:38Z</UpdateDate>
+      </Status>
+      <Options>
+        <IndexFieldType>uint</IndexFieldType>
+        <IndexFieldName>age</IndexFieldName>
+      </Options>
+    </IndexField>
+  </DefineIndexFieldResult>
+  <ResponseMetadata>
+    <RequestId>3b7b3445-2a4b-11e2-8f15-e551e85874bd</RequestId>
+  </ResponseMetadata>
+</DefineIndexFieldResponse>

  Added: test/response/configuration/DefineIndexField/uint-without-options.txt (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/uint-without-options.txt    2012-11-09 17:56:26 +0900 (efefc51)
@@ -0,0 +1,26 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 39347905-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 711
+date: Fri, 09 Nov 2012 08:55:35 GMT
+
+<DefineIndexFieldResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DefineIndexFieldResult>
+    <IndexField>
+      <Status>
+        <CreationDate>2012-11-09T08:55:34Z</CreationDate>
+        <PendingDeletion>false</PendingDeletion>
+        <UpdateVersion>5</UpdateVersion>
+        <State>RequiresIndexDocuments</State>
+        <UpdateDate>2012-11-09T08:55:34Z</UpdateDate>
+      </Status>
+      <Options>
+        <IndexFieldType>uint</IndexFieldType>
+        <IndexFieldName>age</IndexFieldName>
+      </Options>
+    </IndexField>
+  </DefineIndexFieldResult>
+  <ResponseMetadata>
+    <RequestId>39347905-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+  </ResponseMetadata>
+</DefineIndexFieldResponse>

  Added: test/response/configuration/DefineIndexField/with-domain-name-including-invalid-character.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/with-domain-name-including-invalid-character.txt    2012-11-09 17:56:26 +0900 (c268e1f)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 4520b042-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 404
+date: Fri, 09 Nov 2012 08:55:54 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value '@_@' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+</Message>
+  </Error>
+  <RequestId>4520b042-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/with-too-long-domain-name-including-invalid-character.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/with-too-long-domain-name-including-invalid-character.txt    2012-11-09 17:56:26 +0900 (463c03a)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 464a6336-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 581
+date: Fri, 09 Nov 2012 08:55:55 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value '@abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value '@abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message>
+  </Error>
+  <RequestId>464a6336-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/with-too-long-domain-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/with-too-long-domain-name.txt    2012-11-09 17:56:26 +0900 (57eef8a)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 4414e51d-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 421
+date: Fri, 09 Nov 2012 08:55:52 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value 'abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message>
+  </Error>
+  <RequestId>4414e51d-2a4b-11e2-8f15-e551e85874bd</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/with-too-short-one-letter-domain-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/with-too-short-one-letter-domain-name.txt    2012-11-09 17:56:26 +0900 (6a580de)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 41ebc3da-2a4b-11e2-ad5f-f51cf7168cf9
+content-type: text/xml
+content-length: 511
+date: Fri, 09 Nov 2012 08:55:49 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value 'a' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value 'a' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>41ebc3da-2a4b-11e2-ad5f-f51cf7168cf9</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/with-too-short-two-letters-domain-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/with-too-short-two-letters-domain-name.txt    2012-11-09 17:56:26 +0900 (4bc46e0)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 431f61fe-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 389
+date: Fri, 09 Nov 2012 08:55:51 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value 'ab' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>431f61fe-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DefineIndexField/without-domain-domain-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DefineIndexField/without-domain-domain-name.txt    2012-11-09 17:56:26 +0900 (03c86c2)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 47493599-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 509
+date: Fri, 09 Nov 2012 08:55:58 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value '' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value '' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>47493599-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Deleted: test/response/configuration/DeleteDomain-results/for-not-existing-domain.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/for-not-existing-domain.txt    2012-11-09 17:51:38 +0900 (05af719)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: 848dc6eb-143b-40de-8db4-78f30ca13953
-content-type: application/xml
-content-length: 239
-connection: keep-alive
-
-<?xml version="1.0"?><DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><DeleteDomainResult/><ResponseMetadata><RequestId>848dc6eb-143b-40de-8db4-78f30ca13953</RequestId></ResponseMetadata></DeleteDomainResponse>
\ No newline at end of file

  Deleted: test/response/configuration/DeleteDomain-results/setup-delete-all-domains.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/setup-delete-all-domains.txt    2012-11-09 17:51:38 +0900 (969028d)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: 8a2213e1-42c7-48e2-b962-1e1e672c5917
-content-type: application/xml
-content-length: 260
-connection: keep-alive
-
-<?xml version="1.0"?><GCSDeleteAllDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><GCSDeleteAllDomainsResult/><ResponseMetadata><RequestId>8a2213e1-42c7-48e2-b962-1e1e672c5917</RequestId></ResponseMetadata></GCSDeleteAllDomainsResponse>
\ No newline at end of file

  Deleted: test/response/configuration/DeleteDomain-results/setup-to-be-deleted-domain.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/setup-to-be-deleted-domain.txt    2012-11-09 17:51:38 +0900 (acc3c75)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: 93c80e33-4baa-4467-a56c-0a433c9f1b42
-content-type: application/xml
-content-length: 835
-connection: keep-alive
-
-<?xml version="1.0"?><CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><CreateDomainResult><DomainStatus><Created>true</Created><Deleted>false</Deleted><DocService><Endpoint>doc-companies-m2pak4cvv4rsup5cdovd72m6w5.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>m2pak4cvv4rsup5cdovd72m6w5/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-m2pak4cvv4rsup5cdovd72m6w5.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></CreateDomainResult><ResponseMetadata><RequestId>93c80e33-4baa-4467-a56c-0a433c9f1b42</RequestId></ResponseMetadata></CreateDomainResponse>
\ No newline at end of file

  Deleted: test/response/configuration/DeleteDomain-results/with-too-long-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/with-too-long-name.txt    2012-11-09 17:51:38 +0900 (c5e04bb)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: 61fcd2df-2da3-42d0-9e65-4323cf6c8e41
-content-type: application/xml
-content-length: 387
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value &apos;abcdefghijklmnopqrstuvwxyz0123456789&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length less than or equal to 28</Message></Error></Errors><RequestID>61fcd2df-2da3-42d0-9e65-4323cf6c8e41</RequestID></Response>
\ No newline at end of file

  Deleted: test/response/configuration/DeleteDomain-results/with-too-short-one-letter-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/with-too-short-one-letter-name.txt    2012-11-09 17:51:38 +0900 (14cba11)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: 83fb445c-3918-4fca-8b59-3f57da9ca264
-content-type: application/xml
-content-length: 497
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>2 validation errors detected: Value &apos;a&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value &apos;a&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>83fb445c-3918-4fca-8b59-3f57da9ca264</RequestID></Response>
\ No newline at end of file

  Deleted: test/response/configuration/DeleteDomain-results/with-too-short-two-letters-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/with-too-short-two-letters-name.txt    2012-11-09 17:51:38 +0900 (79a2f41)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 400 Bad Request
-x-powered-by: Express
-x-amzn-requestid: cf6ae2c0-9eb0-4df2-bc8f-a424d077d385
-content-type: application/xml
-content-length: 355
-connection: keep-alive
-
-<?xml version="1.0"?><Response><Errors><Error><Type>Sender</Type><Code>ValidationError</Code><Message>1 validation error detected: Value &apos;ab&apos; at &apos;domainName&apos; failed to satisfy constraint: Member must have length greater than or equal to 3</Message></Error></Errors><RequestID>cf6ae2c0-9eb0-4df2-bc8f-a424d077d385</RequestID></Response>
\ No newline at end of file

  Deleted: test/response/configuration/DeleteDomain-results/with-valid-name.txt (+0 -8) 100644
===================================================================
--- test/response/configuration/DeleteDomain-results/with-valid-name.txt    2012-11-09 17:51:38 +0900 (7e7a02d)
+++ /dev/null
@@ -1,8 +0,0 @@
-HTTP/1.1 200 OK
-x-powered-by: Express
-x-amzn-requestid: 8febbfad-eee7-488a-8e87-7138e1e2bc87
-content-type: application/xml
-content-length: 835
-connection: keep-alive
-
-<?xml version="1.0"?><DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"><DeleteDomainResult><DomainStatus><Created>false</Created><Deleted>true</Deleted><DocService><Endpoint>doc-companies-m2pak4cvv4rsup5cdovd72m6w5.127.0.0.1.xip.io:3333</Endpoint></DocService><DomainId>m2pak4cvv4rsup5cdovd72m6w5/companies</DomainId><DomainName>companies</DomainName><NumSearchableDocs>0</NumSearchableDocs><RequiresIndexDocuments>false</RequiresIndexDocuments><SearchInstanceCount>0</SearchInstanceCount><SearchPartitionCount>0</SearchPartitionCount><SearchService><Endpoint>search-companies-m2pak4cvv4rsup5cdovd72m6w5.127.0.0.1.xip.io:3333</Endpoint></SearchService></DomainStatus></DeleteDomainResult><ResponseMetadata><RequestId>8febbfad-eee7-488a-8e87-7138e1e2bc87</RequestId></ResponseMetadata></DeleteDomainResponse>
\ No newline at end of file

  Added: test/response/configuration/DeleteDomain/for-not-existing-domain.txt (+30 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/for-not-existing-domain.txt    2012-11-09 17:56:26 +0900 (c447bcf)
@@ -0,0 +1,30 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 4b95f9d2-2a4b-11e2-8f0a-5d9365f34086
+content-type: text/xml
+content-length: 917
+date: Fri, 09 Nov 2012 08:56:07 GMT
+
+<DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DeleteDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>549934713630/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>true</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </DeleteDomainResult>
+  <ResponseMetadata>
+    <RequestId>4b95f9d2-2a4b-11e2-8f0a-5d9365f34086</RequestId>
+  </ResponseMetadata>
+</DeleteDomainResponse>

  Added: test/response/configuration/DeleteDomain/setup-to-be-deleted-domain.txt (+30 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/setup-to-be-deleted-domain.txt    2012-11-09 17:56:26 +0900 (6e1fd74)
@@ -0,0 +1,30 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 4858f7eb-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 918
+date: Fri, 09 Nov 2012 08:56:00 GMT
+
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>549934713630/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>4858f7eb-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Added: test/response/configuration/DeleteDomain/with-invalid-character-and-too-long.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/with-invalid-character-and-too-long.txt    2012-11-09 17:56:26 +0900 (9dc44b6)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 5208d3bb-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 581
+date: Fri, 09 Nov 2012 08:56:15 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value '@abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value '@abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message>
+  </Error>
+  <RequestId>5208d3bb-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DeleteDomain/with-invalid-character.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/with-invalid-character.txt    2012-11-09 17:56:26 +0900 (4f7fbb9)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 508fef56-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 404
+date: Fri, 09 Nov 2012 08:56:13 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value '@_@' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+</Message>
+  </Error>
+  <RequestId>508fef56-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DeleteDomain/with-too-long-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/with-too-long-name.txt    2012-11-09 17:56:26 +0900 (e5c5afa)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 4f9ab96a-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 421
+date: Fri, 09 Nov 2012 08:56:11 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value 'abcdefghijklmnopqrstuvwxyz0123456789' at 'domainName' failed to satisfy constraint: Member must have length less than or equal to 28</Message>
+  </Error>
+  <RequestId>4f9ab96a-2a4b-11e2-8f15-e551e85874bd</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DeleteDomain/with-too-short-one-letter-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/with-too-short-one-letter-name.txt    2012-11-09 17:56:26 +0900 (7ea5ff2)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 4dc7a792-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 511
+date: Fri, 09 Nov 2012 08:56:09 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>2 validation errors detected: Value 'a' at 'domainName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value 'a' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>4dc7a792-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DeleteDomain/with-too-short-two-letters-name.txt (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/with-too-short-two-letters-name.txt    2012-11-09 17:56:26 +0900 (a7dbdd4)
@@ -0,0 +1,14 @@
+HTTP/1.1 400 Bad Request
+x-amzn-requestid: 4ea00634-2a4b-11e2-a392-a97ede14f4ce
+content-type: text/xml
+content-length: 389
+date: Fri, 09 Nov 2012 08:56:10 GMT
+
+<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <Error>
+    <Type>Sender</Type>
+    <Code>ValidationError</Code>
+    <Message>1 validation error detected: Value 'ab' at 'domainName' failed to satisfy constraint: Member must have length greater than or equal to 3</Message>
+  </Error>
+  <RequestId>4ea00634-2a4b-11e2-a392-a97ede14f4ce</RequestId>
+</ErrorResponse>

  Added: test/response/configuration/DeleteDomain/with-valid-name.txt (+30 -0) 100644
===================================================================
--- /dev/null
+++ test/response/configuration/DeleteDomain/with-valid-name.txt    2012-11-09 17:56:26 +0900 (c464aca)
@@ -0,0 +1,30 @@
+HTTP/1.1 200 OK
+x-amzn-requestid: 494c7f33-2a4b-11e2-8f15-e551e85874bd
+content-type: text/xml
+content-length: 917
+date: Fri, 09 Nov 2012 08:56:03 GMT
+
+<DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DeleteDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>549934713630/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>true</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:549934713630:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </DeleteDomainResult>
+  <ResponseMetadata>
+    <RequestId>494c7f33-2a4b-11e2-8f15-e551e85874bd</RequestId>
+  </ResponseMetadata>
+</DeleteDomainResponse>

  Renamed: test/response/configuration/DeleteDomain/without-domain-name.txt (+0 -0) 100%
===================================================================
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る