aws-sdk-amplify 1.78.0 → 1.79.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: 350a7da56a9279c49c534be5c09bf529417969a27f0d3bddb5e0a28189af53f8
4
- data.tar.gz: 136dbdfbc2f2675df6af9bd498f2dc5c02b84f85efd326fcb5dd3e6201e22199
3
+ metadata.gz: e337bcb1d89bbb55ab16a5b09d58f4ee2c9c2b33529ca65d62d47ba6f1d74279
4
+ data.tar.gz: 35ef0639932a407ea1828f078f101fd01a715f7b541146cfe5970f6a77043059
5
5
  SHA512:
6
- metadata.gz: 167d52b88135930dc407d0a2cfc0b5b3b7f6be7791f1f9f0bde64e5eb5a6aef07c5b638e9824536b6d6de1326f57219403203e10f621318e17bf1e27e04bba65
7
- data.tar.gz: 6c8684341710e7da76c1f58191a8309fcf598188dcbb7de8ef3cac757ba69f5f592531c3e198906ac73e7bed578e820af74b3d60c5c0ce3d55ff30f469903e02
6
+ metadata.gz: b155418f59310bb27d24705b9eb43c7a51ee737da1ce4bcba1cc665011f2a980f9bf9ac4fdc47dde5ae6d83ef45da2697c66bcdfec83ed86e1b9feaec881affa
7
+ data.tar.gz: 95593dc6fc9b04749203ae13bfe228f27c24213deb70bad7fa63f1ced54c0b78e0d757a9197d62b83809375caa008a8692b3733b564139a2145e1b63cb8581b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2025-02-17)
5
+ ------------------
6
+
7
+ * Feature - Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications.
8
+
4
9
  1.78.0 (2025-02-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.78.0
1
+ 1.79.0
@@ -499,9 +499,20 @@ module Aws::Amplify
499
499
  #
500
500
  # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14
501
501
  #
502
+ # @option params [String] :compute_role_arn
503
+ # The Amazon Resource Name (ARN) of the IAM role to assign to an SSR
504
+ # app. The SSR Compute role allows the Amplify Hosting compute service
505
+ # to securely access specific Amazon Web Services resources based on the
506
+ # role's permissions. For more information about the SSR Compute role,
507
+ # see [Adding an SSR Compute role][1] in the *Amplify User Guide*.
508
+ #
509
+ #
510
+ #
511
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
512
+ #
502
513
  # @option params [String] :iam_service_role_arn
503
- # The AWS Identity and Access Management (IAM) service role for an
504
- # Amplify app.
514
+ # The Amazon Resource Name (ARN) of the IAM service role for the Amplify
515
+ # app.
505
516
  #
506
517
  # @option params [String] :oauth_token
507
518
  # The OAuth token for a third-party source control system for an Amplify
@@ -609,6 +620,7 @@ module Aws::Amplify
609
620
  # description: "Description",
610
621
  # repository: "Repository",
611
622
  # platform: "WEB", # accepts WEB, WEB_DYNAMIC, WEB_COMPUTE
623
+ # compute_role_arn: "ComputeRoleArn",
612
624
  # iam_service_role_arn: "ServiceRoleArn",
613
625
  # oauth_token: "OauthToken",
614
626
  # access_token: "AccessToken",
@@ -665,6 +677,7 @@ module Aws::Amplify
665
677
  # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
666
678
  # resp.app.create_time #=> Time
667
679
  # resp.app.update_time #=> Time
680
+ # resp.app.compute_role_arn #=> String
668
681
  # resp.app.iam_service_role_arn #=> String
669
682
  # resp.app.environment_variables #=> Hash
670
683
  # resp.app.environment_variables["EnvKey"] #=> String
@@ -842,6 +855,18 @@ module Aws::Amplify
842
855
  # application with Amplify Gen 2, you provision the app's backend
843
856
  # infrastructure using Typescript code.
844
857
  #
858
+ # @option params [String] :compute_role_arn
859
+ # The Amazon Resource Name (ARN) of the IAM role to assign to a branch
860
+ # of an SSR app. The SSR Compute role allows the Amplify Hosting compute
861
+ # service to securely access specific Amazon Web Services resources
862
+ # based on the role's permissions. For more information about the SSR
863
+ # Compute role, see [Adding an SSR Compute role][1] in the *Amplify User
864
+ # Guide*.
865
+ #
866
+ #
867
+ #
868
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
869
+ #
845
870
  # @return [Types::CreateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
846
871
  #
847
872
  # * {Types::CreateBranchResult#branch #branch} => Types::Branch
@@ -874,6 +899,7 @@ module Aws::Amplify
874
899
  # backend: {
875
900
  # stack_arn: "StackArn",
876
901
  # },
902
+ # compute_role_arn: "ComputeRoleArn",
877
903
  # })
878
904
  #
879
905
  # @example Response structure
@@ -910,6 +936,7 @@ module Aws::Amplify
910
936
  # resp.branch.source_branch #=> String
911
937
  # resp.branch.backend_environment_arn #=> String
912
938
  # resp.branch.backend.stack_arn #=> String
939
+ # resp.branch.compute_role_arn #=> String
913
940
  #
914
941
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch AWS API Documentation
915
942
  #
@@ -1122,6 +1149,7 @@ module Aws::Amplify
1122
1149
  # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
1123
1150
  # resp.app.create_time #=> Time
1124
1151
  # resp.app.update_time #=> Time
1152
+ # resp.app.compute_role_arn #=> String
1125
1153
  # resp.app.iam_service_role_arn #=> String
1126
1154
  # resp.app.environment_variables #=> Hash
1127
1155
  # resp.app.environment_variables["EnvKey"] #=> String
@@ -1267,6 +1295,7 @@ module Aws::Amplify
1267
1295
  # resp.branch.source_branch #=> String
1268
1296
  # resp.branch.backend_environment_arn #=> String
1269
1297
  # resp.branch.backend.stack_arn #=> String
1298
+ # resp.branch.compute_role_arn #=> String
1270
1299
  #
1271
1300
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch AWS API Documentation
1272
1301
  #
@@ -1476,6 +1505,7 @@ module Aws::Amplify
1476
1505
  # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
1477
1506
  # resp.app.create_time #=> Time
1478
1507
  # resp.app.update_time #=> Time
1508
+ # resp.app.compute_role_arn #=> String
1479
1509
  # resp.app.iam_service_role_arn #=> String
1480
1510
  # resp.app.environment_variables #=> Hash
1481
1511
  # resp.app.environment_variables["EnvKey"] #=> String
@@ -1651,6 +1681,7 @@ module Aws::Amplify
1651
1681
  # resp.branch.source_branch #=> String
1652
1682
  # resp.branch.backend_environment_arn #=> String
1653
1683
  # resp.branch.backend.stack_arn #=> String
1684
+ # resp.branch.compute_role_arn #=> String
1654
1685
  #
1655
1686
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch AWS API Documentation
1656
1687
  #
@@ -1840,6 +1871,7 @@ module Aws::Amplify
1840
1871
  # resp.apps[0].platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
1841
1872
  # resp.apps[0].create_time #=> Time
1842
1873
  # resp.apps[0].update_time #=> Time
1874
+ # resp.apps[0].compute_role_arn #=> String
1843
1875
  # resp.apps[0].iam_service_role_arn #=> String
1844
1876
  # resp.apps[0].environment_variables #=> Hash
1845
1877
  # resp.apps[0].environment_variables["EnvKey"] #=> String
@@ -2059,6 +2091,7 @@ module Aws::Amplify
2059
2091
  # resp.branches[0].source_branch #=> String
2060
2092
  # resp.branches[0].backend_environment_arn #=> String
2061
2093
  # resp.branches[0].backend.stack_arn #=> String
2094
+ # resp.branches[0].compute_role_arn #=> String
2062
2095
  # resp.next_token #=> String
2063
2096
  #
2064
2097
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches AWS API Documentation
@@ -2523,9 +2556,20 @@ module Aws::Amplify
2523
2556
  # If you are deploying an SSG only app with Next.js version 14 or later,
2524
2557
  # you must set the platform type to `WEB_COMPUTE`.
2525
2558
  #
2559
+ # @option params [String] :compute_role_arn
2560
+ # The Amazon Resource Name (ARN) of the IAM role to assign to an SSR
2561
+ # app. The SSR Compute role allows the Amplify Hosting compute service
2562
+ # to securely access specific Amazon Web Services resources based on the
2563
+ # role's permissions. For more information about the SSR Compute role,
2564
+ # see [Adding an SSR Compute role][1] in the *Amplify User Guide*.
2565
+ #
2566
+ #
2567
+ #
2568
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
2569
+ #
2526
2570
  # @option params [String] :iam_service_role_arn
2527
- # The AWS Identity and Access Management (IAM) service role for an
2528
- # Amplify app.
2571
+ # The Amazon Resource Name (ARN) of the IAM service role for the Amplify
2572
+ # app.
2529
2573
  #
2530
2574
  # @option params [Hash<String,String>] :environment_variables
2531
2575
  # The environment variables for an Amplify app.
@@ -2627,6 +2671,7 @@ module Aws::Amplify
2627
2671
  # name: "Name",
2628
2672
  # description: "Description",
2629
2673
  # platform: "WEB", # accepts WEB, WEB_DYNAMIC, WEB_COMPUTE
2674
+ # compute_role_arn: "ComputeRoleArn",
2630
2675
  # iam_service_role_arn: "ServiceRoleArn",
2631
2676
  # environment_variables: {
2632
2677
  # "EnvKey" => "EnvValue",
@@ -2681,6 +2726,7 @@ module Aws::Amplify
2681
2726
  # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
2682
2727
  # resp.app.create_time #=> Time
2683
2728
  # resp.app.update_time #=> Time
2729
+ # resp.app.compute_role_arn #=> String
2684
2730
  # resp.app.iam_service_role_arn #=> String
2685
2731
  # resp.app.environment_variables #=> Hash
2686
2732
  # resp.app.environment_variables["EnvKey"] #=> String
@@ -2804,6 +2850,18 @@ module Aws::Amplify
2804
2850
  # application with Amplify Gen 2, you provision the app's backend
2805
2851
  # infrastructure using Typescript code.
2806
2852
  #
2853
+ # @option params [String] :compute_role_arn
2854
+ # The Amazon Resource Name (ARN) of the IAM role to assign to a branch
2855
+ # of an SSR app. The SSR Compute role allows the Amplify Hosting compute
2856
+ # service to securely access specific Amazon Web Services resources
2857
+ # based on the role's permissions. For more information about the SSR
2858
+ # Compute role, see [Adding an SSR Compute role][1] in the *Amplify User
2859
+ # Guide*.
2860
+ #
2861
+ #
2862
+ #
2863
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
2864
+ #
2807
2865
  # @return [Types::UpdateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2808
2866
  #
2809
2867
  # * {Types::UpdateBranchResult#branch #branch} => Types::Branch
@@ -2833,6 +2891,7 @@ module Aws::Amplify
2833
2891
  # backend: {
2834
2892
  # stack_arn: "StackArn",
2835
2893
  # },
2894
+ # compute_role_arn: "ComputeRoleArn",
2836
2895
  # })
2837
2896
  #
2838
2897
  # @example Response structure
@@ -2869,6 +2928,7 @@ module Aws::Amplify
2869
2928
  # resp.branch.source_branch #=> String
2870
2929
  # resp.branch.backend_environment_arn #=> String
2871
2930
  # resp.branch.backend.stack_arn #=> String
2931
+ # resp.branch.compute_role_arn #=> String
2872
2932
  #
2873
2933
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch AWS API Documentation
2874
2934
  #
@@ -3017,7 +3077,7 @@ module Aws::Amplify
3017
3077
  tracer: tracer
3018
3078
  )
3019
3079
  context[:gem_name] = 'aws-sdk-amplify'
3020
- context[:gem_version] = '1.78.0'
3080
+ context[:gem_version] = '1.79.0'
3021
3081
  Seahorse::Client::Request.new(handlers, context)
3022
3082
  end
3023
3083
 
@@ -56,6 +56,7 @@ module Aws::Amplify
56
56
  CommitId = Shapes::StringShape.new(name: 'CommitId')
57
57
  CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
58
58
  CommitTime = Shapes::TimestampShape.new(name: 'CommitTime')
59
+ ComputeRoleArn = Shapes::StringShape.new(name: 'ComputeRoleArn')
59
60
  Condition = Shapes::StringShape.new(name: 'Condition')
60
61
  Context = Shapes::StringShape.new(name: 'Context')
61
62
  CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
@@ -248,6 +249,7 @@ module Aws::Amplify
248
249
  App.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
249
250
  App.add_member(:create_time, Shapes::ShapeRef.new(shape: CreateTime, required: true, location_name: "createTime"))
250
251
  App.add_member(:update_time, Shapes::ShapeRef.new(shape: UpdateTime, required: true, location_name: "updateTime"))
252
+ App.add_member(:compute_role_arn, Shapes::ShapeRef.new(shape: ComputeRoleArn, location_name: "computeRoleArn"))
251
253
  App.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
252
254
  App.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, required: true, location_name: "environmentVariables"))
253
255
  App.add_member(:default_domain, Shapes::ShapeRef.new(shape: DefaultDomain, required: true, location_name: "defaultDomain"))
@@ -338,6 +340,7 @@ module Aws::Amplify
338
340
  Branch.add_member(:source_branch, Shapes::ShapeRef.new(shape: BranchName, location_name: "sourceBranch"))
339
341
  Branch.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
340
342
  Branch.add_member(:backend, Shapes::ShapeRef.new(shape: Backend, location_name: "backend"))
343
+ Branch.add_member(:compute_role_arn, Shapes::ShapeRef.new(shape: ComputeRoleArn, location_name: "computeRoleArn"))
341
344
  Branch.struct_class = Types::Branch
342
345
 
343
346
  Branches.member = Shapes::ShapeRef.new(shape: Branch)
@@ -358,6 +361,7 @@ module Aws::Amplify
358
361
  CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
359
362
  CreateAppRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
360
363
  CreateAppRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
364
+ CreateAppRequest.add_member(:compute_role_arn, Shapes::ShapeRef.new(shape: ComputeRoleArn, location_name: "computeRoleArn"))
361
365
  CreateAppRequest.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
362
366
  CreateAppRequest.add_member(:oauth_token, Shapes::ShapeRef.new(shape: OauthToken, location_name: "oauthToken"))
363
367
  CreateAppRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
@@ -407,6 +411,7 @@ module Aws::Amplify
407
411
  CreateBranchRequest.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
408
412
  CreateBranchRequest.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
409
413
  CreateBranchRequest.add_member(:backend, Shapes::ShapeRef.new(shape: Backend, location_name: "backend"))
414
+ CreateBranchRequest.add_member(:compute_role_arn, Shapes::ShapeRef.new(shape: ComputeRoleArn, location_name: "computeRoleArn"))
410
415
  CreateBranchRequest.struct_class = Types::CreateBranchRequest
411
416
 
412
417
  CreateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
@@ -773,6 +778,7 @@ module Aws::Amplify
773
778
  UpdateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
774
779
  UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
775
780
  UpdateAppRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
781
+ UpdateAppRequest.add_member(:compute_role_arn, Shapes::ShapeRef.new(shape: ComputeRoleArn, location_name: "computeRoleArn"))
776
782
  UpdateAppRequest.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
777
783
  UpdateAppRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
778
784
  UpdateAppRequest.add_member(:enable_branch_auto_build, Shapes::ShapeRef.new(shape: EnableAutoBuild, location_name: "enableBranchAutoBuild"))
@@ -812,6 +818,7 @@ module Aws::Amplify
812
818
  UpdateBranchRequest.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
813
819
  UpdateBranchRequest.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
814
820
  UpdateBranchRequest.add_member(:backend, Shapes::ShapeRef.new(shape: Backend, location_name: "backend"))
821
+ UpdateBranchRequest.add_member(:compute_role_arn, Shapes::ShapeRef.new(shape: ComputeRoleArn, location_name: "computeRoleArn"))
815
822
  UpdateBranchRequest.struct_class = Types::UpdateBranchRequest
816
823
 
817
824
  UpdateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
@@ -56,9 +56,21 @@ module Aws::Amplify
56
56
  # A timestamp of when Amplify updated the application.
57
57
  # @return [Time]
58
58
  #
59
+ # @!attribute [rw] compute_role_arn
60
+ # The Amazon Resource Name (ARN) of the IAM role for an SSR app. The
61
+ # Compute role allows the Amplify Hosting compute service to securely
62
+ # access specific Amazon Web Services resources based on the role's
63
+ # permissions. For more information about the SSR Compute role, see
64
+ # [Adding an SSR Compute role][1] in the *Amplify User Guide*.
65
+ #
66
+ #
67
+ #
68
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
69
+ # @return [String]
70
+ #
59
71
  # @!attribute [rw] iam_service_role_arn
60
- # The AWS Identity and Access Management (IAM) service role for the
61
- # Amazon Resource Name (ARN) of the Amplify app.
72
+ # The Amazon Resource Name (ARN) of the IAM service role for the
73
+ # Amplify app.
62
74
  # @return [String]
63
75
  #
64
76
  # @!attribute [rw] environment_variables
@@ -169,6 +181,7 @@ module Aws::Amplify
169
181
  :platform,
170
182
  :create_time,
171
183
  :update_time,
184
+ :compute_role_arn,
172
185
  :iam_service_role_arn,
173
186
  :environment_variables,
174
187
  :default_domain,
@@ -485,6 +498,19 @@ module Aws::Amplify
485
498
  # backend infrastructure using Typescript code.
486
499
  # @return [Types::Backend]
487
500
  #
501
+ # @!attribute [rw] compute_role_arn
502
+ # The Amazon Resource Name (ARN) of the IAM role for a branch of an
503
+ # SSR app. The Compute role allows the Amplify Hosting compute service
504
+ # to securely access specific Amazon Web Services resources based on
505
+ # the role's permissions. For more information about the SSR Compute
506
+ # role, see [Adding an SSR Compute role][1] in the *Amplify User
507
+ # Guide*.
508
+ #
509
+ #
510
+ #
511
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
512
+ # @return [String]
513
+ #
488
514
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Branch AWS API Documentation
489
515
  #
490
516
  class Branch < Struct.new(
@@ -515,7 +541,8 @@ module Aws::Amplify
515
541
  :destination_branch,
516
542
  :source_branch,
517
543
  :backend_environment_arn,
518
- :backend)
544
+ :backend,
545
+ :compute_role_arn)
519
546
  SENSITIVE = [:basic_auth_credentials, :build_spec]
520
547
  include Aws::Structure
521
548
  end
@@ -668,8 +695,21 @@ module Aws::Amplify
668
695
  # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14
669
696
  # @return [String]
670
697
  #
698
+ # @!attribute [rw] compute_role_arn
699
+ # The Amazon Resource Name (ARN) of the IAM role to assign to an SSR
700
+ # app. The SSR Compute role allows the Amplify Hosting compute service
701
+ # to securely access specific Amazon Web Services resources based on
702
+ # the role's permissions. For more information about the SSR Compute
703
+ # role, see [Adding an SSR Compute role][1] in the *Amplify User
704
+ # Guide*.
705
+ #
706
+ #
707
+ #
708
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
709
+ # @return [String]
710
+ #
671
711
  # @!attribute [rw] iam_service_role_arn
672
- # The AWS Identity and Access Management (IAM) service role for an
712
+ # The Amazon Resource Name (ARN) of the IAM service role for the
673
713
  # Amplify app.
674
714
  # @return [String]
675
715
  #
@@ -792,6 +832,7 @@ module Aws::Amplify
792
832
  :description,
793
833
  :repository,
794
834
  :platform,
835
+ :compute_role_arn,
795
836
  :iam_service_role_arn,
796
837
  :oauth_token,
797
838
  :access_token,
@@ -964,6 +1005,19 @@ module Aws::Amplify
964
1005
  # infrastructure using Typescript code.
965
1006
  # @return [Types::Backend]
966
1007
  #
1008
+ # @!attribute [rw] compute_role_arn
1009
+ # The Amazon Resource Name (ARN) of the IAM role to assign to a branch
1010
+ # of an SSR app. The SSR Compute role allows the Amplify Hosting
1011
+ # compute service to securely access specific Amazon Web Services
1012
+ # resources based on the role's permissions. For more information
1013
+ # about the SSR Compute role, see [Adding an SSR Compute role][1] in
1014
+ # the *Amplify User Guide*.
1015
+ #
1016
+ #
1017
+ #
1018
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
1019
+ # @return [String]
1020
+ #
967
1021
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchRequest AWS API Documentation
968
1022
  #
969
1023
  class CreateBranchRequest < Struct.new(
@@ -985,7 +1039,8 @@ module Aws::Amplify
985
1039
  :enable_pull_request_preview,
986
1040
  :pull_request_environment_name,
987
1041
  :backend_environment_arn,
988
- :backend)
1042
+ :backend,
1043
+ :compute_role_arn)
989
1044
  SENSITIVE = [:basic_auth_credentials, :build_spec]
990
1045
  include Aws::Structure
991
1046
  end
@@ -2716,8 +2771,21 @@ module Aws::Amplify
2716
2771
  # later, you must set the platform type to `WEB_COMPUTE`.
2717
2772
  # @return [String]
2718
2773
  #
2774
+ # @!attribute [rw] compute_role_arn
2775
+ # The Amazon Resource Name (ARN) of the IAM role to assign to an SSR
2776
+ # app. The SSR Compute role allows the Amplify Hosting compute service
2777
+ # to securely access specific Amazon Web Services resources based on
2778
+ # the role's permissions. For more information about the SSR Compute
2779
+ # role, see [Adding an SSR Compute role][1] in the *Amplify User
2780
+ # Guide*.
2781
+ #
2782
+ #
2783
+ #
2784
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
2785
+ # @return [String]
2786
+ #
2719
2787
  # @!attribute [rw] iam_service_role_arn
2720
- # The AWS Identity and Access Management (IAM) service role for an
2788
+ # The Amazon Resource Name (ARN) of the IAM service role for the
2721
2789
  # Amplify app.
2722
2790
  # @return [String]
2723
2791
  #
@@ -2834,6 +2902,7 @@ module Aws::Amplify
2834
2902
  :name,
2835
2903
  :description,
2836
2904
  :platform,
2905
+ :compute_role_arn,
2837
2906
  :iam_service_role_arn,
2838
2907
  :environment_variables,
2839
2908
  :enable_branch_auto_build,
@@ -2960,6 +3029,19 @@ module Aws::Amplify
2960
3029
  # infrastructure using Typescript code.
2961
3030
  # @return [Types::Backend]
2962
3031
  #
3032
+ # @!attribute [rw] compute_role_arn
3033
+ # The Amazon Resource Name (ARN) of the IAM role to assign to a branch
3034
+ # of an SSR app. The SSR Compute role allows the Amplify Hosting
3035
+ # compute service to securely access specific Amazon Web Services
3036
+ # resources based on the role's permissions. For more information
3037
+ # about the SSR Compute role, see [Adding an SSR Compute role][1] in
3038
+ # the *Amplify User Guide*.
3039
+ #
3040
+ #
3041
+ #
3042
+ # [1]: https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html
3043
+ # @return [String]
3044
+ #
2963
3045
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranchRequest AWS API Documentation
2964
3046
  #
2965
3047
  class UpdateBranchRequest < Struct.new(
@@ -2980,7 +3062,8 @@ module Aws::Amplify
2980
3062
  :enable_pull_request_preview,
2981
3063
  :pull_request_environment_name,
2982
3064
  :backend_environment_arn,
2983
- :backend)
3065
+ :backend,
3066
+ :compute_role_arn)
2984
3067
  SENSITIVE = [:basic_auth_credentials, :build_spec]
2985
3068
  include Aws::Structure
2986
3069
  end
@@ -54,7 +54,7 @@ module Aws::Amplify
54
54
  autoload :EndpointProvider, 'aws-sdk-amplify/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-amplify/endpoints'
56
56
 
57
- GEM_VERSION = '1.78.0'
57
+ GEM_VERSION = '1.79.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -87,6 +87,7 @@ module Aws
87
87
  ?description: ::String,
88
88
  ?repository: ::String,
89
89
  ?platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE"),
90
+ ?compute_role_arn: ::String,
90
91
  ?iam_service_role_arn: ::String,
91
92
  ?oauth_token: ::String,
92
93
  ?access_token: ::String,
@@ -165,7 +166,8 @@ module Aws
165
166
  ?backend_environment_arn: ::String,
166
167
  ?backend: {
167
168
  stack_arn: ::String?
168
- }
169
+ },
170
+ ?compute_role_arn: ::String
169
171
  ) -> _CreateBranchResponseSuccess
170
172
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBranchResponseSuccess
171
173
 
@@ -550,6 +552,7 @@ module Aws
550
552
  ?name: ::String,
551
553
  ?description: ::String,
552
554
  ?platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE"),
555
+ ?compute_role_arn: ::String,
553
556
  ?iam_service_role_arn: ::String,
554
557
  ?environment_variables: Hash[::String, ::String],
555
558
  ?enable_branch_auto_build: bool,
@@ -614,7 +617,8 @@ module Aws
614
617
  ?backend_environment_arn: ::String,
615
618
  ?backend: {
616
619
  stack_arn: ::String?
617
- }
620
+ },
621
+ ?compute_role_arn: ::String
618
622
  ) -> _UpdateBranchResponseSuccess
619
623
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBranchResponseSuccess
620
624
 
data/sig/types.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws::Amplify
18
18
  attr_accessor platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE")
19
19
  attr_accessor create_time: ::Time
20
20
  attr_accessor update_time: ::Time
21
+ attr_accessor compute_role_arn: ::String
21
22
  attr_accessor iam_service_role_arn: ::String
22
23
  attr_accessor environment_variables: ::Hash[::String, ::String]
23
24
  attr_accessor default_domain: ::String
@@ -108,6 +109,7 @@ module Aws::Amplify
108
109
  attr_accessor source_branch: ::String
109
110
  attr_accessor backend_environment_arn: ::String
110
111
  attr_accessor backend: Types::Backend
112
+ attr_accessor compute_role_arn: ::String
111
113
  SENSITIVE: [:basic_auth_credentials, :build_spec]
112
114
  end
113
115
 
@@ -134,6 +136,7 @@ module Aws::Amplify
134
136
  attr_accessor description: ::String
135
137
  attr_accessor repository: ::String
136
138
  attr_accessor platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE")
139
+ attr_accessor compute_role_arn: ::String
137
140
  attr_accessor iam_service_role_arn: ::String
138
141
  attr_accessor oauth_token: ::String
139
142
  attr_accessor access_token: ::String
@@ -191,6 +194,7 @@ module Aws::Amplify
191
194
  attr_accessor pull_request_environment_name: ::String
192
195
  attr_accessor backend_environment_arn: ::String
193
196
  attr_accessor backend: Types::Backend
197
+ attr_accessor compute_role_arn: ::String
194
198
  SENSITIVE: [:basic_auth_credentials, :build_spec]
195
199
  end
196
200
 
@@ -676,6 +680,7 @@ module Aws::Amplify
676
680
  attr_accessor name: ::String
677
681
  attr_accessor description: ::String
678
682
  attr_accessor platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE")
683
+ attr_accessor compute_role_arn: ::String
679
684
  attr_accessor iam_service_role_arn: ::String
680
685
  attr_accessor environment_variables: ::Hash[::String, ::String]
681
686
  attr_accessor enable_branch_auto_build: bool
@@ -719,6 +724,7 @@ module Aws::Amplify
719
724
  attr_accessor pull_request_environment_name: ::String
720
725
  attr_accessor backend_environment_arn: ::String
721
726
  attr_accessor backend: Types::Backend
727
+ attr_accessor compute_role_arn: ::String
722
728
  SENSITIVE: [:basic_auth_credentials, :build_spec]
723
729
  end
724
730
 
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.78.0
4
+ version: 1.79.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: 2025-02-06 00:00:00.000000000 Z
11
+ date: 2025-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core