ECR / Client / get_account_setting
get_account_setting#
- ECR.Client.get_account_setting(**kwargs)#
Retrieves the account setting value for the specified setting name.
See also: AWS API Documentation
Request Syntax
response = client.get_account_setting( name='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the account setting, such as
BASIC_SCAN_TYPE_VERSION
orREGISTRY_POLICY_SCOPE
.- Return type:
dict
- Returns:
Response Syntax
{ 'name': 'string', 'value': 'string' }
Response Structure
(dict) –
name (string) –
Retrieves the name of the account setting.
value (string) –
The setting value for the setting name. The following are valid values for the basic scan type being used:
AWS_NATIVE
orCLAIR
. The following are valid values for the registry policy scope being used:V1
orV2
.
Exceptions