aws-sdk-amplify 1.84.0 → 1.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplify/client.rb +20 -1
- data/lib/aws-sdk-amplify/client_api.rb +8 -0
- data/lib/aws-sdk-amplify/types.rb +68 -1
- data/lib/aws-sdk-amplify.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6952005e409173d43018604f9fa99702e53a711136ee1f4207f83c5e4138d31
|
4
|
+
data.tar.gz: 1c2a983ecfcf7d1ef510736bf0de867ec1b425e735ac9dad4eed998a72322ec5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 939e1083f2a6b84ace82e3fb85e4a8937e13e0c361250af5d82ad705411b9c1f39474e60a99bc6b39f7f5c096607dbf2130ab88281826dec21b3784a033bd9df
|
7
|
+
data.tar.gz: bfae20ad3dd3bf97ce7cca848da2f0eff6fe08bbfdd99addffe1f13edafcdc8065fc4e2097eb780588c535766514d2c2d0c2ed9c8af5cf8343b4f337a9254435
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2025-05-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for customizable build instance sizes. CreateApp and UpdateApp operations now accept a new JobConfig parameter composed of BuildComputeType.
|
8
|
+
|
4
9
|
1.84.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
@@ -605,6 +605,10 @@ module Aws::Amplify
|
|
605
605
|
# @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
|
606
606
|
# The automated branch creation configuration for an Amplify app.
|
607
607
|
#
|
608
|
+
# @option params [Types::JobConfig] :job_config
|
609
|
+
# Describes the configuration details that apply to the jobs for an
|
610
|
+
# Amplify app.
|
611
|
+
#
|
608
612
|
# @option params [Types::CacheConfig] :cache_config
|
609
613
|
# The cache configuration for the Amplify app.
|
610
614
|
#
|
@@ -659,6 +663,9 @@ module Aws::Amplify
|
|
659
663
|
# enable_pull_request_preview: false,
|
660
664
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
661
665
|
# },
|
666
|
+
# job_config: {
|
667
|
+
# build_compute_type: "STANDARD_8GB", # required, accepts STANDARD_8GB, LARGE_16GB, XLARGE_72GB
|
668
|
+
# },
|
662
669
|
# cache_config: {
|
663
670
|
# type: "AMPLIFY_MANAGED", # required, accepts AMPLIFY_MANAGED, AMPLIFY_MANAGED_NO_COOKIES
|
664
671
|
# },
|
@@ -716,6 +723,7 @@ module Aws::Amplify
|
|
716
723
|
# resp.app.waf_configuration.web_acl_arn #=> String
|
717
724
|
# resp.app.waf_configuration.waf_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ASSOCIATION_SUCCESS", "DISASSOCIATING", "DISASSOCIATION_FAILED"
|
718
725
|
# resp.app.waf_configuration.status_reason #=> String
|
726
|
+
# resp.app.job_config.build_compute_type #=> String, one of "STANDARD_8GB", "LARGE_16GB", "XLARGE_72GB"
|
719
727
|
#
|
720
728
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp AWS API Documentation
|
721
729
|
#
|
@@ -1207,6 +1215,7 @@ module Aws::Amplify
|
|
1207
1215
|
# resp.app.waf_configuration.web_acl_arn #=> String
|
1208
1216
|
# resp.app.waf_configuration.waf_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ASSOCIATION_SUCCESS", "DISASSOCIATING", "DISASSOCIATION_FAILED"
|
1209
1217
|
# resp.app.waf_configuration.status_reason #=> String
|
1218
|
+
# resp.app.job_config.build_compute_type #=> String, one of "STANDARD_8GB", "LARGE_16GB", "XLARGE_72GB"
|
1210
1219
|
#
|
1211
1220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp AWS API Documentation
|
1212
1221
|
#
|
@@ -1565,6 +1574,7 @@ module Aws::Amplify
|
|
1565
1574
|
# resp.app.waf_configuration.web_acl_arn #=> String
|
1566
1575
|
# resp.app.waf_configuration.waf_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ASSOCIATION_SUCCESS", "DISASSOCIATING", "DISASSOCIATION_FAILED"
|
1567
1576
|
# resp.app.waf_configuration.status_reason #=> String
|
1577
|
+
# resp.app.job_config.build_compute_type #=> String, one of "STANDARD_8GB", "LARGE_16GB", "XLARGE_72GB"
|
1568
1578
|
#
|
1569
1579
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp AWS API Documentation
|
1570
1580
|
#
|
@@ -1933,6 +1943,7 @@ module Aws::Amplify
|
|
1933
1943
|
# resp.apps[0].waf_configuration.web_acl_arn #=> String
|
1934
1944
|
# resp.apps[0].waf_configuration.waf_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ASSOCIATION_SUCCESS", "DISASSOCIATING", "DISASSOCIATION_FAILED"
|
1935
1945
|
# resp.apps[0].waf_configuration.status_reason #=> String
|
1946
|
+
# resp.apps[0].job_config.build_compute_type #=> String, one of "STANDARD_8GB", "LARGE_16GB", "XLARGE_72GB"
|
1936
1947
|
# resp.next_token #=> String
|
1937
1948
|
#
|
1938
1949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps AWS API Documentation
|
@@ -2693,6 +2704,10 @@ module Aws::Amplify
|
|
2693
2704
|
#
|
2694
2705
|
# [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
|
2695
2706
|
#
|
2707
|
+
# @option params [Types::JobConfig] :job_config
|
2708
|
+
# Describes the configuration details that apply to the jobs for an
|
2709
|
+
# Amplify app.
|
2710
|
+
#
|
2696
2711
|
# @option params [Types::CacheConfig] :cache_config
|
2697
2712
|
# The cache configuration for the Amplify app.
|
2698
2713
|
#
|
@@ -2745,6 +2760,9 @@ module Aws::Amplify
|
|
2745
2760
|
# repository: "Repository",
|
2746
2761
|
# oauth_token: "OauthToken",
|
2747
2762
|
# access_token: "AccessToken",
|
2763
|
+
# job_config: {
|
2764
|
+
# build_compute_type: "STANDARD_8GB", # required, accepts STANDARD_8GB, LARGE_16GB, XLARGE_72GB
|
2765
|
+
# },
|
2748
2766
|
# cache_config: {
|
2749
2767
|
# type: "AMPLIFY_MANAGED", # required, accepts AMPLIFY_MANAGED, AMPLIFY_MANAGED_NO_COOKIES
|
2750
2768
|
# },
|
@@ -2802,6 +2820,7 @@ module Aws::Amplify
|
|
2802
2820
|
# resp.app.waf_configuration.web_acl_arn #=> String
|
2803
2821
|
# resp.app.waf_configuration.waf_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ASSOCIATION_SUCCESS", "DISASSOCIATING", "DISASSOCIATION_FAILED"
|
2804
2822
|
# resp.app.waf_configuration.status_reason #=> String
|
2823
|
+
# resp.app.job_config.build_compute_type #=> String, one of "STANDARD_8GB", "LARGE_16GB", "XLARGE_72GB"
|
2805
2824
|
#
|
2806
2825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp AWS API Documentation
|
2807
2826
|
#
|
@@ -3132,7 +3151,7 @@ module Aws::Amplify
|
|
3132
3151
|
tracer: tracer
|
3133
3152
|
)
|
3134
3153
|
context[:gem_name] = 'aws-sdk-amplify'
|
3135
|
-
context[:gem_version] = '1.
|
3154
|
+
context[:gem_version] = '1.85.0'
|
3136
3155
|
Seahorse::Client::Request.new(handlers, context)
|
3137
3156
|
end
|
3138
3157
|
|
@@ -44,6 +44,7 @@ module Aws::Amplify
|
|
44
44
|
BranchArn = Shapes::StringShape.new(name: 'BranchArn')
|
45
45
|
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
46
46
|
Branches = Shapes::ListShape.new(name: 'Branches')
|
47
|
+
BuildComputeType = Shapes::StringShape.new(name: 'BuildComputeType')
|
47
48
|
BuildSpec = Shapes::StringShape.new(name: 'BuildSpec')
|
48
49
|
CacheConfig = Shapes::StructureShape.new(name: 'CacheConfig')
|
49
50
|
CacheConfigType = Shapes::StringShape.new(name: 'CacheConfigType')
|
@@ -140,6 +141,7 @@ module Aws::Amplify
|
|
140
141
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
141
142
|
Job = Shapes::StructureShape.new(name: 'Job')
|
142
143
|
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
144
|
+
JobConfig = Shapes::StructureShape.new(name: 'JobConfig')
|
143
145
|
JobId = Shapes::StringShape.new(name: 'JobId')
|
144
146
|
JobReason = Shapes::StringShape.new(name: 'JobReason')
|
145
147
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
@@ -269,6 +271,7 @@ module Aws::Amplify
|
|
269
271
|
App.add_member(:cache_config, Shapes::ShapeRef.new(shape: CacheConfig, location_name: "cacheConfig"))
|
270
272
|
App.add_member(:webhook_create_time, Shapes::ShapeRef.new(shape: webhookCreateTime, location_name: "webhookCreateTime"))
|
271
273
|
App.add_member(:waf_configuration, Shapes::ShapeRef.new(shape: WafConfiguration, location_name: "wafConfiguration"))
|
274
|
+
App.add_member(:job_config, Shapes::ShapeRef.new(shape: JobConfig, location_name: "jobConfig"))
|
272
275
|
App.struct_class = Types::App
|
273
276
|
|
274
277
|
Apps.member = Shapes::ShapeRef.new(shape: App)
|
@@ -379,6 +382,7 @@ module Aws::Amplify
|
|
379
382
|
CreateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
|
380
383
|
CreateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
|
381
384
|
CreateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
|
385
|
+
CreateAppRequest.add_member(:job_config, Shapes::ShapeRef.new(shape: JobConfig, location_name: "jobConfig"))
|
382
386
|
CreateAppRequest.add_member(:cache_config, Shapes::ShapeRef.new(shape: CacheConfig, location_name: "cacheConfig"))
|
383
387
|
CreateAppRequest.struct_class = Types::CreateAppRequest
|
384
388
|
|
@@ -592,6 +596,9 @@ module Aws::Amplify
|
|
592
596
|
Job.add_member(:steps, Shapes::ShapeRef.new(shape: Steps, required: true, location_name: "steps"))
|
593
597
|
Job.struct_class = Types::Job
|
594
598
|
|
599
|
+
JobConfig.add_member(:build_compute_type, Shapes::ShapeRef.new(shape: BuildComputeType, required: true, location_name: "buildComputeType"))
|
600
|
+
JobConfig.struct_class = Types::JobConfig
|
601
|
+
|
595
602
|
JobSummaries.member = Shapes::ShapeRef.new(shape: JobSummary)
|
596
603
|
|
597
604
|
JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
|
@@ -797,6 +804,7 @@ module Aws::Amplify
|
|
797
804
|
UpdateAppRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
798
805
|
UpdateAppRequest.add_member(:oauth_token, Shapes::ShapeRef.new(shape: OauthToken, location_name: "oauthToken"))
|
799
806
|
UpdateAppRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
|
807
|
+
UpdateAppRequest.add_member(:job_config, Shapes::ShapeRef.new(shape: JobConfig, location_name: "jobConfig"))
|
800
808
|
UpdateAppRequest.add_member(:cache_config, Shapes::ShapeRef.new(shape: CacheConfig, location_name: "cacheConfig"))
|
801
809
|
UpdateAppRequest.struct_class = Types::UpdateAppRequest
|
802
810
|
|
@@ -169,6 +169,10 @@ module Aws::Amplify
|
|
169
169
|
# direct integration with WAF.
|
170
170
|
# @return [Types::WafConfiguration]
|
171
171
|
#
|
172
|
+
# @!attribute [rw] job_config
|
173
|
+
# The configuration details that apply to the jobs for an Amplify app.
|
174
|
+
# @return [Types::JobConfig]
|
175
|
+
#
|
172
176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/App AWS API Documentation
|
173
177
|
#
|
174
178
|
class App < Struct.new(
|
@@ -199,7 +203,8 @@ module Aws::Amplify
|
|
199
203
|
:repository_clone_method,
|
200
204
|
:cache_config,
|
201
205
|
:webhook_create_time,
|
202
|
-
:waf_configuration
|
206
|
+
:waf_configuration,
|
207
|
+
:job_config)
|
203
208
|
SENSITIVE = [:basic_auth_credentials, :build_spec]
|
204
209
|
include Aws::Structure
|
205
210
|
end
|
@@ -839,6 +844,11 @@ module Aws::Amplify
|
|
839
844
|
# The automated branch creation configuration for an Amplify app.
|
840
845
|
# @return [Types::AutoBranchCreationConfig]
|
841
846
|
#
|
847
|
+
# @!attribute [rw] job_config
|
848
|
+
# Describes the configuration details that apply to the jobs for an
|
849
|
+
# Amplify app.
|
850
|
+
# @return [Types::JobConfig]
|
851
|
+
#
|
842
852
|
# @!attribute [rw] cache_config
|
843
853
|
# The cache configuration for the Amplify app.
|
844
854
|
# @return [Types::CacheConfig]
|
@@ -866,6 +876,7 @@ module Aws::Amplify
|
|
866
876
|
:enable_auto_branch_creation,
|
867
877
|
:auto_branch_creation_patterns,
|
868
878
|
:auto_branch_creation_config,
|
879
|
+
:job_config,
|
869
880
|
:cache_config)
|
870
881
|
SENSITIVE = [:oauth_token, :access_token, :basic_auth_credentials, :build_spec]
|
871
882
|
include Aws::Structure
|
@@ -1928,6 +1939,56 @@ module Aws::Amplify
|
|
1928
1939
|
include Aws::Structure
|
1929
1940
|
end
|
1930
1941
|
|
1942
|
+
# Describes the configuration details that apply to the jobs for an
|
1943
|
+
# Amplify app.
|
1944
|
+
#
|
1945
|
+
# Use `JobConfig` to apply configuration to jobs, such as customizing
|
1946
|
+
# the build instance size when you create or update an Amplify app. For
|
1947
|
+
# more information about customizable build instances, see [Custom build
|
1948
|
+
# instances][1] in the *Amplify User Guide*.
|
1949
|
+
#
|
1950
|
+
#
|
1951
|
+
#
|
1952
|
+
# [1]: https://docs.aws.amazon.com/amplify/latest/userguide/custom-build-instance.html
|
1953
|
+
#
|
1954
|
+
# @!attribute [rw] build_compute_type
|
1955
|
+
# Specifies the size of the build instance. Amplify supports three
|
1956
|
+
# instance sizes: `STANDARD_8GB`, `LARGE_16GB`, and `XLARGE_72GB`. If
|
1957
|
+
# you don't specify a value, Amplify uses the `STANDARD_8GB` default.
|
1958
|
+
#
|
1959
|
+
# The following list describes the CPU, memory, and storage capacity
|
1960
|
+
# for each build instance type:
|
1961
|
+
#
|
1962
|
+
# STANDARD\_8GB
|
1963
|
+
# : * vCPUs: 4
|
1964
|
+
#
|
1965
|
+
# * Memory: 8 GiB
|
1966
|
+
#
|
1967
|
+
# * Disk space: 128 GB
|
1968
|
+
#
|
1969
|
+
# LARGE\_16GB
|
1970
|
+
# : * vCPUs: 8
|
1971
|
+
#
|
1972
|
+
# * Memory: 16 GiB
|
1973
|
+
#
|
1974
|
+
# * Disk space: 128 GB
|
1975
|
+
#
|
1976
|
+
# XLARGE\_72GB
|
1977
|
+
# : * vCPUs: 36
|
1978
|
+
#
|
1979
|
+
# * Memory: 72 GiB
|
1980
|
+
#
|
1981
|
+
# * Disk space: 256 GB
|
1982
|
+
# @return [String]
|
1983
|
+
#
|
1984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/JobConfig AWS API Documentation
|
1985
|
+
#
|
1986
|
+
class JobConfig < Struct.new(
|
1987
|
+
:build_compute_type)
|
1988
|
+
SENSITIVE = []
|
1989
|
+
include Aws::Structure
|
1990
|
+
end
|
1991
|
+
|
1931
1992
|
# Describes the summary for an execution job for an Amplify app.
|
1932
1993
|
#
|
1933
1994
|
# @!attribute [rw] job_arn
|
@@ -2927,6 +2988,11 @@ module Aws::Amplify
|
|
2927
2988
|
# [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
|
2928
2989
|
# @return [String]
|
2929
2990
|
#
|
2991
|
+
# @!attribute [rw] job_config
|
2992
|
+
# Describes the configuration details that apply to the jobs for an
|
2993
|
+
# Amplify app.
|
2994
|
+
# @return [Types::JobConfig]
|
2995
|
+
#
|
2930
2996
|
# @!attribute [rw] cache_config
|
2931
2997
|
# The cache configuration for the Amplify app.
|
2932
2998
|
# @return [Types::CacheConfig]
|
@@ -2954,6 +3020,7 @@ module Aws::Amplify
|
|
2954
3020
|
:repository,
|
2955
3021
|
:oauth_token,
|
2956
3022
|
:access_token,
|
3023
|
+
:job_config,
|
2957
3024
|
:cache_config)
|
2958
3025
|
SENSITIVE = [:basic_auth_credentials, :build_spec, :oauth_token, :access_token]
|
2959
3026
|
include Aws::Structure
|
data/lib/aws-sdk-amplify.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -121,6 +121,9 @@ module Aws
|
|
121
121
|
enable_pull_request_preview: bool?,
|
122
122
|
pull_request_environment_name: ::String?
|
123
123
|
},
|
124
|
+
?job_config: {
|
125
|
+
build_compute_type: ("STANDARD_8GB" | "LARGE_16GB" | "XLARGE_72GB")
|
126
|
+
},
|
124
127
|
?cache_config: {
|
125
128
|
type: ("AMPLIFY_MANAGED" | "AMPLIFY_MANAGED_NO_COOKIES")
|
126
129
|
}
|
@@ -587,6 +590,9 @@ module Aws
|
|
587
590
|
?repository: ::String,
|
588
591
|
?oauth_token: ::String,
|
589
592
|
?access_token: ::String,
|
593
|
+
?job_config: {
|
594
|
+
build_compute_type: ("STANDARD_8GB" | "LARGE_16GB" | "XLARGE_72GB")
|
595
|
+
},
|
590
596
|
?cache_config: {
|
591
597
|
type: ("AMPLIFY_MANAGED" | "AMPLIFY_MANAGED_NO_COOKIES")
|
592
598
|
}
|
data/sig/types.rbs
CHANGED
@@ -37,6 +37,7 @@ module Aws::Amplify
|
|
37
37
|
attr_accessor cache_config: Types::CacheConfig
|
38
38
|
attr_accessor webhook_create_time: ::Time
|
39
39
|
attr_accessor waf_configuration: Types::WafConfiguration
|
40
|
+
attr_accessor job_config: Types::JobConfig
|
40
41
|
SENSITIVE: [:basic_auth_credentials, :build_spec]
|
41
42
|
end
|
42
43
|
|
@@ -153,6 +154,7 @@ module Aws::Amplify
|
|
153
154
|
attr_accessor enable_auto_branch_creation: bool
|
154
155
|
attr_accessor auto_branch_creation_patterns: ::Array[::String]
|
155
156
|
attr_accessor auto_branch_creation_config: Types::AutoBranchCreationConfig
|
157
|
+
attr_accessor job_config: Types::JobConfig
|
156
158
|
attr_accessor cache_config: Types::CacheConfig
|
157
159
|
SENSITIVE: [:oauth_token, :access_token, :basic_auth_credentials, :build_spec]
|
158
160
|
end
|
@@ -440,6 +442,11 @@ module Aws::Amplify
|
|
440
442
|
SENSITIVE: []
|
441
443
|
end
|
442
444
|
|
445
|
+
class JobConfig
|
446
|
+
attr_accessor build_compute_type: ("STANDARD_8GB" | "LARGE_16GB" | "XLARGE_72GB")
|
447
|
+
SENSITIVE: []
|
448
|
+
end
|
449
|
+
|
443
450
|
class JobSummary
|
444
451
|
attr_accessor job_arn: ::String
|
445
452
|
attr_accessor job_id: ::String
|
@@ -698,6 +705,7 @@ module Aws::Amplify
|
|
698
705
|
attr_accessor repository: ::String
|
699
706
|
attr_accessor oauth_token: ::String
|
700
707
|
attr_accessor access_token: ::String
|
708
|
+
attr_accessor job_config: Types::JobConfig
|
701
709
|
attr_accessor cache_config: Types::CacheConfig
|
702
710
|
SENSITIVE: [:basic_auth_credentials, :build_spec, :oauth_token, :access_token]
|
703
711
|
end
|