aws-sdk-amplify 1.73.0 → 1.74.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
  SHA256:
3
- metadata.gz: 0f3c63fc9ce6f56cf29dc1871dd17f6e55f15bd7395f256b4d4fe66e52c7f2e0
4
- data.tar.gz: 8941e96d5bfb768b22be6e74f37120b22601ff4de8c53ae0d2eb437c097ca558
3
+ metadata.gz: 0ac30633c88d99d94f0d20733f7dcea2de19d0973fe66db573551ebc45c2686f
4
+ data.tar.gz: c268d09e149eef051f3d6994d2d31a0eda446a2dd4076cf5bcfbb21833b44d2d
5
5
  SHA512:
6
- metadata.gz: 8ba5bd0c8a6a14ab9e3d3e3181b912fc446aaa8c35a6e2646196584e448e9cb1abf00be149c0b8575c7ad2038ee3896bc63ad199b97e3886a362a42510f4b3f5
7
- data.tar.gz: 9adfa1e2e718d438d11e630f4923a6efcb595c57f50ee700de4c9eeb38f8e55bc02da579769299893dff20b80dbbe4d7564bc28eca9b40ec339b059e9b8b6d3a
6
+ metadata.gz: 5d8644ad0a5d320df955e97f3e0c673aa33cbb1925460ec466fe097873bc96441f24b3c437801584f2e9fa45e4779b8a16660fba7abb940ef2c4881fc094703e
7
+ data.tar.gz: 75ee73b48ccffeb1e0391c6751be694f98d0e6ccf75334cf658a3cf37e06636d6610be8c9fcf5bd1d9a6720ba10c941717cd15bc2b54dd6d4ef0239bd8ca9e31
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.74.0 (2024-10-15)
5
+ ------------------
6
+
7
+ * Feature - Added sourceUrlType field to StartDeployment request
8
+
4
9
  1.73.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.74.0
@@ -894,7 +894,7 @@ module Aws::Amplify
894
894
  end
895
895
 
896
896
  # Creates a deployment for a manually deployed Amplify app. Manually
897
- # deployed apps are not connected to a repository.
897
+ # deployed apps are not connected to a Git repository.
898
898
  #
899
899
  # The maximum duration between the `CreateDeployment` call and the
900
900
  # `StartDeployment` call cannot exceed 8 hours. If the duration exceeds
@@ -1329,6 +1329,8 @@ module Aws::Amplify
1329
1329
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1330
1330
  # resp.job_summary.end_time #=> Time
1331
1331
  # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
1332
+ # resp.job_summary.source_url #=> String
1333
+ # resp.job_summary.source_url_type #=> String, one of "ZIP", "BUCKET_PREFIX"
1332
1334
  #
1333
1335
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob AWS API Documentation
1334
1336
  #
@@ -1707,6 +1709,8 @@ module Aws::Amplify
1707
1709
  # resp.job.summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1708
1710
  # resp.job.summary.end_time #=> Time
1709
1711
  # resp.job.summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
1712
+ # resp.job.summary.source_url #=> String
1713
+ # resp.job.summary.source_url_type #=> String, one of "ZIP", "BUCKET_PREFIX"
1710
1714
  # resp.job.steps #=> Array
1711
1715
  # resp.job.steps[0].step_name #=> String
1712
1716
  # resp.job.steps[0].start_time #=> Time
@@ -2131,6 +2135,8 @@ module Aws::Amplify
2131
2135
  # resp.job_summaries[0].status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2132
2136
  # resp.job_summaries[0].end_time #=> Time
2133
2137
  # resp.job_summaries[0].job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
2138
+ # resp.job_summaries[0].source_url #=> String
2139
+ # resp.job_summaries[0].source_url_type #=> String, one of "ZIP", "BUCKET_PREFIX"
2134
2140
  # resp.next_token #=> String
2135
2141
  #
2136
2142
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs AWS API Documentation
@@ -2219,7 +2225,7 @@ module Aws::Amplify
2219
2225
  end
2220
2226
 
2221
2227
  # Starts a deployment for a manually deployed app. Manually deployed
2222
- # apps are not connected to a repository.
2228
+ # apps are not connected to a Git repository.
2223
2229
  #
2224
2230
  # The maximum duration between the `CreateDeployment` call and the
2225
2231
  # `StartDeployment` call cannot exceed 8 hours. If the duration exceeds
@@ -2230,16 +2236,23 @@ module Aws::Amplify
2230
2236
  # The unique ID for an Amplify app.
2231
2237
  #
2232
2238
  # @option params [required, String] :branch_name
2233
- # The name of the branch to use for the job.
2239
+ # The name of the branch to use for the deployment job.
2234
2240
  #
2235
2241
  # @option params [String] :job_id
2236
- # The job ID for this deployment, generated by the create deployment
2237
- # request.
2242
+ # The job ID for this deployment that is generated by the
2243
+ # `CreateDeployment` request.
2238
2244
  #
2239
2245
  # @option params [String] :source_url
2240
- # The source URL for this deployment, used when calling start deployment
2241
- # without create deployment. The source URL can be any HTTP GET URL that
2242
- # is publicly accessible and downloads a single .zip file.
2246
+ # The source URL for the deployment that is used when calling
2247
+ # `StartDeployment` without `CreateDeployment`. The source URL can be
2248
+ # either an HTTP GET URL that is publicly accessible and downloads a
2249
+ # single .zip file, or an Amazon S3 bucket and prefix.
2250
+ #
2251
+ # @option params [String] :source_url_type
2252
+ # The type of source specified by the `sourceURL`. If the value is
2253
+ # `ZIP`, the source is a .zip file. If the value is `BUCKET_PREFIX`, the
2254
+ # source is an Amazon S3 bucket and prefix. If no value is specified,
2255
+ # the default is `ZIP`.
2243
2256
  #
2244
2257
  # @return [Types::StartDeploymentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2245
2258
  #
@@ -2252,6 +2265,7 @@ module Aws::Amplify
2252
2265
  # branch_name: "BranchName", # required
2253
2266
  # job_id: "JobId",
2254
2267
  # source_url: "SourceUrl",
2268
+ # source_url_type: "ZIP", # accepts ZIP, BUCKET_PREFIX
2255
2269
  # })
2256
2270
  #
2257
2271
  # @example Response structure
@@ -2265,6 +2279,8 @@ module Aws::Amplify
2265
2279
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2266
2280
  # resp.job_summary.end_time #=> Time
2267
2281
  # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
2282
+ # resp.job_summary.source_url #=> String
2283
+ # resp.job_summary.source_url_type #=> String, one of "ZIP", "BUCKET_PREFIX"
2268
2284
  #
2269
2285
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment AWS API Documentation
2270
2286
  #
@@ -2335,6 +2351,8 @@ module Aws::Amplify
2335
2351
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2336
2352
  # resp.job_summary.end_time #=> Time
2337
2353
  # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
2354
+ # resp.job_summary.source_url #=> String
2355
+ # resp.job_summary.source_url_type #=> String, one of "ZIP", "BUCKET_PREFIX"
2338
2356
  #
2339
2357
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob AWS API Documentation
2340
2358
  #
@@ -2379,6 +2397,8 @@ module Aws::Amplify
2379
2397
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2380
2398
  # resp.job_summary.end_time #=> Time
2381
2399
  # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
2400
+ # resp.job_summary.source_url #=> String
2401
+ # resp.job_summary.source_url_type #=> String, one of "ZIP", "BUCKET_PREFIX"
2382
2402
  #
2383
2403
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob AWS API Documentation
2384
2404
  #
@@ -2954,7 +2974,7 @@ module Aws::Amplify
2954
2974
  tracer: tracer
2955
2975
  )
2956
2976
  context[:gem_name] = 'aws-sdk-amplify'
2957
- context[:gem_version] = '1.73.0'
2977
+ context[:gem_version] = '1.74.0'
2958
2978
  Seahorse::Client::Request.new(handlers, context)
2959
2979
  end
2960
2980
 
@@ -181,6 +181,7 @@ module Aws::Amplify
181
181
  ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
182
182
  Source = Shapes::StringShape.new(name: 'Source')
183
183
  SourceUrl = Shapes::StringShape.new(name: 'SourceUrl')
184
+ SourceUrlType = Shapes::StringShape.new(name: 'SourceUrlType')
184
185
  StackArn = Shapes::StringShape.new(name: 'StackArn')
185
186
  StackName = Shapes::StringShape.new(name: 'StackName')
186
187
  Stage = Shapes::StringShape.new(name: 'Stage')
@@ -588,6 +589,8 @@ module Aws::Amplify
588
589
  JobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
589
590
  JobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "endTime"))
590
591
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "jobType"))
592
+ JobSummary.add_member(:source_url, Shapes::ShapeRef.new(shape: SourceUrl, location_name: "sourceUrl"))
593
+ JobSummary.add_member(:source_url_type, Shapes::ShapeRef.new(shape: SourceUrlType, location_name: "sourceUrlType"))
591
594
  JobSummary.struct_class = Types::JobSummary
592
595
 
593
596
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -685,6 +688,7 @@ module Aws::Amplify
685
688
  StartDeploymentRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
686
689
  StartDeploymentRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
687
690
  StartDeploymentRequest.add_member(:source_url, Shapes::ShapeRef.new(shape: SourceUrl, location_name: "sourceUrl"))
691
+ StartDeploymentRequest.add_member(:source_url_type, Shapes::ShapeRef.new(shape: SourceUrlType, location_name: "sourceUrlType"))
688
692
  StartDeploymentRequest.struct_class = Types::StartDeploymentRequest
689
693
 
690
694
  StartDeploymentResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
@@ -1863,10 +1863,27 @@ module Aws::Amplify
1863
1863
  #
1864
1864
  # @!attribute [rw] job_type
1865
1865
  # The type for the job. If the value is `RELEASE`, the job was
1866
- # manually released from its source by using the `StartJob` API. If
1867
- # the value is `RETRY`, the job was manually retried using the
1866
+ # manually released from its source by using the `StartJob` API. This
1867
+ # value is available only for apps that are connected to a repository.
1868
+ #
1869
+ # If the value is `RETRY`, the job was manually retried using the
1868
1870
  # `StartJob` API. If the value is `WEB_HOOK`, the job was
1869
- # automatically triggered by webhooks.
1871
+ # automatically triggered by webhooks. If the value is `MANUAL`, the
1872
+ # job is for a manually deployed app. Manually deployed apps are not
1873
+ # connected to a Git repository.
1874
+ # @return [String]
1875
+ #
1876
+ # @!attribute [rw] source_url
1877
+ # The source URL for the files to deploy. The source URL can be either
1878
+ # an HTTP GET URL that is publicly accessible and downloads a single
1879
+ # .zip file, or an Amazon S3 bucket and prefix.
1880
+ # @return [String]
1881
+ #
1882
+ # @!attribute [rw] source_url_type
1883
+ # The type of source specified by the `sourceURL`. If the value is
1884
+ # `ZIP`, the source is a .zip file. If the value is `BUCKET_PREFIX`,
1885
+ # the source is an Amazon S3 bucket and prefix. If no value is
1886
+ # specified, the default is `ZIP`.
1870
1887
  # @return [String]
1871
1888
  #
1872
1889
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/JobSummary AWS API Documentation
@@ -1880,7 +1897,9 @@ module Aws::Amplify
1880
1897
  :start_time,
1881
1898
  :status,
1882
1899
  :end_time,
1883
- :job_type)
1900
+ :job_type,
1901
+ :source_url,
1902
+ :source_url_type)
1884
1903
  SENSITIVE = []
1885
1904
  include Aws::Structure
1886
1905
  end
@@ -2334,19 +2353,26 @@ module Aws::Amplify
2334
2353
  # @return [String]
2335
2354
  #
2336
2355
  # @!attribute [rw] branch_name
2337
- # The name of the branch to use for the job.
2356
+ # The name of the branch to use for the deployment job.
2338
2357
  # @return [String]
2339
2358
  #
2340
2359
  # @!attribute [rw] job_id
2341
- # The job ID for this deployment, generated by the create deployment
2342
- # request.
2360
+ # The job ID for this deployment that is generated by the
2361
+ # `CreateDeployment` request.
2343
2362
  # @return [String]
2344
2363
  #
2345
2364
  # @!attribute [rw] source_url
2346
- # The source URL for this deployment, used when calling start
2347
- # deployment without create deployment. The source URL can be any HTTP
2348
- # GET URL that is publicly accessible and downloads a single .zip
2349
- # file.
2365
+ # The source URL for the deployment that is used when calling
2366
+ # `StartDeployment` without `CreateDeployment`. The source URL can be
2367
+ # either an HTTP GET URL that is publicly accessible and downloads a
2368
+ # single .zip file, or an Amazon S3 bucket and prefix.
2369
+ # @return [String]
2370
+ #
2371
+ # @!attribute [rw] source_url_type
2372
+ # The type of source specified by the `sourceURL`. If the value is
2373
+ # `ZIP`, the source is a .zip file. If the value is `BUCKET_PREFIX`,
2374
+ # the source is an Amazon S3 bucket and prefix. If no value is
2375
+ # specified, the default is `ZIP`.
2350
2376
  # @return [String]
2351
2377
  #
2352
2378
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeploymentRequest AWS API Documentation
@@ -2355,7 +2381,8 @@ module Aws::Amplify
2355
2381
  :app_id,
2356
2382
  :branch_name,
2357
2383
  :job_id,
2358
- :source_url)
2384
+ :source_url,
2385
+ :source_url_type)
2359
2386
  SENSITIVE = []
2360
2387
  include Aws::Structure
2361
2388
  end
@@ -54,7 +54,7 @@ module Aws::Amplify
54
54
  autoload :EndpointProvider, 'aws-sdk-amplify/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-amplify/endpoints'
56
56
 
57
- GEM_VERSION = '1.73.0'
57
+ GEM_VERSION = '1.74.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -484,7 +484,8 @@ module Aws
484
484
  app_id: ::String,
485
485
  branch_name: ::String,
486
486
  ?job_id: ::String,
487
- ?source_url: ::String
487
+ ?source_url: ::String,
488
+ ?source_url_type: ("ZIP" | "BUCKET_PREFIX")
488
489
  ) -> _StartDeploymentResponseSuccess
489
490
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDeploymentResponseSuccess
490
491
 
data/sig/types.rbs CHANGED
@@ -442,6 +442,8 @@ module Aws::Amplify
442
442
  attr_accessor status: ("PENDING" | "PROVISIONING" | "RUNNING" | "FAILED" | "SUCCEED" | "CANCELLING" | "CANCELLED")
443
443
  attr_accessor end_time: ::Time
444
444
  attr_accessor job_type: ("RELEASE" | "RETRY" | "MANUAL" | "WEB_HOOK")
445
+ attr_accessor source_url: ::String
446
+ attr_accessor source_url_type: ("ZIP" | "BUCKET_PREFIX")
445
447
  SENSITIVE: []
446
448
  end
447
449
 
@@ -578,6 +580,7 @@ module Aws::Amplify
578
580
  attr_accessor branch_name: ::String
579
581
  attr_accessor job_id: ::String
580
582
  attr_accessor source_url: ::String
583
+ attr_accessor source_url_type: ("ZIP" | "BUCKET_PREFIX")
581
584
  SENSITIVE: []
582
585
  end
583
586
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-amplify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.73.0
4
+ version: 1.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core