/// <summary> /// Lists the ARNs of the applications within this AWS account. For more information about /// applications, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide//inspector_applications.html">Inspector /// Applications</a>. /// </summary> /// <param name="filter">You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListApplications service method, as returned by Inspector.</returns> /// <exception cref="Amazon.Inspector.Model.AccessDeniedException"> /// /// </exception> /// <exception cref="Amazon.Inspector.Model.InternalException"> /// /// </exception> /// <exception cref="Amazon.Inspector.Model.InvalidInputException"> /// /// </exception> public Task<ListApplicationsResponse> ListApplicationsAsync(ApplicationsFilter filter, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new ListApplicationsRequest(); request.Filter = filter; return ListApplicationsAsync(request, cancellationToken); }
/// <summary> /// Lists the ARNs of the applications within this AWS account. For more information about /// applications, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide//inspector_applications.html">Inspector /// Applications</a>. /// </summary> /// <param name="filter">You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.</param> /// /// <returns>The response from the ListApplications service method, as returned by Inspector.</returns> /// <exception cref="Amazon.Inspector.Model.AccessDeniedException"> /// /// </exception> /// <exception cref="Amazon.Inspector.Model.InternalException"> /// /// </exception> /// <exception cref="Amazon.Inspector.Model.InvalidInputException"> /// /// </exception> public ListApplicationsResponse ListApplications(ApplicationsFilter filter) { var request = new ListApplicationsRequest(); request.Filter = filter; return ListApplications(request); }