aws-sdk-codeguruprofiler 1.8.0 → 1.9.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: ecc67e63132a4a96f589839ebf1da8ca51b435ff422fc43d9c0770902bb7857b
4
- data.tar.gz: 486364744d3a884b20893aaf7f52622eb3d948237721725287086236a4d3a9c8
3
+ metadata.gz: b8e3afd2db4d9643ad47d9759cb5f80702cf2f39baaf7c9c0647e20edfbcd775
4
+ data.tar.gz: '0867eb396a6003fc992f3f31ff69c65b4a1d9af3e52c1c5fb878c783cbca4bf9'
5
5
  SHA512:
6
- metadata.gz: bb2939f2b4286c1e72f122bde65c763ba8e09b4606d6ad1baff7f9d67148911f41216ad6e25e74e5d74350acbc42537e67ae0d13a2a54c8b5fd81ff5b7882353
7
- data.tar.gz: fd4fb2a81d4e9257876ba5a7a740b406ac8b4369922942aefa96b25713b2d151193c7b308e6289fc9a5041a144dd42a17bfd014170606b095ef8b7fe5439f7ed
6
+ metadata.gz: 59f4360d017d52a2829eea86798efd08a5c7dbd02d10eabf1c19924597fe6ed215eac653f6cc85fdbd26e0d73fd5a144d4b522b0872d4da5952b5cf8d782112e
7
+ data.tar.gz: 19c314a81f29d2e37b1c7207bf89a3b205d28fed97094dedfdeda8f76d700b0863e529c246d5c310a87c4711269d1bd7c6c7790910f22b3882c96f51f628cd06
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-codeguruprofiler/customizations'
47
47
  # @service
48
48
  module Aws::CodeGuruProfiler
49
49
 
50
- GEM_VERSION = '1.8.0'
50
+ GEM_VERSION = '1.9.0'
51
51
 
52
52
  end
@@ -550,6 +550,9 @@ module Aws::CodeGuruProfiler
550
550
  # @option params [required, String] :profiling_group_name
551
551
  # The name of the profiling group to create.
552
552
  #
553
+ # @option params [Hash<String,String>] :tags
554
+ # A list of tags to add to the created profiling group.
555
+ #
553
556
  # @return [Types::CreateProfilingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
554
557
  #
555
558
  # * {Types::CreateProfilingGroupResponse#profiling_group #profiling_group} => Types::ProfilingGroupDescription
@@ -563,6 +566,9 @@ module Aws::CodeGuruProfiler
563
566
  # client_token: "ClientToken", # required
564
567
  # compute_platform: "AWSLambda", # accepts AWSLambda, Default
565
568
  # profiling_group_name: "ProfilingGroupName", # required
569
+ # tags: {
570
+ # "String" => "String",
571
+ # },
566
572
  # })
567
573
  #
568
574
  # @example Response structure
@@ -576,6 +582,8 @@ module Aws::CodeGuruProfiler
576
582
  # resp.profiling_group.profiling_status.latest_agent_profile_reported_at #=> Time
577
583
  # resp.profiling_group.profiling_status.latest_aggregated_profile.period #=> String, one of "P1D", "PT1H", "PT5M"
578
584
  # resp.profiling_group.profiling_status.latest_aggregated_profile.start #=> Time
585
+ # resp.profiling_group.tags #=> Hash
586
+ # resp.profiling_group.tags["String"] #=> String
579
587
  # resp.profiling_group.updated_at #=> Time
580
588
  #
581
589
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroup AWS API Documentation
@@ -640,6 +648,8 @@ module Aws::CodeGuruProfiler
640
648
  # resp.profiling_group.profiling_status.latest_agent_profile_reported_at #=> Time
641
649
  # resp.profiling_group.profiling_status.latest_aggregated_profile.period #=> String, one of "P1D", "PT1H", "PT5M"
642
650
  # resp.profiling_group.profiling_status.latest_aggregated_profile.start #=> Time
651
+ # resp.profiling_group.tags #=> Hash
652
+ # resp.profiling_group.tags["String"] #=> String
643
653
  # resp.profiling_group.updated_at #=> Time
644
654
  #
645
655
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroup AWS API Documentation
@@ -1209,6 +1219,8 @@ module Aws::CodeGuruProfiler
1209
1219
  # resp.profiling_groups[0].profiling_status.latest_agent_profile_reported_at #=> Time
1210
1220
  # resp.profiling_groups[0].profiling_status.latest_aggregated_profile.period #=> String, one of "P1D", "PT1H", "PT5M"
1211
1221
  # resp.profiling_groups[0].profiling_status.latest_aggregated_profile.start #=> Time
1222
+ # resp.profiling_groups[0].tags #=> Hash
1223
+ # resp.profiling_groups[0].tags["String"] #=> String
1212
1224
  # resp.profiling_groups[0].updated_at #=> Time
1213
1225
  #
1214
1226
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroups AWS API Documentation
@@ -1220,6 +1232,36 @@ module Aws::CodeGuruProfiler
1220
1232
  req.send_request(options)
1221
1233
  end
1222
1234
 
1235
+ # Returns a list of the tags that are assigned to a specified resource.
1236
+ #
1237
+ # @option params [required, String] :resource_arn
1238
+ # The Amazon Resource Name (ARN) of the resource that contains the tags
1239
+ # to return.
1240
+ #
1241
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1242
+ #
1243
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1244
+ #
1245
+ # @example Request syntax with placeholder values
1246
+ #
1247
+ # resp = client.list_tags_for_resource({
1248
+ # resource_arn: "ProfilingGroupArn", # required
1249
+ # })
1250
+ #
1251
+ # @example Response structure
1252
+ #
1253
+ # resp.tags #=> Hash
1254
+ # resp.tags["String"] #=> String
1255
+ #
1256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResource AWS API Documentation
1257
+ #
1258
+ # @overload list_tags_for_resource(params = {})
1259
+ # @param [Hash] params ({})
1260
+ def list_tags_for_resource(params = {}, options = {})
1261
+ req = build_request(:list_tags_for_resource, params)
1262
+ req.send_request(options)
1263
+ end
1264
+
1223
1265
  # Submits profiling data to an aggregated profile of a profiling group.
1224
1266
  # To get an aggregated profile that is created with this profiling data,
1225
1267
  # use [ `GetProfile` ][1].
@@ -1460,6 +1502,63 @@ module Aws::CodeGuruProfiler
1460
1502
  req.send_request(options)
1461
1503
  end
1462
1504
 
1505
+ # Use to assign one or more tags to a resource.
1506
+ #
1507
+ # @option params [required, String] :resource_arn
1508
+ # The Amazon Resource Name (ARN) of the resource that the tags are added
1509
+ # to.
1510
+ #
1511
+ # @option params [required, Hash<String,String>] :tags
1512
+ # The list of tags that are added to the specified resource.
1513
+ #
1514
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1515
+ #
1516
+ # @example Request syntax with placeholder values
1517
+ #
1518
+ # resp = client.tag_resource({
1519
+ # resource_arn: "ProfilingGroupArn", # required
1520
+ # tags: { # required
1521
+ # "String" => "String",
1522
+ # },
1523
+ # })
1524
+ #
1525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResource AWS API Documentation
1526
+ #
1527
+ # @overload tag_resource(params = {})
1528
+ # @param [Hash] params ({})
1529
+ def tag_resource(params = {}, options = {})
1530
+ req = build_request(:tag_resource, params)
1531
+ req.send_request(options)
1532
+ end
1533
+
1534
+ # Use to remove one or more tags from a resource.
1535
+ #
1536
+ # @option params [required, String] :resource_arn
1537
+ # The Amazon Resource Name (ARN) of the resource that contains the tags
1538
+ # to remove.
1539
+ #
1540
+ # @option params [required, Array<String>] :tag_keys
1541
+ # A list of tag keys. Existing tags of resources with keys in this list
1542
+ # are removed from the specified resource.
1543
+ #
1544
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1545
+ #
1546
+ # @example Request syntax with placeholder values
1547
+ #
1548
+ # resp = client.untag_resource({
1549
+ # resource_arn: "ProfilingGroupArn", # required
1550
+ # tag_keys: ["String"], # required
1551
+ # })
1552
+ #
1553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResource AWS API Documentation
1554
+ #
1555
+ # @overload untag_resource(params = {})
1556
+ # @param [Hash] params ({})
1557
+ def untag_resource(params = {}, options = {})
1558
+ req = build_request(:untag_resource, params)
1559
+ req.send_request(options)
1560
+ end
1561
+
1463
1562
  # Updates a profiling group.
1464
1563
  #
1465
1564
  # @option params [required, Types::AgentOrchestrationConfig] :agent_orchestration_config
@@ -1493,6 +1592,8 @@ module Aws::CodeGuruProfiler
1493
1592
  # resp.profiling_group.profiling_status.latest_agent_profile_reported_at #=> Time
1494
1593
  # resp.profiling_group.profiling_status.latest_aggregated_profile.period #=> String, one of "P1D", "PT1H", "PT5M"
1495
1594
  # resp.profiling_group.profiling_status.latest_aggregated_profile.start #=> Time
1595
+ # resp.profiling_group.tags #=> Hash
1596
+ # resp.profiling_group.tags["String"] #=> String
1496
1597
  # resp.profiling_group.updated_at #=> Time
1497
1598
  #
1498
1599
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroup AWS API Documentation
@@ -1517,7 +1618,7 @@ module Aws::CodeGuruProfiler
1517
1618
  params: params,
1518
1619
  config: config)
1519
1620
  context[:gem_name] = 'aws-sdk-codeguruprofiler'
1520
- context[:gem_version] = '1.8.0'
1621
+ context[:gem_version] = '1.9.0'
1521
1622
  Seahorse::Client::Request.new(handlers, context)
1522
1623
  end
1523
1624
 
@@ -79,6 +79,8 @@ module Aws::CodeGuruProfiler
79
79
  ListProfileTimesResponse = Shapes::StructureShape.new(name: 'ListProfileTimesResponse')
80
80
  ListProfilingGroupsRequest = Shapes::StructureShape.new(name: 'ListProfilingGroupsRequest')
81
81
  ListProfilingGroupsResponse = Shapes::StructureShape.new(name: 'ListProfilingGroupsResponse')
82
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
83
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
82
84
  Locale = Shapes::StringShape.new(name: 'Locale')
83
85
  Match = Shapes::StructureShape.new(name: 'Match')
84
86
  Matches = Shapes::ListShape.new(name: 'Matches')
@@ -121,6 +123,10 @@ module Aws::CodeGuruProfiler
121
123
  Strings = Shapes::ListShape.new(name: 'Strings')
122
124
  SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
123
125
  SubmitFeedbackResponse = Shapes::StructureShape.new(name: 'SubmitFeedbackResponse')
126
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
127
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
128
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
129
+ TagsMap = Shapes::MapShape.new(name: 'TagsMap')
124
130
  TargetFrame = Shapes::ListShape.new(name: 'TargetFrame')
125
131
  TargetFrames = Shapes::ListShape.new(name: 'TargetFrames')
126
132
  ThreadStates = Shapes::ListShape.new(name: 'ThreadStates')
@@ -128,6 +134,8 @@ module Aws::CodeGuruProfiler
128
134
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
129
135
  TimestampStructure = Shapes::StructureShape.new(name: 'TimestampStructure')
130
136
  UnprocessedEndTimeMap = Shapes::MapShape.new(name: 'UnprocessedEndTimeMap')
137
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
138
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
131
139
  UpdateProfilingGroupRequest = Shapes::StructureShape.new(name: 'UpdateProfilingGroupRequest')
132
140
  UpdateProfilingGroupResponse = Shapes::StructureShape.new(name: 'UpdateProfilingGroupResponse')
133
141
  UserFeedback = Shapes::StructureShape.new(name: 'UserFeedback')
@@ -210,6 +218,7 @@ module Aws::CodeGuruProfiler
210
218
  CreateProfilingGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
211
219
  CreateProfilingGroupRequest.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
212
220
  CreateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location_name: "profilingGroupName"))
221
+ CreateProfilingGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
213
222
  CreateProfilingGroupRequest.struct_class = Types::CreateProfilingGroupRequest
214
223
 
215
224
  CreateProfilingGroupResponse.add_member(:profiling_group, Shapes::ShapeRef.new(shape: ProfilingGroupDescription, required: true, location_name: "profilingGroup"))
@@ -346,6 +355,12 @@ module Aws::CodeGuruProfiler
346
355
  ListProfilingGroupsResponse.add_member(:profiling_groups, Shapes::ShapeRef.new(shape: ProfilingGroupDescriptions, location_name: "profilingGroups"))
347
356
  ListProfilingGroupsResponse.struct_class = Types::ListProfilingGroupsResponse
348
357
 
358
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, required: true, location: "uri", location_name: "resourceArn"))
359
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
360
+
361
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
362
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
363
+
349
364
  Match.add_member(:frame_address, Shapes::ShapeRef.new(shape: String, location_name: "frameAddress"))
350
365
  Match.add_member(:target_frames_index, Shapes::ShapeRef.new(shape: Integer, location_name: "targetFramesIndex"))
351
366
  Match.add_member(:threshold_breach_value, Shapes::ShapeRef.new(shape: Double, location_name: "thresholdBreachValue"))
@@ -396,6 +411,7 @@ module Aws::CodeGuruProfiler
396
411
  ProfilingGroupDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
397
412
  ProfilingGroupDescription.add_member(:name, Shapes::ShapeRef.new(shape: ProfilingGroupName, location_name: "name"))
398
413
  ProfilingGroupDescription.add_member(:profiling_status, Shapes::ShapeRef.new(shape: ProfilingStatus, location_name: "profilingStatus"))
414
+ ProfilingGroupDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
399
415
  ProfilingGroupDescription.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
400
416
  ProfilingGroupDescription.struct_class = Types::ProfilingGroupDescription
401
417
 
@@ -460,6 +476,17 @@ module Aws::CodeGuruProfiler
460
476
 
461
477
  SubmitFeedbackResponse.struct_class = Types::SubmitFeedbackResponse
462
478
 
479
+ TagKeys.member = Shapes::ShapeRef.new(shape: String)
480
+
481
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, required: true, location: "uri", location_name: "resourceArn"))
482
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
483
+ TagResourceRequest.struct_class = Types::TagResourceRequest
484
+
485
+ TagResourceResponse.struct_class = Types::TagResourceResponse
486
+
487
+ TagsMap.key = Shapes::ShapeRef.new(shape: String)
488
+ TagsMap.value = Shapes::ShapeRef.new(shape: String)
489
+
463
490
  TargetFrame.member = Shapes::ShapeRef.new(shape: String)
464
491
 
465
492
  TargetFrames.member = Shapes::ShapeRef.new(shape: TargetFrame)
@@ -475,6 +502,12 @@ module Aws::CodeGuruProfiler
475
502
  UnprocessedEndTimeMap.key = Shapes::ShapeRef.new(shape: String)
476
503
  UnprocessedEndTimeMap.value = Shapes::ShapeRef.new(shape: ListOfTimestamps)
477
504
 
505
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProfilingGroupArn, required: true, location: "uri", location_name: "resourceArn"))
506
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
507
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
508
+
509
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
510
+
478
511
  UpdateProfilingGroupRequest.add_member(:agent_orchestration_config, Shapes::ShapeRef.new(shape: AgentOrchestrationConfig, required: true, location_name: "agentOrchestrationConfig"))
479
512
  UpdateProfilingGroupRequest.add_member(:profiling_group_name, Shapes::ShapeRef.new(shape: ProfilingGroupName, required: true, location: "uri", location_name: "profilingGroupName"))
480
513
  UpdateProfilingGroupRequest.struct_class = Types::UpdateProfilingGroupRequest
@@ -699,6 +732,17 @@ module Aws::CodeGuruProfiler
699
732
  )
700
733
  end)
701
734
 
735
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
736
+ o.name = "ListTagsForResource"
737
+ o.http_method = "GET"
738
+ o.http_request_uri = "/tags/{resourceArn}"
739
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
740
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
742
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
743
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
744
+ end)
745
+
702
746
  api.add_operation(:post_agent_profile, Seahorse::Model::Operation.new.tap do |o|
703
747
  o.name = "PostAgentProfile"
704
748
  o.http_method = "POST"
@@ -761,6 +805,28 @@ module Aws::CodeGuruProfiler
761
805
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
762
806
  end)
763
807
 
808
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
809
+ o.name = "TagResource"
810
+ o.http_method = "POST"
811
+ o.http_request_uri = "/tags/{resourceArn}"
812
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
813
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
814
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
817
+ end)
818
+
819
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "UntagResource"
821
+ o.http_method = "DELETE"
822
+ o.http_request_uri = "/tags/{resourceArn}"
823
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
824
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
825
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
826
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
827
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
828
+ end)
829
+
764
830
  api.add_operation(:update_profiling_group, Seahorse::Model::Operation.new.tap do |o|
765
831
  o.name = "UpdateProfilingGroup"
766
832
  o.http_method = "PUT"
@@ -537,6 +537,9 @@ module Aws::CodeGuruProfiler
537
537
  # client_token: "ClientToken", # required
538
538
  # compute_platform: "AWSLambda", # accepts AWSLambda, Default
539
539
  # profiling_group_name: "ProfilingGroupName", # required
540
+ # tags: {
541
+ # "String" => "String",
542
+ # },
540
543
  # }
541
544
  #
542
545
  # @!attribute [rw] agent_orchestration_config
@@ -565,13 +568,18 @@ module Aws::CodeGuruProfiler
565
568
  # The name of the profiling group to create.
566
569
  # @return [String]
567
570
  #
571
+ # @!attribute [rw] tags
572
+ # A list of tags to add to the created profiling group.
573
+ # @return [Hash<String,String>]
574
+ #
568
575
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroupRequest AWS API Documentation
569
576
  #
570
577
  class CreateProfilingGroupRequest < Struct.new(
571
578
  :agent_orchestration_config,
572
579
  :client_token,
573
580
  :compute_platform,
574
- :profiling_group_name)
581
+ :profiling_group_name,
582
+ :tags)
575
583
  SENSITIVE = []
576
584
  include Aws::Structure
577
585
  end
@@ -1446,6 +1454,39 @@ module Aws::CodeGuruProfiler
1446
1454
  include Aws::Structure
1447
1455
  end
1448
1456
 
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
+ # @!attribute [rw] resource_arn
1465
+ # The Amazon Resource Name (ARN) of the resource that contains the
1466
+ # tags to return.
1467
+ # @return [String]
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResourceRequest AWS API Documentation
1470
+ #
1471
+ class ListTagsForResourceRequest < Struct.new(
1472
+ :resource_arn)
1473
+ SENSITIVE = []
1474
+ include Aws::Structure
1475
+ end
1476
+
1477
+ # @!attribute [rw] tags
1478
+ # The list of tags assigned to the specified resource. This is the
1479
+ # list of tags returned in the response.
1480
+ # @return [Hash<String,String>]
1481
+ #
1482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResourceResponse AWS API Documentation
1483
+ #
1484
+ class ListTagsForResourceResponse < Struct.new(
1485
+ :tags)
1486
+ SENSITIVE = []
1487
+ include Aws::Structure
1488
+ end
1489
+
1449
1490
  # The part of a profile that contains a recommendation found during
1450
1491
  # analysis.
1451
1492
  #
@@ -1689,6 +1730,10 @@ module Aws::CodeGuruProfiler
1689
1730
  # [1]: https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html
1690
1731
  # @return [Types::ProfilingStatus]
1691
1732
  #
1733
+ # @!attribute [rw] tags
1734
+ # A list of the tags that belong to this profiling group.
1735
+ # @return [Hash<String,String>]
1736
+ #
1692
1737
  # @!attribute [rw] updated_at
1693
1738
  # The date and time when the profiling group was last updated. Specify
1694
1739
  # using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
@@ -1704,6 +1749,7 @@ module Aws::CodeGuruProfiler
1704
1749
  :created_at,
1705
1750
  :name,
1706
1751
  :profiling_status,
1752
+ :tags,
1707
1753
  :updated_at)
1708
1754
  SENSITIVE = []
1709
1755
  include Aws::Structure
@@ -2050,6 +2096,38 @@ module Aws::CodeGuruProfiler
2050
2096
  #
2051
2097
  class SubmitFeedbackResponse < Aws::EmptyStructure; end
2052
2098
 
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
+ # @!attribute [rw] resource_arn
2110
+ # The Amazon Resource Name (ARN) of the resource that the tags are
2111
+ # added to.
2112
+ # @return [String]
2113
+ #
2114
+ # @!attribute [rw] tags
2115
+ # The list of tags that are added to the specified resource.
2116
+ # @return [Hash<String,String>]
2117
+ #
2118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResourceRequest AWS API Documentation
2119
+ #
2120
+ class TagResourceRequest < Struct.new(
2121
+ :resource_arn,
2122
+ :tags)
2123
+ SENSITIVE = []
2124
+ include Aws::Structure
2125
+ end
2126
+
2127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResourceResponse AWS API Documentation
2128
+ #
2129
+ class TagResourceResponse < Aws::EmptyStructure; end
2130
+
2053
2131
  # The request was denied due to request throttling.
2054
2132
  #
2055
2133
  # @!attribute [rw] message
@@ -2081,6 +2159,37 @@ module Aws::CodeGuruProfiler
2081
2159
  include Aws::Structure
2082
2160
  end
2083
2161
 
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
+ # @!attribute [rw] resource_arn
2171
+ # The Amazon Resource Name (ARN) of the resource that contains the
2172
+ # tags to remove.
2173
+ # @return [String]
2174
+ #
2175
+ # @!attribute [rw] tag_keys
2176
+ # A list of tag keys. Existing tags of resources with keys in this
2177
+ # list are removed from the specified resource.
2178
+ # @return [Array<String>]
2179
+ #
2180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResourceRequest AWS API Documentation
2181
+ #
2182
+ class UntagResourceRequest < Struct.new(
2183
+ :resource_arn,
2184
+ :tag_keys)
2185
+ SENSITIVE = []
2186
+ include Aws::Structure
2187
+ end
2188
+
2189
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResourceResponse AWS API Documentation
2190
+ #
2191
+ class UntagResourceResponse < Aws::EmptyStructure; end
2192
+
2084
2193
  # The structure representing the updateProfilingGroupRequest.
2085
2194
  #
2086
2195
  # @note When making an API call, you may pass UpdateProfilingGroupRequest
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.8.0
4
+ version: 1.9.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: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2020-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core