What does the batch._client.describe_endpoints function do?

孤街醉人 提交于 2019-12-24 19:40:28

问题


Offshoot from this question. Very simple question.

table = boto3.resources('dynamodb').Table('TableName')
with table.batch_writer() as batch:
    batch.put_item(Items=[list_of_items])

batch._client.describe_endpoints()

Returns a response that looks like this.

{'RequestId': 'U4BS4PNCBKA9JO3M7TIMGDFSMJVV4KQNSO5AEMVJF66Q9ASUAAJH',
 'HTTPStatusCode': 200,
 'HTTPHeaders': {'server': 'Server',
  'date': 'Wed, 27 Mar 2019 05:05:03 GMT',
  'content-type': 'application/x-amz-json-1.0',
  'content-length': '90',
  'connection': 'keep-alive',
  'x-amzn-requestid': 'U4BS4PNCBKA9JO3M7TIMGDFSMJVV4KQNSO5AEMVJF66Q9ASUAAJT',
  'x-amz-crc32': '1615537084'},
 'RetryAttempts': 0}

I can't find the description for the method or the help documents in the aws documentation. What does this function do? What is it referencing?

来源:https://stackoverflow.com/questions/55370149/what-does-the-batch-client-describe-endpoints-function-do

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!