aws-sdk-amplify 1.72.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: 85afa34fc55245277ffcf294a407510a7d03601e98e1b9d02c4d3d7996a54021
4
- data.tar.gz: 5922dbc0fc647b8cb45b9f2617676c527ef2db9cbc7c29402abe53d6993aabfb
3
+ metadata.gz: 0ac30633c88d99d94f0d20733f7dcea2de19d0973fe66db573551ebc45c2686f
4
+ data.tar.gz: c268d09e149eef051f3d6994d2d31a0eda446a2dd4076cf5bcfbb21833b44d2d
5
5
  SHA512:
6
- metadata.gz: 2752ba79e9f6ebd3ef3e00399d8b3f5803e61469ff4f2058513d3781bf173d6b761f7b43a438e718ea0ef0b6a9e447b9ea77ad297cbff22f52e6a26328b512e4
7
- data.tar.gz: f8028da7ec8192253b0e7406cccf334672421e3ba0ad00acb0692cb1f1239a9facb3a64d385b7e82489b5c742e5a284f5648334e576febc78331a6b4607526f8
6
+ metadata.gz: 5d8644ad0a5d320df955e97f3e0c673aa33cbb1925460ec466fe097873bc96441f24b3c437801584f2e9fa45e4779b8a16660fba7abb940ef2c4881fc094703e
7
+ data.tar.gz: 75ee73b48ccffeb1e0391c6751be694f98d0e6ccf75334cf658a3cf37e06636d6610be8c9fcf5bd1d9a6720ba10c941717cd15bc2b54dd6d4ef0239bd8ca9e31
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.73.0 (2024-09-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.72.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.72.0
1
+ 1.74.0
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:amplify)
40
-
41
39
  module Aws::Amplify
42
40
  # An API client for Amplify. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -896,7 +894,7 @@ module Aws::Amplify
896
894
  end
897
895
 
898
896
  # Creates a deployment for a manually deployed Amplify app. Manually
899
- # deployed apps are not connected to a repository.
897
+ # deployed apps are not connected to a Git repository.
900
898
  #
901
899
  # The maximum duration between the `CreateDeployment` call and the
902
900
  # `StartDeployment` call cannot exceed 8 hours. If the duration exceeds
@@ -1331,6 +1329,8 @@ module Aws::Amplify
1331
1329
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1332
1330
  # resp.job_summary.end_time #=> Time
1333
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"
1334
1334
  #
1335
1335
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob AWS API Documentation
1336
1336
  #
@@ -1709,6 +1709,8 @@ module Aws::Amplify
1709
1709
  # resp.job.summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1710
1710
  # resp.job.summary.end_time #=> Time
1711
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"
1712
1714
  # resp.job.steps #=> Array
1713
1715
  # resp.job.steps[0].step_name #=> String
1714
1716
  # resp.job.steps[0].start_time #=> Time
@@ -2133,6 +2135,8 @@ module Aws::Amplify
2133
2135
  # resp.job_summaries[0].status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2134
2136
  # resp.job_summaries[0].end_time #=> Time
2135
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"
2136
2140
  # resp.next_token #=> String
2137
2141
  #
2138
2142
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs AWS API Documentation
@@ -2221,7 +2225,7 @@ module Aws::Amplify
2221
2225
  end
2222
2226
 
2223
2227
  # Starts a deployment for a manually deployed app. Manually deployed
2224
- # apps are not connected to a repository.
2228
+ # apps are not connected to a Git repository.
2225
2229
  #
2226
2230
  # The maximum duration between the `CreateDeployment` call and the
2227
2231
  # `StartDeployment` call cannot exceed 8 hours. If the duration exceeds
@@ -2232,16 +2236,23 @@ module Aws::Amplify
2232
2236
  # The unique ID for an Amplify app.
2233
2237
  #
2234
2238
  # @option params [required, String] :branch_name
2235
- # The name of the branch to use for the job.
2239
+ # The name of the branch to use for the deployment job.
2236
2240
  #
2237
2241
  # @option params [String] :job_id
2238
- # The job ID for this deployment, generated by the create deployment
2239
- # request.
2242
+ # The job ID for this deployment that is generated by the
2243
+ # `CreateDeployment` request.
2240
2244
  #
2241
2245
  # @option params [String] :source_url
2242
- # The source URL for this deployment, used when calling start deployment
2243
- # without create deployment. The source URL can be any HTTP GET URL that
2244
- # 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`.
2245
2256
  #
2246
2257
  # @return [Types::StartDeploymentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2247
2258
  #
@@ -2254,6 +2265,7 @@ module Aws::Amplify
2254
2265
  # branch_name: "BranchName", # required
2255
2266
  # job_id: "JobId",
2256
2267
  # source_url: "SourceUrl",
2268
+ # source_url_type: "ZIP", # accepts ZIP, BUCKET_PREFIX
2257
2269
  # })
2258
2270
  #
2259
2271
  # @example Response structure
@@ -2267,6 +2279,8 @@ module Aws::Amplify
2267
2279
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2268
2280
  # resp.job_summary.end_time #=> Time
2269
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"
2270
2284
  #
2271
2285
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment AWS API Documentation
2272
2286
  #
@@ -2337,6 +2351,8 @@ module Aws::Amplify
2337
2351
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2338
2352
  # resp.job_summary.end_time #=> Time
2339
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"
2340
2356
  #
2341
2357
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob AWS API Documentation
2342
2358
  #
@@ -2381,6 +2397,8 @@ module Aws::Amplify
2381
2397
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
2382
2398
  # resp.job_summary.end_time #=> Time
2383
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"
2384
2402
  #
2385
2403
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob AWS API Documentation
2386
2404
  #
@@ -2956,7 +2974,7 @@ module Aws::Amplify
2956
2974
  tracer: tracer
2957
2975
  )
2958
2976
  context[:gem_name] = 'aws-sdk-amplify'
2959
- context[:gem_version] = '1.72.0'
2977
+ context[:gem_version] = '1.74.0'
2960
2978
  Seahorse::Client::Request.new(handlers, context)
2961
2979
  end
2962
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
@@ -11,6 +11,8 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:amplify)
15
+
14
16
  # This module provides support for AWS Amplify. This module is available in the
15
17
  # `aws-sdk-amplify` gem.
16
18
  #
@@ -52,7 +54,7 @@ module Aws::Amplify
52
54
  autoload :EndpointProvider, 'aws-sdk-amplify/endpoint_provider'
53
55
  autoload :Endpoints, 'aws-sdk-amplify/endpoints'
54
56
 
55
- GEM_VERSION = '1.72.0'
57
+ GEM_VERSION = '1.74.0'
56
58
 
57
59
  end
58
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.72.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-23 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