@Override public DescribeEventBusRequest build() { return new DescribeEventBusRequest(this); }
/** * <p> * Displays the external AWS accounts that are permitted to write events to your account using your account's event * bus, and the associated policy. To enable your account to receive events from other accounts, use * <a>PutPermission</a>. * </p> * * @return A Java Future containing the result of the DescribeEventBus operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>ResourceNotFoundException An entity that you specified does not exist.</li> * <li>InternalException This exception occurs due to unexpected causes.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.</li> * </ul> * @sample CloudWatchEventsAsyncClient.DescribeEventBus * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeEventBusResponse> describeEventBus() { return describeEventBus(DescribeEventBusRequest.builder().build()); }
/** * <p> * Displays the external AWS accounts that are permitted to write events to your account using your account's event * bus, and the associated policy. To enable your account to receive events from other accounts, use * <a>PutPermission</a>. * </p> * * @return Result of the DescribeEventBus operation returned by the service. * @throws ResourceNotFoundException * An entity that you specified does not exist. * @throws InternalException * This exception occurs due to unexpected causes. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CloudWatchEventsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CloudWatchEventsClient.DescribeEventBus * @see #describeEventBus(DescribeEventBusRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus" target="_top">AWS API * Documentation</a> */ default DescribeEventBusResponse describeEventBus() throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return describeEventBus(DescribeEventBusRequest.builder().build()); }
/** * <p> * Displays the external AWS accounts that are permitted to write events to your account using your account's event * bus, and the associated policy. To enable your account to receive events from other accounts, use * <a>PutPermission</a>. * </p> * * @return Result of the DescribeEventBus operation returned by the service. * @throws ResourceNotFoundException * An entity that you specified does not exist. * @throws InternalException * This exception occurs due to unexpected causes. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CloudWatchEventsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CloudWatchEventsClient.DescribeEventBus * @see #describeEventBus(DescribeEventBusRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus" target="_top">AWS API * Documentation</a> */ default DescribeEventBusResponse describeEventBus() throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return describeEventBus(DescribeEventBusRequest.builder().build()); }
@Override public DescribeEventBusRequest build() { return new DescribeEventBusRequest(this); } }
/** * <p> * Displays the external AWS accounts that are permitted to write events to your account using your account's event * bus, and the associated policy. To enable your account to receive events from other accounts, use * <a>PutPermission</a>. * </p> * * @return A Java Future containing the result of the DescribeEventBus operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>ResourceNotFoundException An entity that you specified does not exist.</li> * <li>InternalException This exception occurs due to unexpected causes.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.</li> * </ul> * @sample CloudWatchEventsAsyncClient.DescribeEventBus * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeEventBusResponse> describeEventBus() { return describeEventBus(DescribeEventBusRequest.builder().build()); }
@Override public DescribeEventBusRequest build() { return new DescribeEventBusRequest(this); }
/** * <p> * Displays the external AWS accounts that are permitted to write events to your account using your account's event * bus, and the associated policy. To enable your account to receive events from other accounts, use * <a>PutPermission</a>. * </p> * * @return A Java Future containing the result of the DescribeEventBus operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>ResourceNotFoundException An entity that you specified does not exist.</li> * <li>InternalException This exception occurs due to unexpected causes.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.</li> * </ul> * @sample CloudWatchEventsAsyncClient.DescribeEventBus * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeEventBusResponse> describeEventBus() { return describeEventBus(DescribeEventBusRequest.builder().build()); }
/** * <p> * Displays the external AWS accounts that are permitted to write events to your account using your account's event * bus, and the associated policy. To enable your account to receive events from other accounts, use * <a>PutPermission</a>. * </p> * * @return Result of the DescribeEventBus operation returned by the service. * @throws ResourceNotFoundException * An entity that you specified does not exist. * @throws InternalException * This exception occurs due to unexpected causes. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CloudWatchEventsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CloudWatchEventsClient.DescribeEventBus * @see #describeEventBus(DescribeEventBusRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus" target="_top">AWS API * Documentation</a> */ default DescribeEventBusResponse describeEventBus() throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return describeEventBus(DescribeEventBusRequest.builder().build()); }
throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return describeEventBus(DescribeEventBusRequest.builder().applyMutation(describeEventBusRequest).build());
return describeEventBus(DescribeEventBusRequest.builder().applyMutation(describeEventBusRequest).build());
throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return describeEventBus(DescribeEventBusRequest.builder().applyMutation(describeEventBusRequest).build());
return describeEventBus(DescribeEventBusRequest.builder().applyMutation(describeEventBusRequest).build());
throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return describeEventBus(DescribeEventBusRequest.builder().applyMutation(describeEventBusRequest).build());
return describeEventBus(DescribeEventBusRequest.builder().applyMutation(describeEventBusRequest).build());