ECR / Client / put_account_setting
put_account_setting#
- ECR.Client.put_account_setting(**kwargs)#
- Allows you to change the basic scan type version or registry policy scope. - See also: AWS API Documentation - Request Syntax- response = client.put_account_setting( name='string', value='string' ) - Parameters:
- name (string) – - [REQUIRED] - The name of the account setting, such as - BASIC_SCAN_TYPE_VERSIONor- REGISTRY_POLICY_SCOPE.
- value (string) – - [REQUIRED] - Setting value that is specified. The following are valid values for the basic scan type being used: - AWS_NATIVEor- CLAIR. The following are valid values for the registry policy scope being used:- V1or- V2.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'name': 'string', 'value': 'string' } - Response Structure- (dict) – - name (string) – - Retrieves the name of the account setting. 
- value (string) – - Retrieves the value of the specified account setting. 
 
 
 - Exceptions- ECR.Client.exceptions.ServerException
- ECR.Client.exceptions.ValidationException
- ECR.Client.exceptions.InvalidParameterException
- ECR.Client.exceptions.LimitExceededException