ECR / Client / put_account_setting

put_account_setting#

ECR.Client.put_account_setting(**kwargs)#

Allows you to change the basic scan type version by setting the name parameter to either CLAIR to AWS_NATIVE.

See also: AWS API Documentation

Request Syntax

response = client.put_account_setting(
    name='string',
    value='string'
)
Parameters:
  • name (string) –

    [REQUIRED]

    Basic scan type version name.

  • value (string) –

    [REQUIRED]

    Setting value that determines what basic scan type is being used: AWS_NATIVE or CLAIR.

Return type:

dict

Returns:

Response Syntax

{
    'name': 'string',
    'value': 'string'
}

Response Structure

  • (dict) –

    • name (string) –

      Retrieves the the basic scan type version name.

    • value (string) –

      Retrieves the basic scan type value, either AWS_NATIVE or -.

Exceptions

  • ECR.Client.exceptions.ServerException

  • ECR.Client.exceptions.ValidationException

  • ECR.Client.exceptions.InvalidParameterException

  • ECR.Client.exceptions.LimitExceededException