Gateway instance: describe, update, deregister - AWS Elemental MediaConnect

Gateway instance: describe, update, deregister

URI

/v1/gateway-instances/gatewayInstanceArn

HTTP methods

GET

Operation ID: DescribeGatewayInstance

Displays the details of an instance.

Path parameters
NameTypeRequiredDescription
gatewayInstanceArnStringTrue

The ARN of the gateway instance that you want to describe.

Responses
Status codeResponse modelDescription
200DescribeGatewayInstanceResponse

AWS Elemental MediaConnect returned the instance details successfully.

400ResponseError

The request that you submitted is not valid.

403ResponseError

You don't have the required permissions to perform this operation.

404ResponseError

MediaConnect did not find the resource that you specified in the request.

409ResponseError

There was a conflict when trying to add the requested output

429ResponseError

You have exceeded the service request rate limit for your MediaConnect account.

500ResponseError

MediaConnect can't fulfill your request because it encountered an unexpected condition.

503ResponseError

MediaConnect is currently unavailable. Try again later.

PUT

Operation ID: UpdateGatewayInstance

Updates the configuration of an existing Gateway Instance.

Path parameters
NameTypeRequiredDescription
gatewayInstanceArnStringTrue

The ARN of the gateway instance that you want to describe.

Responses
Status codeResponse modelDescription
200UpdateGatewayInstanceResponse

AWS Elemental MediaConnect is applying the instance state.

400ResponseError

The request that you submitted is not valid.

403ResponseError

You don't have the required permissions to perform this operation.

404ResponseError

MediaConnect did not find the resource that you specified in the request.

409ResponseError

There was a conflict when trying to add the requested output

429ResponseError

You have exceeded the service request rate limit for your MediaConnect account.

500ResponseError

MediaConnect can't fulfill your request because it encountered an unexpected condition.

503ResponseError

MediaConnect is currently unavailable. Try again later.

DELETE

Operation ID: DeregisterGatewayInstance

Deregisters an instance. Before you deregister an instance, all bridges running on the instance must be stopped. If you want to deregister an instance without stopping the bridges, you must use the --force option.

Path parameters
NameTypeRequiredDescription
gatewayInstanceArnStringTrue

The ARN of the gateway instance that you want to describe.

Query parameters
NameTypeRequiredDescription
forceStringFalse

Force the deregistration of an instance. Force will deregister an instance, even if there are bridges running on it.

Responses
Status codeResponse modelDescription
202DeregisterGatewayInstanceResponse

MediaConnect is starting the flow.

400ResponseError

The request that you submitted is not valid.

403ResponseError

You don't have the required permissions to perform this operation.

404ResponseError

MediaConnect did not find the resource that you specified in the request.

409ResponseError

There was a conflict when trying to add the requested output

429ResponseError

You have exceeded the service request rate limit for your MediaConnect account.

500ResponseError

MediaConnect can't fulfill your request because it encountered an unexpected condition.

503ResponseError

MediaConnect is currently unavailable. Try again later.

Schemas

Request bodies

{ "bridgePlacement": enum }

Response bodies

{ "gatewayInstance": { "instanceId": "string", "instanceState": enum, "instanceMessages": [ { "code": "string", "resourceName": "string", "message": "string" } ], "connectionStatus": enum, "gatewayInstanceArn": "string", "runningBridgeCount": integer, "bridgePlacement": enum, "gatewayArn": "string" } }
{ "gatewayInstanceArn": "string", "bridgePlacement": enum }
{ "instanceState": enum, "gatewayInstanceArn": "string" }
{ "message": "string" }

Properties

DeregisterGatewayInstanceResponse

The gateway instance deregistration was successful.

PropertyTypeRequiredDescription
gatewayInstanceArn

string

True

The Amazon Resource Name (ARN) of the instance.

instanceState

string

Values: REGISTERING | ACTIVE | DEREGISTERING | DEREGISTERED | REGISTRATION_ERROR | DEREGISTRATION_ERROR

True

The status of the instance.

DescribeGatewayInstanceResponse

The result of a successful DescribeGatewayInstance request.

PropertyTypeRequiredDescription
gatewayInstance

GatewayInstance

True

GatewayInstance

The settings for an instance in a gateway.

PropertyTypeRequiredDescription
bridgePlacement

string

Values: AVAILABLE | LOCKED

True

The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be deployed to this instance.

connectionStatus

string

Values: CONNECTED | DISCONNECTED

True

The connection state of the instance.

gatewayArn

string

True

The Amazon Resource Name (ARN) of the instance.

gatewayInstanceArn

string

True

The ARN of the gateway.

instanceId

string

True

The instance ID generated by the SSM install. This will begin with "mi-".

instanceMessages

Array of type MessageDetail

False
instanceState

string

Values: REGISTERING | ACTIVE | DEREGISTERING | DEREGISTERED | REGISTRATION_ERROR | DEREGISTRATION_ERROR

True

The status of the instance.

runningBridgeCount

integer

True

The running bridge count.

MessageDetail

PropertyTypeRequiredDescription
code

string

True

The error code.

message

string

True

The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.

resourceName

string

False

The name of the resource.

ResponseError

An exception raised by MediaConnect when you submit a request that cannot be completed. For more information, see the error message and documentation for the operation.

PropertyTypeRequiredDescription
message

string

True

The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.

UpdateGatewayInstanceRequest

The state update that you want to make to an existing gateway instance.

PropertyTypeRequiredDescription
bridgePlacement

string

Values: AVAILABLE | LOCKED

False

The state of the instance. ACTIVE or INACTIVE.

UpdateGatewayInstanceResponse

The gateway instance update was successful.

PropertyTypeRequiredDescription
bridgePlacement

string

Values: AVAILABLE | LOCKED

True

The state of the instance. ACTIVE or INACTIVE.

gatewayInstanceArn

string

True

The Amazon Resource Name (ARN) of the instance.

See also

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

DescribeGatewayInstance

UpdateGatewayInstance

DeregisterGatewayInstance