update_input_security_group

update_input_security_group(**kwargs)

Update an Input Security Group's Whilelists.

See also: AWS API Documentation

Request Syntax

response = client.update_input_security_group(
    InputSecurityGroupId='string',
    Tags={
        'string': 'string'
    },
    WhitelistRules=[
        {
            'Cidr': 'string'
        },
    ]
)
Parameters
  • InputSecurityGroupId (string) -- [REQUIRED] The id of the Input Security Group to update.
  • Tags (dict) --

    A collection of key-value pairs.

    • (string) -- Placeholder documentation for __string
      • (string) -- Placeholder documentation for __string
  • WhitelistRules (list) --

    List of IPv4 CIDR addresses to whitelist

    • (dict) -- An IPv4 CIDR to whitelist.
      • Cidr (string) -- The IPv4 CIDR to whitelist.
Return type

dict

Returns

Response Syntax

{
    'SecurityGroup': {
        'Arn': 'string',
        'Id': 'string',
        'Inputs': [
            'string',
        ],
        'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
        'Tags': {
            'string': 'string'
        },
        'WhitelistRules': [
            {
                'Cidr': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) -- Successfully initiated the update of the Input Security Group.
    • SecurityGroup (dict) -- An Input Security Group
      • Arn (string) -- Unique ARN of Input Security Group
      • Id (string) -- The Id of the Input Security Group
      • Inputs (list) -- The list of inputs currently using this Input Security Group.
        • (string) -- Placeholder documentation for __string
      • State (string) -- The current state of the Input Security Group.
      • Tags (dict) -- A collection of key-value pairs.
        • (string) -- Placeholder documentation for __string
          • (string) -- Placeholder documentation for __string
      • WhitelistRules (list) -- Whitelist rules and their sync status
        • (dict) -- Whitelist rule
          • Cidr (string) -- The IPv4 CIDR that's whitelisted.

Exceptions

  • MediaLive.Client.exceptions.BadRequestException
  • MediaLive.Client.exceptions.InternalServerErrorException
  • MediaLive.Client.exceptions.ForbiddenException
  • MediaLive.Client.exceptions.BadGatewayException
  • MediaLive.Client.exceptions.NotFoundException
  • MediaLive.Client.exceptions.GatewayTimeoutException
  • MediaLive.Client.exceptions.ConflictException