Interface MediaConnectClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MediaConnectClient extends AwsClient
Service client for accessing AWS MediaConnect. This can be created using the staticbuilder()method. API for AWS Elemental MediaConnect
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAddBridgeOutputsRequest.builder()- Parameters:
addBridgeOutputsRequest- AConsumerthat will call methods onAddBridgeOutputsRequest.Builderto create a request. A request to add outputs to the specified bridge.- Returns:
- Result of the AddBridgeOutputs operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAddBridgeSourcesRequest.builder()- Parameters:
addBridgeSourcesRequest- AConsumerthat will call methods onAddBridgeSourcesRequest.Builderto create a request. A request to add sources to the specified bridge.- Returns:
- Result of the AddBridgeSources operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAddFlowMediaStreamsRequest.builder()- Parameters:
addFlowMediaStreamsRequest- AConsumerthat will call methods onAddFlowMediaStreamsRequest.Builderto create a request. A request to add media streams to the flow.- Returns:
- Result of the AddFlowMediaStreams operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
AddFlowOutputs420Exception- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number of allowed outputs (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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAddFlowOutputsRequest.builder()- Parameters:
addFlowOutputsRequest- AConsumerthat will call methods onAddFlowOutputsRequest.Builderto create a request. A request to add outputs to the specified flow.- Returns:
- Result of the AddFlowOutputs operation returned by the service.
- Throws:
AddFlowOutputs420Exception- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number of allowed outputs (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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAddFlowSourcesRequest.builder()- Parameters:
addFlowSourcesRequest- AConsumerthat will call methods onAddFlowSourcesRequest.Builderto create a request. A request to add sources to the flow.- Returns:
- Result of the AddFlowSources operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAddFlowVpcInterfacesRequest.builder()- Parameters:
addFlowVpcInterfacesRequest- AConsumerthat will call methods onAddFlowVpcInterfacesRequest.Builderto create a request. A request to add VPC interfaces to the flow.- Returns:
- Result of the AddFlowVpcInterfaces operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
CreateBridge420Exception- Your account already contains the maximum number of bridges 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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateBridgeRequest.builder()- Parameters:
createBridgeRequest- AConsumerthat will call methods onCreateBridgeRequest.Builderto create a request. Creates a new bridge. The request must include one source.- Returns:
- Result of the CreateBridge operation returned by the service.
- Throws:
CreateBridge420Exception- Your account already contains the maximum number of bridges 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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateFlowRequest.builder()- Parameters:
createFlowRequest- AConsumerthat will call methods onCreateFlowRequest.Builderto 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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
CreateGateway420Exception- Your account already contains the maximum number of gateways 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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateGatewayRequest.builder()- Parameters:
createGatewayRequest- AConsumerthat will call methods onCreateGatewayRequest.Builderto 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.
- Throws:
CreateGateway420Exception- Your account already contains the maximum number of gateways 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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteBridgeRequest.builder()- Parameters:
deleteBridgeRequest- AConsumerthat will call methods onDeleteBridgeRequest.Builderto create a request.- Returns:
- Result of the DeleteBridge operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteFlowRequest.builder()- Parameters:
deleteFlowRequest- AConsumerthat will call methods onDeleteFlowRequest.Builderto create a request.- Returns:
- Result of the DeleteFlow operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteGatewayRequest.builder()- Parameters:
deleteGatewayRequest- AConsumerthat will call methods onDeleteGatewayRequest.Builderto create a request.- Returns:
- Result of the DeleteGateway operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeregisterGatewayInstanceRequest.builder()- Parameters:
deregisterGatewayInstanceRequest- AConsumerthat will call methods onDeregisterGatewayInstanceRequest.Builderto create a request.- Returns:
- Result of the DeregisterGatewayInstance operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeBridgeRequest.builder()- Parameters:
describeBridgeRequest- AConsumerthat will call methods onDescribeBridgeRequest.Builderto create a request.- Returns:
- Result of the DescribeBridge operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeFlowRequest.builder()- Parameters:
describeFlowRequest- AConsumerthat will call methods onDescribeFlowRequest.Builderto create a request.- Returns:
- Result of the DescribeFlow operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeFlowSourceMetadataRequest.builder()- Parameters:
describeFlowSourceMetadataRequest- AConsumerthat will call methods onDescribeFlowSourceMetadataRequest.Builderto create a request.- Returns:
- Result of the DescribeFlowSourceMetadata operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeFlowSourceThumbnail
default DescribeFlowSourceThumbnailResponse describeFlowSourceThumbnail(DescribeFlowSourceThumbnailRequest describeFlowSourceThumbnailRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
Displays the thumbnail details of a flow's source stream.- Parameters:
describeFlowSourceThumbnailRequest-- Returns:
- Result of the DescribeFlowSourceThumbnail operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
describeFlowSourceThumbnail
default DescribeFlowSourceThumbnailResponse describeFlowSourceThumbnail(Consumer<DescribeFlowSourceThumbnailRequest.Builder> describeFlowSourceThumbnailRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaConnectException
Displays the thumbnail details of a flow's source stream.
This is a convenience which creates an instance of the
DescribeFlowSourceThumbnailRequest.Builderavoiding the need to create one manually viaDescribeFlowSourceThumbnailRequest.builder()- Parameters:
describeFlowSourceThumbnailRequest- AConsumerthat will call methods onDescribeFlowSourceThumbnailRequest.Builderto create a request.- Returns:
- Result of the DescribeFlowSourceThumbnail operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeGatewayRequest.builder()- Parameters:
describeGatewayRequest- AConsumerthat will call methods onDescribeGatewayRequest.Builderto create a request.- Returns:
- Result of the DescribeGateway operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeGatewayInstanceRequest.builder()- Parameters:
describeGatewayInstanceRequest- AConsumerthat will call methods onDescribeGatewayInstanceRequest.Builderto create a request.- Returns:
- Result of the DescribeGatewayInstance operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeOfferingRequest.builder()- Parameters:
describeOfferingRequest- AConsumerthat will call methods onDescribeOfferingRequest.Builderto create a request.- Returns:
- Result of the DescribeOffering operation returned by the service.
- Throws:
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.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeReservationRequest.builder()- Parameters:
describeReservationRequest- AConsumerthat will call methods onDescribeReservationRequest.Builderto create a request.- Returns:
- Result of the DescribeReservation operation returned by the service.
- Throws:
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.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGrantFlowEntitlementsRequest.builder()- Parameters:
grantFlowEntitlementsRequest- AConsumerthat will call methods onGrantFlowEntitlementsRequest.Builderto create a request. A request to grant entitlements on a flow.- Returns:
- Result of the GrantFlowEntitlements operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListBridgesRequest.builder()- Parameters:
listBridgesRequest- AConsumerthat will call methods onListBridgesRequest.Builderto create a request.- Returns:
- Result of the ListBridges operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.- Parameters:
listBridgesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesIterable responses = client.listBridgesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.
This is a convenience which creates an instance of the
ListBridgesRequest.Builderavoiding the need to create one manually viaListBridgesRequest.builder()- Parameters:
listBridgesRequest- AConsumerthat will call methods onListBridgesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListEntitlementsRequest.builder()- Parameters:
listEntitlementsRequest- AConsumerthat will call methods onListEntitlementsRequest.Builderto create a request.- Returns:
- Result of the ListEntitlements operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listEntitlements
default ListEntitlementsResponse listEntitlements() 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.- Returns:
- Result of the ListEntitlements operation returned by the service.
- Throws:
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- See Also:
listEntitlements(ListEntitlementsRequest), AWS API Documentation
-
listEntitlementsPaginator
default ListEntitlementsIterable listEntitlementsPaginator() 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client .listEntitlementsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
listEntitlementsPaginator(ListEntitlementsRequest), AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client .listEntitlementsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.- Parameters:
listEntitlementsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client .listEntitlementsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsIterable responses = client.listEntitlementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.
This is a convenience which creates an instance of the
ListEntitlementsRequest.Builderavoiding the need to create one manually viaListEntitlementsRequest.builder()- Parameters:
listEntitlementsRequest- AConsumerthat will call methods onListEntitlementsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFlowsRequest.builder()- Parameters:
listFlowsRequest- AConsumerthat will call methods onListFlowsRequest.Builderto create a request.- Returns:
- Result of the ListFlows operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
listFlows
default ListFlowsResponse listFlows() 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.- Returns:
- Result of the ListFlows operation returned by the service.
- Throws:
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- See Also:
listFlows(ListFlowsRequest), AWS API Documentation
-
listFlowsPaginator
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
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
listFlowsPaginator(ListFlowsRequest), AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.- Parameters:
listFlowsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsIterable responses = client.listFlowsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.
This is a convenience which creates an instance of the
ListFlowsRequest.Builderavoiding the need to create one manually viaListFlowsRequest.builder()- Parameters:
listFlowsRequest- AConsumerthat will call methods onListFlowsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListGatewayInstancesRequest.builder()- Parameters:
listGatewayInstancesRequest- AConsumerthat will call methods onListGatewayInstancesRequest.Builderto create a request.- Returns:
- Result of the ListGatewayInstances operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client .listGatewayInstancesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.- Parameters:
listGatewayInstancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client .listGatewayInstancesPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesIterable responses = client.listGatewayInstancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.
This is a convenience which creates an instance of the
ListGatewayInstancesRequest.Builderavoiding the need to create one manually viaListGatewayInstancesRequest.builder()- Parameters:
listGatewayInstancesRequest- AConsumerthat will call methods onListGatewayInstancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto create a request.- Returns:
- Result of the ListGateways operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client .listGatewaysPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.- Parameters:
listGatewaysRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client .listGatewaysPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysIterable responses = client.listGatewaysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.
This is a convenience which creates an instance of the
ListGatewaysRequest.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request.- Returns:
- Result of the ListOfferings operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.- Parameters:
listOfferingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.
This is a convenience which creates an instance of the
ListOfferingsRequest.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- Result of the ListReservations operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client .listReservationsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.- Parameters:
listReservationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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 Stream
2) Using For loopsoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client .listReservationsPaginator(request); for (software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsIterable responses = client.listReservationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The requested resource was not foundBadRequestException- The client performed an invalid requestInternalServerErrorException- Internal service errorSdkException- 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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
NotFoundException- The requested resource was not foundBadRequestException- The client performed an invalid requestInternalServerErrorException- Internal service errorSdkException- 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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaPurchaseOfferingRequest.builder()- Parameters:
purchaseOfferingRequest- AConsumerthat will call methods onPurchaseOfferingRequest.Builderto create a request. A request to purchase a offering.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRemoveBridgeOutputRequest.builder()- Parameters:
removeBridgeOutputRequest- AConsumerthat will call methods onRemoveBridgeOutputRequest.Builderto create a request.- Returns:
- Result of the RemoveBridgeOutput operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRemoveBridgeSourceRequest.builder()- Parameters:
removeBridgeSourceRequest- AConsumerthat will call methods onRemoveBridgeSourceRequest.Builderto create a request.- Returns:
- Result of the RemoveBridgeSource operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRemoveFlowMediaStreamRequest.builder()- Parameters:
removeFlowMediaStreamRequest- AConsumerthat will call methods onRemoveFlowMediaStreamRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowMediaStream operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRemoveFlowOutputRequest.builder()- Parameters:
removeFlowOutputRequest- AConsumerthat will call methods onRemoveFlowOutputRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowOutput operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRemoveFlowSourceRequest.builder()- Parameters:
removeFlowSourceRequest- AConsumerthat will call methods onRemoveFlowSourceRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowSource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRemoveFlowVpcInterfaceRequest.builder()- Parameters:
removeFlowVpcInterfaceRequest- AConsumerthat will call methods onRemoveFlowVpcInterfaceRequest.Builderto create a request.- Returns:
- Result of the RemoveFlowVpcInterface operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaRevokeFlowEntitlementRequest.builder()- Parameters:
revokeFlowEntitlementRequest- AConsumerthat will call methods onRevokeFlowEntitlementRequest.Builderto create a request.- Returns:
- Result of the RevokeFlowEntitlement operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaStartFlowRequest.builder()- Parameters:
startFlowRequest- AConsumerthat will call methods onStartFlowRequest.Builderto create a request.- Returns:
- Result of the StartFlow operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaStopFlowRequest.builder()- Parameters:
stopFlowRequest- AConsumerthat will call methods onStopFlowRequest.Builderto create a request.- Returns:
- Result of the StopFlow operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The requested resource was not foundBadRequestException- The client performed an invalid requestInternalServerErrorException- Internal service errorSdkException- 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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.
- Throws:
NotFoundException- The requested resource was not foundBadRequestException- The client performed an invalid requestInternalServerErrorException- Internal service errorSdkException- 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- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The requested resource was not foundBadRequestException- The client performed an invalid requestInternalServerErrorException- Internal service errorSdkException- 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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
NotFoundException- The requested resource was not foundBadRequestException- The client performed an invalid requestInternalServerErrorException- Internal service errorSdkException- 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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateBridgeRequest.builder()- Parameters:
updateBridgeRequest- AConsumerthat will call methods onUpdateBridgeRequest.Builderto create a request. A request to update the bridge.- Returns:
- Result of the UpdateBridge operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateBridgeOutputRequest.builder()- Parameters:
updateBridgeOutputRequest- AConsumerthat will call methods onUpdateBridgeOutputRequest.Builderto create a request. The fields that you want to update in the bridge output.- Returns:
- Result of the UpdateBridgeOutput operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateBridgeSourceRequest.builder()- Parameters:
updateBridgeSourceRequest- AConsumerthat will call methods onUpdateBridgeSourceRequest.Builderto create a request. The fields that you want to update in the bridge source.- Returns:
- Result of the UpdateBridgeSource operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateBridgeStateRequest.builder()- Parameters:
updateBridgeStateRequest- AConsumerthat will call methods onUpdateBridgeStateRequest.Builderto create a request. A request to update the bridge state.- Returns:
- Result of the UpdateBridgeState operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFlowRequest.builder()- Parameters:
updateFlowRequest- AConsumerthat will call methods onUpdateFlowRequest.Builderto create a request. A request to update flow.- Returns:
- Result of the UpdateFlow operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFlowEntitlementRequest.builder()- Parameters:
updateFlowEntitlementRequest- AConsumerthat will call methods onUpdateFlowEntitlementRequest.Builderto create a request. The entitlement fields that you want to update.- Returns:
- Result of the UpdateFlowEntitlement operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFlowMediaStreamRequest.builder()- Parameters:
updateFlowMediaStreamRequest- AConsumerthat will call methods onUpdateFlowMediaStreamRequest.Builderto create a request. The fields that you want to update in the media stream.- Returns:
- Result of the UpdateFlowMediaStream operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFlowOutputRequest.builder()- Parameters:
updateFlowOutputRequest- AConsumerthat will call methods onUpdateFlowOutputRequest.Builderto create a request. The fields that you want to update in the output.- Returns:
- Result of the UpdateFlowOutput operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFlowSourceRequest.builder()- Parameters:
updateFlowSourceRequest- AConsumerthat will call methods onUpdateFlowSourceRequest.Builderto create a request. A request to update the source of a flow.- Returns:
- Result of the UpdateFlowSource operation returned by the service.
- Throws:
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- See Also:
- AWS API Documentation
-
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.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateGatewayInstanceRequest.builder()- Parameters:
updateGatewayInstanceRequest- AConsumerthat will call methods onUpdateGatewayInstanceRequest.Builderto create a request. A request to update gateway instance state.- Returns:
- Result of the UpdateGatewayInstance operation returned by the service.
- Throws:
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.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.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- See Also:
- AWS API Documentation
-
waiter
default MediaConnectWaiter waiter()
Create an instance ofMediaConnectWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
MediaConnectWaiter
-
create
static MediaConnectClient create()
Create aMediaConnectClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static MediaConnectClientBuilder builder()
Create a builder that can be used to configure and create aMediaConnectClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default MediaConnectServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-