Interface MediaConnectClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Welcome to the Elemental MediaConnect API reference.
MediaConnect is a service that lets you ingest live video content into the cloud and distribute it to destinations all over the world, both inside and outside the Amazon Web Services cloud. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types that are supported by MediaConnect.
Use the following links to get started with the MediaConnect API:
-
Actions: An alphabetical list of all MediaConnect API operations.
-
Data types: An alphabetical list of all MediaConnect data types.
-
Common parameters: Parameters that all operations can use.
-
Common errors: Client and server errors that all operations can return.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AddBridgeOutputsResponseaddBridgeOutputs(Consumer<AddBridgeOutputsRequest.Builder> addBridgeOutputsRequest) Adds outputs to an existing bridge.default AddBridgeOutputsResponseaddBridgeOutputs(AddBridgeOutputsRequest addBridgeOutputsRequest) Adds outputs to an existing bridge.default AddBridgeSourcesResponseaddBridgeSources(Consumer<AddBridgeSourcesRequest.Builder> addBridgeSourcesRequest) Adds sources to an existing bridge.default AddBridgeSourcesResponseaddBridgeSources(AddBridgeSourcesRequest addBridgeSourcesRequest) Adds sources to an existing bridge.default AddFlowMediaStreamsResponseaddFlowMediaStreams(Consumer<AddFlowMediaStreamsRequest.Builder> addFlowMediaStreamsRequest) Adds media streams to an existing flow.default AddFlowMediaStreamsResponseaddFlowMediaStreams(AddFlowMediaStreamsRequest addFlowMediaStreamsRequest) Adds media streams to an existing flow.default AddFlowOutputsResponseaddFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) Adds outputs to an existing flow.default AddFlowOutputsResponseaddFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest) Adds outputs to an existing flow.default AddFlowSourcesResponseaddFlowSources(Consumer<AddFlowSourcesRequest.Builder> addFlowSourcesRequest) Adds sources to a flow.default AddFlowSourcesResponseaddFlowSources(AddFlowSourcesRequest addFlowSourcesRequest) Adds sources to a flow.default AddFlowVpcInterfacesResponseaddFlowVpcInterfaces(Consumer<AddFlowVpcInterfacesRequest.Builder> addFlowVpcInterfacesRequest) Adds VPC interfaces to a flow.default AddFlowVpcInterfacesResponseaddFlowVpcInterfaces(AddFlowVpcInterfacesRequest addFlowVpcInterfacesRequest) Adds VPC interfaces to a flow.static MediaConnectClientBuilderbuilder()Create a builder that can be used to configure and create aMediaConnectClient.static MediaConnectClientcreate()Create aMediaConnectClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateBridgeResponsecreateBridge(Consumer<CreateBridgeRequest.Builder> createBridgeRequest) Creates a new bridge.default CreateBridgeResponsecreateBridge(CreateBridgeRequest createBridgeRequest) Creates a new bridge.default CreateFlowResponsecreateFlow(Consumer<CreateFlowRequest.Builder> createFlowRequest) Creates a new flow.default CreateFlowResponsecreateFlow(CreateFlowRequest createFlowRequest) Creates a new flow.default CreateGatewayResponsecreateGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a new gateway.default CreateGatewayResponsecreateGateway(CreateGatewayRequest createGatewayRequest) Creates a new gateway.default DeleteBridgeResponsedeleteBridge(Consumer<DeleteBridgeRequest.Builder> deleteBridgeRequest) Deletes a bridge.default DeleteBridgeResponsedeleteBridge(DeleteBridgeRequest deleteBridgeRequest) Deletes a bridge.default DeleteFlowResponsedeleteFlow(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest) Deletes a flow.default DeleteFlowResponsedeleteFlow(DeleteFlowRequest deleteFlowRequest) Deletes a flow.default DeleteGatewayResponsedeleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a gateway.default DeleteGatewayResponsedeleteGateway(DeleteGatewayRequest deleteGatewayRequest) Deletes a gateway.deregisterGatewayInstance(Consumer<DeregisterGatewayInstanceRequest.Builder> deregisterGatewayInstanceRequest) Deregisters an instance.deregisterGatewayInstance(DeregisterGatewayInstanceRequest deregisterGatewayInstanceRequest) Deregisters an instance.default DescribeBridgeResponsedescribeBridge(Consumer<DescribeBridgeRequest.Builder> describeBridgeRequest) Displays the details of a bridge.default DescribeBridgeResponsedescribeBridge(DescribeBridgeRequest describeBridgeRequest) Displays the details of a bridge.default DescribeFlowResponsedescribeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) Displays the details of a flow.default DescribeFlowResponsedescribeFlow(DescribeFlowRequest describeFlowRequest) Displays the details of a flow.describeFlowSourceMetadata(Consumer<DescribeFlowSourceMetadataRequest.Builder> describeFlowSourceMetadataRequest) TheDescribeFlowSourceMetadataAPI is used to view information about the flow's source transport stream and programs.describeFlowSourceMetadata(DescribeFlowSourceMetadataRequest describeFlowSourceMetadataRequest) TheDescribeFlowSourceMetadataAPI is used to view information about the flow's source transport stream and programs.describeFlowSourceThumbnail(Consumer<DescribeFlowSourceThumbnailRequest.Builder> describeFlowSourceThumbnailRequest) Describes the thumbnail for the flow source.describeFlowSourceThumbnail(DescribeFlowSourceThumbnailRequest describeFlowSourceThumbnailRequest) Describes the thumbnail for the flow source.default DescribeGatewayResponsedescribeGateway(Consumer<DescribeGatewayRequest.Builder> describeGatewayRequest) Displays the details of a gateway.default DescribeGatewayResponsedescribeGateway(DescribeGatewayRequest describeGatewayRequest) Displays the details of a gateway.default DescribeGatewayInstanceResponsedescribeGatewayInstance(Consumer<DescribeGatewayInstanceRequest.Builder> describeGatewayInstanceRequest) Displays the details of an instance.default DescribeGatewayInstanceResponsedescribeGatewayInstance(DescribeGatewayInstanceRequest describeGatewayInstanceRequest) Displays the details of an instance.default DescribeOfferingResponsedescribeOffering(Consumer<DescribeOfferingRequest.Builder> describeOfferingRequest) Displays the details of an offering.default DescribeOfferingResponsedescribeOffering(DescribeOfferingRequest describeOfferingRequest) Displays the details of an offering.default DescribeReservationResponsedescribeReservation(Consumer<DescribeReservationRequest.Builder> describeReservationRequest) Displays the details of a reservation.default DescribeReservationResponsedescribeReservation(DescribeReservationRequest describeReservationRequest) Displays the details of a reservation.default GrantFlowEntitlementsResponsegrantFlowEntitlements(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) Grants entitlements to an existing flow.default GrantFlowEntitlementsResponsegrantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) Grants entitlements to an existing flow.default ListBridgesResponselistBridges(Consumer<ListBridgesRequest.Builder> listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Amazon Resource Name (ARN).default ListBridgesResponselistBridges(ListBridgesRequest listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Amazon Resource Name (ARN).default ListBridgesIterablelistBridgesPaginator(Consumer<ListBridgesRequest.Builder> listBridgesRequest) This is a variant oflistBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.default ListBridgesIterablelistBridgesPaginator(ListBridgesRequest listBridgesRequest) This is a variant oflistBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.default ListEntitlementsResponseDisplays a list of all entitlements that have been granted to this account.default ListEntitlementsResponselistEntitlements(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account.default ListEntitlementsResponselistEntitlements(ListEntitlementsRequest listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account.default ListEntitlementsIterableThis is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.default ListEntitlementsIterablelistEntitlementsPaginator(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.default ListEntitlementsIterablelistEntitlementsPaginator(ListEntitlementsRequest listEntitlementsRequest) This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.default ListFlowsResponseDisplays a list of flows that are associated with this account.default ListFlowsResponselistFlows(Consumer<ListFlowsRequest.Builder> listFlowsRequest) Displays a list of flows that are associated with this account.default ListFlowsResponselistFlows(ListFlowsRequest listFlowsRequest) Displays a list of flows that are associated with this account.default ListFlowsIterableThis is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.default ListFlowsIterablelistFlowsPaginator(Consumer<ListFlowsRequest.Builder> listFlowsRequest) This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.default ListFlowsIterablelistFlowsPaginator(ListFlowsRequest listFlowsRequest) This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.default ListGatewayInstancesResponselistGatewayInstances(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) Displays a list of instances associated with the Amazon Web Services account.default ListGatewayInstancesResponselistGatewayInstances(ListGatewayInstancesRequest listGatewayInstancesRequest) Displays a list of instances associated with the Amazon Web Services account.default ListGatewayInstancesIterablelistGatewayInstancesPaginator(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) This is a variant oflistGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.default ListGatewayInstancesIterablelistGatewayInstancesPaginator(ListGatewayInstancesRequest listGatewayInstancesRequest) This is a variant oflistGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.default ListGatewaysResponselistGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Displays a list of gateways that are associated with this account.default ListGatewaysResponselistGateways(ListGatewaysRequest listGatewaysRequest) Displays a list of gateways that are associated with this account.default ListGatewaysIterablelistGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.default ListGatewaysIterablelistGatewaysPaginator(ListGatewaysRequest listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.default ListOfferingsResponselistOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) Displays a list of all offerings that are available to this account in the current Amazon Web Services Region.default ListOfferingsResponselistOfferings(ListOfferingsRequest listOfferingsRequest) Displays a list of all offerings that are available to this account in the current Amazon Web Services Region.default ListOfferingsIterablelistOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.default ListOfferingsIterablelistOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.default ListReservationsResponselistReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current Amazon Web Services Region.default ListReservationsResponselistReservations(ListReservationsRequest listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current Amazon Web Services Region.default ListReservationsIterablelistReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.default ListReservationsIterablelistReservationsPaginator(ListReservationsRequest listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags on a MediaConnect resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags on a MediaConnect resource.default PurchaseOfferingResponsepurchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) Submits a request to purchase an offering.default PurchaseOfferingResponsepurchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) Submits a request to purchase an offering.default RemoveBridgeOutputResponseremoveBridgeOutput(Consumer<RemoveBridgeOutputRequest.Builder> removeBridgeOutputRequest) Removes an output from a bridge.default RemoveBridgeOutputResponseremoveBridgeOutput(RemoveBridgeOutputRequest removeBridgeOutputRequest) Removes an output from a bridge.default RemoveBridgeSourceResponseremoveBridgeSource(Consumer<RemoveBridgeSourceRequest.Builder> removeBridgeSourceRequest) Removes a source from a bridge.default RemoveBridgeSourceResponseremoveBridgeSource(RemoveBridgeSourceRequest removeBridgeSourceRequest) Removes a source from a bridge.default RemoveFlowMediaStreamResponseremoveFlowMediaStream(Consumer<RemoveFlowMediaStreamRequest.Builder> removeFlowMediaStreamRequest) Removes a media stream from a flow.default RemoveFlowMediaStreamResponseremoveFlowMediaStream(RemoveFlowMediaStreamRequest removeFlowMediaStreamRequest) Removes a media stream from a flow.default RemoveFlowOutputResponseremoveFlowOutput(Consumer<RemoveFlowOutputRequest.Builder> removeFlowOutputRequest) Removes an output from an existing flow.default RemoveFlowOutputResponseremoveFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest) Removes an output from an existing flow.default RemoveFlowSourceResponseremoveFlowSource(Consumer<RemoveFlowSourceRequest.Builder> removeFlowSourceRequest) Removes a source from an existing flow.default RemoveFlowSourceResponseremoveFlowSource(RemoveFlowSourceRequest removeFlowSourceRequest) Removes a source from an existing flow.default RemoveFlowVpcInterfaceResponseremoveFlowVpcInterface(Consumer<RemoveFlowVpcInterfaceRequest.Builder> removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow.default RemoveFlowVpcInterfaceResponseremoveFlowVpcInterface(RemoveFlowVpcInterfaceRequest removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow.default RevokeFlowEntitlementResponserevokeFlowEntitlement(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest) Revokes an entitlement from a flow.default RevokeFlowEntitlementResponserevokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) Revokes an entitlement from a flow.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartFlowResponsestartFlow(Consumer<StartFlowRequest.Builder> startFlowRequest) Starts a flow.default StartFlowResponsestartFlow(StartFlowRequest startFlowRequest) Starts a flow.default StopFlowResponsestopFlow(Consumer<StopFlowRequest.Builder> stopFlowRequest) Stops a flow.default StopFlowResponsestopFlow(StopFlowRequest stopFlowRequest) Stops a flow.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.default UpdateBridgeResponseupdateBridge(Consumer<UpdateBridgeRequest.Builder> updateBridgeRequest) Updates the bridge.default UpdateBridgeResponseupdateBridge(UpdateBridgeRequest updateBridgeRequest) Updates the bridge.default UpdateBridgeOutputResponseupdateBridgeOutput(Consumer<UpdateBridgeOutputRequest.Builder> updateBridgeOutputRequest) Updates an existing bridge output.default UpdateBridgeOutputResponseupdateBridgeOutput(UpdateBridgeOutputRequest updateBridgeOutputRequest) Updates an existing bridge output.default UpdateBridgeSourceResponseupdateBridgeSource(Consumer<UpdateBridgeSourceRequest.Builder> updateBridgeSourceRequest) Updates an existing bridge source.default UpdateBridgeSourceResponseupdateBridgeSource(UpdateBridgeSourceRequest updateBridgeSourceRequest) Updates an existing bridge source.default UpdateBridgeStateResponseupdateBridgeState(Consumer<UpdateBridgeStateRequest.Builder> updateBridgeStateRequest) Updates the bridge state.default UpdateBridgeStateResponseupdateBridgeState(UpdateBridgeStateRequest updateBridgeStateRequest) Updates the bridge state.default UpdateFlowResponseupdateFlow(Consumer<UpdateFlowRequest.Builder> updateFlowRequest) Updates an existing flow.default UpdateFlowResponseupdateFlow(UpdateFlowRequest updateFlowRequest) Updates an existing flow.default UpdateFlowEntitlementResponseupdateFlowEntitlement(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) Updates an entitlement.default UpdateFlowEntitlementResponseupdateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) Updates an entitlement.default UpdateFlowMediaStreamResponseupdateFlowMediaStream(Consumer<UpdateFlowMediaStreamRequest.Builder> updateFlowMediaStreamRequest) Updates an existing media stream.default UpdateFlowMediaStreamResponseupdateFlowMediaStream(UpdateFlowMediaStreamRequest updateFlowMediaStreamRequest) Updates an existing media stream.default UpdateFlowOutputResponseupdateFlowOutput(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) Updates an existing flow output.default UpdateFlowOutputResponseupdateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest) Updates an existing flow output.default UpdateFlowSourceResponseupdateFlowSource(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) Updates the source of a flow.default UpdateFlowSourceResponseupdateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest) Updates the source of a flow.default UpdateGatewayInstanceResponseupdateGatewayInstance(Consumer<UpdateGatewayInstanceRequest.Builder> updateGatewayInstanceRequest) Updates an existing gateway instance.default UpdateGatewayInstanceResponseupdateGatewayInstance(UpdateGatewayInstanceRequest updateGatewayInstanceRequest) Updates an existing gateway instance.default MediaConnectWaiterwaiter()Create an instance ofMediaConnectWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
addBridgeOutputs
default AddBridgeOutputsResponse addBridgeOutputs(AddBridgeOutputsRequest addBridgeOutputsRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing bridge.
- Parameters:
addBridgeOutputsRequest-- Returns:
- Result of the AddBridgeOutputs operation returned by the service.
- See Also:
-
addBridgeOutputs
default AddBridgeOutputsResponse addBridgeOutputs(Consumer<AddBridgeOutputsRequest.Builder> addBridgeOutputsRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing bridge.
This is a convenience which creates an instance of the
AddBridgeOutputsRequest.Builderavoiding the need to create one manually viaAddBridgeOutputsRequest.builder()- Parameters:
addBridgeOutputsRequest- AConsumerthat will call methods onAddBridgeOutputsRequest.Builderto create a request.- Returns:
- Result of the AddBridgeOutputs operation returned by the service.
- See Also:
-
addBridgeSources
default AddBridgeSourcesResponse addBridgeSources(AddBridgeSourcesRequest addBridgeSourcesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds sources to an existing bridge.
- Parameters:
addBridgeSourcesRequest-- Returns:
- Result of the AddBridgeSources operation returned by the service.
- See Also:
-
addBridgeSources
default AddBridgeSourcesResponse addBridgeSources(Consumer<AddBridgeSourcesRequest.Builder> addBridgeSourcesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds sources to an existing bridge.
This is a convenience which creates an instance of the
AddBridgeSourcesRequest.Builderavoiding the need to create one manually viaAddBridgeSourcesRequest.builder()- Parameters:
addBridgeSourcesRequest- AConsumerthat will call methods onAddBridgeSourcesRequest.Builderto create a request.- Returns:
- Result of the AddBridgeSources operation returned by the service.
- See Also:
-
addFlowMediaStreams
default AddFlowMediaStreamsResponse addFlowMediaStreams(AddFlowMediaStreamsRequest addFlowMediaStreamsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.
- Parameters:
addFlowMediaStreamsRequest-- Returns:
- Result of the AddFlowMediaStreams operation returned by the service.
- See Also:
-
addFlowMediaStreams
default AddFlowMediaStreamsResponse addFlowMediaStreams(Consumer<AddFlowMediaStreamsRequest.Builder> addFlowMediaStreamsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.
This is a convenience which creates an instance of the
AddFlowMediaStreamsRequest.Builderavoiding the need to create one manually viaAddFlowMediaStreamsRequest.builder()- Parameters:
addFlowMediaStreamsRequest- AConsumerthat will call methods onAddFlowMediaStreamsRequest.Builderto create a request.- Returns:
- Result of the AddFlowMediaStreams operation returned by the service.
- See Also:
-
addFlowOutputs
default AddFlowOutputsResponse addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest) throws BadRequestException, AddFlowOutputs420Exception, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing flow. You can create up to 50 outputs per flow.
- Parameters:
addFlowOutputsRequest-- Returns:
- Result of the AddFlowOutputs operation returned by the service.
- See Also:
-
addFlowOutputs
default AddFlowOutputsResponse addFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) throws BadRequestException, AddFlowOutputs420Exception, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing flow. You can create up to 50 outputs per flow.
This is a convenience which creates an instance of the
AddFlowOutputsRequest.Builderavoiding the need to create one manually viaAddFlowOutputsRequest.builder()- Parameters:
addFlowOutputsRequest- AConsumerthat will call methods onAddFlowOutputsRequest.Builderto create a request.- Returns:
- Result of the AddFlowOutputs operation returned by the service.
- See Also:
-
addFlowSources
default AddFlowSourcesResponse addFlowSources(AddFlowSourcesRequest addFlowSourcesRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds sources to a flow.
- Parameters:
addFlowSourcesRequest-- Returns:
- Result of the AddFlowSources operation returned by the service.
- See Also:
-
addFlowSources
default AddFlowSourcesResponse addFlowSources(Consumer<AddFlowSourcesRequest.Builder> addFlowSourcesRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds sources to a flow.
This is a convenience which creates an instance of the
AddFlowSourcesRequest.Builderavoiding the need to create one manually viaAddFlowSourcesRequest.builder()- Parameters:
addFlowSourcesRequest- AConsumerthat will call methods onAddFlowSourcesRequest.Builderto create a request.- Returns:
- Result of the AddFlowSources operation returned by the service.
- See Also:
-
addFlowVpcInterfaces
default AddFlowVpcInterfacesResponse addFlowVpcInterfaces(AddFlowVpcInterfacesRequest addFlowVpcInterfacesRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds VPC interfaces to a flow.
- Parameters:
addFlowVpcInterfacesRequest-- Returns:
- Result of the AddFlowVpcInterfaces operation returned by the service.
- See Also:
-
addFlowVpcInterfaces
default AddFlowVpcInterfacesResponse addFlowVpcInterfaces(Consumer<AddFlowVpcInterfacesRequest.Builder> addFlowVpcInterfacesRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Adds VPC interfaces to a flow.
This is a convenience which creates an instance of the
AddFlowVpcInterfacesRequest.Builderavoiding the need to create one manually viaAddFlowVpcInterfacesRequest.builder()- Parameters:
addFlowVpcInterfacesRequest- AConsumerthat will call methods onAddFlowVpcInterfacesRequest.Builderto create a request.- Returns:
- Result of the AddFlowVpcInterfaces operation returned by the service.
- See Also:
-
createBridge
default CreateBridgeResponse createBridge(CreateBridgeRequest createBridgeRequest) throws BadRequestException, CreateBridge420Exception, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Creates a new bridge. The request must include one source.
- Parameters:
createBridgeRequest-- Returns:
- Result of the CreateBridge operation returned by the service.
- See Also:
-
createBridge
default CreateBridgeResponse createBridge(Consumer<CreateBridgeRequest.Builder> createBridgeRequest) throws BadRequestException, CreateBridge420Exception, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Creates a new bridge. The request must include one source.
This is a convenience which creates an instance of the
CreateBridgeRequest.Builderavoiding the need to create one manually viaCreateBridgeRequest.builder()- Parameters:
createBridgeRequest- AConsumerthat will call methods onCreateBridgeRequest.Builderto create a request.- Returns:
- Result of the CreateBridge operation returned by the service.
- See Also:
-
createFlow
default CreateFlowResponse createFlow(CreateFlowRequest createFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, CreateFlow420Exception, AwsServiceException, SdkClientException, MediaConnectException Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
- Parameters:
createFlowRequest-- Returns:
- Result of the CreateFlow operation returned by the service.
- See Also:
-
createFlow
default CreateFlowResponse createFlow(Consumer<CreateFlowRequest.Builder> createFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, CreateFlow420Exception, AwsServiceException, SdkClientException, MediaConnectException Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
This is a convenience which creates an instance of the
CreateFlowRequest.Builderavoiding the need to create one manually viaCreateFlowRequest.builder()- Parameters:
createFlowRequest- AConsumerthat will call methods onCreateFlowRequest.Builderto create a request.- Returns:
- Result of the CreateFlow operation returned by the service.
- See Also:
-
createGateway
default CreateGatewayResponse createGateway(CreateGatewayRequest createGatewayRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, CreateGateway420Exception, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Creates a new gateway. The request must include at least one network (up to four).
- Parameters:
createGatewayRequest-- Returns:
- Result of the CreateGateway operation returned by the service.
- See Also:
-
createGateway
default CreateGatewayResponse createGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, CreateGateway420Exception, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Creates a new gateway. The request must include at least one network (up to four).
This is a convenience which creates an instance of the
CreateGatewayRequest.Builderavoiding the need to create one manually viaCreateGatewayRequest.builder()- Parameters:
createGatewayRequest- AConsumerthat will call methods onCreateGatewayRequest.Builderto create a request.- Returns:
- Result of the CreateGateway operation returned by the service.
- See Also:
-
deleteBridge
default DeleteBridgeResponse deleteBridge(DeleteBridgeRequest deleteBridgeRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Deletes a bridge. Before you can delete a bridge, you must stop the bridge.
- Parameters:
deleteBridgeRequest-- Returns:
- Result of the DeleteBridge operation returned by the service.
- See Also:
-
deleteBridge
default DeleteBridgeResponse deleteBridge(Consumer<DeleteBridgeRequest.Builder> deleteBridgeRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Deletes a bridge. Before you can delete a bridge, you must stop the bridge.
This is a convenience which creates an instance of the
DeleteBridgeRequest.Builderavoiding the need to create one manually viaDeleteBridgeRequest.builder()- Parameters:
deleteBridgeRequest- AConsumerthat will call methods onDeleteBridgeRequest.Builderto create a request.- Returns:
- Result of the DeleteBridge operation returned by the service.
- See Also:
-
deleteFlow
default DeleteFlowResponse deleteFlow(DeleteFlowRequest deleteFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Deletes a flow. Before you can delete a flow, you must stop the flow.
- Parameters:
deleteFlowRequest-- Returns:
- Result of the DeleteFlow operation returned by the service.
- See Also:
-
deleteFlow
default DeleteFlowResponse deleteFlow(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Deletes a flow. Before you can delete a flow, you must stop the flow.
This is a convenience which creates an instance of the
DeleteFlowRequest.Builderavoiding the need to create one manually viaDeleteFlowRequest.builder()- Parameters:
deleteFlowRequest- AConsumerthat will call methods onDeleteFlowRequest.Builderto create a request.- Returns:
- Result of the DeleteFlow operation returned by the service.
- See Also:
-
deleteGateway
default DeleteGatewayResponse deleteGateway(DeleteGatewayRequest deleteGatewayRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Deletes a gateway. Before you can delete a gateway, you must deregister its instances and delete its bridges.
- Parameters:
deleteGatewayRequest-- Returns:
- Result of the DeleteGateway operation returned by the service.
- See Also:
-
deleteGateway
default DeleteGatewayResponse deleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Deletes a gateway. Before you can delete a gateway, you must deregister its instances and delete its bridges.
This is a convenience which creates an instance of the
DeleteGatewayRequest.Builderavoiding the need to create one manually viaDeleteGatewayRequest.builder()- Parameters:
deleteGatewayRequest- AConsumerthat will call methods onDeleteGatewayRequest.Builderto create a request.- Returns:
- Result of the DeleteGateway operation returned by the service.
- See Also:
-
deregisterGatewayInstance
default DeregisterGatewayInstanceResponse deregisterGatewayInstance(DeregisterGatewayInstanceRequest deregisterGatewayInstanceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException 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.
- Parameters:
deregisterGatewayInstanceRequest-- Returns:
- Result of the DeregisterGatewayInstance operation returned by the service.
- See Also:
-
deregisterGatewayInstance
default DeregisterGatewayInstanceResponse deregisterGatewayInstance(Consumer<DeregisterGatewayInstanceRequest.Builder> deregisterGatewayInstanceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException 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.
This is a convenience which creates an instance of the
DeregisterGatewayInstanceRequest.Builderavoiding the need to create one manually viaDeregisterGatewayInstanceRequest.builder()- Parameters:
deregisterGatewayInstanceRequest- AConsumerthat will call methods onDeregisterGatewayInstanceRequest.Builderto create a request.- Returns:
- Result of the DeregisterGatewayInstance operation returned by the service.
- See Also:
-
describeBridge
default DescribeBridgeResponse describeBridge(DescribeBridgeRequest describeBridgeRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a bridge.
- Parameters:
describeBridgeRequest-- Returns:
- Result of the DescribeBridge operation returned by the service.
- See Also:
-
describeBridge
default DescribeBridgeResponse describeBridge(Consumer<DescribeBridgeRequest.Builder> describeBridgeRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a bridge.
This is a convenience which creates an instance of the
DescribeBridgeRequest.Builderavoiding the need to create one manually viaDescribeBridgeRequest.builder()- Parameters:
describeBridgeRequest- AConsumerthat will call methods onDescribeBridgeRequest.Builderto create a request.- Returns:
- Result of the DescribeBridge operation returned by the service.
- See Also:
-
describeFlow
default DescribeFlowResponse describeFlow(DescribeFlowRequest describeFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a flow. The response includes the flow Amazon Resource Name (ARN), name, and Availability Zone, as well as details about the source, outputs, and entitlements.
- Parameters:
describeFlowRequest-- Returns:
- Result of the DescribeFlow operation returned by the service.
- See Also:
-
describeFlow
default DescribeFlowResponse describeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a flow. The response includes the flow Amazon Resource Name (ARN), name, and Availability Zone, as well as details about the source, outputs, and entitlements.
This is a convenience which creates an instance of the
DescribeFlowRequest.Builderavoiding the need to create one manually viaDescribeFlowRequest.builder()- Parameters:
describeFlowRequest- AConsumerthat will call methods onDescribeFlowRequest.Builderto create a request.- Returns:
- Result of the DescribeFlow operation returned by the service.
- See Also:
-
describeFlowSourceMetadata
default DescribeFlowSourceMetadataResponse describeFlowSourceMetadata(DescribeFlowSourceMetadataRequest describeFlowSourceMetadataRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException The
DescribeFlowSourceMetadataAPI is used to view information about the flow's source transport stream and programs. This API displays status messages about the flow's source as well as details about the program's video, audio, and other data.- Parameters:
describeFlowSourceMetadataRequest-- Returns:
- Result of the DescribeFlowSourceMetadata operation returned by the service.
- See Also:
-
describeFlowSourceMetadata
default DescribeFlowSourceMetadataResponse describeFlowSourceMetadata(Consumer<DescribeFlowSourceMetadataRequest.Builder> describeFlowSourceMetadataRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException The
DescribeFlowSourceMetadataAPI is used to view information about the flow's source transport stream and programs. This API displays status messages about the flow's source as well as details about the program's video, audio, and other data.
This is a convenience which creates an instance of the
DescribeFlowSourceMetadataRequest.Builderavoiding the need to create one manually viaDescribeFlowSourceMetadataRequest.builder()- Parameters:
describeFlowSourceMetadataRequest- AConsumerthat will call methods onDescribeFlowSourceMetadataRequest.Builderto create a request.- Returns:
- Result of the DescribeFlowSourceMetadata operation returned by the service.
- See Also:
-
describeFlowSourceThumbnail
default DescribeFlowSourceThumbnailResponse describeFlowSourceThumbnail(DescribeFlowSourceThumbnailRequest describeFlowSourceThumbnailRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Describes the thumbnail for the flow source.
- Parameters:
describeFlowSourceThumbnailRequest-- Returns:
- Result of the DescribeFlowSourceThumbnail operation returned by the service.
- See Also:
-
describeFlowSourceThumbnail
default DescribeFlowSourceThumbnailResponse describeFlowSourceThumbnail(Consumer<DescribeFlowSourceThumbnailRequest.Builder> describeFlowSourceThumbnailRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Describes the thumbnail for the flow source.
This is a convenience which creates an instance of the
DescribeFlowSourceThumbnailRequest.Builderavoiding the need to create one manually viaDescribeFlowSourceThumbnailRequest.builder()- Parameters:
describeFlowSourceThumbnailRequest- AConsumerthat will call methods onDescribeFlowSourceThumbnailRequest.Builderto create a request.- Returns:
- Result of the DescribeFlowSourceThumbnail operation returned by the service.
- See Also:
-
describeGateway
default DescribeGatewayResponse describeGateway(DescribeGatewayRequest describeGatewayRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a gateway. The response includes the gateway Amazon Resource Name (ARN), name, and CIDR blocks, as well as details about the networks.
- Parameters:
describeGatewayRequest-- Returns:
- Result of the DescribeGateway operation returned by the service.
- See Also:
-
describeGateway
default DescribeGatewayResponse describeGateway(Consumer<DescribeGatewayRequest.Builder> describeGatewayRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a gateway. The response includes the gateway Amazon Resource Name (ARN), name, and CIDR blocks, as well as details about the networks.
This is a convenience which creates an instance of the
DescribeGatewayRequest.Builderavoiding the need to create one manually viaDescribeGatewayRequest.builder()- Parameters:
describeGatewayRequest- AConsumerthat will call methods onDescribeGatewayRequest.Builderto create a request.- Returns:
- Result of the DescribeGateway operation returned by the service.
- See Also:
-
describeGatewayInstance
default DescribeGatewayInstanceResponse describeGatewayInstance(DescribeGatewayInstanceRequest describeGatewayInstanceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of an instance.
- Parameters:
describeGatewayInstanceRequest-- Returns:
- Result of the DescribeGatewayInstance operation returned by the service.
- See Also:
-
describeGatewayInstance
default DescribeGatewayInstanceResponse describeGatewayInstance(Consumer<DescribeGatewayInstanceRequest.Builder> describeGatewayInstanceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of an instance.
This is a convenience which creates an instance of the
DescribeGatewayInstanceRequest.Builderavoiding the need to create one manually viaDescribeGatewayInstanceRequest.builder()- Parameters:
describeGatewayInstanceRequest- AConsumerthat will call methods onDescribeGatewayInstanceRequest.Builderto create a request.- Returns:
- Result of the DescribeGatewayInstance operation returned by the service.
- See Also:
-
describeOffering
default DescribeOfferingResponse describeOffering(DescribeOfferingRequest describeOfferingRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
- Parameters:
describeOfferingRequest-- Returns:
- Result of the DescribeOffering operation returned by the service.
- See Also:
-
describeOffering
default DescribeOfferingResponse describeOffering(Consumer<DescribeOfferingRequest.Builder> describeOfferingRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
DescribeOfferingRequest.Builderavoiding the need to create one manually viaDescribeOfferingRequest.builder()- Parameters:
describeOfferingRequest- AConsumerthat will call methods onDescribeOfferingRequest.Builderto create a request.- Returns:
- Result of the DescribeOffering operation returned by the service.
- See Also:
-
describeReservation
default DescribeReservationResponse describeReservation(DescribeReservationRequest describeReservationRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
- Parameters:
describeReservationRequest-- Returns:
- Result of the DescribeReservation operation returned by the service.
- See Also:
-
describeReservation
default DescribeReservationResponse describeReservation(Consumer<DescribeReservationRequest.Builder> describeReservationRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
This is a convenience which creates an instance of the
DescribeReservationRequest.Builderavoiding the need to create one manually viaDescribeReservationRequest.builder()- Parameters:
describeReservationRequest- AConsumerthat will call methods onDescribeReservationRequest.Builderto create a request.- Returns:
- Result of the DescribeReservation operation returned by the service.
- See Also:
-
grantFlowEntitlements
default GrantFlowEntitlementsResponse grantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) throws BadRequestException, GrantFlowEntitlements420Exception, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Grants entitlements to an existing flow.
- Parameters:
grantFlowEntitlementsRequest-- Returns:
- Result of the GrantFlowEntitlements operation returned by the service.
- See Also:
-
grantFlowEntitlements
default GrantFlowEntitlementsResponse grantFlowEntitlements(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) throws BadRequestException, GrantFlowEntitlements420Exception, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Grants entitlements to an existing flow.
This is a convenience which creates an instance of the
GrantFlowEntitlementsRequest.Builderavoiding the need to create one manually viaGrantFlowEntitlementsRequest.builder()- Parameters:
grantFlowEntitlementsRequest- AConsumerthat will call methods onGrantFlowEntitlementsRequest.Builderto create a request.- Returns:
- Result of the GrantFlowEntitlements operation returned by the service.
- See Also:
-
listBridges
default ListBridgesResponse listBridges(ListBridgesRequest listBridgesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of bridges that are associated with this account and an optionally specified Amazon Resource Name (ARN). This request returns a paginated result.
- Parameters:
listBridgesRequest-- Returns:
- Result of the ListBridges operation returned by the service.
- See Also:
-
listBridges
default ListBridgesResponse listBridges(Consumer<ListBridgesRequest.Builder> listBridgesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of bridges that are associated with this account and an optionally specified Amazon Resource Name (ARN). This request returns a paginated result.
This is a convenience which creates an instance of the
ListBridgesRequest.Builderavoiding the need to create one manually viaListBridgesRequest.builder()- Parameters:
listBridgesRequest- AConsumerthat will call methods onListBridgesRequest.Builderto create a request.- Returns:
- Result of the ListBridges operation returned by the service.
- See Also:
-
listBridgesPaginator
default ListBridgesIterable listBridgesPaginator(ListBridgesRequest listBridgesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.- Parameters:
listBridgesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBridgesPaginator
default ListBridgesIterable listBridgesPaginator(Consumer<ListBridgesRequest.Builder> listBridgesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.
This is a convenience which creates an instance of the
ListBridgesRequest.Builderavoiding the need to create one manually viaListBridgesRequest.builder()- Parameters:
listBridgesRequest- AConsumerthat will call methods onListBridgesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEntitlements
default ListEntitlementsResponse listEntitlements(ListEntitlementsRequest listEntitlementsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
- Parameters:
listEntitlementsRequest-- Returns:
- Result of the ListEntitlements operation returned by the service.
- See Also:
-
listEntitlements
default ListEntitlementsResponse listEntitlements(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
This is a convenience which creates an instance of the
ListEntitlementsRequest.Builderavoiding the need to create one manually viaListEntitlementsRequest.builder()- Parameters:
listEntitlementsRequest- AConsumerthat will call methods onListEntitlementsRequest.Builderto create a request.- Returns:
- Result of the ListEntitlements operation returned by the service.
- See Also:
-
listEntitlements
default ListEntitlementsResponse listEntitlements() throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectExceptionDisplays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
- Returns:
- Result of the ListEntitlements operation returned by the service.
- See Also:
-
listEntitlementsPaginator
default ListEntitlementsIterable listEntitlementsPaginator() throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectExceptionThis is a variant of
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client .listEntitlementsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEntitlementsPaginator
default ListEntitlementsIterable listEntitlementsPaginator(ListEntitlementsRequest listEntitlementsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client .listEntitlementsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.- Parameters:
listEntitlementsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEntitlementsPaginator
default ListEntitlementsIterable listEntitlementsPaginator(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client .listEntitlementsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.
This is a convenience which creates an instance of the
ListEntitlementsRequest.Builderavoiding the need to create one manually viaListEntitlementsRequest.builder()- Parameters:
listEntitlementsRequest- AConsumerthat will call methods onListEntitlementsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFlows
default ListFlowsResponse listFlows(ListFlowsRequest listFlowsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of flows that are associated with this account. This request returns a paginated result.
- Parameters:
listFlowsRequest-- Returns:
- Result of the ListFlows operation returned by the service.
- See Also:
-
listFlows
default ListFlowsResponse listFlows(Consumer<ListFlowsRequest.Builder> listFlowsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of flows that are associated with this account. This request returns a paginated result.
This is a convenience which creates an instance of the
ListFlowsRequest.Builderavoiding the need to create one manually viaListFlowsRequest.builder()- Parameters:
listFlowsRequest- AConsumerthat will call methods onListFlowsRequest.Builderto create a request.- Returns:
- Result of the ListFlows operation returned by the service.
- See Also:
-
listFlows
default ListFlowsResponse listFlows() throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectExceptionDisplays a list of flows that are associated with this account. This request returns a paginated result.
- Returns:
- Result of the ListFlows operation returned by the service.
- See Also:
-
listFlowsPaginator
default ListFlowsIterable listFlowsPaginator() throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectExceptionThis is a variant of
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFlowsPaginator
default ListFlowsIterable listFlowsPaginator(ListFlowsRequest listFlowsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.- Parameters:
listFlowsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFlowsPaginator
default ListFlowsIterable listFlowsPaginator(Consumer<ListFlowsRequest.Builder> listFlowsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.
This is a convenience which creates an instance of the
ListFlowsRequest.Builderavoiding the need to create one manually viaListFlowsRequest.builder()- Parameters:
listFlowsRequest- AConsumerthat will call methods onListFlowsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGatewayInstances
default ListGatewayInstancesResponse listGatewayInstances(ListGatewayInstancesRequest listGatewayInstancesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of instances associated with the Amazon Web Services account. This request returns a paginated result. You can use the filterArn property to display only the instances associated with the selected Gateway Amazon Resource Name (ARN).
- Parameters:
listGatewayInstancesRequest-- Returns:
- Result of the ListGatewayInstances operation returned by the service.
- See Also:
-
listGatewayInstances
default ListGatewayInstancesResponse listGatewayInstances(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of instances associated with the Amazon Web Services account. This request returns a paginated result. You can use the filterArn property to display only the instances associated with the selected Gateway Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
ListGatewayInstancesRequest.Builderavoiding the need to create one manually viaListGatewayInstancesRequest.builder()- Parameters:
listGatewayInstancesRequest- AConsumerthat will call methods onListGatewayInstancesRequest.Builderto create a request.- Returns:
- Result of the ListGatewayInstances operation returned by the service.
- See Also:
-
listGatewayInstancesPaginator
default ListGatewayInstancesIterable listGatewayInstancesPaginator(ListGatewayInstancesRequest listGatewayInstancesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client .listGatewayInstancesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.- Parameters:
listGatewayInstancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGatewayInstancesPaginator
default ListGatewayInstancesIterable listGatewayInstancesPaginator(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client .listGatewayInstancesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.
This is a convenience which creates an instance of the
ListGatewayInstancesRequest.Builderavoiding the need to create one manually viaListGatewayInstancesRequest.builder()- Parameters:
listGatewayInstancesRequest- AConsumerthat will call methods onListGatewayInstancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGateways
default ListGatewaysResponse listGateways(ListGatewaysRequest listGatewaysRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of gateways that are associated with this account. This request returns a paginated result.
- Parameters:
listGatewaysRequest-- Returns:
- Result of the ListGateways operation returned by the service.
- See Also:
-
listGateways
default ListGatewaysResponse listGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of gateways that are associated with this account. This request returns a paginated result.
This is a convenience which creates an instance of the
ListGatewaysRequest.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto create a request.- Returns:
- Result of the ListGateways operation returned by the service.
- See Also:
-
listGatewaysPaginator
default ListGatewaysIterable listGatewaysPaginator(ListGatewaysRequest listGatewaysRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client .listGatewaysPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.- Parameters:
listGatewaysRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGatewaysPaginator
default ListGatewaysIterable listGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client .listGatewaysPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.
This is a convenience which creates an instance of the
ListGatewaysRequest.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferings
default ListOfferingsResponse listOfferings(ListOfferingsRequest listOfferingsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all offerings that are available to this account in the current Amazon Web Services Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.
- Parameters:
listOfferingsRequest-- Returns:
- Result of the ListOfferings operation returned by the service.
- See Also:
-
listOfferings
default ListOfferingsResponse listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all offerings that are available to this account in the current Amazon Web Services Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.
This is a convenience which creates an instance of the
ListOfferingsRequest.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request.- Returns:
- Result of the ListOfferings operation returned by the service.
- See Also:
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.- Parameters:
listOfferingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.
This is a convenience which creates an instance of the
ListOfferingsRequest.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReservations
default ListReservationsResponse listReservations(ListReservationsRequest listReservationsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all reservations that have been purchased by this account in the current Amazon Web Services Region. This list includes all reservations in all states (such as active and expired).
- Parameters:
listReservationsRequest-- Returns:
- Result of the ListReservations operation returned by the service.
- See Also:
-
listReservations
default ListReservationsResponse listReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all reservations that have been purchased by this account in the current Amazon Web Services Region. This list includes all reservations in all states (such as active and expired).
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- Result of the ListReservations operation returned by the service.
- See Also:
-
listReservationsPaginator
default ListReservationsIterable listReservationsPaginator(ListReservationsRequest listReservationsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client .listReservationsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.- Parameters:
listReservationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReservationsPaginator
default ListReservationsIterable listReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException This is a variant of
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client .listReservationsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, InternalServerErrorException, NotFoundException, AwsServiceException, SdkClientException, MediaConnectException List all tags on a MediaConnect resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, InternalServerErrorException, NotFoundException, AwsServiceException, SdkClientException, MediaConnectException List all tags on a MediaConnect resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
purchaseOffering
default PurchaseOfferingResponse purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
- Parameters:
purchaseOfferingRequest-- Returns:
- Result of the PurchaseOffering operation returned by the service.
- See Also:
-
purchaseOffering
default PurchaseOfferingResponse purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
This is a convenience which creates an instance of the
PurchaseOfferingRequest.Builderavoiding the need to create one manually viaPurchaseOfferingRequest.builder()- Parameters:
purchaseOfferingRequest- AConsumerthat will call methods onPurchaseOfferingRequest.Builderto create a request.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- See Also:
-
removeBridgeOutput
default RemoveBridgeOutputResponse removeBridgeOutput(RemoveBridgeOutputRequest removeBridgeOutputRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes an output from a bridge.
- Parameters:
removeBridgeOutputRequest-- Returns:
- Result of the RemoveBridgeOutput operation returned by the service.
- See Also:
-
removeBridgeOutput
default RemoveBridgeOutputResponse removeBridgeOutput(Consumer<RemoveBridgeOutputRequest.Builder> removeBridgeOutputRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes an output from a bridge.
This is a convenience which creates an instance of the
RemoveBridgeOutputRequest.Builderavoiding the need to create one manually viaRemoveBridgeOutputRequest.builder()- Parameters:
removeBridgeOutputRequest- AConsumerthat will call methods onRemoveBridgeOutputRequest.Builderto create a request.- Returns:
- Result of the RemoveBridgeOutput operation returned by the service.
- See Also:
-
removeBridgeSource
default RemoveBridgeSourceResponse removeBridgeSource(RemoveBridgeSourceRequest removeBridgeSourceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a source from a bridge.
- Parameters:
removeBridgeSourceRequest-- Returns:
- Result of the RemoveBridgeSource operation returned by the service.
- See Also:
-
removeBridgeSource
default RemoveBridgeSourceResponse removeBridgeSource(Consumer<RemoveBridgeSourceRequest.Builder> removeBridgeSourceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a source from a bridge.
This is a convenience which creates an instance of the
RemoveBridgeSourceRequest.Builderavoiding the need to create one manually viaRemoveBridgeSourceRequest.builder()- Parameters:
removeBridgeSourceRequest- AConsumerthat will call methods onRemoveBridgeSourceRequest.Builderto create a request.- Returns:
- Result of the RemoveBridgeSource operation returned by the service.
- See Also:
-
removeFlowMediaStream
default RemoveFlowMediaStreamResponse removeFlowMediaStream(RemoveFlowMediaStreamRequest removeFlowMediaStreamRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.
- Parameters:
removeFlowMediaStreamRequest-- Returns:
- Result of the RemoveFlowMediaStream operation returned by the service.
- See Also:
-
removeFlowMediaStream
default RemoveFlowMediaStreamResponse removeFlowMediaStream(Consumer<RemoveFlowMediaStreamRequest.Builder> removeFlowMediaStreamRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.
This is a convenience which creates an instance of the
RemoveFlowMediaStreamRequest.Builderavoiding the need to create one manually viaRemoveFlowMediaStreamRequest.builder()- Parameters:
removeFlowMediaStreamRequest- AConsumerthat will call methods onRemoveFlowMediaStreamRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowMediaStream operation returned by the service.
- See Also:
-
removeFlowOutput
default RemoveFlowOutputResponse removeFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException 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.
- Parameters:
removeFlowOutputRequest-- Returns:
- Result of the RemoveFlowOutput operation returned by the service.
- See Also:
-
removeFlowOutput
default RemoveFlowOutputResponse removeFlowOutput(Consumer<RemoveFlowOutputRequest.Builder> removeFlowOutputRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException 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.
This is a convenience which creates an instance of the
RemoveFlowOutputRequest.Builderavoiding the need to create one manually viaRemoveFlowOutputRequest.builder()- Parameters:
removeFlowOutputRequest- AConsumerthat will call methods onRemoveFlowOutputRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowOutput operation returned by the service.
- See Also:
-
removeFlowSource
default RemoveFlowSourceResponse removeFlowSource(RemoveFlowSourceRequest removeFlowSourceRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
- Parameters:
removeFlowSourceRequest-- Returns:
- Result of the RemoveFlowSource operation returned by the service.
- See Also:
-
removeFlowSource
default RemoveFlowSourceResponse removeFlowSource(Consumer<RemoveFlowSourceRequest.Builder> removeFlowSourceRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
This is a convenience which creates an instance of the
RemoveFlowSourceRequest.Builderavoiding the need to create one manually viaRemoveFlowSourceRequest.builder()- Parameters:
removeFlowSourceRequest- AConsumerthat will call methods onRemoveFlowSourceRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowSource operation returned by the service.
- See Also:
-
removeFlowVpcInterface
default RemoveFlowVpcInterfaceResponse removeFlowVpcInterface(RemoveFlowVpcInterfaceRequest removeFlowVpcInterfaceRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
- Parameters:
removeFlowVpcInterfaceRequest-- Returns:
- Result of the RemoveFlowVpcInterface operation returned by the service.
- See Also:
-
removeFlowVpcInterface
default RemoveFlowVpcInterfaceResponse removeFlowVpcInterface(Consumer<RemoveFlowVpcInterfaceRequest.Builder> removeFlowVpcInterfaceRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
This is a convenience which creates an instance of the
RemoveFlowVpcInterfaceRequest.Builderavoiding the need to create one manually viaRemoveFlowVpcInterfaceRequest.builder()- Parameters:
removeFlowVpcInterfaceRequest- AConsumerthat will call methods onRemoveFlowVpcInterfaceRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowVpcInterface operation returned by the service.
- See Also:
-
revokeFlowEntitlement
default RevokeFlowEntitlementResponse revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
- Parameters:
revokeFlowEntitlementRequest-- Returns:
- Result of the RevokeFlowEntitlement operation returned by the service.
- See Also:
-
revokeFlowEntitlement
default RevokeFlowEntitlementResponse revokeFlowEntitlement(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
This is a convenience which creates an instance of the
RevokeFlowEntitlementRequest.Builderavoiding the need to create one manually viaRevokeFlowEntitlementRequest.builder()- Parameters:
revokeFlowEntitlementRequest- AConsumerthat will call methods onRevokeFlowEntitlementRequest.Builderto create a request.- Returns:
- Result of the RevokeFlowEntitlement operation returned by the service.
- See Also:
-
startFlow
default StartFlowResponse startFlow(StartFlowRequest startFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Starts a flow.
- Parameters:
startFlowRequest-- Returns:
- Result of the StartFlow operation returned by the service.
- See Also:
-
startFlow
default StartFlowResponse startFlow(Consumer<StartFlowRequest.Builder> startFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Starts a flow.
This is a convenience which creates an instance of the
StartFlowRequest.Builderavoiding the need to create one manually viaStartFlowRequest.builder()- Parameters:
startFlowRequest- AConsumerthat will call methods onStartFlowRequest.Builderto create a request.- Returns:
- Result of the StartFlow operation returned by the service.
- See Also:
-
stopFlow
default StopFlowResponse stopFlow(StopFlowRequest stopFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Stops a flow.
- Parameters:
stopFlowRequest-- Returns:
- Result of the StopFlow operation returned by the service.
- See Also:
-
stopFlow
default StopFlowResponse stopFlow(Consumer<StopFlowRequest.Builder> stopFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Stops a flow.
This is a convenience which creates an instance of the
StopFlowRequest.Builderavoiding the need to create one manually viaStopFlowRequest.builder()- Parameters:
stopFlowRequest- AConsumerthat will call methods onStopFlowRequest.Builderto create a request.- Returns:
- Result of the StopFlow operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, InternalServerErrorException, NotFoundException, AwsServiceException, SdkClientException, MediaConnectException Associates the specified tags to a resource with the specified
resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, InternalServerErrorException, NotFoundException, AwsServiceException, SdkClientException, MediaConnectException Associates the specified tags to a resource with the specified
resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, InternalServerErrorException, NotFoundException, AwsServiceException, SdkClientException, MediaConnectException Deletes specified tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, InternalServerErrorException, NotFoundException, AwsServiceException, SdkClientException, MediaConnectException Deletes specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateBridge
default UpdateBridgeResponse updateBridge(UpdateBridgeRequest updateBridgeRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge.
- Parameters:
updateBridgeRequest-- Returns:
- Result of the UpdateBridge operation returned by the service.
- See Also:
-
updateBridge
default UpdateBridgeResponse updateBridge(Consumer<UpdateBridgeRequest.Builder> updateBridgeRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge.
This is a convenience which creates an instance of the
UpdateBridgeRequest.Builderavoiding the need to create one manually viaUpdateBridgeRequest.builder()- Parameters:
updateBridgeRequest- AConsumerthat will call methods onUpdateBridgeRequest.Builderto create a request.- Returns:
- Result of the UpdateBridge operation returned by the service.
- See Also:
-
updateBridgeOutput
default UpdateBridgeOutputResponse updateBridgeOutput(UpdateBridgeOutputRequest updateBridgeOutputRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge output.
- Parameters:
updateBridgeOutputRequest-- Returns:
- Result of the UpdateBridgeOutput operation returned by the service.
- See Also:
-
updateBridgeOutput
default UpdateBridgeOutputResponse updateBridgeOutput(Consumer<UpdateBridgeOutputRequest.Builder> updateBridgeOutputRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge output.
This is a convenience which creates an instance of the
UpdateBridgeOutputRequest.Builderavoiding the need to create one manually viaUpdateBridgeOutputRequest.builder()- Parameters:
updateBridgeOutputRequest- AConsumerthat will call methods onUpdateBridgeOutputRequest.Builderto create a request.- Returns:
- Result of the UpdateBridgeOutput operation returned by the service.
- See Also:
-
updateBridgeSource
default UpdateBridgeSourceResponse updateBridgeSource(UpdateBridgeSourceRequest updateBridgeSourceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge source.
- Parameters:
updateBridgeSourceRequest-- Returns:
- Result of the UpdateBridgeSource operation returned by the service.
- See Also:
-
updateBridgeSource
default UpdateBridgeSourceResponse updateBridgeSource(Consumer<UpdateBridgeSourceRequest.Builder> updateBridgeSourceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge source.
This is a convenience which creates an instance of the
UpdateBridgeSourceRequest.Builderavoiding the need to create one manually viaUpdateBridgeSourceRequest.builder()- Parameters:
updateBridgeSourceRequest- AConsumerthat will call methods onUpdateBridgeSourceRequest.Builderto create a request.- Returns:
- Result of the UpdateBridgeSource operation returned by the service.
- See Also:
-
updateBridgeState
default UpdateBridgeStateResponse updateBridgeState(UpdateBridgeStateRequest updateBridgeStateRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge state.
- Parameters:
updateBridgeStateRequest-- Returns:
- Result of the UpdateBridgeState operation returned by the service.
- See Also:
-
updateBridgeState
default UpdateBridgeStateResponse updateBridgeState(Consumer<UpdateBridgeStateRequest.Builder> updateBridgeStateRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge state.
This is a convenience which creates an instance of the
UpdateBridgeStateRequest.Builderavoiding the need to create one manually viaUpdateBridgeStateRequest.builder()- Parameters:
updateBridgeStateRequest- AConsumerthat will call methods onUpdateBridgeStateRequest.Builderto create a request.- Returns:
- Result of the UpdateBridgeState operation returned by the service.
- See Also:
-
updateFlow
default UpdateFlowResponse updateFlow(UpdateFlowRequest updateFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing flow.
- Parameters:
updateFlowRequest-- Returns:
- Result of the UpdateFlow operation returned by the service.
- See Also:
-
updateFlow
default UpdateFlowResponse updateFlow(Consumer<UpdateFlowRequest.Builder> updateFlowRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing flow.
This is a convenience which creates an instance of the
UpdateFlowRequest.Builderavoiding the need to create one manually viaUpdateFlowRequest.builder()- Parameters:
updateFlowRequest- AConsumerthat will call methods onUpdateFlowRequest.Builderto create a request.- Returns:
- Result of the UpdateFlow operation returned by the service.
- See Also:
-
updateFlowEntitlement
default UpdateFlowEntitlementResponse updateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an entitlement. 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.
- Parameters:
updateFlowEntitlementRequest-- Returns:
- Result of the UpdateFlowEntitlement operation returned by the service.
- See Also:
-
updateFlowEntitlement
default UpdateFlowEntitlementResponse updateFlowEntitlement(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an entitlement. 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.
This is a convenience which creates an instance of the
UpdateFlowEntitlementRequest.Builderavoiding the need to create one manually viaUpdateFlowEntitlementRequest.builder()- Parameters:
updateFlowEntitlementRequest- AConsumerthat will call methods onUpdateFlowEntitlementRequest.Builderto create a request.- Returns:
- Result of the UpdateFlowEntitlement operation returned by the service.
- See Also:
-
updateFlowMediaStream
default UpdateFlowMediaStreamResponse updateFlowMediaStream(UpdateFlowMediaStreamRequest updateFlowMediaStreamRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing media stream.
- Parameters:
updateFlowMediaStreamRequest-- Returns:
- Result of the UpdateFlowMediaStream operation returned by the service.
- See Also:
-
updateFlowMediaStream
default UpdateFlowMediaStreamResponse updateFlowMediaStream(Consumer<UpdateFlowMediaStreamRequest.Builder> updateFlowMediaStreamRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing media stream.
This is a convenience which creates an instance of the
UpdateFlowMediaStreamRequest.Builderavoiding the need to create one manually viaUpdateFlowMediaStreamRequest.builder()- Parameters:
updateFlowMediaStreamRequest- AConsumerthat will call methods onUpdateFlowMediaStreamRequest.Builderto create a request.- Returns:
- Result of the UpdateFlowMediaStream operation returned by the service.
- See Also:
-
updateFlowOutput
default UpdateFlowOutputResponse updateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing flow output.
- Parameters:
updateFlowOutputRequest-- Returns:
- Result of the UpdateFlowOutput operation returned by the service.
- See Also:
-
updateFlowOutput
default UpdateFlowOutputResponse updateFlowOutput(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing flow output.
This is a convenience which creates an instance of the
UpdateFlowOutputRequest.Builderavoiding the need to create one manually viaUpdateFlowOutputRequest.builder()- Parameters:
updateFlowOutputRequest- AConsumerthat will call methods onUpdateFlowOutputRequest.Builderto create a request.- Returns:
- Result of the UpdateFlowOutput operation returned by the service.
- See Also:
-
updateFlowSource
default UpdateFlowSourceResponse updateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates the source of a flow.
- Parameters:
updateFlowSourceRequest-- Returns:
- Result of the UpdateFlowSource operation returned by the service.
- See Also:
-
updateFlowSource
default UpdateFlowSourceResponse updateFlowSource(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) throws BadRequestException, TooManyRequestsException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates the source of a flow.
This is a convenience which creates an instance of the
UpdateFlowSourceRequest.Builderavoiding the need to create one manually viaUpdateFlowSourceRequest.builder()- Parameters:
updateFlowSourceRequest- AConsumerthat will call methods onUpdateFlowSourceRequest.Builderto create a request.- Returns:
- Result of the UpdateFlowSource operation returned by the service.
- See Also:
-
updateGatewayInstance
default UpdateGatewayInstanceResponse updateGatewayInstance(UpdateGatewayInstanceRequest updateGatewayInstanceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing gateway instance.
- Parameters:
updateGatewayInstanceRequest-- Returns:
- Result of the UpdateGatewayInstance operation returned by the service.
- See Also:
-
updateGatewayInstance
default UpdateGatewayInstanceResponse updateGatewayInstance(Consumer<UpdateGatewayInstanceRequest.Builder> updateGatewayInstanceRequest) throws BadRequestException, TooManyRequestsException, ConflictException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing gateway instance.
This is a convenience which creates an instance of the
UpdateGatewayInstanceRequest.Builderavoiding the need to create one manually viaUpdateGatewayInstanceRequest.builder()- Parameters:
updateGatewayInstanceRequest- AConsumerthat will call methods onUpdateGatewayInstanceRequest.Builderto create a request.- Returns:
- Result of the UpdateGatewayInstance operation returned by the service.
- See Also:
-
waiter
Create an instance ofMediaConnectWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
MediaConnectWaiter
-
create
Create aMediaConnectClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMediaConnectClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-