openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 43.6 kB
JSON
{"openapi":"3.0.0","info":{"version":"2018-11-14","x-release":"v4","title":"AWS MediaConnect","description":"API for AWS Elemental MediaConnect","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","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":"mediaconnect","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/mediaconnect-2018-11-14.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-direct":true}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://aws.amazon.com/mediaconnect/"},"x-hasEquivalentPaths":true,"security":[{"hmac":[]}],"paths":{"/v1/flows/{flowArn}/outputs":{"post":{"operationId":"AddFlowOutputs","description":"Adds outputs to an existing flow. You can create up to 20 outputs per flow.","responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFlowOutputsResponse"}}}},"480":{"description":"AddFlowOutputs420Exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFlowOutputs420Exception"}}}},"481":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"483":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"484":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"485":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"486":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFlowOutputsRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}]},"/v1/flows":{"post":{"operationId":"CreateFlow","description":"Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and entitlements (up to 50).","responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlowResponse"}}}},"480":{"description":"CreateFlow420Exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlow420Exception"}}}},"481":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"483":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlowRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}],"get":{"operationId":"ListFlows","description":"Displays a list of flows that are associated with this account. This request returns a paginated result.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFlowsResponse"}}}},"480":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"481":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}},"482":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"483":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}}},"parameters":[{"name":"MaxResults","in":"query","description":"Pagination limit","required":false,"schema":{"type":"string"}},{"name":"NextToken","in":"query","description":"Pagination token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFlowsRequest"}}},"required":true}}},"/v1/flows/{flowArn}":{"delete":{"operationId":"DeleteFlow","description":"Deletes a flow. Before you can delete a flow, you must stop the flow.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFlowResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFlowRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}],"get":{"operationId":"DescribeFlow","description":"Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeFlowResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeFlowRequest"}}},"required":true}}},"/v1/flows/{flowArn}/entitlements":{"post":{"operationId":"GrantFlowEntitlements","description":"Grants entitlements to an existing flow.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantFlowEntitlementsResponse"}}}},"480":{"description":"GrantFlowEntitlements420Exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantFlowEntitlements420Exception"}}}},"481":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"483":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"484":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"485":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"486":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantFlowEntitlementsRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}]},"/v1/entitlements":{"get":{"operationId":"ListEntitlements","description":"Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEntitlementsResponse"}}}},"480":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"481":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}},"482":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"483":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEntitlementsRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}]},"/tags/{resourceArn}":{"get":{"operationId":"ListTagsForResource","description":"Lists all tags associated with the resource.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTagsForResourceResponse"}}}},"480":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"481":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}}},"parameters":[{"name":"resourceArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTagsForResourceRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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":"TagResource","description":"Associates the specified tags to a resource. If the request does not mention an existing tag associated with the resource, that tag is not changed.","responses":{"204":{"description":"Success"},"480":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"481":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}}},"parameters":[{"name":"resourceArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResourceRequest"}}},"required":true}},"delete":{"operationId":"UntagResource","description":"Deletes the specified tags from a resource.","responses":{"204":{"description":"Success"},"480":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"481":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}}},"parameters":[{"name":"resourceArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UntagResourceRequest"}}},"required":true}}},"/v1/flows/{flowArn}/outputs/{outputArn}":{"delete":{"operationId":"RemoveFlowOutput","description":"Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveFlowOutputResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}},{"name":"outputArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveFlowOutputRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}],"put":{"operationId":"UpdateFlowOutput","description":"Updates an existing flow output.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFlowOutputResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}},{"name":"outputArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFlowOutputRequest"}}},"required":true}}},"/v1/flows/{flowArn}/entitlements/{entitlementArn}":{"delete":{"operationId":"RevokeFlowEntitlement","description":"Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeFlowEntitlementResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}},{"name":"entitlementArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeFlowEntitlementRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}],"put":{"operationId":"UpdateFlowEntitlement","description":"You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFlowEntitlementResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}},{"name":"entitlementArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFlowEntitlementRequest"}}},"required":true}}},"/v1/flows/start/{flowArn}":{"post":{"operationId":"StartFlow","description":"Starts a flow.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFlowResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFlowRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}]},"/v1/flows/stop/{flowArn}":{"post":{"operationId":"StopFlow","description":"Stops a flow.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopFlowResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopFlowRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}]},"/v1/flows/{flowArn}/source/{sourceArn}":{"put":{"operationId":"UpdateFlowSource","description":"Updates the source of a flow.","responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFlowSourceResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"482":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"483":{"description":"NotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"484":{"description":"ServiceUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableException"}}}},"485":{"description":"TooManyRequestsException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsException"}}}}},"parameters":[{"name":"flowArn","in":"path","required":true,"schema":{"type":"string"}},{"name":"sourceArn","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFlowSourceRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$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"}]}},"servers":[{"url":"https://mediaconnect.amazonaws.com/"},{"url":"http://mediaconnect.amazonaws.com/"}],"components":{"parameters":{"Action":{"name":"Action","in":"query","required":true,"schema":{"type":"string"}},"Version":{"name":"Version","in":"query","required":true,"schema":{"type":"string"}},"X-Amz-Content-Sha256":{"name":"X-Amz-Content-Sha256","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Date":{"name":"X-Amz-Date","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Algorithm":{"name":"X-Amz-Algorithm","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Credential":{"name":"X-Amz-Credential","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Security-Token":{"name":"X-Amz-Security-Token","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Signature":{"name":"X-Amz-Signature","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-SignedHeaders":{"name":"X-Amz-SignedHeaders","in":"header","required":false,"schema":{"type":"string"}}},"securitySchemes":{"hmac":{"type":"apiKey","name":"Authorization","in":"header","description":"Amazon Signature authorization v4","x-amazon-apigateway-authtype":"awsSigv4"}},"schemas":{"AddFlowOutputsResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"Outputs":{"$ref":"#/components/schemas/__listOfOutput"}}},"AddFlowOutputsRequest":{"type":"object","required":["Outputs"],"properties":{"Outputs":{"$ref":"#/components/schemas/__listOfAddOutputRequest"}},"description":"A request to add outputs to the specified flow."},"AddFlowOutputs420Exception":{},"BadRequestException":{},"InternalServerErrorException":{},"ForbiddenException":{},"NotFoundException":{},"ServiceUnavailableException":{},"TooManyRequestsException":{},"CreateFlowResponse":{"type":"object","properties":{"Flow":{"$ref":"#/components/schemas/Flow"}}},"CreateFlowRequest":{"type":"object","required":["Source","Name"],"properties":{"AvailabilityZone":{"$ref":"#/components/schemas/__string"},"Entitlements":{"$ref":"#/components/schemas/__listOfGrantEntitlementRequest"},"Name":{"$ref":"#/components/schemas/__string"},"Outputs":{"$ref":"#/components/schemas/__listOfAddOutputRequest"},"Source":{"$ref":"#/components/schemas/SetSourceRequest"}},"description":"Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and entitlements (up to 50)."},"CreateFlow420Exception":{},"DeleteFlowResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"Status":{"$ref":"#/components/schemas/Status"}}},"DeleteFlowRequest":{"type":"object","properties":{}},"DescribeFlowResponse":{"type":"object","properties":{"Flow":{"$ref":"#/components/schemas/Flow"},"Messages":{"$ref":"#/components/schemas/Messages"}}},"DescribeFlowRequest":{"type":"object","properties":{}},"GrantFlowEntitlementsResponse":{"type":"object","properties":{"Entitlements":{"$ref":"#/components/schemas/__listOfEntitlement"},"FlowArn":{"$ref":"#/components/schemas/__string"}}},"GrantFlowEntitlementsRequest":{"type":"object","required":["Entitlements"],"properties":{"Entitlements":{"$ref":"#/components/schemas/__listOfGrantEntitlementRequest"}},"description":"A request to grant entitlements on a flow."},"GrantFlowEntitlements420Exception":{},"ListEntitlementsResponse":{"type":"object","properties":{"Entitlements":{"$ref":"#/components/schemas/__listOfListedEntitlement"},"NextToken":{"$ref":"#/components/schemas/__string"}}},"ListEntitlementsRequest":{"type":"object","properties":{}},"ListFlowsResponse":{"type":"object","properties":{"Flows":{"$ref":"#/components/schemas/__listOfListedFlow"},"NextToken":{"$ref":"#/components/schemas/__string"}}},"ListFlowsRequest":{"type":"object","properties":{}},"ListTagsForResourceResponse":{"type":"object","properties":{"Tags":{"$ref":"#/components/schemas/__mapOf__string"}}},"ListTagsForResourceRequest":{"type":"object","properties":{}},"RemoveFlowOutputResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"OutputArn":{"$ref":"#/components/schemas/__string"}}},"RemoveFlowOutputRequest":{"type":"object","properties":{}},"RevokeFlowEntitlementResponse":{"type":"object","properties":{"EntitlementArn":{"$ref":"#/components/schemas/__string"},"FlowArn":{"$ref":"#/components/schemas/__string"}}},"RevokeFlowEntitlementRequest":{"type":"object","properties":{}},"StartFlowResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"Status":{"$ref":"#/components/schemas/Status"}}},"StartFlowRequest":{"type":"object","properties":{}},"StopFlowResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"Status":{"$ref":"#/components/schemas/Status"}}},"StopFlowRequest":{"type":"object","properties":{}},"TagResourceRequest":{"type":"object","required":["Tags"],"properties":{"Tags":{"$ref":"#/components/schemas/__mapOf__string"}},"description":"The tags to add to the resource. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters."},"UntagResourceRequest":{"type":"object","properties":{}},"UpdateFlowEntitlementResponse":{"type":"object","properties":{"Entitlement":{"$ref":"#/components/schemas/Entitlement"},"FlowArn":{"$ref":"#/components/schemas/__string"}}},"UpdateFlowEntitlementRequest":{"type":"object","properties":{"Description":{"$ref":"#/components/schemas/__string"},"Encryption":{"$ref":"#/components/schemas/UpdateEncryption"},"Subscribers":{"$ref":"#/components/schemas/__listOf__string"}},"description":"The entitlement fields that you want to update."},"UpdateFlowOutputResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"Output":{"$ref":"#/components/schemas/Output"}}},"UpdateFlowOutputRequest":{"type":"object","properties":{"Description":{"$ref":"#/components/schemas/__string"},"Destination":{"$ref":"#/components/schemas/__string"},"Encryption":{"$ref":"#/components/schemas/UpdateEncryption"},"MaxLatency":{"$ref":"#/components/schemas/__integer"},"Port":{"$ref":"#/components/schemas/__integer"},"Protocol":{"$ref":"#/components/schemas/Protocol"},"SmoothingLatency":{"$ref":"#/components/schemas/__integer"},"StreamId":{"$ref":"#/components/schemas/__string"}},"description":"The fields that you want to update in the output."},"UpdateFlowSourceResponse":{"type":"object","properties":{"FlowArn":{"$ref":"#/components/schemas/__string"},"Source":{"$ref":"#/components/schemas/Source"}}},"UpdateFlowSourceRequest":{"type":"object","properties":{"Decryption":{"$ref":"#/components/schemas/UpdateEncryption"},"Description":{"$ref":"#/components/schemas/__string"},"EntitlementArn":{"$ref":"#/components/schemas/__string"},"IngestPort":{"$ref":"#/components/schemas/__integer"},"MaxBitrate":{"$ref":"#/components/schemas/__integer"},"MaxLatency":{"$ref":"#/components/schemas/__integer"},"Protocol":{"$ref":"#/components/schemas/Protocol"},"StreamId":{"$ref":"#/components/schemas/__string"},"WhitelistCidr":{"$ref":"#/components/schemas/__string"}},"description":"A request to update the source of a flow."},"__string":{"type":"string"},"__listOfAddOutputRequest":{"type":"array","items":{"$ref":"#/components/schemas/AddOutputRequest"}},"__listOfOutput":{"type":"array","items":{"$ref":"#/components/schemas/Output"}},"Encryption":{"type":"object","required":["SecretArn","Algorithm","RoleArn"],"properties":{"Algorithm":{"$ref":"#/components/schemas/Algorithm"},"KeyType":{"$ref":"#/components/schemas/KeyType"},"RoleArn":{"$ref":"#/components/schemas/__string"},"SecretArn":{"$ref":"#/components/schemas/__string"}},"description":"Information about the encryption of the flow."},"__integer":{"type":"integer"},"Protocol":{"type":"string","enum":["zixi-push","rtp-fec","rtp"]},"AddOutputRequest":{"type":"object","required":["Destination","Port","Protocol"],"properties":{"Description":{"$ref":"#/components/schemas/__string"},"Destination":{"$ref":"#/components/schemas/__string"},"Encryption":{"$ref":"#/components/schemas/Encryption"},"MaxLatency":{"$ref":"#/components/schemas/__integer"},"Name":{"$ref":"#/components/schemas/__string"},"Port":{"$ref":"#/components/schemas/__integer"},"Protocol":{"$ref":"#/components/schemas/Protocol"},"SmoothingLatency":{"$ref":"#/components/schemas/__integer"},"StreamId":{"$ref":"#/components/schemas/__string"}},"description":"The output that you want to add to this flow."},"Algorithm":{"type":"string","enum":["aes128","aes192","aes256"]},"__listOfGrantEntitlementRequest":{"type":"array","items":{"$ref":"#/components/schemas/GrantEntitlementRequest"}},"SetSourceRequest":{"type":"object","properties":{"Decryption":{"$ref":"#/components/schemas/Encryption"},"Description":{"$ref":"#/components/schemas/__string"},"EntitlementArn":{"$ref":"#/components/schemas/__string"},"IngestPort":{"$ref":"#/components/schemas/__integer"},"MaxBitrate":{"$ref":"#/components/schemas/__integer"},"MaxLatency":{"$ref":"#/components/schemas/__integer"},"Name":{"$ref":"#/components/schemas/__string"},"Protocol":{"$ref":"#/components/schemas/Protocol"},"StreamId":{"$ref":"#/components/schemas/__string"},"WhitelistCidr":{"$ref":"#/components/schemas/__string"}},"description":"The settings for the source of the flow."},"Flow":{"type":"object","required":["Status","Entitlements","Outputs","AvailabilityZone","FlowArn","Source","Name"],"properties":{"AvailabilityZone":{"$ref":"#/components/schemas/__string"},"Description":{"$ref":"#/components/schemas/__string"},"EgressIp":{"$ref":"#/components/schemas/__string"},"Entitlements":{"$ref":"#/components/schemas/__listOfEntitlement"},"FlowArn":{"$ref":"#/components/schemas/__string"},"Name":{"$ref":"#/components/schemas/__string"},"Outputs":{"$ref":"#/components/schemas/__listOfOutput"},"Source":{"$ref":"#/components/schemas/Source"},"Status":{"$ref":"#/components/schemas/Status"}},"description":"The settings for a flow, including its source, outputs, and entitlements."},"Status":{"type":"string","enum":["STANDBY","ACTIVE","UPDATING","DELETING","STARTING","STOPPING","ERROR"]},"Messages":{"type":"object","required":["Errors"],"properties":{"Errors":{"$ref":"#/components/schemas/__listOf__string"}},"description":"Messages that provide the state of the flow."},"KeyType":{"type":"string","enum":["static-key"]},"__listOf__string":{"type":"array","items":{"$ref":"#/components/schemas/__string"}},"Entitlement":{"type":"object","required":["EntitlementArn","Subscribers","Name"],"properties":{"Description":{"$ref":"#/components/schemas/__string"},"Encryption":{"$ref":"#/components/schemas/Encryption"},"EntitlementArn":{"$ref":"#/components/schemas/__string"},"Name":{"$ref":"#/components/schemas/__string"},"Subscribers":{"$ref":"#/components/schemas/__listOf__string"}},"description":"The settings for a flow entitlement."},"__listOfEntitlement":{"type":"array","items":{"$ref":"#/components/schemas/Entitlement"}},"Source":{"type":"object","required":["SourceArn","Name"],"properties":{"Decryption":{"$ref":"#/components/schemas/Encryption"},"Description":{"$ref":"#/components/schemas/__string"},"EntitlementArn":{"$ref":"#/components/schemas/__string"},"IngestIp":{"$ref":"#/components/schemas/__string"},"IngestPort":{"$ref":"#/components/schemas/__integer"},"Name":{"$ref":"#/components/schemas/__string"},"SourceArn":{"$ref":"#/components/schemas/__string"},"Transport":{"$ref":"#/components/schemas/Transport"},"WhitelistCidr":{"$ref":"#/components/schemas/__string"}},"description":"The settings for the source of the flow."},"GrantEntitlementRequest":{"type":"object","required":["Subscribers"],"properties":{"Description":{"$ref":"#/components/schemas/__string"},"Encryption":{"$ref":"#/components/schemas/Encryption"},"Name":{"$ref":"#/components/schemas/__string"},"Subscribers":{"$ref":"#/components/schemas/__listOf__string"}},"description":"The entitlements that you want to grant on a flow."},"MaxResults":{"type":"integer","minimum":1,"maximum":1000},"__listOfListedEntitlement":{"type":"array","items":{"$ref":"#/components/schemas/ListedEntitlement"}},"__listOfListedFlow":{"type":"array","items":{"$ref":"#/components/schemas/ListedFlow"}},"__mapOf__string":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/__string"},"value":{"$ref":"#/components/schemas/__string"}}}},"ListedEntitlement":{"type":"object","required":["EntitlementArn","EntitlementName"],"properties":{"EntitlementArn":{"$ref":"#/components/schemas/__string"},"EntitlementName":{"$ref":"#/components/schemas/__string"}},"description":"An entitlement that has been granted to you from other AWS accounts."},"SourceType":{"type":"string","enum":["OWNED","ENTITLED"]},"ListedFlow":{"type":"object","required":["Status","Description","SourceType","AvailabilityZone","FlowArn","Name"],"properties":{"AvailabilityZone":{"$ref":"#/components/schemas/__string"},"Description":{"$ref":"#/components/schemas/__string"},"FlowArn":{"$ref":"#/components/schemas/__string"},"Name":{"$ref":"#/components/schemas/__string"},"SourceType":{"$ref":"#/components/schemas/SourceType"},"Status":{"$ref":"#/components/schemas/Status"}},"description":"Provides a summary of a flow, including its ARN, Availability Zone, and source type."},"Transport":{"type":"object","required":["Protocol"],"properties":{"MaxBitrate":{"$ref":"#/components/schemas/__integer"},"MaxLatency":{"$ref":"#/components/schemas/__integer"},"Protocol":{"$ref":"#/components/schemas/Protocol"},"SmoothingLatency":{"$ref":"#/components/schemas/__integer"},"StreamId":{"$ref":"#/components/schemas/__string"}},"description":"Attributes related to the transport stream that are used in a source or output."},"Output":{"type":"object","required":["OutputArn","Name"],"properties":{"Description":{"$ref":"#/components/schemas/__string"},"Destination":{"$ref":"#/components/schemas/__string"},"Encryption":{"$ref":"#/components/schemas/Encryption"},"EntitlementArn":{"$ref":"#/components/schemas/__string"},"MediaLiveInputArn":{"$ref":"#/components/schemas/__string"},"Name":{"$ref":"#/components/schemas/__string"},"OutputArn":{"$ref":"#/components/schemas/__string"},"Port":{"$ref":"#/components/schemas/__integer"},"Transport":{"$ref":"#/components/schemas/Transport"}},"description":"The settings for an output."},"UpdateEncryption":{"type":"object","properties":{"Algorithm":{"$ref":"#/components/schemas/Algorithm"},"KeyType":{"$ref":"#/components/schemas/KeyType"},"RoleArn":{"$ref":"#/components/schemas/__string"},"SecretArn":{"$ref":"#/components/schemas/__string"}},"description":"Information about the encryption of the flow."}}}}