return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException { return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException { return describeAgents(DescribeAgentsRequest.builder().build());
return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException { return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
throws AuthorizationErrorException, InvalidParameterException, InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException { return describeAgents(DescribeAgentsRequest.builder().applyMutation(describeAgentsRequest).build());
InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException { return describeAgents(DescribeAgentsRequest.builder().build());
InvalidParameterValueException, ServerInternalErrorException, AwsServiceException, SdkClientException, ApplicationDiscoveryException { return describeAgents(DescribeAgentsRequest.builder().build());
/** * <p> * Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user * account can be listed if you call <code>DescribeAgents</code> as is without passing any parameters. * </p> * * @return A Java Future containing the result of the DescribeAgents operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>AuthorizationErrorException The AWS user account does not have permission to perform the action. * Check the IAM policy associated with this account.</li> * <li>InvalidParameterException One or more parameters are not valid. Verify the parameters and try again.</li> * <li>InvalidParameterValueException The value of one or more parameters are either invalid or out of * range. Verify the parameter values and try again.</li> * <li>ServerInternalErrorException The server experienced an internal error. Try again.</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>ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be * thrown as an instance of this type.</li> * </ul> * @sample ApplicationDiscoveryAsyncClient.DescribeAgents */ default CompletableFuture<DescribeAgentsResponse> describeAgents() { return describeAgents(DescribeAgentsRequest.builder().build()); }
/** * <p> * Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did * not specify an ID. * </p> * * @return A Java Future containing the result of the DescribeAgents operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>AuthorizationErrorException The AWS user account does not have permission to perform the action. * Check the IAM policy associated with this account.</li> * <li>InvalidParameterException One or more parameters are not valid. Verify the parameters and try again.</li> * <li>InvalidParameterValueException The value of one or more parameters are either invalid or out of * range. Verify the parameter values and try again.</li> * <li>ServerInternalErrorException The server experienced an internal error. Try again.</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>ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be * thrown as an instance of this type.</li> * </ul> * @sample ApplicationDiscoveryAsyncClient.DescribeAgents */ default CompletableFuture<DescribeAgentsResponse> describeAgents() { return describeAgents(DescribeAgentsRequest.builder().build()); }
/** * <p> * Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user * account can be listed if you call <code>DescribeAgents</code> as is without passing any parameters. * </p> * * @return A Java Future containing the result of the DescribeAgents operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>AuthorizationErrorException The AWS user account does not have permission to perform the action. * Check the IAM policy associated with this account.</li> * <li>InvalidParameterException One or more parameters are not valid. Verify the parameters and try again.</li> * <li>InvalidParameterValueException The value of one or more parameters are either invalid or out of * range. Verify the parameter values and try again.</li> * <li>ServerInternalErrorException The server experienced an internal error. Try again.</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>ApplicationDiscoveryException Base class for all service exceptions. Unknown exceptions will be * thrown as an instance of this type.</li> * </ul> * @sample ApplicationDiscoveryAsyncClient.DescribeAgents */ default CompletableFuture<DescribeAgentsResponse> describeAgents() { return describeAgents(DescribeAgentsRequest.builder().build()); }