aws-sdk-codecommit 1.70.0 → 1.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codecommit/client.rb +12 -3
- data/lib/aws-sdk-codecommit/client_api.rb +4 -0
- data/lib/aws-sdk-codecommit/errors.rb +11 -0
- data/lib/aws-sdk-codecommit/types.rb +8 -2
- data/lib/aws-sdk-codecommit.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/errors.rbs +2 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +3 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b133b06afaa942b716e3acc830893937d3eea14f7ffb803806b408eee09b552d
|
4
|
+
data.tar.gz: f2685cae94714033fe2e0b1620c502316a7bddd586eeabc182cf9855b1a65135
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caab49aff031a8959bc44513361efd3ee563dd89667ce3c8da392af8b7e8a74022a0359f75fca716eb61f03c8627f3ecb90c3f00427c5512483bc4748e1869a9
|
7
|
+
data.tar.gz: 7a5522551c06985ac94c8b7e8588db9cae41a3f170fe651fcbaedb69e777619d20e130f5a07bbaccaae971f4325553a37e999e69ca66dd29a55d4f0a5fdfc3e5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.72.0 (2024-07-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository.
|
8
|
+
|
9
|
+
1.71.0 (2024-07-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.70.0 (2024-06-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.72.0
|
@@ -312,6 +312,15 @@ module Aws::CodeCommit
|
|
312
312
|
#
|
313
313
|
# @option options [String] :session_token
|
314
314
|
#
|
315
|
+
# @option options [Array] :sigv4a_signing_region_set
|
316
|
+
# A list of regions that should be signed with SigV4a signing. When
|
317
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
318
|
+
# in the following locations:
|
319
|
+
#
|
320
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
321
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
322
|
+
# * `~/.aws/config`
|
323
|
+
#
|
315
324
|
# @option options [Boolean] :simple_json (false)
|
316
325
|
# Disables request parameter conversion, validation, and formatting.
|
317
326
|
# Also disables response data type conversions. The request parameters
|
@@ -1239,7 +1248,7 @@ module Aws::CodeCommit
|
|
1239
1248
|
#
|
1240
1249
|
#
|
1241
1250
|
#
|
1242
|
-
# [1]: https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
1251
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
1243
1252
|
#
|
1244
1253
|
# @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1245
1254
|
#
|
@@ -5069,7 +5078,7 @@ module Aws::CodeCommit
|
|
5069
5078
|
#
|
5070
5079
|
#
|
5071
5080
|
#
|
5072
|
-
# [1]: https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
5081
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
5073
5082
|
#
|
5074
5083
|
# @return [Types::UpdateRepositoryEncryptionKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5075
5084
|
#
|
@@ -5147,7 +5156,7 @@ module Aws::CodeCommit
|
|
5147
5156
|
params: params,
|
5148
5157
|
config: config)
|
5149
5158
|
context[:gem_name] = 'aws-sdk-codecommit'
|
5150
|
-
context[:gem_version] = '1.
|
5159
|
+
context[:gem_version] = '1.72.0'
|
5151
5160
|
Seahorse::Client::Request.new(handlers, context)
|
5152
5161
|
end
|
5153
5162
|
|
@@ -385,6 +385,7 @@ module Aws::CodeCommit
|
|
385
385
|
ObjectSize = Shapes::IntegerShape.new(name: 'ObjectSize')
|
386
386
|
ObjectTypeEnum = Shapes::StringShape.new(name: 'ObjectTypeEnum')
|
387
387
|
ObjectTypes = Shapes::StructureShape.new(name: 'ObjectTypes')
|
388
|
+
OperationNotAllowedException = Shapes::StructureShape.new(name: 'OperationNotAllowedException')
|
388
389
|
OrderEnum = Shapes::StringShape.new(name: 'OrderEnum')
|
389
390
|
OriginApprovalRuleTemplate = Shapes::StructureShape.new(name: 'OriginApprovalRuleTemplate')
|
390
391
|
Overridden = Shapes::BooleanShape.new(name: 'Overridden')
|
@@ -1657,6 +1658,8 @@ module Aws::CodeCommit
|
|
1657
1658
|
ObjectTypes.add_member(:base, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "base"))
|
1658
1659
|
ObjectTypes.struct_class = Types::ObjectTypes
|
1659
1660
|
|
1661
|
+
OperationNotAllowedException.struct_class = Types::OperationNotAllowedException
|
1662
|
+
|
1660
1663
|
OriginApprovalRuleTemplate.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, location_name: "approvalRuleTemplateId"))
|
1661
1664
|
OriginApprovalRuleTemplate.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, location_name: "approvalRuleTemplateName"))
|
1662
1665
|
OriginApprovalRuleTemplate.struct_class = Types::OriginApprovalRuleTemplate
|
@@ -2412,6 +2415,7 @@ module Aws::CodeCommit
|
|
2412
2415
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
2413
2416
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryDescriptionException)
|
2414
2417
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryLimitExceededException)
|
2418
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotAllowedException)
|
2415
2419
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
2416
2420
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
2417
2421
|
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
@@ -166,6 +166,7 @@ module Aws::CodeCommit
|
|
166
166
|
# * {NoChangeException}
|
167
167
|
# * {NumberOfRuleTemplatesExceededException}
|
168
168
|
# * {NumberOfRulesExceededException}
|
169
|
+
# * {OperationNotAllowedException}
|
169
170
|
# * {OverrideAlreadySetException}
|
170
171
|
# * {OverrideStatusRequiredException}
|
171
172
|
# * {ParentCommitDoesNotExistException}
|
@@ -1612,6 +1613,16 @@ module Aws::CodeCommit
|
|
1612
1613
|
end
|
1613
1614
|
end
|
1614
1615
|
|
1616
|
+
class OperationNotAllowedException < ServiceError
|
1617
|
+
|
1618
|
+
# @param [Seahorse::Client::RequestContext] context
|
1619
|
+
# @param [String] message
|
1620
|
+
# @param [Aws::CodeCommit::Types::OperationNotAllowedException] data
|
1621
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1622
|
+
super(context, message, data)
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1615
1626
|
class OverrideAlreadySetException < ServiceError
|
1616
1627
|
|
1617
1628
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1677,7 +1677,7 @@ module Aws::CodeCommit
|
|
1677
1677
|
#
|
1678
1678
|
#
|
1679
1679
|
#
|
1680
|
-
# [1]: https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
1680
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
1681
1681
|
# @return [String]
|
1682
1682
|
#
|
1683
1683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput AWS API Documentation
|
@@ -5193,6 +5193,12 @@ module Aws::CodeCommit
|
|
5193
5193
|
include Aws::Structure
|
5194
5194
|
end
|
5195
5195
|
|
5196
|
+
# The requested action is not allowed.
|
5197
|
+
#
|
5198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OperationNotAllowedException AWS API Documentation
|
5199
|
+
#
|
5200
|
+
class OperationNotAllowedException < Aws::EmptyStructure; end
|
5201
|
+
|
5196
5202
|
# Returns information about the template that created the approval rule
|
5197
5203
|
# for a pull request.
|
5198
5204
|
#
|
@@ -7147,7 +7153,7 @@ module Aws::CodeCommit
|
|
7147
7153
|
#
|
7148
7154
|
#
|
7149
7155
|
#
|
7150
|
-
# [1]: https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
7156
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
7151
7157
|
# @return [String]
|
7152
7158
|
#
|
7153
7159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryEncryptionKeyInput AWS API Documentation
|
data/lib/aws-sdk-codecommit.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/errors.rbs
CHANGED
@@ -289,6 +289,8 @@ module Aws
|
|
289
289
|
end
|
290
290
|
class NumberOfRulesExceededException < ::Aws::Errors::ServiceError
|
291
291
|
end
|
292
|
+
class OperationNotAllowedException < ::Aws::Errors::ServiceError
|
293
|
+
end
|
292
294
|
class OverrideAlreadySetException < ::Aws::Errors::ServiceError
|
293
295
|
end
|
294
296
|
class OverrideStatusRequiredException < ::Aws::Errors::ServiceError
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -1489,6 +1489,9 @@ module Aws::CodeCommit
|
|
1489
1489
|
SENSITIVE: []
|
1490
1490
|
end
|
1491
1491
|
|
1492
|
+
class OperationNotAllowedException < Aws::EmptyStructure
|
1493
|
+
end
|
1494
|
+
|
1492
1495
|
class OriginApprovalRuleTemplate
|
1493
1496
|
attr_accessor approval_rule_template_id: ::String
|
1494
1497
|
attr_accessor approval_rule_template_name: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codecommit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.72.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: 2024-
|
11
|
+
date: 2024-07-25 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.
|
22
|
+
version: 3.201.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.201.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS CodeCommit (CodeCommit). This gem is part
|
48
48
|
of the AWS SDK for Ruby.
|
49
49
|
email:
|