aws-sdk-amplifybackend 1.10.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -545,6 +545,65 @@ module Aws::AmplifyBackend
545
545
  include Aws::Structure
546
546
  end
547
547
 
548
+ # Describes the read, write, and delete permissions users have against
549
+ # your storage S3 bucket.
550
+ #
551
+ # @note When making an API call, you may pass BackendStoragePermissions
552
+ # data as a hash:
553
+ #
554
+ # {
555
+ # authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
556
+ # un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
557
+ # }
558
+ #
559
+ # @!attribute [rw] authenticated
560
+ # Lists all authenticated user read, write, and delete permissions for
561
+ # your S3 bucket.
562
+ # @return [Array<String>]
563
+ #
564
+ # @!attribute [rw] un_authenticated
565
+ # Lists all unauthenticated user read, write, and delete permissions
566
+ # for your S3 bucket.
567
+ # @return [Array<String>]
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/BackendStoragePermissions AWS API Documentation
570
+ #
571
+ class BackendStoragePermissions < Struct.new(
572
+ :authenticated,
573
+ :un_authenticated)
574
+ SENSITIVE = []
575
+ include Aws::Structure
576
+ end
577
+
578
+ # The response object for this operation.
579
+ #
580
+ # @!attribute [rw] app_id
581
+ # The app ID.
582
+ # @return [String]
583
+ #
584
+ # @!attribute [rw] backend_environment_name
585
+ # The name of the backend environment.
586
+ # @return [String]
587
+ #
588
+ # @!attribute [rw] job_id
589
+ # The ID for the job.
590
+ # @return [String]
591
+ #
592
+ # @!attribute [rw] status
593
+ # The current status of the request.
594
+ # @return [String]
595
+ #
596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/BackendStorageRespObj AWS API Documentation
597
+ #
598
+ class BackendStorageRespObj < Struct.new(
599
+ :app_id,
600
+ :backend_environment_name,
601
+ :job_id,
602
+ :status)
603
+ SENSITIVE = []
604
+ include Aws::Structure
605
+ end
606
+
548
607
  # An error returned if a request is not formed properly.
549
608
  #
550
609
  # @!attribute [rw] message
@@ -1468,7 +1527,7 @@ module Aws::AmplifyBackend
1468
1527
  # @return [String]
1469
1528
  #
1470
1529
  # @!attribute [rw] resource_config
1471
- # The resource configuration for the create backend request.
1530
+ # The resource configuration for creating backend storage.
1472
1531
  # @return [Types::ResourceConfig]
1473
1532
  #
1474
1533
  # @!attribute [rw] resource_name
@@ -1596,6 +1655,130 @@ module Aws::AmplifyBackend
1596
1655
  include Aws::Structure
1597
1656
  end
1598
1657
 
1658
+ # The request object for this operation.
1659
+ #
1660
+ # @!attribute [rw] backend_environment_name
1661
+ # The name of the backend environment.
1662
+ # @return [String]
1663
+ #
1664
+ # @!attribute [rw] resource_config
1665
+ # The resource configuration for creating backend storage.
1666
+ # @return [Types::CreateBackendStorageResourceConfig]
1667
+ #
1668
+ # @!attribute [rw] resource_name
1669
+ # The name of the storage resource.
1670
+ # @return [String]
1671
+ #
1672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorageReqObj AWS API Documentation
1673
+ #
1674
+ class CreateBackendStorageReqObj < Struct.new(
1675
+ :backend_environment_name,
1676
+ :resource_config,
1677
+ :resource_name)
1678
+ SENSITIVE = []
1679
+ include Aws::Structure
1680
+ end
1681
+
1682
+ # @note When making an API call, you may pass CreateBackendStorageRequest
1683
+ # data as a hash:
1684
+ #
1685
+ # {
1686
+ # app_id: "__string", # required
1687
+ # backend_environment_name: "__string", # required
1688
+ # resource_config: { # required
1689
+ # bucket_name: "__string",
1690
+ # permissions: { # required
1691
+ # authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
1692
+ # un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
1693
+ # },
1694
+ # service_name: "S3", # required, accepts S3
1695
+ # },
1696
+ # resource_name: "__string", # required
1697
+ # }
1698
+ #
1699
+ # @!attribute [rw] app_id
1700
+ # @return [String]
1701
+ #
1702
+ # @!attribute [rw] backend_environment_name
1703
+ # @return [String]
1704
+ #
1705
+ # @!attribute [rw] resource_config
1706
+ # The resource configuration for creating backend storage.
1707
+ # @return [Types::CreateBackendStorageResourceConfig]
1708
+ #
1709
+ # @!attribute [rw] resource_name
1710
+ # @return [String]
1711
+ #
1712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorageRequest AWS API Documentation
1713
+ #
1714
+ class CreateBackendStorageRequest < Struct.new(
1715
+ :app_id,
1716
+ :backend_environment_name,
1717
+ :resource_config,
1718
+ :resource_name)
1719
+ SENSITIVE = []
1720
+ include Aws::Structure
1721
+ end
1722
+
1723
+ # The resource configuration for creating backend storage.
1724
+ #
1725
+ # @note When making an API call, you may pass CreateBackendStorageResourceConfig
1726
+ # data as a hash:
1727
+ #
1728
+ # {
1729
+ # bucket_name: "__string",
1730
+ # permissions: { # required
1731
+ # authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
1732
+ # un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
1733
+ # },
1734
+ # service_name: "S3", # required, accepts S3
1735
+ # }
1736
+ #
1737
+ # @!attribute [rw] bucket_name
1738
+ # The name of the S3 bucket.
1739
+ # @return [String]
1740
+ #
1741
+ # @!attribute [rw] permissions
1742
+ # The authorization configuration for the storage S3 bucket.
1743
+ # @return [Types::BackendStoragePermissions]
1744
+ #
1745
+ # @!attribute [rw] service_name
1746
+ # The name of the storage service.
1747
+ # @return [String]
1748
+ #
1749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorageResourceConfig AWS API Documentation
1750
+ #
1751
+ class CreateBackendStorageResourceConfig < Struct.new(
1752
+ :bucket_name,
1753
+ :permissions,
1754
+ :service_name)
1755
+ SENSITIVE = []
1756
+ include Aws::Structure
1757
+ end
1758
+
1759
+ # @!attribute [rw] app_id
1760
+ # @return [String]
1761
+ #
1762
+ # @!attribute [rw] backend_environment_name
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] job_id
1766
+ # @return [String]
1767
+ #
1768
+ # @!attribute [rw] status
1769
+ # @return [String]
1770
+ #
1771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorageResponse AWS API Documentation
1772
+ #
1773
+ class CreateBackendStorageResponse < Struct.new(
1774
+ :app_id,
1775
+ :backend_environment_name,
1776
+ :job_id,
1777
+ :status)
1778
+ SENSITIVE = []
1779
+ include Aws::Structure
1780
+ end
1781
+
1599
1782
  # @note When making an API call, you may pass CreateTokenRequest
1600
1783
  # data as a hash:
1601
1784
  #
@@ -1920,6 +2103,62 @@ module Aws::AmplifyBackend
1920
2103
  include Aws::Structure
1921
2104
  end
1922
2105
 
2106
+ # @note When making an API call, you may pass DeleteBackendStorageRequest
2107
+ # data as a hash:
2108
+ #
2109
+ # {
2110
+ # app_id: "__string", # required
2111
+ # backend_environment_name: "__string", # required
2112
+ # resource_name: "__string", # required
2113
+ # service_name: "S3", # required, accepts S3
2114
+ # }
2115
+ #
2116
+ # @!attribute [rw] app_id
2117
+ # @return [String]
2118
+ #
2119
+ # @!attribute [rw] backend_environment_name
2120
+ # @return [String]
2121
+ #
2122
+ # @!attribute [rw] resource_name
2123
+ # @return [String]
2124
+ #
2125
+ # @!attribute [rw] service_name
2126
+ # @return [String]
2127
+ #
2128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorageRequest AWS API Documentation
2129
+ #
2130
+ class DeleteBackendStorageRequest < Struct.new(
2131
+ :app_id,
2132
+ :backend_environment_name,
2133
+ :resource_name,
2134
+ :service_name)
2135
+ SENSITIVE = []
2136
+ include Aws::Structure
2137
+ end
2138
+
2139
+ # @!attribute [rw] app_id
2140
+ # @return [String]
2141
+ #
2142
+ # @!attribute [rw] backend_environment_name
2143
+ # @return [String]
2144
+ #
2145
+ # @!attribute [rw] job_id
2146
+ # @return [String]
2147
+ #
2148
+ # @!attribute [rw] status
2149
+ # @return [String]
2150
+ #
2151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorageResponse AWS API Documentation
2152
+ #
2153
+ class DeleteBackendStorageResponse < Struct.new(
2154
+ :app_id,
2155
+ :backend_environment_name,
2156
+ :job_id,
2157
+ :status)
2158
+ SENSITIVE = []
2159
+ include Aws::Structure
2160
+ end
2161
+
1923
2162
  # @note When making an API call, you may pass DeleteTokenRequest
1924
2163
  # data as a hash:
1925
2164
  #
@@ -2550,6 +2789,130 @@ module Aws::AmplifyBackend
2550
2789
  include Aws::Structure
2551
2790
  end
2552
2791
 
2792
+ # The request object for this operation.
2793
+ #
2794
+ # @!attribute [rw] resource_name
2795
+ # The name of the storage resource.
2796
+ # @return [String]
2797
+ #
2798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorageReqObj AWS API Documentation
2799
+ #
2800
+ class GetBackendStorageReqObj < Struct.new(
2801
+ :resource_name)
2802
+ SENSITIVE = []
2803
+ include Aws::Structure
2804
+ end
2805
+
2806
+ # @note When making an API call, you may pass GetBackendStorageRequest
2807
+ # data as a hash:
2808
+ #
2809
+ # {
2810
+ # app_id: "__string", # required
2811
+ # backend_environment_name: "__string", # required
2812
+ # resource_name: "__string", # required
2813
+ # }
2814
+ #
2815
+ # @!attribute [rw] app_id
2816
+ # @return [String]
2817
+ #
2818
+ # @!attribute [rw] backend_environment_name
2819
+ # @return [String]
2820
+ #
2821
+ # @!attribute [rw] resource_name
2822
+ # @return [String]
2823
+ #
2824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorageRequest AWS API Documentation
2825
+ #
2826
+ class GetBackendStorageRequest < Struct.new(
2827
+ :app_id,
2828
+ :backend_environment_name,
2829
+ :resource_name)
2830
+ SENSITIVE = []
2831
+ include Aws::Structure
2832
+ end
2833
+
2834
+ # The details for a backend storage resource.
2835
+ #
2836
+ # @!attribute [rw] bucket_name
2837
+ # The name of the S3 bucket.
2838
+ # @return [String]
2839
+ #
2840
+ # @!attribute [rw] imported
2841
+ # Returns True if the storage resource has been imported.
2842
+ # @return [Boolean]
2843
+ #
2844
+ # @!attribute [rw] permissions
2845
+ # The authorization configuration for the storage S3 bucket.
2846
+ # @return [Types::BackendStoragePermissions]
2847
+ #
2848
+ # @!attribute [rw] service_name
2849
+ # The name of the storage service.
2850
+ # @return [String]
2851
+ #
2852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorageResourceConfig AWS API Documentation
2853
+ #
2854
+ class GetBackendStorageResourceConfig < Struct.new(
2855
+ :bucket_name,
2856
+ :imported,
2857
+ :permissions,
2858
+ :service_name)
2859
+ SENSITIVE = []
2860
+ include Aws::Structure
2861
+ end
2862
+
2863
+ # The response object for this operation.
2864
+ #
2865
+ # @!attribute [rw] app_id
2866
+ # The app ID.
2867
+ # @return [String]
2868
+ #
2869
+ # @!attribute [rw] backend_environment_name
2870
+ # The name of the backend environment.
2871
+ # @return [String]
2872
+ #
2873
+ # @!attribute [rw] resource_config
2874
+ # The resource configuration for the backend storage resource.
2875
+ # @return [Types::GetBackendStorageResourceConfig]
2876
+ #
2877
+ # @!attribute [rw] resource_name
2878
+ # The name of the storage resource.
2879
+ # @return [String]
2880
+ #
2881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorageRespObj AWS API Documentation
2882
+ #
2883
+ class GetBackendStorageRespObj < Struct.new(
2884
+ :app_id,
2885
+ :backend_environment_name,
2886
+ :resource_config,
2887
+ :resource_name)
2888
+ SENSITIVE = []
2889
+ include Aws::Structure
2890
+ end
2891
+
2892
+ # @!attribute [rw] app_id
2893
+ # @return [String]
2894
+ #
2895
+ # @!attribute [rw] backend_environment_name
2896
+ # @return [String]
2897
+ #
2898
+ # @!attribute [rw] resource_config
2899
+ # The details for a backend storage resource.
2900
+ # @return [Types::GetBackendStorageResourceConfig]
2901
+ #
2902
+ # @!attribute [rw] resource_name
2903
+ # @return [String]
2904
+ #
2905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorageResponse AWS API Documentation
2906
+ #
2907
+ class GetBackendStorageResponse < Struct.new(
2908
+ :app_id,
2909
+ :backend_environment_name,
2910
+ :resource_config,
2911
+ :resource_name)
2912
+ SENSITIVE = []
2913
+ include Aws::Structure
2914
+ end
2915
+
2553
2916
  # @note When making an API call, you may pass GetTokenRequest
2554
2917
  # data as a hash:
2555
2918
  #
@@ -2729,6 +3092,81 @@ module Aws::AmplifyBackend
2729
3092
  include Aws::Structure
2730
3093
  end
2731
3094
 
3095
+ # The request object for this operation.
3096
+ #
3097
+ # @!attribute [rw] bucket_name
3098
+ # The name of the S3 bucket.
3099
+ # @return [String]
3100
+ #
3101
+ # @!attribute [rw] service_name
3102
+ # The name of the storage service.
3103
+ # @return [String]
3104
+ #
3105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorageReqObj AWS API Documentation
3106
+ #
3107
+ class ImportBackendStorageReqObj < Struct.new(
3108
+ :bucket_name,
3109
+ :service_name)
3110
+ SENSITIVE = []
3111
+ include Aws::Structure
3112
+ end
3113
+
3114
+ # @note When making an API call, you may pass ImportBackendStorageRequest
3115
+ # data as a hash:
3116
+ #
3117
+ # {
3118
+ # app_id: "__string", # required
3119
+ # backend_environment_name: "__string", # required
3120
+ # bucket_name: "__string",
3121
+ # service_name: "S3", # required, accepts S3
3122
+ # }
3123
+ #
3124
+ # @!attribute [rw] app_id
3125
+ # @return [String]
3126
+ #
3127
+ # @!attribute [rw] backend_environment_name
3128
+ # @return [String]
3129
+ #
3130
+ # @!attribute [rw] bucket_name
3131
+ # @return [String]
3132
+ #
3133
+ # @!attribute [rw] service_name
3134
+ # @return [String]
3135
+ #
3136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorageRequest AWS API Documentation
3137
+ #
3138
+ class ImportBackendStorageRequest < Struct.new(
3139
+ :app_id,
3140
+ :backend_environment_name,
3141
+ :bucket_name,
3142
+ :service_name)
3143
+ SENSITIVE = []
3144
+ include Aws::Structure
3145
+ end
3146
+
3147
+ # @!attribute [rw] app_id
3148
+ # @return [String]
3149
+ #
3150
+ # @!attribute [rw] backend_environment_name
3151
+ # @return [String]
3152
+ #
3153
+ # @!attribute [rw] job_id
3154
+ # @return [String]
3155
+ #
3156
+ # @!attribute [rw] status
3157
+ # @return [String]
3158
+ #
3159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorageResponse AWS API Documentation
3160
+ #
3161
+ class ImportBackendStorageResponse < Struct.new(
3162
+ :app_id,
3163
+ :backend_environment_name,
3164
+ :job_id,
3165
+ :status)
3166
+ SENSITIVE = []
3167
+ include Aws::Structure
3168
+ end
3169
+
2732
3170
  # An error returned if there's a temporary issue with the service.
2733
3171
  #
2734
3172
  # @!attribute [rw] message
@@ -2881,6 +3319,72 @@ module Aws::AmplifyBackend
2881
3319
  include Aws::Structure
2882
3320
  end
2883
3321
 
3322
+ # The request object for this operation.
3323
+ #
3324
+ # @!attribute [rw] next_token
3325
+ # Reserved for future use.
3326
+ # @return [String]
3327
+ #
3328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3BucketsReqObj AWS API Documentation
3329
+ #
3330
+ class ListS3BucketsReqObj < Struct.new(
3331
+ :next_token)
3332
+ SENSITIVE = []
3333
+ include Aws::Structure
3334
+ end
3335
+
3336
+ # @note When making an API call, you may pass ListS3BucketsRequest
3337
+ # data as a hash:
3338
+ #
3339
+ # {
3340
+ # next_token: "__string",
3341
+ # }
3342
+ #
3343
+ # @!attribute [rw] next_token
3344
+ # @return [String]
3345
+ #
3346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3BucketsRequest AWS API Documentation
3347
+ #
3348
+ class ListS3BucketsRequest < Struct.new(
3349
+ :next_token)
3350
+ SENSITIVE = []
3351
+ include Aws::Structure
3352
+ end
3353
+
3354
+ # The response object for this operation.
3355
+ #
3356
+ # @!attribute [rw] buckets
3357
+ # The list of S3 buckets.
3358
+ # @return [Array<Types::S3BucketInfo>]
3359
+ #
3360
+ # @!attribute [rw] next_token
3361
+ # Reserved for future use.
3362
+ # @return [String]
3363
+ #
3364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3BucketsRespObj AWS API Documentation
3365
+ #
3366
+ class ListS3BucketsRespObj < Struct.new(
3367
+ :buckets,
3368
+ :next_token)
3369
+ SENSITIVE = []
3370
+ include Aws::Structure
3371
+ end
3372
+
3373
+ # @!attribute [rw] buckets
3374
+ # @return [Array<Types::S3BucketInfo>]
3375
+ #
3376
+ # @!attribute [rw] next_token
3377
+ # @return [String]
3378
+ #
3379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3BucketsResponse AWS API Documentation
3380
+ #
3381
+ class ListS3BucketsResponse < Struct.new(
3382
+ :buckets,
3383
+ :next_token)
3384
+ SENSITIVE = []
3385
+ include Aws::Structure
3386
+ end
3387
+
2884
3388
  # The request object for this operation.
2885
3389
  #
2886
3390
  # @note When making an API call, you may pass LoginAuthConfigReqObj
@@ -3096,12 +3600,50 @@ module Aws::AmplifyBackend
3096
3600
  include Aws::Structure
3097
3601
  end
3098
3602
 
3603
+ # The request object for this operation.
3604
+ #
3605
+ # @!attribute [rw] resource_name
3606
+ # The name of the storage resource.
3607
+ # @return [String]
3608
+ #
3609
+ # @!attribute [rw] service_name
3610
+ # The name of the storage service.
3611
+ # @return [String]
3612
+ #
3613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendStorageReqObj AWS API Documentation
3614
+ #
3615
+ class RemoveBackendStorageReqObj < Struct.new(
3616
+ :resource_name,
3617
+ :service_name)
3618
+ SENSITIVE = []
3619
+ include Aws::Structure
3620
+ end
3621
+
3099
3622
  # @api private
3100
3623
  #
3101
3624
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ResourceConfig AWS API Documentation
3102
3625
  #
3103
3626
  class ResourceConfig < Aws::EmptyStructure; end
3104
3627
 
3628
+ # Describes the metadata of the S3 bucket.
3629
+ #
3630
+ # @!attribute [rw] creation_date
3631
+ # The creation date of the S3 bucket.
3632
+ # @return [String]
3633
+ #
3634
+ # @!attribute [rw] name
3635
+ # The name of the S3 bucket.
3636
+ # @return [String]
3637
+ #
3638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/S3BucketInfo AWS API Documentation
3639
+ #
3640
+ class S3BucketInfo < Struct.new(
3641
+ :creation_date,
3642
+ :name)
3643
+ SENSITIVE = []
3644
+ include Aws::Structure
3645
+ end
3646
+
3105
3647
  # @note When making an API call, you may pass Settings
3106
3648
  # data as a hash:
3107
3649
  #
@@ -3996,5 +4538,117 @@ module Aws::AmplifyBackend
3996
4538
  include Aws::Structure
3997
4539
  end
3998
4540
 
4541
+ # The request object for this operation.
4542
+ #
4543
+ # @!attribute [rw] resource_config
4544
+ # The resource configuration for updating backend storage.
4545
+ # @return [Types::UpdateBackendStorageResourceConfig]
4546
+ #
4547
+ # @!attribute [rw] resource_name
4548
+ # The name of the storage resource.
4549
+ # @return [String]
4550
+ #
4551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorageReqObj AWS API Documentation
4552
+ #
4553
+ class UpdateBackendStorageReqObj < Struct.new(
4554
+ :resource_config,
4555
+ :resource_name)
4556
+ SENSITIVE = []
4557
+ include Aws::Structure
4558
+ end
4559
+
4560
+ # @note When making an API call, you may pass UpdateBackendStorageRequest
4561
+ # data as a hash:
4562
+ #
4563
+ # {
4564
+ # app_id: "__string", # required
4565
+ # backend_environment_name: "__string", # required
4566
+ # resource_config: { # required
4567
+ # permissions: { # required
4568
+ # authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
4569
+ # un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
4570
+ # },
4571
+ # service_name: "S3", # required, accepts S3
4572
+ # },
4573
+ # resource_name: "__string", # required
4574
+ # }
4575
+ #
4576
+ # @!attribute [rw] app_id
4577
+ # @return [String]
4578
+ #
4579
+ # @!attribute [rw] backend_environment_name
4580
+ # @return [String]
4581
+ #
4582
+ # @!attribute [rw] resource_config
4583
+ # The resource configuration for updating backend storage.
4584
+ # @return [Types::UpdateBackendStorageResourceConfig]
4585
+ #
4586
+ # @!attribute [rw] resource_name
4587
+ # @return [String]
4588
+ #
4589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorageRequest AWS API Documentation
4590
+ #
4591
+ class UpdateBackendStorageRequest < Struct.new(
4592
+ :app_id,
4593
+ :backend_environment_name,
4594
+ :resource_config,
4595
+ :resource_name)
4596
+ SENSITIVE = []
4597
+ include Aws::Structure
4598
+ end
4599
+
4600
+ # The resource configuration for updating backend storage.
4601
+ #
4602
+ # @note When making an API call, you may pass UpdateBackendStorageResourceConfig
4603
+ # data as a hash:
4604
+ #
4605
+ # {
4606
+ # permissions: { # required
4607
+ # authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
4608
+ # un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
4609
+ # },
4610
+ # service_name: "S3", # required, accepts S3
4611
+ # }
4612
+ #
4613
+ # @!attribute [rw] permissions
4614
+ # The authorization configuration for the storage S3 bucket.
4615
+ # @return [Types::BackendStoragePermissions]
4616
+ #
4617
+ # @!attribute [rw] service_name
4618
+ # The name of the storage service.
4619
+ # @return [String]
4620
+ #
4621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorageResourceConfig AWS API Documentation
4622
+ #
4623
+ class UpdateBackendStorageResourceConfig < Struct.new(
4624
+ :permissions,
4625
+ :service_name)
4626
+ SENSITIVE = []
4627
+ include Aws::Structure
4628
+ end
4629
+
4630
+ # @!attribute [rw] app_id
4631
+ # @return [String]
4632
+ #
4633
+ # @!attribute [rw] backend_environment_name
4634
+ # @return [String]
4635
+ #
4636
+ # @!attribute [rw] job_id
4637
+ # @return [String]
4638
+ #
4639
+ # @!attribute [rw] status
4640
+ # @return [String]
4641
+ #
4642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorageResponse AWS API Documentation
4643
+ #
4644
+ class UpdateBackendStorageResponse < Struct.new(
4645
+ :app_id,
4646
+ :backend_environment_name,
4647
+ :job_id,
4648
+ :status)
4649
+ SENSITIVE = []
4650
+ include Aws::Structure
4651
+ end
4652
+
3999
4653
  end
4000
4654
  end