All Products
Search
Document Center

Intelligent Media Services:ListMediaLiveInputSecurityGroups

Last Updated:Mar 24, 2025

Queries the security groups in MediaLive.

Operation description

QPS limit

This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ice:ListMediaLiveInputSecurityGroupslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
MaxResultsintegerNo

The number of entries per page. Valid values: 1 to 100. Default value: If you do not specify this parameter or if you set a value smaller than 10, the default value is 10. If you set a value greater than 100, the default value is 100.

10
SkipintegerNo

The number of entries to be skipped in the query. If the number of entries you attempt to skip exceeds the number of entries that meet the condition, an empty list is returned.

20
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.

caeba0bbb2be03f84eb48b699f0a4883
SortOrderstringNo

The sorting order of the security groups by creation time. Default value: asc. Valid values: desc and asc. asc indicates the ascending order, and desc indicates the descending order.

desc
KeywordstringNo

The keyword of the query. You can perform a fuzzy search on security group ID or name.

123

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

123e4567-e89b-12d3-a456-426614174000
SecurityGroupsarray<object>

The security groups.

securityGroupobject

The information about a security group.

SecurityGroupIdstring

The ID of the security group.

SEGK5KA6KYKAWQQH
Namestring

The security group name.

mysg
WhitelistRulesarray

The security group rules.

whitelistRulestring

The IPv4 addresses that are allowed to push content to MediaLive.

10.1.1.0/24"
CreateTimestring

The time when the security group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2024-12-03T06:56:42Z
InputIdsarray

The IDs of the inputs associated with the security group.

inputIdstring

The input ID associated with the security group.

SEGK5KA6KYKAWQQH
NextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results.

caeba0bbb2be03f84eb48b699f0a4883
MaxResultsinteger

The number of entries returned per page.

10
TotalCountinteger

The total number of entries returned.

100

Examples

Sample success responses

JSONformat

{
  "RequestId": "123e4567-e89b-12d3-a456-426614174000",
  "SecurityGroups": [
    {
      "SecurityGroupId": "SEGK5KA6KYKAWQQH",
      "Name": "mysg",
      "WhitelistRules": [
        "10.1.1.0/24\""
      ],
      "CreateTime": "2024-12-03T06:56:42Z",
      "InputIds": [
        "SEGK5KA6KYKAWQQH"
      ]
    }
  ],
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "MaxResults": 10,
  "TotalCount": 100
}

Error codes

For a list of error codes, visit the Service error codes.