aws-sdk-codecommit 1.30.0 → 1.35.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
- SHA1:
3
- metadata.gz: 0c1ec48cb0022ebc59c373e18180b10b662ca80a
4
- data.tar.gz: b4ece74ae2a8d2eddb1761767af9f7b351d4359c
2
+ SHA256:
3
+ metadata.gz: fa42e1159e6d2cfeb8ac937f937da0a81a36ad809fd29ec6158dec059a9367b7
4
+ data.tar.gz: 99ee1410072ad3f7ae208656ee4d69684a0eb78c4586a5e3264fe50bbedb21dd
5
5
  SHA512:
6
- metadata.gz: c2c5b37b53357c5ed87e46988e7857973585fc3ca8d33bdfcc9a6b245575eac9726516c10779136c67c739e63f539118834ae213d128beadaf5fadbbefbbb3c0
7
- data.tar.gz: f5a006e68d5b8b31ae05bb88b8dad21c0bca11c8e8b979c35a23e5d63e9227a9064a2e0b90f9ac7a8cfda7e66d6ca911717b688d5d3a858264ae841b060cfc0b
6
+ metadata.gz: 4c12474f58c00e97e62620d7d0e7ff7ad4663d7edc48349f3b752c61cd568cb60b7ca9da12fa5b46a0804009626d068f98e694e6b5c46be55584dbc0e0c45a67
7
+ data.tar.gz: 4968aed5eef88812980bd87d120fd68f7c97e9105441fa26c67c5a1f7bdf58267144165af63734480686327c6322642b29e981f889ed6e01e80381c034a6ebc2
@@ -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,17 +26,20 @@ require_relative 'aws-sdk-codecommit/customizations'
24
26
  # methods each accept a hash of request parameters and return a response
25
27
  # structure.
26
28
  #
29
+ # code_commit = Aws::CodeCommit::Client.new
30
+ # resp = code_commit.associate_approval_rule_template_with_repository(params)
31
+ #
27
32
  # See {Client} for more information.
28
33
  #
29
34
  # # Errors
30
35
  #
31
- # Errors returned from AWS CodeCommit all
32
- # extend {Errors::ServiceError}.
36
+ # Errors returned from AWS CodeCommit are defined in the
37
+ # {Errors} module and all extend {Errors::ServiceError}.
33
38
  #
34
39
  # begin
35
40
  # # do stuff
36
41
  # rescue Aws::CodeCommit::Errors::ServiceError
37
- # # rescues all service API errors
42
+ # # rescues all AWS CodeCommit API errors
38
43
  # end
39
44
  #
40
45
  # See {Errors} for more information.
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-codecommit/customizations'
42
47
  # @service
43
48
  module Aws::CodeCommit
44
49
 
45
- GEM_VERSION = '1.30.0'
50
+ GEM_VERSION = '1.35.0'
46
51
 
47
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,12 +26,25 @@ 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
 
30
33
  Aws::Plugins::GlobalConfiguration.add_identifier(:codecommit)
31
34
 
32
35
  module Aws::CodeCommit
36
+ # An API client for CodeCommit. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::CodeCommit::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
33
48
  class Client < Seahorse::Client::Base
34
49
 
35
50
  include Aws::ClientStubs
@@ -57,6 +72,7 @@ module Aws::CodeCommit
57
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
60
76
  add_plugin(Aws::Plugins::SignatureV4)
61
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
62
78
 
@@ -93,7 +109,7 @@ module Aws::CodeCommit
93
109
  # @option options [required, String] :region
94
110
  # The AWS region to connect to. The configured `:region` is
95
111
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
97
113
  #
98
114
  # * `Aws.config[:region]`
99
115
  # * `ENV['AWS_REGION']`
@@ -108,6 +124,12 @@ module Aws::CodeCommit
108
124
  # When set to `true`, a thread polling for endpoints will be running in
109
125
  # the background every 60 secs (default). Defaults to `false`.
110
126
  #
127
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
128
+ # Used only in `adaptive` retry mode. When true, the request will sleep
129
+ # until there is sufficent client side capacity to retry the request.
130
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
131
+ # not retry instead of sleeping.
132
+ #
111
133
  # @option options [Boolean] :client_side_monitoring (false)
112
134
  # When `true`, client-side metrics will be collected for all API requests from
113
135
  # this client.
@@ -132,6 +154,10 @@ module Aws::CodeCommit
132
154
  # When `true`, an attempt is made to coerce request parameters into
133
155
  # the required types.
134
156
  #
157
+ # @option options [Boolean] :correct_clock_skew (true)
158
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
159
+ # a clock skew correction and retry requests with skewed client clocks.
160
+ #
135
161
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
162
  # Set to true to disable SDK automatically adding host prefix
137
163
  # to default service endpoint when available.
@@ -139,7 +165,7 @@ module Aws::CodeCommit
139
165
  # @option options [String] :endpoint
140
166
  # The client endpoint is normally constructed from the `:region`
141
167
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
169
  #
144
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +180,7 @@ module Aws::CodeCommit
154
180
  # requests fetching endpoints information. Defaults to 60 sec.
155
181
  #
156
182
  # @option options [Boolean] :endpoint_discovery (false)
157
- # 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.
158
184
  #
159
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
186
  # The log formatter.
@@ -166,15 +192,29 @@ module Aws::CodeCommit
166
192
  # The Logger instance to send log messages to. If this option
167
193
  # is not set, logging will be disabled.
168
194
  #
195
+ # @option options [Integer] :max_attempts (3)
196
+ # An integer representing the maximum number attempts that will be made for
197
+ # a single request, including the initial attempt. For example,
198
+ # setting this value to 5 will result in a request being retried up to
199
+ # 4 times. Used in `standard` and `adaptive` retry modes.
200
+ #
169
201
  # @option options [String] :profile ("default")
170
202
  # Used when loading credentials from the shared credentials file
171
203
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
204
  #
205
+ # @option options [Proc] :retry_backoff
206
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
+ # This option is only used in the `legacy` retry mode.
208
+ #
173
209
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
210
+ # The base delay in seconds used by the default backoff function. This option
211
+ # is only used in the `legacy` retry mode.
175
212
  #
176
213
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
214
+ # A delay randomiser function used by the default backoff function.
215
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
216
+ # otherwise a Proc that takes and returns a number. This option is only used
217
+ # in the `legacy` retry mode.
178
218
  #
179
219
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
220
  #
@@ -182,11 +222,30 @@ module Aws::CodeCommit
182
222
  # The maximum number of times to retry failed requests. Only
183
223
  # ~ 500 level server errors and certain ~ 400 level client errors
184
224
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
225
+ # checksum errors, networking errors, timeout errors, auth errors,
226
+ # endpoint discovery, and errors from expired credentials.
227
+ # This option is only used in the `legacy` retry mode.
187
228
  #
188
229
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
230
+ # The maximum number of seconds to delay between retries (0 for no limit)
231
+ # used by the default backoff function. This option is only used in the
232
+ # `legacy` retry mode.
233
+ #
234
+ # @option options [String] :retry_mode ("legacy")
235
+ # Specifies which retry algorithm to use. Values are:
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
190
249
  #
191
250
  # @option options [String] :secret_access_key
192
251
  #
@@ -219,16 +278,15 @@ module Aws::CodeCommit
219
278
  # requests through. Formatted like 'http://proxy.com:123'.
220
279
  #
221
280
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
281
+ # seconds to wait when opening a HTTP session before raising a
223
282
  # `Timeout::Error`.
224
283
  #
225
284
  # @option options [Integer] :http_read_timeout (60) The default
226
285
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yeidled by {#session_for}.
286
+ # safely be set per-request on the session.
229
287
  #
230
288
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
289
+ # seconds a connection is allowed to sit idle before it is
232
290
  # considered stale. Stale connections are closed and removed
233
291
  # from the pool before making a request.
234
292
  #
@@ -237,7 +295,7 @@ module Aws::CodeCommit
237
295
  # request body. This option has no effect unless the request has
238
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
297
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
298
+ # request on the session.
241
299
  #
242
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
301
  # HTTP debug output will be sent to the `:logger`.
@@ -1514,6 +1572,8 @@ module Aws::CodeCommit
1514
1572
  # * {Types::DescribeMergeConflictsOutput#source_commit_id #source_commit_id} => String
1515
1573
  # * {Types::DescribeMergeConflictsOutput#base_commit_id #base_commit_id} => String
1516
1574
  #
1575
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1576
+ #
1517
1577
  # @example Request syntax with placeholder values
1518
1578
  #
1519
1579
  # resp = client.describe_merge_conflicts({
@@ -1603,6 +1663,8 @@ module Aws::CodeCommit
1603
1663
  # * {Types::DescribePullRequestEventsOutput#pull_request_events #pull_request_events} => Array&lt;Types::PullRequestEvent&gt;
1604
1664
  # * {Types::DescribePullRequestEventsOutput#next_token #next_token} => String
1605
1665
  #
1666
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1667
+ #
1606
1668
  # @example Request syntax with placeholder values
1607
1669
  #
1608
1670
  # resp = client.describe_pull_request_events({
@@ -1891,6 +1953,8 @@ module Aws::CodeCommit
1891
1953
  # * {Types::GetCommentsForComparedCommitOutput#comments_for_compared_commit_data #comments_for_compared_commit_data} => Array&lt;Types::CommentsForComparedCommit&gt;
1892
1954
  # * {Types::GetCommentsForComparedCommitOutput#next_token #next_token} => String
1893
1955
  #
1956
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1957
+ #
1894
1958
  # @example Request syntax with placeholder values
1895
1959
  #
1896
1960
  # resp = client.get_comments_for_compared_commit({
@@ -1963,6 +2027,8 @@ module Aws::CodeCommit
1963
2027
  # * {Types::GetCommentsForPullRequestOutput#comments_for_pull_request_data #comments_for_pull_request_data} => Array&lt;Types::CommentsForPullRequest&gt;
1964
2028
  # * {Types::GetCommentsForPullRequestOutput#next_token #next_token} => String
1965
2029
  #
2030
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2031
+ #
1966
2032
  # @example Request syntax with placeholder values
1967
2033
  #
1968
2034
  # resp = client.get_comments_for_pull_request({
@@ -2093,6 +2159,8 @@ module Aws::CodeCommit
2093
2159
  # * {Types::GetDifferencesOutput#differences #differences} => Array&lt;Types::Difference&gt;
2094
2160
  # * {Types::GetDifferencesOutput#next_token #next_token} => String
2095
2161
  #
2162
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2163
+ #
2096
2164
  # @example Request syntax with placeholder values
2097
2165
  #
2098
2166
  # resp = client.get_differences({
@@ -2353,6 +2421,8 @@ module Aws::CodeCommit
2353
2421
  # * {Types::GetMergeConflictsOutput#conflict_metadata_list #conflict_metadata_list} => Array&lt;Types::ConflictMetadata&gt;
2354
2422
  # * {Types::GetMergeConflictsOutput#next_token #next_token} => String
2355
2423
  #
2424
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2425
+ #
2356
2426
  # @example Request syntax with placeholder values
2357
2427
  #
2358
2428
  # resp = client.get_merge_conflicts({
@@ -2699,6 +2769,8 @@ module Aws::CodeCommit
2699
2769
  # * {Types::ListApprovalRuleTemplatesOutput#approval_rule_template_names #approval_rule_template_names} => Array&lt;String&gt;
2700
2770
  # * {Types::ListApprovalRuleTemplatesOutput#next_token #next_token} => String
2701
2771
  #
2772
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2773
+ #
2702
2774
  # @example Request syntax with placeholder values
2703
2775
  #
2704
2776
  # resp = client.list_approval_rule_templates({
@@ -2741,6 +2813,8 @@ module Aws::CodeCommit
2741
2813
  # * {Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput#approval_rule_template_names #approval_rule_template_names} => Array&lt;String&gt;
2742
2814
  # * {Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput#next_token #next_token} => String
2743
2815
  #
2816
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2817
+ #
2744
2818
  # @example Request syntax with placeholder values
2745
2819
  #
2746
2820
  # resp = client.list_associated_approval_rule_templates_for_repository({
@@ -2777,6 +2851,8 @@ module Aws::CodeCommit
2777
2851
  # * {Types::ListBranchesOutput#branches #branches} => Array&lt;String&gt;
2778
2852
  # * {Types::ListBranchesOutput#next_token #next_token} => String
2779
2853
  #
2854
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2855
+ #
2780
2856
  # @example Request syntax with placeholder values
2781
2857
  #
2782
2858
  # resp = client.list_branches({
@@ -2827,6 +2903,8 @@ module Aws::CodeCommit
2827
2903
  # * {Types::ListPullRequestsOutput#pull_request_ids #pull_request_ids} => Array&lt;String&gt;
2828
2904
  # * {Types::ListPullRequestsOutput#next_token #next_token} => String
2829
2905
  #
2906
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2907
+ #
2830
2908
  # @example Request syntax with placeholder values
2831
2909
  #
2832
2910
  # resp = client.list_pull_requests({
@@ -2873,6 +2951,8 @@ module Aws::CodeCommit
2873
2951
  # * {Types::ListRepositoriesOutput#repositories #repositories} => Array&lt;Types::RepositoryNameIdPair&gt;
2874
2952
  # * {Types::ListRepositoriesOutput#next_token #next_token} => String
2875
2953
  #
2954
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2955
+ #
2876
2956
  # @example Request syntax with placeholder values
2877
2957
  #
2878
2958
  # resp = client.list_repositories({
@@ -2917,6 +2997,8 @@ module Aws::CodeCommit
2917
2997
  # * {Types::ListRepositoriesForApprovalRuleTemplateOutput#repository_names #repository_names} => Array&lt;String&gt;
2918
2998
  # * {Types::ListRepositoriesForApprovalRuleTemplateOutput#next_token #next_token} => String
2919
2999
  #
3000
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3001
+ #
2920
3002
  # @example Request syntax with placeholder values
2921
3003
  #
2922
3004
  # resp = client.list_repositories_for_approval_rule_template({
@@ -4674,7 +4756,7 @@ module Aws::CodeCommit
4674
4756
  params: params,
4675
4757
  config: config)
4676
4758
  context[:gem_name] = 'aws-sdk-codecommit'
4677
- context[:gem_version] = '1.30.0'
4759
+ context[:gem_version] = '1.35.0'
4678
4760
  Seahorse::Client::Request.new(handlers, context)
4679
4761
  end
4680
4762
 
@@ -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:
@@ -517,6 +519,8 @@ module Aws::CodeCommit
517
519
  UserInfo = Shapes::StructureShape.new(name: 'UserInfo')
518
520
  blob = Shapes::BlobShape.new(name: 'blob')
519
521
 
522
+ ActorDoesNotExistException.struct_class = Types::ActorDoesNotExistException
523
+
520
524
  Approval.add_member(:user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "userArn"))
521
525
  Approval.add_member(:approval_state, Shapes::ShapeRef.new(shape: ApprovalState, location_name: "approvalState"))
522
526
  Approval.struct_class = Types::Approval
@@ -533,11 +537,19 @@ module Aws::CodeCommit
533
537
  ApprovalRule.add_member(:origin_approval_rule_template, Shapes::ShapeRef.new(shape: OriginApprovalRuleTemplate, location_name: "originApprovalRuleTemplate"))
534
538
  ApprovalRule.struct_class = Types::ApprovalRule
535
539
 
540
+ ApprovalRuleContentRequiredException.struct_class = Types::ApprovalRuleContentRequiredException
541
+
542
+ ApprovalRuleDoesNotExistException.struct_class = Types::ApprovalRuleDoesNotExistException
543
+
536
544
  ApprovalRuleEventMetadata.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, location_name: "approvalRuleName"))
537
545
  ApprovalRuleEventMetadata.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, location_name: "approvalRuleId"))
538
546
  ApprovalRuleEventMetadata.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, location_name: "approvalRuleContent"))
539
547
  ApprovalRuleEventMetadata.struct_class = Types::ApprovalRuleEventMetadata
540
548
 
549
+ ApprovalRuleNameAlreadyExistsException.struct_class = Types::ApprovalRuleNameAlreadyExistsException
550
+
551
+ ApprovalRuleNameRequiredException.struct_class = Types::ApprovalRuleNameRequiredException
552
+
541
553
  ApprovalRuleOverriddenEventMetadata.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
542
554
  ApprovalRuleOverriddenEventMetadata.add_member(:override_status, Shapes::ShapeRef.new(shape: OverrideStatus, location_name: "overrideStatus"))
543
555
  ApprovalRuleOverriddenEventMetadata.struct_class = Types::ApprovalRuleOverriddenEventMetadata
@@ -552,8 +564,18 @@ module Aws::CodeCommit
552
564
  ApprovalRuleTemplate.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: Arn, location_name: "lastModifiedUser"))
553
565
  ApprovalRuleTemplate.struct_class = Types::ApprovalRuleTemplate
554
566
 
567
+ ApprovalRuleTemplateContentRequiredException.struct_class = Types::ApprovalRuleTemplateContentRequiredException
568
+
569
+ ApprovalRuleTemplateDoesNotExistException.struct_class = Types::ApprovalRuleTemplateDoesNotExistException
570
+
571
+ ApprovalRuleTemplateInUseException.struct_class = Types::ApprovalRuleTemplateInUseException
572
+
573
+ ApprovalRuleTemplateNameAlreadyExistsException.struct_class = Types::ApprovalRuleTemplateNameAlreadyExistsException
574
+
555
575
  ApprovalRuleTemplateNameList.member = Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName)
556
576
 
577
+ ApprovalRuleTemplateNameRequiredException.struct_class = Types::ApprovalRuleTemplateNameRequiredException
578
+
557
579
  ApprovalRulesList.member = Shapes::ShapeRef.new(shape: ApprovalRule)
558
580
 
559
581
  ApprovalRulesNotSatisfiedList.member = Shapes::ShapeRef.new(shape: ApprovalRuleName)
@@ -564,10 +586,14 @@ module Aws::CodeCommit
564
586
  ApprovalStateChangedEventMetadata.add_member(:approval_status, Shapes::ShapeRef.new(shape: ApprovalState, location_name: "approvalStatus"))
565
587
  ApprovalStateChangedEventMetadata.struct_class = Types::ApprovalStateChangedEventMetadata
566
588
 
589
+ ApprovalStateRequiredException.struct_class = Types::ApprovalStateRequiredException
590
+
567
591
  AssociateApprovalRuleTemplateWithRepositoryInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
568
592
  AssociateApprovalRuleTemplateWithRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
569
593
  AssociateApprovalRuleTemplateWithRepositoryInput.struct_class = Types::AssociateApprovalRuleTemplateWithRepositoryInput
570
594
 
595
+ AuthorDoesNotExistException.struct_class = Types::AuthorDoesNotExistException
596
+
571
597
  BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
572
598
  BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
573
599
  BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
@@ -647,17 +673,37 @@ module Aws::CodeCommit
647
673
  BatchGetRepositoriesOutput.add_member(:repositories_not_found, Shapes::ShapeRef.new(shape: RepositoryNotFoundList, location_name: "repositoriesNotFound"))
648
674
  BatchGetRepositoriesOutput.struct_class = Types::BatchGetRepositoriesOutput
649
675
 
676
+ BeforeCommitIdAndAfterCommitIdAreSameException.struct_class = Types::BeforeCommitIdAndAfterCommitIdAreSameException
677
+
678
+ BlobIdDoesNotExistException.struct_class = Types::BlobIdDoesNotExistException
679
+
680
+ BlobIdRequiredException.struct_class = Types::BlobIdRequiredException
681
+
650
682
  BlobMetadata.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "blobId"))
651
683
  BlobMetadata.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "path"))
652
684
  BlobMetadata.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "mode"))
653
685
  BlobMetadata.struct_class = Types::BlobMetadata
654
686
 
687
+ BranchDoesNotExistException.struct_class = Types::BranchDoesNotExistException
688
+
655
689
  BranchInfo.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
656
690
  BranchInfo.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "commitId"))
657
691
  BranchInfo.struct_class = Types::BranchInfo
658
692
 
693
+ BranchNameExistsException.struct_class = Types::BranchNameExistsException
694
+
695
+ BranchNameIsTagNameException.struct_class = Types::BranchNameIsTagNameException
696
+
659
697
  BranchNameList.member = Shapes::ShapeRef.new(shape: BranchName)
660
698
 
699
+ BranchNameRequiredException.struct_class = Types::BranchNameRequiredException
700
+
701
+ CannotDeleteApprovalRuleFromTemplateException.struct_class = Types::CannotDeleteApprovalRuleFromTemplateException
702
+
703
+ CannotModifyApprovalRuleFromTemplateException.struct_class = Types::CannotModifyApprovalRuleFromTemplateException
704
+
705
+ ClientRequestTokenRequiredException.struct_class = Types::ClientRequestTokenRequiredException
706
+
661
707
  Comment.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, location_name: "commentId"))
662
708
  Comment.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "content"))
663
709
  Comment.add_member(:in_reply_to, Shapes::ShapeRef.new(shape: CommentId, location_name: "inReplyTo"))
@@ -668,6 +714,18 @@ module Aws::CodeCommit
668
714
  Comment.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
669
715
  Comment.struct_class = Types::Comment
670
716
 
717
+ CommentContentRequiredException.struct_class = Types::CommentContentRequiredException
718
+
719
+ CommentContentSizeLimitExceededException.struct_class = Types::CommentContentSizeLimitExceededException
720
+
721
+ CommentDeletedException.struct_class = Types::CommentDeletedException
722
+
723
+ CommentDoesNotExistException.struct_class = Types::CommentDoesNotExistException
724
+
725
+ CommentIdRequiredException.struct_class = Types::CommentIdRequiredException
726
+
727
+ CommentNotCreatedByCallerException.struct_class = Types::CommentNotCreatedByCallerException
728
+
671
729
  Comments.member = Shapes::ShapeRef.new(shape: Comment)
672
730
 
673
731
  CommentsForComparedCommit.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
@@ -702,10 +760,26 @@ module Aws::CodeCommit
702
760
  Commit.add_member(:additional_data, Shapes::ShapeRef.new(shape: AdditionalData, location_name: "additionalData"))
703
761
  Commit.struct_class = Types::Commit
704
762
 
763
+ CommitDoesNotExistException.struct_class = Types::CommitDoesNotExistException
764
+
765
+ CommitIdDoesNotExistException.struct_class = Types::CommitIdDoesNotExistException
766
+
767
+ CommitIdRequiredException.struct_class = Types::CommitIdRequiredException
768
+
705
769
  CommitIdsInputList.member = Shapes::ShapeRef.new(shape: ObjectId)
706
770
 
771
+ CommitIdsLimitExceededException.struct_class = Types::CommitIdsLimitExceededException
772
+
773
+ CommitIdsListRequiredException.struct_class = Types::CommitIdsListRequiredException
774
+
775
+ CommitMessageLengthExceededException.struct_class = Types::CommitMessageLengthExceededException
776
+
707
777
  CommitObjectsList.member = Shapes::ShapeRef.new(shape: Commit)
708
778
 
779
+ CommitRequiredException.struct_class = Types::CommitRequiredException
780
+
781
+ ConcurrentReferenceUpdateException.struct_class = Types::ConcurrentReferenceUpdateException
782
+
709
783
  Conflict.add_member(:conflict_metadata, Shapes::ShapeRef.new(shape: ConflictMetadata, location_name: "conflictMetadata"))
710
784
  Conflict.add_member(:merge_hunks, Shapes::ShapeRef.new(shape: MergeHunks, location_name: "mergeHunks"))
711
785
  Conflict.struct_class = Types::Conflict
@@ -805,6 +879,8 @@ module Aws::CodeCommit
805
879
  CreateUnreferencedMergeCommitOutput.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
806
880
  CreateUnreferencedMergeCommitOutput.struct_class = Types::CreateUnreferencedMergeCommitOutput
807
881
 
882
+ DefaultBranchCannotBeDeletedException.struct_class = Types::DefaultBranchCannotBeDeletedException
883
+
808
884
  DeleteApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
809
885
  DeleteApprovalRuleTemplateInput.struct_class = Types::DeleteApprovalRuleTemplateInput
810
886
 
@@ -895,10 +971,22 @@ module Aws::CodeCommit
895
971
 
896
972
  DifferenceList.member = Shapes::ShapeRef.new(shape: Difference)
897
973
 
974
+ DirectoryNameConflictsWithFileNameException.struct_class = Types::DirectoryNameConflictsWithFileNameException
975
+
898
976
  DisassociateApprovalRuleTemplateFromRepositoryInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
899
977
  DisassociateApprovalRuleTemplateFromRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
900
978
  DisassociateApprovalRuleTemplateFromRepositoryInput.struct_class = Types::DisassociateApprovalRuleTemplateFromRepositoryInput
901
979
 
980
+ EncryptionIntegrityChecksFailedException.struct_class = Types::EncryptionIntegrityChecksFailedException
981
+
982
+ EncryptionKeyAccessDeniedException.struct_class = Types::EncryptionKeyAccessDeniedException
983
+
984
+ EncryptionKeyDisabledException.struct_class = Types::EncryptionKeyDisabledException
985
+
986
+ EncryptionKeyNotFoundException.struct_class = Types::EncryptionKeyNotFoundException
987
+
988
+ EncryptionKeyUnavailableException.struct_class = Types::EncryptionKeyUnavailableException
989
+
902
990
  EvaluatePullRequestApprovalRulesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
903
991
  EvaluatePullRequestApprovalRulesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
904
992
  EvaluatePullRequestApprovalRulesInput.struct_class = Types::EvaluatePullRequestApprovalRulesInput
@@ -918,6 +1006,16 @@ module Aws::CodeCommit
918
1006
  File.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "fileMode"))
919
1007
  File.struct_class = Types::File
920
1008
 
1009
+ FileContentAndSourceFileSpecifiedException.struct_class = Types::FileContentAndSourceFileSpecifiedException
1010
+
1011
+ FileContentRequiredException.struct_class = Types::FileContentRequiredException
1012
+
1013
+ FileContentSizeLimitExceededException.struct_class = Types::FileContentSizeLimitExceededException
1014
+
1015
+ FileDoesNotExistException.struct_class = Types::FileDoesNotExistException
1016
+
1017
+ FileEntryRequiredException.struct_class = Types::FileEntryRequiredException
1018
+
921
1019
  FileList.member = Shapes::ShapeRef.new(shape: File)
922
1020
 
923
1021
  FileMetadata.add_member(:absolute_path, Shapes::ShapeRef.new(shape: Path, location_name: "absolutePath"))
@@ -925,11 +1023,17 @@ module Aws::CodeCommit
925
1023
  FileMetadata.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "fileMode"))
926
1024
  FileMetadata.struct_class = Types::FileMetadata
927
1025
 
1026
+ FileModeRequiredException.struct_class = Types::FileModeRequiredException
1027
+
928
1028
  FileModes.add_member(:source, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "source"))
929
1029
  FileModes.add_member(:destination, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "destination"))
930
1030
  FileModes.add_member(:base, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "base"))
931
1031
  FileModes.struct_class = Types::FileModes
932
1032
 
1033
+ FileNameConflictsWithDirectoryNameException.struct_class = Types::FileNameConflictsWithDirectoryNameException
1034
+
1035
+ FilePathConflictsWithSubmodulePathException.struct_class = Types::FilePathConflictsWithSubmodulePathException
1036
+
933
1037
  FilePaths.member = Shapes::ShapeRef.new(shape: Path)
934
1038
 
935
1039
  FileSizes.add_member(:source, Shapes::ShapeRef.new(shape: FileSize, location_name: "source"))
@@ -937,6 +1041,8 @@ module Aws::CodeCommit
937
1041
  FileSizes.add_member(:base, Shapes::ShapeRef.new(shape: FileSize, location_name: "base"))
938
1042
  FileSizes.struct_class = Types::FileSizes
939
1043
 
1044
+ FileTooLargeException.struct_class = Types::FileTooLargeException
1045
+
940
1046
  FilesMetadata.member = Shapes::ShapeRef.new(shape: FileMetadata)
941
1047
 
942
1048
  Folder.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
@@ -944,6 +1050,10 @@ module Aws::CodeCommit
944
1050
  Folder.add_member(:relative_path, Shapes::ShapeRef.new(shape: Path, location_name: "relativePath"))
945
1051
  Folder.struct_class = Types::Folder
946
1052
 
1053
+ FolderContentSizeLimitExceededException.struct_class = Types::FolderContentSizeLimitExceededException
1054
+
1055
+ FolderDoesNotExistException.struct_class = Types::FolderDoesNotExistException
1056
+
947
1057
  FolderList.member = Shapes::ShapeRef.new(shape: Folder)
948
1058
 
949
1059
  GetApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
@@ -1120,6 +1230,130 @@ module Aws::CodeCommit
1120
1230
  GetRepositoryTriggersOutput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, location_name: "triggers"))
1121
1231
  GetRepositoryTriggersOutput.struct_class = Types::GetRepositoryTriggersOutput
1122
1232
 
1233
+ IdempotencyParameterMismatchException.struct_class = Types::IdempotencyParameterMismatchException
1234
+
1235
+ InvalidActorArnException.struct_class = Types::InvalidActorArnException
1236
+
1237
+ InvalidApprovalRuleContentException.struct_class = Types::InvalidApprovalRuleContentException
1238
+
1239
+ InvalidApprovalRuleNameException.struct_class = Types::InvalidApprovalRuleNameException
1240
+
1241
+ InvalidApprovalRuleTemplateContentException.struct_class = Types::InvalidApprovalRuleTemplateContentException
1242
+
1243
+ InvalidApprovalRuleTemplateDescriptionException.struct_class = Types::InvalidApprovalRuleTemplateDescriptionException
1244
+
1245
+ InvalidApprovalRuleTemplateNameException.struct_class = Types::InvalidApprovalRuleTemplateNameException
1246
+
1247
+ InvalidApprovalStateException.struct_class = Types::InvalidApprovalStateException
1248
+
1249
+ InvalidAuthorArnException.struct_class = Types::InvalidAuthorArnException
1250
+
1251
+ InvalidBlobIdException.struct_class = Types::InvalidBlobIdException
1252
+
1253
+ InvalidBranchNameException.struct_class = Types::InvalidBranchNameException
1254
+
1255
+ InvalidClientRequestTokenException.struct_class = Types::InvalidClientRequestTokenException
1256
+
1257
+ InvalidCommentIdException.struct_class = Types::InvalidCommentIdException
1258
+
1259
+ InvalidCommitException.struct_class = Types::InvalidCommitException
1260
+
1261
+ InvalidCommitIdException.struct_class = Types::InvalidCommitIdException
1262
+
1263
+ InvalidConflictDetailLevelException.struct_class = Types::InvalidConflictDetailLevelException
1264
+
1265
+ InvalidConflictResolutionException.struct_class = Types::InvalidConflictResolutionException
1266
+
1267
+ InvalidConflictResolutionStrategyException.struct_class = Types::InvalidConflictResolutionStrategyException
1268
+
1269
+ InvalidContinuationTokenException.struct_class = Types::InvalidContinuationTokenException
1270
+
1271
+ InvalidDeletionParameterException.struct_class = Types::InvalidDeletionParameterException
1272
+
1273
+ InvalidDescriptionException.struct_class = Types::InvalidDescriptionException
1274
+
1275
+ InvalidDestinationCommitSpecifierException.struct_class = Types::InvalidDestinationCommitSpecifierException
1276
+
1277
+ InvalidEmailException.struct_class = Types::InvalidEmailException
1278
+
1279
+ InvalidFileLocationException.struct_class = Types::InvalidFileLocationException
1280
+
1281
+ InvalidFileModeException.struct_class = Types::InvalidFileModeException
1282
+
1283
+ InvalidFilePositionException.struct_class = Types::InvalidFilePositionException
1284
+
1285
+ InvalidMaxConflictFilesException.struct_class = Types::InvalidMaxConflictFilesException
1286
+
1287
+ InvalidMaxMergeHunksException.struct_class = Types::InvalidMaxMergeHunksException
1288
+
1289
+ InvalidMaxResultsException.struct_class = Types::InvalidMaxResultsException
1290
+
1291
+ InvalidMergeOptionException.struct_class = Types::InvalidMergeOptionException
1292
+
1293
+ InvalidOrderException.struct_class = Types::InvalidOrderException
1294
+
1295
+ InvalidOverrideStatusException.struct_class = Types::InvalidOverrideStatusException
1296
+
1297
+ InvalidParentCommitIdException.struct_class = Types::InvalidParentCommitIdException
1298
+
1299
+ InvalidPathException.struct_class = Types::InvalidPathException
1300
+
1301
+ InvalidPullRequestEventTypeException.struct_class = Types::InvalidPullRequestEventTypeException
1302
+
1303
+ InvalidPullRequestIdException.struct_class = Types::InvalidPullRequestIdException
1304
+
1305
+ InvalidPullRequestStatusException.struct_class = Types::InvalidPullRequestStatusException
1306
+
1307
+ InvalidPullRequestStatusUpdateException.struct_class = Types::InvalidPullRequestStatusUpdateException
1308
+
1309
+ InvalidReferenceNameException.struct_class = Types::InvalidReferenceNameException
1310
+
1311
+ InvalidRelativeFileVersionEnumException.struct_class = Types::InvalidRelativeFileVersionEnumException
1312
+
1313
+ InvalidReplacementContentException.struct_class = Types::InvalidReplacementContentException
1314
+
1315
+ InvalidReplacementTypeException.struct_class = Types::InvalidReplacementTypeException
1316
+
1317
+ InvalidRepositoryDescriptionException.struct_class = Types::InvalidRepositoryDescriptionException
1318
+
1319
+ InvalidRepositoryNameException.struct_class = Types::InvalidRepositoryNameException
1320
+
1321
+ InvalidRepositoryTriggerBranchNameException.struct_class = Types::InvalidRepositoryTriggerBranchNameException
1322
+
1323
+ InvalidRepositoryTriggerCustomDataException.struct_class = Types::InvalidRepositoryTriggerCustomDataException
1324
+
1325
+ InvalidRepositoryTriggerDestinationArnException.struct_class = Types::InvalidRepositoryTriggerDestinationArnException
1326
+
1327
+ InvalidRepositoryTriggerEventsException.struct_class = Types::InvalidRepositoryTriggerEventsException
1328
+
1329
+ InvalidRepositoryTriggerNameException.struct_class = Types::InvalidRepositoryTriggerNameException
1330
+
1331
+ InvalidRepositoryTriggerRegionException.struct_class = Types::InvalidRepositoryTriggerRegionException
1332
+
1333
+ InvalidResourceArnException.struct_class = Types::InvalidResourceArnException
1334
+
1335
+ InvalidRevisionIdException.struct_class = Types::InvalidRevisionIdException
1336
+
1337
+ InvalidRuleContentSha256Exception.struct_class = Types::InvalidRuleContentSha256Exception
1338
+
1339
+ InvalidSortByException.struct_class = Types::InvalidSortByException
1340
+
1341
+ InvalidSourceCommitSpecifierException.struct_class = Types::InvalidSourceCommitSpecifierException
1342
+
1343
+ InvalidSystemTagUsageException.struct_class = Types::InvalidSystemTagUsageException
1344
+
1345
+ InvalidTagKeysListException.struct_class = Types::InvalidTagKeysListException
1346
+
1347
+ InvalidTagsMapException.struct_class = Types::InvalidTagsMapException
1348
+
1349
+ InvalidTargetBranchException.struct_class = Types::InvalidTargetBranchException
1350
+
1351
+ InvalidTargetException.struct_class = Types::InvalidTargetException
1352
+
1353
+ InvalidTargetsException.struct_class = Types::InvalidTargetsException
1354
+
1355
+ InvalidTitleException.struct_class = Types::InvalidTitleException
1356
+
1123
1357
  IsBinaryFile.add_member(:source, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "source"))
1124
1358
  IsBinaryFile.add_member(:destination, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "destination"))
1125
1359
  IsBinaryFile.add_member(:base, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "base"))
@@ -1192,6 +1426,28 @@ module Aws::CodeCommit
1192
1426
  Location.add_member(:relative_file_version, Shapes::ShapeRef.new(shape: RelativeFileVersionEnum, location_name: "relativeFileVersion"))
1193
1427
  Location.struct_class = Types::Location
1194
1428
 
1429
+ ManualMergeRequiredException.struct_class = Types::ManualMergeRequiredException
1430
+
1431
+ MaximumBranchesExceededException.struct_class = Types::MaximumBranchesExceededException
1432
+
1433
+ MaximumConflictResolutionEntriesExceededException.struct_class = Types::MaximumConflictResolutionEntriesExceededException
1434
+
1435
+ MaximumFileContentToLoadExceededException.struct_class = Types::MaximumFileContentToLoadExceededException
1436
+
1437
+ MaximumFileEntriesExceededException.struct_class = Types::MaximumFileEntriesExceededException
1438
+
1439
+ MaximumItemsToCompareExceededException.struct_class = Types::MaximumItemsToCompareExceededException
1440
+
1441
+ MaximumNumberOfApprovalsExceededException.struct_class = Types::MaximumNumberOfApprovalsExceededException
1442
+
1443
+ MaximumOpenPullRequestsExceededException.struct_class = Types::MaximumOpenPullRequestsExceededException
1444
+
1445
+ MaximumRepositoryNamesExceededException.struct_class = Types::MaximumRepositoryNamesExceededException
1446
+
1447
+ MaximumRepositoryTriggersExceededException.struct_class = Types::MaximumRepositoryTriggersExceededException
1448
+
1449
+ MaximumRuleTemplatesAssociatedWithRepositoryException.struct_class = Types::MaximumRuleTemplatesAssociatedWithRepositoryException
1450
+
1195
1451
  MergeBranchesByFastForwardInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1196
1452
  MergeBranchesByFastForwardInput.add_member(:source_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "sourceCommitSpecifier"))
1197
1453
  MergeBranchesByFastForwardInput.add_member(:destination_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "destinationCommitSpecifier"))
@@ -1259,6 +1515,8 @@ module Aws::CodeCommit
1259
1515
  MergeOperations.add_member(:destination, Shapes::ShapeRef.new(shape: ChangeTypeEnum, location_name: "destination"))
1260
1516
  MergeOperations.struct_class = Types::MergeOperations
1261
1517
 
1518
+ MergeOptionRequiredException.struct_class = Types::MergeOptionRequiredException
1519
+
1262
1520
  MergeOptions.member = Shapes::ShapeRef.new(shape: MergeOptionTypeEnum)
1263
1521
 
1264
1522
  MergePullRequestByFastForwardInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
@@ -1299,6 +1557,18 @@ module Aws::CodeCommit
1299
1557
  MergePullRequestByThreeWayOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, location_name: "pullRequest"))
1300
1558
  MergePullRequestByThreeWayOutput.struct_class = Types::MergePullRequestByThreeWayOutput
1301
1559
 
1560
+ MultipleConflictResolutionEntriesException.struct_class = Types::MultipleConflictResolutionEntriesException
1561
+
1562
+ MultipleRepositoriesInPullRequestException.struct_class = Types::MultipleRepositoriesInPullRequestException
1563
+
1564
+ NameLengthExceededException.struct_class = Types::NameLengthExceededException
1565
+
1566
+ NoChangeException.struct_class = Types::NoChangeException
1567
+
1568
+ NumberOfRuleTemplatesExceededException.struct_class = Types::NumberOfRuleTemplatesExceededException
1569
+
1570
+ NumberOfRulesExceededException.struct_class = Types::NumberOfRulesExceededException
1571
+
1302
1572
  ObjectTypes.add_member(:source, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "source"))
1303
1573
  ObjectTypes.add_member(:destination, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "destination"))
1304
1574
  ObjectTypes.add_member(:base, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "base"))
@@ -1308,13 +1578,27 @@ module Aws::CodeCommit
1308
1578
  OriginApprovalRuleTemplate.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, location_name: "approvalRuleTemplateName"))
1309
1579
  OriginApprovalRuleTemplate.struct_class = Types::OriginApprovalRuleTemplate
1310
1580
 
1581
+ OverrideAlreadySetException.struct_class = Types::OverrideAlreadySetException
1582
+
1311
1583
  OverridePullRequestApprovalRulesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1312
1584
  OverridePullRequestApprovalRulesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1313
1585
  OverridePullRequestApprovalRulesInput.add_member(:override_status, Shapes::ShapeRef.new(shape: OverrideStatus, required: true, location_name: "overrideStatus"))
1314
1586
  OverridePullRequestApprovalRulesInput.struct_class = Types::OverridePullRequestApprovalRulesInput
1315
1587
 
1588
+ OverrideStatusRequiredException.struct_class = Types::OverrideStatusRequiredException
1589
+
1590
+ ParentCommitDoesNotExistException.struct_class = Types::ParentCommitDoesNotExistException
1591
+
1592
+ ParentCommitIdOutdatedException.struct_class = Types::ParentCommitIdOutdatedException
1593
+
1594
+ ParentCommitIdRequiredException.struct_class = Types::ParentCommitIdRequiredException
1595
+
1316
1596
  ParentList.member = Shapes::ShapeRef.new(shape: ObjectId)
1317
1597
 
1598
+ PathDoesNotExistException.struct_class = Types::PathDoesNotExistException
1599
+
1600
+ PathRequiredException.struct_class = Types::PathRequiredException
1601
+
1318
1602
  PostCommentForComparedCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1319
1603
  PostCommentForComparedCommitInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
1320
1604
  PostCommentForComparedCommitInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "afterCommitId"))
@@ -1372,12 +1656,20 @@ module Aws::CodeCommit
1372
1656
  PullRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: ApprovalRulesList, location_name: "approvalRules"))
1373
1657
  PullRequest.struct_class = Types::PullRequest
1374
1658
 
1659
+ PullRequestAlreadyClosedException.struct_class = Types::PullRequestAlreadyClosedException
1660
+
1661
+ PullRequestApprovalRulesNotSatisfiedException.struct_class = Types::PullRequestApprovalRulesNotSatisfiedException
1662
+
1663
+ PullRequestCannotBeApprovedByAuthorException.struct_class = Types::PullRequestCannotBeApprovedByAuthorException
1664
+
1375
1665
  PullRequestCreatedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1376
1666
  PullRequestCreatedEventMetadata.add_member(:source_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "sourceCommitId"))
1377
1667
  PullRequestCreatedEventMetadata.add_member(:destination_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "destinationCommitId"))
1378
1668
  PullRequestCreatedEventMetadata.add_member(:merge_base, Shapes::ShapeRef.new(shape: CommitId, location_name: "mergeBase"))
1379
1669
  PullRequestCreatedEventMetadata.struct_class = Types::PullRequestCreatedEventMetadata
1380
1670
 
1671
+ PullRequestDoesNotExistException.struct_class = Types::PullRequestDoesNotExistException
1672
+
1381
1673
  PullRequestEvent.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "pullRequestId"))
1382
1674
  PullRequestEvent.add_member(:event_date, Shapes::ShapeRef.new(shape: EventDate, location_name: "eventDate"))
1383
1675
  PullRequestEvent.add_member(:pull_request_event_type, Shapes::ShapeRef.new(shape: PullRequestEventType, location_name: "pullRequestEventType"))
@@ -1395,6 +1687,8 @@ module Aws::CodeCommit
1395
1687
 
1396
1688
  PullRequestIdList.member = Shapes::ShapeRef.new(shape: PullRequestId)
1397
1689
 
1690
+ PullRequestIdRequiredException.struct_class = Types::PullRequestIdRequiredException
1691
+
1398
1692
  PullRequestMergedStateChangedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1399
1693
  PullRequestMergedStateChangedEventMetadata.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
1400
1694
  PullRequestMergedStateChangedEventMetadata.add_member(:merge_metadata, Shapes::ShapeRef.new(shape: MergeMetadata, location_name: "mergeMetadata"))
@@ -1409,6 +1703,8 @@ module Aws::CodeCommit
1409
1703
  PullRequestStatusChangedEventMetadata.add_member(:pull_request_status, Shapes::ShapeRef.new(shape: PullRequestStatusEnum, location_name: "pullRequestStatus"))
1410
1704
  PullRequestStatusChangedEventMetadata.struct_class = Types::PullRequestStatusChangedEventMetadata
1411
1705
 
1706
+ PullRequestStatusRequiredException.struct_class = Types::PullRequestStatusRequiredException
1707
+
1412
1708
  PullRequestTarget.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1413
1709
  PullRequestTarget.add_member(:source_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "sourceReference"))
1414
1710
  PullRequestTarget.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
@@ -1428,6 +1724,8 @@ module Aws::CodeCommit
1428
1724
  PutFileEntry.add_member(:source_file, Shapes::ShapeRef.new(shape: SourceFileSpecifier, location_name: "sourceFile"))
1429
1725
  PutFileEntry.struct_class = Types::PutFileEntry
1430
1726
 
1727
+ PutFileEntryConflictException.struct_class = Types::PutFileEntryConflictException
1728
+
1431
1729
  PutFileInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1432
1730
  PutFileInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
1433
1731
  PutFileInput.add_member(:file_content, Shapes::ShapeRef.new(shape: FileContent, required: true, location_name: "fileContent"))
@@ -1451,6 +1749,12 @@ module Aws::CodeCommit
1451
1749
  PutRepositoryTriggersOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: RepositoryTriggersConfigurationId, location_name: "configurationId"))
1452
1750
  PutRepositoryTriggersOutput.struct_class = Types::PutRepositoryTriggersOutput
1453
1751
 
1752
+ ReferenceDoesNotExistException.struct_class = Types::ReferenceDoesNotExistException
1753
+
1754
+ ReferenceNameRequiredException.struct_class = Types::ReferenceNameRequiredException
1755
+
1756
+ ReferenceTypeNotSupportedException.struct_class = Types::ReferenceTypeNotSupportedException
1757
+
1454
1758
  ReplaceContentEntries.member = Shapes::ShapeRef.new(shape: ReplaceContentEntry)
1455
1759
 
1456
1760
  ReplaceContentEntry.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
@@ -1459,6 +1763,14 @@ module Aws::CodeCommit
1459
1763
  ReplaceContentEntry.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "fileMode"))
1460
1764
  ReplaceContentEntry.struct_class = Types::ReplaceContentEntry
1461
1765
 
1766
+ ReplacementContentRequiredException.struct_class = Types::ReplacementContentRequiredException
1767
+
1768
+ ReplacementTypeRequiredException.struct_class = Types::ReplacementTypeRequiredException
1769
+
1770
+ RepositoryDoesNotExistException.struct_class = Types::RepositoryDoesNotExistException
1771
+
1772
+ RepositoryLimitExceededException.struct_class = Types::RepositoryLimitExceededException
1773
+
1462
1774
  RepositoryMetadata.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
1463
1775
  RepositoryMetadata.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
1464
1776
  RepositoryMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
@@ -1473,6 +1785,8 @@ module Aws::CodeCommit
1473
1785
 
1474
1786
  RepositoryMetadataList.member = Shapes::ShapeRef.new(shape: RepositoryMetadata)
1475
1787
 
1788
+ RepositoryNameExistsException.struct_class = Types::RepositoryNameExistsException
1789
+
1476
1790
  RepositoryNameIdPair.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1477
1791
  RepositoryNameIdPair.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
1478
1792
  RepositoryNameIdPair.struct_class = Types::RepositoryNameIdPair
@@ -1481,6 +1795,12 @@ module Aws::CodeCommit
1481
1795
 
1482
1796
  RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
1483
1797
 
1798
+ RepositoryNameRequiredException.struct_class = Types::RepositoryNameRequiredException
1799
+
1800
+ RepositoryNamesRequiredException.struct_class = Types::RepositoryNamesRequiredException
1801
+
1802
+ RepositoryNotAssociatedWithPullRequestException.struct_class = Types::RepositoryNotAssociatedWithPullRequestException
1803
+
1484
1804
  RepositoryNotFoundList.member = Shapes::ShapeRef.new(shape: RepositoryName)
1485
1805
 
1486
1806
  RepositoryTrigger.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryTriggerName, required: true, location_name: "name"))
@@ -1490,8 +1810,14 @@ module Aws::CodeCommit
1490
1810
  RepositoryTrigger.add_member(:events, Shapes::ShapeRef.new(shape: RepositoryTriggerEventList, required: true, location_name: "events"))
1491
1811
  RepositoryTrigger.struct_class = Types::RepositoryTrigger
1492
1812
 
1813
+ RepositoryTriggerBranchNameListRequiredException.struct_class = Types::RepositoryTriggerBranchNameListRequiredException
1814
+
1815
+ RepositoryTriggerDestinationArnRequiredException.struct_class = Types::RepositoryTriggerDestinationArnRequiredException
1816
+
1493
1817
  RepositoryTriggerEventList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerEventEnum)
1494
1818
 
1819
+ RepositoryTriggerEventsListRequiredException.struct_class = Types::RepositoryTriggerEventsListRequiredException
1820
+
1495
1821
  RepositoryTriggerExecutionFailure.add_member(:trigger, Shapes::ShapeRef.new(shape: RepositoryTriggerName, location_name: "trigger"))
1496
1822
  RepositoryTriggerExecutionFailure.add_member(:failure_message, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureMessage, location_name: "failureMessage"))
1497
1823
  RepositoryTriggerExecutionFailure.struct_class = Types::RepositoryTriggerExecutionFailure
@@ -1500,14 +1826,34 @@ module Aws::CodeCommit
1500
1826
 
1501
1827
  RepositoryTriggerNameList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerName)
1502
1828
 
1829
+ RepositoryTriggerNameRequiredException.struct_class = Types::RepositoryTriggerNameRequiredException
1830
+
1503
1831
  RepositoryTriggersList.member = Shapes::ShapeRef.new(shape: RepositoryTrigger)
1504
1832
 
1833
+ RepositoryTriggersListRequiredException.struct_class = Types::RepositoryTriggersListRequiredException
1834
+
1835
+ ResourceArnRequiredException.struct_class = Types::ResourceArnRequiredException
1836
+
1837
+ RestrictedSourceFileException.struct_class = Types::RestrictedSourceFileException
1838
+
1839
+ RevisionIdRequiredException.struct_class = Types::RevisionIdRequiredException
1840
+
1841
+ RevisionNotCurrentException.struct_class = Types::RevisionNotCurrentException
1842
+
1843
+ SameFileContentException.struct_class = Types::SameFileContentException
1844
+
1845
+ SamePathRequestException.struct_class = Types::SamePathRequestException
1846
+
1505
1847
  SetFileModeEntries.member = Shapes::ShapeRef.new(shape: SetFileModeEntry)
1506
1848
 
1507
1849
  SetFileModeEntry.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
1508
1850
  SetFileModeEntry.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, required: true, location_name: "fileMode"))
1509
1851
  SetFileModeEntry.struct_class = Types::SetFileModeEntry
1510
1852
 
1853
+ SourceAndDestinationAreSameException.struct_class = Types::SourceAndDestinationAreSameException
1854
+
1855
+ SourceFileOrContentRequiredException.struct_class = Types::SourceFileOrContentRequiredException
1856
+
1511
1857
  SourceFileSpecifier.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
1512
1858
  SourceFileSpecifier.add_member(:is_move, Shapes::ShapeRef.new(shape: IsMove, location_name: "isMove"))
1513
1859
  SourceFileSpecifier.struct_class = Types::SourceFileSpecifier
@@ -1529,6 +1875,10 @@ module Aws::CodeCommit
1529
1875
 
1530
1876
  TagKeysList.member = Shapes::ShapeRef.new(shape: TagKey)
1531
1877
 
1878
+ TagKeysListRequiredException.struct_class = Types::TagKeysListRequiredException
1879
+
1880
+ TagPolicyException.struct_class = Types::TagPolicyException
1881
+
1532
1882
  TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1533
1883
  TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
1534
1884
  TagResourceInput.struct_class = Types::TagResourceInput
@@ -1536,6 +1886,8 @@ module Aws::CodeCommit
1536
1886
  TagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
1537
1887
  TagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
1538
1888
 
1889
+ TagsMapRequiredException.struct_class = Types::TagsMapRequiredException
1890
+
1539
1891
  Target.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1540
1892
  Target.add_member(:source_reference, Shapes::ShapeRef.new(shape: ReferenceName, required: true, location_name: "sourceReference"))
1541
1893
  Target.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
@@ -1543,6 +1895,10 @@ module Aws::CodeCommit
1543
1895
 
1544
1896
  TargetList.member = Shapes::ShapeRef.new(shape: Target)
1545
1897
 
1898
+ TargetRequiredException.struct_class = Types::TargetRequiredException
1899
+
1900
+ TargetsRequiredException.struct_class = Types::TargetsRequiredException
1901
+
1546
1902
  TestRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1547
1903
  TestRepositoryTriggersInput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, required: true, location_name: "triggers"))
1548
1904
  TestRepositoryTriggersInput.struct_class = Types::TestRepositoryTriggersInput
@@ -1551,6 +1907,14 @@ module Aws::CodeCommit
1551
1907
  TestRepositoryTriggersOutput.add_member(:failed_executions, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureList, location_name: "failedExecutions"))
1552
1908
  TestRepositoryTriggersOutput.struct_class = Types::TestRepositoryTriggersOutput
1553
1909
 
1910
+ TipOfSourceReferenceIsDifferentException.struct_class = Types::TipOfSourceReferenceIsDifferentException
1911
+
1912
+ TipsDivergenceExceededException.struct_class = Types::TipsDivergenceExceededException
1913
+
1914
+ TitleRequiredException.struct_class = Types::TitleRequiredException
1915
+
1916
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1917
+
1554
1918
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1555
1919
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeysList, required: true, location_name: "tagKeys"))
1556
1920
  UntagResourceInput.struct_class = Types::UntagResourceInput