aws-sdk-iot1clickprojects 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd4dd716f2d96e0ee039b97d68bb8ae9d3a899b3
4
- data.tar.gz: 60e8ad500848b50a168d9523b707d61d5d51ed8d
3
+ metadata.gz: e737c697af499d2a04754b4459fb23d7b2ead93c
4
+ data.tar.gz: 16392f453730b6b4bc5a9524de52edff10fc8611
5
5
  SHA512:
6
- metadata.gz: f8e42265e456a37fce431cb8c28d2e126b2b599eb5a21f745cec3dbccb9e4a5805ae2f4ebf26374a33ef2cab5c9230d0cdc998d2cd3245e616cc25bb63ee4e12
7
- data.tar.gz: b4f016911c87fdac949b31ad6ceeb7fcc30e6aa354e82e64458472c51d6374d480998de81bdd8c70f9e02cb8e58fe01998993c16fc2fc3e88497ce18c53962d5
6
+ metadata.gz: d3b2de24e066f5082b0cac247f8be685ea28cfe291e28aecef303f6823cf6db3f88484a29f98ebcf98ea0fa809853a8acd4624f2262003b827dc46e07307e1b5
7
+ data.tar.gz: 1b081eb9091a0923db9363c803f723b635287ec70566245d18e59450fabd9c946065ebaeab5df2466a9012a4a919ba54c10e8a8752a0039994ae8675ca82cac6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iot1clickprojects/customizations'
42
42
  # @service
43
43
  module Aws::IoT1ClickProjects
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
@@ -288,6 +288,15 @@ module Aws::IoT1ClickProjects
288
288
  # However, you can update `callbackOverrides` for the device templates
289
289
  # using the `UpdateProject` API.
290
290
  #
291
+ # @option params [Hash<String,String>] :tags
292
+ # Optional tags (metadata key/value pairs) to be associated with the
293
+ # project. For example, `\{ \{"key1": "value1", "key2": "value2"\} \}`.
294
+ # For more information, see [AWS Tagging Strategies][1].
295
+ #
296
+ #
297
+ #
298
+ # [1]: https://aws.amazon.com/answers/account-management/aws-tagging-strategies/
299
+ #
291
300
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
292
301
  #
293
302
  # @example Request syntax with placeholder values
@@ -308,6 +317,9 @@ module Aws::IoT1ClickProjects
308
317
  # },
309
318
  # },
310
319
  # },
320
+ # tags: {
321
+ # "TagKey" => "TagValue",
322
+ # },
311
323
  # })
312
324
  #
313
325
  # @overload create_project(params = {})
@@ -424,6 +436,7 @@ module Aws::IoT1ClickProjects
424
436
  #
425
437
  # @example Response structure
426
438
  #
439
+ # resp.project.arn #=> String
427
440
  # resp.project.project_name #=> String
428
441
  # resp.project.description #=> String
429
442
  # resp.project.created_date #=> Time
@@ -434,6 +447,8 @@ module Aws::IoT1ClickProjects
434
447
  # resp.project.placement_template.device_templates["DeviceTemplateName"].device_type #=> String
435
448
  # resp.project.placement_template.device_templates["DeviceTemplateName"].callback_overrides #=> Hash
436
449
  # resp.project.placement_template.device_templates["DeviceTemplateName"].callback_overrides["DeviceCallbackKey"] #=> String
450
+ # resp.project.tags #=> Hash
451
+ # resp.project.tags["TagKey"] #=> String
437
452
  #
438
453
  # @overload describe_project(params = {})
439
454
  # @param [Hash] params ({})
@@ -567,9 +582,12 @@ module Aws::IoT1ClickProjects
567
582
  # @example Response structure
568
583
  #
569
584
  # resp.projects #=> Array
585
+ # resp.projects[0].arn #=> String
570
586
  # resp.projects[0].project_name #=> String
571
587
  # resp.projects[0].created_date #=> Time
572
588
  # resp.projects[0].updated_date #=> Time
589
+ # resp.projects[0].tags #=> Hash
590
+ # resp.projects[0].tags["TagKey"] #=> String
573
591
  # resp.next_token #=> String
574
592
  #
575
593
  # @overload list_projects(params = {})
@@ -579,6 +597,96 @@ module Aws::IoT1ClickProjects
579
597
  req.send_request(options)
580
598
  end
581
599
 
600
+ # Lists the tags (metadata key/value pairs) which you have assigned to
601
+ # the resource.
602
+ #
603
+ # @option params [required, String] :resource_arn
604
+ # The ARN of the resource whose tags you want to list.
605
+ #
606
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
607
+ #
608
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
609
+ #
610
+ # @example Request syntax with placeholder values
611
+ #
612
+ # resp = client.list_tags_for_resource({
613
+ # resource_arn: "ProjectArn", # required
614
+ # })
615
+ #
616
+ # @example Response structure
617
+ #
618
+ # resp.tags #=> Hash
619
+ # resp.tags["TagKey"] #=> String
620
+ #
621
+ # @overload list_tags_for_resource(params = {})
622
+ # @param [Hash] params ({})
623
+ def list_tags_for_resource(params = {}, options = {})
624
+ req = build_request(:list_tags_for_resource, params)
625
+ req.send_request(options)
626
+ end
627
+
628
+ # Creates or modifies tags for a resource. Tags are key/value pairs
629
+ # (metadata) that can be used to manage a resource. For more
630
+ # information, see [AWS Tagging Strategies][1].
631
+ #
632
+ #
633
+ #
634
+ # [1]: https://aws.amazon.com/answers/account-management/aws-tagging-strategies/
635
+ #
636
+ # @option params [required, String] :resource_arn
637
+ # The ARN of the resouce for which tag(s) should be added or modified.
638
+ #
639
+ # @option params [required, Hash<String,String>] :tags
640
+ # The new or modifying tag(s) for the resource. See [AWS IoT 1-Click
641
+ # Service Limits][1] for the maximum number of tags allowed per
642
+ # resource.
643
+ #
644
+ #
645
+ #
646
+ # [1]: https://docs.aws.amazon.com/iot-1-click/latest/developerguide/1click-appendix.html#1click-limits
647
+ #
648
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
649
+ #
650
+ # @example Request syntax with placeholder values
651
+ #
652
+ # resp = client.tag_resource({
653
+ # resource_arn: "ProjectArn", # required
654
+ # tags: { # required
655
+ # "TagKey" => "TagValue",
656
+ # },
657
+ # })
658
+ #
659
+ # @overload tag_resource(params = {})
660
+ # @param [Hash] params ({})
661
+ def tag_resource(params = {}, options = {})
662
+ req = build_request(:tag_resource, params)
663
+ req.send_request(options)
664
+ end
665
+
666
+ # Removes one or more tags (metadata key/value pairs) from a resource.
667
+ #
668
+ # @option params [required, String] :resource_arn
669
+ # The ARN of the resource whose tag you want to remove.
670
+ #
671
+ # @option params [required, Array<String>] :tag_keys
672
+ # The keys of those tags which you want to remove.
673
+ #
674
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
675
+ #
676
+ # @example Request syntax with placeholder values
677
+ #
678
+ # resp = client.untag_resource({
679
+ # resource_arn: "ProjectArn", # required
680
+ # tag_keys: ["TagKey"], # required
681
+ # })
682
+ #
683
+ # @overload untag_resource(params = {})
684
+ # @param [Hash] params ({})
685
+ def untag_resource(params = {}, options = {})
686
+ req = build_request(:untag_resource, params)
687
+ req.send_request(options)
688
+ end
689
+
582
690
  # Updates a placement with the given attributes. To clear an attribute,
583
691
  # pass an empty value (i.e., "").
584
692
  #
@@ -671,7 +779,7 @@ module Aws::IoT1ClickProjects
671
779
  params: params,
672
780
  config: config)
673
781
  context[:gem_name] = 'aws-sdk-iot1clickprojects'
674
- context[:gem_version] = '1.9.0'
782
+ context[:gem_version] = '1.10.0'
675
783
  Seahorse::Client::Request.new(handlers, context)
676
784
  end
677
785
 
@@ -50,6 +50,8 @@ module Aws::IoT1ClickProjects
50
50
  ListPlacementsResponse = Shapes::StructureShape.new(name: 'ListPlacementsResponse')
51
51
  ListProjectsRequest = Shapes::StructureShape.new(name: 'ListProjectsRequest')
52
52
  ListProjectsResponse = Shapes::StructureShape.new(name: 'ListProjectsResponse')
53
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
54
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
53
55
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
54
56
  Message = Shapes::StringShape.new(name: 'Message')
55
57
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -59,14 +61,23 @@ module Aws::IoT1ClickProjects
59
61
  PlacementSummary = Shapes::StructureShape.new(name: 'PlacementSummary')
60
62
  PlacementSummaryList = Shapes::ListShape.new(name: 'PlacementSummaryList')
61
63
  PlacementTemplate = Shapes::StructureShape.new(name: 'PlacementTemplate')
64
+ ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
62
65
  ProjectDescription = Shapes::StructureShape.new(name: 'ProjectDescription')
63
66
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
64
67
  ProjectSummary = Shapes::StructureShape.new(name: 'ProjectSummary')
65
68
  ProjectSummaryList = Shapes::ListShape.new(name: 'ProjectSummaryList')
66
69
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
67
70
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
71
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
72
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
73
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
74
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
75
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
76
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
68
77
  Time = Shapes::TimestampShape.new(name: 'Time')
69
78
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
79
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
80
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
70
81
  UpdatePlacementRequest = Shapes::StructureShape.new(name: 'UpdatePlacementRequest')
71
82
  UpdatePlacementResponse = Shapes::StructureShape.new(name: 'UpdatePlacementResponse')
72
83
  UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest')
@@ -90,6 +101,7 @@ module Aws::IoT1ClickProjects
90
101
  CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "projectName"))
91
102
  CreateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
92
103
  CreateProjectRequest.add_member(:placement_template, Shapes::ShapeRef.new(shape: PlacementTemplate, location_name: "placementTemplate"))
104
+ CreateProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
93
105
  CreateProjectRequest.struct_class = Types::CreateProjectRequest
94
106
 
95
107
  CreateProjectResponse.struct_class = Types::CreateProjectResponse
@@ -165,6 +177,12 @@ module Aws::IoT1ClickProjects
165
177
  ListProjectsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
166
178
  ListProjectsResponse.struct_class = Types::ListProjectsResponse
167
179
 
180
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location: "uri", location_name: "resourceArn"))
181
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
182
+
183
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
184
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
185
+
168
186
  PlacementAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
169
187
  PlacementAttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
170
188
 
@@ -187,20 +205,41 @@ module Aws::IoT1ClickProjects
187
205
  PlacementTemplate.add_member(:device_templates, Shapes::ShapeRef.new(shape: DeviceTemplateMap, location_name: "deviceTemplates"))
188
206
  PlacementTemplate.struct_class = Types::PlacementTemplate
189
207
 
208
+ ProjectDescription.add_member(:arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "arn"))
190
209
  ProjectDescription.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "projectName"))
191
210
  ProjectDescription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
192
211
  ProjectDescription.add_member(:created_date, Shapes::ShapeRef.new(shape: Time, required: true, location_name: "createdDate"))
193
212
  ProjectDescription.add_member(:updated_date, Shapes::ShapeRef.new(shape: Time, required: true, location_name: "updatedDate"))
194
213
  ProjectDescription.add_member(:placement_template, Shapes::ShapeRef.new(shape: PlacementTemplate, location_name: "placementTemplate"))
214
+ ProjectDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
195
215
  ProjectDescription.struct_class = Types::ProjectDescription
196
216
 
217
+ ProjectSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "arn"))
197
218
  ProjectSummary.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "projectName"))
198
219
  ProjectSummary.add_member(:created_date, Shapes::ShapeRef.new(shape: Time, required: true, location_name: "createdDate"))
199
220
  ProjectSummary.add_member(:updated_date, Shapes::ShapeRef.new(shape: Time, required: true, location_name: "updatedDate"))
221
+ ProjectSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
200
222
  ProjectSummary.struct_class = Types::ProjectSummary
201
223
 
202
224
  ProjectSummaryList.member = Shapes::ShapeRef.new(shape: ProjectSummary)
203
225
 
226
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
227
+
228
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
229
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
230
+
231
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location: "uri", location_name: "resourceArn"))
232
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
233
+ TagResourceRequest.struct_class = Types::TagResourceRequest
234
+
235
+ TagResourceResponse.struct_class = Types::TagResourceResponse
236
+
237
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location: "uri", location_name: "resourceArn"))
238
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
239
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
240
+
241
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
242
+
204
243
  UpdatePlacementRequest.add_member(:placement_name, Shapes::ShapeRef.new(shape: PlacementName, required: true, location: "uri", location_name: "placementName"))
205
244
  UpdatePlacementRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location: "uri", location_name: "projectName"))
206
245
  UpdatePlacementRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: PlacementAttributeMap, location_name: "attributes"))
@@ -359,6 +398,39 @@ module Aws::IoT1ClickProjects
359
398
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
360
399
  end)
361
400
 
401
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
402
+ o.name = "ListTagsForResource"
403
+ o.http_method = "GET"
404
+ o.http_request_uri = "/tags/{resourceArn}"
405
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
406
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
407
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
408
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
409
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
410
+ end)
411
+
412
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
413
+ o.name = "TagResource"
414
+ o.http_method = "POST"
415
+ o.http_request_uri = "/tags/{resourceArn}"
416
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
417
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
418
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
419
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
420
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
421
+ end)
422
+
423
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
424
+ o.name = "UntagResource"
425
+ o.http_method = "DELETE"
426
+ o.http_request_uri = "/tags/{resourceArn}"
427
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
428
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
429
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
430
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
431
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
432
+ end)
433
+
362
434
  api.add_operation(:update_placement, Seahorse::Model::Operation.new.tap do |o|
363
435
  o.name = "UpdatePlacement"
364
436
  o.http_method = "PUT"
@@ -99,6 +99,9 @@ module Aws::IoT1ClickProjects
99
99
  # },
100
100
  # },
101
101
  # },
102
+ # tags: {
103
+ # "TagKey" => "TagValue",
104
+ # },
102
105
  # }
103
106
  #
104
107
  # @!attribute [rw] project_name
@@ -117,10 +120,21 @@ module Aws::IoT1ClickProjects
117
120
  # templates using the `UpdateProject` API.
118
121
  # @return [Types::PlacementTemplate]
119
122
  #
123
+ # @!attribute [rw] tags
124
+ # Optional tags (metadata key/value pairs) to be associated with the
125
+ # project. For example, `\{ \{"key1": "value1", "key2": "value2"\}
126
+ # \}`. For more information, see [AWS Tagging Strategies][1].
127
+ #
128
+ #
129
+ #
130
+ # [1]: https://aws.amazon.com/answers/account-management/aws-tagging-strategies/
131
+ # @return [Hash<String,String>]
132
+ #
120
133
  class CreateProjectRequest < Struct.new(
121
134
  :project_name,
122
135
  :description,
123
- :placement_template)
136
+ :placement_template,
137
+ :tags)
124
138
  include Aws::Structure
125
139
  end
126
140
 
@@ -396,6 +410,32 @@ module Aws::IoT1ClickProjects
396
410
  include Aws::Structure
397
411
  end
398
412
 
413
+ # @note When making an API call, you may pass ListTagsForResourceRequest
414
+ # data as a hash:
415
+ #
416
+ # {
417
+ # resource_arn: "ProjectArn", # required
418
+ # }
419
+ #
420
+ # @!attribute [rw] resource_arn
421
+ # The ARN of the resource whose tags you want to list.
422
+ # @return [String]
423
+ #
424
+ class ListTagsForResourceRequest < Struct.new(
425
+ :resource_arn)
426
+ include Aws::Structure
427
+ end
428
+
429
+ # @!attribute [rw] tags
430
+ # The tags (metadata key/value pairs) which you have assigned to the
431
+ # resource.
432
+ # @return [Hash<String,String>]
433
+ #
434
+ class ListTagsForResourceResponse < Struct.new(
435
+ :tags)
436
+ include Aws::Structure
437
+ end
438
+
399
439
  # An object describing a project's placement.
400
440
  #
401
441
  # @!attribute [rw] project_name
@@ -497,6 +537,10 @@ module Aws::IoT1ClickProjects
497
537
  # An object providing detailed information for a particular project
498
538
  # associated with an AWS account and region.
499
539
  #
540
+ # @!attribute [rw] arn
541
+ # The ARN of the project.
542
+ # @return [String]
543
+ #
500
544
  # @!attribute [rw] project_name
501
545
  # The name of the project for which to obtain information from.
502
546
  # @return [String]
@@ -520,18 +564,28 @@ module Aws::IoT1ClickProjects
520
564
  # An object describing the project's placement specifications.
521
565
  # @return [Types::PlacementTemplate]
522
566
  #
567
+ # @!attribute [rw] tags
568
+ # The tags (metadata key/value pairs) associated with the project.
569
+ # @return [Hash<String,String>]
570
+ #
523
571
  class ProjectDescription < Struct.new(
572
+ :arn,
524
573
  :project_name,
525
574
  :description,
526
575
  :created_date,
527
576
  :updated_date,
528
- :placement_template)
577
+ :placement_template,
578
+ :tags)
529
579
  include Aws::Structure
530
580
  end
531
581
 
532
582
  # An object providing summary information for a particular project for
533
583
  # an associated AWS account and region.
534
584
  #
585
+ # @!attribute [rw] arn
586
+ # The ARN of the project.
587
+ # @return [String]
588
+ #
535
589
  # @!attribute [rw] project_name
536
590
  # The name of the project being summarized.
537
591
  # @return [String]
@@ -547,13 +601,75 @@ module Aws::IoT1ClickProjects
547
601
  # `updatedDate` are the same.
548
602
  # @return [Time]
549
603
  #
604
+ # @!attribute [rw] tags
605
+ # The tags (metadata key/value pairs) associated with the project.
606
+ # @return [Hash<String,String>]
607
+ #
550
608
  class ProjectSummary < Struct.new(
609
+ :arn,
551
610
  :project_name,
552
611
  :created_date,
553
- :updated_date)
612
+ :updated_date,
613
+ :tags)
554
614
  include Aws::Structure
555
615
  end
556
616
 
617
+ # @note When making an API call, you may pass TagResourceRequest
618
+ # data as a hash:
619
+ #
620
+ # {
621
+ # resource_arn: "ProjectArn", # required
622
+ # tags: { # required
623
+ # "TagKey" => "TagValue",
624
+ # },
625
+ # }
626
+ #
627
+ # @!attribute [rw] resource_arn
628
+ # The ARN of the resouce for which tag(s) should be added or modified.
629
+ # @return [String]
630
+ #
631
+ # @!attribute [rw] tags
632
+ # The new or modifying tag(s) for the resource. See [AWS IoT 1-Click
633
+ # Service Limits][1] for the maximum number of tags allowed per
634
+ # resource.
635
+ #
636
+ #
637
+ #
638
+ # [1]: https://docs.aws.amazon.com/iot-1-click/latest/developerguide/1click-appendix.html#1click-limits
639
+ # @return [Hash<String,String>]
640
+ #
641
+ class TagResourceRequest < Struct.new(
642
+ :resource_arn,
643
+ :tags)
644
+ include Aws::Structure
645
+ end
646
+
647
+ class TagResourceResponse < Aws::EmptyStructure; end
648
+
649
+ # @note When making an API call, you may pass UntagResourceRequest
650
+ # data as a hash:
651
+ #
652
+ # {
653
+ # resource_arn: "ProjectArn", # required
654
+ # tag_keys: ["TagKey"], # required
655
+ # }
656
+ #
657
+ # @!attribute [rw] resource_arn
658
+ # The ARN of the resource whose tag you want to remove.
659
+ # @return [String]
660
+ #
661
+ # @!attribute [rw] tag_keys
662
+ # The keys of those tags which you want to remove.
663
+ # @return [Array<String>]
664
+ #
665
+ class UntagResourceRequest < Struct.new(
666
+ :resource_arn,
667
+ :tag_keys)
668
+ include Aws::Structure
669
+ end
670
+
671
+ class UntagResourceResponse < Aws::EmptyStructure; end
672
+
557
673
  # @note When making an API call, you may pass UpdatePlacementRequest
558
674
  # data as a hash:
559
675
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iot1clickprojects
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.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-03-21 00:00:00.000000000 Z
11
+ date: 2019-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core