Interface MediaConnectClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
API for AWS Elemental MediaConnect-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AddBridgeOutputsResponse
addBridgeOutputs
(Consumer<AddBridgeOutputsRequest.Builder> addBridgeOutputsRequest) Adds outputs to an existing bridge.default AddBridgeOutputsResponse
addBridgeOutputs
(AddBridgeOutputsRequest addBridgeOutputsRequest) Adds outputs to an existing bridge.default AddBridgeSourcesResponse
addBridgeSources
(Consumer<AddBridgeSourcesRequest.Builder> addBridgeSourcesRequest) Adds sources to an existing bridge.default AddBridgeSourcesResponse
addBridgeSources
(AddBridgeSourcesRequest addBridgeSourcesRequest) Adds sources to an existing bridge.default AddFlowMediaStreamsResponse
addFlowMediaStreams
(Consumer<AddFlowMediaStreamsRequest.Builder> addFlowMediaStreamsRequest) Adds media streams to an existing flow.default AddFlowMediaStreamsResponse
addFlowMediaStreams
(AddFlowMediaStreamsRequest addFlowMediaStreamsRequest) Adds media streams to an existing flow.default AddFlowOutputsResponse
addFlowOutputs
(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) Adds outputs to an existing flow.default AddFlowOutputsResponse
addFlowOutputs
(AddFlowOutputsRequest addFlowOutputsRequest) Adds outputs to an existing flow.default AddFlowSourcesResponse
addFlowSources
(Consumer<AddFlowSourcesRequest.Builder> addFlowSourcesRequest) Adds Sources to flowdefault AddFlowSourcesResponse
addFlowSources
(AddFlowSourcesRequest addFlowSourcesRequest) Adds Sources to flowdefault AddFlowVpcInterfacesResponse
addFlowVpcInterfaces
(Consumer<AddFlowVpcInterfacesRequest.Builder> addFlowVpcInterfacesRequest) Adds VPC interfaces to flowdefault AddFlowVpcInterfacesResponse
addFlowVpcInterfaces
(AddFlowVpcInterfacesRequest addFlowVpcInterfacesRequest) Adds VPC interfaces to flowstatic MediaConnectClientBuilder
builder()
Create a builder that can be used to configure and create aMediaConnectClient
.static MediaConnectClient
create()
Create aMediaConnectClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateBridgeResponse
createBridge
(Consumer<CreateBridgeRequest.Builder> createBridgeRequest) Creates a new bridge.default CreateBridgeResponse
createBridge
(CreateBridgeRequest createBridgeRequest) Creates a new bridge.default CreateFlowResponse
createFlow
(Consumer<CreateFlowRequest.Builder> createFlowRequest) Creates a new flow.default CreateFlowResponse
createFlow
(CreateFlowRequest createFlowRequest) Creates a new flow.default CreateGatewayResponse
createGateway
(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a new gateway.default CreateGatewayResponse
createGateway
(CreateGatewayRequest createGatewayRequest) Creates a new gateway.default DeleteBridgeResponse
deleteBridge
(Consumer<DeleteBridgeRequest.Builder> deleteBridgeRequest) Deletes a bridge.default DeleteBridgeResponse
deleteBridge
(DeleteBridgeRequest deleteBridgeRequest) Deletes a bridge.default DeleteFlowResponse
deleteFlow
(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest) Deletes a flow.default DeleteFlowResponse
deleteFlow
(DeleteFlowRequest deleteFlowRequest) Deletes a flow.default DeleteGatewayResponse
deleteGateway
(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a gateway.default DeleteGatewayResponse
deleteGateway
(DeleteGatewayRequest deleteGatewayRequest) Deletes a gateway.deregisterGatewayInstance
(Consumer<DeregisterGatewayInstanceRequest.Builder> deregisterGatewayInstanceRequest) Deregisters an instance.deregisterGatewayInstance
(DeregisterGatewayInstanceRequest deregisterGatewayInstanceRequest) Deregisters an instance.default DescribeBridgeResponse
describeBridge
(Consumer<DescribeBridgeRequest.Builder> describeBridgeRequest) Displays the details of a bridge.default DescribeBridgeResponse
describeBridge
(DescribeBridgeRequest describeBridgeRequest) Displays the details of a bridge.default DescribeFlowResponse
describeFlow
(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) Displays the details of a flow.default DescribeFlowResponse
describeFlow
(DescribeFlowRequest describeFlowRequest) Displays the details of a flow.describeFlowSourceMetadata
(Consumer<DescribeFlowSourceMetadataRequest.Builder> describeFlowSourceMetadataRequest) Displays details of the flow's source stream.describeFlowSourceMetadata
(DescribeFlowSourceMetadataRequest describeFlowSourceMetadataRequest) Displays details of the flow's source stream.default DescribeGatewayResponse
describeGateway
(Consumer<DescribeGatewayRequest.Builder> describeGatewayRequest) Displays the details of a gateway.default DescribeGatewayResponse
describeGateway
(DescribeGatewayRequest describeGatewayRequest) Displays the details of a gateway.default DescribeGatewayInstanceResponse
describeGatewayInstance
(Consumer<DescribeGatewayInstanceRequest.Builder> describeGatewayInstanceRequest) Displays the details of an instance.default DescribeGatewayInstanceResponse
describeGatewayInstance
(DescribeGatewayInstanceRequest describeGatewayInstanceRequest) Displays the details of an instance.default DescribeOfferingResponse
describeOffering
(Consumer<DescribeOfferingRequest.Builder> describeOfferingRequest) Displays the details of an offering.default DescribeOfferingResponse
describeOffering
(DescribeOfferingRequest describeOfferingRequest) Displays the details of an offering.default DescribeReservationResponse
describeReservation
(Consumer<DescribeReservationRequest.Builder> describeReservationRequest) Displays the details of a reservation.default DescribeReservationResponse
describeReservation
(DescribeReservationRequest describeReservationRequest) Displays the details of a reservation.default GrantFlowEntitlementsResponse
grantFlowEntitlements
(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) Grants entitlements to an existing flow.default GrantFlowEntitlementsResponse
grantFlowEntitlements
(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) Grants entitlements to an existing flow.default ListBridgesResponse
listBridges
(Consumer<ListBridgesRequest.Builder> listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Arn.default ListBridgesResponse
listBridges
(ListBridgesRequest listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Arn.default ListBridgesIterable
listBridgesPaginator
(Consumer<ListBridgesRequest.Builder> listBridgesRequest) This is a variant oflistBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)
operation.default ListBridgesIterable
listBridgesPaginator
(ListBridgesRequest listBridgesRequest) This is a variant oflistBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)
operation.default ListEntitlementsResponse
Displays a list of all entitlements that have been granted to this account.default ListEntitlementsResponse
listEntitlements
(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account.default ListEntitlementsResponse
listEntitlements
(ListEntitlementsRequest listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account.default ListEntitlementsIterable
This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)
operation.default ListEntitlementsIterable
listEntitlementsPaginator
(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)
operation.default ListEntitlementsIterable
listEntitlementsPaginator
(ListEntitlementsRequest listEntitlementsRequest) This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)
operation.default ListFlowsResponse
Displays a list of flows that are associated with this account.default ListFlowsResponse
listFlows
(Consumer<ListFlowsRequest.Builder> listFlowsRequest) Displays a list of flows that are associated with this account.default ListFlowsResponse
listFlows
(ListFlowsRequest listFlowsRequest) Displays a list of flows that are associated with this account.default ListFlowsIterable
This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)
operation.default ListFlowsIterable
listFlowsPaginator
(Consumer<ListFlowsRequest.Builder> listFlowsRequest) This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)
operation.default ListFlowsIterable
listFlowsPaginator
(ListFlowsRequest listFlowsRequest) This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)
operation.default ListGatewayInstancesResponse
listGatewayInstances
(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) Displays a list of instances associated with the AWS account.default ListGatewayInstancesResponse
listGatewayInstances
(ListGatewayInstancesRequest listGatewayInstancesRequest) Displays a list of instances associated with the AWS account.default ListGatewayInstancesIterable
listGatewayInstancesPaginator
(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) This is a variant oflistGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)
operation.default ListGatewayInstancesIterable
listGatewayInstancesPaginator
(ListGatewayInstancesRequest listGatewayInstancesRequest) This is a variant oflistGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)
operation.default ListGatewaysResponse
listGateways
(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Displays a list of gateways that are associated with this account.default ListGatewaysResponse
listGateways
(ListGatewaysRequest listGatewaysRequest) Displays a list of gateways that are associated with this account.default ListGatewaysIterable
listGatewaysPaginator
(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)
operation.default ListGatewaysIterable
listGatewaysPaginator
(ListGatewaysRequest listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)
operation.default ListOfferingsResponse
listOfferings
(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) Displays a list of all offerings that are available to this account in the current AWS Region.default ListOfferingsResponse
listOfferings
(ListOfferingsRequest listOfferingsRequest) Displays a list of all offerings that are available to this account in the current AWS Region.default ListOfferingsIterable
listOfferingsPaginator
(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)
operation.default ListOfferingsIterable
listOfferingsPaginator
(ListOfferingsRequest listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)
operation.default ListReservationsResponse
listReservations
(Consumer<ListReservationsRequest.Builder> listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current AWS Region.default ListReservationsResponse
listReservations
(ListReservationsRequest listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current AWS Region.default ListReservationsIterable
listReservationsPaginator
(Consumer<ListReservationsRequest.Builder> listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)
operation.default ListReservationsIterable
listReservationsPaginator
(ListReservationsRequest listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags on an AWS Elemental MediaConnect resourcedefault ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List all tags on an AWS Elemental MediaConnect resourcedefault PurchaseOfferingResponse
purchaseOffering
(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) Submits a request to purchase an offering.default PurchaseOfferingResponse
purchaseOffering
(PurchaseOfferingRequest purchaseOfferingRequest) Submits a request to purchase an offering.default RemoveBridgeOutputResponse
removeBridgeOutput
(Consumer<RemoveBridgeOutputRequest.Builder> removeBridgeOutputRequest) Removes an output from a bridge.default RemoveBridgeOutputResponse
removeBridgeOutput
(RemoveBridgeOutputRequest removeBridgeOutputRequest) Removes an output from a bridge.default RemoveBridgeSourceResponse
removeBridgeSource
(Consumer<RemoveBridgeSourceRequest.Builder> removeBridgeSourceRequest) Removes a source from a bridge.default RemoveBridgeSourceResponse
removeBridgeSource
(RemoveBridgeSourceRequest removeBridgeSourceRequest) Removes a source from a bridge.default RemoveFlowMediaStreamResponse
removeFlowMediaStream
(Consumer<RemoveFlowMediaStreamRequest.Builder> removeFlowMediaStreamRequest) Removes a media stream from a flow.default RemoveFlowMediaStreamResponse
removeFlowMediaStream
(RemoveFlowMediaStreamRequest removeFlowMediaStreamRequest) Removes a media stream from a flow.default RemoveFlowOutputResponse
removeFlowOutput
(Consumer<RemoveFlowOutputRequest.Builder> removeFlowOutputRequest) Removes an output from an existing flow.default RemoveFlowOutputResponse
removeFlowOutput
(RemoveFlowOutputRequest removeFlowOutputRequest) Removes an output from an existing flow.default RemoveFlowSourceResponse
removeFlowSource
(Consumer<RemoveFlowSourceRequest.Builder> removeFlowSourceRequest) Removes a source from an existing flow.default RemoveFlowSourceResponse
removeFlowSource
(RemoveFlowSourceRequest removeFlowSourceRequest) Removes a source from an existing flow.default RemoveFlowVpcInterfaceResponse
removeFlowVpcInterface
(Consumer<RemoveFlowVpcInterfaceRequest.Builder> removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow.default RemoveFlowVpcInterfaceResponse
removeFlowVpcInterface
(RemoveFlowVpcInterfaceRequest removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow.default RevokeFlowEntitlementResponse
revokeFlowEntitlement
(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest) Revokes an entitlement from a flow.default RevokeFlowEntitlementResponse
revokeFlowEntitlement
(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) Revokes an entitlement from a flow.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartFlowResponse
startFlow
(Consumer<StartFlowRequest.Builder> startFlowRequest) Starts a flow.default StartFlowResponse
startFlow
(StartFlowRequest startFlowRequest) Starts a flow.default StopFlowResponse
stopFlow
(Consumer<StopFlowRequest.Builder> stopFlowRequest) Stops a flow.default StopFlowResponse
stopFlow
(StopFlowRequest stopFlowRequest) Stops a flow.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specified resourceArn.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specified resourceArn.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.default UpdateBridgeResponse
updateBridge
(Consumer<UpdateBridgeRequest.Builder> updateBridgeRequest) Updates the bridgedefault UpdateBridgeResponse
updateBridge
(UpdateBridgeRequest updateBridgeRequest) Updates the bridgedefault UpdateBridgeOutputResponse
updateBridgeOutput
(Consumer<UpdateBridgeOutputRequest.Builder> updateBridgeOutputRequest) Updates an existing bridge output.default UpdateBridgeOutputResponse
updateBridgeOutput
(UpdateBridgeOutputRequest updateBridgeOutputRequest) Updates an existing bridge output.default UpdateBridgeSourceResponse
updateBridgeSource
(Consumer<UpdateBridgeSourceRequest.Builder> updateBridgeSourceRequest) Updates an existing bridge source.default UpdateBridgeSourceResponse
updateBridgeSource
(UpdateBridgeSourceRequest updateBridgeSourceRequest) Updates an existing bridge source.default UpdateBridgeStateResponse
updateBridgeState
(Consumer<UpdateBridgeStateRequest.Builder> updateBridgeStateRequest) Updates the bridge statedefault UpdateBridgeStateResponse
updateBridgeState
(UpdateBridgeStateRequest updateBridgeStateRequest) Updates the bridge statedefault UpdateFlowResponse
updateFlow
(Consumer<UpdateFlowRequest.Builder> updateFlowRequest) Updates flowdefault UpdateFlowResponse
updateFlow
(UpdateFlowRequest updateFlowRequest) Updates flowdefault UpdateFlowEntitlementResponse
updateFlowEntitlement
(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) You can change an entitlement's description, subscribers, and encryption.default UpdateFlowEntitlementResponse
updateFlowEntitlement
(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) You can change an entitlement's description, subscribers, and encryption.default UpdateFlowMediaStreamResponse
updateFlowMediaStream
(Consumer<UpdateFlowMediaStreamRequest.Builder> updateFlowMediaStreamRequest) Updates an existing media stream.default UpdateFlowMediaStreamResponse
updateFlowMediaStream
(UpdateFlowMediaStreamRequest updateFlowMediaStreamRequest) Updates an existing media stream.default UpdateFlowOutputResponse
updateFlowOutput
(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) Updates an existing flow output.default UpdateFlowOutputResponse
updateFlowOutput
(UpdateFlowOutputRequest updateFlowOutputRequest) Updates an existing flow output.default UpdateFlowSourceResponse
updateFlowSource
(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) Updates the source of a flow.default UpdateFlowSourceResponse
updateFlowSource
(UpdateFlowSourceRequest updateFlowSourceRequest) Updates the source of a flow.default UpdateGatewayInstanceResponse
updateGatewayInstance
(Consumer<UpdateGatewayInstanceRequest.Builder> updateGatewayInstanceRequest) Updates the configuration of an existing Gateway Instance.default UpdateGatewayInstanceResponse
updateGatewayInstance
(UpdateGatewayInstanceRequest updateGatewayInstanceRequest) Updates the configuration of an existing Gateway Instance.default MediaConnectWaiter
waiter()
Create an instance ofMediaConnectWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing bridge.- Parameters:
addBridgeOutputsRequest
- A request to add outputs to the specified bridge.- Returns:
- Result of the AddBridgeOutputs operation returned by the service.
- See Also:
-
addBridgeOutputs
default AddBridgeOutputsResponse addBridgeOutputs(Consumer<AddBridgeOutputsRequest.Builder> addBridgeOutputsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing bridge.
This is a convenience which creates an instance of the
AddBridgeOutputsRequest.Builder
avoiding the need to create one manually viaAddBridgeOutputsRequest.builder()
- Parameters:
addBridgeOutputsRequest
- AConsumer
that will call methods onAddBridgeOutputsRequest.Builder
to create a request. A request to add outputs to the specified bridge.- Returns:
- Result of the AddBridgeOutputs operation returned by the service.
- See Also:
-
addBridgeSources
default AddBridgeSourcesResponse addBridgeSources(AddBridgeSourcesRequest addBridgeSourcesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Adds sources to an existing bridge.- Parameters:
addBridgeSourcesRequest
- A request to add sources to the specified bridge.- Returns:
- Result of the AddBridgeSources operation returned by the service.
- See Also:
-
addBridgeSources
default AddBridgeSourcesResponse addBridgeSources(Consumer<AddBridgeSourcesRequest.Builder> addBridgeSourcesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Adds sources to an existing bridge.
This is a convenience which creates an instance of the
AddBridgeSourcesRequest.Builder
avoiding the need to create one manually viaAddBridgeSourcesRequest.builder()
- Parameters:
addBridgeSourcesRequest
- AConsumer
that will call methods onAddBridgeSourcesRequest.Builder
to create a request. A request to add sources to the specified bridge.- Returns:
- Result of the AddBridgeSources operation returned by the service.
- See Also:
-
addFlowMediaStreams
default AddFlowMediaStreamsResponse addFlowMediaStreams(AddFlowMediaStreamsRequest addFlowMediaStreamsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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
- A request to add media streams to the flow.- Returns:
- Result of the AddFlowMediaStreams operation returned by the service.
- See Also:
-
addFlowMediaStreams
default AddFlowMediaStreamsResponse addFlowMediaStreams(Consumer<AddFlowMediaStreamsRequest.Builder> addFlowMediaStreamsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaAddFlowMediaStreamsRequest.builder()
- Parameters:
addFlowMediaStreamsRequest
- AConsumer
that will call methods onAddFlowMediaStreamsRequest.Builder
to create a request. A request to add media streams to the flow.- Returns:
- Result of the AddFlowMediaStreams operation returned by the service.
- See Also:
-
addFlowOutputs
default AddFlowOutputsResponse addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest) throws AddFlowOutputs420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Adds outputs to an existing flow. You can create up to 50 outputs per flow.- Parameters:
addFlowOutputsRequest
- A request to add outputs to the specified flow.- Returns:
- Result of the AddFlowOutputs operation returned by the service.
- See Also:
-
addFlowOutputs
default AddFlowOutputsResponse addFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) throws AddFlowOutputs420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaAddFlowOutputsRequest.builder()
- Parameters:
addFlowOutputsRequest
- AConsumer
that will call methods onAddFlowOutputsRequest.Builder
to create a request. A request to add outputs to the specified flow.- Returns:
- Result of the AddFlowOutputs operation returned by the service.
- See Also:
-
addFlowSources
default AddFlowSourcesResponse addFlowSources(AddFlowSourcesRequest addFlowSourcesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Adds Sources to flow- Parameters:
addFlowSourcesRequest
- A request to add sources to the flow.- Returns:
- Result of the AddFlowSources operation returned by the service.
- See Also:
-
addFlowSources
default AddFlowSourcesResponse addFlowSources(Consumer<AddFlowSourcesRequest.Builder> addFlowSourcesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Adds Sources to flow
This is a convenience which creates an instance of the
AddFlowSourcesRequest.Builder
avoiding the need to create one manually viaAddFlowSourcesRequest.builder()
- Parameters:
addFlowSourcesRequest
- AConsumer
that will call methods onAddFlowSourcesRequest.Builder
to create a request. A request to add sources to the flow.- Returns:
- Result of the AddFlowSources operation returned by the service.
- See Also:
-
addFlowVpcInterfaces
default AddFlowVpcInterfacesResponse addFlowVpcInterfaces(AddFlowVpcInterfacesRequest addFlowVpcInterfacesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Adds VPC interfaces to flow- Parameters:
addFlowVpcInterfacesRequest
- A request to add VPC interfaces to the flow.- Returns:
- Result of the AddFlowVpcInterfaces operation returned by the service.
- See Also:
-
addFlowVpcInterfaces
default AddFlowVpcInterfacesResponse addFlowVpcInterfaces(Consumer<AddFlowVpcInterfacesRequest.Builder> addFlowVpcInterfacesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Adds VPC interfaces to flow
This is a convenience which creates an instance of the
AddFlowVpcInterfacesRequest.Builder
avoiding the need to create one manually viaAddFlowVpcInterfacesRequest.builder()
- Parameters:
addFlowVpcInterfacesRequest
- AConsumer
that will call methods onAddFlowVpcInterfacesRequest.Builder
to create a request. A request to add VPC interfaces to the flow.- Returns:
- Result of the AddFlowVpcInterfaces operation returned by the service.
- See Also:
-
createBridge
default CreateBridgeResponse createBridge(CreateBridgeRequest createBridgeRequest) throws CreateBridge420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Creates a new bridge. The request must include one source.- Parameters:
createBridgeRequest
- Creates a new bridge. The request must include one source.- Returns:
- Result of the CreateBridge operation returned by the service.
- See Also:
-
createBridge
default CreateBridgeResponse createBridge(Consumer<CreateBridgeRequest.Builder> createBridgeRequest) throws CreateBridge420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Creates a new bridge. The request must include one source.
This is a convenience which creates an instance of the
CreateBridgeRequest.Builder
avoiding the need to create one manually viaCreateBridgeRequest.builder()
- Parameters:
createBridgeRequest
- AConsumer
that will call methods onCreateBridgeRequest.Builder
to create a request. Creates a new bridge. The request must include one source.- Returns:
- Result of the CreateBridge operation returned by the service.
- See Also:
-
createFlow
default CreateFlowResponse createFlow(CreateFlowRequest createFlowRequest) throws CreateFlow420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, 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
- Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).- Returns:
- Result of the CreateFlow operation returned by the service.
- See Also:
-
createFlow
default CreateFlowResponse createFlow(Consumer<CreateFlowRequest.Builder> createFlowRequest) throws CreateFlow420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaCreateFlowRequest.builder()
- Parameters:
createFlowRequest
- AConsumer
that will call methods onCreateFlowRequest.Builder
to create a request. Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).- Returns:
- Result of the CreateFlow operation returned by the service.
- See Also:
-
createGateway
default CreateGatewayResponse createGateway(CreateGatewayRequest createGatewayRequest) throws CreateGateway420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Creates a new gateway. The request must include at least one network (up to 4).- Parameters:
createGatewayRequest
- Creates a new gateway. The request must include at least one network (up to 4).- Returns:
- Result of the CreateGateway operation returned by the service.
- See Also:
-
createGateway
default CreateGatewayResponse createGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) throws CreateGateway420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Creates a new gateway. The request must include at least one network (up to 4).
This is a convenience which creates an instance of the
CreateGatewayRequest.Builder
avoiding the need to create one manually viaCreateGatewayRequest.builder()
- Parameters:
createGatewayRequest
- AConsumer
that will call methods onCreateGatewayRequest.Builder
to create a request. Creates a new gateway. The request must include at least one network (up to 4).- Returns:
- Result of the CreateGateway operation returned by the service.
- See Also:
-
deleteBridge
default DeleteBridgeResponse deleteBridge(DeleteBridgeRequest deleteBridgeRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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.Builder
avoiding the need to create one manually viaDeleteBridgeRequest.builder()
- Parameters:
deleteBridgeRequest
- AConsumer
that will call methods onDeleteBridgeRequest.Builder
to create a request.- Returns:
- Result of the DeleteBridge operation returned by the service.
- See Also:
-
deleteFlow
default DeleteFlowResponse deleteFlow(DeleteFlowRequest deleteFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaDeleteFlowRequest.builder()
- Parameters:
deleteFlowRequest
- AConsumer
that will call methods onDeleteFlowRequest.Builder
to create a request.- Returns:
- Result of the DeleteFlow operation returned by the service.
- See Also:
-
deleteGateway
default DeleteGatewayResponse deleteGateway(DeleteGatewayRequest deleteGatewayRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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.Builder
avoiding the need to create one manually viaDeleteGatewayRequest.builder()
- Parameters:
deleteGatewayRequest
- AConsumer
that will call methods onDeleteGatewayRequest.Builder
to create a request.- Returns:
- Result of the DeleteGateway operation returned by the service.
- See Also:
-
deregisterGatewayInstance
default DeregisterGatewayInstanceResponse deregisterGatewayInstance(DeregisterGatewayInstanceRequest deregisterGatewayInstanceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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.Builder
avoiding the need to create one manually viaDeregisterGatewayInstanceRequest.builder()
- Parameters:
deregisterGatewayInstanceRequest
- AConsumer
that will call methods onDeregisterGatewayInstanceRequest.Builder
to create a request.- Returns:
- Result of the DeregisterGatewayInstance operation returned by the service.
- See Also:
-
describeBridge
default DescribeBridgeResponse describeBridge(DescribeBridgeRequest describeBridgeRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a bridge.
This is a convenience which creates an instance of the
DescribeBridgeRequest.Builder
avoiding the need to create one manually viaDescribeBridgeRequest.builder()
- Parameters:
describeBridgeRequest
- AConsumer
that will call methods onDescribeBridgeRequest.Builder
to create a request.- Returns:
- Result of the DescribeBridge operation returned by the service.
- See Also:
-
describeFlow
default DescribeFlowResponse describeFlow(DescribeFlowRequest describeFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.- Parameters:
describeFlowRequest
-- Returns:
- Result of the DescribeFlow operation returned by the service.
- See Also:
-
describeFlow
default DescribeFlowResponse describeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.
This is a convenience which creates an instance of the
DescribeFlowRequest.Builder
avoiding the need to create one manually viaDescribeFlowRequest.builder()
- Parameters:
describeFlowRequest
- AConsumer
that will call methods onDescribeFlowRequest.Builder
to create a request.- Returns:
- Result of the DescribeFlow operation returned by the service.
- See Also:
-
describeFlowSourceMetadata
default DescribeFlowSourceMetadataResponse describeFlowSourceMetadata(DescribeFlowSourceMetadataRequest describeFlowSourceMetadataRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs.- Parameters:
describeFlowSourceMetadataRequest
-- Returns:
- Result of the DescribeFlowSourceMetadata operation returned by the service.
- See Also:
-
describeFlowSourceMetadata
default DescribeFlowSourceMetadataResponse describeFlowSourceMetadata(Consumer<DescribeFlowSourceMetadataRequest.Builder> describeFlowSourceMetadataRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs.
This is a convenience which creates an instance of the
DescribeFlowSourceMetadataRequest.Builder
avoiding the need to create one manually viaDescribeFlowSourceMetadataRequest.builder()
- Parameters:
describeFlowSourceMetadataRequest
- AConsumer
that will call methods onDescribeFlowSourceMetadataRequest.Builder
to create a request.- Returns:
- Result of the DescribeFlowSourceMetadata operation returned by the service.
- See Also:
-
describeGateway
default DescribeGatewayResponse describeGateway(DescribeGatewayRequest describeGatewayRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a gateway. The response includes the gateway 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of a gateway. The response includes the gateway ARN, name, and CIDR blocks, as well as details about the networks.
This is a convenience which creates an instance of the
DescribeGatewayRequest.Builder
avoiding the need to create one manually viaDescribeGatewayRequest.builder()
- Parameters:
describeGatewayRequest
- AConsumer
that will call methods onDescribeGatewayRequest.Builder
to create a request.- Returns:
- Result of the DescribeGateway operation returned by the service.
- See Also:
-
describeGatewayInstance
default DescribeGatewayInstanceResponse describeGatewayInstance(DescribeGatewayInstanceRequest describeGatewayInstanceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays the details of an instance.
This is a convenience which creates an instance of the
DescribeGatewayInstanceRequest.Builder
avoiding the need to create one manually viaDescribeGatewayInstanceRequest.builder()
- Parameters:
describeGatewayInstanceRequest
- AConsumer
that will call methods onDescribeGatewayInstanceRequest.Builder
to create a request.- Returns:
- Result of the DescribeGatewayInstance operation returned by the service.
- See Also:
-
describeOffering
default DescribeOfferingResponse describeOffering(DescribeOfferingRequest describeOfferingRequest) throws NotFoundException, ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 NotFoundException, ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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.Builder
avoiding the need to create one manually viaDescribeOfferingRequest.builder()
- Parameters:
describeOfferingRequest
- AConsumer
that will call methods onDescribeOfferingRequest.Builder
to create a request.- Returns:
- Result of the DescribeOffering operation returned by the service.
- See Also:
-
describeReservation
default DescribeReservationResponse describeReservation(DescribeReservationRequest describeReservationRequest) throws NotFoundException, ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 NotFoundException, ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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.Builder
avoiding the need to create one manually viaDescribeReservationRequest.builder()
- Parameters:
describeReservationRequest
- AConsumer
that will call methods onDescribeReservationRequest.Builder
to create a request.- Returns:
- Result of the DescribeReservation operation returned by the service.
- See Also:
-
grantFlowEntitlements
default GrantFlowEntitlementsResponse grantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) throws GrantFlowEntitlements420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Grants entitlements to an existing flow.- Parameters:
grantFlowEntitlementsRequest
- A request to grant entitlements on a flow.- Returns:
- Result of the GrantFlowEntitlements operation returned by the service.
- See Also:
-
grantFlowEntitlements
default GrantFlowEntitlementsResponse grantFlowEntitlements(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) throws GrantFlowEntitlements420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Grants entitlements to an existing flow.
This is a convenience which creates an instance of the
GrantFlowEntitlementsRequest.Builder
avoiding the need to create one manually viaGrantFlowEntitlementsRequest.builder()
- Parameters:
grantFlowEntitlementsRequest
- AConsumer
that will call methods onGrantFlowEntitlementsRequest.Builder
to create a request. A request to grant entitlements on a flow.- Returns:
- Result of the GrantFlowEntitlements operation returned by the service.
- See Also:
-
listBridges
default ListBridgesResponse listBridges(ListBridgesRequest listBridgesRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of bridges that are associated with this account and an optionally specified 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of bridges that are associated with this account and an optionally specified Arn. This request returns a paginated result.
This is a convenience which creates an instance of the
ListBridgesRequest.Builder
avoiding the need to create one manually viaListBridgesRequest.builder()
- Parameters:
listBridgesRequest
- AConsumer
that will call methods onListBridgesRequest.Builder
to create a request.- Returns:
- Result of the ListBridges operation returned by the service.
- See Also:
-
listBridgesPaginator
default ListBridgesIterable listBridgesPaginator(ListBridgesRequest listBridgesRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListBridgesRequest.builder()
- Parameters:
listBridgesRequest
- AConsumer
that will call methods onListBridgesRequest.Builder
to 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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.Builder
avoiding the need to create one manually viaListEntitlementsRequest.builder()
- Parameters:
listEntitlementsRequest
- AConsumer
that will call methods onListEntitlementsRequest.Builder
to create a request.- Returns:
- Result of the ListEntitlements operation returned by the service.
- See Also:
-
listEntitlements
default ListEntitlementsResponse listEntitlements() throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListEntitlementsRequest.builder()
- Parameters:
listEntitlementsRequest
- AConsumer
that will call methods onListEntitlementsRequest.Builder
to 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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.Builder
avoiding the need to create one manually viaListFlowsRequest.builder()
- Parameters:
listFlowsRequest
- AConsumer
that will call methods onListFlowsRequest.Builder
to create a request.- Returns:
- Result of the ListFlows operation returned by the service.
- See Also:
-
listFlows
default ListFlowsResponse listFlows() throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListFlowsRequest.builder()
- Parameters:
listFlowsRequest
- AConsumer
that will call methods onListFlowsRequest.Builder
to 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of instances associated with the AWS 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of instances associated with the AWS 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.Builder
avoiding the need to create one manually viaListGatewayInstancesRequest.builder()
- Parameters:
listGatewayInstancesRequest
- AConsumer
that will call methods onListGatewayInstancesRequest.Builder
to create a request.- Returns:
- Result of the ListGatewayInstances operation returned by the service.
- See Also:
-
listGatewayInstancesPaginator
default ListGatewayInstancesIterable listGatewayInstancesPaginator(ListGatewayInstancesRequest listGatewayInstancesRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListGatewayInstancesRequest.builder()
- Parameters:
listGatewayInstancesRequest
- AConsumer
that will call methods onListGatewayInstancesRequest.Builder
to 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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.Builder
avoiding the need to create one manually viaListGatewaysRequest.builder()
- Parameters:
listGatewaysRequest
- AConsumer
that will call methods onListGatewaysRequest.Builder
to create a request.- Returns:
- Result of the ListGateways operation returned by the service.
- See Also:
-
listGatewaysPaginator
default ListGatewaysIterable listGatewaysPaginator(ListGatewaysRequest listGatewaysRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListGatewaysRequest.builder()
- Parameters:
listGatewaysRequest
- AConsumer
that will call methods onListGatewaysRequest.Builder
to 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all offerings that are available to this account in the current AWS 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all offerings that are available to this account in the current AWS 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.Builder
avoiding the need to create one manually viaListOfferingsRequest.builder()
- Parameters:
listOfferingsRequest
- AConsumer
that will call methods onListOfferingsRequest.Builder
to create a request.- Returns:
- Result of the ListOfferings operation returned by the service.
- See Also:
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListOfferingsRequest.builder()
- Parameters:
listOfferingsRequest
- AConsumer
that will call methods onListOfferingsRequest.Builder
to 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all reservations that have been purchased by this account in the current AWS 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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException Displays a list of all reservations that have been purchased by this account in the current AWS 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.Builder
avoiding the need to create one manually viaListReservationsRequest.builder()
- Parameters:
listReservationsRequest
- AConsumer
that will call methods onListReservationsRequest.Builder
to create a request.- Returns:
- Result of the ListReservations operation returned by the service.
- See Also:
-
listReservationsPaginator
default ListReservationsIterable listReservationsPaginator(ListReservationsRequest listReservationsRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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 ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListReservationsRequest.builder()
- Parameters:
listReservationsRequest
- AConsumer
that will call methods onListReservationsRequest.Builder
to 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 NotFoundException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException List all tags on an AWS Elemental 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 NotFoundException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException List all tags on an AWS Elemental MediaConnect resource
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
purchaseOffering
default PurchaseOfferingResponse purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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
- A request to purchase a offering.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- See Also:
-
purchaseOffering
default PurchaseOfferingResponse purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaPurchaseOfferingRequest.builder()
- Parameters:
purchaseOfferingRequest
- AConsumer
that will call methods onPurchaseOfferingRequest.Builder
to create a request. A request to purchase a offering.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- See Also:
-
removeBridgeOutput
default RemoveBridgeOutputResponse removeBridgeOutput(RemoveBridgeOutputRequest removeBridgeOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Removes an output from a bridge.
This is a convenience which creates an instance of the
RemoveBridgeOutputRequest.Builder
avoiding the need to create one manually viaRemoveBridgeOutputRequest.builder()
- Parameters:
removeBridgeOutputRequest
- AConsumer
that will call methods onRemoveBridgeOutputRequest.Builder
to create a request.- Returns:
- Result of the RemoveBridgeOutput operation returned by the service.
- See Also:
-
removeBridgeSource
default RemoveBridgeSourceResponse removeBridgeSource(RemoveBridgeSourceRequest removeBridgeSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Removes a source from a bridge.
This is a convenience which creates an instance of the
RemoveBridgeSourceRequest.Builder
avoiding the need to create one manually viaRemoveBridgeSourceRequest.builder()
- Parameters:
removeBridgeSourceRequest
- AConsumer
that will call methods onRemoveBridgeSourceRequest.Builder
to create a request.- Returns:
- Result of the RemoveBridgeSource operation returned by the service.
- See Also:
-
removeFlowMediaStream
default RemoveFlowMediaStreamResponse removeFlowMediaStream(RemoveFlowMediaStreamRequest removeFlowMediaStreamRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaRemoveFlowMediaStreamRequest.builder()
- Parameters:
removeFlowMediaStreamRequest
- AConsumer
that will call methods onRemoveFlowMediaStreamRequest.Builder
to create a request.- Returns:
- Result of the RemoveFlowMediaStream operation returned by the service.
- See Also:
-
removeFlowOutput
default RemoveFlowOutputResponse removeFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaRemoveFlowOutputRequest.builder()
- Parameters:
removeFlowOutputRequest
- AConsumer
that will call methods onRemoveFlowOutputRequest.Builder
to create a request.- Returns:
- Result of the RemoveFlowOutput operation returned by the service.
- See Also:
-
removeFlowSource
default RemoveFlowSourceResponse removeFlowSource(RemoveFlowSourceRequest removeFlowSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaRemoveFlowSourceRequest.builder()
- Parameters:
removeFlowSourceRequest
- AConsumer
that will call methods onRemoveFlowSourceRequest.Builder
to create a request.- Returns:
- Result of the RemoveFlowSource operation returned by the service.
- See Also:
-
removeFlowVpcInterface
default RemoveFlowVpcInterfaceResponse removeFlowVpcInterface(RemoveFlowVpcInterfaceRequest removeFlowVpcInterfaceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaRemoveFlowVpcInterfaceRequest.builder()
- Parameters:
removeFlowVpcInterfaceRequest
- AConsumer
that will call methods onRemoveFlowVpcInterfaceRequest.Builder
to create a request.- Returns:
- Result of the RemoveFlowVpcInterface operation returned by the service.
- See Also:
-
revokeFlowEntitlement
default RevokeFlowEntitlementResponse revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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.Builder
avoiding the need to create one manually viaRevokeFlowEntitlementRequest.builder()
- Parameters:
revokeFlowEntitlementRequest
- AConsumer
that will call methods onRevokeFlowEntitlementRequest.Builder
to create a request.- Returns:
- Result of the RevokeFlowEntitlement operation returned by the service.
- See Also:
-
startFlow
default StartFlowResponse startFlow(StartFlowRequest startFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Starts a flow.
This is a convenience which creates an instance of the
StartFlowRequest.Builder
avoiding the need to create one manually viaStartFlowRequest.builder()
- Parameters:
startFlowRequest
- AConsumer
that will call methods onStartFlowRequest.Builder
to create a request.- Returns:
- Result of the StartFlow operation returned by the service.
- See Also:
-
stopFlow
default StopFlowResponse stopFlow(StopFlowRequest stopFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, 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, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Stops a flow.
This is a convenience which creates an instance of the
StopFlowRequest.Builder
avoiding the need to create one manually viaStopFlowRequest.builder()
- Parameters:
stopFlowRequest
- AConsumer
that will call methods onStopFlowRequest.Builder
to create a request.- Returns:
- Result of the StopFlow operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, 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
- The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request. The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, 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 NotFoundException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException Deletes specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateBridge
default UpdateBridgeResponse updateBridge(UpdateBridgeRequest updateBridgeRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge- Parameters:
updateBridgeRequest
- A request to update the bridge.- Returns:
- Result of the UpdateBridge operation returned by the service.
- See Also:
-
updateBridge
default UpdateBridgeResponse updateBridge(Consumer<UpdateBridgeRequest.Builder> updateBridgeRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge
This is a convenience which creates an instance of the
UpdateBridgeRequest.Builder
avoiding the need to create one manually viaUpdateBridgeRequest.builder()
- Parameters:
updateBridgeRequest
- AConsumer
that will call methods onUpdateBridgeRequest.Builder
to create a request. A request to update the bridge.- Returns:
- Result of the UpdateBridge operation returned by the service.
- See Also:
-
updateBridgeOutput
default UpdateBridgeOutputResponse updateBridgeOutput(UpdateBridgeOutputRequest updateBridgeOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge output.- Parameters:
updateBridgeOutputRequest
- The fields that you want to update in the bridge output.- Returns:
- Result of the UpdateBridgeOutput operation returned by the service.
- See Also:
-
updateBridgeOutput
default UpdateBridgeOutputResponse updateBridgeOutput(Consumer<UpdateBridgeOutputRequest.Builder> updateBridgeOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge output.
This is a convenience which creates an instance of the
UpdateBridgeOutputRequest.Builder
avoiding the need to create one manually viaUpdateBridgeOutputRequest.builder()
- Parameters:
updateBridgeOutputRequest
- AConsumer
that will call methods onUpdateBridgeOutputRequest.Builder
to create a request. The fields that you want to update in the bridge output.- Returns:
- Result of the UpdateBridgeOutput operation returned by the service.
- See Also:
-
updateBridgeSource
default UpdateBridgeSourceResponse updateBridgeSource(UpdateBridgeSourceRequest updateBridgeSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge source.- Parameters:
updateBridgeSourceRequest
- The fields that you want to update in the bridge source.- Returns:
- Result of the UpdateBridgeSource operation returned by the service.
- See Also:
-
updateBridgeSource
default UpdateBridgeSourceResponse updateBridgeSource(Consumer<UpdateBridgeSourceRequest.Builder> updateBridgeSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing bridge source.
This is a convenience which creates an instance of the
UpdateBridgeSourceRequest.Builder
avoiding the need to create one manually viaUpdateBridgeSourceRequest.builder()
- Parameters:
updateBridgeSourceRequest
- AConsumer
that will call methods onUpdateBridgeSourceRequest.Builder
to create a request. The fields that you want to update in the bridge source.- Returns:
- Result of the UpdateBridgeSource operation returned by the service.
- See Also:
-
updateBridgeState
default UpdateBridgeStateResponse updateBridgeState(UpdateBridgeStateRequest updateBridgeStateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge state- Parameters:
updateBridgeStateRequest
- A request to update the bridge state.- Returns:
- Result of the UpdateBridgeState operation returned by the service.
- See Also:
-
updateBridgeState
default UpdateBridgeStateResponse updateBridgeState(Consumer<UpdateBridgeStateRequest.Builder> updateBridgeStateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates the bridge state
This is a convenience which creates an instance of the
UpdateBridgeStateRequest.Builder
avoiding the need to create one manually viaUpdateBridgeStateRequest.builder()
- Parameters:
updateBridgeStateRequest
- AConsumer
that will call methods onUpdateBridgeStateRequest.Builder
to create a request. A request to update the bridge state.- Returns:
- Result of the UpdateBridgeState operation returned by the service.
- See Also:
-
updateFlow
default UpdateFlowResponse updateFlow(UpdateFlowRequest updateFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates flow- Parameters:
updateFlowRequest
- A request to update flow.- Returns:
- Result of the UpdateFlow operation returned by the service.
- See Also:
-
updateFlow
default UpdateFlowResponse updateFlow(Consumer<UpdateFlowRequest.Builder> updateFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates flow
This is a convenience which creates an instance of the
UpdateFlowRequest.Builder
avoiding the need to create one manually viaUpdateFlowRequest.builder()
- Parameters:
updateFlowRequest
- AConsumer
that will call methods onUpdateFlowRequest.Builder
to create a request. A request to update flow.- Returns:
- Result of the UpdateFlow operation returned by the service.
- See Also:
-
updateFlowEntitlement
default UpdateFlowEntitlementResponse updateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException 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
- The entitlement fields that you want to update.- Returns:
- Result of the UpdateFlowEntitlement operation returned by the service.
- See Also:
-
updateFlowEntitlement
default UpdateFlowEntitlementResponse updateFlowEntitlement(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException 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.Builder
avoiding the need to create one manually viaUpdateFlowEntitlementRequest.builder()
- Parameters:
updateFlowEntitlementRequest
- AConsumer
that will call methods onUpdateFlowEntitlementRequest.Builder
to create a request. The entitlement fields that you want to update.- Returns:
- Result of the UpdateFlowEntitlement operation returned by the service.
- See Also:
-
updateFlowMediaStream
default UpdateFlowMediaStreamResponse updateFlowMediaStream(UpdateFlowMediaStreamRequest updateFlowMediaStreamRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing media stream.- Parameters:
updateFlowMediaStreamRequest
- The fields that you want to update in the media stream.- Returns:
- Result of the UpdateFlowMediaStream operation returned by the service.
- See Also:
-
updateFlowMediaStream
default UpdateFlowMediaStreamResponse updateFlowMediaStream(Consumer<UpdateFlowMediaStreamRequest.Builder> updateFlowMediaStreamRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing media stream.
This is a convenience which creates an instance of the
UpdateFlowMediaStreamRequest.Builder
avoiding the need to create one manually viaUpdateFlowMediaStreamRequest.builder()
- Parameters:
updateFlowMediaStreamRequest
- AConsumer
that will call methods onUpdateFlowMediaStreamRequest.Builder
to create a request. The fields that you want to update in the media stream.- Returns:
- Result of the UpdateFlowMediaStream operation returned by the service.
- See Also:
-
updateFlowOutput
default UpdateFlowOutputResponse updateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing flow output.- Parameters:
updateFlowOutputRequest
- The fields that you want to update in the output.- Returns:
- Result of the UpdateFlowOutput operation returned by the service.
- See Also:
-
updateFlowOutput
default UpdateFlowOutputResponse updateFlowOutput(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates an existing flow output.
This is a convenience which creates an instance of the
UpdateFlowOutputRequest.Builder
avoiding the need to create one manually viaUpdateFlowOutputRequest.builder()
- Parameters:
updateFlowOutputRequest
- AConsumer
that will call methods onUpdateFlowOutputRequest.Builder
to create a request. The fields that you want to update in the output.- Returns:
- Result of the UpdateFlowOutput operation returned by the service.
- See Also:
-
updateFlowSource
default UpdateFlowSourceResponse updateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates the source of a flow.- Parameters:
updateFlowSourceRequest
- A request to update the source of a flow.- Returns:
- Result of the UpdateFlowSource operation returned by the service.
- See Also:
-
updateFlowSource
default UpdateFlowSourceResponse updateFlowSource(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException Updates the source of a flow.
This is a convenience which creates an instance of the
UpdateFlowSourceRequest.Builder
avoiding the need to create one manually viaUpdateFlowSourceRequest.builder()
- Parameters:
updateFlowSourceRequest
- AConsumer
that will call methods onUpdateFlowSourceRequest.Builder
to create a request. A request to update the source of a flow.- Returns:
- Result of the UpdateFlowSource operation returned by the service.
- See Also:
-
updateGatewayInstance
default UpdateGatewayInstanceResponse updateGatewayInstance(UpdateGatewayInstanceRequest updateGatewayInstanceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates the configuration of an existing Gateway Instance.- Parameters:
updateGatewayInstanceRequest
- A request to update gateway instance state.- Returns:
- Result of the UpdateGatewayInstance operation returned by the service.
- See Also:
-
updateGatewayInstance
default UpdateGatewayInstanceResponse updateGatewayInstance(Consumer<UpdateGatewayInstanceRequest.Builder> updateGatewayInstanceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConnectException Updates the configuration of an existing Gateway Instance.
This is a convenience which creates an instance of the
UpdateGatewayInstanceRequest.Builder
avoiding the need to create one manually viaUpdateGatewayInstanceRequest.builder()
- Parameters:
updateGatewayInstanceRequest
- AConsumer
that will call methods onUpdateGatewayInstanceRequest.Builder
to create a request. A request to update gateway instance state.- Returns:
- Result of the UpdateGatewayInstance operation returned by the service.
- See Also:
-
waiter
Create an instance ofMediaConnectWaiter
using 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 aMediaConnectClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMediaConnectClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-