2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

今週覚えたAWSのちょっとした知識をアウトプット

2
Posted at

AWS IoTのトピックについて

トピックの階層は、8階層までしか作ることは出来ない。

aaa/bbb/ccc/ddd/eee/fff/ggg/hhh👈OK
aaa/bbb/ccc/ddd/eee/fff/ggg/hhh/iii👈NG

ちなみに、AWS CLIでpublishするとこんなエラーが出ました

An error occurred (InvalidRequestException) when calling the Publish operation: Topic can't contain more than 8 parts

AWS Glueのジョブ実行について

AWS Glueのジョブにはキューイング機能があり、同時実行数の制限などを超えた場合は自動的にキューに入れて、制限が解放されるのを待ってくれる。

AWS Athenaのクエリ実行について

Athenaでクエリ実行する際は、start-query-executionを利用するがこれは非同期で行われる。
つまり、クエリが成功したかどうかはこれだけでは判断できない。

登録であれば、

  • start-query-executionでクエリを実行し、
  • get-query-executionでクエリ結果を確認(ステータスがRUNNINGの場合は、クエリが終わっていないため少し待って再度確認する必要がある)

する必要がある。

取得であれば、

  • start-query-executionでクエリを実行し、
  • get-query-executionでクエリ結果を確認し、
  • get-query-resultsでデータを取得

する必要がある。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?