MediaLive / Client / create_input_security_group

create_input_security_group#

MediaLive.Client.create_input_security_group(**kwargs)#

Creates a Input Security Group

See also: AWS API Documentation

Request Syntax

response = client.create_input_security_group(
    Tags={
        'string': 'string'
    },
    WhitelistRules=[
        {
            'Cidr': 'string'
        },
    ]
)
Parameters:
  • 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 created 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