ApplicationInsights
public struct ApplicationInsights
Client object for interacting with AWS ApplicationInsights service.
Amazon CloudWatch Application Insights for .NET and SQL Server Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems. After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the ApplicationInsights client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Adds an application that is created from a resource group.
Declaration
Swift
public func createApplication(_ input: CreateApplicationRequest) -> EventLoopFuture<CreateApplicationResponse>
-
Creates a custom component by grouping similar standalone instances to monitor.
Declaration
Swift
public func createComponent(_ input: CreateComponentRequest) -> EventLoopFuture<CreateComponentResponse>
-
Adds an log pattern to a LogPatternSet.
Declaration
Swift
public func createLogPattern(_ input: CreateLogPatternRequest) -> EventLoopFuture<CreateLogPatternResponse>
-
Removes the specified application from monitoring. Does not delete the application.
Declaration
Swift
public func deleteApplication(_ input: DeleteApplicationRequest) -> EventLoopFuture<DeleteApplicationResponse>
-
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
Declaration
Swift
public func deleteComponent(_ input: DeleteComponentRequest) -> EventLoopFuture<DeleteComponentResponse>
-
Removes the specified log pattern from a LogPatternSet.
Declaration
Swift
public func deleteLogPattern(_ input: DeleteLogPatternRequest) -> EventLoopFuture<DeleteLogPatternResponse>
-
Describes the application.
Declaration
Swift
public func describeApplication(_ input: DescribeApplicationRequest) -> EventLoopFuture<DescribeApplicationResponse>
-
Describes a component and lists the resources that are grouped together in a component.
Declaration
Swift
public func describeComponent(_ input: DescribeComponentRequest) -> EventLoopFuture<DescribeComponentResponse>
-
Describes the monitoring configuration of the component.
Declaration
Swift
public func describeComponentConfiguration(_ input: DescribeComponentConfigurationRequest) -> EventLoopFuture<DescribeComponentConfigurationResponse>
-
Describes the recommended monitoring configuration of the component.
Declaration
Swift
public func describeComponentConfigurationRecommendation(_ input: DescribeComponentConfigurationRecommendationRequest) -> EventLoopFuture<DescribeComponentConfigurationRecommendationResponse>
-
Describe a specific log pattern from a LogPatternSet.
Declaration
Swift
public func describeLogPattern(_ input: DescribeLogPatternRequest) -> EventLoopFuture<DescribeLogPatternResponse>
-
Describes an anomaly or error with the application.
Declaration
Swift
public func describeObservation(_ input: DescribeObservationRequest) -> EventLoopFuture<DescribeObservationResponse>
-
Describes an application problem.
Declaration
Swift
public func describeProblem(_ input: DescribeProblemRequest) -> EventLoopFuture<DescribeProblemResponse>
-
Describes the anomalies or errors associated with the problem.
Declaration
Swift
public func describeProblemObservations(_ input: DescribeProblemObservationsRequest) -> EventLoopFuture<DescribeProblemObservationsResponse>
-
Lists the IDs of the applications that you are monitoring.
Declaration
Swift
public func listApplications(_ input: ListApplicationsRequest) -> EventLoopFuture<ListApplicationsResponse>
-
Lists the auto-grouped, standalone, and custom components of the application.
Declaration
Swift
public func listComponents(_ input: ListComponentsRequest) -> EventLoopFuture<ListComponentsResponse>
-
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas.
Declaration
Swift
public func listConfigurationHistory(_ input: ListConfigurationHistoryRequest) -> EventLoopFuture<ListConfigurationHistoryResponse>
-
Lists the log pattern sets in the specific application.
Declaration
Swift
public func listLogPatternSets(_ input: ListLogPatternSetsRequest) -> EventLoopFuture<ListLogPatternSetsResponse>
-
Lists the log patterns in the specific log LogPatternSet.
Declaration
Swift
public func listLogPatterns(_ input: ListLogPatternsRequest) -> EventLoopFuture<ListLogPatternsResponse>
-
Lists the problems with your application.
Declaration
Swift
public func listProblems(_ input: ListProblemsRequest) -> EventLoopFuture<ListProblemsResponse>
-
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse>
-
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
Declaration
Swift
public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<TagResourceResponse>
-
Remove one or more tags (keys and values) from a specified application.
Declaration
Swift
public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<UntagResourceResponse>
-
Updates the application.
Declaration
Swift
public func updateApplication(_ input: UpdateApplicationRequest) -> EventLoopFuture<UpdateApplicationResponse>
-
Updates the custom component name and/or the list of resources that make up the component.
Declaration
Swift
public func updateComponent(_ input: UpdateComponentRequest) -> EventLoopFuture<UpdateComponentResponse>
-
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
Declaration
Swift
public func updateComponentConfiguration(_ input: UpdateComponentConfigurationRequest) -> EventLoopFuture<UpdateComponentConfigurationResponse>
-
Adds a log pattern to a LogPatternSet.
Declaration
Swift
public func updateLogPattern(_ input: UpdateLogPatternRequest) -> EventLoopFuture<UpdateLogPatternResponse>
-
Lists the IDs of the applications that you are monitoring.
Declaration
Swift
public func listApplicationsPaginator(_ input: ListApplicationsRequest, onPage: @escaping (ListApplicationsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists the auto-grouped, standalone, and custom components of the application.
Declaration
Swift
public func listComponentsPaginator(_ input: ListComponentsRequest, onPage: @escaping (ListComponentsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas.
Declaration
Swift
public func listConfigurationHistoryPaginator(_ input: ListConfigurationHistoryRequest, onPage: @escaping (ListConfigurationHistoryResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists the log pattern sets in the specific application.
Declaration
Swift
public func listLogPatternSetsPaginator(_ input: ListLogPatternSetsRequest, onPage: @escaping (ListLogPatternSetsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists the log patterns in the specific log LogPatternSet.
Declaration
Swift
public func listLogPatternsPaginator(_ input: ListLogPatternsRequest, onPage: @escaping (ListLogPatternsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists the problems with your application.
Declaration
Swift
public func listProblemsPaginator(_ input: ListProblemsRequest, onPage: @escaping (ListProblemsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListApplicationsRequest : AWSShape
extension ApplicationInsights.ListApplicationsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListComponentsRequest : AWSShape
extension ApplicationInsights.ListComponentsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListConfigurationHistoryRequest : AWSShape
extension ApplicationInsights.ListConfigurationHistoryRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListLogPatternSetsRequest : AWSShape
extension ApplicationInsights.ListLogPatternSetsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListLogPatternsRequest : AWSShape
extension ApplicationInsights.ListLogPatternsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListProblemsRequest : AWSShape
extension ApplicationInsights.ListProblemsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum CloudWatchEventSource : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ConfigurationEventResourceType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ConfigurationEventStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FeedbackKey : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FeedbackValue : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum LogFilter : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SeverityLevel : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum Status : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum Tier : String, CustomStringConvertible, Codable