aws-sdk-applicationinsights 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7aeebbeb4100d655cb07c1c2ee6f984b094ea74
4
- data.tar.gz: f6c8bd0bcd499d869b0138abdfe35e383ee42c85
3
+ metadata.gz: c2a6b695a0d6e89db2217d72ec1d043fe9ad18ad
4
+ data.tar.gz: eb2dbfb23aef63bc765b2febf3674b771fb6659d
5
5
  SHA512:
6
- metadata.gz: 4b31da0e7aca3f41097473ad559dfad25033a7d30fca0fd04ebfa4b907d86143e1923ab8806805b1a24fc4554ab757e9aa2b7ae0f494289c928fdee25bf98b17
7
- data.tar.gz: 2321eafcfece7db9495ddccfbae56c4a54768f638a4e3cae6782419f76a3abb653ef9dceed17b9be355df56852374b3775335135e65119a89f9b0bc2945c662e
6
+ metadata.gz: 3329f7a045d2fe445de437ad553e958aa6a9bed148e8bf1fcdb61bac532c77dcfd7d48aa3b21877dfff05520251bdbf0b7ef96db863a820cb610a7ca0868363d
7
+ data.tar.gz: 191551dc596bdfca5efee227d29332c68fc91791ab9aa5f0b16426bcc5ae90c1bc82d526df593e158ddeda27caf076a3d441957a350f3e0835db525664cf60b3
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-applicationinsights/customizations'
42
42
  # @service
43
43
  module Aws::ApplicationInsights
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -269,6 +269,15 @@ module Aws::ApplicationInsights
269
269
  # @option params [required, String] :resource_group_name
270
270
  # The name of the resource group.
271
271
  #
272
+ # @option params [Boolean] :ops_center_enabled
273
+ # When set to `true`, creates opsItems for any problems detected on an
274
+ # application.
275
+ #
276
+ # @option params [String] :ops_item_sns_topic_arn
277
+ # The SNS topic provided to Application Insights that is associated to
278
+ # the created opsItem. Allows you to receive notifications for updates
279
+ # to the opsItem.
280
+ #
272
281
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
273
282
  #
274
283
  # * {Types::CreateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
@@ -277,12 +286,16 @@ module Aws::ApplicationInsights
277
286
  #
278
287
  # resp = client.create_application({
279
288
  # resource_group_name: "ResourceGroupName", # required
289
+ # ops_center_enabled: false,
290
+ # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
280
291
  # })
281
292
  #
282
293
  # @example Response structure
283
294
  #
284
295
  # resp.application_info.resource_group_name #=> String
285
296
  # resp.application_info.life_cycle #=> String
297
+ # resp.application_info.ops_item_sns_topic_arn #=> String
298
+ # resp.application_info.ops_center_enabled #=> Boolean
286
299
  # resp.application_info.remarks #=> String
287
300
  #
288
301
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
@@ -395,6 +408,8 @@ module Aws::ApplicationInsights
395
408
  #
396
409
  # resp.application_info.resource_group_name #=> String
397
410
  # resp.application_info.life_cycle #=> String
411
+ # resp.application_info.ops_item_sns_topic_arn #=> String
412
+ # resp.application_info.ops_center_enabled #=> Boolean
398
413
  # resp.application_info.remarks #=> String
399
414
  #
400
415
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
@@ -491,7 +506,7 @@ module Aws::ApplicationInsights
491
506
  #
492
507
  # @option params [required, String] :tier
493
508
  # The tier of the application component. Supported tiers include
494
- # `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`.
509
+ # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`.
495
510
  #
496
511
  # @return [Types::DescribeComponentConfigurationRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
497
512
  #
@@ -664,6 +679,8 @@ module Aws::ApplicationInsights
664
679
  # resp.application_info_list #=> Array
665
680
  # resp.application_info_list[0].resource_group_name #=> String
666
681
  # resp.application_info_list[0].life_cycle #=> String
682
+ # resp.application_info_list[0].ops_item_sns_topic_arn #=> String
683
+ # resp.application_info_list[0].ops_center_enabled #=> Boolean
667
684
  # resp.application_info_list[0].remarks #=> String
668
685
  # resp.next_token #=> String
669
686
  #
@@ -783,6 +800,54 @@ module Aws::ApplicationInsights
783
800
  req.send_request(options)
784
801
  end
785
802
 
803
+ # Updates the application.
804
+ #
805
+ # @option params [required, String] :resource_group_name
806
+ # The name of the resource group.
807
+ #
808
+ # @option params [Boolean] :ops_center_enabled
809
+ # When set to `true`, creates opsItems for any problems detected on an
810
+ # application.
811
+ #
812
+ # @option params [String] :ops_item_sns_topic_arn
813
+ # The SNS topic provided to Application Insights that is associated to
814
+ # the created opsItem. Allows you to receive notifications for updates
815
+ # to the opsItem.
816
+ #
817
+ # @option params [Boolean] :remove_sns_topic
818
+ # Disassociates the SNS topic from the opsItem created for detected
819
+ # problems.
820
+ #
821
+ # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
822
+ #
823
+ # * {Types::UpdateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
824
+ #
825
+ # @example Request syntax with placeholder values
826
+ #
827
+ # resp = client.update_application({
828
+ # resource_group_name: "ResourceGroupName", # required
829
+ # ops_center_enabled: false,
830
+ # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
831
+ # remove_sns_topic: false,
832
+ # })
833
+ #
834
+ # @example Response structure
835
+ #
836
+ # resp.application_info.resource_group_name #=> String
837
+ # resp.application_info.life_cycle #=> String
838
+ # resp.application_info.ops_item_sns_topic_arn #=> String
839
+ # resp.application_info.ops_center_enabled #=> Boolean
840
+ # resp.application_info.remarks #=> String
841
+ #
842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
843
+ #
844
+ # @overload update_application(params = {})
845
+ # @param [Hash] params ({})
846
+ def update_application(params = {}, options = {})
847
+ req = build_request(:update_application, params)
848
+ req.send_request(options)
849
+ end
850
+
786
851
  # Updates the custom component name and/or the list of resources that
787
852
  # make up the component.
788
853
  #
@@ -834,7 +899,7 @@ module Aws::ApplicationInsights
834
899
  #
835
900
  # @option params [String] :tier
836
901
  # The tier of the application component. Supported tiers include
837
- # `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`.
902
+ # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`.
838
903
  #
839
904
  # @option params [String] :component_configuration
840
905
  # The configuration settings of the component. The value is the escaped
@@ -881,7 +946,7 @@ module Aws::ApplicationInsights
881
946
  params: params,
882
947
  config: config)
883
948
  context[:gem_name] = 'aws-sdk-applicationinsights'
884
- context[:gem_version] = '1.2.0'
949
+ context[:gem_version] = '1.3.0'
885
950
  Seahorse::Client::Request.new(handlers, context)
886
951
  end
887
952
 
@@ -67,12 +67,15 @@ module Aws::ApplicationInsights
67
67
  Observation = Shapes::StructureShape.new(name: 'Observation')
68
68
  ObservationId = Shapes::StringShape.new(name: 'ObservationId')
69
69
  ObservationList = Shapes::ListShape.new(name: 'ObservationList')
70
+ OpsCenterEnabled = Shapes::BooleanShape.new(name: 'OpsCenterEnabled')
71
+ OpsItemSNSTopicArn = Shapes::StringShape.new(name: 'OpsItemSNSTopicArn')
70
72
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
71
73
  Problem = Shapes::StructureShape.new(name: 'Problem')
72
74
  ProblemId = Shapes::StringShape.new(name: 'ProblemId')
73
75
  ProblemList = Shapes::ListShape.new(name: 'ProblemList')
74
76
  RelatedObservations = Shapes::StructureShape.new(name: 'RelatedObservations')
75
77
  Remarks = Shapes::StringShape.new(name: 'Remarks')
78
+ RemoveSNSTopic = Shapes::BooleanShape.new(name: 'RemoveSNSTopic')
76
79
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
77
80
  ResourceGroupName = Shapes::StringShape.new(name: 'ResourceGroupName')
78
81
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
@@ -87,6 +90,8 @@ module Aws::ApplicationInsights
87
90
  Tier = Shapes::StringShape.new(name: 'Tier')
88
91
  Title = Shapes::StringShape.new(name: 'Title')
89
92
  Unit = Shapes::StringShape.new(name: 'Unit')
93
+ UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
94
+ UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
90
95
  UpdateComponentConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComponentConfigurationRequest')
91
96
  UpdateComponentConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateComponentConfigurationResponse')
92
97
  UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
@@ -104,6 +109,8 @@ module Aws::ApplicationInsights
104
109
 
105
110
  ApplicationInfo.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, location_name: "ResourceGroupName"))
106
111
  ApplicationInfo.add_member(:life_cycle, Shapes::ShapeRef.new(shape: LifeCycle, location_name: "LifeCycle"))
112
+ ApplicationInfo.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
113
+ ApplicationInfo.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
107
114
  ApplicationInfo.add_member(:remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "Remarks"))
108
115
  ApplicationInfo.struct_class = Types::ApplicationInfo
109
116
 
@@ -113,6 +120,8 @@ module Aws::ApplicationInsights
113
120
  BadRequestException.struct_class = Types::BadRequestException
114
121
 
115
122
  CreateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
123
+ CreateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
124
+ CreateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
116
125
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
117
126
 
118
127
  CreateApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
@@ -261,6 +270,15 @@ module Aws::ApplicationInsights
261
270
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMsg, location_name: "Message"))
262
271
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
263
272
 
273
+ UpdateApplicationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
274
+ UpdateApplicationRequest.add_member(:ops_center_enabled, Shapes::ShapeRef.new(shape: OpsCenterEnabled, location_name: "OpsCenterEnabled"))
275
+ UpdateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
276
+ UpdateApplicationRequest.add_member(:remove_sns_topic, Shapes::ShapeRef.new(shape: RemoveSNSTopic, location_name: "RemoveSNSTopic"))
277
+ UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
278
+
279
+ UpdateApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
280
+ UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
281
+
264
282
  UpdateComponentConfigurationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
265
283
  UpdateComponentConfigurationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
266
284
  UpdateComponentConfigurationRequest.add_member(:monitor, Shapes::ShapeRef.new(shape: Monitor, location_name: "Monitor"))
@@ -475,6 +493,17 @@ module Aws::ApplicationInsights
475
493
  )
476
494
  end)
477
495
 
496
+ api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
497
+ o.name = "UpdateApplication"
498
+ o.http_method = "POST"
499
+ o.http_request_uri = "/"
500
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
501
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
502
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
504
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
505
+ end)
506
+
478
507
  api.add_operation(:update_component, Seahorse::Model::Operation.new.tap do |o|
479
508
  o.name = "UpdateComponent"
480
509
  o.http_method = "POST"
@@ -48,9 +48,20 @@ module Aws::ApplicationInsights
48
48
  # The lifecycle of the application.
49
49
  # @return [String]
50
50
  #
51
+ # @!attribute [rw] ops_item_sns_topic_arn
52
+ # The SNS topic provided to Application Insights that is associated to
53
+ # the created opsItems to receive SNS notifications for opsItem
54
+ # updates.
55
+ # @return [String]
56
+ #
57
+ # @!attribute [rw] ops_center_enabled
58
+ # Indicates whether Application Insights will create opsItems for any
59
+ # problem detected by Application Insights for an application.
60
+ # @return [Boolean]
61
+ #
51
62
  # @!attribute [rw] remarks
52
- # The issues on the user side that are blocking Application Insights
53
- # from fully monitoring the application.
63
+ # The issues on the user side that block Application Insights from
64
+ # successfully monitoring an application.
54
65
  # @return [String]
55
66
  #
56
67
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ApplicationInfo AWS API Documentation
@@ -58,6 +69,8 @@ module Aws::ApplicationInsights
58
69
  class ApplicationInfo < Struct.new(
59
70
  :resource_group_name,
60
71
  :life_cycle,
72
+ :ops_item_sns_topic_arn,
73
+ :ops_center_enabled,
61
74
  :remarks)
62
75
  include Aws::Structure
63
76
  end
@@ -79,16 +92,31 @@ module Aws::ApplicationInsights
79
92
  #
80
93
  # {
81
94
  # resource_group_name: "ResourceGroupName", # required
95
+ # ops_center_enabled: false,
96
+ # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
82
97
  # }
83
98
  #
84
99
  # @!attribute [rw] resource_group_name
85
100
  # The name of the resource group.
86
101
  # @return [String]
87
102
  #
103
+ # @!attribute [rw] ops_center_enabled
104
+ # When set to `true`, creates opsItems for any problems detected on an
105
+ # application.
106
+ # @return [Boolean]
107
+ #
108
+ # @!attribute [rw] ops_item_sns_topic_arn
109
+ # The SNS topic provided to Application Insights that is associated to
110
+ # the created opsItem. Allows you to receive notifications for updates
111
+ # to the opsItem.
112
+ # @return [String]
113
+ #
88
114
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplicationRequest AWS API Documentation
89
115
  #
90
116
  class CreateApplicationRequest < Struct.new(
91
- :resource_group_name)
117
+ :resource_group_name,
118
+ :ops_center_enabled,
119
+ :ops_item_sns_topic_arn)
92
120
  include Aws::Structure
93
121
  end
94
122
 
@@ -235,7 +263,7 @@ module Aws::ApplicationInsights
235
263
  #
236
264
  # @!attribute [rw] tier
237
265
  # The tier of the application component. Supported tiers include
238
- # `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`.
266
+ # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`.
239
267
  # @return [String]
240
268
  #
241
269
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendationRequest AWS API Documentation
@@ -289,7 +317,7 @@ module Aws::ApplicationInsights
289
317
  #
290
318
  # @!attribute [rw] tier
291
319
  # The tier of the application component. Supported tiers include
292
- # `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`
320
+ # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`
293
321
  # @return [String]
294
322
  #
295
323
  # @!attribute [rw] component_configuration
@@ -771,6 +799,57 @@ module Aws::ApplicationInsights
771
799
  include Aws::Structure
772
800
  end
773
801
 
802
+ # @note When making an API call, you may pass UpdateApplicationRequest
803
+ # data as a hash:
804
+ #
805
+ # {
806
+ # resource_group_name: "ResourceGroupName", # required
807
+ # ops_center_enabled: false,
808
+ # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
809
+ # remove_sns_topic: false,
810
+ # }
811
+ #
812
+ # @!attribute [rw] resource_group_name
813
+ # The name of the resource group.
814
+ # @return [String]
815
+ #
816
+ # @!attribute [rw] ops_center_enabled
817
+ # When set to `true`, creates opsItems for any problems detected on an
818
+ # application.
819
+ # @return [Boolean]
820
+ #
821
+ # @!attribute [rw] ops_item_sns_topic_arn
822
+ # The SNS topic provided to Application Insights that is associated to
823
+ # the created opsItem. Allows you to receive notifications for updates
824
+ # to the opsItem.
825
+ # @return [String]
826
+ #
827
+ # @!attribute [rw] remove_sns_topic
828
+ # Disassociates the SNS topic from the opsItem created for detected
829
+ # problems.
830
+ # @return [Boolean]
831
+ #
832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplicationRequest AWS API Documentation
833
+ #
834
+ class UpdateApplicationRequest < Struct.new(
835
+ :resource_group_name,
836
+ :ops_center_enabled,
837
+ :ops_item_sns_topic_arn,
838
+ :remove_sns_topic)
839
+ include Aws::Structure
840
+ end
841
+
842
+ # @!attribute [rw] application_info
843
+ # Information about the application.
844
+ # @return [Types::ApplicationInfo]
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplicationResponse AWS API Documentation
847
+ #
848
+ class UpdateApplicationResponse < Struct.new(
849
+ :application_info)
850
+ include Aws::Structure
851
+ end
852
+
774
853
  # @note When making an API call, you may pass UpdateComponentConfigurationRequest
775
854
  # data as a hash:
776
855
  #
@@ -796,7 +875,7 @@ module Aws::ApplicationInsights
796
875
  #
797
876
  # @!attribute [rw] tier
798
877
  # The tier of the application component. Supported tiers include
799
- # `DOT_NET_WORKER`, `DOT_NET_WEB_TIER`, `SQL_SERVER`, and `DEFAULT`.
878
+ # `DOT_NET_WORKER`, `DOT_NET_WEB`, `SQL_SERVER`, and `DEFAULT`.
800
879
  # @return [String]
801
880
  #
802
881
  # @!attribute [rw] component_configuration
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationinsights
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core