aws-sdk-codestar 1.6.0 → 1.7.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
2
  SHA1:
3
- metadata.gz: 20233688ec89b54e00da91e5b4cc53e48757384f
4
- data.tar.gz: 16bb1e6aaa31fd1ceb0868772ed247c81e2f7e3f
3
+ metadata.gz: 76547f395f508aa8ff27e930b37682fcb38938f2
4
+ data.tar.gz: fbf2262638208cd218f4e1657368401875bac616
5
5
  SHA512:
6
- metadata.gz: b794dec946ad125d5f01616a8f0ab8b974b5d7602b490fcb90dbdf538b4d26fe3a99e55659f0530ba98167f9a118ab6e7d6618af7066b01c7087eb34ae4fb4ac
7
- data.tar.gz: c645a241847ccc8253ad4c141ae78278bff931f7eb16ad2e25923f351836405336fb944ccc7381d79ed062a3402732e4fd1ec8add0025c718f63c02a50b245cf
6
+ metadata.gz: 0cb97383b086e96503b8603ba75f9edf425fef63497b99b8bf42fa846a80c9ca6da004f9896b55d6454f5d72629d4a4dade1c2450f509690bba73352078655c3
7
+ data.tar.gz: cae29905123460b95a3f1950b71cc3b0627a2eef8ae71092b5e5b377d45d1a6e7057467c932f6f453dba8a5b7ae434c057d5eb68e731ddecc14bdc25058cc3f2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codestar/customizations'
42
42
  # @service
43
43
  module Aws::CodeStar
44
44
 
45
- GEM_VERSION = '1.6.0'
45
+ GEM_VERSION = '1.7.0'
46
46
 
47
47
  end
@@ -54,131 +54,133 @@ module Aws::CodeStar
54
54
  add_plugin(Aws::Plugins::SignatureV4)
55
55
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
56
56
 
57
- # @option options [required, Aws::CredentialProvider] :credentials
58
- # Your AWS credentials. This can be an instance of any one of the
59
- # following classes:
57
+ # @overload initialize(options)
58
+ # @param [Hash] options
59
+ # @option options [required, Aws::CredentialProvider] :credentials
60
+ # Your AWS credentials. This can be an instance of any one of the
61
+ # following classes:
60
62
  #
61
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
62
- # credentials.
63
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
64
+ # credentials.
63
65
  #
64
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
65
- # from an EC2 IMDS on an EC2 instance.
66
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
67
+ # from an EC2 IMDS on an EC2 instance.
66
68
  #
67
- # * `Aws::SharedCredentials` - Used for loading credentials from a
68
- # shared file, such as `~/.aws/config`.
69
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
70
+ # shared file, such as `~/.aws/config`.
69
71
  #
70
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
72
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
71
73
  #
72
- # When `:credentials` are not configured directly, the following
73
- # locations will be searched for credentials:
74
+ # When `:credentials` are not configured directly, the following
75
+ # locations will be searched for credentials:
76
+ #
77
+ # * `Aws.config[:credentials]`
78
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
79
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
80
+ # * `~/.aws/credentials`
81
+ # * `~/.aws/config`
82
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
83
+ # very aggressive. Construct and pass an instance of
84
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
85
+ # timeouts.
74
86
  #
75
- # * `Aws.config[:credentials]`
76
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
77
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
78
- # * `~/.aws/credentials`
79
- # * `~/.aws/config`
80
- # * EC2 IMDS instance profile - When used by default, the timeouts are
81
- # very aggressive. Construct and pass an instance of
82
- # `Aws::InstanceProfileCredentails` to enable retries and extended
83
- # timeouts.
87
+ # @option options [required, String] :region
88
+ # The AWS region to connect to. The configured `:region` is
89
+ # used to determine the service `:endpoint`. When not passed,
90
+ # a default `:region` is search for in the following locations:
84
91
  #
85
- # @option options [required, String] :region
86
- # The AWS region to connect to. The configured `:region` is
87
- # used to determine the service `:endpoint`. When not passed,
88
- # a default `:region` is search for in the following locations:
92
+ # * `Aws.config[:region]`
93
+ # * `ENV['AWS_REGION']`
94
+ # * `ENV['AMAZON_REGION']`
95
+ # * `ENV['AWS_DEFAULT_REGION']`
96
+ # * `~/.aws/credentials`
97
+ # * `~/.aws/config`
89
98
  #
90
- # * `Aws.config[:region]`
91
- # * `ENV['AWS_REGION']`
92
- # * `ENV['AMAZON_REGION']`
93
- # * `ENV['AWS_DEFAULT_REGION']`
94
- # * `~/.aws/credentials`
95
- # * `~/.aws/config`
99
+ # @option options [String] :access_key_id
96
100
  #
97
- # @option options [String] :access_key_id
101
+ # @option options [Boolean] :client_side_monitoring (false)
102
+ # When `true`, client-side metrics will be collected for all API requests from
103
+ # this client.
98
104
  #
99
- # @option options [Boolean] :client_side_monitoring (false)
100
- # When `true`, client-side metrics will be collected for all API requests from
101
- # this client.
105
+ # @option options [String] :client_side_monitoring_client_id ("")
106
+ # Allows you to provide an identifier for this client which will be attached to
107
+ # all generated client side metrics. Defaults to an empty string.
102
108
  #
103
- # @option options [String] :client_side_monitoring_client_id ("")
104
- # Allows you to provide an identifier for this client which will be attached to
105
- # all generated client side metrics. Defaults to an empty string.
109
+ # @option options [Integer] :client_side_monitoring_port (31000)
110
+ # Required for publishing client metrics. The port that the client side monitoring
111
+ # agent is running on, where client metrics will be published via UDP.
106
112
  #
107
- # @option options [Integer] :client_side_monitoring_port (31000)
108
- # Required for publishing client metrics. The port that the client side monitoring
109
- # agent is running on, where client metrics will be published via UDP.
113
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
114
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
115
+ # will use the Client Side Monitoring Agent Publisher.
110
116
  #
111
- # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
112
- # Allows you to provide a custom client-side monitoring publisher class. By default,
113
- # will use the Client Side Monitoring Agent Publisher.
117
+ # @option options [Boolean] :convert_params (true)
118
+ # When `true`, an attempt is made to coerce request parameters into
119
+ # the required types.
114
120
  #
115
- # @option options [Boolean] :convert_params (true)
116
- # When `true`, an attempt is made to coerce request parameters into
117
- # the required types.
121
+ # @option options [String] :endpoint
122
+ # The client endpoint is normally constructed from the `:region`
123
+ # option. You should only configure an `:endpoint` when connecting
124
+ # to test endpoints. This should be avalid HTTP(S) URI.
118
125
  #
119
- # @option options [String] :endpoint
120
- # The client endpoint is normally constructed from the `:region`
121
- # option. You should only configure an `:endpoint` when connecting
122
- # to test endpoints. This should be avalid HTTP(S) URI.
126
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
+ # The log formatter.
123
128
  #
124
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
125
- # The log formatter.
129
+ # @option options [Symbol] :log_level (:info)
130
+ # The log level to send messages to the `:logger` at.
126
131
  #
127
- # @option options [Symbol] :log_level (:info)
128
- # The log level to send messages to the `:logger` at.
132
+ # @option options [Logger] :logger
133
+ # The Logger instance to send log messages to. If this option
134
+ # is not set, logging will be disabled.
129
135
  #
130
- # @option options [Logger] :logger
131
- # The Logger instance to send log messages to. If this option
132
- # is not set, logging will be disabled.
136
+ # @option options [String] :profile ("default")
137
+ # Used when loading credentials from the shared credentials file
138
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
133
139
  #
134
- # @option options [String] :profile ("default")
135
- # Used when loading credentials from the shared credentials file
136
- # at HOME/.aws/credentials. When not specified, 'default' is used.
140
+ # @option options [Float] :retry_base_delay (0.3)
141
+ # The base delay in seconds used by the default backoff function.
137
142
  #
138
- # @option options [Float] :retry_base_delay (0.3)
139
- # The base delay in seconds used by the default backoff function.
143
+ # @option options [Symbol] :retry_jitter (:none)
144
+ # 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.
140
145
  #
141
- # @option options [Symbol] :retry_jitter (:none)
142
- # 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.
146
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
143
147
  #
144
- # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
148
+ # @option options [Integer] :retry_limit (3)
149
+ # The maximum number of times to retry failed requests. Only
150
+ # ~ 500 level server errors and certain ~ 400 level client errors
151
+ # are retried. Generally, these are throttling errors, data
152
+ # checksum errors, networking errors, timeout errors and auth
153
+ # errors from expired credentials.
145
154
  #
146
- # @option options [Integer] :retry_limit (3)
147
- # The maximum number of times to retry failed requests. Only
148
- # ~ 500 level server errors and certain ~ 400 level client errors
149
- # are retried. Generally, these are throttling errors, data
150
- # checksum errors, networking errors, timeout errors and auth
151
- # errors from expired credentials.
155
+ # @option options [Integer] :retry_max_delay (0)
156
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
152
157
  #
153
- # @option options [Integer] :retry_max_delay (0)
154
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
158
+ # @option options [String] :secret_access_key
155
159
  #
156
- # @option options [String] :secret_access_key
160
+ # @option options [String] :session_token
157
161
  #
158
- # @option options [String] :session_token
162
+ # @option options [Boolean] :simple_json (false)
163
+ # Disables request parameter conversion, validation, and formatting.
164
+ # Also disable response data type conversions. This option is useful
165
+ # when you want to ensure the highest level of performance by
166
+ # avoiding overhead of walking request parameters and response data
167
+ # structures.
159
168
  #
160
- # @option options [Boolean] :simple_json (false)
161
- # Disables request parameter conversion, validation, and formatting.
162
- # Also disable response data type conversions. This option is useful
163
- # when you want to ensure the highest level of performance by
164
- # avoiding overhead of walking request parameters and response data
165
- # structures.
169
+ # When `:simple_json` is enabled, the request parameters hash must
170
+ # be formatted exactly as the DynamoDB API expects.
166
171
  #
167
- # When `:simple_json` is enabled, the request parameters hash must
168
- # be formatted exactly as the DynamoDB API expects.
172
+ # @option options [Boolean] :stub_responses (false)
173
+ # Causes the client to return stubbed responses. By default
174
+ # fake responses are generated and returned. You can specify
175
+ # the response data to return or errors to raise by calling
176
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
177
+ #
178
+ # ** Please note ** When response stubbing is enabled, no HTTP
179
+ # requests are made, and retries are disabled.
169
180
  #
170
- # @option options [Boolean] :stub_responses (false)
171
- # Causes the client to return stubbed responses. By default
172
- # fake responses are generated and returned. You can specify
173
- # the response data to return or errors to raise by calling
174
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
175
- #
176
- # ** Please note ** When response stubbing is enabled, no HTTP
177
- # requests are made, and retries are disabled.
178
- #
179
- # @option options [Boolean] :validate_params (true)
180
- # When `true`, request parameters are validated before
181
- # sending the request.
181
+ # @option options [Boolean] :validate_params (true)
182
+ # When `true`, request parameters are validated before
183
+ # sending the request.
182
184
  #
183
185
  def initialize(*args)
184
186
  super
@@ -236,20 +238,34 @@ module Aws::CodeStar
236
238
  req.send_request(options)
237
239
  end
238
240
 
239
- # Reserved for future use. To create a project, use the AWS CodeStar
240
- # console.
241
+ # Creates a project, including project resources. This action creates a
242
+ # project based on a submitted project request. A set of source code
243
+ # files and a toolchain template file can be included with the project
244
+ # request. If these are not provided, an empty project is created.
241
245
  #
242
246
  # @option params [required, String] :name
243
- # Reserved for future use.
247
+ # The display name for the project to be created in AWS CodeStar.
244
248
  #
245
249
  # @option params [required, String] :id
246
- # Reserved for future use.
250
+ # The ID of the project to be created in AWS CodeStar.
247
251
  #
248
252
  # @option params [String] :description
249
- # Reserved for future use.
253
+ # The description of the project, if any.
250
254
  #
251
255
  # @option params [String] :client_request_token
252
- # Reserved for future use.
256
+ # A user- or system-generated token that identifies the entity that
257
+ # requested project creation. This token can be used to repeat the
258
+ # request.
259
+ #
260
+ # @option params [Array<Types::Code>] :source_code
261
+ # A list of the Code objects submitted with the project request. If this
262
+ # parameter is specified, the request must also include the toolchain
263
+ # parameter.
264
+ #
265
+ # @option params [Types::Toolchain] :toolchain
266
+ # The name of the toolchain template file submitted with the project
267
+ # request. If this parameter is specified, the request must also include
268
+ # the sourceCode parameter.
253
269
  #
254
270
  # @option params [Hash<String,String>] :tags
255
271
  # The tags created for the project.
@@ -268,6 +284,42 @@ module Aws::CodeStar
268
284
  # id: "ProjectId", # required
269
285
  # description: "ProjectDescription",
270
286
  # client_request_token: "ClientRequestToken",
287
+ # source_code: [
288
+ # {
289
+ # source: { # required
290
+ # s3: { # required
291
+ # bucket_name: "BucketName",
292
+ # bucket_key: "BucketKey",
293
+ # },
294
+ # },
295
+ # destination: { # required
296
+ # code_commit: {
297
+ # name: "RepositoryName", # required
298
+ # },
299
+ # git_hub: {
300
+ # name: "RepositoryName", # required
301
+ # description: "RepositoryDescription",
302
+ # type: "RepositoryType", # required
303
+ # owner: "RepositoryOwner", # required
304
+ # private_repository: false, # required
305
+ # issues_enabled: false, # required
306
+ # token: "GitHubPersonalToken", # required
307
+ # },
308
+ # },
309
+ # },
310
+ # ],
311
+ # toolchain: {
312
+ # source: { # required
313
+ # s3: { # required
314
+ # bucket_name: "BucketName",
315
+ # bucket_key: "BucketKey",
316
+ # },
317
+ # },
318
+ # role_arn: "RoleArn",
319
+ # stack_parameters: {
320
+ # "TemplateParameterKey" => "TemplateParameterValue",
321
+ # },
322
+ # },
271
323
  # tags: {
272
324
  # "TagKey" => "TagValue",
273
325
  # },
@@ -961,7 +1013,7 @@ module Aws::CodeStar
961
1013
  params: params,
962
1014
  config: config)
963
1015
  context[:gem_name] = 'aws-sdk-codestar'
964
- context[:gem_version] = '1.6.0'
1016
+ context[:gem_version] = '1.7.0'
965
1017
  Seahorse::Client::Request.new(handlers, context)
966
1018
  end
967
1019
 
@@ -13,7 +13,13 @@ module Aws::CodeStar
13
13
 
14
14
  AssociateTeamMemberRequest = Shapes::StructureShape.new(name: 'AssociateTeamMemberRequest')
15
15
  AssociateTeamMemberResult = Shapes::StructureShape.new(name: 'AssociateTeamMemberResult')
16
+ BucketKey = Shapes::StringShape.new(name: 'BucketKey')
17
+ BucketName = Shapes::StringShape.new(name: 'BucketName')
16
18
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
19
+ Code = Shapes::StructureShape.new(name: 'Code')
20
+ CodeCommitCodeDestination = Shapes::StructureShape.new(name: 'CodeCommitCodeDestination')
21
+ CodeDestination = Shapes::StructureShape.new(name: 'CodeDestination')
22
+ CodeSource = Shapes::StructureShape.new(name: 'CodeSource')
17
23
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
18
24
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
19
25
  CreateProjectResult = Shapes::StructureShape.new(name: 'CreateProjectResult')
@@ -32,6 +38,8 @@ module Aws::CodeStar
32
38
  DisassociateTeamMemberRequest = Shapes::StructureShape.new(name: 'DisassociateTeamMemberRequest')
33
39
  DisassociateTeamMemberResult = Shapes::StructureShape.new(name: 'DisassociateTeamMemberResult')
34
40
  Email = Shapes::StringShape.new(name: 'Email')
41
+ GitHubCodeDestination = Shapes::StructureShape.new(name: 'GitHubCodeDestination')
42
+ GitHubPersonalToken = Shapes::StringShape.new(name: 'GitHubPersonalToken')
35
43
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
36
44
  InvalidServiceRoleException = Shapes::StructureShape.new(name: 'InvalidServiceRoleException')
37
45
  LastModifiedTimestamp = Shapes::TimestampShape.new(name: 'LastModifiedTimestamp')
@@ -62,10 +70,19 @@ module Aws::CodeStar
62
70
  ProjectsList = Shapes::ListShape.new(name: 'ProjectsList')
63
71
  Reason = Shapes::StringShape.new(name: 'Reason')
64
72
  RemoteAccessAllowed = Shapes::BooleanShape.new(name: 'RemoteAccessAllowed')
73
+ RepositoryDescription = Shapes::StringShape.new(name: 'RepositoryDescription')
74
+ RepositoryEnableIssues = Shapes::BooleanShape.new(name: 'RepositoryEnableIssues')
75
+ RepositoryIsPrivate = Shapes::BooleanShape.new(name: 'RepositoryIsPrivate')
76
+ RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
77
+ RepositoryOwner = Shapes::StringShape.new(name: 'RepositoryOwner')
78
+ RepositoryType = Shapes::StringShape.new(name: 'RepositoryType')
65
79
  Resource = Shapes::StructureShape.new(name: 'Resource')
66
80
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
67
81
  ResourcesResult = Shapes::ListShape.new(name: 'ResourcesResult')
68
82
  Role = Shapes::StringShape.new(name: 'Role')
83
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
84
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
85
+ SourceCode = Shapes::ListShape.new(name: 'SourceCode')
69
86
  SshPublicKey = Shapes::StringShape.new(name: 'SshPublicKey')
70
87
  StackId = Shapes::StringShape.new(name: 'StackId')
71
88
  State = Shapes::StringShape.new(name: 'State')
@@ -79,6 +96,11 @@ module Aws::CodeStar
79
96
  TeamMemberAlreadyAssociatedException = Shapes::StructureShape.new(name: 'TeamMemberAlreadyAssociatedException')
80
97
  TeamMemberNotFoundException = Shapes::StructureShape.new(name: 'TeamMemberNotFoundException')
81
98
  TeamMemberResult = Shapes::ListShape.new(name: 'TeamMemberResult')
99
+ TemplateParameterKey = Shapes::StringShape.new(name: 'TemplateParameterKey')
100
+ TemplateParameterMap = Shapes::MapShape.new(name: 'TemplateParameterMap')
101
+ TemplateParameterValue = Shapes::StringShape.new(name: 'TemplateParameterValue')
102
+ Toolchain = Shapes::StructureShape.new(name: 'Toolchain')
103
+ ToolchainSource = Shapes::StructureShape.new(name: 'ToolchainSource')
82
104
  UntagProjectRequest = Shapes::StructureShape.new(name: 'UntagProjectRequest')
83
105
  UntagProjectResult = Shapes::StructureShape.new(name: 'UntagProjectResult')
84
106
  UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest')
@@ -105,10 +127,26 @@ module Aws::CodeStar
105
127
  AssociateTeamMemberResult.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
106
128
  AssociateTeamMemberResult.struct_class = Types::AssociateTeamMemberResult
107
129
 
130
+ Code.add_member(:source, Shapes::ShapeRef.new(shape: CodeSource, required: true, location_name: "source"))
131
+ Code.add_member(:destination, Shapes::ShapeRef.new(shape: CodeDestination, required: true, location_name: "destination"))
132
+ Code.struct_class = Types::Code
133
+
134
+ CodeCommitCodeDestination.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "name"))
135
+ CodeCommitCodeDestination.struct_class = Types::CodeCommitCodeDestination
136
+
137
+ CodeDestination.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitCodeDestination, location_name: "codeCommit"))
138
+ CodeDestination.add_member(:git_hub, Shapes::ShapeRef.new(shape: GitHubCodeDestination, location_name: "gitHub"))
139
+ CodeDestination.struct_class = Types::CodeDestination
140
+
141
+ CodeSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "s3"))
142
+ CodeSource.struct_class = Types::CodeSource
143
+
108
144
  CreateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
109
145
  CreateProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
110
146
  CreateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
111
147
  CreateProjectRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
148
+ CreateProjectRequest.add_member(:source_code, Shapes::ShapeRef.new(shape: SourceCode, location_name: "sourceCode"))
149
+ CreateProjectRequest.add_member(:toolchain, Shapes::ShapeRef.new(shape: Toolchain, location_name: "toolchain"))
112
150
  CreateProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
113
151
  CreateProjectRequest.struct_class = Types::CreateProjectRequest
114
152
 
@@ -178,6 +216,15 @@ module Aws::CodeStar
178
216
 
179
217
  DisassociateTeamMemberResult.struct_class = Types::DisassociateTeamMemberResult
180
218
 
219
+ GitHubCodeDestination.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "name"))
220
+ GitHubCodeDestination.add_member(:description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "description"))
221
+ GitHubCodeDestination.add_member(:type, Shapes::ShapeRef.new(shape: RepositoryType, required: true, location_name: "type"))
222
+ GitHubCodeDestination.add_member(:owner, Shapes::ShapeRef.new(shape: RepositoryOwner, required: true, location_name: "owner"))
223
+ GitHubCodeDestination.add_member(:private_repository, Shapes::ShapeRef.new(shape: RepositoryIsPrivate, required: true, location_name: "privateRepository"))
224
+ GitHubCodeDestination.add_member(:issues_enabled, Shapes::ShapeRef.new(shape: RepositoryEnableIssues, required: true, location_name: "issuesEnabled"))
225
+ GitHubCodeDestination.add_member(:token, Shapes::ShapeRef.new(shape: GitHubPersonalToken, required: true, location_name: "token"))
226
+ GitHubCodeDestination.struct_class = Types::GitHubCodeDestination
227
+
181
228
  ListProjectsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
182
229
  ListProjectsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true}))
183
230
  ListProjectsRequest.struct_class = Types::ListProjectsRequest
@@ -236,6 +283,12 @@ module Aws::CodeStar
236
283
 
237
284
  ResourcesResult.member = Shapes::ShapeRef.new(shape: Resource)
238
285
 
286
+ S3Location.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucketName"))
287
+ S3Location.add_member(:bucket_key, Shapes::ShapeRef.new(shape: BucketKey, location_name: "bucketKey"))
288
+ S3Location.struct_class = Types::S3Location
289
+
290
+ SourceCode.member = Shapes::ShapeRef.new(shape: Code)
291
+
239
292
  TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
240
293
 
241
294
  TagProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
@@ -255,6 +308,17 @@ module Aws::CodeStar
255
308
 
256
309
  TeamMemberResult.member = Shapes::ShapeRef.new(shape: TeamMember)
257
310
 
311
+ TemplateParameterMap.key = Shapes::ShapeRef.new(shape: TemplateParameterKey)
312
+ TemplateParameterMap.value = Shapes::ShapeRef.new(shape: TemplateParameterValue)
313
+
314
+ Toolchain.add_member(:source, Shapes::ShapeRef.new(shape: ToolchainSource, required: true, location_name: "source"))
315
+ Toolchain.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
316
+ Toolchain.add_member(:stack_parameters, Shapes::ShapeRef.new(shape: TemplateParameterMap, location_name: "stackParameters"))
317
+ Toolchain.struct_class = Types::Toolchain
318
+
319
+ ToolchainSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "s3"))
320
+ ToolchainSource.struct_class = Types::ToolchainSource
321
+
258
322
  UntagProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
259
323
  UntagProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tags"))
260
324
  UntagProjectRequest.struct_class = Types::UntagProjectRequest
@@ -69,6 +69,149 @@ module Aws::CodeStar
69
69
  include Aws::Structure
70
70
  end
71
71
 
72
+ # Location and destination information about the source code files
73
+ # provided with the project request. The source code is uploaded to the
74
+ # new project source repository after project creation.
75
+ #
76
+ # @note When making an API call, you may pass Code
77
+ # data as a hash:
78
+ #
79
+ # {
80
+ # source: { # required
81
+ # s3: { # required
82
+ # bucket_name: "BucketName",
83
+ # bucket_key: "BucketKey",
84
+ # },
85
+ # },
86
+ # destination: { # required
87
+ # code_commit: {
88
+ # name: "RepositoryName", # required
89
+ # },
90
+ # git_hub: {
91
+ # name: "RepositoryName", # required
92
+ # description: "RepositoryDescription",
93
+ # type: "RepositoryType", # required
94
+ # owner: "RepositoryOwner", # required
95
+ # private_repository: false, # required
96
+ # issues_enabled: false, # required
97
+ # token: "GitHubPersonalToken", # required
98
+ # },
99
+ # },
100
+ # }
101
+ #
102
+ # @!attribute [rw] source
103
+ # The location where the source code files provided with the project
104
+ # request are stored. AWS CodeStar retrieves the files during project
105
+ # creation.
106
+ # @return [Types::CodeSource]
107
+ #
108
+ # @!attribute [rw] destination
109
+ # The repository to be created in AWS CodeStar. Valid values are AWS
110
+ # CodeCommit or GitHub. After AWS CodeStar provisions the new
111
+ # repository, the source code files provided with the project request
112
+ # are placed in the repository.
113
+ # @return [Types::CodeDestination]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Code AWS API Documentation
116
+ #
117
+ class Code < Struct.new(
118
+ :source,
119
+ :destination)
120
+ include Aws::Structure
121
+ end
122
+
123
+ # Information about the AWS CodeCommit repository to be created in AWS
124
+ # CodeStar. This is where the source code files provided with the
125
+ # project request will be uploaded after project creation.
126
+ #
127
+ # @note When making an API call, you may pass CodeCommitCodeDestination
128
+ # data as a hash:
129
+ #
130
+ # {
131
+ # name: "RepositoryName", # required
132
+ # }
133
+ #
134
+ # @!attribute [rw] name
135
+ # The name of the AWS CodeCommit repository to be created in AWS
136
+ # CodeStar.
137
+ # @return [String]
138
+ #
139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeCommitCodeDestination AWS API Documentation
140
+ #
141
+ class CodeCommitCodeDestination < Struct.new(
142
+ :name)
143
+ include Aws::Structure
144
+ end
145
+
146
+ # The repository to be created in AWS CodeStar. Valid values are AWS
147
+ # CodeCommit or GitHub. After AWS CodeStar provisions the new
148
+ # repository, the source code files provided with the project request
149
+ # are placed in the repository.
150
+ #
151
+ # @note When making an API call, you may pass CodeDestination
152
+ # data as a hash:
153
+ #
154
+ # {
155
+ # code_commit: {
156
+ # name: "RepositoryName", # required
157
+ # },
158
+ # git_hub: {
159
+ # name: "RepositoryName", # required
160
+ # description: "RepositoryDescription",
161
+ # type: "RepositoryType", # required
162
+ # owner: "RepositoryOwner", # required
163
+ # private_repository: false, # required
164
+ # issues_enabled: false, # required
165
+ # token: "GitHubPersonalToken", # required
166
+ # },
167
+ # }
168
+ #
169
+ # @!attribute [rw] code_commit
170
+ # Information about the AWS CodeCommit repository to be created in AWS
171
+ # CodeStar. This is where the source code files provided with the
172
+ # project request will be uploaded after project creation.
173
+ # @return [Types::CodeCommitCodeDestination]
174
+ #
175
+ # @!attribute [rw] git_hub
176
+ # Information about the GitHub repository to be created in AWS
177
+ # CodeStar. This is where the source code files provided with the
178
+ # project request will be uploaded after project creation.
179
+ # @return [Types::GitHubCodeDestination]
180
+ #
181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeDestination AWS API Documentation
182
+ #
183
+ class CodeDestination < Struct.new(
184
+ :code_commit,
185
+ :git_hub)
186
+ include Aws::Structure
187
+ end
188
+
189
+ # The location where the source code files provided with the project
190
+ # request are stored. AWS CodeStar retrieves the files during project
191
+ # creation.
192
+ #
193
+ # @note When making an API call, you may pass CodeSource
194
+ # data as a hash:
195
+ #
196
+ # {
197
+ # s3: { # required
198
+ # bucket_name: "BucketName",
199
+ # bucket_key: "BucketKey",
200
+ # },
201
+ # }
202
+ #
203
+ # @!attribute [rw] s3
204
+ # Information about the Amazon S3 location where the source code files
205
+ # provided with the project request are stored.
206
+ # @return [Types::S3Location]
207
+ #
208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeSource AWS API Documentation
209
+ #
210
+ class CodeSource < Struct.new(
211
+ :s3)
212
+ include Aws::Structure
213
+ end
214
+
72
215
  # @note When making an API call, you may pass CreateProjectRequest
73
216
  # data as a hash:
74
217
  #
@@ -77,27 +220,77 @@ module Aws::CodeStar
77
220
  # id: "ProjectId", # required
78
221
  # description: "ProjectDescription",
79
222
  # client_request_token: "ClientRequestToken",
223
+ # source_code: [
224
+ # {
225
+ # source: { # required
226
+ # s3: { # required
227
+ # bucket_name: "BucketName",
228
+ # bucket_key: "BucketKey",
229
+ # },
230
+ # },
231
+ # destination: { # required
232
+ # code_commit: {
233
+ # name: "RepositoryName", # required
234
+ # },
235
+ # git_hub: {
236
+ # name: "RepositoryName", # required
237
+ # description: "RepositoryDescription",
238
+ # type: "RepositoryType", # required
239
+ # owner: "RepositoryOwner", # required
240
+ # private_repository: false, # required
241
+ # issues_enabled: false, # required
242
+ # token: "GitHubPersonalToken", # required
243
+ # },
244
+ # },
245
+ # },
246
+ # ],
247
+ # toolchain: {
248
+ # source: { # required
249
+ # s3: { # required
250
+ # bucket_name: "BucketName",
251
+ # bucket_key: "BucketKey",
252
+ # },
253
+ # },
254
+ # role_arn: "RoleArn",
255
+ # stack_parameters: {
256
+ # "TemplateParameterKey" => "TemplateParameterValue",
257
+ # },
258
+ # },
80
259
  # tags: {
81
260
  # "TagKey" => "TagValue",
82
261
  # },
83
262
  # }
84
263
  #
85
264
  # @!attribute [rw] name
86
- # Reserved for future use.
265
+ # The display name for the project to be created in AWS CodeStar.
87
266
  # @return [String]
88
267
  #
89
268
  # @!attribute [rw] id
90
- # Reserved for future use.
269
+ # The ID of the project to be created in AWS CodeStar.
91
270
  # @return [String]
92
271
  #
93
272
  # @!attribute [rw] description
94
- # Reserved for future use.
273
+ # The description of the project, if any.
95
274
  # @return [String]
96
275
  #
97
276
  # @!attribute [rw] client_request_token
98
- # Reserved for future use.
277
+ # A user- or system-generated token that identifies the entity that
278
+ # requested project creation. This token can be used to repeat the
279
+ # request.
99
280
  # @return [String]
100
281
  #
282
+ # @!attribute [rw] source_code
283
+ # A list of the Code objects submitted with the project request. If
284
+ # this parameter is specified, the request must also include the
285
+ # toolchain parameter.
286
+ # @return [Array<Types::Code>]
287
+ #
288
+ # @!attribute [rw] toolchain
289
+ # The name of the toolchain template file submitted with the project
290
+ # request. If this parameter is specified, the request must also
291
+ # include the sourceCode parameter.
292
+ # @return [Types::Toolchain]
293
+ #
101
294
  # @!attribute [rw] tags
102
295
  # The tags created for the project.
103
296
  # @return [Hash<String,String>]
@@ -109,20 +302,23 @@ module Aws::CodeStar
109
302
  :id,
110
303
  :description,
111
304
  :client_request_token,
305
+ :source_code,
306
+ :toolchain,
112
307
  :tags)
113
308
  include Aws::Structure
114
309
  end
115
310
 
116
311
  # @!attribute [rw] id
117
- # Reserved for future use.
312
+ # The ID of the project.
118
313
  # @return [String]
119
314
  #
120
315
  # @!attribute [rw] arn
121
- # Reserved for future use.
316
+ # The Amazon Resource Name (ARN) of the created project.
122
317
  # @return [String]
123
318
  #
124
319
  # @!attribute [rw] client_request_token
125
- # Reserved for future use.
320
+ # A user- or system-generated token that identifies the entity that
321
+ # requested project creation.
126
322
  # @return [String]
127
323
  #
128
324
  # @!attribute [rw] project_template_id
@@ -477,6 +673,68 @@ module Aws::CodeStar
477
673
  #
478
674
  class DisassociateTeamMemberResult < Aws::EmptyStructure; end
479
675
 
676
+ # Information about the GitHub repository to be created in AWS CodeStar.
677
+ # This is where the source code files provided with the project request
678
+ # will be uploaded after project creation.
679
+ #
680
+ # @note When making an API call, you may pass GitHubCodeDestination
681
+ # data as a hash:
682
+ #
683
+ # {
684
+ # name: "RepositoryName", # required
685
+ # description: "RepositoryDescription",
686
+ # type: "RepositoryType", # required
687
+ # owner: "RepositoryOwner", # required
688
+ # private_repository: false, # required
689
+ # issues_enabled: false, # required
690
+ # token: "GitHubPersonalToken", # required
691
+ # }
692
+ #
693
+ # @!attribute [rw] name
694
+ # Name of the GitHub repository to be created in AWS CodeStar.
695
+ # @return [String]
696
+ #
697
+ # @!attribute [rw] description
698
+ # Description for the GitHub repository to be created in AWS CodeStar.
699
+ # This description displays in GitHub after the repository is created.
700
+ # @return [String]
701
+ #
702
+ # @!attribute [rw] type
703
+ # The type of GitHub repository to be created in AWS CodeStar. Valid
704
+ # values are User or Organization.
705
+ # @return [String]
706
+ #
707
+ # @!attribute [rw] owner
708
+ # The GitHub username for the owner of the GitHub repository to be
709
+ # created in AWS CodeStar. If this repository should be owned by a
710
+ # GitHub organization, provide its name.
711
+ # @return [String]
712
+ #
713
+ # @!attribute [rw] private_repository
714
+ # Whether the GitHub repository is to be a private repository.
715
+ # @return [Boolean]
716
+ #
717
+ # @!attribute [rw] issues_enabled
718
+ # Whether to enable issues for the GitHub repository.
719
+ # @return [Boolean]
720
+ #
721
+ # @!attribute [rw] token
722
+ # The GitHub user's personal access token for the GitHub repository.
723
+ # @return [String]
724
+ #
725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/GitHubCodeDestination AWS API Documentation
726
+ #
727
+ class GitHubCodeDestination < Struct.new(
728
+ :name,
729
+ :description,
730
+ :type,
731
+ :owner,
732
+ :private_repository,
733
+ :issues_enabled,
734
+ :token)
735
+ include Aws::Structure
736
+ end
737
+
480
738
  # @note When making an API call, you may pass ListProjectsRequest
481
739
  # data as a hash:
482
740
  #
@@ -756,6 +1014,35 @@ module Aws::CodeStar
756
1014
  include Aws::Structure
757
1015
  end
758
1016
 
1017
+ # The Amazon S3 location where the source code files provided with the
1018
+ # project request are stored.
1019
+ #
1020
+ # @note When making an API call, you may pass S3Location
1021
+ # data as a hash:
1022
+ #
1023
+ # {
1024
+ # bucket_name: "BucketName",
1025
+ # bucket_key: "BucketKey",
1026
+ # }
1027
+ #
1028
+ # @!attribute [rw] bucket_name
1029
+ # The Amazon S3 bucket name where the source code files provided with
1030
+ # the project request are stored.
1031
+ # @return [String]
1032
+ #
1033
+ # @!attribute [rw] bucket_key
1034
+ # The Amazon S3 object key where the source code files provided with
1035
+ # the project request are stored.
1036
+ # @return [String]
1037
+ #
1038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/S3Location AWS API Documentation
1039
+ #
1040
+ class S3Location < Struct.new(
1041
+ :bucket_name,
1042
+ :bucket_key)
1043
+ include Aws::Structure
1044
+ end
1045
+
759
1046
  # @note When making an API call, you may pass TagProjectRequest
760
1047
  # data as a hash:
761
1048
  #
@@ -823,6 +1110,77 @@ module Aws::CodeStar
823
1110
  include Aws::Structure
824
1111
  end
825
1112
 
1113
+ # The toolchain template file provided with the project request. AWS
1114
+ # CodeStar uses the template to provision the toolchain stack in AWS
1115
+ # CloudFormation.
1116
+ #
1117
+ # @note When making an API call, you may pass Toolchain
1118
+ # data as a hash:
1119
+ #
1120
+ # {
1121
+ # source: { # required
1122
+ # s3: { # required
1123
+ # bucket_name: "BucketName",
1124
+ # bucket_key: "BucketKey",
1125
+ # },
1126
+ # },
1127
+ # role_arn: "RoleArn",
1128
+ # stack_parameters: {
1129
+ # "TemplateParameterKey" => "TemplateParameterValue",
1130
+ # },
1131
+ # }
1132
+ #
1133
+ # @!attribute [rw] source
1134
+ # The Amazon S3 location where the toolchain template file provided
1135
+ # with the project request is stored. AWS CodeStar retrieves the file
1136
+ # during project creation.
1137
+ # @return [Types::ToolchainSource]
1138
+ #
1139
+ # @!attribute [rw] role_arn
1140
+ # The service role ARN for AWS CodeStar to use for the toolchain
1141
+ # template during stack provisioning.
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] stack_parameters
1145
+ # The list of parameter overrides to be passed into the toolchain
1146
+ # template during stack provisioning, if any.
1147
+ # @return [Hash<String,String>]
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Toolchain AWS API Documentation
1150
+ #
1151
+ class Toolchain < Struct.new(
1152
+ :source,
1153
+ :role_arn,
1154
+ :stack_parameters)
1155
+ include Aws::Structure
1156
+ end
1157
+
1158
+ # The Amazon S3 location where the toolchain template file provided with
1159
+ # the project request is stored. AWS CodeStar retrieves the file during
1160
+ # project creation.
1161
+ #
1162
+ # @note When making an API call, you may pass ToolchainSource
1163
+ # data as a hash:
1164
+ #
1165
+ # {
1166
+ # s3: { # required
1167
+ # bucket_name: "BucketName",
1168
+ # bucket_key: "BucketKey",
1169
+ # },
1170
+ # }
1171
+ #
1172
+ # @!attribute [rw] s3
1173
+ # The Amazon S3 bucket where the toolchain template file provided with
1174
+ # the project request is stored.
1175
+ # @return [Types::S3Location]
1176
+ #
1177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ToolchainSource AWS API Documentation
1178
+ #
1179
+ class ToolchainSource < Struct.new(
1180
+ :s3)
1181
+ include Aws::Structure
1182
+ end
1183
+
826
1184
  # @note When making an API call, you may pass UntagProjectRequest
827
1185
  # data as a hash:
828
1186
  #
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.6.0
4
+ version: 1.7.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: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core