Batch Delete - AWS Elemental MediaLive API Reference

Batch Delete

URI

/prod/batch/delete

HTTP methods

POST

Operation ID: BatchDelete

Responses
Status codeResponse modelDescription
200BatchDeleteResultModel

200 response

400InvalidRequest

400 response

403AccessDenied

403 response

404ResourceNotFound

404 response

409ResourceConflict

409 response

429LimitExceeded

429 response

500InternalServiceError

500 response

502BadGatewayException

502 response

504GatewayTimeoutException

504 response

Schemas

Request bodies

{ "channelIds": [ "string" ], "inputIds": [ "string" ], "inputSecurityGroupIds": [ "string" ], "multiplexIds": [ "string" ] }

Response bodies

{ "successful": [ { "id": "string", "arn": "string", "state": "string" } ], "failed": [ { "id": "string", "arn": "string", "code": "string", "message": "string" } ] }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }

Properties

AccessDenied

PropertyTypeRequiredDescription
message

string

False

BadGatewayException

PropertyTypeRequiredDescription
message

string

False

BatchDelete

Batch delete resource request

PropertyTypeRequiredDescription
channelIds

Array of type string

False

List of channel IDs

inputIds

Array of type string

False

List of input IDs

inputSecurityGroupIds

Array of type string

False

List of input security group IDs

multiplexIds

Array of type string

False

List of multiplex IDs

BatchDeleteResultModel

Batch delete resource results

PropertyTypeRequiredDescription
failed

Array of type BatchFailedResultModel

False

List of failed operations

successful

Array of type BatchSuccessfulResultModel

False

List of successful operations

BatchFailedResultModel

Details from a failed operation

PropertyTypeRequiredDescription
arn

string

False

ARN of the resource

code

string

False

Error code for the failed operation

id

string

False

ID of the resource

message

string

False

Error message for the failed operation

BatchSuccessfulResultModel

Details from a successful operation

PropertyTypeRequiredDescription
arn

string

False

ARN of the resource

id

string

False

ID of the resource

state

string

False

Current state of the resource

GatewayTimeoutException

PropertyTypeRequiredDescription
message

string

False

InternalServiceError

PropertyTypeRequiredDescription
message

string

False

InvalidRequest

PropertyTypeRequiredDescription
message

string

False

LimitExceeded

PropertyTypeRequiredDescription
message

string

False

ResourceConflict

PropertyTypeRequiredDescription
message

string

False

ResourceNotFound

PropertyTypeRequiredDescription
message

string

False

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

BatchDelete