PS C:\Users\toshi\OneDrive\Documents\ElasticSearch\command-2021> ./awsescurl-db.ps1 -X GET -d "@search-search-ngram-and-kuromoji-2.json" "https://search-tmtest-xxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyy.es.amazonaws.com/search-ngram-and-kuromoji/_search?pretty" {'access_key': 'ASIAUPPPMJZZQH6CQCWM', 'data': '@search-search-ngram-and-kuromoji-2.json', 'data_binary': True, 'header': ['Content-Type: application/json'], 'include': False, 'insecure': False, 'profile': 'default', 'region': 'yyyyyyyyy', 'request': 'GET', 'secret_key': 'E+d5nivacW581J3LD4hCscpxM0/TlUkzwDksA0GH', 'security_token': 'FwoGZXIvYXdzEEcaDIvglpHh001mkmAzmiKwARuYJhyeEBL6Huk7ydPhJ6Mmh4mRIox6ar81wa5h4eVREqNA7BNJ3gjgzU3ADRDSpvf7cjsKo2oN6dx+bLVGDf7RdHUdNcuiODAAknZTqtoyNjdMNl0UUsZLASjvbMcZZ0VhTqo4ToqYPKivQcbrIU3W+Af1jJYLtZi6zcGgj/kBcshN2TevHj//7ESnfawHDvtn3YeMe6fvAaTTykkkRA5Jx5oUBgcdLZVom/0ignvUKN+E1oIGMi00U1HYyUCBSzNl+SM3KHjNtMAE9kIeEFsYgwocprvjfzHVR2Lb5m1HHg6F1Mo=', 'service': 'es', 'session_token': None, 'uri': 'https://search-tmtest-xxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyy.es.amazonaws.com/search-ngram-and-kuromoji/_search?pretty', 'verbose': True} 'pretty=' ('\n' 'CANONICAL REQUEST = GET\n' '/search-ngram-and-kuromoji/_search\n' 'pretty=\n' 'host:search-tmtest-xxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyy.es.amazonaws.com\n' 'x-amz-date:20210320T050432Z\n' 'x-amz-security-token:FwoGZXIvYXdzEEcaDIvglpHh001mkmAzmiKwARuYJhyeEBL6Huk7ydPhJ6Mmh4mRIox6ar81wa5h4eVREqNA7BNJ3gjgzU3ADRDSpvf7cjsKo2oN6dx+bLVGDf7RdHUdNcuiODAAknZTqtoyNjdMNl0UUsZLASjvbMcZZ0VhTqo4ToqYPKivQcbrIU3W+Af1jJYLtZi6zcGgj/kBcshN2TevHj//7ESnfawHDvtn3YeMe6fvAaTTykkkRA5Jx5oUBgcdLZVom/0ignvUKN+E1oIGMi00U1HYyUCBSzNl+SM3KHjNtMAE9kIeEFsYgwocprvjfzHVR2Lb5m1HHg6F1Mo=\n' '\n' 'host;x-amz-date;x-amz-security-token\n' '97afd015697a58245ee0d253fa430f3ed43527e697e33884ab79ebc4f46aa8f9') ('\n' 'STRING_TO_SIGN = AWS4-HMAC-SHA256\n' '20210320T050432Z\n' '20210320/yyyyyyyyy/es/aws4_request\n' 'f53cfa31c2780894a7cb1903890ef02b7731c95b00105d7fdb7132a33de141fc') '\nHEADERS++++++++++++++++++++++++++++++++++++' {'Authorization': 'AWS4-HMAC-SHA256 ' 'Credential=ASIAUPPPMJZZQH6CQCWM/20210320/yyyyyyyyy/es/aws4_request, ' 'SignedHeaders=host;x-amz-date;x-amz-security-token, ' 'Signature=fbae6b35b71aacd8276c63e3d1616124a4bdf3efbe55b6bb391a44235a71f19b', 'Content-Type': 'application/json', 'x-amz-content-sha256': '97afd015697a58245ee0d253fa430f3ed43527e697e33884ab79ebc4f46aa8f9', 'x-amz-date': '20210320T050432Z', 'x-amz-security-token': 'FwoGZXIvYXdzEEcaDIvglpHh001mkmAzmiKwARuYJhyeEBL6Huk7ydPhJ6Mmh4mRIox6ar81wa5h4eVREqNA7BNJ3gjgzU3ADRDSpvf7cjsKo2oN6dx+bLVGDf7RdHUdNcuiODAAknZTqtoyNjdMNl0UUsZLASjvbMcZZ0VhTqo4ToqYPKivQcbrIU3W+Af1jJYLtZi6zcGgj/kBcshN2TevHj//7ESnfawHDvtn3YeMe6fvAaTTykkkRA5Jx5oUBgcdLZVom/0ignvUKN+E1oIGMi00U1HYyUCBSzNl+SM3KHjNtMAE9kIeEFsYgwocprvjfzHVR2Lb5m1HHg6F1Mo='} '\nBEGIN REQUEST++++++++++++++++++++++++++++++++++++' ('Request URL = ' 'https://search-tmtest-xxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyy.es.amazonaws.com/search-ngram-and-kuromoji/_search?pretty') '\nRESPONSE++++++++++++++++++++++++++++++++++++' 'Response code: 200\n' {'Date': 'Sat, 20 Mar 2021 05:04:32 GMT', 'Content-Type': 'application/json; charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'close', 'Access-Control-Allow-Origin': '*', 'Content-Encoding': 'gzip', 'Vary': 'Accept-Encoding, User-Agent'} { "took" : 45, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : { "value" : 1, "relation" : "eq" }, "max_score" : 144.35374, "hits" : [ { "_index" : "search-ngram-and-kuromoji", "_type" : "_doc", "_id" : "ucNKC3gBNKbjtYmSAtQp", "_score" : 144.35374, "_source" : { "section_url" : "a007.htm#topic_qws_zxv_dsw" }, "highlight" : { "section_text" : [ "突や衝突に近い状態(SRSエアバッグの作動および路上障害物との接触など)が発生した時に車" ], "section" : [ "イベントデータレコーダー" ] } } ] } } PS C:\Users\toshi\OneDrive\Documents\ElasticSearch\command-2021>