aws-sdk-applicationinsights 1.40.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationinsights/client.rb +19 -1
- data/lib/aws-sdk-applicationinsights/client_api.rb +6 -0
- data/lib/aws-sdk-applicationinsights/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-applicationinsights/types.rb +26 -3
- data/lib/aws-sdk-applicationinsights.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffc5bab802e0f791d4b9193c2474061eaeb147e74a98c004bb6d2f7cc7ac8750
|
4
|
+
data.tar.gz: 9de78184b93b95f4404827bd81df75a3ae2c721cd587e550b0ab058fe57903ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '098e8464e2bee5ed318d3da74b68ff08fcdf3a7c934e49b98ca4fd9ac9f1f7bf16b11bbd7ee965f1bbbe600c4a98c42dbec46486be75b071fb92dc6a90a07642'
|
7
|
+
data.tar.gz: 6b59d97a64f8a246261d93dc4bf81de6d977be1765dea724bca78682e25a00aa80af11be8515ec8e5e8f293ca227dfcaec3997a7a369833b8769ec38cdb6eb3b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -481,6 +481,10 @@ module Aws::ApplicationInsights
|
|
481
481
|
# or on an account. To create an account-based application using all of
|
482
482
|
# the resources in the account, set this parameter to `ACCOUNT_BASED`.
|
483
483
|
#
|
484
|
+
# @option params [Boolean] :attach_missing_permission
|
485
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
486
|
+
# to the instance roles if they are missing.
|
487
|
+
#
|
484
488
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
485
489
|
#
|
486
490
|
# * {Types::CreateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
|
@@ -501,6 +505,7 @@ module Aws::ApplicationInsights
|
|
501
505
|
# auto_config_enabled: false,
|
502
506
|
# auto_create: false,
|
503
507
|
# grouping_type: "ACCOUNT_BASED", # accepts ACCOUNT_BASED
|
508
|
+
# attach_missing_permission: false,
|
504
509
|
# })
|
505
510
|
#
|
506
511
|
# @example Response structure
|
@@ -514,6 +519,7 @@ module Aws::ApplicationInsights
|
|
514
519
|
# resp.application_info.remarks #=> String
|
515
520
|
# resp.application_info.auto_config_enabled #=> Boolean
|
516
521
|
# resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
522
|
+
# resp.application_info.attach_missing_permission #=> Boolean
|
517
523
|
#
|
518
524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication AWS API Documentation
|
519
525
|
#
|
@@ -726,6 +732,7 @@ module Aws::ApplicationInsights
|
|
726
732
|
# resp.application_info.remarks #=> String
|
727
733
|
# resp.application_info.auto_config_enabled #=> Boolean
|
728
734
|
# resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
735
|
+
# resp.application_info.attach_missing_permission #=> Boolean
|
729
736
|
#
|
730
737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication AWS API Documentation
|
731
738
|
#
|
@@ -835,6 +842,9 @@ module Aws::ApplicationInsights
|
|
835
842
|
# @option params [required, String] :tier
|
836
843
|
# The tier of the application component.
|
837
844
|
#
|
845
|
+
# @option params [String] :workload_name
|
846
|
+
# The name of the workload.
|
847
|
+
#
|
838
848
|
# @option params [String] :recommendation_type
|
839
849
|
# The recommended configuration type.
|
840
850
|
#
|
@@ -848,6 +858,7 @@ module Aws::ApplicationInsights
|
|
848
858
|
# resource_group_name: "ResourceGroupName", # required
|
849
859
|
# component_name: "ComponentName", # required
|
850
860
|
# tier: "CUSTOM", # required, accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY
|
861
|
+
# workload_name: "WorkloadName",
|
851
862
|
# recommendation_type: "INFRA_ONLY", # accepts INFRA_ONLY, WORKLOAD_ONLY, ALL
|
852
863
|
# })
|
853
864
|
#
|
@@ -1198,6 +1209,7 @@ module Aws::ApplicationInsights
|
|
1198
1209
|
# resp.application_info_list[0].remarks #=> String
|
1199
1210
|
# resp.application_info_list[0].auto_config_enabled #=> Boolean
|
1200
1211
|
# resp.application_info_list[0].discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
1212
|
+
# resp.application_info_list[0].attach_missing_permission #=> Boolean
|
1201
1213
|
# resp.next_token #=> String
|
1202
1214
|
#
|
1203
1215
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications AWS API Documentation
|
@@ -1771,6 +1783,10 @@ module Aws::ApplicationInsights
|
|
1771
1783
|
# @option params [Boolean] :auto_config_enabled
|
1772
1784
|
# Turns auto-configuration on or off.
|
1773
1785
|
#
|
1786
|
+
# @option params [Boolean] :attach_missing_permission
|
1787
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
1788
|
+
# to the instance roles if they are missing.
|
1789
|
+
#
|
1774
1790
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1775
1791
|
#
|
1776
1792
|
# * {Types::UpdateApplicationResponse#application_info #application_info} => Types::ApplicationInfo
|
@@ -1784,6 +1800,7 @@ module Aws::ApplicationInsights
|
|
1784
1800
|
# ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
|
1785
1801
|
# remove_sns_topic: false,
|
1786
1802
|
# auto_config_enabled: false,
|
1803
|
+
# attach_missing_permission: false,
|
1787
1804
|
# })
|
1788
1805
|
#
|
1789
1806
|
# @example Response structure
|
@@ -1797,6 +1814,7 @@ module Aws::ApplicationInsights
|
|
1797
1814
|
# resp.application_info.remarks #=> String
|
1798
1815
|
# resp.application_info.auto_config_enabled #=> Boolean
|
1799
1816
|
# resp.application_info.discovery_type #=> String, one of "RESOURCE_GROUP_BASED", "ACCOUNT_BASED"
|
1817
|
+
# resp.application_info.attach_missing_permission #=> Boolean
|
1800
1818
|
#
|
1801
1819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication AWS API Documentation
|
1802
1820
|
#
|
@@ -2056,7 +2074,7 @@ module Aws::ApplicationInsights
|
|
2056
2074
|
params: params,
|
2057
2075
|
config: config)
|
2058
2076
|
context[:gem_name] = 'aws-sdk-applicationinsights'
|
2059
|
-
context[:gem_version] = '1.
|
2077
|
+
context[:gem_version] = '1.41.0'
|
2060
2078
|
Seahorse::Client::Request.new(handlers, context)
|
2061
2079
|
end
|
2062
2080
|
|
@@ -23,6 +23,7 @@ module Aws::ApplicationInsights
|
|
23
23
|
ApplicationComponentList = Shapes::ListShape.new(name: 'ApplicationComponentList')
|
24
24
|
ApplicationInfo = Shapes::StructureShape.new(name: 'ApplicationInfo')
|
25
25
|
ApplicationInfoList = Shapes::ListShape.new(name: 'ApplicationInfoList')
|
26
|
+
AttachMissingPermission = Shapes::BooleanShape.new(name: 'AttachMissingPermission')
|
26
27
|
AutoConfigEnabled = Shapes::BooleanShape.new(name: 'AutoConfigEnabled')
|
27
28
|
AutoCreate = Shapes::BooleanShape.new(name: 'AutoCreate')
|
28
29
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
@@ -244,6 +245,7 @@ module Aws::ApplicationInsights
|
|
244
245
|
ApplicationInfo.add_member(:remarks, Shapes::ShapeRef.new(shape: Remarks, location_name: "Remarks"))
|
245
246
|
ApplicationInfo.add_member(:auto_config_enabled, Shapes::ShapeRef.new(shape: AutoConfigEnabled, location_name: "AutoConfigEnabled"))
|
246
247
|
ApplicationInfo.add_member(:discovery_type, Shapes::ShapeRef.new(shape: DiscoveryType, location_name: "DiscoveryType"))
|
248
|
+
ApplicationInfo.add_member(:attach_missing_permission, Shapes::ShapeRef.new(shape: AttachMissingPermission, location_name: "AttachMissingPermission"))
|
247
249
|
ApplicationInfo.struct_class = Types::ApplicationInfo
|
248
250
|
|
249
251
|
ApplicationInfoList.member = Shapes::ShapeRef.new(shape: ApplicationInfo)
|
@@ -271,6 +273,7 @@ module Aws::ApplicationInsights
|
|
271
273
|
CreateApplicationRequest.add_member(:auto_config_enabled, Shapes::ShapeRef.new(shape: AutoConfigEnabled, location_name: "AutoConfigEnabled"))
|
272
274
|
CreateApplicationRequest.add_member(:auto_create, Shapes::ShapeRef.new(shape: AutoCreate, location_name: "AutoCreate"))
|
273
275
|
CreateApplicationRequest.add_member(:grouping_type, Shapes::ShapeRef.new(shape: GroupingType, location_name: "GroupingType"))
|
276
|
+
CreateApplicationRequest.add_member(:attach_missing_permission, Shapes::ShapeRef.new(shape: AttachMissingPermission, location_name: "AttachMissingPermission"))
|
274
277
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
275
278
|
|
276
279
|
CreateApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
|
@@ -322,6 +325,7 @@ module Aws::ApplicationInsights
|
|
322
325
|
DescribeComponentConfigurationRecommendationRequest.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: ResourceGroupName, required: true, location_name: "ResourceGroupName"))
|
323
326
|
DescribeComponentConfigurationRecommendationRequest.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "ComponentName"))
|
324
327
|
DescribeComponentConfigurationRecommendationRequest.add_member(:tier, Shapes::ShapeRef.new(shape: Tier, required: true, location_name: "Tier"))
|
328
|
+
DescribeComponentConfigurationRecommendationRequest.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadName, location_name: "WorkloadName"))
|
325
329
|
DescribeComponentConfigurationRecommendationRequest.add_member(:recommendation_type, Shapes::ShapeRef.new(shape: RecommendationType, location_name: "RecommendationType"))
|
326
330
|
DescribeComponentConfigurationRecommendationRequest.struct_class = Types::DescribeComponentConfigurationRecommendationRequest
|
327
331
|
|
@@ -618,6 +622,7 @@ module Aws::ApplicationInsights
|
|
618
622
|
UpdateApplicationRequest.add_member(:ops_item_sns_topic_arn, Shapes::ShapeRef.new(shape: OpsItemSNSTopicArn, location_name: "OpsItemSNSTopicArn"))
|
619
623
|
UpdateApplicationRequest.add_member(:remove_sns_topic, Shapes::ShapeRef.new(shape: RemoveSNSTopic, location_name: "RemoveSNSTopic"))
|
620
624
|
UpdateApplicationRequest.add_member(:auto_config_enabled, Shapes::ShapeRef.new(shape: AutoConfigEnabled, location_name: "AutoConfigEnabled"))
|
625
|
+
UpdateApplicationRequest.add_member(:attach_missing_permission, Shapes::ShapeRef.new(shape: AttachMissingPermission, location_name: "AttachMissingPermission"))
|
621
626
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
622
627
|
|
623
628
|
UpdateApplicationResponse.add_member(:application_info, Shapes::ShapeRef.new(shape: ApplicationInfo, location_name: "ApplicationInfo"))
|
@@ -1085,6 +1090,7 @@ module Aws::ApplicationInsights
|
|
1085
1090
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1086
1091
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1087
1092
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1088
1094
|
end)
|
1089
1095
|
|
1090
1096
|
api.add_operation(:update_log_pattern, Seahorse::Model::Operation.new.tap do |o|
|
@@ -32,7 +32,7 @@ module Aws::ApplicationInsights
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -160,6 +160,11 @@ module Aws::ApplicationInsights
|
|
160
160
|
# The method used by Application Insights to onboard your resources.
|
161
161
|
# @return [String]
|
162
162
|
#
|
163
|
+
# @!attribute [rw] attach_missing_permission
|
164
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
165
|
+
# to the instance roles if they are missing.
|
166
|
+
# @return [Boolean]
|
167
|
+
#
|
163
168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ApplicationInfo AWS API Documentation
|
164
169
|
#
|
165
170
|
class ApplicationInfo < Struct.new(
|
@@ -171,7 +176,8 @@ module Aws::ApplicationInsights
|
|
171
176
|
:cwe_monitor_enabled,
|
172
177
|
:remarks,
|
173
178
|
:auto_config_enabled,
|
174
|
-
:discovery_type
|
179
|
+
:discovery_type,
|
180
|
+
:attach_missing_permission)
|
175
181
|
SENSITIVE = []
|
176
182
|
include Aws::Structure
|
177
183
|
end
|
@@ -287,6 +293,11 @@ module Aws::ApplicationInsights
|
|
287
293
|
# `ACCOUNT_BASED`.
|
288
294
|
# @return [String]
|
289
295
|
#
|
296
|
+
# @!attribute [rw] attach_missing_permission
|
297
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
298
|
+
# to the instance roles if they are missing.
|
299
|
+
# @return [Boolean]
|
300
|
+
#
|
290
301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplicationRequest AWS API Documentation
|
291
302
|
#
|
292
303
|
class CreateApplicationRequest < Struct.new(
|
@@ -297,7 +308,8 @@ module Aws::ApplicationInsights
|
|
297
308
|
:tags,
|
298
309
|
:auto_config_enabled,
|
299
310
|
:auto_create,
|
300
|
-
:grouping_type
|
311
|
+
:grouping_type,
|
312
|
+
:attach_missing_permission)
|
301
313
|
SENSITIVE = []
|
302
314
|
include Aws::Structure
|
303
315
|
end
|
@@ -504,6 +516,10 @@ module Aws::ApplicationInsights
|
|
504
516
|
# The tier of the application component.
|
505
517
|
# @return [String]
|
506
518
|
#
|
519
|
+
# @!attribute [rw] workload_name
|
520
|
+
# The name of the workload.
|
521
|
+
# @return [String]
|
522
|
+
#
|
507
523
|
# @!attribute [rw] recommendation_type
|
508
524
|
# The recommended configuration type.
|
509
525
|
# @return [String]
|
@@ -514,6 +530,7 @@ module Aws::ApplicationInsights
|
|
514
530
|
:resource_group_name,
|
515
531
|
:component_name,
|
516
532
|
:tier,
|
533
|
+
:workload_name,
|
517
534
|
:recommendation_type)
|
518
535
|
SENSITIVE = []
|
519
536
|
include Aws::Structure
|
@@ -1874,6 +1891,11 @@ module Aws::ApplicationInsights
|
|
1874
1891
|
# Turns auto-configuration on or off.
|
1875
1892
|
# @return [Boolean]
|
1876
1893
|
#
|
1894
|
+
# @!attribute [rw] attach_missing_permission
|
1895
|
+
# If set to true, the managed policies for SSM and CW will be attached
|
1896
|
+
# to the instance roles if they are missing.
|
1897
|
+
# @return [Boolean]
|
1898
|
+
#
|
1877
1899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplicationRequest AWS API Documentation
|
1878
1900
|
#
|
1879
1901
|
class UpdateApplicationRequest < Struct.new(
|
@@ -1882,7 +1904,8 @@ module Aws::ApplicationInsights
|
|
1882
1904
|
:cwe_monitor_enabled,
|
1883
1905
|
:ops_item_sns_topic_arn,
|
1884
1906
|
:remove_sns_topic,
|
1885
|
-
:auto_config_enabled
|
1907
|
+
:auto_config_enabled,
|
1908
|
+
:attach_missing_permission)
|
1886
1909
|
SENSITIVE = []
|
1887
1910
|
include Aws::Structure
|
1888
1911
|
end
|
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.
|
4
|
+
version: 1.41.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: 2023-
|
11
|
+
date: 2023-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|