aws-sdk-codecommit 1.71.0 → 1.73.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 +21 -4
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75b32bf4551eb3822417074fc9a7973f7a530c194211be2e479b44c5f04f69de
|
4
|
+
data.tar.gz: 9d5a03f15c33a4780e512b0465d77e090746253b87ea375d986cc7c7bc99d4bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7d758079617dff0478dddc528eed83267bab92d6496222e5cb9acf66a7abadc76f6394e61a44513746f8a9314cb194bfca6b24c395bec1f0a7ace118f6bdbdd
|
7
|
+
data.tar.gz: 4d37413775899f97e2e0b62d4cef0a7563591e95557b681dd1e7b280d6f78ebecb177630f442127604f11843b916cbb92c96a3098d3d8bb93ee8ee60af30ad2e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.73.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.72.0 (2024-07-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository.
|
13
|
+
|
4
14
|
1.71.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::CodeCommit
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
88
90
|
add_plugin(Aws::CodeCommit::Plugins::Endpoints)
|
@@ -337,6 +339,16 @@ module Aws::CodeCommit
|
|
337
339
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
338
340
|
# requests are made, and retries are disabled.
|
339
341
|
#
|
342
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
343
|
+
# Allows you to provide a telemetry provider, which is used to
|
344
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
345
|
+
# will not record or emit any telemetry data. The SDK supports the
|
346
|
+
# following telemetry providers:
|
347
|
+
#
|
348
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
349
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
350
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
351
|
+
#
|
340
352
|
# @option options [Aws::TokenProvider] :token_provider
|
341
353
|
# A Bearer Token Provider. This can be an instance of any one of the
|
342
354
|
# following classes:
|
@@ -1248,7 +1260,7 @@ module Aws::CodeCommit
|
|
1248
1260
|
#
|
1249
1261
|
#
|
1250
1262
|
#
|
1251
|
-
# [1]: https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
1263
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
1252
1264
|
#
|
1253
1265
|
# @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1254
1266
|
#
|
@@ -5078,7 +5090,7 @@ module Aws::CodeCommit
|
|
5078
5090
|
#
|
5079
5091
|
#
|
5080
5092
|
#
|
5081
|
-
# [1]: https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
5093
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
|
5082
5094
|
#
|
5083
5095
|
# @return [Types::UpdateRepositoryEncryptionKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5084
5096
|
#
|
@@ -5149,14 +5161,19 @@ module Aws::CodeCommit
|
|
5149
5161
|
# @api private
|
5150
5162
|
def build_request(operation_name, params = {})
|
5151
5163
|
handlers = @handlers.for(operation_name)
|
5164
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
5165
|
+
Aws::Telemetry.module_to_tracer_name('Aws::CodeCommit')
|
5166
|
+
)
|
5152
5167
|
context = Seahorse::Client::RequestContext.new(
|
5153
5168
|
operation_name: operation_name,
|
5154
5169
|
operation: config.api.operation(operation_name),
|
5155
5170
|
client: self,
|
5156
5171
|
params: params,
|
5157
|
-
config: config
|
5172
|
+
config: config,
|
5173
|
+
tracer: tracer
|
5174
|
+
)
|
5158
5175
|
context[:gem_name] = 'aws-sdk-codecommit'
|
5159
|
-
context[:gem_version] = '1.
|
5176
|
+
context[:gem_version] = '1.73.0'
|
5160
5177
|
Seahorse::Client::Request.new(handlers, context)
|
5161
5178
|
end
|
5162
5179
|
|
@@ -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
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
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
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
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.73.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-09-03 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.203.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.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|