aws-sdk-codestarconnections 1.1.0 → 1.6.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
  SHA256:
3
- metadata.gz: 7eaea2905b3ef1d190c18804ddcb023071c8d3f6af35e5e6f9fa61720def356c
4
- data.tar.gz: bda839b81df4b297c981f8608ebc0e8d1fccbf84c88898f11a13c20a46da8089
3
+ metadata.gz: ceab68df726b4e3cc9525e4dc9f6c22e42c54ffdd8a1d42a8a03bd34872ced74
4
+ data.tar.gz: 0e9d5e4000b4bb0c2af37a853d3c74dc49a1b90d38971f116c21335de6d2a533
5
5
  SHA512:
6
- metadata.gz: b16cbff763d0c22ad1e0bcd27716eb9da010e5b9fc1441dd774ac677cc90ee3339ad379502267a4013572cd5116c72b0ca4497f07b37fb0fd33984b7284b072f
7
- data.tar.gz: 26c165c0053803b132876ddbb9f5b6fdfa6a60039e5c7881ac7b1946bcce2923bedfaf0ccd7eb891cf1533070b7298f89384050dda070efcd33fee94f0ab0cd6
6
+ metadata.gz: cd5dbe0fee1942c4c0c4464b5103f9de1f12db4037d0dcaf3941ff7f0150069cd0edc6efcbe621cb2eb9500fefc3c6e6e9860bb5662e4709792552bd66f80191
7
+ data.tar.gz: 389d65a933acd285b69d2892a438e3da45436055a39a57734f72e40d3b6c4ccfe7a455cac3cbb8ab18da98fee667e4f3524600193a363581233b4818d445214c
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-codestarconnections/customizations'
45
47
  # @service
46
48
  module Aws::CodeStarconnections
47
49
 
48
- GEM_VERSION = '1.1.0'
50
+ GEM_VERSION = '1.6.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::CodeStarconnections
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -105,7 +109,7 @@ module Aws::CodeStarconnections
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::CodeStarconnections
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::CodeStarconnections
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -279,8 +283,7 @@ module Aws::CodeStarconnections
279
283
  #
280
284
  # @option options [Integer] :http_read_timeout (60) The default
281
285
  # number of seconds to wait for response data. This value can
282
- # safely be set
283
- # per-request on the session yielded by {#session_for}.
286
+ # safely be set per-request on the session.
284
287
  #
285
288
  # @option options [Float] :http_idle_timeout (5) The number of
286
289
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +295,7 @@ module Aws::CodeStarconnections
292
295
  # request body. This option has no effect unless the request has
293
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
297
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
298
+ # request on the session.
296
299
  #
297
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
301
  # HTTP debug output will be sent to the `:logger`.
@@ -333,20 +336,33 @@ module Aws::CodeStarconnections
333
336
  # The name of the connection to be created. The name must be unique in
334
337
  # the calling AWS account.
335
338
  #
339
+ # @option params [Array<Types::Tag>] :tags
340
+ # The key-value pair to use when tagging the resource.
341
+ #
336
342
  # @return [Types::CreateConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
337
343
  #
338
344
  # * {Types::CreateConnectionOutput#connection_arn #connection_arn} => String
345
+ # * {Types::CreateConnectionOutput#tags #tags} => Array&lt;Types::Tag&gt;
339
346
  #
340
347
  # @example Request syntax with placeholder values
341
348
  #
342
349
  # resp = client.create_connection({
343
350
  # provider_type: "Bitbucket", # required, accepts Bitbucket
344
351
  # connection_name: "ConnectionName", # required
352
+ # tags: [
353
+ # {
354
+ # key: "TagKey", # required
355
+ # value: "TagValue", # required
356
+ # },
357
+ # ],
345
358
  # })
346
359
  #
347
360
  # @example Response structure
348
361
  #
349
362
  # resp.connection_arn #=> String
363
+ # resp.tags #=> Array
364
+ # resp.tags[0].key #=> String
365
+ # resp.tags[0].value #=> String
350
366
  #
351
367
  # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnection AWS API Documentation
352
368
  #
@@ -436,6 +452,8 @@ module Aws::CodeStarconnections
436
452
  # * {Types::ListConnectionsOutput#connections #connections} => Array&lt;Types::Connection&gt;
437
453
  # * {Types::ListConnectionsOutput#next_token #next_token} => String
438
454
  #
455
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
456
+ #
439
457
  # @example Request syntax with placeholder values
440
458
  #
441
459
  # resp = client.list_connections({
@@ -463,6 +481,97 @@ module Aws::CodeStarconnections
463
481
  req.send_request(options)
464
482
  end
465
483
 
484
+ # Gets the set of key-value pairs (metadata) that are used to manage the
485
+ # resource.
486
+ #
487
+ # @option params [required, String] :resource_arn
488
+ # The Amazon Resource Name (ARN) of the resource for which you want to
489
+ # get information about tags, if any.
490
+ #
491
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
492
+ #
493
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Array&lt;Types::Tag&gt;
494
+ #
495
+ # @example Request syntax with placeholder values
496
+ #
497
+ # resp = client.list_tags_for_resource({
498
+ # resource_arn: "AmazonResourceName", # required
499
+ # })
500
+ #
501
+ # @example Response structure
502
+ #
503
+ # resp.tags #=> Array
504
+ # resp.tags[0].key #=> String
505
+ # resp.tags[0].value #=> String
506
+ #
507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResource AWS API Documentation
508
+ #
509
+ # @overload list_tags_for_resource(params = {})
510
+ # @param [Hash] params ({})
511
+ def list_tags_for_resource(params = {}, options = {})
512
+ req = build_request(:list_tags_for_resource, params)
513
+ req.send_request(options)
514
+ end
515
+
516
+ # Adds to or modifies the tags of the given resource. Tags are metadata
517
+ # that can be used to manage a resource.
518
+ #
519
+ # @option params [required, String] :resource_arn
520
+ # The Amazon Resource Name (ARN) of the resource to which you want to
521
+ # add or update tags.
522
+ #
523
+ # @option params [required, Array<Types::Tag>] :tags
524
+ # The tags you want to modify or add to the resource.
525
+ #
526
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
527
+ #
528
+ # @example Request syntax with placeholder values
529
+ #
530
+ # resp = client.tag_resource({
531
+ # resource_arn: "AmazonResourceName", # required
532
+ # tags: [ # required
533
+ # {
534
+ # key: "TagKey", # required
535
+ # value: "TagValue", # required
536
+ # },
537
+ # ],
538
+ # })
539
+ #
540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResource AWS API Documentation
541
+ #
542
+ # @overload tag_resource(params = {})
543
+ # @param [Hash] params ({})
544
+ def tag_resource(params = {}, options = {})
545
+ req = build_request(:tag_resource, params)
546
+ req.send_request(options)
547
+ end
548
+
549
+ # Removes tags from an AWS resource.
550
+ #
551
+ # @option params [required, String] :resource_arn
552
+ # The Amazon Resource Name (ARN) of the resource to remove tags from.
553
+ #
554
+ # @option params [required, Array<String>] :tag_keys
555
+ # The list of keys for the tags to be removed from the resource.
556
+ #
557
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
558
+ #
559
+ # @example Request syntax with placeholder values
560
+ #
561
+ # resp = client.untag_resource({
562
+ # resource_arn: "AmazonResourceName", # required
563
+ # tag_keys: ["TagKey"], # required
564
+ # })
565
+ #
566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResource AWS API Documentation
567
+ #
568
+ # @overload untag_resource(params = {})
569
+ # @param [Hash] params ({})
570
+ def untag_resource(params = {}, options = {})
571
+ req = build_request(:untag_resource, params)
572
+ req.send_request(options)
573
+ end
574
+
466
575
  # @!endgroup
467
576
 
468
577
  # @param params ({})
@@ -476,7 +585,7 @@ module Aws::CodeStarconnections
476
585
  params: params,
477
586
  config: config)
478
587
  context[:gem_name] = 'aws-sdk-codestarconnections'
479
- context[:gem_version] = '1.1.0'
588
+ context[:gem_version] = '1.6.0'
480
589
  Seahorse::Client::Request.new(handlers, context)
481
590
  end
482
591
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -12,6 +14,7 @@ module Aws::CodeStarconnections
12
14
  include Seahorse::Model
13
15
 
14
16
  AccountId = Shapes::StringShape.new(name: 'AccountId')
17
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
15
18
  Connection = Shapes::StructureShape.new(name: 'Connection')
16
19
  ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
17
20
  ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
@@ -27,10 +30,21 @@ module Aws::CodeStarconnections
27
30
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
28
31
  ListConnectionsInput = Shapes::StructureShape.new(name: 'ListConnectionsInput')
29
32
  ListConnectionsOutput = Shapes::StructureShape.new(name: 'ListConnectionsOutput')
33
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
34
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
30
35
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
31
36
  NextToken = Shapes::StringShape.new(name: 'NextToken')
32
37
  ProviderType = Shapes::StringShape.new(name: 'ProviderType')
33
38
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
39
+ Tag = Shapes::StructureShape.new(name: 'Tag')
40
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
41
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
42
+ TagList = Shapes::ListShape.new(name: 'TagList')
43
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
44
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
45
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
46
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
47
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
34
48
 
35
49
  Connection.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
36
50
  Connection.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
@@ -43,9 +57,11 @@ module Aws::CodeStarconnections
43
57
 
44
58
  CreateConnectionInput.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, required: true, location_name: "ProviderType"))
45
59
  CreateConnectionInput.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "ConnectionName"))
60
+ CreateConnectionInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
46
61
  CreateConnectionInput.struct_class = Types::CreateConnectionInput
47
62
 
48
63
  CreateConnectionOutput.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
64
+ CreateConnectionOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
49
65
  CreateConnectionOutput.struct_class = Types::CreateConnectionOutput
50
66
 
51
67
  DeleteConnectionInput.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
@@ -71,9 +87,35 @@ module Aws::CodeStarconnections
71
87
  ListConnectionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
72
88
  ListConnectionsOutput.struct_class = Types::ListConnectionsOutput
73
89
 
90
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
91
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
92
+
93
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
94
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
95
+
74
96
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
75
97
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
76
98
 
99
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
100
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
101
+ Tag.struct_class = Types::Tag
102
+
103
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
104
+
105
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
106
+
107
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
108
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
109
+ TagResourceInput.struct_class = Types::TagResourceInput
110
+
111
+ TagResourceOutput.struct_class = Types::TagResourceOutput
112
+
113
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
114
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
115
+ UntagResourceInput.struct_class = Types::UntagResourceInput
116
+
117
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
118
+
77
119
 
78
120
  # @api private
79
121
  API = Seahorse::Model::Api.new.tap do |api|
@@ -133,6 +175,34 @@ module Aws::CodeStarconnections
133
175
  }
134
176
  )
135
177
  end)
178
+
179
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
180
+ o.name = "ListTagsForResource"
181
+ o.http_method = "POST"
182
+ o.http_request_uri = "/"
183
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
184
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
185
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
186
+ end)
187
+
188
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
189
+ o.name = "TagResource"
190
+ o.http_method = "POST"
191
+ o.http_request_uri = "/"
192
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
193
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
194
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
195
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
196
+ end)
197
+
198
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
199
+ o.name = "UntagResource"
200
+ o.http_method = "POST"
201
+ o.http_request_uri = "/"
202
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
203
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
204
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
205
+ end)
136
206
  end
137
207
 
138
208
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CodeStarconnections
9
- # This class provides a resource oriented interface for CodeStarconnections.
10
- # To create a resource object:
11
- # resource = Aws::CodeStarconnections::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::CodeStarconnections::Client.new(region: 'us-west-2')
15
- # resource = Aws::CodeStarconnections::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -8,8 +10,12 @@
8
10
  module Aws::CodeStarconnections
9
11
  module Types
10
12
 
11
- # The configuration that allows a service such as CodePipeline to
12
- # connect to a third-party code repository.
13
+ # The AWS::CodeStarConnections::Connection resource can be used to
14
+ # connect external source providers with services like AWS CodePipeline.
15
+ #
16
+ # Note: A connection created through CloudFormation is in `PENDING`
17
+ # status by default. You can make its status `AVAILABLE` by editing
18
+ # the connection in the CodePipeline console.
13
19
  #
14
20
  # @!attribute [rw] connection_name
15
21
  # The name of the connection. Connection names must be unique in an
@@ -33,7 +39,7 @@ module Aws::CodeStarconnections
33
39
  # @return [String]
34
40
  #
35
41
  # @!attribute [rw] owner_account_id
36
- # The name of the external provider where your third-party code
42
+ # The identifier of the external provider where your third-party code
37
43
  # repository is configured. For Bitbucket, this is the account ID of
38
44
  # the owner of the Bitbucket repository.
39
45
  # @return [String]
@@ -50,6 +56,7 @@ module Aws::CodeStarconnections
50
56
  :provider_type,
51
57
  :owner_account_id,
52
58
  :connection_status)
59
+ SENSITIVE = []
53
60
  include Aws::Structure
54
61
  end
55
62
 
@@ -59,6 +66,12 @@ module Aws::CodeStarconnections
59
66
  # {
60
67
  # provider_type: "Bitbucket", # required, accepts Bitbucket
61
68
  # connection_name: "ConnectionName", # required
69
+ # tags: [
70
+ # {
71
+ # key: "TagKey", # required
72
+ # value: "TagValue", # required
73
+ # },
74
+ # ],
62
75
  # }
63
76
  #
64
77
  # @!attribute [rw] provider_type
@@ -72,11 +85,17 @@ module Aws::CodeStarconnections
72
85
  # the calling AWS account.
73
86
  # @return [String]
74
87
  #
88
+ # @!attribute [rw] tags
89
+ # The key-value pair to use when tagging the resource.
90
+ # @return [Array<Types::Tag>]
91
+ #
75
92
  # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnectionInput AWS API Documentation
76
93
  #
77
94
  class CreateConnectionInput < Struct.new(
78
95
  :provider_type,
79
- :connection_name)
96
+ :connection_name,
97
+ :tags)
98
+ SENSITIVE = []
80
99
  include Aws::Structure
81
100
  end
82
101
 
@@ -90,10 +109,16 @@ module Aws::CodeStarconnections
90
109
  # </note>
91
110
  # @return [String]
92
111
  #
112
+ # @!attribute [rw] tags
113
+ # Specifies the tags applied to the resource.
114
+ # @return [Array<Types::Tag>]
115
+ #
93
116
  # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnectionOutput AWS API Documentation
94
117
  #
95
118
  class CreateConnectionOutput < Struct.new(
96
- :connection_arn)
119
+ :connection_arn,
120
+ :tags)
121
+ SENSITIVE = []
97
122
  include Aws::Structure
98
123
  end
99
124
 
@@ -116,6 +141,7 @@ module Aws::CodeStarconnections
116
141
  #
117
142
  class DeleteConnectionInput < Struct.new(
118
143
  :connection_arn)
144
+ SENSITIVE = []
119
145
  include Aws::Structure
120
146
  end
121
147
 
@@ -138,6 +164,7 @@ module Aws::CodeStarconnections
138
164
  #
139
165
  class GetConnectionInput < Struct.new(
140
166
  :connection_arn)
167
+ SENSITIVE = []
141
168
  include Aws::Structure
142
169
  end
143
170
 
@@ -149,6 +176,7 @@ module Aws::CodeStarconnections
149
176
  #
150
177
  class GetConnectionOutput < Struct.new(
151
178
  :connection)
179
+ SENSITIVE = []
152
180
  include Aws::Structure
153
181
  end
154
182
 
@@ -161,6 +189,7 @@ module Aws::CodeStarconnections
161
189
  #
162
190
  class LimitExceededException < Struct.new(
163
191
  :message)
192
+ SENSITIVE = []
164
193
  include Aws::Structure
165
194
  end
166
195
 
@@ -196,6 +225,7 @@ module Aws::CodeStarconnections
196
225
  :provider_type_filter,
197
226
  :max_results,
198
227
  :next_token)
228
+ SENSITIVE = []
199
229
  include Aws::Structure
200
230
  end
201
231
 
@@ -215,6 +245,40 @@ module Aws::CodeStarconnections
215
245
  class ListConnectionsOutput < Struct.new(
216
246
  :connections,
217
247
  :next_token)
248
+ SENSITIVE = []
249
+ include Aws::Structure
250
+ end
251
+
252
+ # @note When making an API call, you may pass ListTagsForResourceInput
253
+ # data as a hash:
254
+ #
255
+ # {
256
+ # resource_arn: "AmazonResourceName", # required
257
+ # }
258
+ #
259
+ # @!attribute [rw] resource_arn
260
+ # The Amazon Resource Name (ARN) of the resource for which you want to
261
+ # get information about tags, if any.
262
+ # @return [String]
263
+ #
264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResourceInput AWS API Documentation
265
+ #
266
+ class ListTagsForResourceInput < Struct.new(
267
+ :resource_arn)
268
+ SENSITIVE = []
269
+ include Aws::Structure
270
+ end
271
+
272
+ # @!attribute [rw] tags
273
+ # A list of tag key and value pairs associated with the specified
274
+ # resource.
275
+ # @return [Array<Types::Tag>]
276
+ #
277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResourceOutput AWS API Documentation
278
+ #
279
+ class ListTagsForResourceOutput < Struct.new(
280
+ :tags)
281
+ SENSITIVE = []
218
282
  include Aws::Structure
219
283
  end
220
284
 
@@ -227,8 +291,102 @@ module Aws::CodeStarconnections
227
291
  #
228
292
  class ResourceNotFoundException < Struct.new(
229
293
  :message)
294
+ SENSITIVE = []
230
295
  include Aws::Structure
231
296
  end
232
297
 
298
+ # A tag is a key-value pair that is used to manage the resource.
299
+ #
300
+ # This tag is available for use by AWS services that support tags.
301
+ #
302
+ # @note When making an API call, you may pass Tag
303
+ # data as a hash:
304
+ #
305
+ # {
306
+ # key: "TagKey", # required
307
+ # value: "TagValue", # required
308
+ # }
309
+ #
310
+ # @!attribute [rw] key
311
+ # The tag's key.
312
+ # @return [String]
313
+ #
314
+ # @!attribute [rw] value
315
+ # The tag's value.
316
+ # @return [String]
317
+ #
318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/Tag AWS API Documentation
319
+ #
320
+ class Tag < Struct.new(
321
+ :key,
322
+ :value)
323
+ SENSITIVE = []
324
+ include Aws::Structure
325
+ end
326
+
327
+ # @note When making an API call, you may pass TagResourceInput
328
+ # data as a hash:
329
+ #
330
+ # {
331
+ # resource_arn: "AmazonResourceName", # required
332
+ # tags: [ # required
333
+ # {
334
+ # key: "TagKey", # required
335
+ # value: "TagValue", # required
336
+ # },
337
+ # ],
338
+ # }
339
+ #
340
+ # @!attribute [rw] resource_arn
341
+ # The Amazon Resource Name (ARN) of the resource to which you want to
342
+ # add or update tags.
343
+ # @return [String]
344
+ #
345
+ # @!attribute [rw] tags
346
+ # The tags you want to modify or add to the resource.
347
+ # @return [Array<Types::Tag>]
348
+ #
349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResourceInput AWS API Documentation
350
+ #
351
+ class TagResourceInput < Struct.new(
352
+ :resource_arn,
353
+ :tags)
354
+ SENSITIVE = []
355
+ include Aws::Structure
356
+ end
357
+
358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResourceOutput AWS API Documentation
359
+ #
360
+ class TagResourceOutput < Aws::EmptyStructure; end
361
+
362
+ # @note When making an API call, you may pass UntagResourceInput
363
+ # data as a hash:
364
+ #
365
+ # {
366
+ # resource_arn: "AmazonResourceName", # required
367
+ # tag_keys: ["TagKey"], # required
368
+ # }
369
+ #
370
+ # @!attribute [rw] resource_arn
371
+ # The Amazon Resource Name (ARN) of the resource to remove tags from.
372
+ # @return [String]
373
+ #
374
+ # @!attribute [rw] tag_keys
375
+ # The list of keys for the tags to be removed from the resource.
376
+ # @return [Array<String>]
377
+ #
378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResourceInput AWS API Documentation
379
+ #
380
+ class UntagResourceInput < Struct.new(
381
+ :resource_arn,
382
+ :tag_keys)
383
+ SENSITIVE = []
384
+ include Aws::Structure
385
+ end
386
+
387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResourceOutput AWS API Documentation
388
+ #
389
+ class UntagResourceOutput < Aws::EmptyStructure; end
390
+
233
391
  end
234
392
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codestarconnections
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.6.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-03-16 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubygems_version: 3.0.3
83
+ rubyforge_project:
84
+ rubygems_version: 2.7.6.2
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: AWS SDK for Ruby - AWS CodeStar connections