2024/08/05 - Amazon EC2 Container Registry - 2 new api methods
Changes Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry.
Retrieves the basic scan type version name.
See also: AWS API Documentation
Request Syntax
client.get_account_setting( name='string' )
string
[REQUIRED]
Basic scan type version name.
dict
Response Syntax
{ 'name': 'string', 'value': 'string' }
Response Structure
(dict) --
name (string) --
Retrieves the basic scan type version name.
value (string) --
Retrieves the value that specifies what basic scan type is being used: AWS_NATIVE or CLAIR .
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
client.put_account_setting( name='string', value='string' )
string
[REQUIRED]
Basic scan type version name.
string
[REQUIRED]
Setting value that determines what basic scan type is being used: AWS_NATIVE or CLAIR .
dict
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 - .