问题
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