2019/08/07 - Amazon CloudWatch Application Insights - 1 new3 updated api methods
Changes Update application-insights client to latest version
Updates the application.
See also: AWS API Documentation
Request Syntax
client.update_application( ResourceGroupName='string', OpsCenterEnabled=True|False, OpsItemSNSTopicArn='string', RemoveSNSTopic=True|False )
string
[REQUIRED]
The name of the resource group.
boolean
When set to true, creates opsItems for any problems detected on an application.
string
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
boolean
Disassociates the SNS topic from the opsItem created for detected problems.
dict
Response Syntax
{ 'ApplicationInfo': { 'ResourceGroupName': 'string', 'LifeCycle': 'string', 'OpsItemSNSTopicArn': 'string', 'OpsCenterEnabled': True|False, 'Remarks': 'string' } }
Response Structure
(dict) --
ApplicationInfo (dict) --
Information about the application.
ResourceGroupName (string) --
The name of the resource group used for the application.
LifeCycle (string) --
The lifecycle of the application.
OpsItemSNSTopicArn (string) --
The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
OpsCenterEnabled (boolean) --
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
Remarks (string) --
The issues on the user side that block Application Insights from successfully monitoring an application.
{'OpsCenterEnabled': 'boolean', 'OpsItemSNSTopicArn': 'string'}Response
{'ApplicationInfo': {'OpsCenterEnabled': 'boolean', 'OpsItemSNSTopicArn': 'string'}}
Adds an application that is created from a resource group.
See also: AWS API Documentation
Request Syntax
client.create_application( ResourceGroupName='string', OpsCenterEnabled=True|False, OpsItemSNSTopicArn='string' )
string
[REQUIRED]
The name of the resource group.
boolean
When set to true, creates opsItems for any problems detected on an application.
string
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
dict
Response Syntax
{ 'ApplicationInfo': { 'ResourceGroupName': 'string', 'LifeCycle': 'string', 'OpsItemSNSTopicArn': 'string', 'OpsCenterEnabled': True|False, 'Remarks': 'string' } }
Response Structure
(dict) --
ApplicationInfo (dict) --
Information about the application.
ResourceGroupName (string) --
The name of the resource group used for the application.
LifeCycle (string) --
The lifecycle of the application.
OpsItemSNSTopicArn (string) --
The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
OpsCenterEnabled (boolean) --
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
Remarks (string) --
The issues on the user side that block Application Insights from successfully monitoring an application.
{'ApplicationInfo': {'OpsCenterEnabled': 'boolean', 'OpsItemSNSTopicArn': 'string'}}
Describes the application.
See also: AWS API Documentation
Request Syntax
client.describe_application( ResourceGroupName='string' )
string
[REQUIRED]
The name of the resource group.
dict
Response Syntax
{ 'ApplicationInfo': { 'ResourceGroupName': 'string', 'LifeCycle': 'string', 'OpsItemSNSTopicArn': 'string', 'OpsCenterEnabled': True|False, 'Remarks': 'string' } }
Response Structure
(dict) --
ApplicationInfo (dict) --
Information about the application.
ResourceGroupName (string) --
The name of the resource group used for the application.
LifeCycle (string) --
The lifecycle of the application.
OpsItemSNSTopicArn (string) --
The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
OpsCenterEnabled (boolean) --
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
Remarks (string) --
The issues on the user side that block Application Insights from successfully monitoring an application.
{'ApplicationInfoList': {'OpsCenterEnabled': 'boolean', 'OpsItemSNSTopicArn': 'string'}}
Lists the IDs of the applications that you are monitoring.
See also: AWS API Documentation
Request Syntax
client.list_applications( MaxResults=123, NextToken='string' )
integer
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
string
The token to request the next page of results.
dict
Response Syntax
{ 'ApplicationInfoList': [ { 'ResourceGroupName': 'string', 'LifeCycle': 'string', 'OpsItemSNSTopicArn': 'string', 'OpsCenterEnabled': True|False, 'Remarks': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
ApplicationInfoList (list) --
The list of applications.
(dict) --
Describes the status of the application.
ResourceGroupName (string) --
The name of the resource group used for the application.
LifeCycle (string) --
The lifecycle of the application.
OpsItemSNSTopicArn (string) --
The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
OpsCenterEnabled (boolean) --
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
Remarks (string) --
The issues on the user side that block Application Insights from successfully monitoring an application.
NextToken (string) --
The token used to retrieve the next page of results. This value is null when there are no more results to return.