openapi: 3.2.0
info:
version: 2017-09-30
x-release: v4
title: Amazon Kinesis Video Streams Describe Edge Configuration API
description: ''
x-logo:
url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
backgroundColor: '#FFFFFF'
termsOfService: https://aws.amazon.com/service-terms/
contact:
name: Mike Ralphson
email: mike.ralphson@gmail.com
url: https://github.com/mermade/aws2openapi
x-twitter: PermittedSoc
license:
name: Apache 2.0 License
url: http://www.apache.org/licenses/
x-providerName: amazonaws.com
x-serviceName: kinesisvideo
x-origin:
- contentType: application/json
url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/kinesisvideo-2017-09-30.normal.json
converter:
url: https://github.com/mermade/aws2openapi
version: 1.0.0
x-apisguru-driver: external
x-apiClientRegistration:
url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
x-apisguru-categories:
- cloud
x-preferred: true
servers:
- url: http://kinesisvideo.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The Kinesis Video multi-region endpoint
- url: https://kinesisvideo.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The Kinesis Video multi-region endpoint
- url: http://kinesisvideo.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The Kinesis Video endpoint for China (Beijing) and China (Ningxia)
- url: https://kinesisvideo.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The Kinesis Video endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: Describe Edge Configuration
paths:
/describeEdgeConfiguration:
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
post:
operationId: DescribeEdgeConfiguration
description: Describes a stream’s edge configuration that was set using the StartEdgeConfigurationUpdate API. Use this API to get the status of the configuration if the configuration is in sync with the Edge Agent.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeEdgeConfigurationOutput'
'480':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'481':
description: ClientLimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/ClientLimitExceededException'
'482':
description: InvalidArgumentException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidArgumentException'
'483':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'484':
description: StreamEdgeConfigurationNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/StreamEdgeConfigurationNotFoundException'
parameters: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
StreamName:
description: 'The name of the stream whose edge configuration you want to update. Specify either the StreamName or the StreamARN. '
type: string
pattern: '[a-zA-Z0-9_.-]+'
minLength: 1
maxLength: 256
StreamARN:
description: The Amazon Resource Name (ARN) of the stream. Specify either the StreamNameor the StreamARN.
type: string
pattern: arn:[a-z\d-]+:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
minLength: 1
maxLength: 1024
tags:
- Describe Edge Configuration
summary: Describe edge configuration
x-summary-source: derived
components:
parameters:
X-Amz-Algorithm:
name: X-Amz-Algorithm
in: header
schema:
type: string
required: false
X-Amz-Credential:
name: X-Amz-Credential
in: header
schema:
type: string
required: false
X-Amz-Date:
name: X-Amz-Date
in: header
schema:
type: string
required: false
X-Amz-Security-Token:
name: X-Amz-Security-Token
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
in: header
schema:
type: string
required: false
X-Amz-Content-Sha256:
name: X-Amz-Content-Sha256
in: header
schema:
type: string
required: false
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
schemas:
Timestamp:
type: string
format: date-time
DescribeEdgeConfigurationOutput:
type: object
properties:
StreamName:
allOf:
- $ref: '#/components/schemas/StreamName'
- description: The name of the stream from which the edge configuration was updated.
StreamARN:
allOf:
- $ref: '#/components/schemas/ResourceARN'
- description: The Amazon Resource Name (ARN) of the stream.
CreationTime:
allOf:
- $ref: '#/components/schemas/Timestamp'
- description: The timestamp at which a stream’s edge configuration was first created.
LastUpdatedTime:
allOf:
- $ref: '#/components/schemas/Timestamp'
- description: The timestamp at which a stream’s edge configuration was last updated.
SyncStatus:
allOf:
- $ref: '#/components/schemas/SyncStatus'
- description: The latest status of the edge configuration update.
FailedStatusDetails:
allOf:
- $ref: '#/components/schemas/FailedStatusDetails'
- description: A description of the generated failure status.
EdgeConfig:
allOf:
- $ref: '#/components/schemas/EdgeConfig'
- description: A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.
FailedStatusDetails:
type: string
StreamName:
type: string
pattern: '[a-zA-Z0-9_.-]+'
minLength: 1
maxLength: 256
EdgeConfig:
type: object
required:
- HubDeviceArn
- RecorderConfig
properties:
HubDeviceArn:
allOf:
- $ref: '#/components/schemas/HubDeviceArn'
- description: The "Internet of Things (IoT) Thing" Arn of the stream.
RecorderConfig:
allOf:
- $ref: '#/components/schemas/RecorderConfig'
- description: 'The recorder configuration consists of the local MediaSourceConfig details, that are used as credentials to access the local media files streamed on the camera. '
UploaderConfig:
allOf:
- $ref: '#/components/schemas/UploaderConfig'
- description: The uploader configuration contains the ScheduleExpression details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.
DeletionConfig:
allOf:
- $ref: '#/components/schemas/DeletionConfig'
- description: The deletion configuration is made up of the retention time (EdgeRetentionInHours) and local size configuration (LocalSizeConfig) details that are used to make the deletion.
description: A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.
StrategyOnFullSize:
type: string
enum:
- DELETE_OLDEST_MEDIA
- DENY_NEW_MEDIA
SyncStatus:
type: string
enum:
- SYNCING
- ACKNOWLEDGED
- IN_SYNC
- SYNC_FAILED
- DELETING
- DELETE_FAILED
DeletionConfig:
type: object
properties:
EdgeRetentionInHours:
allOf:
- $ref: '#/components/schemas/EdgeRetentionInHours'
- description: The number of hours that you want to retain the data in the stream on the Edge Agent. The default value of the retention time is 720 hours, which translates to 30 days.
LocalSizeConfig:
allOf:
- $ref: '#/components/schemas/LocalSizeConfig'
- description: The value of the local size required in order to delete the edge configuration.
DeleteAfterUpload:
allOf:
- $ref: '#/components/schemas/DeleteAfterUpload'
- description:
The boolean value used to indicate whether or not you want to mark the media for deletion, once it has been uploaded to the Kinesis Video Stream cloud. The media files can be deleted if any of the deletion configuration values are set to true, such as when the limit for the EdgeRetentionInHours, or the MaxLocalMediaSizeInMB, has been reached.
Since the default value is set to true, configure the uploader schedule such that the media files are not being deleted before they are initially uploaded to AWS cloud.
MediaUriSecretArn and MediaUriType) to access the media files streamed to the camera. '
ScheduleConfig:
allOf:
- $ref: '#/components/schemas/ScheduleConfig'
- description: The configuration that consists of the ScheduleExpression and the DurationInMinutes details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleExpression attribute is not provided, then the Edge Agent will always be set to recording mode.
description: 'The recorder configuration consists of the local MediaSourceConfig details that are used as credentials to accesss the local media files streamed on the camera. '
MediaSourceConfig:
type: object
required:
- MediaUriSecretArn
- MediaUriType
properties:
MediaUriSecretArn:
allOf:
- $ref: '#/components/schemas/MediaUriSecretArn'
- description: The AWS Secrets Manager ARN for the username and password of the camera, or a local media file location.
MediaUriType:
allOf:
- $ref: '#/components/schemas/MediaUriType'
- description: The Uniform Resource Identifier (URI) type. The FILE_URI value can be used to stream local media files.
Preview only supports the RTSP_URI media source URI format .
MediaUriSecretArn and MediaUriType) to access the media files that are streamed to the camera.
UploaderConfig:
type: object
required:
- ScheduleConfig
properties:
ScheduleConfig:
allOf:
- $ref: '#/components/schemas/ScheduleConfig'
- description: The configuration that consists of the ScheduleExpression and the DurationInMinutesdetails that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided, then the Edge Agent will always be in recording mode.
description: 'The configuration that consists of the ScheduleExpression and the DurationInMinutesdetails, that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided, then the Edge Agent will always be in upload mode. '
ResourceARN:
type: string
pattern: arn:[a-z\d-]+:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
minLength: 1
maxLength: 1024
MediaUriType:
type: string
enum:
- RTSP_URI
- FILE_URI
StreamEdgeConfigurationNotFoundException: {}
HubDeviceArn:
type: string
pattern: arn:[a-z\d-]+:iot:[a-z0-9-]+:[0-9]+:thing/[a-zA-Z0-9_.-]+
minLength: 1
maxLength: 1024
AccessDeniedException: {}
LocalSizeConfig:
type: object
properties:
MaxLocalMediaSizeInMB:
allOf:
- $ref: '#/components/schemas/MaxLocalMediaSizeInMB'
- description: 'The overall maximum size of the media that you want to store for a stream on the Edge Agent. '
StrategyOnFullSize:
allOf:
- $ref: '#/components/schemas/StrategyOnFullSize'
- description: The strategy to perform when a stream’s MaxLocalMediaSizeInMB limit is reached.
description: The configuration details that include the maximum size of the media (MaxLocalMediaSizeInMB) that you want to store for a stream on the Edge Agent, as well as the strategy that should be used (StrategyOnFullSize) when a stream's maximum size has been reached.
ScheduleConfig:
type: object
required:
- ScheduleExpression
- DurationInSeconds
properties:
ScheduleExpression:
allOf:
- $ref: '#/components/schemas/ScheduleExpression'
- description: The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided for the RecorderConfig, then the Edge Agent will always be set to recording mode.
For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
DurationInSeconds: allOf: - $ref: '#/components/schemas/DurationInSeconds' - description: The total duration to record the media. If theScheduleExpression attribute is provided, then the DurationInSeconds attribute should also be specified.
description: This API enables you to specify the duration that the camera, or local media file, should record onto the Edge Agent. The ScheduleConfig consists of the ScheduleExpression and the DurationInMinutes attributes.
If the ScheduleExpression is not provided, then the Edge Agent will always be set to recording mode.