aws-sdk-amplify 1.8.0 → 1.9.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: ccf2a3c6b1a9af37b1d74dbfdca2b19b6c465e07
4
- data.tar.gz: 9c4a3d144655a69ef1ab210f1a4d971d9163aabc
3
+ metadata.gz: f9af0761fe60d049ee564902baead0a4f0c64bcf
4
+ data.tar.gz: f49fb56f2f530927a4869d6b43356f9c2ec81675
5
5
  SHA512:
6
- metadata.gz: 4e1e41f75f8856b228a713c18703f73f500fd9e1c66872165aa43f5f68b5adf74a79dbfd814d202ebe514e31333b05062e05b503797a927b33360d74400794c7
7
- data.tar.gz: ad5fe2af9fc22a3bdbbeda6e7ea91e783a0b7360e731cadb44bb2be88758d5445369506ffdee750a58fb12ae154ddd3cc92c10ccbd6181ecc6c96f03f8a215e3
6
+ metadata.gz: 0d48d1ad4b6764e509822430556fcdfce40f616935084bb5e301f1482e5db9ed228e2ec233d21ceee9d459f9e0b7cfd6664a0e452cb604ece94f61fd3fcc2abc
7
+ data.tar.gz: efea5774adbd98bd784b93b755f7413d8fad2076fd6a8169be0fcf6b8a388f3d5d6acf3beea4214e94344c6f35d74c53a0bfcb32205c80bb2eb77b8f637136a2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-amplify/customizations'
42
42
  # @service
43
43
  module Aws::Amplify
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -262,20 +262,25 @@ module Aws::Amplify
262
262
  # @option params [String] :description
263
263
  # Description for an Amplify App
264
264
  #
265
- # @option params [required, String] :repository
265
+ # @option params [String] :repository
266
266
  # Repository for an Amplify App
267
267
  #
268
- # @option params [required, String] :platform
268
+ # @option params [String] :platform
269
269
  # Platform / framework for an Amplify App
270
270
  #
271
271
  # @option params [String] :iam_service_role_arn
272
272
  # AWS IAM service role for an Amplify App
273
273
  #
274
- # @option params [required, String] :oauth_token
274
+ # @option params [String] :oauth_token
275
275
  # OAuth token for 3rd party source control system for an Amplify App,
276
276
  # used to create webhook and read-only deploy key. OAuth token is not
277
277
  # stored.
278
278
  #
279
+ # @option params [String] :access_token
280
+ # Personal Access token for 3rd party source control system for an
281
+ # Amplify App, used to create webhook and read-only deploy key. Token is
282
+ # not stored.
283
+ #
279
284
  # @option params [Hash<String,String>] :environment_variables
280
285
  # Environment variables map for an Amplify App.
281
286
  #
@@ -298,6 +303,15 @@ module Aws::Amplify
298
303
  # @option params [String] :build_spec
299
304
  # BuildSpec for an Amplify App
300
305
  #
306
+ # @option params [Boolean] :enable_auto_branch_creation
307
+ # Enables automated branch creation for the Amplify App.
308
+ #
309
+ # @option params [Array<String>] :auto_branch_creation_patterns
310
+ # Automated branch creation glob patterns for the Amplify App.
311
+ #
312
+ # @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
313
+ # Automated branch creation config for the Amplify App.
314
+ #
301
315
  # @return [Types::CreateAppResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
302
316
  #
303
317
  # * {Types::CreateAppResult#app #app} => Types::App
@@ -307,10 +321,11 @@ module Aws::Amplify
307
321
  # resp = client.create_app({
308
322
  # name: "Name", # required
309
323
  # description: "Description",
310
- # repository: "Repository", # required
311
- # platform: "IOS", # required, accepts IOS, ANDROID, WEB, REACT_NATIVE
324
+ # repository: "Repository",
325
+ # platform: "WEB", # accepts WEB
312
326
  # iam_service_role_arn: "ServiceRoleArn",
313
- # oauth_token: "OauthToken", # required
327
+ # oauth_token: "OauthToken",
328
+ # access_token: "AccessToken",
314
329
  # environment_variables: {
315
330
  # "EnvKey" => "EnvValue",
316
331
  # },
@@ -329,6 +344,19 @@ module Aws::Amplify
329
344
  # "TagKey" => "TagValue",
330
345
  # },
331
346
  # build_spec: "BuildSpec",
347
+ # enable_auto_branch_creation: false,
348
+ # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
349
+ # auto_branch_creation_config: {
350
+ # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL
351
+ # framework: "Framework",
352
+ # enable_auto_build: false,
353
+ # environment_variables: {
354
+ # "EnvKey" => "EnvValue",
355
+ # },
356
+ # basic_auth_credentials: "BasicAuthCredentials",
357
+ # enable_basic_auth: false,
358
+ # build_spec: "BuildSpec",
359
+ # },
332
360
  # })
333
361
  #
334
362
  # @example Response structure
@@ -340,7 +368,7 @@ module Aws::Amplify
340
368
  # resp.app.tags["TagKey"] #=> String
341
369
  # resp.app.description #=> String
342
370
  # resp.app.repository #=> String
343
- # resp.app.platform #=> String, one of "IOS", "ANDROID", "WEB", "REACT_NATIVE"
371
+ # resp.app.platform #=> String, one of "WEB"
344
372
  # resp.app.create_time #=> Time
345
373
  # resp.app.update_time #=> Time
346
374
  # resp.app.iam_service_role_arn #=> String
@@ -360,6 +388,17 @@ module Aws::Amplify
360
388
  # resp.app.production_branch.thumbnail_url #=> String
361
389
  # resp.app.production_branch.branch_name #=> String
362
390
  # resp.app.build_spec #=> String
391
+ # resp.app.enable_auto_branch_creation #=> Boolean
392
+ # resp.app.auto_branch_creation_patterns #=> Array
393
+ # resp.app.auto_branch_creation_patterns[0] #=> String
394
+ # resp.app.auto_branch_creation_config.stage #=> String, one of "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL"
395
+ # resp.app.auto_branch_creation_config.framework #=> String
396
+ # resp.app.auto_branch_creation_config.enable_auto_build #=> Boolean
397
+ # resp.app.auto_branch_creation_config.environment_variables #=> Hash
398
+ # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
399
+ # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
400
+ # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
401
+ # resp.app.auto_branch_creation_config.build_spec #=> String
363
402
  #
364
403
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp AWS API Documentation
365
404
  #
@@ -411,6 +450,9 @@ module Aws::Amplify
411
450
  # @option params [String] :ttl
412
451
  # The content TTL for the website in seconds.
413
452
  #
453
+ # @option params [String] :display_name
454
+ # Display name for a branch, will use as the default domain prefix.
455
+ #
414
456
  # @return [Types::CreateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
415
457
  #
416
458
  # * {Types::CreateBranchResult#branch #branch} => Types::Branch
@@ -435,6 +477,7 @@ module Aws::Amplify
435
477
  # },
436
478
  # build_spec: "BuildSpec",
437
479
  # ttl: "TTL",
480
+ # display_name: "DisplayName",
438
481
  # })
439
482
  #
440
483
  # @example Response structure
@@ -462,6 +505,8 @@ module Aws::Amplify
462
505
  # resp.branch.basic_auth_credentials #=> String
463
506
  # resp.branch.build_spec #=> String
464
507
  # resp.branch.ttl #=> String
508
+ # resp.branch.associated_resources #=> Array
509
+ # resp.branch.associated_resources[0] #=> String
465
510
  #
466
511
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch AWS API Documentation
467
512
  #
@@ -472,6 +517,53 @@ module Aws::Amplify
472
517
  req.send_request(options)
473
518
  end
474
519
 
520
+ # Create a deployment for manual deploy apps. (Apps are not connected to
521
+ # repository)
522
+ #
523
+ # @option params [required, String] :app_id
524
+ # Unique Id for an Amplify App.
525
+ #
526
+ # @option params [required, String] :branch_name
527
+ # Name for the branch, for the Job.
528
+ #
529
+ # @option params [Hash<String,String>] :file_map
530
+ # Optional file map that contains file name as the key and file content
531
+ # md5 hash as the value. If this argument is provided, the service will
532
+ # generate different upload url per file. Otherwise, the service will
533
+ # only generate a single upload url for the zipped files.
534
+ #
535
+ # @return [Types::CreateDeploymentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
536
+ #
537
+ # * {Types::CreateDeploymentResult#job_id #job_id} => String
538
+ # * {Types::CreateDeploymentResult#file_upload_urls #file_upload_urls} => Hash&lt;String,String&gt;
539
+ # * {Types::CreateDeploymentResult#zip_upload_url #zip_upload_url} => String
540
+ #
541
+ # @example Request syntax with placeholder values
542
+ #
543
+ # resp = client.create_deployment({
544
+ # app_id: "AppId", # required
545
+ # branch_name: "BranchName", # required
546
+ # file_map: {
547
+ # "FileName" => "MD5Hash",
548
+ # },
549
+ # })
550
+ #
551
+ # @example Response structure
552
+ #
553
+ # resp.job_id #=> String
554
+ # resp.file_upload_urls #=> Hash
555
+ # resp.file_upload_urls["FileName"] #=> String
556
+ # resp.zip_upload_url #=> String
557
+ #
558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment AWS API Documentation
559
+ #
560
+ # @overload create_deployment(params = {})
561
+ # @param [Hash] params ({})
562
+ def create_deployment(params = {}, options = {})
563
+ req = build_request(:create_deployment, params)
564
+ req.send_request(options)
565
+ end
566
+
475
567
  # Create a new DomainAssociation on an App
476
568
  #
477
569
  # @option params [required, String] :app_id
@@ -509,7 +601,7 @@ module Aws::Amplify
509
601
  # resp.domain_association.domain_association_arn #=> String
510
602
  # resp.domain_association.domain_name #=> String
511
603
  # resp.domain_association.enable_auto_sub_domain #=> Boolean
512
- # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED"
604
+ # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
513
605
  # resp.domain_association.status_reason #=> String
514
606
  # resp.domain_association.certificate_verification_dns_record #=> String
515
607
  # resp.domain_association.sub_domains #=> Array
@@ -527,6 +619,48 @@ module Aws::Amplify
527
619
  req.send_request(options)
528
620
  end
529
621
 
622
+ # Create a new webhook on an App.
623
+ #
624
+ # @option params [required, String] :app_id
625
+ # Unique Id for an Amplify App.
626
+ #
627
+ # @option params [required, String] :branch_name
628
+ # Name for a branch, part of an Amplify App.
629
+ #
630
+ # @option params [String] :description
631
+ # Description for a webhook.
632
+ #
633
+ # @return [Types::CreateWebhookResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
634
+ #
635
+ # * {Types::CreateWebhookResult#webhook #webhook} => Types::Webhook
636
+ #
637
+ # @example Request syntax with placeholder values
638
+ #
639
+ # resp = client.create_webhook({
640
+ # app_id: "AppId", # required
641
+ # branch_name: "BranchName", # required
642
+ # description: "Description",
643
+ # })
644
+ #
645
+ # @example Response structure
646
+ #
647
+ # resp.webhook.webhook_arn #=> String
648
+ # resp.webhook.webhook_id #=> String
649
+ # resp.webhook.webhook_url #=> String
650
+ # resp.webhook.branch_name #=> String
651
+ # resp.webhook.description #=> String
652
+ # resp.webhook.create_time #=> Time
653
+ # resp.webhook.update_time #=> Time
654
+ #
655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook AWS API Documentation
656
+ #
657
+ # @overload create_webhook(params = {})
658
+ # @param [Hash] params ({})
659
+ def create_webhook(params = {}, options = {})
660
+ req = build_request(:create_webhook, params)
661
+ req.send_request(options)
662
+ end
663
+
530
664
  # Delete an existing Amplify App by appId.
531
665
  #
532
666
  # @option params [required, String] :app_id
@@ -551,7 +685,7 @@ module Aws::Amplify
551
685
  # resp.app.tags["TagKey"] #=> String
552
686
  # resp.app.description #=> String
553
687
  # resp.app.repository #=> String
554
- # resp.app.platform #=> String, one of "IOS", "ANDROID", "WEB", "REACT_NATIVE"
688
+ # resp.app.platform #=> String, one of "WEB"
555
689
  # resp.app.create_time #=> Time
556
690
  # resp.app.update_time #=> Time
557
691
  # resp.app.iam_service_role_arn #=> String
@@ -571,6 +705,17 @@ module Aws::Amplify
571
705
  # resp.app.production_branch.thumbnail_url #=> String
572
706
  # resp.app.production_branch.branch_name #=> String
573
707
  # resp.app.build_spec #=> String
708
+ # resp.app.enable_auto_branch_creation #=> Boolean
709
+ # resp.app.auto_branch_creation_patterns #=> Array
710
+ # resp.app.auto_branch_creation_patterns[0] #=> String
711
+ # resp.app.auto_branch_creation_config.stage #=> String, one of "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL"
712
+ # resp.app.auto_branch_creation_config.framework #=> String
713
+ # resp.app.auto_branch_creation_config.enable_auto_build #=> Boolean
714
+ # resp.app.auto_branch_creation_config.environment_variables #=> Hash
715
+ # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
716
+ # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
717
+ # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
718
+ # resp.app.auto_branch_creation_config.build_spec #=> String
574
719
  #
575
720
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp AWS API Documentation
576
721
  #
@@ -625,6 +770,8 @@ module Aws::Amplify
625
770
  # resp.branch.basic_auth_credentials #=> String
626
771
  # resp.branch.build_spec #=> String
627
772
  # resp.branch.ttl #=> String
773
+ # resp.branch.associated_resources #=> Array
774
+ # resp.branch.associated_resources[0] #=> String
628
775
  #
629
776
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch AWS API Documentation
630
777
  #
@@ -659,7 +806,7 @@ module Aws::Amplify
659
806
  # resp.domain_association.domain_association_arn #=> String
660
807
  # resp.domain_association.domain_name #=> String
661
808
  # resp.domain_association.enable_auto_sub_domain #=> Boolean
662
- # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED"
809
+ # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
663
810
  # resp.domain_association.status_reason #=> String
664
811
  # resp.domain_association.certificate_verification_dns_record #=> String
665
812
  # resp.domain_association.sub_domains #=> Array
@@ -710,7 +857,7 @@ module Aws::Amplify
710
857
  # resp.job_summary.start_time #=> Time
711
858
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
712
859
  # resp.job_summary.end_time #=> Time
713
- # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "WEB_HOOK"
860
+ # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
714
861
  #
715
862
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob AWS API Documentation
716
863
  #
@@ -721,6 +868,40 @@ module Aws::Amplify
721
868
  req.send_request(options)
722
869
  end
723
870
 
871
+ # Deletes a webhook.
872
+ #
873
+ # @option params [required, String] :webhook_id
874
+ # Unique Id for a webhook.
875
+ #
876
+ # @return [Types::DeleteWebhookResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
877
+ #
878
+ # * {Types::DeleteWebhookResult#webhook #webhook} => Types::Webhook
879
+ #
880
+ # @example Request syntax with placeholder values
881
+ #
882
+ # resp = client.delete_webhook({
883
+ # webhook_id: "WebhookId", # required
884
+ # })
885
+ #
886
+ # @example Response structure
887
+ #
888
+ # resp.webhook.webhook_arn #=> String
889
+ # resp.webhook.webhook_id #=> String
890
+ # resp.webhook.webhook_url #=> String
891
+ # resp.webhook.branch_name #=> String
892
+ # resp.webhook.description #=> String
893
+ # resp.webhook.create_time #=> Time
894
+ # resp.webhook.update_time #=> Time
895
+ #
896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook AWS API Documentation
897
+ #
898
+ # @overload delete_webhook(params = {})
899
+ # @param [Hash] params ({})
900
+ def delete_webhook(params = {}, options = {})
901
+ req = build_request(:delete_webhook, params)
902
+ req.send_request(options)
903
+ end
904
+
724
905
  # Retrieves an existing Amplify App by appId.
725
906
  #
726
907
  # @option params [required, String] :app_id
@@ -745,7 +926,7 @@ module Aws::Amplify
745
926
  # resp.app.tags["TagKey"] #=> String
746
927
  # resp.app.description #=> String
747
928
  # resp.app.repository #=> String
748
- # resp.app.platform #=> String, one of "IOS", "ANDROID", "WEB", "REACT_NATIVE"
929
+ # resp.app.platform #=> String, one of "WEB"
749
930
  # resp.app.create_time #=> Time
750
931
  # resp.app.update_time #=> Time
751
932
  # resp.app.iam_service_role_arn #=> String
@@ -765,6 +946,17 @@ module Aws::Amplify
765
946
  # resp.app.production_branch.thumbnail_url #=> String
766
947
  # resp.app.production_branch.branch_name #=> String
767
948
  # resp.app.build_spec #=> String
949
+ # resp.app.enable_auto_branch_creation #=> Boolean
950
+ # resp.app.auto_branch_creation_patterns #=> Array
951
+ # resp.app.auto_branch_creation_patterns[0] #=> String
952
+ # resp.app.auto_branch_creation_config.stage #=> String, one of "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL"
953
+ # resp.app.auto_branch_creation_config.framework #=> String
954
+ # resp.app.auto_branch_creation_config.enable_auto_build #=> Boolean
955
+ # resp.app.auto_branch_creation_config.environment_variables #=> Hash
956
+ # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
957
+ # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
958
+ # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
959
+ # resp.app.auto_branch_creation_config.build_spec #=> String
768
960
  #
769
961
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp AWS API Documentation
770
962
  #
@@ -819,6 +1011,8 @@ module Aws::Amplify
819
1011
  # resp.branch.basic_auth_credentials #=> String
820
1012
  # resp.branch.build_spec #=> String
821
1013
  # resp.branch.ttl #=> String
1014
+ # resp.branch.associated_resources #=> Array
1015
+ # resp.branch.associated_resources[0] #=> String
822
1016
  #
823
1017
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch AWS API Documentation
824
1018
  #
@@ -853,7 +1047,7 @@ module Aws::Amplify
853
1047
  # resp.domain_association.domain_association_arn #=> String
854
1048
  # resp.domain_association.domain_name #=> String
855
1049
  # resp.domain_association.enable_auto_sub_domain #=> Boolean
856
- # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED"
1050
+ # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
857
1051
  # resp.domain_association.status_reason #=> String
858
1052
  # resp.domain_association.certificate_verification_dns_record #=> String
859
1053
  # resp.domain_association.sub_domains #=> Array
@@ -904,7 +1098,7 @@ module Aws::Amplify
904
1098
  # resp.job.summary.start_time #=> Time
905
1099
  # resp.job.summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
906
1100
  # resp.job.summary.end_time #=> Time
907
- # resp.job.summary.job_type #=> String, one of "RELEASE", "RETRY", "WEB_HOOK"
1101
+ # resp.job.summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
908
1102
  # resp.job.steps #=> Array
909
1103
  # resp.job.steps[0].step_name #=> String
910
1104
  # resp.job.steps[0].start_time #=> Time
@@ -914,6 +1108,8 @@ module Aws::Amplify
914
1108
  # resp.job.steps[0].artifacts_url #=> String
915
1109
  # resp.job.steps[0].screenshots #=> Hash
916
1110
  # resp.job.steps[0].screenshots["ThumbnailName"] #=> String
1111
+ # resp.job.steps[0].status_reason #=> String
1112
+ # resp.job.steps[0].context #=> String
917
1113
  #
918
1114
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob AWS API Documentation
919
1115
  #
@@ -924,6 +1120,40 @@ module Aws::Amplify
924
1120
  req.send_request(options)
925
1121
  end
926
1122
 
1123
+ # Retrieves webhook info that corresponds to a webhookId.
1124
+ #
1125
+ # @option params [required, String] :webhook_id
1126
+ # Unique Id for a webhook.
1127
+ #
1128
+ # @return [Types::GetWebhookResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1129
+ #
1130
+ # * {Types::GetWebhookResult#webhook #webhook} => Types::Webhook
1131
+ #
1132
+ # @example Request syntax with placeholder values
1133
+ #
1134
+ # resp = client.get_webhook({
1135
+ # webhook_id: "WebhookId", # required
1136
+ # })
1137
+ #
1138
+ # @example Response structure
1139
+ #
1140
+ # resp.webhook.webhook_arn #=> String
1141
+ # resp.webhook.webhook_id #=> String
1142
+ # resp.webhook.webhook_url #=> String
1143
+ # resp.webhook.branch_name #=> String
1144
+ # resp.webhook.description #=> String
1145
+ # resp.webhook.create_time #=> Time
1146
+ # resp.webhook.update_time #=> Time
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook AWS API Documentation
1149
+ #
1150
+ # @overload get_webhook(params = {})
1151
+ # @param [Hash] params ({})
1152
+ def get_webhook(params = {}, options = {})
1153
+ req = build_request(:get_webhook, params)
1154
+ req.send_request(options)
1155
+ end
1156
+
927
1157
  # Lists existing Amplify Apps.
928
1158
  #
929
1159
  # @option params [String] :next_token
@@ -955,7 +1185,7 @@ module Aws::Amplify
955
1185
  # resp.apps[0].tags["TagKey"] #=> String
956
1186
  # resp.apps[0].description #=> String
957
1187
  # resp.apps[0].repository #=> String
958
- # resp.apps[0].platform #=> String, one of "IOS", "ANDROID", "WEB", "REACT_NATIVE"
1188
+ # resp.apps[0].platform #=> String, one of "WEB"
959
1189
  # resp.apps[0].create_time #=> Time
960
1190
  # resp.apps[0].update_time #=> Time
961
1191
  # resp.apps[0].iam_service_role_arn #=> String
@@ -975,6 +1205,17 @@ module Aws::Amplify
975
1205
  # resp.apps[0].production_branch.thumbnail_url #=> String
976
1206
  # resp.apps[0].production_branch.branch_name #=> String
977
1207
  # resp.apps[0].build_spec #=> String
1208
+ # resp.apps[0].enable_auto_branch_creation #=> Boolean
1209
+ # resp.apps[0].auto_branch_creation_patterns #=> Array
1210
+ # resp.apps[0].auto_branch_creation_patterns[0] #=> String
1211
+ # resp.apps[0].auto_branch_creation_config.stage #=> String, one of "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL"
1212
+ # resp.apps[0].auto_branch_creation_config.framework #=> String
1213
+ # resp.apps[0].auto_branch_creation_config.enable_auto_build #=> Boolean
1214
+ # resp.apps[0].auto_branch_creation_config.environment_variables #=> Hash
1215
+ # resp.apps[0].auto_branch_creation_config.environment_variables["EnvKey"] #=> String
1216
+ # resp.apps[0].auto_branch_creation_config.basic_auth_credentials #=> String
1217
+ # resp.apps[0].auto_branch_creation_config.enable_basic_auth #=> Boolean
1218
+ # resp.apps[0].auto_branch_creation_config.build_spec #=> String
978
1219
  # resp.next_token #=> String
979
1220
  #
980
1221
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps AWS API Documentation
@@ -1038,6 +1279,8 @@ module Aws::Amplify
1038
1279
  # resp.branches[0].basic_auth_credentials #=> String
1039
1280
  # resp.branches[0].build_spec #=> String
1040
1281
  # resp.branches[0].ttl #=> String
1282
+ # resp.branches[0].associated_resources #=> Array
1283
+ # resp.branches[0].associated_resources[0] #=> String
1041
1284
  # resp.next_token #=> String
1042
1285
  #
1043
1286
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches AWS API Documentation
@@ -1081,7 +1324,7 @@ module Aws::Amplify
1081
1324
  # resp.domain_associations[0].domain_association_arn #=> String
1082
1325
  # resp.domain_associations[0].domain_name #=> String
1083
1326
  # resp.domain_associations[0].enable_auto_sub_domain #=> Boolean
1084
- # resp.domain_associations[0].domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED"
1327
+ # resp.domain_associations[0].domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
1085
1328
  # resp.domain_associations[0].status_reason #=> String
1086
1329
  # resp.domain_associations[0].certificate_verification_dns_record #=> String
1087
1330
  # resp.domain_associations[0].sub_domains #=> Array
@@ -1141,7 +1384,7 @@ module Aws::Amplify
1141
1384
  # resp.job_summaries[0].start_time #=> Time
1142
1385
  # resp.job_summaries[0].status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1143
1386
  # resp.job_summaries[0].end_time #=> Time
1144
- # resp.job_summaries[0].job_type #=> String, one of "RELEASE", "RETRY", "WEB_HOOK"
1387
+ # resp.job_summaries[0].job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
1145
1388
  # resp.next_token #=> String
1146
1389
  #
1147
1390
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs AWS API Documentation
@@ -1153,6 +1396,134 @@ module Aws::Amplify
1153
1396
  req.send_request(options)
1154
1397
  end
1155
1398
 
1399
+ # List tags for resource.
1400
+ #
1401
+ # @option params [required, String] :resource_arn
1402
+ # Resource arn used to list tags.
1403
+ #
1404
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1405
+ #
1406
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1407
+ #
1408
+ # @example Request syntax with placeholder values
1409
+ #
1410
+ # resp = client.list_tags_for_resource({
1411
+ # resource_arn: "ResourceArn", # required
1412
+ # })
1413
+ #
1414
+ # @example Response structure
1415
+ #
1416
+ # resp.tags #=> Hash
1417
+ # resp.tags["TagKey"] #=> String
1418
+ #
1419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource AWS API Documentation
1420
+ #
1421
+ # @overload list_tags_for_resource(params = {})
1422
+ # @param [Hash] params ({})
1423
+ def list_tags_for_resource(params = {}, options = {})
1424
+ req = build_request(:list_tags_for_resource, params)
1425
+ req.send_request(options)
1426
+ end
1427
+
1428
+ # List webhooks with an app.
1429
+ #
1430
+ # @option params [required, String] :app_id
1431
+ # Unique Id for an Amplify App.
1432
+ #
1433
+ # @option params [String] :next_token
1434
+ # Pagination token. Set to null to start listing webhooks from start. If
1435
+ # non-null pagination token is returned in a result, then pass its value
1436
+ # in here to list more webhooks.
1437
+ #
1438
+ # @option params [Integer] :max_results
1439
+ # Maximum number of records to list in a single response.
1440
+ #
1441
+ # @return [Types::ListWebhooksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1442
+ #
1443
+ # * {Types::ListWebhooksResult#webhooks #webhooks} => Array&lt;Types::Webhook&gt;
1444
+ # * {Types::ListWebhooksResult#next_token #next_token} => String
1445
+ #
1446
+ # @example Request syntax with placeholder values
1447
+ #
1448
+ # resp = client.list_webhooks({
1449
+ # app_id: "AppId", # required
1450
+ # next_token: "NextToken",
1451
+ # max_results: 1,
1452
+ # })
1453
+ #
1454
+ # @example Response structure
1455
+ #
1456
+ # resp.webhooks #=> Array
1457
+ # resp.webhooks[0].webhook_arn #=> String
1458
+ # resp.webhooks[0].webhook_id #=> String
1459
+ # resp.webhooks[0].webhook_url #=> String
1460
+ # resp.webhooks[0].branch_name #=> String
1461
+ # resp.webhooks[0].description #=> String
1462
+ # resp.webhooks[0].create_time #=> Time
1463
+ # resp.webhooks[0].update_time #=> Time
1464
+ # resp.next_token #=> String
1465
+ #
1466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks AWS API Documentation
1467
+ #
1468
+ # @overload list_webhooks(params = {})
1469
+ # @param [Hash] params ({})
1470
+ def list_webhooks(params = {}, options = {})
1471
+ req = build_request(:list_webhooks, params)
1472
+ req.send_request(options)
1473
+ end
1474
+
1475
+ # Start a deployment for manual deploy apps. (Apps are not connected to
1476
+ # repository)
1477
+ #
1478
+ # @option params [required, String] :app_id
1479
+ # Unique Id for an Amplify App.
1480
+ #
1481
+ # @option params [required, String] :branch_name
1482
+ # Name for the branch, for the Job.
1483
+ #
1484
+ # @option params [String] :job_id
1485
+ # The job id for this deployment, generated by create deployment
1486
+ # request.
1487
+ #
1488
+ # @option params [String] :source_url
1489
+ # The sourceUrl for this deployment, used when calling start deployment
1490
+ # without create deployment. SourceUrl can be any HTTP GET url that is
1491
+ # public accessible and downloads a single zip.
1492
+ #
1493
+ # @return [Types::StartDeploymentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1494
+ #
1495
+ # * {Types::StartDeploymentResult#job_summary #job_summary} => Types::JobSummary
1496
+ #
1497
+ # @example Request syntax with placeholder values
1498
+ #
1499
+ # resp = client.start_deployment({
1500
+ # app_id: "AppId", # required
1501
+ # branch_name: "BranchName", # required
1502
+ # job_id: "JobId",
1503
+ # source_url: "SourceUrl",
1504
+ # })
1505
+ #
1506
+ # @example Response structure
1507
+ #
1508
+ # resp.job_summary.job_arn #=> String
1509
+ # resp.job_summary.job_id #=> String
1510
+ # resp.job_summary.commit_id #=> String
1511
+ # resp.job_summary.commit_message #=> String
1512
+ # resp.job_summary.commit_time #=> Time
1513
+ # resp.job_summary.start_time #=> Time
1514
+ # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1515
+ # resp.job_summary.end_time #=> Time
1516
+ # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
1517
+ #
1518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment AWS API Documentation
1519
+ #
1520
+ # @overload start_deployment(params = {})
1521
+ # @param [Hash] params ({})
1522
+ def start_deployment(params = {}, options = {})
1523
+ req = build_request(:start_deployment, params)
1524
+ req.send_request(options)
1525
+ end
1526
+
1156
1527
  # Starts a new job for a branch, part of an Amplify App.
1157
1528
  #
1158
1529
  # @option params [required, String] :app_id
@@ -1162,13 +1533,16 @@ module Aws::Amplify
1162
1533
  # Name for the branch, for the Job.
1163
1534
  #
1164
1535
  # @option params [String] :job_id
1165
- # Unique Id for the Job.
1536
+ # Unique Id for an existing job. Required for "RETRY" JobType.
1166
1537
  #
1167
1538
  # @option params [required, String] :job_type
1168
- # Type for the Job.
1539
+ # Type for the Job. Available JobTypes are: \\n "RELEASE": Start a new
1540
+ # job with the latest change from the specified branch. Only available
1541
+ # for apps that have connected to a repository. "RETRY": Retry an
1542
+ # existing job. JobId is required for this type of job.
1169
1543
  #
1170
1544
  # @option params [String] :job_reason
1171
- # Reason for the Job.
1545
+ # Descriptive reason for starting this job.
1172
1546
  #
1173
1547
  # @option params [String] :commit_id
1174
1548
  # Commit Id from 3rd party repository provider for the Job.
@@ -1189,7 +1563,7 @@ module Aws::Amplify
1189
1563
  # app_id: "AppId", # required
1190
1564
  # branch_name: "BranchName", # required
1191
1565
  # job_id: "JobId",
1192
- # job_type: "RELEASE", # required, accepts RELEASE, RETRY, WEB_HOOK
1566
+ # job_type: "RELEASE", # required, accepts RELEASE, RETRY, MANUAL, WEB_HOOK
1193
1567
  # job_reason: "JobReason",
1194
1568
  # commit_id: "CommitId",
1195
1569
  # commit_message: "CommitMessage",
@@ -1206,7 +1580,7 @@ module Aws::Amplify
1206
1580
  # resp.job_summary.start_time #=> Time
1207
1581
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1208
1582
  # resp.job_summary.end_time #=> Time
1209
- # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "WEB_HOOK"
1583
+ # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
1210
1584
  #
1211
1585
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob AWS API Documentation
1212
1586
  #
@@ -1251,7 +1625,7 @@ module Aws::Amplify
1251
1625
  # resp.job_summary.start_time #=> Time
1252
1626
  # resp.job_summary.status #=> String, one of "PENDING", "PROVISIONING", "RUNNING", "FAILED", "SUCCEED", "CANCELLING", "CANCELLED"
1253
1627
  # resp.job_summary.end_time #=> Time
1254
- # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "WEB_HOOK"
1628
+ # resp.job_summary.job_type #=> String, one of "RELEASE", "RETRY", "MANUAL", "WEB_HOOK"
1255
1629
  #
1256
1630
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob AWS API Documentation
1257
1631
  #
@@ -1262,6 +1636,60 @@ module Aws::Amplify
1262
1636
  req.send_request(options)
1263
1637
  end
1264
1638
 
1639
+ # Tag resource with tag key and value.
1640
+ #
1641
+ # @option params [required, String] :resource_arn
1642
+ # Resource arn used to tag resource.
1643
+ #
1644
+ # @option params [required, Hash<String,String>] :tags
1645
+ # Tags used to tag resource.
1646
+ #
1647
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1648
+ #
1649
+ # @example Request syntax with placeholder values
1650
+ #
1651
+ # resp = client.tag_resource({
1652
+ # resource_arn: "ResourceArn", # required
1653
+ # tags: { # required
1654
+ # "TagKey" => "TagValue",
1655
+ # },
1656
+ # })
1657
+ #
1658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource AWS API Documentation
1659
+ #
1660
+ # @overload tag_resource(params = {})
1661
+ # @param [Hash] params ({})
1662
+ def tag_resource(params = {}, options = {})
1663
+ req = build_request(:tag_resource, params)
1664
+ req.send_request(options)
1665
+ end
1666
+
1667
+ # Untag resource with resourceArn.
1668
+ #
1669
+ # @option params [required, String] :resource_arn
1670
+ # Resource arn used to untag resource.
1671
+ #
1672
+ # @option params [required, Array<String>] :tag_keys
1673
+ # Tag keys used to untag resource.
1674
+ #
1675
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1676
+ #
1677
+ # @example Request syntax with placeholder values
1678
+ #
1679
+ # resp = client.untag_resource({
1680
+ # resource_arn: "ResourceArn", # required
1681
+ # tag_keys: ["TagKey"], # required
1682
+ # })
1683
+ #
1684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource AWS API Documentation
1685
+ #
1686
+ # @overload untag_resource(params = {})
1687
+ # @param [Hash] params ({})
1688
+ def untag_resource(params = {}, options = {})
1689
+ req = build_request(:untag_resource, params)
1690
+ req.send_request(options)
1691
+ end
1692
+
1265
1693
  # Updates an existing Amplify App.
1266
1694
  #
1267
1695
  # @option params [required, String] :app_id
@@ -1297,6 +1725,15 @@ module Aws::Amplify
1297
1725
  # @option params [String] :build_spec
1298
1726
  # BuildSpec for an Amplify App.
1299
1727
  #
1728
+ # @option params [Boolean] :enable_auto_branch_creation
1729
+ # Enables automated branch creation for the Amplify App.
1730
+ #
1731
+ # @option params [Array<String>] :auto_branch_creation_patterns
1732
+ # Automated branch creation glob patterns for the Amplify App.
1733
+ #
1734
+ # @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
1735
+ # Automated branch creation config for the Amplify App.
1736
+ #
1300
1737
  # @return [Types::UpdateAppResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1301
1738
  #
1302
1739
  # * {Types::UpdateAppResult#app #app} => Types::App
@@ -1307,7 +1744,7 @@ module Aws::Amplify
1307
1744
  # app_id: "AppId", # required
1308
1745
  # name: "Name",
1309
1746
  # description: "Description",
1310
- # platform: "IOS", # accepts IOS, ANDROID, WEB, REACT_NATIVE
1747
+ # platform: "WEB", # accepts WEB
1311
1748
  # iam_service_role_arn: "ServiceRoleArn",
1312
1749
  # environment_variables: {
1313
1750
  # "EnvKey" => "EnvValue",
@@ -1324,6 +1761,19 @@ module Aws::Amplify
1324
1761
  # },
1325
1762
  # ],
1326
1763
  # build_spec: "BuildSpec",
1764
+ # enable_auto_branch_creation: false,
1765
+ # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
1766
+ # auto_branch_creation_config: {
1767
+ # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL
1768
+ # framework: "Framework",
1769
+ # enable_auto_build: false,
1770
+ # environment_variables: {
1771
+ # "EnvKey" => "EnvValue",
1772
+ # },
1773
+ # basic_auth_credentials: "BasicAuthCredentials",
1774
+ # enable_basic_auth: false,
1775
+ # build_spec: "BuildSpec",
1776
+ # },
1327
1777
  # })
1328
1778
  #
1329
1779
  # @example Response structure
@@ -1335,7 +1785,7 @@ module Aws::Amplify
1335
1785
  # resp.app.tags["TagKey"] #=> String
1336
1786
  # resp.app.description #=> String
1337
1787
  # resp.app.repository #=> String
1338
- # resp.app.platform #=> String, one of "IOS", "ANDROID", "WEB", "REACT_NATIVE"
1788
+ # resp.app.platform #=> String, one of "WEB"
1339
1789
  # resp.app.create_time #=> Time
1340
1790
  # resp.app.update_time #=> Time
1341
1791
  # resp.app.iam_service_role_arn #=> String
@@ -1355,6 +1805,17 @@ module Aws::Amplify
1355
1805
  # resp.app.production_branch.thumbnail_url #=> String
1356
1806
  # resp.app.production_branch.branch_name #=> String
1357
1807
  # resp.app.build_spec #=> String
1808
+ # resp.app.enable_auto_branch_creation #=> Boolean
1809
+ # resp.app.auto_branch_creation_patterns #=> Array
1810
+ # resp.app.auto_branch_creation_patterns[0] #=> String
1811
+ # resp.app.auto_branch_creation_config.stage #=> String, one of "PRODUCTION", "BETA", "DEVELOPMENT", "EXPERIMENTAL"
1812
+ # resp.app.auto_branch_creation_config.framework #=> String
1813
+ # resp.app.auto_branch_creation_config.enable_auto_build #=> Boolean
1814
+ # resp.app.auto_branch_creation_config.environment_variables #=> Hash
1815
+ # resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
1816
+ # resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
1817
+ # resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
1818
+ # resp.app.auto_branch_creation_config.build_spec #=> String
1358
1819
  #
1359
1820
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp AWS API Documentation
1360
1821
  #
@@ -1403,6 +1864,9 @@ module Aws::Amplify
1403
1864
  # @option params [String] :ttl
1404
1865
  # The content TTL for the website in seconds.
1405
1866
  #
1867
+ # @option params [String] :display_name
1868
+ # Display name for a branch, will use as the default domain prefix.
1869
+ #
1406
1870
  # @return [Types::UpdateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1407
1871
  #
1408
1872
  # * {Types::UpdateBranchResult#branch #branch} => Types::Branch
@@ -1424,6 +1888,7 @@ module Aws::Amplify
1424
1888
  # enable_basic_auth: false,
1425
1889
  # build_spec: "BuildSpec",
1426
1890
  # ttl: "TTL",
1891
+ # display_name: "DisplayName",
1427
1892
  # })
1428
1893
  #
1429
1894
  # @example Response structure
@@ -1451,6 +1916,8 @@ module Aws::Amplify
1451
1916
  # resp.branch.basic_auth_credentials #=> String
1452
1917
  # resp.branch.build_spec #=> String
1453
1918
  # resp.branch.ttl #=> String
1919
+ # resp.branch.associated_resources #=> Array
1920
+ # resp.branch.associated_resources[0] #=> String
1454
1921
  #
1455
1922
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch AWS API Documentation
1456
1923
  #
@@ -1498,7 +1965,7 @@ module Aws::Amplify
1498
1965
  # resp.domain_association.domain_association_arn #=> String
1499
1966
  # resp.domain_association.domain_name #=> String
1500
1967
  # resp.domain_association.enable_auto_sub_domain #=> Boolean
1501
- # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED"
1968
+ # resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
1502
1969
  # resp.domain_association.status_reason #=> String
1503
1970
  # resp.domain_association.certificate_verification_dns_record #=> String
1504
1971
  # resp.domain_association.sub_domains #=> Array
@@ -1516,6 +1983,48 @@ module Aws::Amplify
1516
1983
  req.send_request(options)
1517
1984
  end
1518
1985
 
1986
+ # Update a webhook.
1987
+ #
1988
+ # @option params [required, String] :webhook_id
1989
+ # Unique Id for a webhook.
1990
+ #
1991
+ # @option params [String] :branch_name
1992
+ # Name for a branch, part of an Amplify App.
1993
+ #
1994
+ # @option params [String] :description
1995
+ # Description for a webhook.
1996
+ #
1997
+ # @return [Types::UpdateWebhookResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1998
+ #
1999
+ # * {Types::UpdateWebhookResult#webhook #webhook} => Types::Webhook
2000
+ #
2001
+ # @example Request syntax with placeholder values
2002
+ #
2003
+ # resp = client.update_webhook({
2004
+ # webhook_id: "WebhookId", # required
2005
+ # branch_name: "BranchName",
2006
+ # description: "Description",
2007
+ # })
2008
+ #
2009
+ # @example Response structure
2010
+ #
2011
+ # resp.webhook.webhook_arn #=> String
2012
+ # resp.webhook.webhook_id #=> String
2013
+ # resp.webhook.webhook_url #=> String
2014
+ # resp.webhook.branch_name #=> String
2015
+ # resp.webhook.description #=> String
2016
+ # resp.webhook.create_time #=> Time
2017
+ # resp.webhook.update_time #=> Time
2018
+ #
2019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook AWS API Documentation
2020
+ #
2021
+ # @overload update_webhook(params = {})
2022
+ # @param [Hash] params ({})
2023
+ def update_webhook(params = {}, options = {})
2024
+ req = build_request(:update_webhook, params)
2025
+ req.send_request(options)
2026
+ end
2027
+
1519
2028
  # @!endgroup
1520
2029
 
1521
2030
  # @param params ({})
@@ -1529,7 +2038,7 @@ module Aws::Amplify
1529
2038
  params: params,
1530
2039
  config: config)
1531
2040
  context[:gem_name] = 'aws-sdk-amplify'
1532
- context[:gem_version] = '1.8.0'
2041
+ context[:gem_version] = '1.9.0'
1533
2042
  Seahorse::Client::Request.new(handlers, context)
1534
2043
  end
1535
2044