aws-sdk-codeguruprofiler 1.25.0 → 1.26.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
  SHA256:
3
- metadata.gz: 8482be207df3483050a02c2c41d4fcb2c562ff69b08bb33722ec8705c2de70db
4
- data.tar.gz: 2488c5a7a528291fd76e2578ac65fb459363a19ff5f5ff822c14e28b92933b4d
3
+ metadata.gz: 4edb83f62b2414af44d201b9c536f258d83402118f034683d3fa802b4b654a23
4
+ data.tar.gz: 705294221539313b73605ccf96bde3f4f2c2218ff92704edf9e2c14d93e132b1
5
5
  SHA512:
6
- metadata.gz: 176091193fd05281762bc20e7a805125d119a704a0a86e2ceb5852e3e5680b06e6607b4e1daddaabfc4877cf466b616ee0a7f9a4e579c7650975c21251e49253
7
- data.tar.gz: 905c8a89afd94e2294baa167c5da5b5e31bc99b3b704b041c68bdd1d9ef7bb54d0f3af093d280e3fb9728cdd5c1264fa0ac949395121f69d9320e816ca3cb721
6
+ metadata.gz: 022e495fc2c3c2b713a79d0c75dcac86cc8079c2d2aa8073cd93d42c5d1ad0ca5803474617c9ca8be170160896de8f9ec861511d9f65d0579edb5d2e6b8ca1b9
7
+ data.tar.gz: 192d483620deb88992fa482eadacce7399d6e319a90624f959800b7357781e12493817b3b25bec60884acf0d377bd19712811ba58208d581051286ab07f2957d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.25.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -141,4 +148,4 @@ Unreleased Changes
141
148
  1.0.0 (2019-12-03)
142
149
  ------------------
143
150
 
144
- * Feature - Initial release of `aws-sdk-codeguruprofiler`.
151
+ * Feature - Initial release of `aws-sdk-codeguruprofiler`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -1674,7 +1674,7 @@ module Aws::CodeGuruProfiler
1674
1674
  params: params,
1675
1675
  config: config)
1676
1676
  context[:gem_name] = 'aws-sdk-codeguruprofiler'
1677
- context[:gem_version] = '1.25.0'
1677
+ context[:gem_version] = '1.26.0'
1678
1678
  Seahorse::Client::Request.new(handlers, context)
1679
1679
  end
1680
1680
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::CodeGuruProfiler
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://codeguru-profiler.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNw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HVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRp
101
- ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
102
- b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
103
- dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
104
- LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
105
- Ijp7InVybCI6Imh0dHBzOi8vY29kZWd1cnUtcHJvZmlsZXIue1JlZ2lvbn0u
106
- e1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30s
107
- ImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -12,20 +12,6 @@ module Aws::CodeGuruProfiler
12
12
 
13
13
  # The structure representing the AddNotificationChannelsRequest.
14
14
  #
15
- # @note When making an API call, you may pass AddNotificationChannelsRequest
16
- # data as a hash:
17
- #
18
- # {
19
- # channels: [ # required
20
- # {
21
- # event_publishers: ["AnomalyDetection"], # required, accepts AnomalyDetection
22
- # id: "ChannelId",
23
- # uri: "ChannelUri", # required
24
- # },
25
- # ],
26
- # profiling_group_name: "ProfilingGroupName", # required
27
- # }
28
- #
29
15
  # @!attribute [rw] channels
30
16
  # One or 2 channels to report to when anomalies are detected.
31
17
  # @return [Array<Types::Channel>]
@@ -121,13 +107,6 @@ module Aws::CodeGuruProfiler
121
107
  #
122
108
  # [1]: https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html
123
109
  #
124
- # @note When making an API call, you may pass AgentOrchestrationConfig
125
- # data as a hash:
126
- #
127
- # {
128
- # profiling_enabled: false, # required
129
- # }
130
- #
131
110
  # @!attribute [rw] profiling_enabled
132
111
  # A `Boolean` that specifies whether the profiling agent collects
133
112
  # profiling data or not. Set to `true` to enable profiling.
@@ -248,24 +227,6 @@ module Aws::CodeGuruProfiler
248
227
 
249
228
  # The structure representing the BatchGetFrameMetricDataRequest.
250
229
  #
251
- # @note When making an API call, you may pass BatchGetFrameMetricDataRequest
252
- # data as a hash:
253
- #
254
- # {
255
- # end_time: Time.now,
256
- # frame_metrics: [
257
- # {
258
- # frame_name: "String", # required
259
- # thread_states: ["String"], # required
260
- # type: "AggregatedRelativeTotalTime", # required, accepts AggregatedRelativeTotalTime
261
- # },
262
- # ],
263
- # period: "Period",
264
- # profiling_group_name: "ProfilingGroupName", # required
265
- # start_time: Time.now,
266
- # target_resolution: "PT5M", # accepts PT5M, PT1H, P1D
267
- # }
268
- #
269
230
  # @!attribute [rw] end_time
270
231
  # The end time of the time period for the returned time series values.
271
232
  # This is specified using the ISO 8601 format. For example,
@@ -388,15 +349,6 @@ module Aws::CodeGuruProfiler
388
349
  # Notification medium for users to get alerted for events that occur in
389
350
  # application profile. We support SNS topic as a notification channel.
390
351
  #
391
- # @note When making an API call, you may pass Channel
392
- # data as a hash:
393
- #
394
- # {
395
- # event_publishers: ["AnomalyDetection"], # required, accepts AnomalyDetection
396
- # id: "ChannelId",
397
- # uri: "ChannelUri", # required
398
- # }
399
- #
400
352
  # @!attribute [rw] event_publishers
401
353
  # List of publishers for different type of events that may be detected
402
354
  # in an application from the profile. Anomaly detection is the only
@@ -427,17 +379,6 @@ module Aws::CodeGuruProfiler
427
379
 
428
380
  # The structure representing the configureAgentRequest.
429
381
  #
430
- # @note When making an API call, you may pass ConfigureAgentRequest
431
- # data as a hash:
432
- #
433
- # {
434
- # fleet_instance_id: "FleetInstanceId",
435
- # metadata: {
436
- # "ComputePlatform" => "String",
437
- # },
438
- # profiling_group_name: "ProfilingGroupName", # required
439
- # }
440
- #
441
382
  # @!attribute [rw] fleet_instance_id
442
383
  # A universally unique identifier (UUID) for a profiling instance. For
443
384
  # example, if the profiling instance is an Amazon EC2 instance, it is
@@ -527,21 +468,6 @@ module Aws::CodeGuruProfiler
527
468
 
528
469
  # The structure representing the createProfiliingGroupRequest.
529
470
  #
530
- # @note When making an API call, you may pass CreateProfilingGroupRequest
531
- # data as a hash:
532
- #
533
- # {
534
- # agent_orchestration_config: {
535
- # profiling_enabled: false, # required
536
- # },
537
- # client_token: "ClientToken", # required
538
- # compute_platform: "Default", # accepts Default, AWSLambda
539
- # profiling_group_name: "ProfilingGroupName", # required
540
- # tags: {
541
- # "String" => "String",
542
- # },
543
- # }
544
- #
545
471
  # @!attribute [rw] agent_orchestration_config
546
472
  # Specifies whether profiling is enabled or disabled for the created
547
473
  # profiling group.
@@ -605,13 +531,6 @@ module Aws::CodeGuruProfiler
605
531
 
606
532
  # The structure representing the deleteProfilingGroupRequest.
607
533
  #
608
- # @note When making an API call, you may pass DeleteProfilingGroupRequest
609
- # data as a hash:
610
- #
611
- # {
612
- # profiling_group_name: "ProfilingGroupName", # required
613
- # }
614
- #
615
534
  # @!attribute [rw] profiling_group_name
616
535
  # The name of the profiling group to delete.
617
536
  # @return [String]
@@ -632,13 +551,6 @@ module Aws::CodeGuruProfiler
632
551
 
633
552
  # The structure representing the describeProfilingGroupRequest.
634
553
  #
635
- # @note When making an API call, you may pass DescribeProfilingGroupRequest
636
- # data as a hash:
637
- #
638
- # {
639
- # profiling_group_name: "ProfilingGroupName", # required
640
- # }
641
- #
642
554
  # @!attribute [rw] profiling_group_name
643
555
  # The name of the profiling group to get information about.
644
556
  # @return [String]
@@ -717,15 +629,6 @@ module Aws::CodeGuruProfiler
717
629
  # The frame name, metric type, and thread states. These are used to
718
630
  # derive the value of the metric for the frame.
719
631
  #
720
- # @note When making an API call, you may pass FrameMetric
721
- # data as a hash:
722
- #
723
- # {
724
- # frame_name: "String", # required
725
- # thread_states: ["String"], # required
726
- # type: "AggregatedRelativeTotalTime", # required, accepts AggregatedRelativeTotalTime
727
- # }
728
- #
729
632
  # @!attribute [rw] frame_name
730
633
  # Name of the method common across the multiple occurrences of a frame
731
634
  # in an application profile.
@@ -775,15 +678,6 @@ module Aws::CodeGuruProfiler
775
678
 
776
679
  # The structure representing the GetFindingsReportAccountSummaryRequest.
777
680
  #
778
- # @note When making an API call, you may pass GetFindingsReportAccountSummaryRequest
779
- # data as a hash:
780
- #
781
- # {
782
- # daily_reports_only: false,
783
- # max_results: 1,
784
- # next_token: "PaginationToken",
785
- # }
786
- #
787
681
  # @!attribute [rw] daily_reports_only
788
682
  # A `Boolean` value indicating whether to only return reports from
789
683
  # daily profiles. If set to `True`, only analysis data from daily
@@ -857,13 +751,6 @@ module Aws::CodeGuruProfiler
857
751
 
858
752
  # The structure representing the GetNotificationConfigurationRequest.
859
753
  #
860
- # @note When making an API call, you may pass GetNotificationConfigurationRequest
861
- # data as a hash:
862
- #
863
- # {
864
- # profiling_group_name: "ProfilingGroupName", # required
865
- # }
866
- #
867
754
  # @!attribute [rw] profiling_group_name
868
755
  # The name of the profiling group we want to get the notification
869
756
  # configuration for.
@@ -893,13 +780,6 @@ module Aws::CodeGuruProfiler
893
780
 
894
781
  # The structure representing the `getPolicyRequest`.
895
782
  #
896
- # @note When making an API call, you may pass GetPolicyRequest
897
- # data as a hash:
898
- #
899
- # {
900
- # profiling_group_name: "ProfilingGroupName", # required
901
- # }
902
- #
903
783
  # @!attribute [rw] profiling_group_name
904
784
  # The name of the profiling group.
905
785
  # @return [String]
@@ -934,18 +814,6 @@ module Aws::CodeGuruProfiler
934
814
 
935
815
  # The structure representing the getProfileRequest.
936
816
  #
937
- # @note When making an API call, you may pass GetProfileRequest
938
- # data as a hash:
939
- #
940
- # {
941
- # accept: "String",
942
- # end_time: Time.now,
943
- # max_depth: 1,
944
- # period: "Period",
945
- # profiling_group_name: "ProfilingGroupName", # required
946
- # start_time: Time.now,
947
- # }
948
- #
949
817
  # @!attribute [rw] accept
950
818
  # The format of the returned profiling data. The format maps to the
951
819
  # `Accept` and `Content-Type` headers of the HTTP request. You can
@@ -1032,16 +900,6 @@ module Aws::CodeGuruProfiler
1032
900
 
1033
901
  # The structure representing the GetRecommendationsRequest.
1034
902
  #
1035
- # @note When making an API call, you may pass GetRecommendationsRequest
1036
- # data as a hash:
1037
- #
1038
- # {
1039
- # end_time: Time.now, # required
1040
- # locale: "Locale",
1041
- # profiling_group_name: "ProfilingGroupName", # required
1042
- # start_time: Time.now, # required
1043
- # }
1044
- #
1045
903
  # @!attribute [rw] end_time
1046
904
  # The start time of the profile to get analysis data about. You must
1047
905
  # specify `startTime` and `endTime`. This is specified using the ISO
@@ -1155,18 +1013,6 @@ module Aws::CodeGuruProfiler
1155
1013
 
1156
1014
  # The structure representing the ListFindingsReportsRequest.
1157
1015
  #
1158
- # @note When making an API call, you may pass ListFindingsReportsRequest
1159
- # data as a hash:
1160
- #
1161
- # {
1162
- # daily_reports_only: false,
1163
- # end_time: Time.now, # required
1164
- # max_results: 1,
1165
- # next_token: "PaginationToken",
1166
- # profiling_group_name: "ProfilingGroupName", # required
1167
- # start_time: Time.now, # required
1168
- # }
1169
- #
1170
1016
  # @!attribute [rw] daily_reports_only
1171
1017
  # A `Boolean` value indicating whether to only return reports from
1172
1018
  # daily profiles. If set to `True`, only analysis data from daily
@@ -1254,19 +1100,6 @@ module Aws::CodeGuruProfiler
1254
1100
 
1255
1101
  # The structure representing the listProfileTimesRequest.
1256
1102
  #
1257
- # @note When making an API call, you may pass ListProfileTimesRequest
1258
- # data as a hash:
1259
- #
1260
- # {
1261
- # end_time: Time.now, # required
1262
- # max_results: 1,
1263
- # next_token: "PaginationToken",
1264
- # order_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
1265
- # period: "PT5M", # required, accepts PT5M, PT1H, P1D
1266
- # profiling_group_name: "ProfilingGroupName", # required
1267
- # start_time: Time.now, # required
1268
- # }
1269
- #
1270
1103
  # @!attribute [rw] end_time
1271
1104
  # The end time of the time range from which to list the profiles.
1272
1105
  # @return [Time]
@@ -1359,15 +1192,6 @@ module Aws::CodeGuruProfiler
1359
1192
 
1360
1193
  # The structure representing the listProfilingGroupsRequest.
1361
1194
  #
1362
- # @note When making an API call, you may pass ListProfilingGroupsRequest
1363
- # data as a hash:
1364
- #
1365
- # {
1366
- # include_description: false,
1367
- # max_results: 1,
1368
- # next_token: "PaginationToken",
1369
- # }
1370
- #
1371
1195
  # @!attribute [rw] include_description
1372
1196
  # A `Boolean` value indicating whether to include a description. If
1373
1197
  # `true`, then a list of [ `ProfilingGroupDescription` ][1] objects
@@ -1454,13 +1278,6 @@ module Aws::CodeGuruProfiler
1454
1278
  include Aws::Structure
1455
1279
  end
1456
1280
 
1457
- # @note When making an API call, you may pass ListTagsForResourceRequest
1458
- # data as a hash:
1459
- #
1460
- # {
1461
- # resource_arn: "ProfilingGroupArn", # required
1462
- # }
1463
- #
1464
1281
  # @!attribute [rw] resource_arn
1465
1282
  # The Amazon Resource Name (ARN) of the resource that contains the
1466
1283
  # tags to return.
@@ -1615,16 +1432,6 @@ module Aws::CodeGuruProfiler
1615
1432
 
1616
1433
  # The structure representing the postAgentProfileRequest.
1617
1434
  #
1618
- # @note When making an API call, you may pass PostAgentProfileRequest
1619
- # data as a hash:
1620
- #
1621
- # {
1622
- # agent_profile: "data", # required
1623
- # content_type: "String", # required
1624
- # profile_token: "ClientToken",
1625
- # profiling_group_name: "ProfilingGroupName", # required
1626
- # }
1627
- #
1628
1435
  # @!attribute [rw] agent_profile
1629
1436
  # The submitted profiling data.
1630
1437
  # @return [String]
@@ -1794,16 +1601,6 @@ module Aws::CodeGuruProfiler
1794
1601
 
1795
1602
  # The structure representing the `putPermissionRequest`.
1796
1603
  #
1797
- # @note When making an API call, you may pass PutPermissionRequest
1798
- # data as a hash:
1799
- #
1800
- # {
1801
- # action_group: "agentPermissions", # required, accepts agentPermissions
1802
- # principals: ["Principal"], # required
1803
- # profiling_group_name: "ProfilingGroupName", # required
1804
- # revision_id: "RevisionId",
1805
- # }
1806
- #
1807
1604
  # @!attribute [rw] action_group
1808
1605
  # Specifies an action group that contains permissions to add to a
1809
1606
  # profiling group resource. One action group is supported,
@@ -1911,14 +1708,6 @@ module Aws::CodeGuruProfiler
1911
1708
 
1912
1709
  # The structure representing the RemoveNotificationChannelRequest.
1913
1710
  #
1914
- # @note When making an API call, you may pass RemoveNotificationChannelRequest
1915
- # data as a hash:
1916
- #
1917
- # {
1918
- # channel_id: "ChannelId", # required
1919
- # profiling_group_name: "ProfilingGroupName", # required
1920
- # }
1921
- #
1922
1711
  # @!attribute [rw] channel_id
1923
1712
  # The id of the channel that we want to stop receiving notifications.
1924
1713
  # @return [String]
@@ -1954,15 +1743,6 @@ module Aws::CodeGuruProfiler
1954
1743
  # The structure representing the
1955
1744
  # <code>removePermissionRequest</code>.</p>
1956
1745
  #
1957
- # @note When making an API call, you may pass RemovePermissionRequest
1958
- # data as a hash:
1959
- #
1960
- # {
1961
- # action_group: "agentPermissions", # required, accepts agentPermissions
1962
- # profiling_group_name: "ProfilingGroupName", # required
1963
- # revision_id: "RevisionId", # required
1964
- # }
1965
- #
1966
1746
  # @!attribute [rw] action_group
1967
1747
  # Specifies an action group that contains the permissions to remove
1968
1748
  # from a profiling group's resource-based policy. One action group is
@@ -2046,16 +1826,6 @@ module Aws::CodeGuruProfiler
2046
1826
 
2047
1827
  # The structure representing the SubmitFeedbackRequest.
2048
1828
  #
2049
- # @note When making an API call, you may pass SubmitFeedbackRequest
2050
- # data as a hash:
2051
- #
2052
- # {
2053
- # anomaly_instance_id: "AnomalyInstanceId", # required
2054
- # comment: "String",
2055
- # profiling_group_name: "ProfilingGroupName", # required
2056
- # type: "Positive", # required, accepts Positive, Negative
2057
- # }
2058
- #
2059
1829
  # @!attribute [rw] anomaly_instance_id
2060
1830
  # The universally unique identifier (UUID) of the [ `AnomalyInstance`
2061
1831
  # ][1] object that is included in the analysis data.
@@ -2096,16 +1866,6 @@ module Aws::CodeGuruProfiler
2096
1866
  #
2097
1867
  class SubmitFeedbackResponse < Aws::EmptyStructure; end
2098
1868
 
2099
- # @note When making an API call, you may pass TagResourceRequest
2100
- # data as a hash:
2101
- #
2102
- # {
2103
- # resource_arn: "ProfilingGroupArn", # required
2104
- # tags: { # required
2105
- # "String" => "String",
2106
- # },
2107
- # }
2108
- #
2109
1869
  # @!attribute [rw] resource_arn
2110
1870
  # The Amazon Resource Name (ARN) of the resource that the tags are
2111
1871
  # added to.
@@ -2159,14 +1919,6 @@ module Aws::CodeGuruProfiler
2159
1919
  include Aws::Structure
2160
1920
  end
2161
1921
 
2162
- # @note When making an API call, you may pass UntagResourceRequest
2163
- # data as a hash:
2164
- #
2165
- # {
2166
- # resource_arn: "ProfilingGroupArn", # required
2167
- # tag_keys: ["String"], # required
2168
- # }
2169
- #
2170
1922
  # @!attribute [rw] resource_arn
2171
1923
  # The Amazon Resource Name (ARN) of the resource that contains the
2172
1924
  # tags to remove.
@@ -2192,16 +1944,6 @@ module Aws::CodeGuruProfiler
2192
1944
 
2193
1945
  # The structure representing the updateProfilingGroupRequest.
2194
1946
  #
2195
- # @note When making an API call, you may pass UpdateProfilingGroupRequest
2196
- # data as a hash:
2197
- #
2198
- # {
2199
- # agent_orchestration_config: { # required
2200
- # profiling_enabled: false, # required
2201
- # },
2202
- # profiling_group_name: "ProfilingGroupName", # required
2203
- # }
2204
- #
2205
1947
  # @!attribute [rw] agent_orchestration_config
2206
1948
  # Specifies whether profiling is enabled or disabled for a profiling
2207
1949
  # group.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codeguruprofiler/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeGuruProfiler
54
54
 
55
- GEM_VERSION = '1.25.0'
55
+ GEM_VERSION = '1.26.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codeguruprofiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core