Interface ApplicationSignalsClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications. It enables real-time service health dashboards and helps you track long-term performance trends against your business goals. The application-centric view provides you with unified visibility across your applications, services, and dependencies, so you can proactively monitor and efficiently triage any issues that may arise, ensuring optimal customer experience.
Application Signals provides the following benefits:
-
Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors.
-
Create and monitor service level objectives (SLOs).
-
See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.
Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries, and application names within dashboards and maps.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchGetServiceLevelObjectiveBudgetReport
(Consumer<BatchGetServiceLevelObjectiveBudgetReportRequest.Builder> batchGetServiceLevelObjectiveBudgetReportRequest) Use this operation to retrieve one or more service level objective (SLO) budget reports.batchGetServiceLevelObjectiveBudgetReport
(BatchGetServiceLevelObjectiveBudgetReportRequest batchGetServiceLevelObjectiveBudgetReportRequest) Use this operation to retrieve one or more service level objective (SLO) budget reports.batchUpdateExclusionWindows
(Consumer<BatchUpdateExclusionWindowsRequest.Builder> batchUpdateExclusionWindowsRequest) Add or remove time window exclusions for one or more Service Level Objectives (SLOs).batchUpdateExclusionWindows
(BatchUpdateExclusionWindowsRequest batchUpdateExclusionWindowsRequest) Add or remove time window exclusions for one or more Service Level Objectives (SLOs).builder()
Create a builder that can be used to configure and create aApplicationSignalsClient
.static ApplicationSignalsClient
create()
Create aApplicationSignalsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createServiceLevelObjective
(Consumer<CreateServiceLevelObjectiveRequest.Builder> createServiceLevelObjectiveRequest) Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations.createServiceLevelObjective
(CreateServiceLevelObjectiveRequest createServiceLevelObjectiveRequest) Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations.deleteServiceLevelObjective
(Consumer<DeleteServiceLevelObjectiveRequest.Builder> deleteServiceLevelObjectiveRequest) Deletes the specified service level objective.deleteServiceLevelObjective
(DeleteServiceLevelObjectiveRequest deleteServiceLevelObjectiveRequest) Deletes the specified service level objective.default GetServiceResponse
getService
(Consumer<GetServiceRequest.Builder> getServiceRequest) Returns information about a service discovered by Application Signals.default GetServiceResponse
getService
(GetServiceRequest getServiceRequest) Returns information about a service discovered by Application Signals.default GetServiceLevelObjectiveResponse
getServiceLevelObjective
(Consumer<GetServiceLevelObjectiveRequest.Builder> getServiceLevelObjectiveRequest) Returns information about one SLO created in the account.default GetServiceLevelObjectiveResponse
getServiceLevelObjective
(GetServiceLevelObjectiveRequest getServiceLevelObjectiveRequest) Returns information about one SLO created in the account.default ListServiceDependenciesResponse
listServiceDependencies
(Consumer<ListServiceDependenciesRequest.Builder> listServiceDependenciesRequest) Returns a list of service dependencies of the service that you specify.default ListServiceDependenciesResponse
listServiceDependencies
(ListServiceDependenciesRequest listServiceDependenciesRequest) Returns a list of service dependencies of the service that you specify.default ListServiceDependenciesIterable
listServiceDependenciesPaginator
(Consumer<ListServiceDependenciesRequest.Builder> listServiceDependenciesRequest) This is a variant oflistServiceDependencies(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesRequest)
operation.default ListServiceDependenciesIterable
listServiceDependenciesPaginator
(ListServiceDependenciesRequest listServiceDependenciesRequest) This is a variant oflistServiceDependencies(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesRequest)
operation.default ListServiceDependentsResponse
listServiceDependents
(Consumer<ListServiceDependentsRequest.Builder> listServiceDependentsRequest) Returns the list of dependents that invoked the specified service during the provided time range.default ListServiceDependentsResponse
listServiceDependents
(ListServiceDependentsRequest listServiceDependentsRequest) Returns the list of dependents that invoked the specified service during the provided time range.default ListServiceDependentsIterable
listServiceDependentsPaginator
(Consumer<ListServiceDependentsRequest.Builder> listServiceDependentsRequest) This is a variant oflistServiceDependents(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsRequest)
operation.default ListServiceDependentsIterable
listServiceDependentsPaginator
(ListServiceDependentsRequest listServiceDependentsRequest) This is a variant oflistServiceDependents(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsRequest)
operation.listServiceLevelObjectiveExclusionWindows
(Consumer<ListServiceLevelObjectiveExclusionWindowsRequest.Builder> listServiceLevelObjectiveExclusionWindowsRequest) Retrieves all exclusion windows configured for a specific SLO.listServiceLevelObjectiveExclusionWindows
(ListServiceLevelObjectiveExclusionWindowsRequest listServiceLevelObjectiveExclusionWindowsRequest) Retrieves all exclusion windows configured for a specific SLO.listServiceLevelObjectiveExclusionWindowsPaginator
(Consumer<ListServiceLevelObjectiveExclusionWindowsRequest.Builder> listServiceLevelObjectiveExclusionWindowsRequest) listServiceLevelObjectiveExclusionWindowsPaginator
(ListServiceLevelObjectiveExclusionWindowsRequest listServiceLevelObjectiveExclusionWindowsRequest) listServiceLevelObjectives
(Consumer<ListServiceLevelObjectivesRequest.Builder> listServiceLevelObjectivesRequest) Returns a list of SLOs created in this account.listServiceLevelObjectives
(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest) Returns a list of SLOs created in this account.listServiceLevelObjectivesPaginator
(Consumer<ListServiceLevelObjectivesRequest.Builder> listServiceLevelObjectivesRequest) This is a variant oflistServiceLevelObjectives(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesRequest)
operation.listServiceLevelObjectivesPaginator
(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest) This is a variant oflistServiceLevelObjectives(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesRequest)
operation.default ListServiceOperationsResponse
listServiceOperations
(Consumer<ListServiceOperationsRequest.Builder> listServiceOperationsRequest) Returns a list of the operations of this service that have been discovered by Application Signals.default ListServiceOperationsResponse
listServiceOperations
(ListServiceOperationsRequest listServiceOperationsRequest) Returns a list of the operations of this service that have been discovered by Application Signals.default ListServiceOperationsIterable
listServiceOperationsPaginator
(Consumer<ListServiceOperationsRequest.Builder> listServiceOperationsRequest) This is a variant oflistServiceOperations(software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsRequest)
operation.default ListServiceOperationsIterable
listServiceOperationsPaginator
(ListServiceOperationsRequest listServiceOperationsRequest) This is a variant oflistServiceOperations(software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsRequest)
operation.default ListServicesResponse
listServices
(Consumer<ListServicesRequest.Builder> listServicesRequest) Returns a list of services that have been discovered by Application Signals.default ListServicesResponse
listServices
(ListServicesRequest listServicesRequest) Returns a list of services that have been discovered by Application Signals.default ListServicesIterable
listServicesPaginator
(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.applicationsignals.model.ListServicesRequest)
operation.default ListServicesIterable
listServicesPaginator
(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.applicationsignals.model.ListServicesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Displays the tags associated with a CloudWatch resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Displays the tags associated with a CloudWatch resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartDiscoveryResponse
startDiscovery
(Consumer<StartDiscoveryRequest.Builder> startDiscoveryRequest) Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role.default StartDiscoveryResponse
startDiscovery
(StartDiscoveryRequest startDiscoveryRequest) Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from the specified resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from the specified resource.updateServiceLevelObjective
(Consumer<UpdateServiceLevelObjectiveRequest.Builder> updateServiceLevelObjectiveRequest) Updates an existing service level objective (SLO).updateServiceLevelObjective
(UpdateServiceLevelObjectiveRequest updateServiceLevelObjectiveRequest) Updates an existing service level objective (SLO).Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchGetServiceLevelObjectiveBudgetReport
default BatchGetServiceLevelObjectiveBudgetReportResponse batchGetServiceLevelObjectiveBudgetReport(BatchGetServiceLevelObjectiveBudgetReportRequest batchGetServiceLevelObjectiveBudgetReportRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Use this operation to retrieve one or more service level objective (SLO) budget reports.
An error budget is the amount of time or requests in an unhealthy state that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month.
Budget reports include a health indicator, the attainment value, and remaining budget.
For more information about SLO error budgets, see SLO concepts.
- Parameters:
batchGetServiceLevelObjectiveBudgetReportRequest
-- Returns:
- Result of the BatchGetServiceLevelObjectiveBudgetReport operation returned by the service.
- See Also:
-
batchGetServiceLevelObjectiveBudgetReport
default BatchGetServiceLevelObjectiveBudgetReportResponse batchGetServiceLevelObjectiveBudgetReport(Consumer<BatchGetServiceLevelObjectiveBudgetReportRequest.Builder> batchGetServiceLevelObjectiveBudgetReportRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Use this operation to retrieve one or more service level objective (SLO) budget reports.
An error budget is the amount of time or requests in an unhealthy state that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month.
Budget reports include a health indicator, the attainment value, and remaining budget.
For more information about SLO error budgets, see SLO concepts.
This is a convenience which creates an instance of the
BatchGetServiceLevelObjectiveBudgetReportRequest.Builder
avoiding the need to create one manually viaBatchGetServiceLevelObjectiveBudgetReportRequest.builder()
- Parameters:
batchGetServiceLevelObjectiveBudgetReportRequest
- AConsumer
that will call methods onBatchGetServiceLevelObjectiveBudgetReportRequest.Builder
to create a request.- Returns:
- Result of the BatchGetServiceLevelObjectiveBudgetReport operation returned by the service.
- See Also:
-
batchUpdateExclusionWindows
default BatchUpdateExclusionWindowsResponse batchUpdateExclusionWindows(BatchUpdateExclusionWindowsRequest batchUpdateExclusionWindowsRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Add or remove time window exclusions for one or more Service Level Objectives (SLOs).
- Parameters:
batchUpdateExclusionWindowsRequest
-- Returns:
- Result of the BatchUpdateExclusionWindows operation returned by the service.
- See Also:
-
batchUpdateExclusionWindows
default BatchUpdateExclusionWindowsResponse batchUpdateExclusionWindows(Consumer<BatchUpdateExclusionWindowsRequest.Builder> batchUpdateExclusionWindowsRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Add or remove time window exclusions for one or more Service Level Objectives (SLOs).
This is a convenience which creates an instance of the
BatchUpdateExclusionWindowsRequest.Builder
avoiding the need to create one manually viaBatchUpdateExclusionWindowsRequest.builder()
- Parameters:
batchUpdateExclusionWindowsRequest
- AConsumer
that will call methods onBatchUpdateExclusionWindowsRequest.Builder
to create a request.- Returns:
- Result of the BatchUpdateExclusionWindows operation returned by the service.
- See Also:
-
createServiceLevelObjective
default CreateServiceLevelObjectiveResponse createServiceLevelObjective(CreateServiceLevelObjectiveRequest createServiceLevelObjectiveRequest) throws ValidationException, ThrottlingException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, ApplicationSignalsException Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want.
Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached.
The target performance quality that is defined for an SLO is the attainment goal.
You can set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series.
You can't create an SLO for a service operation that was discovered by Application Signals until after that operation has reported standard metrics to Application Signals.
When you create an SLO, you specify whether it is a period-based SLO or a request-based SLO. Each type of SLO has a different way of evaluating your application's performance against its attainment goal.
-
A period-based SLO uses defined periods of time within a specified total time interval. For each period of time, Application Signals determines whether the application met its goal. The attainment rate is calculated as the
number of good periods/number of total periods
.For example, for a period-based SLO, meeting an attainment goal of 99.9% means that within your interval, your application must meet its performance goal during at least 99.9% of the time periods.
-
A request-based SLO doesn't use pre-defined periods of time. Instead, the SLO measures
number of good requests/number of total requests
during the interval. At any time, you can find the ratio of good requests to total requests for the interval up to the time stamp that you specify, and measure that ratio against the goal set in your SLO.
After you have created an SLO, you can retrieve error budget reports for it. An error budget is the amount of time or amount of requests that your application can be non-compliant with the SLO's goal, and still have your application meet the goal.
-
For a period-based SLO, the error budget starts at a number defined by the highest number of periods that can fail to meet the threshold, while still meeting the overall goal. The remaining error budget decreases with every failed period that is recorded. The error budget within one interval can never increase.
For example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month.
-
For a request-based SLO, the remaining error budget is dynamic and can increase or decrease, depending on the ratio of good requests to total requests.
For more information about SLOs, see Service level objectives (SLOs).
When you perform a
CreateServiceLevelObjective
operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions:-
xray:GetServiceGraph
-
logs:StartQuery
-
logs:GetQueryResults
-
cloudwatch:GetMetricData
-
cloudwatch:ListMetrics
-
tag:GetResources
-
autoscaling:DescribeAutoScalingGroups
- Parameters:
createServiceLevelObjectiveRequest
-- Returns:
- Result of the CreateServiceLevelObjective operation returned by the service.
- See Also:
-
-
createServiceLevelObjective
default CreateServiceLevelObjectiveResponse createServiceLevelObjective(Consumer<CreateServiceLevelObjectiveRequest.Builder> createServiceLevelObjectiveRequest) throws ValidationException, ThrottlingException, AccessDeniedException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, ApplicationSignalsException Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want.
Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached.
The target performance quality that is defined for an SLO is the attainment goal.
You can set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series.
You can't create an SLO for a service operation that was discovered by Application Signals until after that operation has reported standard metrics to Application Signals.
When you create an SLO, you specify whether it is a period-based SLO or a request-based SLO. Each type of SLO has a different way of evaluating your application's performance against its attainment goal.
-
A period-based SLO uses defined periods of time within a specified total time interval. For each period of time, Application Signals determines whether the application met its goal. The attainment rate is calculated as the
number of good periods/number of total periods
.For example, for a period-based SLO, meeting an attainment goal of 99.9% means that within your interval, your application must meet its performance goal during at least 99.9% of the time periods.
-
A request-based SLO doesn't use pre-defined periods of time. Instead, the SLO measures
number of good requests/number of total requests
during the interval. At any time, you can find the ratio of good requests to total requests for the interval up to the time stamp that you specify, and measure that ratio against the goal set in your SLO.
After you have created an SLO, you can retrieve error budget reports for it. An error budget is the amount of time or amount of requests that your application can be non-compliant with the SLO's goal, and still have your application meet the goal.
-
For a period-based SLO, the error budget starts at a number defined by the highest number of periods that can fail to meet the threshold, while still meeting the overall goal. The remaining error budget decreases with every failed period that is recorded. The error budget within one interval can never increase.
For example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month.
-
For a request-based SLO, the remaining error budget is dynamic and can increase or decrease, depending on the ratio of good requests to total requests.
For more information about SLOs, see Service level objectives (SLOs).
When you perform a
CreateServiceLevelObjective
operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions:-
xray:GetServiceGraph
-
logs:StartQuery
-
logs:GetQueryResults
-
cloudwatch:GetMetricData
-
cloudwatch:ListMetrics
-
tag:GetResources
-
autoscaling:DescribeAutoScalingGroups
This is a convenience which creates an instance of the
CreateServiceLevelObjectiveRequest.Builder
avoiding the need to create one manually viaCreateServiceLevelObjectiveRequest.builder()
- Parameters:
createServiceLevelObjectiveRequest
- AConsumer
that will call methods onCreateServiceLevelObjectiveRequest.Builder
to create a request.- Returns:
- Result of the CreateServiceLevelObjective operation returned by the service.
- See Also:
-
-
deleteServiceLevelObjective
default DeleteServiceLevelObjectiveResponse deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest deleteServiceLevelObjectiveRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Deletes the specified service level objective.
- Parameters:
deleteServiceLevelObjectiveRequest
-- Returns:
- Result of the DeleteServiceLevelObjective operation returned by the service.
- See Also:
-
deleteServiceLevelObjective
default DeleteServiceLevelObjectiveResponse deleteServiceLevelObjective(Consumer<DeleteServiceLevelObjectiveRequest.Builder> deleteServiceLevelObjectiveRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Deletes the specified service level objective.
This is a convenience which creates an instance of the
DeleteServiceLevelObjectiveRequest.Builder
avoiding the need to create one manually viaDeleteServiceLevelObjectiveRequest.builder()
- Parameters:
deleteServiceLevelObjectiveRequest
- AConsumer
that will call methods onDeleteServiceLevelObjectiveRequest.Builder
to create a request.- Returns:
- Result of the DeleteServiceLevelObjective operation returned by the service.
- See Also:
-
getService
default GetServiceResponse getService(GetServiceRequest getServiceRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns information about a service discovered by Application Signals.
- Parameters:
getServiceRequest
-- Returns:
- Result of the GetService operation returned by the service.
- See Also:
-
getService
default GetServiceResponse getService(Consumer<GetServiceRequest.Builder> getServiceRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns information about a service discovered by Application Signals.
This is a convenience which creates an instance of the
GetServiceRequest.Builder
avoiding the need to create one manually viaGetServiceRequest.builder()
- Parameters:
getServiceRequest
- AConsumer
that will call methods onGetServiceRequest.Builder
to create a request.- Returns:
- Result of the GetService operation returned by the service.
- See Also:
-
getServiceLevelObjective
default GetServiceLevelObjectiveResponse getServiceLevelObjective(GetServiceLevelObjectiveRequest getServiceLevelObjectiveRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns information about one SLO created in the account.
- Parameters:
getServiceLevelObjectiveRequest
-- Returns:
- Result of the GetServiceLevelObjective operation returned by the service.
- See Also:
-
getServiceLevelObjective
default GetServiceLevelObjectiveResponse getServiceLevelObjective(Consumer<GetServiceLevelObjectiveRequest.Builder> getServiceLevelObjectiveRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns information about one SLO created in the account.
This is a convenience which creates an instance of the
GetServiceLevelObjectiveRequest.Builder
avoiding the need to create one manually viaGetServiceLevelObjectiveRequest.builder()
- Parameters:
getServiceLevelObjectiveRequest
- AConsumer
that will call methods onGetServiceLevelObjectiveRequest.Builder
to create a request.- Returns:
- Result of the GetServiceLevelObjective operation returned by the service.
- See Also:
-
listServiceDependencies
default ListServiceDependenciesResponse listServiceDependencies(ListServiceDependenciesRequest listServiceDependenciesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of service dependencies of the service that you specify. A dependency is an infrastructure component that an operation of this service connects with. Dependencies can include Amazon Web Services services, Amazon Web Services resources, and third-party services.
- Parameters:
listServiceDependenciesRequest
-- Returns:
- Result of the ListServiceDependencies operation returned by the service.
- See Also:
-
listServiceDependencies
default ListServiceDependenciesResponse listServiceDependencies(Consumer<ListServiceDependenciesRequest.Builder> listServiceDependenciesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of service dependencies of the service that you specify. A dependency is an infrastructure component that an operation of this service connects with. Dependencies can include Amazon Web Services services, Amazon Web Services resources, and third-party services.
This is a convenience which creates an instance of the
ListServiceDependenciesRequest.Builder
avoiding the need to create one manually viaListServiceDependenciesRequest.builder()
- Parameters:
listServiceDependenciesRequest
- AConsumer
that will call methods onListServiceDependenciesRequest.Builder
to create a request.- Returns:
- Result of the ListServiceDependencies operation returned by the service.
- See Also:
-
listServiceDependenciesPaginator
default ListServiceDependenciesIterable listServiceDependenciesPaginator(ListServiceDependenciesRequest listServiceDependenciesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceDependencies(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependenciesIterable responses = client.listServiceDependenciesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependenciesIterable responses = client .listServiceDependenciesPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependenciesIterable responses = client.listServiceDependenciesPaginator(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
listServiceDependencies(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesRequest)
operation.- Parameters:
listServiceDependenciesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceDependenciesPaginator
default ListServiceDependenciesIterable listServiceDependenciesPaginator(Consumer<ListServiceDependenciesRequest.Builder> listServiceDependenciesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceDependencies(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependenciesIterable responses = client.listServiceDependenciesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependenciesIterable responses = client .listServiceDependenciesPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependenciesIterable responses = client.listServiceDependenciesPaginator(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
listServiceDependencies(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependenciesRequest)
operation.
This is a convenience which creates an instance of the
ListServiceDependenciesRequest.Builder
avoiding the need to create one manually viaListServiceDependenciesRequest.builder()
- Parameters:
listServiceDependenciesRequest
- AConsumer
that will call methods onListServiceDependenciesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceDependents
default ListServiceDependentsResponse listServiceDependents(ListServiceDependentsRequest listServiceDependentsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns the list of dependents that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors.
- Parameters:
listServiceDependentsRequest
-- Returns:
- Result of the ListServiceDependents operation returned by the service.
- See Also:
-
listServiceDependents
default ListServiceDependentsResponse listServiceDependents(Consumer<ListServiceDependentsRequest.Builder> listServiceDependentsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns the list of dependents that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors.
This is a convenience which creates an instance of the
ListServiceDependentsRequest.Builder
avoiding the need to create one manually viaListServiceDependentsRequest.builder()
- Parameters:
listServiceDependentsRequest
- AConsumer
that will call methods onListServiceDependentsRequest.Builder
to create a request.- Returns:
- Result of the ListServiceDependents operation returned by the service.
- See Also:
-
listServiceDependentsPaginator
default ListServiceDependentsIterable listServiceDependentsPaginator(ListServiceDependentsRequest listServiceDependentsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceDependents(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependentsIterable responses = client.listServiceDependentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependentsIterable responses = client .listServiceDependentsPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependentsIterable responses = client.listServiceDependentsPaginator(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
listServiceDependents(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsRequest)
operation.- Parameters:
listServiceDependentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceDependentsPaginator
default ListServiceDependentsIterable listServiceDependentsPaginator(Consumer<ListServiceDependentsRequest.Builder> listServiceDependentsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceDependents(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependentsIterable responses = client.listServiceDependentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependentsIterable responses = client .listServiceDependentsPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceDependentsIterable responses = client.listServiceDependentsPaginator(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
listServiceDependents(software.amazon.awssdk.services.applicationsignals.model.ListServiceDependentsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceDependentsRequest.Builder
avoiding the need to create one manually viaListServiceDependentsRequest.builder()
- Parameters:
listServiceDependentsRequest
- AConsumer
that will call methods onListServiceDependentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceLevelObjectiveExclusionWindows
default ListServiceLevelObjectiveExclusionWindowsResponse listServiceLevelObjectiveExclusionWindows(ListServiceLevelObjectiveExclusionWindowsRequest listServiceLevelObjectiveExclusionWindowsRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Retrieves all exclusion windows configured for a specific SLO.
- Parameters:
listServiceLevelObjectiveExclusionWindowsRequest
-- Returns:
- Result of the ListServiceLevelObjectiveExclusionWindows operation returned by the service.
- See Also:
-
listServiceLevelObjectiveExclusionWindows
default ListServiceLevelObjectiveExclusionWindowsResponse listServiceLevelObjectiveExclusionWindows(Consumer<ListServiceLevelObjectiveExclusionWindowsRequest.Builder> listServiceLevelObjectiveExclusionWindowsRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Retrieves all exclusion windows configured for a specific SLO.
This is a convenience which creates an instance of the
ListServiceLevelObjectiveExclusionWindowsRequest.Builder
avoiding the need to create one manually viaListServiceLevelObjectiveExclusionWindowsRequest.builder()
- Parameters:
listServiceLevelObjectiveExclusionWindowsRequest
- AConsumer
that will call methods onListServiceLevelObjectiveExclusionWindowsRequest.Builder
to create a request.- Returns:
- Result of the ListServiceLevelObjectiveExclusionWindows operation returned by the service.
- See Also:
-
listServiceLevelObjectiveExclusionWindowsPaginator
default ListServiceLevelObjectiveExclusionWindowsIterable listServiceLevelObjectiveExclusionWindowsPaginator(ListServiceLevelObjectiveExclusionWindowsRequest listServiceLevelObjectiveExclusionWindowsRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceLevelObjectiveExclusionWindows(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectiveExclusionWindowsRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectiveExclusionWindowsIterable responses = client.listServiceLevelObjectiveExclusionWindowsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectiveExclusionWindowsIterable responses = client .listServiceLevelObjectiveExclusionWindowsPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectiveExclusionWindowsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectiveExclusionWindowsIterable responses = client.listServiceLevelObjectiveExclusionWindowsPaginator(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
listServiceLevelObjectiveExclusionWindows(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectiveExclusionWindowsRequest)
operation.- Parameters:
listServiceLevelObjectiveExclusionWindowsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceLevelObjectiveExclusionWindowsPaginator
default ListServiceLevelObjectiveExclusionWindowsIterable listServiceLevelObjectiveExclusionWindowsPaginator(Consumer<ListServiceLevelObjectiveExclusionWindowsRequest.Builder> listServiceLevelObjectiveExclusionWindowsRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceLevelObjectiveExclusionWindows(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectiveExclusionWindowsRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectiveExclusionWindowsIterable responses = client.listServiceLevelObjectiveExclusionWindowsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectiveExclusionWindowsIterable responses = client .listServiceLevelObjectiveExclusionWindowsPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectiveExclusionWindowsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectiveExclusionWindowsIterable responses = client.listServiceLevelObjectiveExclusionWindowsPaginator(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
listServiceLevelObjectiveExclusionWindows(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectiveExclusionWindowsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceLevelObjectiveExclusionWindowsRequest.Builder
avoiding the need to create one manually viaListServiceLevelObjectiveExclusionWindowsRequest.builder()
- Parameters:
listServiceLevelObjectiveExclusionWindowsRequest
- AConsumer
that will call methods onListServiceLevelObjectiveExclusionWindowsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceLevelObjectives
default ListServiceLevelObjectivesResponse listServiceLevelObjectives(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of SLOs created in this account.
- Parameters:
listServiceLevelObjectivesRequest
-- Returns:
- Result of the ListServiceLevelObjectives operation returned by the service.
- See Also:
-
listServiceLevelObjectives
default ListServiceLevelObjectivesResponse listServiceLevelObjectives(Consumer<ListServiceLevelObjectivesRequest.Builder> listServiceLevelObjectivesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of SLOs created in this account.
This is a convenience which creates an instance of the
ListServiceLevelObjectivesRequest.Builder
avoiding the need to create one manually viaListServiceLevelObjectivesRequest.builder()
- Parameters:
listServiceLevelObjectivesRequest
- AConsumer
that will call methods onListServiceLevelObjectivesRequest.Builder
to create a request.- Returns:
- Result of the ListServiceLevelObjectives operation returned by the service.
- See Also:
-
listServiceLevelObjectivesPaginator
default ListServiceLevelObjectivesIterable listServiceLevelObjectivesPaginator(ListServiceLevelObjectivesRequest listServiceLevelObjectivesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceLevelObjectives(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectivesIterable responses = client.listServiceLevelObjectivesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectivesIterable responses = client .listServiceLevelObjectivesPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectivesIterable responses = client.listServiceLevelObjectivesPaginator(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
listServiceLevelObjectives(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesRequest)
operation.- Parameters:
listServiceLevelObjectivesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceLevelObjectivesPaginator
default ListServiceLevelObjectivesIterable listServiceLevelObjectivesPaginator(Consumer<ListServiceLevelObjectivesRequest.Builder> listServiceLevelObjectivesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceLevelObjectives(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectivesIterable responses = client.listServiceLevelObjectivesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectivesIterable responses = client .listServiceLevelObjectivesPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceLevelObjectivesIterable responses = client.listServiceLevelObjectivesPaginator(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
listServiceLevelObjectives(software.amazon.awssdk.services.applicationsignals.model.ListServiceLevelObjectivesRequest)
operation.
This is a convenience which creates an instance of the
ListServiceLevelObjectivesRequest.Builder
avoiding the need to create one manually viaListServiceLevelObjectivesRequest.builder()
- Parameters:
listServiceLevelObjectivesRequest
- AConsumer
that will call methods onListServiceLevelObjectivesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceOperations
default ListServiceOperationsResponse listServiceOperations(ListServiceOperationsRequest listServiceOperationsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.
- Parameters:
listServiceOperationsRequest
-- Returns:
- Result of the ListServiceOperations operation returned by the service.
- See Also:
-
listServiceOperations
default ListServiceOperationsResponse listServiceOperations(Consumer<ListServiceOperationsRequest.Builder> listServiceOperationsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.
This is a convenience which creates an instance of the
ListServiceOperationsRequest.Builder
avoiding the need to create one manually viaListServiceOperationsRequest.builder()
- Parameters:
listServiceOperationsRequest
- AConsumer
that will call methods onListServiceOperationsRequest.Builder
to create a request.- Returns:
- Result of the ListServiceOperations operation returned by the service.
- See Also:
-
listServiceOperationsPaginator
default ListServiceOperationsIterable listServiceOperationsPaginator(ListServiceOperationsRequest listServiceOperationsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceOperations(software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceOperationsIterable responses = client.listServiceOperationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceOperationsIterable responses = client .listServiceOperationsPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceOperationsIterable responses = client.listServiceOperationsPaginator(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
listServiceOperations(software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsRequest)
operation.- Parameters:
listServiceOperationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceOperationsPaginator
default ListServiceOperationsIterable listServiceOperationsPaginator(Consumer<ListServiceOperationsRequest.Builder> listServiceOperationsRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServiceOperations(software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceOperationsIterable responses = client.listServiceOperationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServiceOperationsIterable responses = client .listServiceOperationsPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServiceOperationsIterable responses = client.listServiceOperationsPaginator(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
listServiceOperations(software.amazon.awssdk.services.applicationsignals.model.ListServiceOperationsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceOperationsRequest.Builder
avoiding the need to create one manually viaListServiceOperationsRequest.builder()
- Parameters:
listServiceOperationsRequest
- AConsumer
that will call methods onListServiceOperationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServices
default ListServicesResponse listServices(ListServicesRequest listServicesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.
- Parameters:
listServicesRequest
-- Returns:
- Result of the ListServices operation returned by the service.
- See Also:
-
listServices
default ListServicesResponse listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.
This is a convenience which creates an instance of the
ListServicesRequest.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- Result of the ListServices operation returned by the service.
- See Also:
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(ListServicesRequest listServicesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServices(software.amazon.awssdk.services.applicationsignals.model.ListServicesRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServicesIterable responses = client .listServicesPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServicesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServicesIterable responses = client.listServicesPaginator(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
listServices(software.amazon.awssdk.services.applicationsignals.model.ListServicesRequest)
operation.- Parameters:
listServicesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) throws ValidationException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException This is a variant of
listServices(software.amazon.awssdk.services.applicationsignals.model.ListServicesRequest)
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 Streamsoftware.amazon.awssdk.services.applicationsignals.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.applicationsignals.paginators.ListServicesIterable responses = client .listServicesPaginator(request); for (software.amazon.awssdk.services.applicationsignals.model.ListServicesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.applicationsignals.paginators.ListServicesIterable responses = client.listServicesPaginator(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
listServices(software.amazon.awssdk.services.applicationsignals.model.ListServicesRequest)
operation.
This is a convenience which creates an instance of the
ListServicesRequest.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
startDiscovery
default StartDiscoveryResponse startDiscovery(StartDiscoveryRequest startDiscoveryRequest) throws ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationSignalsException Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service- linked role has the following permissions:
-
xray:GetServiceGraph
-
logs:StartQuery
-
logs:GetQueryResults
-
cloudwatch:GetMetricData
-
cloudwatch:ListMetrics
-
tag:GetResources
-
autoscaling:DescribeAutoScalingGroups
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals.
- Parameters:
startDiscoveryRequest
-- Returns:
- Result of the StartDiscovery operation returned by the service.
- See Also:
-
-
startDiscovery
default StartDiscoveryResponse startDiscovery(Consumer<StartDiscoveryRequest.Builder> startDiscoveryRequest) throws ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ApplicationSignalsException Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service- linked role has the following permissions:
-
xray:GetServiceGraph
-
logs:StartQuery
-
logs:GetQueryResults
-
cloudwatch:GetMetricData
-
cloudwatch:ListMetrics
-
tag:GetResources
-
autoscaling:DescribeAutoScalingGroups
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals.
This is a convenience which creates an instance of the
StartDiscoveryRequest.Builder
avoiding the need to create one manually viaStartDiscoveryRequest.builder()
- Parameters:
startDiscoveryRequest
- AConsumer
that will call methods onStartDiscoveryRequest.Builder
to create a request.- Returns:
- Result of the StartDiscovery operation returned by the service.
- See Also:
-
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ApplicationSignalsException Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the
TagResource
action with an alarm that already has tags. If you specify a new tag key for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces the previous value for that tag.You can associate as many as 50 tags with a CloudWatch resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ApplicationSignalsException Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the
TagResource
action with an alarm that already has tags. If you specify a new tag key for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces the previous value for that tag.You can associate as many as 50 tags with a CloudWatch resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Removes one or more tags from the specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Removes one or more tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateServiceLevelObjective
default UpdateServiceLevelObjectiveResponse updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest updateServiceLevelObjectiveRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.
You cannot change from a period-based SLO to a request-based SLO, or change from a request-based SLO to a period-based SLO.
- Parameters:
updateServiceLevelObjectiveRequest
-- Returns:
- Result of the UpdateServiceLevelObjective operation returned by the service.
- See Also:
-
updateServiceLevelObjective
default UpdateServiceLevelObjectiveResponse updateServiceLevelObjective(Consumer<UpdateServiceLevelObjectiveRequest.Builder> updateServiceLevelObjectiveRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ApplicationSignalsException Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.
You cannot change from a period-based SLO to a request-based SLO, or change from a request-based SLO to a period-based SLO.
This is a convenience which creates an instance of the
UpdateServiceLevelObjectiveRequest.Builder
avoiding the need to create one manually viaUpdateServiceLevelObjectiveRequest.builder()
- Parameters:
updateServiceLevelObjectiveRequest
- AConsumer
that will call methods onUpdateServiceLevelObjectiveRequest.Builder
to create a request.- Returns:
- Result of the UpdateServiceLevelObjective operation returned by the service.
- See Also:
-
create
Create aApplicationSignalsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aApplicationSignalsClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-