aws-sdk-codestarconnections 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codestarconnections.rb +1 -1
- data/lib/aws-sdk-codestarconnections/client.rb +109 -4
- data/lib/aws-sdk-codestarconnections/client_api.rb +68 -0
- data/lib/aws-sdk-codestarconnections/resource.rb +1 -7
- data/lib/aws-sdk-codestarconnections/types.rb +146 -5
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f57338ade8d32ea9f9a69515b0b46f8b8197e1bb1c1cb4518f0c2f0e16270c3
|
4
|
+
data.tar.gz: f5bf92b660176e960913152e6b49698758bba44a241b1d94f7ec2c125a5010ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83de0dd3b1b8d5d234f14ffdba3d213f706ca2ed4e8e5837f25db4430d82463a92d0a04e2e1532c3a4cc9c8a7a8435477b74cbbd225e527a177718e5dbb14aa9
|
7
|
+
data.tar.gz: c1006dcc8ae4dd6ade3702308ab4528629ee0d16bc62b436bcfb5fc6d3b5fd4a611ffa8ccb8cd85c01366f74dea9dcfae32fd19e9e7b773893ad4fae35fecf0a
|
@@ -279,8 +279,7 @@ module Aws::CodeStarconnections
|
|
279
279
|
#
|
280
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
281
281
|
# 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}.
|
282
|
+
# safely be set per-request on the session.
|
284
283
|
#
|
285
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
286
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -292,7 +291,7 @@ module Aws::CodeStarconnections
|
|
292
291
|
# request body. This option has no effect unless the request has
|
293
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
294
293
|
# disables this behaviour. This value can safely be set per
|
295
|
-
# request on the session
|
294
|
+
# request on the session.
|
296
295
|
#
|
297
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
298
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -333,20 +332,33 @@ module Aws::CodeStarconnections
|
|
333
332
|
# The name of the connection to be created. The name must be unique in
|
334
333
|
# the calling AWS account.
|
335
334
|
#
|
335
|
+
# @option params [Array<Types::Tag>] :tags
|
336
|
+
# The key-value pair to use when tagging the resource.
|
337
|
+
#
|
336
338
|
# @return [Types::CreateConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
337
339
|
#
|
338
340
|
# * {Types::CreateConnectionOutput#connection_arn #connection_arn} => String
|
341
|
+
# * {Types::CreateConnectionOutput#tags #tags} => Array<Types::Tag>
|
339
342
|
#
|
340
343
|
# @example Request syntax with placeholder values
|
341
344
|
#
|
342
345
|
# resp = client.create_connection({
|
343
346
|
# provider_type: "Bitbucket", # required, accepts Bitbucket
|
344
347
|
# connection_name: "ConnectionName", # required
|
348
|
+
# tags: [
|
349
|
+
# {
|
350
|
+
# key: "TagKey", # required
|
351
|
+
# value: "TagValue", # required
|
352
|
+
# },
|
353
|
+
# ],
|
345
354
|
# })
|
346
355
|
#
|
347
356
|
# @example Response structure
|
348
357
|
#
|
349
358
|
# resp.connection_arn #=> String
|
359
|
+
# resp.tags #=> Array
|
360
|
+
# resp.tags[0].key #=> String
|
361
|
+
# resp.tags[0].value #=> String
|
350
362
|
#
|
351
363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnection AWS API Documentation
|
352
364
|
#
|
@@ -436,6 +448,8 @@ module Aws::CodeStarconnections
|
|
436
448
|
# * {Types::ListConnectionsOutput#connections #connections} => Array<Types::Connection>
|
437
449
|
# * {Types::ListConnectionsOutput#next_token #next_token} => String
|
438
450
|
#
|
451
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
452
|
+
#
|
439
453
|
# @example Request syntax with placeholder values
|
440
454
|
#
|
441
455
|
# resp = client.list_connections({
|
@@ -463,6 +477,97 @@ module Aws::CodeStarconnections
|
|
463
477
|
req.send_request(options)
|
464
478
|
end
|
465
479
|
|
480
|
+
# Gets the set of key-value pairs (metadata) that are used to manage the
|
481
|
+
# resource.
|
482
|
+
#
|
483
|
+
# @option params [required, String] :resource_arn
|
484
|
+
# The Amazon Resource Name (ARN) of the resource for which you want to
|
485
|
+
# get information about tags, if any.
|
486
|
+
#
|
487
|
+
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
|
+
#
|
489
|
+
# * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::Tag>
|
490
|
+
#
|
491
|
+
# @example Request syntax with placeholder values
|
492
|
+
#
|
493
|
+
# resp = client.list_tags_for_resource({
|
494
|
+
# resource_arn: "AmazonResourceName", # required
|
495
|
+
# })
|
496
|
+
#
|
497
|
+
# @example Response structure
|
498
|
+
#
|
499
|
+
# resp.tags #=> Array
|
500
|
+
# resp.tags[0].key #=> String
|
501
|
+
# resp.tags[0].value #=> String
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResource AWS API Documentation
|
504
|
+
#
|
505
|
+
# @overload list_tags_for_resource(params = {})
|
506
|
+
# @param [Hash] params ({})
|
507
|
+
def list_tags_for_resource(params = {}, options = {})
|
508
|
+
req = build_request(:list_tags_for_resource, params)
|
509
|
+
req.send_request(options)
|
510
|
+
end
|
511
|
+
|
512
|
+
# Adds to or modifies the tags of the given resource. Tags are metadata
|
513
|
+
# that can be used to manage a resource.
|
514
|
+
#
|
515
|
+
# @option params [required, String] :resource_arn
|
516
|
+
# The Amazon Resource Name (ARN) of the resource to which you want to
|
517
|
+
# add or update tags.
|
518
|
+
#
|
519
|
+
# @option params [required, Array<Types::Tag>] :tags
|
520
|
+
# The tags you want to modify or add to the resource.
|
521
|
+
#
|
522
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
523
|
+
#
|
524
|
+
# @example Request syntax with placeholder values
|
525
|
+
#
|
526
|
+
# resp = client.tag_resource({
|
527
|
+
# resource_arn: "AmazonResourceName", # required
|
528
|
+
# tags: [ # required
|
529
|
+
# {
|
530
|
+
# key: "TagKey", # required
|
531
|
+
# value: "TagValue", # required
|
532
|
+
# },
|
533
|
+
# ],
|
534
|
+
# })
|
535
|
+
#
|
536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResource AWS API Documentation
|
537
|
+
#
|
538
|
+
# @overload tag_resource(params = {})
|
539
|
+
# @param [Hash] params ({})
|
540
|
+
def tag_resource(params = {}, options = {})
|
541
|
+
req = build_request(:tag_resource, params)
|
542
|
+
req.send_request(options)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Removes tags from an AWS resource.
|
546
|
+
#
|
547
|
+
# @option params [required, String] :resource_arn
|
548
|
+
# The Amazon Resource Name (ARN) of the resource to remove tags from.
|
549
|
+
#
|
550
|
+
# @option params [required, Array<String>] :tag_keys
|
551
|
+
# The list of keys for the tags to be removed from the resource.
|
552
|
+
#
|
553
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
554
|
+
#
|
555
|
+
# @example Request syntax with placeholder values
|
556
|
+
#
|
557
|
+
# resp = client.untag_resource({
|
558
|
+
# resource_arn: "AmazonResourceName", # required
|
559
|
+
# tag_keys: ["TagKey"], # required
|
560
|
+
# })
|
561
|
+
#
|
562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResource AWS API Documentation
|
563
|
+
#
|
564
|
+
# @overload untag_resource(params = {})
|
565
|
+
# @param [Hash] params ({})
|
566
|
+
def untag_resource(params = {}, options = {})
|
567
|
+
req = build_request(:untag_resource, params)
|
568
|
+
req.send_request(options)
|
569
|
+
end
|
570
|
+
|
466
571
|
# @!endgroup
|
467
572
|
|
468
573
|
# @param params ({})
|
@@ -476,7 +581,7 @@ module Aws::CodeStarconnections
|
|
476
581
|
params: params,
|
477
582
|
config: config)
|
478
583
|
context[:gem_name] = 'aws-sdk-codestarconnections'
|
479
|
-
context[:gem_version] = '1.
|
584
|
+
context[:gem_version] = '1.2.0'
|
480
585
|
Seahorse::Client::Request.new(handlers, context)
|
481
586
|
end
|
482
587
|
|
@@ -12,6 +12,7 @@ module Aws::CodeStarconnections
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
15
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
15
16
|
Connection = Shapes::StructureShape.new(name: 'Connection')
|
16
17
|
ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
|
17
18
|
ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
|
@@ -27,10 +28,21 @@ module Aws::CodeStarconnections
|
|
27
28
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
28
29
|
ListConnectionsInput = Shapes::StructureShape.new(name: 'ListConnectionsInput')
|
29
30
|
ListConnectionsOutput = Shapes::StructureShape.new(name: 'ListConnectionsOutput')
|
31
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
32
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
30
33
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
31
34
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
32
35
|
ProviderType = Shapes::StringShape.new(name: 'ProviderType')
|
33
36
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
37
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
38
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
39
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
40
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
41
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
42
|
+
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
43
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
44
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
45
|
+
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
34
46
|
|
35
47
|
Connection.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
36
48
|
Connection.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
|
@@ -43,9 +55,11 @@ module Aws::CodeStarconnections
|
|
43
55
|
|
44
56
|
CreateConnectionInput.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, required: true, location_name: "ProviderType"))
|
45
57
|
CreateConnectionInput.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "ConnectionName"))
|
58
|
+
CreateConnectionInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
46
59
|
CreateConnectionInput.struct_class = Types::CreateConnectionInput
|
47
60
|
|
48
61
|
CreateConnectionOutput.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
|
62
|
+
CreateConnectionOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
49
63
|
CreateConnectionOutput.struct_class = Types::CreateConnectionOutput
|
50
64
|
|
51
65
|
DeleteConnectionInput.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
|
@@ -71,9 +85,35 @@ module Aws::CodeStarconnections
|
|
71
85
|
ListConnectionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
72
86
|
ListConnectionsOutput.struct_class = Types::ListConnectionsOutput
|
73
87
|
|
88
|
+
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
|
89
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
90
|
+
|
91
|
+
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
92
|
+
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
93
|
+
|
74
94
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
75
95
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
76
96
|
|
97
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
98
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
99
|
+
Tag.struct_class = Types::Tag
|
100
|
+
|
101
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
102
|
+
|
103
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
104
|
+
|
105
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
|
106
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
107
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
108
|
+
|
109
|
+
TagResourceOutput.struct_class = Types::TagResourceOutput
|
110
|
+
|
111
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
|
112
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
113
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
114
|
+
|
115
|
+
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
116
|
+
|
77
117
|
|
78
118
|
# @api private
|
79
119
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -133,6 +173,34 @@ module Aws::CodeStarconnections
|
|
133
173
|
}
|
134
174
|
)
|
135
175
|
end)
|
176
|
+
|
177
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
178
|
+
o.name = "ListTagsForResource"
|
179
|
+
o.http_method = "POST"
|
180
|
+
o.http_request_uri = "/"
|
181
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
182
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
183
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
184
|
+
end)
|
185
|
+
|
186
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
187
|
+
o.name = "TagResource"
|
188
|
+
o.http_method = "POST"
|
189
|
+
o.http_request_uri = "/"
|
190
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
191
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
|
192
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
193
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
194
|
+
end)
|
195
|
+
|
196
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
197
|
+
o.name = "UntagResource"
|
198
|
+
o.http_method = "POST"
|
199
|
+
o.http_request_uri = "/"
|
200
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
201
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
202
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
203
|
+
end)
|
136
204
|
end
|
137
205
|
|
138
206
|
end
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CodeStarconnections
|
9
|
-
|
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)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -8,8 +8,12 @@
|
|
8
8
|
module Aws::CodeStarconnections
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# The
|
12
|
-
# connect
|
11
|
+
# The AWS::CodeStarConnections::Connection resource can be used to
|
12
|
+
# connect external source providers with services like AWS CodePipeline.
|
13
|
+
#
|
14
|
+
# Note: A connection created through CloudFormation is in `PENDING`
|
15
|
+
# status by default. You can make its status `AVAILABLE` by editing
|
16
|
+
# the connection in the CodePipeline console.
|
13
17
|
#
|
14
18
|
# @!attribute [rw] connection_name
|
15
19
|
# The name of the connection. Connection names must be unique in an
|
@@ -33,7 +37,7 @@ module Aws::CodeStarconnections
|
|
33
37
|
# @return [String]
|
34
38
|
#
|
35
39
|
# @!attribute [rw] owner_account_id
|
36
|
-
# The
|
40
|
+
# The identifier of the external provider where your third-party code
|
37
41
|
# repository is configured. For Bitbucket, this is the account ID of
|
38
42
|
# the owner of the Bitbucket repository.
|
39
43
|
# @return [String]
|
@@ -59,6 +63,12 @@ module Aws::CodeStarconnections
|
|
59
63
|
# {
|
60
64
|
# provider_type: "Bitbucket", # required, accepts Bitbucket
|
61
65
|
# connection_name: "ConnectionName", # required
|
66
|
+
# tags: [
|
67
|
+
# {
|
68
|
+
# key: "TagKey", # required
|
69
|
+
# value: "TagValue", # required
|
70
|
+
# },
|
71
|
+
# ],
|
62
72
|
# }
|
63
73
|
#
|
64
74
|
# @!attribute [rw] provider_type
|
@@ -72,11 +82,16 @@ module Aws::CodeStarconnections
|
|
72
82
|
# the calling AWS account.
|
73
83
|
# @return [String]
|
74
84
|
#
|
85
|
+
# @!attribute [rw] tags
|
86
|
+
# The key-value pair to use when tagging the resource.
|
87
|
+
# @return [Array<Types::Tag>]
|
88
|
+
#
|
75
89
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnectionInput AWS API Documentation
|
76
90
|
#
|
77
91
|
class CreateConnectionInput < Struct.new(
|
78
92
|
:provider_type,
|
79
|
-
:connection_name
|
93
|
+
:connection_name,
|
94
|
+
:tags)
|
80
95
|
include Aws::Structure
|
81
96
|
end
|
82
97
|
|
@@ -90,10 +105,15 @@ module Aws::CodeStarconnections
|
|
90
105
|
# </note>
|
91
106
|
# @return [String]
|
92
107
|
#
|
108
|
+
# @!attribute [rw] tags
|
109
|
+
# Specifies the tags applied to the resource.
|
110
|
+
# @return [Array<Types::Tag>]
|
111
|
+
#
|
93
112
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnectionOutput AWS API Documentation
|
94
113
|
#
|
95
114
|
class CreateConnectionOutput < Struct.new(
|
96
|
-
:connection_arn
|
115
|
+
:connection_arn,
|
116
|
+
:tags)
|
97
117
|
include Aws::Structure
|
98
118
|
end
|
99
119
|
|
@@ -218,6 +238,37 @@ module Aws::CodeStarconnections
|
|
218
238
|
include Aws::Structure
|
219
239
|
end
|
220
240
|
|
241
|
+
# @note When making an API call, you may pass ListTagsForResourceInput
|
242
|
+
# data as a hash:
|
243
|
+
#
|
244
|
+
# {
|
245
|
+
# resource_arn: "AmazonResourceName", # required
|
246
|
+
# }
|
247
|
+
#
|
248
|
+
# @!attribute [rw] resource_arn
|
249
|
+
# The Amazon Resource Name (ARN) of the resource for which you want to
|
250
|
+
# get information about tags, if any.
|
251
|
+
# @return [String]
|
252
|
+
#
|
253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResourceInput AWS API Documentation
|
254
|
+
#
|
255
|
+
class ListTagsForResourceInput < Struct.new(
|
256
|
+
:resource_arn)
|
257
|
+
include Aws::Structure
|
258
|
+
end
|
259
|
+
|
260
|
+
# @!attribute [rw] tags
|
261
|
+
# A list of tag key and value pairs associated with the specified
|
262
|
+
# resource.
|
263
|
+
# @return [Array<Types::Tag>]
|
264
|
+
#
|
265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResourceOutput AWS API Documentation
|
266
|
+
#
|
267
|
+
class ListTagsForResourceOutput < Struct.new(
|
268
|
+
:tags)
|
269
|
+
include Aws::Structure
|
270
|
+
end
|
271
|
+
|
221
272
|
# Resource not found. Verify the connection resource ARN and try again.
|
222
273
|
#
|
223
274
|
# @!attribute [rw] message
|
@@ -230,5 +281,95 @@ module Aws::CodeStarconnections
|
|
230
281
|
include Aws::Structure
|
231
282
|
end
|
232
283
|
|
284
|
+
# A tag is a key-value pair that is used to manage the resource.
|
285
|
+
#
|
286
|
+
# This tag is available for use by AWS services that support tags.
|
287
|
+
#
|
288
|
+
# @note When making an API call, you may pass Tag
|
289
|
+
# data as a hash:
|
290
|
+
#
|
291
|
+
# {
|
292
|
+
# key: "TagKey", # required
|
293
|
+
# value: "TagValue", # required
|
294
|
+
# }
|
295
|
+
#
|
296
|
+
# @!attribute [rw] key
|
297
|
+
# The tag's key.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @!attribute [rw] value
|
301
|
+
# The tag's value.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/Tag AWS API Documentation
|
305
|
+
#
|
306
|
+
class Tag < Struct.new(
|
307
|
+
:key,
|
308
|
+
:value)
|
309
|
+
include Aws::Structure
|
310
|
+
end
|
311
|
+
|
312
|
+
# @note When making an API call, you may pass TagResourceInput
|
313
|
+
# data as a hash:
|
314
|
+
#
|
315
|
+
# {
|
316
|
+
# resource_arn: "AmazonResourceName", # required
|
317
|
+
# tags: [ # required
|
318
|
+
# {
|
319
|
+
# key: "TagKey", # required
|
320
|
+
# value: "TagValue", # required
|
321
|
+
# },
|
322
|
+
# ],
|
323
|
+
# }
|
324
|
+
#
|
325
|
+
# @!attribute [rw] resource_arn
|
326
|
+
# The Amazon Resource Name (ARN) of the resource to which you want to
|
327
|
+
# add or update tags.
|
328
|
+
# @return [String]
|
329
|
+
#
|
330
|
+
# @!attribute [rw] tags
|
331
|
+
# The tags you want to modify or add to the resource.
|
332
|
+
# @return [Array<Types::Tag>]
|
333
|
+
#
|
334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResourceInput AWS API Documentation
|
335
|
+
#
|
336
|
+
class TagResourceInput < Struct.new(
|
337
|
+
:resource_arn,
|
338
|
+
:tags)
|
339
|
+
include Aws::Structure
|
340
|
+
end
|
341
|
+
|
342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResourceOutput AWS API Documentation
|
343
|
+
#
|
344
|
+
class TagResourceOutput < Aws::EmptyStructure; end
|
345
|
+
|
346
|
+
# @note When making an API call, you may pass UntagResourceInput
|
347
|
+
# data as a hash:
|
348
|
+
#
|
349
|
+
# {
|
350
|
+
# resource_arn: "AmazonResourceName", # required
|
351
|
+
# tag_keys: ["TagKey"], # required
|
352
|
+
# }
|
353
|
+
#
|
354
|
+
# @!attribute [rw] resource_arn
|
355
|
+
# The Amazon Resource Name (ARN) of the resource to remove tags from.
|
356
|
+
# @return [String]
|
357
|
+
#
|
358
|
+
# @!attribute [rw] tag_keys
|
359
|
+
# The list of keys for the tags to be removed from the resource.
|
360
|
+
# @return [Array<String>]
|
361
|
+
#
|
362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResourceInput AWS API Documentation
|
363
|
+
#
|
364
|
+
class UntagResourceInput < Struct.new(
|
365
|
+
:resource_arn,
|
366
|
+
:tag_keys)
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResourceOutput AWS API Documentation
|
371
|
+
#
|
372
|
+
class UntagResourceOutput < Aws::EmptyStructure; end
|
373
|
+
|
233
374
|
end
|
234
375
|
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.
|
4
|
+
version: 1.2.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-
|
11
|
+
date: 2020-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -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
|
-
|
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
|