ELBProxy / Client / get_proxy_configuration_contents
get_proxy_configuration_contents¶
- ELBProxy.Client.get_proxy_configuration_contents(**kwargs)¶
Retrieves the configuration file, the configuration archive, or both for the specified proxy. This operation is separate from GetProxy so that you can grant access to proxy metadata without granting access to the configuration content.
See also: AWS API Documentation
Request Syntax
response = client.get_proxy_configuration_contents( proxyIdentifier='string', includeConfigFile=True|False, includeConfigArchive=True|False )
- Parameters:
proxyIdentifier (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the proxy.
includeConfigFile (boolean) – Indicates whether to include the configuration file contents in the response. The default is
false.includeConfigArchive (boolean) – Indicates whether to include the configuration archive contents in the response. The default is
false.
- Return type:
dict
- Returns:
Response Syntax
{ 'configurationFileContents': b'bytes', 'configurationArchiveContents': b'bytes', 'configurationMetadata': { 'configFileHash': 'string', 'configArchiveHash': 'string', 'configFileLastUpdatedAt': datetime(2015, 1, 1), 'configArchiveLastUpdatedAt': datetime(2015, 1, 1) }, 'customerKmsKeyArn': 'string' }
Response Structure
(dict) –
configurationFileContents (bytes) –
The configuration file contents. Populated only if
includeConfigFilewastrue.configurationArchiveContents (bytes) –
The configuration archive contents. Populated only if
includeConfigArchivewastrue.configurationMetadata (dict) –
The configuration metadata for the proxy.
configFileHash (string) –
The SHA-256 hash of the configuration file.
configArchiveHash (string) –
The SHA-256 hash of the configuration archive. This value is absent when the proxy does not have a configuration archive.
configFileLastUpdatedAt (datetime) –
The date and time that the configuration file was last updated.
configArchiveLastUpdatedAt (datetime) –
The date and time that the configuration archive was last updated.
customerKmsKeyArn (string) –
CMK ARN used to encrypt the proxy’s configuration content
Exceptions
ELBProxy.Client.exceptions.ValidationExceptionELBProxy.Client.exceptions.ResourceNotFoundExceptionELBProxy.Client.exceptions.InternalServerExceptionELBProxy.Client.exceptions.ThrottlingExceptionELBProxy.Client.exceptions.AccessDeniedException