aws-sdk-codestar 1.18.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bbef39e7300c40e52739653638412d14edc6cfec
4
- data.tar.gz: 7d26e0ab05df2ff5f385124f4f2be6643edd6d10
2
+ SHA256:
3
+ metadata.gz: 6d5738a4c81a80a62432b3f53915f841261dbaa4c3addd84c54bd59a2bb151b1
4
+ data.tar.gz: '02903710d1430cc655dab22263dc3b9458325cc1009c1898250f6156b351aaee'
5
5
  SHA512:
6
- metadata.gz: 70daa3c05f1a6146e787d0ff73a117d6c0e6097689049756939dc444fb2177aaf3440246d0209dd20f5757bee3059ae51f754a9ce5d2fc2ad541d1da2a5197ba
7
- data.tar.gz: 46d37304a014a28642ef31e30b5fb3bb67887f62f8035ac91d8bb39f9b7ee1c5e5451818fd3fb0ffd7092d63668278c2e75ad1f00bab5e97631a08c7b50b3287
6
+ metadata.gz: c5238638c3e53cc501904b644120e4cba248fc56f79baa4254bd8f5856dbd553a04146696ad19ce682dd9d5df24d6f18ea88a25b9690abdce2d7854dd2f72f81
7
+ data.tar.gz: 56e156de6dca457c07063cd7fa092804e44d05fe1e646e6f073c319b104a59350660b7fe83ac1a37a06f455c91d0ac7af9bce15a095fd47cc197c0e1968319b6
@@ -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-codestar/customizations'
24
26
  # methods each accept a hash of request parameters and return a response
25
27
  # structure.
26
28
  #
29
+ # code_star = Aws::CodeStar::Client.new
30
+ # resp = code_star.associate_team_member(params)
31
+ #
27
32
  # See {Client} for more information.
28
33
  #
29
34
  # # Errors
30
35
  #
31
- # Errors returned from AWS CodeStar all
32
- # extend {Errors::ServiceError}.
36
+ # Errors returned from AWS CodeStar 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::CodeStar::Errors::ServiceError
37
- # # rescues all service API errors
42
+ # # rescues all AWS CodeStar API errors
38
43
  # end
39
44
  #
40
45
  # See {Errors} for more information.
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-codestar/customizations'
42
47
  # @service
43
48
  module Aws::CodeStar
44
49
 
45
- GEM_VERSION = '1.18.0'
50
+ GEM_VERSION = '1.23.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(:codestar)
31
34
 
32
35
  module Aws::CodeStar
36
+ # An API client for CodeStar. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::CodeStar::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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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::CodeStar
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`.
@@ -1089,7 +1147,7 @@ module Aws::CodeStar
1089
1147
  params: params,
1090
1148
  config: config)
1091
1149
  context[:gem_name] = 'aws-sdk-codestar'
1092
- context[:gem_version] = '1.18.0'
1150
+ context[:gem_version] = '1.23.0'
1093
1151
  Seahorse::Client::Request.new(handlers, context)
1094
1152
  end
1095
1153
 
@@ -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:
@@ -141,6 +143,8 @@ module Aws::CodeStar
141
143
  CodeSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "s3"))
142
144
  CodeSource.struct_class = Types::CodeSource
143
145
 
146
+ ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
147
+
144
148
  CreateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
145
149
  CreateProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
146
150
  CreateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
@@ -225,6 +229,12 @@ module Aws::CodeStar
225
229
  GitHubCodeDestination.add_member(:token, Shapes::ShapeRef.new(shape: GitHubPersonalToken, required: true, location_name: "token"))
226
230
  GitHubCodeDestination.struct_class = Types::GitHubCodeDestination
227
231
 
232
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
233
+
234
+ InvalidServiceRoleException.struct_class = Types::InvalidServiceRoleException
235
+
236
+ LimitExceededException.struct_class = Types::LimitExceededException
237
+
228
238
  ListProjectsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
229
239
  ListProjectsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true}))
230
240
  ListProjectsRequest.struct_class = Types::ListProjectsRequest
@@ -268,6 +278,14 @@ module Aws::CodeStar
268
278
  ListUserProfilesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
269
279
  ListUserProfilesResult.struct_class = Types::ListUserProfilesResult
270
280
 
281
+ ProjectAlreadyExistsException.struct_class = Types::ProjectAlreadyExistsException
282
+
283
+ ProjectConfigurationException.struct_class = Types::ProjectConfigurationException
284
+
285
+ ProjectCreationFailedException.struct_class = Types::ProjectCreationFailedException
286
+
287
+ ProjectNotFoundException.struct_class = Types::ProjectNotFoundException
288
+
271
289
  ProjectStatus.add_member(:state, Shapes::ShapeRef.new(shape: State, required: true, location_name: "state"))
272
290
  ProjectStatus.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
273
291
  ProjectStatus.struct_class = Types::ProjectStatus
@@ -306,6 +324,10 @@ module Aws::CodeStar
306
324
  TeamMember.add_member(:remote_access_allowed, Shapes::ShapeRef.new(shape: RemoteAccessAllowed, location_name: "remoteAccessAllowed", metadata: {"box"=>true}))
307
325
  TeamMember.struct_class = Types::TeamMember
308
326
 
327
+ TeamMemberAlreadyAssociatedException.struct_class = Types::TeamMemberAlreadyAssociatedException
328
+
329
+ TeamMemberNotFoundException.struct_class = Types::TeamMemberNotFoundException
330
+
309
331
  TeamMemberResult.member = Shapes::ShapeRef.new(shape: TeamMember)
310
332
 
311
333
  TemplateParameterMap.key = Shapes::ShapeRef.new(shape: TemplateParameterKey)
@@ -357,6 +379,10 @@ module Aws::CodeStar
357
379
  UpdateUserProfileResult.add_member(:last_modified_timestamp, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "lastModifiedTimestamp"))
358
380
  UpdateUserProfileResult.struct_class = Types::UpdateUserProfileResult
359
381
 
382
+ UserProfileAlreadyExistsException.struct_class = Types::UserProfileAlreadyExistsException
383
+
384
+ UserProfileNotFoundException.struct_class = Types::UserProfileNotFoundException
385
+
360
386
  UserProfileSummary.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn"))
361
387
  UserProfileSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, location_name: "displayName"))
362
388
  UserProfileSummary.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress"))
@@ -365,6 +391,8 @@ module Aws::CodeStar
365
391
 
366
392
  UserProfilesList.member = Shapes::ShapeRef.new(shape: UserProfileSummary)
367
393
 
394
+ ValidationException.struct_class = Types::ValidationException
395
+
368
396
 
369
397
  # @api private
370
398
  API = Seahorse::Model::Api.new.tap do |api|
@@ -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:
@@ -6,9 +8,174 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CodeStar
11
+
12
+ # When CodeStar returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::CodeStar::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all CodeStar errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::CodeStar::Errors::ServiceError
20
+ # # rescues all CodeStar API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {ConcurrentModificationException}
31
+ # * {InvalidNextTokenException}
32
+ # * {InvalidServiceRoleException}
33
+ # * {LimitExceededException}
34
+ # * {ProjectAlreadyExistsException}
35
+ # * {ProjectConfigurationException}
36
+ # * {ProjectCreationFailedException}
37
+ # * {ProjectNotFoundException}
38
+ # * {TeamMemberAlreadyAssociatedException}
39
+ # * {TeamMemberNotFoundException}
40
+ # * {UserProfileAlreadyExistsException}
41
+ # * {UserProfileNotFoundException}
42
+ # * {ValidationException}
43
+ #
44
+ # Additionally, error classes are dynamically generated for service errors based on the error code
45
+ # if they are not defined above.
9
46
  module Errors
10
47
 
11
48
  extend Aws::Errors::DynamicErrors
12
49
 
50
+ class ConcurrentModificationException < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::CodeStar::Types::ConcurrentModificationException] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+ end
59
+
60
+ class InvalidNextTokenException < ServiceError
61
+
62
+ # @param [Seahorse::Client::RequestContext] context
63
+ # @param [String] message
64
+ # @param [Aws::CodeStar::Types::InvalidNextTokenException] data
65
+ def initialize(context, message, data = Aws::EmptyStructure.new)
66
+ super(context, message, data)
67
+ end
68
+ end
69
+
70
+ class InvalidServiceRoleException < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::CodeStar::Types::InvalidServiceRoleException] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+ end
79
+
80
+ class LimitExceededException < ServiceError
81
+
82
+ # @param [Seahorse::Client::RequestContext] context
83
+ # @param [String] message
84
+ # @param [Aws::CodeStar::Types::LimitExceededException] data
85
+ def initialize(context, message, data = Aws::EmptyStructure.new)
86
+ super(context, message, data)
87
+ end
88
+ end
89
+
90
+ class ProjectAlreadyExistsException < ServiceError
91
+
92
+ # @param [Seahorse::Client::RequestContext] context
93
+ # @param [String] message
94
+ # @param [Aws::CodeStar::Types::ProjectAlreadyExistsException] data
95
+ def initialize(context, message, data = Aws::EmptyStructure.new)
96
+ super(context, message, data)
97
+ end
98
+ end
99
+
100
+ class ProjectConfigurationException < ServiceError
101
+
102
+ # @param [Seahorse::Client::RequestContext] context
103
+ # @param [String] message
104
+ # @param [Aws::CodeStar::Types::ProjectConfigurationException] data
105
+ def initialize(context, message, data = Aws::EmptyStructure.new)
106
+ super(context, message, data)
107
+ end
108
+ end
109
+
110
+ class ProjectCreationFailedException < ServiceError
111
+
112
+ # @param [Seahorse::Client::RequestContext] context
113
+ # @param [String] message
114
+ # @param [Aws::CodeStar::Types::ProjectCreationFailedException] data
115
+ def initialize(context, message, data = Aws::EmptyStructure.new)
116
+ super(context, message, data)
117
+ end
118
+ end
119
+
120
+ class ProjectNotFoundException < ServiceError
121
+
122
+ # @param [Seahorse::Client::RequestContext] context
123
+ # @param [String] message
124
+ # @param [Aws::CodeStar::Types::ProjectNotFoundException] data
125
+ def initialize(context, message, data = Aws::EmptyStructure.new)
126
+ super(context, message, data)
127
+ end
128
+ end
129
+
130
+ class TeamMemberAlreadyAssociatedException < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::CodeStar::Types::TeamMemberAlreadyAssociatedException] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+ end
139
+
140
+ class TeamMemberNotFoundException < ServiceError
141
+
142
+ # @param [Seahorse::Client::RequestContext] context
143
+ # @param [String] message
144
+ # @param [Aws::CodeStar::Types::TeamMemberNotFoundException] data
145
+ def initialize(context, message, data = Aws::EmptyStructure.new)
146
+ super(context, message, data)
147
+ end
148
+ end
149
+
150
+ class UserProfileAlreadyExistsException < ServiceError
151
+
152
+ # @param [Seahorse::Client::RequestContext] context
153
+ # @param [String] message
154
+ # @param [Aws::CodeStar::Types::UserProfileAlreadyExistsException] data
155
+ def initialize(context, message, data = Aws::EmptyStructure.new)
156
+ super(context, message, data)
157
+ end
158
+ end
159
+
160
+ class UserProfileNotFoundException < ServiceError
161
+
162
+ # @param [Seahorse::Client::RequestContext] context
163
+ # @param [String] message
164
+ # @param [Aws::CodeStar::Types::UserProfileNotFoundException] data
165
+ def initialize(context, message, data = Aws::EmptyStructure.new)
166
+ super(context, message, data)
167
+ end
168
+ end
169
+
170
+ class ValidationException < ServiceError
171
+
172
+ # @param [Seahorse::Client::RequestContext] context
173
+ # @param [String] message
174
+ # @param [Aws::CodeStar::Types::ValidationException] data
175
+ def initialize(context, message, data = Aws::EmptyStructure.new)
176
+ super(context, message, data)
177
+ end
178
+ end
179
+
13
180
  end
14
181
  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:
@@ -6,6 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CodeStar
11
+
9
12
  class Resource
10
13
 
11
14
  # @param options ({})
@@ -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:
@@ -54,6 +56,7 @@ module Aws::CodeStar
54
56
  :user_arn,
55
57
  :project_role,
56
58
  :remote_access_allowed)
59
+ SENSITIVE = []
57
60
  include Aws::Structure
58
61
  end
59
62
 
@@ -66,6 +69,7 @@ module Aws::CodeStar
66
69
  #
67
70
  class AssociateTeamMemberResult < Struct.new(
68
71
  :client_request_token)
72
+ SENSITIVE = []
69
73
  include Aws::Structure
70
74
  end
71
75
 
@@ -117,6 +121,7 @@ module Aws::CodeStar
117
121
  class Code < Struct.new(
118
122
  :source,
119
123
  :destination)
124
+ SENSITIVE = []
120
125
  include Aws::Structure
121
126
  end
122
127
 
@@ -140,6 +145,7 @@ module Aws::CodeStar
140
145
  #
141
146
  class CodeCommitCodeDestination < Struct.new(
142
147
  :name)
148
+ SENSITIVE = []
143
149
  include Aws::Structure
144
150
  end
145
151
 
@@ -183,6 +189,7 @@ module Aws::CodeStar
183
189
  class CodeDestination < Struct.new(
184
190
  :code_commit,
185
191
  :git_hub)
192
+ SENSITIVE = []
186
193
  include Aws::Structure
187
194
  end
188
195
 
@@ -209,9 +216,17 @@ module Aws::CodeStar
209
216
  #
210
217
  class CodeSource < Struct.new(
211
218
  :s3)
219
+ SENSITIVE = []
212
220
  include Aws::Structure
213
221
  end
214
222
 
223
+ # Another modification is being made. That modification must complete
224
+ # before you can make your change.
225
+ #
226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ConcurrentModificationException AWS API Documentation
227
+ #
228
+ class ConcurrentModificationException < Aws::EmptyStructure; end
229
+
215
230
  # @note When making an API call, you may pass CreateProjectRequest
216
231
  # data as a hash:
217
232
  #
@@ -305,6 +320,7 @@ module Aws::CodeStar
305
320
  :source_code,
306
321
  :toolchain,
307
322
  :tags)
323
+ SENSITIVE = [:name, :description]
308
324
  include Aws::Structure
309
325
  end
310
326
 
@@ -332,6 +348,7 @@ module Aws::CodeStar
332
348
  :arn,
333
349
  :client_request_token,
334
350
  :project_template_id)
351
+ SENSITIVE = []
335
352
  include Aws::Structure
336
353
  end
337
354
 
@@ -373,6 +390,7 @@ module Aws::CodeStar
373
390
  :display_name,
374
391
  :email_address,
375
392
  :ssh_public_key)
393
+ SENSITIVE = [:display_name, :email_address]
376
394
  include Aws::Structure
377
395
  end
378
396
 
@@ -414,6 +432,7 @@ module Aws::CodeStar
414
432
  :ssh_public_key,
415
433
  :created_timestamp,
416
434
  :last_modified_timestamp)
435
+ SENSITIVE = [:display_name, :email_address]
417
436
  include Aws::Structure
418
437
  end
419
438
 
@@ -450,6 +469,7 @@ module Aws::CodeStar
450
469
  :id,
451
470
  :client_request_token,
452
471
  :delete_stack)
472
+ SENSITIVE = []
453
473
  include Aws::Structure
454
474
  end
455
475
 
@@ -467,6 +487,7 @@ module Aws::CodeStar
467
487
  class DeleteProjectResult < Struct.new(
468
488
  :stack_id,
469
489
  :project_arn)
490
+ SENSITIVE = []
470
491
  include Aws::Structure
471
492
  end
472
493
 
@@ -486,6 +507,7 @@ module Aws::CodeStar
486
507
  #
487
508
  class DeleteUserProfileRequest < Struct.new(
488
509
  :user_arn)
510
+ SENSITIVE = []
489
511
  include Aws::Structure
490
512
  end
491
513
 
@@ -498,6 +520,7 @@ module Aws::CodeStar
498
520
  #
499
521
  class DeleteUserProfileResult < Struct.new(
500
522
  :user_arn)
523
+ SENSITIVE = []
501
524
  include Aws::Structure
502
525
  end
503
526
 
@@ -516,6 +539,7 @@ module Aws::CodeStar
516
539
  #
517
540
  class DescribeProjectRequest < Struct.new(
518
541
  :id)
542
+ SENSITIVE = []
519
543
  include Aws::Structure
520
544
  end
521
545
 
@@ -570,6 +594,7 @@ module Aws::CodeStar
570
594
  :stack_id,
571
595
  :project_template_id,
572
596
  :status)
597
+ SENSITIVE = [:name, :description]
573
598
  include Aws::Structure
574
599
  end
575
600
 
@@ -588,6 +613,7 @@ module Aws::CodeStar
588
613
  #
589
614
  class DescribeUserProfileRequest < Struct.new(
590
615
  :user_arn)
616
+ SENSITIVE = []
591
617
  include Aws::Structure
592
618
  end
593
619
 
@@ -640,6 +666,7 @@ module Aws::CodeStar
640
666
  :ssh_public_key,
641
667
  :created_timestamp,
642
668
  :last_modified_timestamp)
669
+ SENSITIVE = [:display_name, :email_address]
643
670
  include Aws::Structure
644
671
  end
645
672
 
@@ -666,6 +693,7 @@ module Aws::CodeStar
666
693
  class DisassociateTeamMemberRequest < Struct.new(
667
694
  :project_id,
668
695
  :user_arn)
696
+ SENSITIVE = []
669
697
  include Aws::Structure
670
698
  end
671
699
 
@@ -732,9 +760,28 @@ module Aws::CodeStar
732
760
  :private_repository,
733
761
  :issues_enabled,
734
762
  :token)
763
+ SENSITIVE = [:token]
735
764
  include Aws::Structure
736
765
  end
737
766
 
767
+ # The next token is not valid.
768
+ #
769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/InvalidNextTokenException AWS API Documentation
770
+ #
771
+ class InvalidNextTokenException < Aws::EmptyStructure; end
772
+
773
+ # The service role is not valid.
774
+ #
775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/InvalidServiceRoleException AWS API Documentation
776
+ #
777
+ class InvalidServiceRoleException < Aws::EmptyStructure; end
778
+
779
+ # A resource limit has been exceeded.
780
+ #
781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/LimitExceededException AWS API Documentation
782
+ #
783
+ class LimitExceededException < Aws::EmptyStructure; end
784
+
738
785
  # @note When making an API call, you may pass ListProjectsRequest
739
786
  # data as a hash:
740
787
  #
@@ -758,6 +805,7 @@ module Aws::CodeStar
758
805
  class ListProjectsRequest < Struct.new(
759
806
  :next_token,
760
807
  :max_results)
808
+ SENSITIVE = []
761
809
  include Aws::Structure
762
810
  end
763
811
 
@@ -775,6 +823,7 @@ module Aws::CodeStar
775
823
  class ListProjectsResult < Struct.new(
776
824
  :projects,
777
825
  :next_token)
826
+ SENSITIVE = []
778
827
  include Aws::Structure
779
828
  end
780
829
 
@@ -807,6 +856,7 @@ module Aws::CodeStar
807
856
  :project_id,
808
857
  :next_token,
809
858
  :max_results)
859
+ SENSITIVE = []
810
860
  include Aws::Structure
811
861
  end
812
862
 
@@ -824,6 +874,7 @@ module Aws::CodeStar
824
874
  class ListResourcesResult < Struct.new(
825
875
  :resources,
826
876
  :next_token)
877
+ SENSITIVE = []
827
878
  include Aws::Structure
828
879
  end
829
880
 
@@ -854,6 +905,7 @@ module Aws::CodeStar
854
905
  :id,
855
906
  :next_token,
856
907
  :max_results)
908
+ SENSITIVE = []
857
909
  include Aws::Structure
858
910
  end
859
911
 
@@ -870,6 +922,7 @@ module Aws::CodeStar
870
922
  class ListTagsForProjectResult < Struct.new(
871
923
  :tags,
872
924
  :next_token)
925
+ SENSITIVE = []
873
926
  include Aws::Structure
874
927
  end
875
928
 
@@ -901,6 +954,7 @@ module Aws::CodeStar
901
954
  :project_id,
902
955
  :next_token,
903
956
  :max_results)
957
+ SENSITIVE = []
904
958
  include Aws::Structure
905
959
  end
906
960
 
@@ -918,6 +972,7 @@ module Aws::CodeStar
918
972
  class ListTeamMembersResult < Struct.new(
919
973
  :team_members,
920
974
  :next_token)
975
+ SENSITIVE = []
921
976
  include Aws::Structure
922
977
  end
923
978
 
@@ -943,6 +998,7 @@ module Aws::CodeStar
943
998
  class ListUserProfilesRequest < Struct.new(
944
999
  :next_token,
945
1000
  :max_results)
1001
+ SENSITIVE = []
946
1002
  include Aws::Structure
947
1003
  end
948
1004
 
@@ -960,9 +1016,38 @@ module Aws::CodeStar
960
1016
  class ListUserProfilesResult < Struct.new(
961
1017
  :user_profiles,
962
1018
  :next_token)
1019
+ SENSITIVE = []
963
1020
  include Aws::Structure
964
1021
  end
965
1022
 
1023
+ # An AWS CodeStar project with the same ID already exists in this region
1024
+ # for the AWS account. AWS CodeStar project IDs must be unique within a
1025
+ # region for the AWS account.
1026
+ #
1027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectAlreadyExistsException AWS API Documentation
1028
+ #
1029
+ class ProjectAlreadyExistsException < Aws::EmptyStructure; end
1030
+
1031
+ # Project configuration information is required but not specified.
1032
+ #
1033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectConfigurationException AWS API Documentation
1034
+ #
1035
+ class ProjectConfigurationException < Aws::EmptyStructure; end
1036
+
1037
+ # The project creation request was valid, but a nonspecific exception or
1038
+ # error occurred during project creation. The project could not be
1039
+ # created in AWS CodeStar.
1040
+ #
1041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectCreationFailedException AWS API Documentation
1042
+ #
1043
+ class ProjectCreationFailedException < Aws::EmptyStructure; end
1044
+
1045
+ # The specified AWS CodeStar project was not found.
1046
+ #
1047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectNotFoundException AWS API Documentation
1048
+ #
1049
+ class ProjectNotFoundException < Aws::EmptyStructure; end
1050
+
966
1051
  # An indication of whether a project creation or deletion is failed or
967
1052
  # successful.
968
1053
  #
@@ -980,6 +1065,7 @@ module Aws::CodeStar
980
1065
  class ProjectStatus < Struct.new(
981
1066
  :state,
982
1067
  :reason)
1068
+ SENSITIVE = []
983
1069
  include Aws::Structure
984
1070
  end
985
1071
 
@@ -998,6 +1084,7 @@ module Aws::CodeStar
998
1084
  class ProjectSummary < Struct.new(
999
1085
  :project_id,
1000
1086
  :project_arn)
1087
+ SENSITIVE = []
1001
1088
  include Aws::Structure
1002
1089
  end
1003
1090
 
@@ -1011,6 +1098,7 @@ module Aws::CodeStar
1011
1098
  #
1012
1099
  class Resource < Struct.new(
1013
1100
  :id)
1101
+ SENSITIVE = []
1014
1102
  include Aws::Structure
1015
1103
  end
1016
1104
 
@@ -1040,6 +1128,7 @@ module Aws::CodeStar
1040
1128
  class S3Location < Struct.new(
1041
1129
  :bucket_name,
1042
1130
  :bucket_key)
1131
+ SENSITIVE = []
1043
1132
  include Aws::Structure
1044
1133
  end
1045
1134
 
@@ -1066,6 +1155,7 @@ module Aws::CodeStar
1066
1155
  class TagProjectRequest < Struct.new(
1067
1156
  :id,
1068
1157
  :tags)
1158
+ SENSITIVE = []
1069
1159
  include Aws::Structure
1070
1160
  end
1071
1161
 
@@ -1077,6 +1167,7 @@ module Aws::CodeStar
1077
1167
  #
1078
1168
  class TagProjectResult < Struct.new(
1079
1169
  :tags)
1170
+ SENSITIVE = []
1080
1171
  include Aws::Structure
1081
1172
  end
1082
1173
 
@@ -1107,9 +1198,22 @@ module Aws::CodeStar
1107
1198
  :user_arn,
1108
1199
  :project_role,
1109
1200
  :remote_access_allowed)
1201
+ SENSITIVE = []
1110
1202
  include Aws::Structure
1111
1203
  end
1112
1204
 
1205
+ # The team member is already associated with a role in this project.
1206
+ #
1207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMemberAlreadyAssociatedException AWS API Documentation
1208
+ #
1209
+ class TeamMemberAlreadyAssociatedException < Aws::EmptyStructure; end
1210
+
1211
+ # The specified team member was not found.
1212
+ #
1213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMemberNotFoundException AWS API Documentation
1214
+ #
1215
+ class TeamMemberNotFoundException < Aws::EmptyStructure; end
1216
+
1113
1217
  # The toolchain template file provided with the project request. AWS
1114
1218
  # CodeStar uses the template to provision the toolchain stack in AWS
1115
1219
  # CloudFormation.
@@ -1152,6 +1256,7 @@ module Aws::CodeStar
1152
1256
  :source,
1153
1257
  :role_arn,
1154
1258
  :stack_parameters)
1259
+ SENSITIVE = []
1155
1260
  include Aws::Structure
1156
1261
  end
1157
1262
 
@@ -1178,6 +1283,7 @@ module Aws::CodeStar
1178
1283
  #
1179
1284
  class ToolchainSource < Struct.new(
1180
1285
  :s3)
1286
+ SENSITIVE = []
1181
1287
  include Aws::Structure
1182
1288
  end
1183
1289
 
@@ -1202,6 +1308,7 @@ module Aws::CodeStar
1202
1308
  class UntagProjectRequest < Struct.new(
1203
1309
  :id,
1204
1310
  :tags)
1311
+ SENSITIVE = []
1205
1312
  include Aws::Structure
1206
1313
  end
1207
1314
 
@@ -1236,6 +1343,7 @@ module Aws::CodeStar
1236
1343
  :id,
1237
1344
  :name,
1238
1345
  :description)
1346
+ SENSITIVE = [:name, :description]
1239
1347
  include Aws::Structure
1240
1348
  end
1241
1349
 
@@ -1286,6 +1394,7 @@ module Aws::CodeStar
1286
1394
  :user_arn,
1287
1395
  :project_role,
1288
1396
  :remote_access_allowed)
1397
+ SENSITIVE = []
1289
1398
  include Aws::Structure
1290
1399
  end
1291
1400
 
@@ -1310,6 +1419,7 @@ module Aws::CodeStar
1310
1419
  :user_arn,
1311
1420
  :project_role,
1312
1421
  :remote_access_allowed)
1422
+ SENSITIVE = []
1313
1423
  include Aws::Structure
1314
1424
  end
1315
1425
 
@@ -1352,6 +1462,7 @@ module Aws::CodeStar
1352
1462
  :display_name,
1353
1463
  :email_address,
1354
1464
  :ssh_public_key)
1465
+ SENSITIVE = [:display_name, :email_address]
1355
1466
  include Aws::Structure
1356
1467
  end
1357
1468
 
@@ -1393,9 +1504,24 @@ module Aws::CodeStar
1393
1504
  :ssh_public_key,
1394
1505
  :created_timestamp,
1395
1506
  :last_modified_timestamp)
1507
+ SENSITIVE = [:display_name, :email_address]
1396
1508
  include Aws::Structure
1397
1509
  end
1398
1510
 
1511
+ # A user profile with that name already exists in this region for the
1512
+ # AWS account. AWS CodeStar user profile names must be unique within a
1513
+ # region for the AWS account.
1514
+ #
1515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileAlreadyExistsException AWS API Documentation
1516
+ #
1517
+ class UserProfileAlreadyExistsException < Aws::EmptyStructure; end
1518
+
1519
+ # The user profile was not found.
1520
+ #
1521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileNotFoundException AWS API Documentation
1522
+ #
1523
+ class UserProfileNotFoundException < Aws::EmptyStructure; end
1524
+
1399
1525
  # Information about a user's profile in AWS CodeStar.
1400
1526
  #
1401
1527
  # @!attribute [rw] user_arn
@@ -1433,8 +1559,15 @@ module Aws::CodeStar
1433
1559
  :display_name,
1434
1560
  :email_address,
1435
1561
  :ssh_public_key)
1562
+ SENSITIVE = [:display_name, :email_address]
1436
1563
  include Aws::Structure
1437
1564
  end
1438
1565
 
1566
+ # The specified input is either not valid, or it could not be validated.
1567
+ #
1568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ValidationException AWS API Documentation
1569
+ #
1570
+ class ValidationException < Aws::EmptyStructure; end
1571
+
1439
1572
  end
1440
1573
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codestar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.23.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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2020-06-23 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - CodeStar