AWS SDK for C++AWS SDK for C++ Version 1.11.827 |
#include <AWSHttpResourceClient.h>
Derived class to support retrieving of EC2 Metadata
Definition at line 98 of file AWSHttpResourceClient.h.
"http://169.254.169.254")
Build an instance with default EC2 Metadata service endpoint
"http://169.254.169.254"
"http://169.254.169.254"
connects to the Amazon EC2 Instance metadata Service to retrieve the region the current EC2 instance is running in.
Connects to the Amazon EC2 Instance Metadata Service to retrieve the default credential information (if any).
Connects to the Amazon EC2 Instance Metadata Service to retrieve the credential information (if any) in a more secure way.
Gets endpoint used to connect to the EC2 Instance metadata Service
Connects to an HTTP endpoint to read the specified resource and returns the text contents. The resource URI = endpoint + resourcePath (e.g:http://domain/path/to/res)
| endpoint | The HTTP resource to connect to. |
| resourcePath | A path appended to the endpoint to form the final URI. |
| authToken | An optional authorization token that will be passed as the value of the HTTP header 'Authorization'. |
Reimplemented from Aws::Internal::AWSHttpResourceClient.
Connects to the metadata service to read the specified resource and returns the text contents. The resource URI = m_endpoint + resourcePath.
Sets endpoint used to connect to the EC2 Instance metadata Service