aws-sdk-codecommit 1.71.0 → 1.72.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: b4248f58b9c1517bb4add1a52241f43e6ecca1ed35b98538c36ac25d8df8d9dc
4
- data.tar.gz: a35bb003d2b9036920121c38f5ec3e873fd71faa99e7a43a05e7c5d63115689b
3
+ metadata.gz: b133b06afaa942b716e3acc830893937d3eea14f7ffb803806b408eee09b552d
4
+ data.tar.gz: f2685cae94714033fe2e0b1620c502316a7bddd586eeabc182cf9855b1a65135
5
5
  SHA512:
6
- metadata.gz: 1f48c14572dc4cce79942ce12854e861e70f2ffcec86c0620120b9ce980e6572728412e33b3c1e1eb493bc1e31883e70d570d45c0288ed08506bfb990c189b2a
7
- data.tar.gz: 74a70315c9f51b92ea4d307b3f5b1b62ce526c1965c819344018cc4cc4dab379908fd3a4393aa0afb3f06bd4190ffe383f671ac961a9ea88104d85d4a40527e1
6
+ metadata.gz: caab49aff031a8959bc44513361efd3ee563dd89667ce3c8da392af8b7e8a74022a0359f75fca716eb61f03c8627f3ecb90c3f00427c5512483bc4748e1869a9
7
+ data.tar.gz: 7a5522551c06985ac94c8b7e8588db9cae41a3f170fe651fcbaedb69e777619d20e130f5a07bbaccaae971f4325553a37e999e69ca66dd29a55d4f0a5fdfc3e5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.71.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.72.0
@@ -1248,7 +1248,7 @@ module Aws::CodeCommit
1248
1248
  #
1249
1249
  #
1250
1250
  #
1251
- # [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
1252
1252
  #
1253
1253
  # @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1254
1254
  #
@@ -5078,7 +5078,7 @@ module Aws::CodeCommit
5078
5078
  #
5079
5079
  #
5080
5080
  #
5081
- # [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
5082
5082
  #
5083
5083
  # @return [Types::UpdateRepositoryEncryptionKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5084
5084
  #
@@ -5156,7 +5156,7 @@ module Aws::CodeCommit
5156
5156
  params: params,
5157
5157
  config: config)
5158
5158
  context[:gem_name] = 'aws-sdk-codecommit'
5159
- context[:gem_version] = '1.71.0'
5159
+ context[:gem_version] = '1.72.0'
5160
5160
  Seahorse::Client::Request.new(handlers, context)
5161
5161
  end
5162
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codecommit/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeCommit
54
54
 
55
- GEM_VERSION = '1.71.0'
55
+ GEM_VERSION = '1.72.0'
56
56
 
57
57
  end
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/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.71.0
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-07-02 00:00:00.000000000 Z
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