aws-sdk-amplify 1.22.0 → 1.27.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: cb955c779e2610c87b904e5d8de9d4b5f9e0a933d7bbe142f305c4b8b27dfa3d
4
- data.tar.gz: 148a367e4b27eac3d2e418df0749563aa6ed5040bcd38b21bf5a658884bbff5a
3
+ metadata.gz: '06596497f463ffe1980608740408609eb0f6e3f0be2a3887401dcf80a5c596c8'
4
+ data.tar.gz: 1ea8828b3363b6be797463df3a6f6387346a121910e3a01df1e88354a3318c5f
5
5
  SHA512:
6
- metadata.gz: 9bb142080aa912b1f10139375e7441015aebb9c36720ce5c6fe1d2a6b2f962193102e77af7bad43c67e189cd14edc1ee90d3b79697e798a5e40844758c77ef08
7
- data.tar.gz: a514014f3e8f9c64f4702e8438ccae22e233e5cf2f72d5c49ae4da450d15ea4ac5d437f6a1ace1dbbd4dd7e7402cc9c236018a66a833fb34bcd7c0b4801f0fa4
6
+ metadata.gz: e85d9777bd2311c5309087c8c96f563709776fe5f14b2ddfb3c66a2c9d59773e791d7d00f20b39743847d458c0f8ba01e170fd99aafb48eb00c0c5a7a4797605
7
+ data.tar.gz: f28d0f948f0c8099373c1977933f2ae5859cd873e940bd5bd72945a46a77292ce0ba608da2168093e95eaf8a70ea0fdb60d307340c19389ab3e754973cb5be32
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-amplify/customizations'
47
48
  # @!group service
48
49
  module Aws::Amplify
49
50
 
50
- GEM_VERSION = '1.22.0'
51
+ GEM_VERSION = '1.27.0'
51
52
 
52
53
  end
@@ -330,7 +330,7 @@ module Aws::Amplify
330
330
  # Creates a new Amplify app.
331
331
  #
332
332
  # @option params [required, String] :name
333
- # The name for the Amplify app.
333
+ # The name for an Amplify app.
334
334
  #
335
335
  # @option params [String] :description
336
336
  # The description for an Amplify app.
@@ -381,14 +381,17 @@ module Aws::Amplify
381
381
  # @option params [String] :build_spec
382
382
  # The build specification (build spec) for an Amplify app.
383
383
  #
384
+ # @option params [String] :custom_headers
385
+ # The custom HTTP headers for an Amplify app.
386
+ #
384
387
  # @option params [Boolean] :enable_auto_branch_creation
385
- # Enables automated branch creation for the Amplify app.
388
+ # Enables automated branch creation for an Amplify app.
386
389
  #
387
390
  # @option params [Array<String>] :auto_branch_creation_patterns
388
- # The automated branch creation glob patterns for the Amplify app.
391
+ # The automated branch creation glob patterns for an Amplify app.
389
392
  #
390
393
  # @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
391
- # The automated branch creation configuration for the Amplify app.
394
+ # The automated branch creation configuration for an Amplify app.
392
395
  #
393
396
  # @return [Types::CreateAppResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
394
397
  #
@@ -423,6 +426,7 @@ module Aws::Amplify
423
426
  # "TagKey" => "TagValue",
424
427
  # },
425
428
  # build_spec: "BuildSpec",
429
+ # custom_headers: "CustomHeaders",
426
430
  # enable_auto_branch_creation: false,
427
431
  # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
428
432
  # auto_branch_creation_config: {
@@ -434,6 +438,7 @@ module Aws::Amplify
434
438
  # },
435
439
  # basic_auth_credentials: "BasicAuthCredentials",
436
440
  # enable_basic_auth: false,
441
+ # enable_performance_mode: false,
437
442
  # build_spec: "BuildSpec",
438
443
  # enable_pull_request_preview: false,
439
444
  # pull_request_environment_name: "PullRequestEnvironmentName",
@@ -470,6 +475,7 @@ module Aws::Amplify
470
475
  # resp.app.production_branch.thumbnail_url #=> String
471
476
  # resp.app.production_branch.branch_name #=> String
472
477
  # resp.app.build_spec #=> String
478
+ # resp.app.custom_headers #=> String
473
479
  # resp.app.enable_auto_branch_creation #=> Boolean
474
480
  # resp.app.auto_branch_creation_patterns #=> Array
475
481
  # resp.app.auto_branch_creation_patterns[0] #=> String
@@ -480,6 +486,7 @@ module Aws::Amplify
480
486
  # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
481
487
  # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
482
488
  # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
489
+ # resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
483
490
  # resp.app.auto_branch_creation_config.build_spec #=> String
484
491
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
485
492
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
@@ -570,6 +577,14 @@ module Aws::Amplify
570
577
  # @option params [Boolean] :enable_basic_auth
571
578
  # Enables basic authorization for the branch.
572
579
  #
580
+ # @option params [Boolean] :enable_performance_mode
581
+ # Enables performance mode for the branch.
582
+ #
583
+ # Performance mode optimizes for faster hosting performance by keeping
584
+ # content cached at the edge for a longer interval. When performance
585
+ # mode is enabled, hosting configuration or code changes can take up to
586
+ # 10 minutes to roll out.
587
+ #
573
588
  # @option params [Hash<String,String>] :tags
574
589
  # The tag for the branch.
575
590
  #
@@ -584,7 +599,7 @@ module Aws::Amplify
584
599
  # prefix.
585
600
  #
586
601
  # @option params [Boolean] :enable_pull_request_preview
587
- # Enables pull request preview for this branch.
602
+ # Enables pull request previews for this branch.
588
603
  #
589
604
  # @option params [String] :pull_request_environment_name
590
605
  # The Amplify environment name for the pull request.
@@ -612,6 +627,7 @@ module Aws::Amplify
612
627
  # },
613
628
  # basic_auth_credentials: "BasicAuthCredentials",
614
629
  # enable_basic_auth: false,
630
+ # enable_performance_mode: false,
615
631
  # tags: {
616
632
  # "TagKey" => "TagValue",
617
633
  # },
@@ -644,6 +660,7 @@ module Aws::Amplify
644
660
  # resp.branch.active_job_id #=> String
645
661
  # resp.branch.total_number_of_jobs #=> String
646
662
  # resp.branch.enable_basic_auth #=> Boolean
663
+ # resp.branch.enable_performance_mode #=> Boolean
647
664
  # resp.branch.thumbnail_url #=> String
648
665
  # resp.branch.basic_auth_credentials #=> String
649
666
  # resp.branch.build_spec #=> String
@@ -867,6 +884,7 @@ module Aws::Amplify
867
884
  # resp.app.production_branch.thumbnail_url #=> String
868
885
  # resp.app.production_branch.branch_name #=> String
869
886
  # resp.app.build_spec #=> String
887
+ # resp.app.custom_headers #=> String
870
888
  # resp.app.enable_auto_branch_creation #=> Boolean
871
889
  # resp.app.auto_branch_creation_patterns #=> Array
872
890
  # resp.app.auto_branch_creation_patterns[0] #=> String
@@ -877,6 +895,7 @@ module Aws::Amplify
877
895
  # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
878
896
  # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
879
897
  # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
898
+ # resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
880
899
  # resp.app.auto_branch_creation_config.build_spec #=> String
881
900
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
882
901
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
@@ -967,6 +986,7 @@ module Aws::Amplify
967
986
  # resp.branch.active_job_id #=> String
968
987
  # resp.branch.total_number_of_jobs #=> String
969
988
  # resp.branch.enable_basic_auth #=> Boolean
989
+ # resp.branch.enable_performance_mode #=> Boolean
970
990
  # resp.branch.thumbnail_url #=> String
971
991
  # resp.branch.basic_auth_credentials #=> String
972
992
  # resp.branch.build_spec #=> String
@@ -1199,6 +1219,7 @@ module Aws::Amplify
1199
1219
  # resp.app.production_branch.thumbnail_url #=> String
1200
1220
  # resp.app.production_branch.branch_name #=> String
1201
1221
  # resp.app.build_spec #=> String
1222
+ # resp.app.custom_headers #=> String
1202
1223
  # resp.app.enable_auto_branch_creation #=> Boolean
1203
1224
  # resp.app.auto_branch_creation_patterns #=> Array
1204
1225
  # resp.app.auto_branch_creation_patterns[0] #=> String
@@ -1209,6 +1230,7 @@ module Aws::Amplify
1209
1230
  # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
1210
1231
  # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
1211
1232
  # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
1233
+ # resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
1212
1234
  # resp.app.auto_branch_creation_config.build_spec #=> String
1213
1235
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1214
1236
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
@@ -1329,6 +1351,7 @@ module Aws::Amplify
1329
1351
  # resp.branch.active_job_id #=> String
1330
1352
  # resp.branch.total_number_of_jobs #=> String
1331
1353
  # resp.branch.enable_basic_auth #=> Boolean
1354
+ # resp.branch.enable_performance_mode #=> Boolean
1332
1355
  # resp.branch.thumbnail_url #=> String
1333
1356
  # resp.branch.basic_auth_credentials #=> String
1334
1357
  # resp.branch.build_spec #=> String
@@ -1539,6 +1562,7 @@ module Aws::Amplify
1539
1562
  # resp.apps[0].production_branch.thumbnail_url #=> String
1540
1563
  # resp.apps[0].production_branch.branch_name #=> String
1541
1564
  # resp.apps[0].build_spec #=> String
1565
+ # resp.apps[0].custom_headers #=> String
1542
1566
  # resp.apps[0].enable_auto_branch_creation #=> Boolean
1543
1567
  # resp.apps[0].auto_branch_creation_patterns #=> Array
1544
1568
  # resp.apps[0].auto_branch_creation_patterns[0] #=> String
@@ -1549,6 +1573,7 @@ module Aws::Amplify
1549
1573
  # resp.apps[0].auto_branch_creation_config.environment_variables["EnvKey"] #=> String
1550
1574
  # resp.apps[0].auto_branch_creation_config.basic_auth_credentials #=> String
1551
1575
  # resp.apps[0].auto_branch_creation_config.enable_basic_auth #=> Boolean
1576
+ # resp.apps[0].auto_branch_creation_config.enable_performance_mode #=> Boolean
1552
1577
  # resp.apps[0].auto_branch_creation_config.build_spec #=> String
1553
1578
  # resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1554
1579
  # resp.apps[0].auto_branch_creation_config.pull_request_environment_name #=> String
@@ -1711,6 +1736,7 @@ module Aws::Amplify
1711
1736
  # resp.branches[0].active_job_id #=> String
1712
1737
  # resp.branches[0].total_number_of_jobs #=> String
1713
1738
  # resp.branches[0].enable_basic_auth #=> Boolean
1739
+ # resp.branches[0].enable_performance_mode #=> Boolean
1714
1740
  # resp.branches[0].thumbnail_url #=> String
1715
1741
  # resp.branches[0].basic_auth_credentials #=> String
1716
1742
  # resp.branches[0].build_spec #=> String
@@ -2175,15 +2201,18 @@ module Aws::Amplify
2175
2201
  # @option params [String] :build_spec
2176
2202
  # The build specification (build spec) for an Amplify app.
2177
2203
  #
2204
+ # @option params [String] :custom_headers
2205
+ # The custom HTTP headers for an Amplify app.
2206
+ #
2178
2207
  # @option params [Boolean] :enable_auto_branch_creation
2179
- # Enables automated branch creation for the Amplify app.
2208
+ # Enables automated branch creation for an Amplify app.
2180
2209
  #
2181
2210
  # @option params [Array<String>] :auto_branch_creation_patterns
2182
- # Describes the automated branch creation glob patterns for the Amplify
2211
+ # Describes the automated branch creation glob patterns for an Amplify
2183
2212
  # app.
2184
2213
  #
2185
2214
  # @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
2186
- # The automated branch creation configuration for the Amplify app.
2215
+ # The automated branch creation configuration for an Amplify app.
2187
2216
  #
2188
2217
  # @option params [String] :repository
2189
2218
  # The name of the repository for an Amplify app
@@ -2226,6 +2255,7 @@ module Aws::Amplify
2226
2255
  # },
2227
2256
  # ],
2228
2257
  # build_spec: "BuildSpec",
2258
+ # custom_headers: "CustomHeaders",
2229
2259
  # enable_auto_branch_creation: false,
2230
2260
  # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
2231
2261
  # auto_branch_creation_config: {
@@ -2237,6 +2267,7 @@ module Aws::Amplify
2237
2267
  # },
2238
2268
  # basic_auth_credentials: "BasicAuthCredentials",
2239
2269
  # enable_basic_auth: false,
2270
+ # enable_performance_mode: false,
2240
2271
  # build_spec: "BuildSpec",
2241
2272
  # enable_pull_request_preview: false,
2242
2273
  # pull_request_environment_name: "PullRequestEnvironmentName",
@@ -2276,6 +2307,7 @@ module Aws::Amplify
2276
2307
  # resp.app.production_branch.thumbnail_url #=> String
2277
2308
  # resp.app.production_branch.branch_name #=> String
2278
2309
  # resp.app.build_spec #=> String
2310
+ # resp.app.custom_headers #=> String
2279
2311
  # resp.app.enable_auto_branch_creation #=> Boolean
2280
2312
  # resp.app.auto_branch_creation_patterns #=> Array
2281
2313
  # resp.app.auto_branch_creation_patterns[0] #=> String
@@ -2286,6 +2318,7 @@ module Aws::Amplify
2286
2318
  # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
2287
2319
  # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
2288
2320
  # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
2321
+ # resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
2289
2322
  # resp.app.auto_branch_creation_config.build_spec #=> String
2290
2323
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
2291
2324
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
@@ -2331,6 +2364,14 @@ module Aws::Amplify
2331
2364
  # @option params [Boolean] :enable_basic_auth
2332
2365
  # Enables basic authorization for the branch.
2333
2366
  #
2367
+ # @option params [Boolean] :enable_performance_mode
2368
+ # Enables performance mode for the branch.
2369
+ #
2370
+ # Performance mode optimizes for faster hosting performance by keeping
2371
+ # content cached at the edge for a longer interval. When performance
2372
+ # mode is enabled, hosting configuration or code changes can take up to
2373
+ # 10 minutes to roll out.
2374
+ #
2334
2375
  # @option params [String] :build_spec
2335
2376
  # The build specification (build spec) for the branch.
2336
2377
  #
@@ -2342,7 +2383,7 @@ module Aws::Amplify
2342
2383
  # prefix.
2343
2384
  #
2344
2385
  # @option params [Boolean] :enable_pull_request_preview
2345
- # Enables pull request preview for this branch.
2386
+ # Enables pull request previews for this branch.
2346
2387
  #
2347
2388
  # @option params [String] :pull_request_environment_name
2348
2389
  # The Amplify environment name for the pull request.
@@ -2370,6 +2411,7 @@ module Aws::Amplify
2370
2411
  # },
2371
2412
  # basic_auth_credentials: "BasicAuthCredentials",
2372
2413
  # enable_basic_auth: false,
2414
+ # enable_performance_mode: false,
2373
2415
  # build_spec: "BuildSpec",
2374
2416
  # ttl: "TTL",
2375
2417
  # display_name: "DisplayName",
@@ -2399,6 +2441,7 @@ module Aws::Amplify
2399
2441
  # resp.branch.active_job_id #=> String
2400
2442
  # resp.branch.total_number_of_jobs #=> String
2401
2443
  # resp.branch.enable_basic_auth #=> Boolean
2444
+ # resp.branch.enable_performance_mode #=> Boolean
2402
2445
  # resp.branch.thumbnail_url #=> String
2403
2446
  # resp.branch.basic_auth_credentials #=> String
2404
2447
  # resp.branch.build_spec #=> String
@@ -2542,7 +2585,7 @@ module Aws::Amplify
2542
2585
  params: params,
2543
2586
  config: config)
2544
2587
  context[:gem_name] = 'aws-sdk-amplify'
2545
- context[:gem_version] = '1.22.0'
2588
+ context[:gem_version] = '1.27.0'
2546
2589
  Seahorse::Client::Request.new(handlers, context)
2547
2590
  end
2548
2591
 
@@ -65,6 +65,7 @@ module Aws::Amplify
65
65
  CreateWebhookResult = Shapes::StructureShape.new(name: 'CreateWebhookResult')
66
66
  CustomDomain = Shapes::StringShape.new(name: 'CustomDomain')
67
67
  CustomDomains = Shapes::ListShape.new(name: 'CustomDomains')
68
+ CustomHeaders = Shapes::StringShape.new(name: 'CustomHeaders')
68
69
  CustomRule = Shapes::StructureShape.new(name: 'CustomRule')
69
70
  CustomRules = Shapes::ListShape.new(name: 'CustomRules')
70
71
  DNSRecord = Shapes::StringShape.new(name: 'DNSRecord')
@@ -98,6 +99,7 @@ module Aws::Amplify
98
99
  EnableBranchAutoBuild = Shapes::BooleanShape.new(name: 'EnableBranchAutoBuild')
99
100
  EnableBranchAutoDeletion = Shapes::BooleanShape.new(name: 'EnableBranchAutoDeletion')
100
101
  EnableNotification = Shapes::BooleanShape.new(name: 'EnableNotification')
102
+ EnablePerformanceMode = Shapes::BooleanShape.new(name: 'EnablePerformanceMode')
101
103
  EnablePullRequestPreview = Shapes::BooleanShape.new(name: 'EnablePullRequestPreview')
102
104
  EndTime = Shapes::TimestampShape.new(name: 'EndTime')
103
105
  EnvKey = Shapes::StringShape.new(name: 'EnvKey')
@@ -239,6 +241,7 @@ module Aws::Amplify
239
241
  App.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
240
242
  App.add_member(:production_branch, Shapes::ShapeRef.new(shape: ProductionBranch, location_name: "productionBranch"))
241
243
  App.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
244
+ App.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "customHeaders"))
242
245
  App.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
243
246
  App.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
244
247
  App.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
@@ -260,6 +263,7 @@ module Aws::Amplify
260
263
  AutoBranchCreationConfig.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
261
264
  AutoBranchCreationConfig.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
262
265
  AutoBranchCreationConfig.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
266
+ AutoBranchCreationConfig.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
263
267
  AutoBranchCreationConfig.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
264
268
  AutoBranchCreationConfig.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
265
269
  AutoBranchCreationConfig.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
@@ -298,6 +302,7 @@ module Aws::Amplify
298
302
  Branch.add_member(:active_job_id, Shapes::ShapeRef.new(shape: ActiveJobId, required: true, location_name: "activeJobId"))
299
303
  Branch.add_member(:total_number_of_jobs, Shapes::ShapeRef.new(shape: TotalNumberOfJobs, required: true, location_name: "totalNumberOfJobs"))
300
304
  Branch.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, required: true, location_name: "enableBasicAuth"))
305
+ Branch.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
301
306
  Branch.add_member(:thumbnail_url, Shapes::ShapeRef.new(shape: ThumbnailUrl, location_name: "thumbnailUrl"))
302
307
  Branch.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
303
308
  Branch.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
@@ -327,6 +332,7 @@ module Aws::Amplify
327
332
  CreateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
328
333
  CreateAppRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
329
334
  CreateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
335
+ CreateAppRequest.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "customHeaders"))
330
336
  CreateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
331
337
  CreateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
332
338
  CreateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
@@ -354,6 +360,7 @@ module Aws::Amplify
354
360
  CreateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
355
361
  CreateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
356
362
  CreateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
363
+ CreateBranchRequest.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
357
364
  CreateBranchRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
358
365
  CreateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
359
366
  CreateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
@@ -729,6 +736,7 @@ module Aws::Amplify
729
736
  UpdateAppRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
730
737
  UpdateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
731
738
  UpdateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
739
+ UpdateAppRequest.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "customHeaders"))
732
740
  UpdateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
733
741
  UpdateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
734
742
  UpdateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
@@ -750,6 +758,7 @@ module Aws::Amplify
750
758
  UpdateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
751
759
  UpdateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
752
760
  UpdateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
761
+ UpdateBranchRequest.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
753
762
  UpdateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
754
763
  UpdateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
755
764
  UpdateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
@@ -94,6 +94,10 @@ module Aws::Amplify
94
94
  # the Amplify app.
95
95
  # @return [String]
96
96
  #
97
+ # @!attribute [rw] custom_headers
98
+ # Describes the custom HTTP headers for the Amplify app.
99
+ # @return [String]
100
+ #
97
101
  # @!attribute [rw] enable_auto_branch_creation
98
102
  # Enables automated branch creation for the Amplify app.
99
103
  # @return [Boolean]
@@ -130,6 +134,7 @@ module Aws::Amplify
130
134
  :custom_rules,
131
135
  :production_branch,
132
136
  :build_spec,
137
+ :custom_headers,
133
138
  :enable_auto_branch_creation,
134
139
  :auto_branch_creation_patterns,
135
140
  :auto_branch_creation_config)
@@ -170,6 +175,7 @@ module Aws::Amplify
170
175
  # },
171
176
  # basic_auth_credentials: "BasicAuthCredentials",
172
177
  # enable_basic_auth: false,
178
+ # enable_performance_mode: false,
173
179
  # build_spec: "BuildSpec",
174
180
  # enable_pull_request_preview: false,
175
181
  # pull_request_environment_name: "PullRequestEnvironmentName",
@@ -199,12 +205,21 @@ module Aws::Amplify
199
205
  # Enables basic authorization for the autocreated branch.
200
206
  # @return [Boolean]
201
207
  #
208
+ # @!attribute [rw] enable_performance_mode
209
+ # Enables performance mode for the branch.
210
+ #
211
+ # Performance mode optimizes for faster hosting performance by keeping
212
+ # content cached at the edge for a longer interval. When performance
213
+ # mode is enabled, hosting configuration or code changes can take up
214
+ # to 10 minutes to roll out.
215
+ # @return [Boolean]
216
+ #
202
217
  # @!attribute [rw] build_spec
203
218
  # The build specification (build spec) for the autocreated branch.
204
219
  # @return [String]
205
220
  #
206
221
  # @!attribute [rw] enable_pull_request_preview
207
- # Enables pull request preview for the autocreated branch.
222
+ # Enables pull request previews for the autocreated branch.
208
223
  # @return [Boolean]
209
224
  #
210
225
  # @!attribute [rw] pull_request_environment_name
@@ -220,6 +235,7 @@ module Aws::Amplify
220
235
  :environment_variables,
221
236
  :basic_auth_credentials,
222
237
  :enable_basic_auth,
238
+ :enable_performance_mode,
223
239
  :build_spec,
224
240
  :enable_pull_request_preview,
225
241
  :pull_request_environment_name)
@@ -353,6 +369,15 @@ module Aws::Amplify
353
369
  # Enables basic authorization for a branch of an Amplify app.
354
370
  # @return [Boolean]
355
371
  #
372
+ # @!attribute [rw] enable_performance_mode
373
+ # Enables performance mode for the branch.
374
+ #
375
+ # Performance mode optimizes for faster hosting performance by keeping
376
+ # content cached at the edge for a longer interval. When performance
377
+ # mode is enabled, hosting configuration or code changes can take up
378
+ # to 10 minutes to roll out.
379
+ # @return [Boolean]
380
+ #
356
381
  # @!attribute [rw] thumbnail_url
357
382
  # The thumbnail URL for the branch of an Amplify app.
358
383
  # @return [String]
@@ -375,7 +400,7 @@ module Aws::Amplify
375
400
  # @return [Array<String>]
376
401
  #
377
402
  # @!attribute [rw] enable_pull_request_preview
378
- # Enables pull request preview for the branch.
403
+ # Enables pull request previews for the branch.
379
404
  # @return [Boolean]
380
405
  #
381
406
  # @!attribute [rw] pull_request_environment_name
@@ -414,6 +439,7 @@ module Aws::Amplify
414
439
  :active_job_id,
415
440
  :total_number_of_jobs,
416
441
  :enable_basic_auth,
442
+ :enable_performance_mode,
417
443
  :thumbnail_url,
418
444
  :basic_auth_credentials,
419
445
  :build_spec,
@@ -460,6 +486,7 @@ module Aws::Amplify
460
486
  # "TagKey" => "TagValue",
461
487
  # },
462
488
  # build_spec: "BuildSpec",
489
+ # custom_headers: "CustomHeaders",
463
490
  # enable_auto_branch_creation: false,
464
491
  # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
465
492
  # auto_branch_creation_config: {
@@ -471,6 +498,7 @@ module Aws::Amplify
471
498
  # },
472
499
  # basic_auth_credentials: "BasicAuthCredentials",
473
500
  # enable_basic_auth: false,
501
+ # enable_performance_mode: false,
474
502
  # build_spec: "BuildSpec",
475
503
  # enable_pull_request_preview: false,
476
504
  # pull_request_environment_name: "PullRequestEnvironmentName",
@@ -478,7 +506,7 @@ module Aws::Amplify
478
506
  # }
479
507
  #
480
508
  # @!attribute [rw] name
481
- # The name for the Amplify app.
509
+ # The name for an Amplify app.
482
510
  # @return [String]
483
511
  #
484
512
  # @!attribute [rw] description
@@ -544,16 +572,20 @@ module Aws::Amplify
544
572
  # The build specification (build spec) for an Amplify app.
545
573
  # @return [String]
546
574
  #
575
+ # @!attribute [rw] custom_headers
576
+ # The custom HTTP headers for an Amplify app.
577
+ # @return [String]
578
+ #
547
579
  # @!attribute [rw] enable_auto_branch_creation
548
- # Enables automated branch creation for the Amplify app.
580
+ # Enables automated branch creation for an Amplify app.
549
581
  # @return [Boolean]
550
582
  #
551
583
  # @!attribute [rw] auto_branch_creation_patterns
552
- # The automated branch creation glob patterns for the Amplify app.
584
+ # The automated branch creation glob patterns for an Amplify app.
553
585
  # @return [Array<String>]
554
586
  #
555
587
  # @!attribute [rw] auto_branch_creation_config
556
- # The automated branch creation configuration for the Amplify app.
588
+ # The automated branch creation configuration for an Amplify app.
557
589
  # @return [Types::AutoBranchCreationConfig]
558
590
  #
559
591
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateAppRequest AWS API Documentation
@@ -574,6 +606,7 @@ module Aws::Amplify
574
606
  :custom_rules,
575
607
  :tags,
576
608
  :build_spec,
609
+ :custom_headers,
577
610
  :enable_auto_branch_creation,
578
611
  :auto_branch_creation_patterns,
579
612
  :auto_branch_creation_config)
@@ -665,6 +698,7 @@ module Aws::Amplify
665
698
  # },
666
699
  # basic_auth_credentials: "BasicAuthCredentials",
667
700
  # enable_basic_auth: false,
701
+ # enable_performance_mode: false,
668
702
  # tags: {
669
703
  # "TagKey" => "TagValue",
670
704
  # },
@@ -716,6 +750,15 @@ module Aws::Amplify
716
750
  # Enables basic authorization for the branch.
717
751
  # @return [Boolean]
718
752
  #
753
+ # @!attribute [rw] enable_performance_mode
754
+ # Enables performance mode for the branch.
755
+ #
756
+ # Performance mode optimizes for faster hosting performance by keeping
757
+ # content cached at the edge for a longer interval. When performance
758
+ # mode is enabled, hosting configuration or code changes can take up
759
+ # to 10 minutes to roll out.
760
+ # @return [Boolean]
761
+ #
719
762
  # @!attribute [rw] tags
720
763
  # The tag for the branch.
721
764
  # @return [Hash<String,String>]
@@ -734,7 +777,7 @@ module Aws::Amplify
734
777
  # @return [String]
735
778
  #
736
779
  # @!attribute [rw] enable_pull_request_preview
737
- # Enables pull request preview for this branch.
780
+ # Enables pull request previews for this branch.
738
781
  # @return [Boolean]
739
782
  #
740
783
  # @!attribute [rw] pull_request_environment_name
@@ -759,6 +802,7 @@ module Aws::Amplify
759
802
  :environment_variables,
760
803
  :basic_auth_credentials,
761
804
  :enable_basic_auth,
805
+ :enable_performance_mode,
762
806
  :tags,
763
807
  :build_spec,
764
808
  :ttl,
@@ -993,6 +1037,27 @@ module Aws::Amplify
993
1037
  #
994
1038
  # @!attribute [rw] status
995
1039
  # The status code for a URL rewrite or redirect rule.
1040
+ #
1041
+ # 200
1042
+ #
1043
+ # : Represents a 200 rewrite rule.
1044
+ #
1045
+ # 301
1046
+ #
1047
+ # : Represents a 301 (moved pemanently) redirect rule. This and all
1048
+ # future requests should be directed to the target URL.
1049
+ #
1050
+ # 302
1051
+ #
1052
+ # : Represents a 302 temporary redirect rule.
1053
+ #
1054
+ # 404
1055
+ #
1056
+ # : Represents a 404 redirect rule.
1057
+ #
1058
+ # 404-200
1059
+ #
1060
+ # : Represents a 404 rewrite rule.
996
1061
  # @return [String]
997
1062
  #
998
1063
  # @!attribute [rw] condition
@@ -2672,6 +2737,7 @@ module Aws::Amplify
2672
2737
  # },
2673
2738
  # ],
2674
2739
  # build_spec: "BuildSpec",
2740
+ # custom_headers: "CustomHeaders",
2675
2741
  # enable_auto_branch_creation: false,
2676
2742
  # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
2677
2743
  # auto_branch_creation_config: {
@@ -2683,6 +2749,7 @@ module Aws::Amplify
2683
2749
  # },
2684
2750
  # basic_auth_credentials: "BasicAuthCredentials",
2685
2751
  # enable_basic_auth: false,
2752
+ # enable_performance_mode: false,
2686
2753
  # build_spec: "BuildSpec",
2687
2754
  # enable_pull_request_preview: false,
2688
2755
  # pull_request_environment_name: "PullRequestEnvironmentName",
@@ -2742,17 +2809,21 @@ module Aws::Amplify
2742
2809
  # The build specification (build spec) for an Amplify app.
2743
2810
  # @return [String]
2744
2811
  #
2812
+ # @!attribute [rw] custom_headers
2813
+ # The custom HTTP headers for an Amplify app.
2814
+ # @return [String]
2815
+ #
2745
2816
  # @!attribute [rw] enable_auto_branch_creation
2746
- # Enables automated branch creation for the Amplify app.
2817
+ # Enables automated branch creation for an Amplify app.
2747
2818
  # @return [Boolean]
2748
2819
  #
2749
2820
  # @!attribute [rw] auto_branch_creation_patterns
2750
- # Describes the automated branch creation glob patterns for the
2751
- # Amplify app.
2821
+ # Describes the automated branch creation glob patterns for an Amplify
2822
+ # app.
2752
2823
  # @return [Array<String>]
2753
2824
  #
2754
2825
  # @!attribute [rw] auto_branch_creation_config
2755
- # The automated branch creation configuration for the Amplify app.
2826
+ # The automated branch creation configuration for an Amplify app.
2756
2827
  # @return [Types::AutoBranchCreationConfig]
2757
2828
  #
2758
2829
  # @!attribute [rw] repository
@@ -2786,6 +2857,7 @@ module Aws::Amplify
2786
2857
  :basic_auth_credentials,
2787
2858
  :custom_rules,
2788
2859
  :build_spec,
2860
+ :custom_headers,
2789
2861
  :enable_auto_branch_creation,
2790
2862
  :auto_branch_creation_patterns,
2791
2863
  :auto_branch_creation_config,
@@ -2828,6 +2900,7 @@ module Aws::Amplify
2828
2900
  # },
2829
2901
  # basic_auth_credentials: "BasicAuthCredentials",
2830
2902
  # enable_basic_auth: false,
2903
+ # enable_performance_mode: false,
2831
2904
  # build_spec: "BuildSpec",
2832
2905
  # ttl: "TTL",
2833
2906
  # display_name: "DisplayName",
@@ -2876,6 +2949,15 @@ module Aws::Amplify
2876
2949
  # Enables basic authorization for the branch.
2877
2950
  # @return [Boolean]
2878
2951
  #
2952
+ # @!attribute [rw] enable_performance_mode
2953
+ # Enables performance mode for the branch.
2954
+ #
2955
+ # Performance mode optimizes for faster hosting performance by keeping
2956
+ # content cached at the edge for a longer interval. When performance
2957
+ # mode is enabled, hosting configuration or code changes can take up
2958
+ # to 10 minutes to roll out.
2959
+ # @return [Boolean]
2960
+ #
2879
2961
  # @!attribute [rw] build_spec
2880
2962
  # The build specification (build spec) for the branch.
2881
2963
  # @return [String]
@@ -2890,7 +2972,7 @@ module Aws::Amplify
2890
2972
  # @return [String]
2891
2973
  #
2892
2974
  # @!attribute [rw] enable_pull_request_preview
2893
- # Enables pull request preview for this branch.
2975
+ # Enables pull request previews for this branch.
2894
2976
  # @return [Boolean]
2895
2977
  #
2896
2978
  # @!attribute [rw] pull_request_environment_name
@@ -2915,6 +2997,7 @@ module Aws::Amplify
2915
2997
  :environment_variables,
2916
2998
  :basic_auth_credentials,
2917
2999
  :enable_basic_auth,
3000
+ :enable_performance_mode,
2918
3001
  :build_spec,
2919
3002
  :ttl,
2920
3003
  :display_name,
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.22.0
4
+ version: 1.27.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: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement