@Generated(value="software.amazon.awssdk:codegen") public interface MediaConnectClient extends SdkClient
builder()
method.
API for AWS Elemental MediaConnectModifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AddFlowOutputsResponse |
addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest)
Adds outputs to an existing flow.
|
default AddFlowOutputsResponse |
addFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest)
Adds outputs to an existing flow.
|
static MediaConnectClientBuilder |
builder()
Create a builder that can be used to configure and create a
MediaConnectClient . |
static MediaConnectClient |
create()
Create a
MediaConnectClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateFlowResponse |
createFlow(Consumer<CreateFlowRequest.Builder> createFlowRequest)
Creates a new flow.
|
default CreateFlowResponse |
createFlow(CreateFlowRequest createFlowRequest)
Creates a new flow.
|
default DeleteFlowResponse |
deleteFlow(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest)
Deletes a flow.
|
default DeleteFlowResponse |
deleteFlow(DeleteFlowRequest deleteFlowRequest)
Deletes a flow.
|
default DescribeFlowResponse |
describeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest)
Displays the details of a flow.
|
default DescribeFlowResponse |
describeFlow(DescribeFlowRequest describeFlowRequest)
Displays the details of a flow.
|
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 ListEntitlementsResponse |
listEntitlements()
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 ListFlowsResponse |
listFlows()
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 |
listFlowsPaginator()
Displays a list of flows that are associated with this account.
|
default ListFlowsIterable |
listFlowsPaginator(Consumer<ListFlowsRequest.Builder> listFlowsRequest)
Displays a list of flows that are associated with this account.
|
default ListFlowsIterable |
listFlowsPaginator(ListFlowsRequest listFlowsRequest)
Displays a list of flows that are associated with this account.
|
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 RevokeFlowEntitlementResponse |
revokeFlowEntitlement(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest)
Revokes an entitlement from a flow.
|
default RevokeFlowEntitlementResponse |
revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest)
Revokes an entitlement from a flow.
|
static ServiceMetadata |
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 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 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.
|
serviceName
close
static final String SERVICE_NAME
static MediaConnectClient create()
MediaConnectClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static MediaConnectClientBuilder builder()
MediaConnectClient
.default AddFlowOutputsResponse addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest) throws AddFlowOutputs420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
addFlowOutputsRequest
- A request to add outputs to the specified flow.AddFlowOutputs420Exception
- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number
of allowed outputs (20). For more information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddFlowOutputsResponse addFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) throws AddFlowOutputs420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the AddFlowOutputsRequest.Builder
avoiding the need to
create one manually via AddFlowOutputsRequest.builder()
addFlowOutputsRequest
- A Consumer
that will call methods on AddFlowOutputsRequest.Builder
to create a request. A
request to add outputs to the specified flow.AddFlowOutputs420Exception
- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number
of allowed outputs (20). For more information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateFlowResponse createFlow(CreateFlowRequest createFlowRequest) throws CreateFlow420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
createFlowRequest
- Creates a new flow. The request must include one source. The request optionally can include outputs (up to
20) and entitlements (up to 50).CreateFlow420Exception
- Your account already contains the maximum number of 20 flows per account, per Region. For more
information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateFlowResponse createFlow(Consumer<CreateFlowRequest.Builder> createFlowRequest) throws CreateFlow420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the CreateFlowRequest.Builder
avoiding the need to
create one manually via CreateFlowRequest.builder()
createFlowRequest
- A Consumer
that will call methods on CreateFlowRequest.Builder
to create a request.
Creates a new flow. The request must include one source. The request optionally can include outputs (up to
20) and entitlements (up to 50).CreateFlow420Exception
- Your account already contains the maximum number of 20 flows per account, per Region. For more
information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteFlowResponse deleteFlow(DeleteFlowRequest deleteFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
deleteFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteFlowResponse deleteFlow(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the DeleteFlowRequest.Builder
avoiding the need to
create one manually via DeleteFlowRequest.builder()
deleteFlowRequest
- A Consumer
that will call methods on DeleteFlowRequest.Builder
to create a request.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeFlowResponse describeFlow(DescribeFlowRequest describeFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
describeFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeFlowResponse describeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the DescribeFlowRequest.Builder
avoiding the need to
create one manually via DescribeFlowRequest.builder()
describeFlowRequest
- A Consumer
that will call methods on DescribeFlowRequest.Builder
to create a request.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GrantFlowEntitlementsResponse grantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) throws GrantFlowEntitlements420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
grantFlowEntitlementsRequest
- A request to grant entitlements on a flow.GrantFlowEntitlements420Exception
- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number
of allowed entitlements (50). For more information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GrantFlowEntitlementsResponse grantFlowEntitlements(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) throws GrantFlowEntitlements420Exception, BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the GrantFlowEntitlementsRequest.Builder
avoiding the
need to create one manually via GrantFlowEntitlementsRequest.builder()
grantFlowEntitlementsRequest
- A Consumer
that will call methods on GrantFlowEntitlementsRequest.Builder
to create a
request. A request to grant entitlements on a flow.GrantFlowEntitlements420Exception
- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number
of allowed entitlements (50). For more information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListEntitlementsResponse listEntitlements() throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException
ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listEntitlements(ListEntitlementsRequest)
,
AWS
API Documentationdefault ListEntitlementsResponse listEntitlements(ListEntitlementsRequest listEntitlementsRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException
listEntitlementsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListEntitlementsResponse listEntitlements(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the ListEntitlementsRequest.Builder
avoiding the need
to create one manually via ListEntitlementsRequest.builder()
listEntitlementsRequest
- A Consumer
that will call methods on ListEntitlementsRequest.Builder
to create a request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListFlowsResponse listFlows() throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException
ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listFlows(ListFlowsRequest)
,
AWS API
Documentationdefault ListFlowsResponse listFlows(ListFlowsRequest listFlowsRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException
listFlowsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListFlowsResponse listFlows(Consumer<ListFlowsRequest.Builder> listFlowsRequest) throws ServiceUnavailableException, TooManyRequestsException, BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the ListFlowsRequest.Builder
avoiding the need to
create one manually via ListFlowsRequest.builder()
listFlowsRequest
- A Consumer
that will call methods on ListFlowsRequest.Builder
to create a request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListFlowsIterable listFlowsPaginator() 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 Stream
software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @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 directly
software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)
operation.
ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listFlowsPaginator(ListFlowsRequest)
,
AWS API
Documentationdefault 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 Stream
software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @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 directly
software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)
operation.
listFlowsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
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 Stream
software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @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 directly
software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListFlowsRequest.builder()
listFlowsRequest
- A Consumer
that will call methods on ListFlowsRequest.Builder
to create a request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RemoveFlowOutputResponse removeFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
removeFlowOutputRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RemoveFlowOutputResponse removeFlowOutput(Consumer<RemoveFlowOutputRequest.Builder> removeFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the RemoveFlowOutputRequest.Builder
avoiding the need
to create one manually via RemoveFlowOutputRequest.builder()
removeFlowOutputRequest
- A Consumer
that will call methods on RemoveFlowOutputRequest.Builder
to create a request.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RevokeFlowEntitlementResponse revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
revokeFlowEntitlementRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RevokeFlowEntitlementResponse revokeFlowEntitlement(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the RevokeFlowEntitlementRequest.Builder
avoiding the
need to create one manually via RevokeFlowEntitlementRequest.builder()
revokeFlowEntitlementRequest
- A Consumer
that will call methods on RevokeFlowEntitlementRequest.Builder
to create a
request.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartFlowResponse startFlow(StartFlowRequest startFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
startFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartFlowResponse startFlow(Consumer<StartFlowRequest.Builder> startFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the StartFlowRequest.Builder
avoiding the need to
create one manually via StartFlowRequest.builder()
startFlowRequest
- A Consumer
that will call methods on StartFlowRequest.Builder
to create a request.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopFlowResponse stopFlow(StopFlowRequest stopFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
stopFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopFlowResponse stopFlow(Consumer<StopFlowRequest.Builder> stopFlowRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the StopFlowRequest.Builder
avoiding the need to
create one manually via StopFlowRequest.builder()
stopFlowRequest
- A Consumer
that will call methods on StopFlowRequest.Builder
to create a request.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFlowEntitlementResponse updateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
updateFlowEntitlementRequest
- The entitlement fields that you want to update.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFlowEntitlementResponse updateFlowEntitlement(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the UpdateFlowEntitlementRequest.Builder
avoiding the
need to create one manually via UpdateFlowEntitlementRequest.builder()
updateFlowEntitlementRequest
- A Consumer
that will call methods on UpdateFlowEntitlementRequest.Builder
to create a
request. The entitlement fields that you want to update.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFlowOutputResponse updateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
updateFlowOutputRequest
- The fields that you want to update in the output.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFlowOutputResponse updateFlowOutput(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the UpdateFlowOutputRequest.Builder
avoiding the need
to create one manually via UpdateFlowOutputRequest.builder()
updateFlowOutputRequest
- A Consumer
that will call methods on UpdateFlowOutputRequest.Builder
to create a request.
The fields that you want to update in the output.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFlowSourceResponse updateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
updateFlowSourceRequest
- A request to update the source of a flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFlowSourceResponse updateFlowSource(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
This is a convenience which creates an instance of the UpdateFlowSourceRequest.Builder
avoiding the need
to create one manually via UpdateFlowSourceRequest.builder()
updateFlowSourceRequest
- A Consumer
that will call methods on UpdateFlowSourceRequest.Builder
to create a request.
A request to update the source of a flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaConnectException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.