Gateway instance: describe, update, deregister
URI
/v1/gateway-instances/
gatewayInstanceArn
HTTP methods
GET
Operation ID: DescribeGatewayInstance
Displays the details of an instance.
Name | Type | Required | Description |
---|---|---|---|
gatewayInstanceArn | String | True | The ARN of the gateway instance that you want to describe. |
Status code | Response model | Description |
---|---|---|
200 | DescribeGatewayInstanceResponse | AWS Elemental MediaConnect returned the instance details successfully. |
400 | ResponseError | The request that you submitted is not valid. |
403 | ResponseError | You don't have the required permissions to perform this operation. |
404 | ResponseError | MediaConnect did not find the resource that you specified in the request. |
409 | ResponseError | There was a conflict when trying to add the requested output |
429 | ResponseError | You have exceeded the service request rate limit for your MediaConnect account. |
500 | ResponseError | MediaConnect can't fulfill your request because it encountered an unexpected condition. |
503 | ResponseError | MediaConnect is currently unavailable. Try again later. |
PUT
Operation ID: UpdateGatewayInstance
Updates the configuration of an existing Gateway Instance.
Name | Type | Required | Description |
---|---|---|---|
gatewayInstanceArn | String | True | The ARN of the gateway instance that you want to describe. |
Status code | Response model | Description |
---|---|---|
200 | UpdateGatewayInstanceResponse | AWS Elemental MediaConnect is applying the instance state. |
400 | ResponseError | The request that you submitted is not valid. |
403 | ResponseError | You don't have the required permissions to perform this operation. |
404 | ResponseError | MediaConnect did not find the resource that you specified in the request. |
409 | ResponseError | There was a conflict when trying to add the requested output |
429 | ResponseError | You have exceeded the service request rate limit for your MediaConnect account. |
500 | ResponseError | MediaConnect can't fulfill your request because it encountered an unexpected condition. |
503 | ResponseError | 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.
Name | Type | Required | Description |
---|---|---|---|
gatewayInstanceArn | String | True | The ARN of the gateway instance that you want to describe. |
Name | Type | Required | Description |
---|---|---|---|
force | String | False | Force the deregistration of an instance. Force will deregister an instance, even if there are bridges running on it. |
Status code | Response model | Description |
---|---|---|
202 | DeregisterGatewayInstanceResponse | MediaConnect is starting the flow. |
400 | ResponseError | The request that you submitted is not valid. |
403 | ResponseError | You don't have the required permissions to perform this operation. |
404 | ResponseError | MediaConnect did not find the resource that you specified in the request. |
409 | ResponseError | There was a conflict when trying to add the requested output |
429 | ResponseError | You have exceeded the service request rate limit for your MediaConnect account. |
500 | ResponseError | MediaConnect can't fulfill your request because it encountered an unexpected condition. |
503 | ResponseError | 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.
Property | Type | Required | Description |
---|---|---|---|
gatewayInstanceArn | string | True | The Amazon Resource Name (ARN) of the instance. |
instanceState | string Values: | True | The status of the instance. |
DescribeGatewayInstanceResponse
The result of a successful DescribeGatewayInstance request.
Property | Type | Required | Description |
---|---|---|---|
gatewayInstance | True |
GatewayInstance
The settings for an instance in a gateway.
Property | Type | Required | Description |
---|---|---|---|
bridgePlacement | string Values: | 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: | 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: | True | The status of the instance. |
runningBridgeCount | integer | True | The running bridge count. |
MessageDetail
Property | Type | Required | Description |
---|---|---|---|
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.
Property | Type | Required | Description |
---|---|---|---|
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.
Property | Type | Required | Description |
---|---|---|---|
bridgePlacement | string Values: | False | The state of the instance. ACTIVE or INACTIVE. |
UpdateGatewayInstanceResponse
The gateway instance update was successful.
Property | Type | Required | Description |
---|---|---|---|
bridgePlacement | string Values: | 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: