aws-sdk-lightsail 1.51.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,172 @@ module Aws::Lightsail
36
36
  include Aws::Structure
37
37
  end
38
38
 
39
+ # Describes an access key for an Amazon Lightsail bucket.
40
+ #
41
+ # Access keys grant full programmatic access to the specified bucket and
42
+ # its objects. You can have a maximum of two access keys per bucket. Use
43
+ # the CreateBucketAccessKey action to create an access key for a
44
+ # specific bucket. For more information about access keys, see [Creating
45
+ # access keys for a bucket in Amazon Lightsail][1] in the *Amazon
46
+ # Lightsail Developer Guide*.
47
+ #
48
+ # The `secretAccessKey` value is returned only in response to the
49
+ # `CreateBucketAccessKey` action. You can get a secret access key only
50
+ # when you first create an access key; you cannot get the secret access
51
+ # key later. If you lose the secret access key, you must create a new
52
+ # access key.
53
+ #
54
+ #
55
+ #
56
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
57
+ #
58
+ # @!attribute [rw] access_key_id
59
+ # The ID of the access key.
60
+ # @return [String]
61
+ #
62
+ # @!attribute [rw] secret_access_key
63
+ # The secret access key used to sign requests.
64
+ #
65
+ # You should store the secret access key in a safe location. We
66
+ # recommend that you delete the access key if the secret access key is
67
+ # compromised.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] status
71
+ # The status of the access key.
72
+ #
73
+ # A status of `Active` means that the key is valid, while `Inactive`
74
+ # means it is not.
75
+ # @return [String]
76
+ #
77
+ # @!attribute [rw] created_at
78
+ # The timestamp when the access key was created.
79
+ # @return [Time]
80
+ #
81
+ # @!attribute [rw] last_used
82
+ # An object that describes the last time the access key was used.
83
+ #
84
+ # <note markdown="1"> This object does not include data in the response of a
85
+ # CreateBucketAccessKey action. If the access key has not been used,
86
+ # the `region` and `serviceName` values are `N/A`, and the
87
+ # `lastUsedDate` value is null.
88
+ #
89
+ # </note>
90
+ # @return [Types::AccessKeyLastUsed]
91
+ #
92
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccessKey AWS API Documentation
93
+ #
94
+ class AccessKey < Struct.new(
95
+ :access_key_id,
96
+ :secret_access_key,
97
+ :status,
98
+ :created_at,
99
+ :last_used)
100
+ SENSITIVE = [:access_key_id]
101
+ include Aws::Structure
102
+ end
103
+
104
+ # Describes the last time an access key was used.
105
+ #
106
+ # <note markdown="1"> This object does not include data in the response of a
107
+ # CreateBucketAccessKey action.
108
+ #
109
+ # </note>
110
+ #
111
+ # @!attribute [rw] last_used_date
112
+ # The date and time when the access key was most recently used.
113
+ #
114
+ # This value is null if the access key has not been used.
115
+ # @return [Time]
116
+ #
117
+ # @!attribute [rw] region
118
+ # The AWS Region where this access key was most recently used.
119
+ #
120
+ # This value is `N/A` if the access key has not been used.
121
+ # @return [String]
122
+ #
123
+ # @!attribute [rw] service_name
124
+ # The name of the AWS service with which this access key was most
125
+ # recently used.
126
+ #
127
+ # This value is `N/A` if the access key has not been used.
128
+ # @return [String]
129
+ #
130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccessKeyLastUsed AWS API Documentation
131
+ #
132
+ class AccessKeyLastUsed < Struct.new(
133
+ :last_used_date,
134
+ :region,
135
+ :service_name)
136
+ SENSITIVE = []
137
+ include Aws::Structure
138
+ end
139
+
140
+ # Describes the anonymous access permissions for an Amazon Lightsail
141
+ # bucket and its objects.
142
+ #
143
+ # For more information about bucket access permissions, see
144
+ # [Understanding bucket permissions in Amazon Lightsail][1] in the
145
+ #
146
+ # *Amazon Lightsail Developer Guide*.
147
+ #
148
+ #
149
+ #
150
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-understanding-bucket-permissions
151
+ #
152
+ # @note When making an API call, you may pass AccessRules
153
+ # data as a hash:
154
+ #
155
+ # {
156
+ # get_object: "public", # accepts public, private
157
+ # allow_public_overrides: false,
158
+ # }
159
+ #
160
+ # @!attribute [rw] get_object
161
+ # Specifies the anonymous access to all objects in a bucket.
162
+ #
163
+ # The following options can be specified:
164
+ #
165
+ # * `public` - Sets all objects in the bucket to public (read-only),
166
+ # making them readable by anyone in the world.
167
+ #
168
+ # If the `getObject` value is set to `public`, then all objects in
169
+ # the bucket default to public regardless of the
170
+ # `allowPublicOverrides` value.
171
+ #
172
+ # * `private` - Sets all objects in the bucket to private, making them
173
+ # readable only by you or anyone you give access to.
174
+ #
175
+ # If the `getObject` value is set to `private`, and the
176
+ # `allowPublicOverrides` value is set to `true`, then all objects in
177
+ # the bucket default to private unless they are configured with a
178
+ # `public-read` ACL. Individual objects with a `public-read` ACL are
179
+ # readable by anyone in the world.
180
+ # @return [String]
181
+ #
182
+ # @!attribute [rw] allow_public_overrides
183
+ # A Boolean value that indicates whether the access control list (ACL)
184
+ # permissions that are applied to individual objects override the
185
+ # `getObject` option that is currently specified.
186
+ #
187
+ # When this is true, you can use the [PutObjectAcl][1] Amazon S3 API
188
+ # action to set individual objects to public (read-only) using the
189
+ # `public-read` ACL, or to private using the `private` ACL.
190
+ #
191
+ #
192
+ #
193
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectAcl.html
194
+ # @return [Boolean]
195
+ #
196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccessRules AWS API Documentation
197
+ #
198
+ class AccessRules < Struct.new(
199
+ :get_object,
200
+ :allow_public_overrides)
201
+ SENSITIVE = []
202
+ include Aws::Structure
203
+ end
204
+
39
205
  # Lightsail throws this exception when an account is still in the setup
40
206
  # in progress state.
41
207
  #
@@ -145,8 +311,8 @@ module Aws::Lightsail
145
311
 
146
312
  # Describes an alarm.
147
313
  #
148
- # An alarm is a way to monitor your Amazon Lightsail resource metrics.
149
- # For more information, see [Alarms in Amazon Lightsail][1].
314
+ # An alarm is a way to monitor your Lightsail resource metrics. For more
315
+ # information, see [Alarms in Amazon Lightsail][1].
150
316
  #
151
317
  #
152
318
  #
@@ -793,6 +959,194 @@ module Aws::Lightsail
793
959
  include Aws::Structure
794
960
  end
795
961
 
962
+ # Describes an Amazon Lightsail bucket.
963
+ #
964
+ # @!attribute [rw] resource_type
965
+ # The Lightsail resource type of the bucket (for example, `Bucket`).
966
+ # @return [String]
967
+ #
968
+ # @!attribute [rw] access_rules
969
+ # An object that describes the access rules of the bucket.
970
+ # @return [Types::AccessRules]
971
+ #
972
+ # @!attribute [rw] arn
973
+ # The Amazon Resource Name (ARN) of the bucket.
974
+ # @return [String]
975
+ #
976
+ # @!attribute [rw] bundle_id
977
+ # The ID of the bundle currently applied to the bucket.
978
+ #
979
+ # A bucket bundle specifies the monthly cost, storage space, and data
980
+ # transfer quota for a bucket.
981
+ #
982
+ # Use the UpdateBucketBundle action to change the bundle of a bucket.
983
+ # @return [String]
984
+ #
985
+ # @!attribute [rw] created_at
986
+ # The timestamp when the distribution was created.
987
+ # @return [Time]
988
+ #
989
+ # @!attribute [rw] url
990
+ # The URL of the bucket.
991
+ # @return [String]
992
+ #
993
+ # @!attribute [rw] location
994
+ # Describes the resource location.
995
+ # @return [Types::ResourceLocation]
996
+ #
997
+ # @!attribute [rw] name
998
+ # The name of the bucket.
999
+ # @return [String]
1000
+ #
1001
+ # @!attribute [rw] support_code
1002
+ # The support code for a bucket. Include this code in your email to
1003
+ # support when you have questions about a Lightsail bucket. This code
1004
+ # enables our support team to look up your Lightsail information more
1005
+ # easily.
1006
+ # @return [String]
1007
+ #
1008
+ # @!attribute [rw] tags
1009
+ # The tag keys and optional values for the bucket. For more
1010
+ # information, see [Tags in Amazon Lightsail][1] in the *Amazon
1011
+ # Lightsail Developer Guide*.
1012
+ #
1013
+ #
1014
+ #
1015
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
1016
+ # @return [Array<Types::Tag>]
1017
+ #
1018
+ # @!attribute [rw] object_versioning
1019
+ # Indicates whether object versioning is enabled for the bucket.
1020
+ #
1021
+ # The following options can be configured:
1022
+ #
1023
+ # * `Enabled` - Object versioning is enabled.
1024
+ #
1025
+ # * `Suspended` - Object versioning was previously enabled but is
1026
+ # currently suspended. Existing object versions are retained.
1027
+ #
1028
+ # * `NeverEnabled` - Object versioning has never been enabled.
1029
+ # @return [String]
1030
+ #
1031
+ # @!attribute [rw] able_to_update_bundle
1032
+ # Indicates whether the bundle that is currently applied to a bucket
1033
+ # can be changed to another bundle.
1034
+ #
1035
+ # You can update a bucket's bundle only one time within a monthly AWS
1036
+ # billing cycle.
1037
+ #
1038
+ # Use the UpdateBucketBundle action to change a bucket's bundle.
1039
+ # @return [Boolean]
1040
+ #
1041
+ # @!attribute [rw] readonly_access_accounts
1042
+ # An array of strings that specify the AWS account IDs that have
1043
+ # read-only access to the bucket.
1044
+ # @return [Array<String>]
1045
+ #
1046
+ # @!attribute [rw] resources_receiving_access
1047
+ # An array of objects that describe Lightsail instances that have
1048
+ # access to the bucket.
1049
+ #
1050
+ # Use the SetResourceAccessForBucket action to update the instances
1051
+ # that have access to a bucket.
1052
+ # @return [Array<Types::ResourceReceivingAccess>]
1053
+ #
1054
+ # @!attribute [rw] state
1055
+ # An object that describes the state of the bucket.
1056
+ # @return [Types::BucketState]
1057
+ #
1058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bucket AWS API Documentation
1059
+ #
1060
+ class Bucket < Struct.new(
1061
+ :resource_type,
1062
+ :access_rules,
1063
+ :arn,
1064
+ :bundle_id,
1065
+ :created_at,
1066
+ :url,
1067
+ :location,
1068
+ :name,
1069
+ :support_code,
1070
+ :tags,
1071
+ :object_versioning,
1072
+ :able_to_update_bundle,
1073
+ :readonly_access_accounts,
1074
+ :resources_receiving_access,
1075
+ :state)
1076
+ SENSITIVE = []
1077
+ include Aws::Structure
1078
+ end
1079
+
1080
+ # Describes the specifications of a bundle that can be applied to an
1081
+ # Amazon Lightsail bucket.
1082
+ #
1083
+ # A bucket bundle specifies the monthly cost, storage space, and data
1084
+ # transfer quota for a bucket.
1085
+ #
1086
+ # @!attribute [rw] bundle_id
1087
+ # The ID of the bundle.
1088
+ # @return [String]
1089
+ #
1090
+ # @!attribute [rw] name
1091
+ # The name of the bundle.
1092
+ # @return [String]
1093
+ #
1094
+ # @!attribute [rw] price
1095
+ # The monthly price of the bundle, in US dollars.
1096
+ # @return [Float]
1097
+ #
1098
+ # @!attribute [rw] storage_per_month_in_gb
1099
+ # The storage size of the bundle, in GB.
1100
+ # @return [Integer]
1101
+ #
1102
+ # @!attribute [rw] transfer_per_month_in_gb
1103
+ # The monthly network transfer quota of the bundle.
1104
+ # @return [Integer]
1105
+ #
1106
+ # @!attribute [rw] is_active
1107
+ # Indicates whether the bundle is active. Use for a new or existing
1108
+ # bucket.
1109
+ # @return [Boolean]
1110
+ #
1111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/BucketBundle AWS API Documentation
1112
+ #
1113
+ class BucketBundle < Struct.new(
1114
+ :bundle_id,
1115
+ :name,
1116
+ :price,
1117
+ :storage_per_month_in_gb,
1118
+ :transfer_per_month_in_gb,
1119
+ :is_active)
1120
+ SENSITIVE = []
1121
+ include Aws::Structure
1122
+ end
1123
+
1124
+ # Describes the state of an Amazon Lightsail bucket.
1125
+ #
1126
+ # @!attribute [rw] code
1127
+ # The state code of the bucket.
1128
+ #
1129
+ # The following codes are possible:
1130
+ #
1131
+ # * `OK` - The bucket is in a running state.
1132
+ #
1133
+ # * `Unknown` - Creation of the bucket might have timed-out. You might
1134
+ # want to delete the bucket and create a new one.
1135
+ # @return [String]
1136
+ #
1137
+ # @!attribute [rw] message
1138
+ # A message that describes the state of the bucket.
1139
+ # @return [String]
1140
+ #
1141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/BucketState AWS API Documentation
1142
+ #
1143
+ class BucketState < Struct.new(
1144
+ :code,
1145
+ :message)
1146
+ SENSITIVE = []
1147
+ include Aws::Structure
1148
+ end
1149
+
796
1150
  # Describes a bundle, which is a set of specs describing your virtual
797
1151
  # private server (or *instance*).
798
1152
  #
@@ -1269,12 +1623,12 @@ module Aws::Lightsail
1269
1623
  #
1270
1624
  # @!attribute [rw] tags
1271
1625
  # The tag keys and optional values for the resource. For more
1272
- # information about tags in Lightsail, see the [Lightsail Dev
1273
- # Guide][1].
1626
+ # information about tags in Lightsail, see the [Amazon Lightsail
1627
+ # Developer Guide][1].
1274
1628
  #
1275
1629
  #
1276
1630
  #
1277
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
1631
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
1278
1632
  # @return [Array<Types::Tag>]
1279
1633
  #
1280
1634
  # @!attribute [rw] support_code
@@ -1332,12 +1686,12 @@ module Aws::Lightsail
1332
1686
  #
1333
1687
  # @!attribute [rw] tags
1334
1688
  # The tag keys and optional values for the resource. For more
1335
- # information about tags in Lightsail, see the [Lightsail Dev
1336
- # Guide][1].
1689
+ # information about tags in Lightsail, see the [Amazon Lightsail
1690
+ # Developer Guide][1].
1337
1691
  #
1338
1692
  #
1339
1693
  #
1340
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
1694
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
1341
1695
  # @return [Array<Types::Tag>]
1342
1696
  #
1343
1697
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CertificateSummary AWS API Documentation
@@ -1399,7 +1753,7 @@ module Aws::Lightsail
1399
1753
  end
1400
1754
 
1401
1755
  # Describes a CloudFormation stack record created as a result of the
1402
- # `create cloud formation stack` operation.
1756
+ # `create cloud formation stack` action.
1403
1757
  #
1404
1758
  # A CloudFormation stack record provides information about the AWS
1405
1759
  # CloudFormation stack used to create a new Amazon Elastic Compute Cloud
@@ -1659,12 +2013,12 @@ module Aws::Lightsail
1659
2013
  #
1660
2014
  # @!attribute [rw] tags
1661
2015
  # The tag keys and optional values for the resource. For more
1662
- # information about tags in Lightsail, see the [Lightsail Dev
1663
- # Guide][1].
2016
+ # information about tags in Lightsail, see the [Amazon Lightsail
2017
+ # Developer Guide][1].
1664
2018
  #
1665
2019
  #
1666
2020
  #
1667
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
2021
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
1668
2022
  # @return [Array<Types::Tag>]
1669
2023
  #
1670
2024
  # @!attribute [rw] power
@@ -1989,7 +2343,9 @@ module Aws::Lightsail
1989
2343
  #
1990
2344
  # @!attribute [rw] success_codes
1991
2345
  # The HTTP codes to use when checking for a successful response from a
1992
- # container. You can specify values between 200 and 499.
2346
+ # container. You can specify values between `200` and `499`. You can
2347
+ # specify multiple values (for example, `200,202`) or a range of
2348
+ # values (for example, `200-299`).
1993
2349
  # @return [String]
1994
2350
  #
1995
2351
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceHealthCheckConfig AWS API Documentation
@@ -2221,7 +2577,7 @@ module Aws::Lightsail
2221
2577
  # restore_date: "string",
2222
2578
  # use_latest_restorable_auto_snapshot: false,
2223
2579
  # target_snapshot_name: "ResourceName", # required
2224
- # source_region: "us-east-1", # required, accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2
2580
+ # source_region: "us-east-1", # required, accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
2225
2581
  # }
2226
2582
  #
2227
2583
  # @!attribute [rw] source_snapshot_name
@@ -2242,8 +2598,8 @@ module Aws::Lightsail
2242
2598
  # Constraint:
2243
2599
  #
2244
2600
  # * Define this parameter only when copying an automatic snapshot as a
2245
- # manual snapshot. For more information, see the [Lightsail Dev
2246
- # Guide][1].
2601
+ # manual snapshot. For more information, see the [Amazon Lightsail
2602
+ # Developer Guide][1].
2247
2603
  #
2248
2604
  # ^
2249
2605
  #
@@ -2267,8 +2623,8 @@ module Aws::Lightsail
2267
2623
  # exclusive.
2268
2624
  #
2269
2625
  # * Define this parameter only when copying an automatic snapshot as a
2270
- # manual snapshot. For more information, see the [Lightsail Dev
2271
- # Guide][1].
2626
+ # manual snapshot. For more information, see the [Amazon Lightsail
2627
+ # Developer Guide][1].
2272
2628
  #
2273
2629
  #
2274
2630
  #
@@ -2286,8 +2642,8 @@ module Aws::Lightsail
2286
2642
  # date` parameters are mutually exclusive.
2287
2643
  #
2288
2644
  # * Define this parameter only when copying an automatic snapshot as a
2289
- # manual snapshot. For more information, see the [Lightsail Dev
2290
- # Guide][1].
2645
+ # manual snapshot. For more information, see the [Amazon Lightsail
2646
+ # Developer Guide][1].
2291
2647
  #
2292
2648
  #
2293
2649
  #
@@ -2330,61 +2686,29 @@ module Aws::Lightsail
2330
2686
  include Aws::Structure
2331
2687
  end
2332
2688
 
2333
- # @note When making an API call, you may pass CreateCertificateRequest
2689
+ # @note When making an API call, you may pass CreateBucketAccessKeyRequest
2334
2690
  # data as a hash:
2335
2691
  #
2336
2692
  # {
2337
- # certificate_name: "CertificateName", # required
2338
- # domain_name: "DomainName", # required
2339
- # subject_alternative_names: ["DomainName"],
2340
- # tags: [
2341
- # {
2342
- # key: "TagKey",
2343
- # value: "TagValue",
2344
- # },
2345
- # ],
2693
+ # bucket_name: "BucketName", # required
2346
2694
  # }
2347
2695
  #
2348
- # @!attribute [rw] certificate_name
2349
- # The name for the certificate.
2350
- # @return [String]
2351
- #
2352
- # @!attribute [rw] domain_name
2353
- # The domain name (e.g., `example.com`) for the certificate.
2696
+ # @!attribute [rw] bucket_name
2697
+ # The name of the bucket that the new access key will belong to, and
2698
+ # grant access to.
2354
2699
  # @return [String]
2355
2700
  #
2356
- # @!attribute [rw] subject_alternative_names
2357
- # An array of strings that specify the alternate domains (e.g.,
2358
- # `example2.com`) and subdomains (e.g., `blog.example.com`) for the
2359
- # certificate.
2360
- #
2361
- # You can specify a maximum of nine alternate domains (in addition to
2362
- # the primary domain name).
2363
- #
2364
- # Wildcard domain entries (e.g., `*.example.com`) are not supported.
2365
- # @return [Array<String>]
2366
- #
2367
- # @!attribute [rw] tags
2368
- # The tag keys and optional values to add to the certificate during
2369
- # create.
2370
- #
2371
- # Use the `TagResource` action to tag a resource after it's created.
2372
- # @return [Array<Types::Tag>]
2373
- #
2374
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificateRequest AWS API Documentation
2701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketAccessKeyRequest AWS API Documentation
2375
2702
  #
2376
- class CreateCertificateRequest < Struct.new(
2377
- :certificate_name,
2378
- :domain_name,
2379
- :subject_alternative_names,
2380
- :tags)
2703
+ class CreateBucketAccessKeyRequest < Struct.new(
2704
+ :bucket_name)
2381
2705
  SENSITIVE = []
2382
2706
  include Aws::Structure
2383
2707
  end
2384
2708
 
2385
- # @!attribute [rw] certificate
2386
- # An object that describes the certificate created.
2387
- # @return [Types::CertificateSummary]
2709
+ # @!attribute [rw] access_key
2710
+ # An object that describes the access key that is created.
2711
+ # @return [Types::AccessKey]
2388
2712
  #
2389
2713
  # @!attribute [rw] operations
2390
2714
  # An array of objects that describe the result of the action, such as
@@ -2392,26 +2716,186 @@ module Aws::Lightsail
2392
2716
  # resources affected by the request.
2393
2717
  # @return [Array<Types::Operation>]
2394
2718
  #
2395
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificateResult AWS API Documentation
2719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketAccessKeyResult AWS API Documentation
2396
2720
  #
2397
- class CreateCertificateResult < Struct.new(
2398
- :certificate,
2721
+ class CreateBucketAccessKeyResult < Struct.new(
2722
+ :access_key,
2399
2723
  :operations)
2400
2724
  SENSITIVE = []
2401
2725
  include Aws::Structure
2402
2726
  end
2403
2727
 
2404
- # @note When making an API call, you may pass CreateCloudFormationStackRequest
2728
+ # @note When making an API call, you may pass CreateBucketRequest
2405
2729
  # data as a hash:
2406
2730
  #
2407
2731
  # {
2408
- # instances: [ # required
2732
+ # bucket_name: "BucketName", # required
2733
+ # bundle_id: "NonEmptyString", # required
2734
+ # tags: [
2409
2735
  # {
2410
- # source_name: "ResourceName", # required
2411
- # instance_type: "NonEmptyString", # required
2412
- # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE, CLOSED
2413
- # user_data: "string",
2414
- # availability_zone: "string", # required
2736
+ # key: "TagKey",
2737
+ # value: "TagValue",
2738
+ # },
2739
+ # ],
2740
+ # enable_object_versioning: false,
2741
+ # }
2742
+ #
2743
+ # @!attribute [rw] bucket_name
2744
+ # The name for the bucket.
2745
+ #
2746
+ # For more information about bucket names, see [Bucket naming rules in
2747
+ # Amazon Lightsail][1] in the *Amazon Lightsail Developer Guide*.
2748
+ #
2749
+ #
2750
+ #
2751
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/bucket-naming-rules-in-amazon-lightsail
2752
+ # @return [String]
2753
+ #
2754
+ # @!attribute [rw] bundle_id
2755
+ # The ID of the bundle to use for the bucket.
2756
+ #
2757
+ # A bucket bundle specifies the monthly cost, storage space, and data
2758
+ # transfer quota for a bucket.
2759
+ #
2760
+ # Use the GetBucketBundles action to get a list of bundle IDs that you
2761
+ # can specify.
2762
+ #
2763
+ # Use the UpdateBucketBundle action to change the bundle after the
2764
+ # bucket is created.
2765
+ # @return [String]
2766
+ #
2767
+ # @!attribute [rw] tags
2768
+ # The tag keys and optional values to add to the bucket during
2769
+ # creation.
2770
+ #
2771
+ # Use the TagResource action to tag the bucket after it's created.
2772
+ # @return [Array<Types::Tag>]
2773
+ #
2774
+ # @!attribute [rw] enable_object_versioning
2775
+ # A Boolean value that indicates whether to enable versioning of
2776
+ # objects in the bucket.
2777
+ #
2778
+ # For more information about versioning, see [Enabling and suspending
2779
+ # object versioning in a bucket in Amazon Lightsail][1] in the *Amazon
2780
+ # Lightsail Developer Guide*.
2781
+ #
2782
+ #
2783
+ #
2784
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning
2785
+ # @return [Boolean]
2786
+ #
2787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketRequest AWS API Documentation
2788
+ #
2789
+ class CreateBucketRequest < Struct.new(
2790
+ :bucket_name,
2791
+ :bundle_id,
2792
+ :tags,
2793
+ :enable_object_versioning)
2794
+ SENSITIVE = []
2795
+ include Aws::Structure
2796
+ end
2797
+
2798
+ # @!attribute [rw] bucket
2799
+ # An object that describes the bucket that is created.
2800
+ # @return [Types::Bucket]
2801
+ #
2802
+ # @!attribute [rw] operations
2803
+ # An array of objects that describe the result of the action, such as
2804
+ # the status of the request, the timestamp of the request, and the
2805
+ # resources affected by the request.
2806
+ # @return [Array<Types::Operation>]
2807
+ #
2808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketResult AWS API Documentation
2809
+ #
2810
+ class CreateBucketResult < Struct.new(
2811
+ :bucket,
2812
+ :operations)
2813
+ SENSITIVE = []
2814
+ include Aws::Structure
2815
+ end
2816
+
2817
+ # @note When making an API call, you may pass CreateCertificateRequest
2818
+ # data as a hash:
2819
+ #
2820
+ # {
2821
+ # certificate_name: "CertificateName", # required
2822
+ # domain_name: "DomainName", # required
2823
+ # subject_alternative_names: ["DomainName"],
2824
+ # tags: [
2825
+ # {
2826
+ # key: "TagKey",
2827
+ # value: "TagValue",
2828
+ # },
2829
+ # ],
2830
+ # }
2831
+ #
2832
+ # @!attribute [rw] certificate_name
2833
+ # The name for the certificate.
2834
+ # @return [String]
2835
+ #
2836
+ # @!attribute [rw] domain_name
2837
+ # The domain name (e.g., `example.com`) for the certificate.
2838
+ # @return [String]
2839
+ #
2840
+ # @!attribute [rw] subject_alternative_names
2841
+ # An array of strings that specify the alternate domains (e.g.,
2842
+ # `example2.com`) and subdomains (e.g., `blog.example.com`) for the
2843
+ # certificate.
2844
+ #
2845
+ # You can specify a maximum of nine alternate domains (in addition to
2846
+ # the primary domain name).
2847
+ #
2848
+ # Wildcard domain entries (e.g., `*.example.com`) are not supported.
2849
+ # @return [Array<String>]
2850
+ #
2851
+ # @!attribute [rw] tags
2852
+ # The tag keys and optional values to add to the certificate during
2853
+ # create.
2854
+ #
2855
+ # Use the `TagResource` action to tag a resource after it's created.
2856
+ # @return [Array<Types::Tag>]
2857
+ #
2858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificateRequest AWS API Documentation
2859
+ #
2860
+ class CreateCertificateRequest < Struct.new(
2861
+ :certificate_name,
2862
+ :domain_name,
2863
+ :subject_alternative_names,
2864
+ :tags)
2865
+ SENSITIVE = []
2866
+ include Aws::Structure
2867
+ end
2868
+
2869
+ # @!attribute [rw] certificate
2870
+ # An object that describes the certificate created.
2871
+ # @return [Types::CertificateSummary]
2872
+ #
2873
+ # @!attribute [rw] operations
2874
+ # An array of objects that describe the result of the action, such as
2875
+ # the status of the request, the timestamp of the request, and the
2876
+ # resources affected by the request.
2877
+ # @return [Array<Types::Operation>]
2878
+ #
2879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificateResult AWS API Documentation
2880
+ #
2881
+ class CreateCertificateResult < Struct.new(
2882
+ :certificate,
2883
+ :operations)
2884
+ SENSITIVE = []
2885
+ include Aws::Structure
2886
+ end
2887
+
2888
+ # @note When making an API call, you may pass CreateCloudFormationStackRequest
2889
+ # data as a hash:
2890
+ #
2891
+ # {
2892
+ # instances: [ # required
2893
+ # {
2894
+ # source_name: "ResourceName", # required
2895
+ # instance_type: "NonEmptyString", # required
2896
+ # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE, CLOSED
2897
+ # user_data: "string",
2898
+ # availability_zone: "string", # required
2415
2899
  # },
2416
2900
  # ],
2417
2901
  # }
@@ -2707,14 +3191,17 @@ module Aws::Lightsail
2707
3191
  # @return [Integer]
2708
3192
  #
2709
3193
  # @!attribute [rw] tags
2710
- # The tag keys and optional values for the container service.
3194
+ # The tag keys and optional values to add to the certificate during
3195
+ # create.
2711
3196
  #
2712
- # For more information about tags in Lightsail, see the [Lightsail Dev
2713
- # Guide][1].
3197
+ # Use the `TagResource` action to tag a resource after it's created.
2714
3198
  #
3199
+ # For more information about tags in Lightsail, see the [Amazon
3200
+ # Lightsail Developer Guide][1].
2715
3201
  #
2716
3202
  #
2717
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
3203
+ #
3204
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
2718
3205
  # @return [Array<Types::Tag>]
2719
3206
  #
2720
3207
  # @!attribute [rw] public_domain_names
@@ -2854,8 +3341,8 @@ module Aws::Lightsail
2854
3341
  # parameters are mutually exclusive.
2855
3342
  #
2856
3343
  # * Define this parameter only when creating a new disk from an
2857
- # automatic snapshot. For more information, see the [Lightsail Dev
2858
- # Guide][1].
3344
+ # automatic snapshot. For more information, see the [Amazon
3345
+ # Lightsail Developer Guide][1].
2859
3346
  #
2860
3347
  #
2861
3348
  #
@@ -2877,8 +3364,8 @@ module Aws::Lightsail
2877
3364
  # exclusive.
2878
3365
  #
2879
3366
  # * Define this parameter only when creating a new disk from an
2880
- # automatic snapshot. For more information, see the [Lightsail Dev
2881
- # Guide][1].
3367
+ # automatic snapshot. For more information, see the [Amazon
3368
+ # Lightsail Developer Guide][1].
2882
3369
  #
2883
3370
  #
2884
3371
  #
@@ -2896,8 +3383,8 @@ module Aws::Lightsail
2896
3383
  # date` parameters are mutually exclusive.
2897
3384
  #
2898
3385
  # * Define this parameter only when creating a new disk from an
2899
- # automatic snapshot. For more information, see the [Lightsail Dev
2900
- # Guide][1].
3386
+ # automatic snapshot. For more information, see the [Amazon
3387
+ # Lightsail Developer Guide][1].
2901
3388
  #
2902
3389
  #
2903
3390
  #
@@ -3093,7 +3580,7 @@ module Aws::Lightsail
3093
3580
  # distribution_name: "ResourceName", # required
3094
3581
  # origin: { # required
3095
3582
  # name: "ResourceName",
3096
- # region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2
3583
+ # region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
3097
3584
  # protocol_policy: "http-only", # accepts http-only, https-only
3098
3585
  # },
3099
3586
  # default_cache_behavior: { # required
@@ -3464,13 +3951,13 @@ module Aws::Lightsail
3464
3951
  # <note markdown="1"> Depending on the machine image you choose, the command to get
3465
3952
  # software on your instance varies. Amazon Linux and CentOS use `yum`,
3466
3953
  # Debian and Ubuntu use `apt-get`, and FreeBSD uses `pkg`. For a
3467
- # complete list, see the [Dev Guide][1].
3954
+ # complete list, see the [Amazon Lightsail Developer Guide][1].
3468
3955
  #
3469
3956
  # </note>
3470
3957
  #
3471
3958
  #
3472
3959
  #
3473
- # [1]: https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image
3960
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/compare-options-choose-lightsail-instance-image
3474
3961
  # @return [String]
3475
3962
  #
3476
3963
  # @!attribute [rw] key_pair_name
@@ -3509,8 +3996,8 @@ module Aws::Lightsail
3509
3996
  # snapshot name` parameters are mutually exclusive.
3510
3997
  #
3511
3998
  # * Define this parameter only when creating a new instance from an
3512
- # automatic snapshot. For more information, see the [Lightsail Dev
3513
- # Guide][1].
3999
+ # automatic snapshot. For more information, see the [Amazon
4000
+ # Lightsail Developer Guide][1].
3514
4001
  #
3515
4002
  #
3516
4003
  #
@@ -3532,8 +4019,8 @@ module Aws::Lightsail
3532
4019
  # exclusive.
3533
4020
  #
3534
4021
  # * Define this parameter only when creating a new instance from an
3535
- # automatic snapshot. For more information, see the [Lightsail Dev
3536
- # Guide][1].
4022
+ # automatic snapshot. For more information, see the [Amazon
4023
+ # Lightsail Developer Guide][1].
3537
4024
  #
3538
4025
  #
3539
4026
  #
@@ -3551,8 +4038,8 @@ module Aws::Lightsail
3551
4038
  # date` parameters are mutually exclusive.
3552
4039
  #
3553
4040
  # * Define this parameter only when creating a new instance from an
3554
- # automatic snapshot. For more information, see the [Lightsail Dev
3555
- # Guide][1].
4041
+ # automatic snapshot. For more information, see the [Amazon
4042
+ # Lightsail Developer Guide][1].
3556
4043
  #
3557
4044
  #
3558
4045
  #
@@ -3676,13 +4163,13 @@ module Aws::Lightsail
3676
4163
  # <note markdown="1"> Depending on the machine image you choose, the command to get
3677
4164
  # software on your instance varies. Amazon Linux and CentOS use `yum`,
3678
4165
  # Debian and Ubuntu use `apt-get`, and FreeBSD uses `pkg`. For a
3679
- # complete list, see the [Dev Guide][1].
4166
+ # complete list, see the [Amazon Lightsail Developer Guide][1].
3680
4167
  #
3681
4168
  # </note>
3682
4169
  #
3683
4170
  #
3684
4171
  #
3685
- # [1]: https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image
4172
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/compare-options-choose-lightsail-instance-image
3686
4173
  # @return [String]
3687
4174
  #
3688
4175
  # @!attribute [rw] key_pair_name
@@ -4518,6 +5005,106 @@ module Aws::Lightsail
4518
5005
  include Aws::Structure
4519
5006
  end
4520
5007
 
5008
+ # @note When making an API call, you may pass DeleteBucketAccessKeyRequest
5009
+ # data as a hash:
5010
+ #
5011
+ # {
5012
+ # bucket_name: "BucketName", # required
5013
+ # access_key_id: "NonEmptyString", # required
5014
+ # }
5015
+ #
5016
+ # @!attribute [rw] bucket_name
5017
+ # The name of the bucket that the access key belongs to.
5018
+ # @return [String]
5019
+ #
5020
+ # @!attribute [rw] access_key_id
5021
+ # The ID of the access key to delete.
5022
+ #
5023
+ # Use the GetBucketAccessKeys action to get a list of access key IDs
5024
+ # that you can specify.
5025
+ # @return [String]
5026
+ #
5027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketAccessKeyRequest AWS API Documentation
5028
+ #
5029
+ class DeleteBucketAccessKeyRequest < Struct.new(
5030
+ :bucket_name,
5031
+ :access_key_id)
5032
+ SENSITIVE = []
5033
+ include Aws::Structure
5034
+ end
5035
+
5036
+ # @!attribute [rw] operations
5037
+ # An array of objects that describe the result of the action, such as
5038
+ # the status of the request, the timestamp of the request, and the
5039
+ # resources affected by the request.
5040
+ # @return [Array<Types::Operation>]
5041
+ #
5042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketAccessKeyResult AWS API Documentation
5043
+ #
5044
+ class DeleteBucketAccessKeyResult < Struct.new(
5045
+ :operations)
5046
+ SENSITIVE = []
5047
+ include Aws::Structure
5048
+ end
5049
+
5050
+ # @note When making an API call, you may pass DeleteBucketRequest
5051
+ # data as a hash:
5052
+ #
5053
+ # {
5054
+ # bucket_name: "BucketName", # required
5055
+ # force_delete: false,
5056
+ # }
5057
+ #
5058
+ # @!attribute [rw] bucket_name
5059
+ # The name of the bucket to delete.
5060
+ #
5061
+ # Use the GetBuckets action to get a list of bucket names that you can
5062
+ # specify.
5063
+ # @return [String]
5064
+ #
5065
+ # @!attribute [rw] force_delete
5066
+ # A Boolean value that indicates whether to force delete the bucket.
5067
+ #
5068
+ # You must force delete the bucket if it has one of the following
5069
+ # conditions:
5070
+ #
5071
+ # * The bucket is the origin of a distribution.
5072
+ #
5073
+ # * The bucket has instances that were granted access to it using the
5074
+ # SetResourceAccessForBucket action.
5075
+ #
5076
+ # * The bucket has objects.
5077
+ #
5078
+ # * The bucket has access keys.
5079
+ #
5080
+ # Force deleting a bucket might impact other resources that rely on
5081
+ # the bucket, such as instances, distributions, or software that use
5082
+ # the issued access keys.
5083
+ # @return [Boolean]
5084
+ #
5085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketRequest AWS API Documentation
5086
+ #
5087
+ class DeleteBucketRequest < Struct.new(
5088
+ :bucket_name,
5089
+ :force_delete)
5090
+ SENSITIVE = []
5091
+ include Aws::Structure
5092
+ end
5093
+
5094
+ # @!attribute [rw] operations
5095
+ # An array of objects that describe the result of the action, such as
5096
+ # the status of the request, the timestamp of the request, and the
5097
+ # resources affected by the request.
5098
+ # @return [Array<Types::Operation>]
5099
+ #
5100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketResult AWS API Documentation
5101
+ #
5102
+ class DeleteBucketResult < Struct.new(
5103
+ :operations)
5104
+ SENSITIVE = []
5105
+ include Aws::Structure
5106
+ end
5107
+
4521
5108
  # @note When making an API call, you may pass DeleteCertificateRequest
4522
5109
  # data as a hash:
4523
5110
  #
@@ -5373,7 +5960,7 @@ module Aws::Lightsail
5373
5960
  include Aws::Structure
5374
5961
  end
5375
5962
 
5376
- # Describes a system disk or a block storage disk.
5963
+ # Describes a block storage disk.
5377
5964
  #
5378
5965
  # @!attribute [rw] name
5379
5966
  # The unique name of the disk.
@@ -5404,12 +5991,12 @@ module Aws::Lightsail
5404
5991
  #
5405
5992
  # @!attribute [rw] tags
5406
5993
  # The tag keys and optional values for the resource. For more
5407
- # information about tags in Lightsail, see the [Lightsail Dev
5408
- # Guide][1].
5994
+ # information about tags in Lightsail, see the [Amazon Lightsail
5995
+ # Developer Guide][1].
5409
5996
  #
5410
5997
  #
5411
5998
  #
5412
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
5999
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
5413
6000
  # @return [Array<Types::Tag>]
5414
6001
  #
5415
6002
  # @!attribute [rw] add_ons
@@ -5579,12 +6166,12 @@ module Aws::Lightsail
5579
6166
  #
5580
6167
  # @!attribute [rw] tags
5581
6168
  # The tag keys and optional values for the resource. For more
5582
- # information about tags in Lightsail, see the [Lightsail Dev
5583
- # Guide][1].
6169
+ # information about tags in Lightsail, see the [Amazon Lightsail
6170
+ # Developer Guide][1].
5584
6171
  #
5585
6172
  #
5586
6173
  #
5587
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
6174
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
5588
6175
  # @return [Array<Types::Tag>]
5589
6176
  #
5590
6177
  # @!attribute [rw] size_in_gb
@@ -5680,7 +6267,7 @@ module Aws::Lightsail
5680
6267
  #
5681
6268
  # @!attribute [rw] is_active
5682
6269
  # Indicates whether the bundle is active, and can be specified for a
5683
- # new distribution.
6270
+ # new or existing distribution.
5684
6271
  # @return [Boolean]
5685
6272
  #
5686
6273
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DistributionBundle AWS API Documentation
@@ -5695,7 +6282,7 @@ module Aws::Lightsail
5695
6282
  include Aws::Structure
5696
6283
  end
5697
6284
 
5698
- # Describes a domain where you are storing recordsets in Lightsail.
6285
+ # Describes a domain where you are storing recordsets.
5699
6286
  #
5700
6287
  # @!attribute [rw] name
5701
6288
  # The name of the domain.
@@ -5728,12 +6315,12 @@ module Aws::Lightsail
5728
6315
  #
5729
6316
  # @!attribute [rw] tags
5730
6317
  # The tag keys and optional values for the resource. For more
5731
- # information about tags in Lightsail, see the [Lightsail Dev
5732
- # Guide][1].
6318
+ # information about tags in Lightsail, see the [Amazon Lightsail
6319
+ # Developer Guide][1].
5733
6320
  #
5734
6321
  #
5735
6322
  #
5736
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
6323
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
5737
6324
  # @return [Array<Types::Tag>]
5738
6325
  #
5739
6326
  # @!attribute [rw] domain_entries
@@ -6178,135 +6765,396 @@ module Aws::Lightsail
6178
6765
  # @!attribute [rw] alarm_name
6179
6766
  # The name of the alarm.
6180
6767
  #
6181
- # Specify an alarm name to return information about a specific alarm.
6768
+ # Specify an alarm name to return information about a specific alarm.
6769
+ # @return [String]
6770
+ #
6771
+ # @!attribute [rw] page_token
6772
+ # The token to advance to the next page of results from your request.
6773
+ #
6774
+ # To get a page token, perform an initial `GetAlarms` request. If your
6775
+ # results are paginated, the response will return a next page token
6776
+ # that you can specify as the page token in a subsequent request.
6777
+ # @return [String]
6778
+ #
6779
+ # @!attribute [rw] monitored_resource_name
6780
+ # The name of the Lightsail resource being monitored by the alarm.
6781
+ #
6782
+ # Specify a monitored resource name to return information about all
6783
+ # alarms for a specific resource.
6784
+ # @return [String]
6785
+ #
6786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarmsRequest AWS API Documentation
6787
+ #
6788
+ class GetAlarmsRequest < Struct.new(
6789
+ :alarm_name,
6790
+ :page_token,
6791
+ :monitored_resource_name)
6792
+ SENSITIVE = []
6793
+ include Aws::Structure
6794
+ end
6795
+
6796
+ # @!attribute [rw] alarms
6797
+ # An array of objects that describe the alarms.
6798
+ # @return [Array<Types::Alarm>]
6799
+ #
6800
+ # @!attribute [rw] next_page_token
6801
+ # The token to advance to the next page of results from your request.
6802
+ #
6803
+ # A next page token is not returned if there are no more results to
6804
+ # display.
6805
+ #
6806
+ # To get the next page of results, perform another `GetAlarms` request
6807
+ # and specify the next page token using the `pageToken` parameter.
6808
+ # @return [String]
6809
+ #
6810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarmsResult AWS API Documentation
6811
+ #
6812
+ class GetAlarmsResult < Struct.new(
6813
+ :alarms,
6814
+ :next_page_token)
6815
+ SENSITIVE = []
6816
+ include Aws::Structure
6817
+ end
6818
+
6819
+ # @note When making an API call, you may pass GetAutoSnapshotsRequest
6820
+ # data as a hash:
6821
+ #
6822
+ # {
6823
+ # resource_name: "ResourceName", # required
6824
+ # }
6825
+ #
6826
+ # @!attribute [rw] resource_name
6827
+ # The name of the source instance or disk from which to get automatic
6828
+ # snapshot information.
6829
+ # @return [String]
6830
+ #
6831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsRequest AWS API Documentation
6832
+ #
6833
+ class GetAutoSnapshotsRequest < Struct.new(
6834
+ :resource_name)
6835
+ SENSITIVE = []
6836
+ include Aws::Structure
6837
+ end
6838
+
6839
+ # @!attribute [rw] resource_name
6840
+ # The name of the source instance or disk for the automatic snapshots.
6841
+ # @return [String]
6842
+ #
6843
+ # @!attribute [rw] resource_type
6844
+ # The resource type (e.g., `Instance` or `Disk`).
6845
+ # @return [String]
6846
+ #
6847
+ # @!attribute [rw] auto_snapshots
6848
+ # An array of objects that describe the automatic snapshots that are
6849
+ # available for the specified source instance or disk.
6850
+ # @return [Array<Types::AutoSnapshotDetails>]
6851
+ #
6852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsResult AWS API Documentation
6853
+ #
6854
+ class GetAutoSnapshotsResult < Struct.new(
6855
+ :resource_name,
6856
+ :resource_type,
6857
+ :auto_snapshots)
6858
+ SENSITIVE = []
6859
+ include Aws::Structure
6860
+ end
6861
+
6862
+ # @note When making an API call, you may pass GetBlueprintsRequest
6863
+ # data as a hash:
6864
+ #
6865
+ # {
6866
+ # include_inactive: false,
6867
+ # page_token: "string",
6868
+ # }
6869
+ #
6870
+ # @!attribute [rw] include_inactive
6871
+ # A Boolean value indicating whether to include inactive results in
6872
+ # your request.
6873
+ # @return [Boolean]
6874
+ #
6875
+ # @!attribute [rw] page_token
6876
+ # The token to advance to the next page of results from your request.
6877
+ #
6878
+ # To get a page token, perform an initial `GetBlueprints` request. If
6879
+ # your results are paginated, the response will return a next page
6880
+ # token that you can specify as the page token in a subsequent
6881
+ # request.
6882
+ # @return [String]
6883
+ #
6884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest AWS API Documentation
6885
+ #
6886
+ class GetBlueprintsRequest < Struct.new(
6887
+ :include_inactive,
6888
+ :page_token)
6889
+ SENSITIVE = []
6890
+ include Aws::Structure
6891
+ end
6892
+
6893
+ # @!attribute [rw] blueprints
6894
+ # An array of key-value pairs that contains information about the
6895
+ # available blueprints.
6896
+ # @return [Array<Types::Blueprint>]
6897
+ #
6898
+ # @!attribute [rw] next_page_token
6899
+ # The token to advance to the next page of results from your request.
6900
+ #
6901
+ # A next page token is not returned if there are no more results to
6902
+ # display.
6903
+ #
6904
+ # To get the next page of results, perform another `GetBlueprints`
6905
+ # request and specify the next page token using the `pageToken`
6906
+ # parameter.
6907
+ # @return [String]
6908
+ #
6909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult AWS API Documentation
6910
+ #
6911
+ class GetBlueprintsResult < Struct.new(
6912
+ :blueprints,
6913
+ :next_page_token)
6914
+ SENSITIVE = []
6915
+ include Aws::Structure
6916
+ end
6917
+
6918
+ # @note When making an API call, you may pass GetBucketAccessKeysRequest
6919
+ # data as a hash:
6920
+ #
6921
+ # {
6922
+ # bucket_name: "BucketName", # required
6923
+ # }
6924
+ #
6925
+ # @!attribute [rw] bucket_name
6926
+ # The name of the bucket for which to return access keys.
6927
+ # @return [String]
6928
+ #
6929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketAccessKeysRequest AWS API Documentation
6930
+ #
6931
+ class GetBucketAccessKeysRequest < Struct.new(
6932
+ :bucket_name)
6933
+ SENSITIVE = []
6934
+ include Aws::Structure
6935
+ end
6936
+
6937
+ # @!attribute [rw] access_keys
6938
+ # An object that describes the access keys for the specified bucket.
6939
+ # @return [Array<Types::AccessKey>]
6940
+ #
6941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketAccessKeysResult AWS API Documentation
6942
+ #
6943
+ class GetBucketAccessKeysResult < Struct.new(
6944
+ :access_keys)
6945
+ SENSITIVE = []
6946
+ include Aws::Structure
6947
+ end
6948
+
6949
+ # @note When making an API call, you may pass GetBucketBundlesRequest
6950
+ # data as a hash:
6951
+ #
6952
+ # {
6953
+ # include_inactive: false,
6954
+ # }
6955
+ #
6956
+ # @!attribute [rw] include_inactive
6957
+ # A Boolean value that indicates whether to include inactive
6958
+ # (unavailable) bundles in the response.
6959
+ # @return [Boolean]
6960
+ #
6961
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketBundlesRequest AWS API Documentation
6962
+ #
6963
+ class GetBucketBundlesRequest < Struct.new(
6964
+ :include_inactive)
6965
+ SENSITIVE = []
6966
+ include Aws::Structure
6967
+ end
6968
+
6969
+ # @!attribute [rw] bundles
6970
+ # An object that describes bucket bundles.
6971
+ # @return [Array<Types::BucketBundle>]
6972
+ #
6973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketBundlesResult AWS API Documentation
6974
+ #
6975
+ class GetBucketBundlesResult < Struct.new(
6976
+ :bundles)
6977
+ SENSITIVE = []
6978
+ include Aws::Structure
6979
+ end
6980
+
6981
+ # @note When making an API call, you may pass GetBucketMetricDataRequest
6982
+ # data as a hash:
6983
+ #
6984
+ # {
6985
+ # bucket_name: "BucketName", # required
6986
+ # metric_name: "BucketSizeBytes", # required, accepts BucketSizeBytes, NumberOfObjects
6987
+ # start_time: Time.now, # required
6988
+ # end_time: Time.now, # required
6989
+ # period: 1, # required
6990
+ # statistics: ["Minimum"], # required, accepts Minimum, Maximum, Sum, Average, SampleCount
6991
+ # unit: "Seconds", # required, accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
6992
+ # }
6993
+ #
6994
+ # @!attribute [rw] bucket_name
6995
+ # The name of the bucket for which to get metric data.
6996
+ # @return [String]
6997
+ #
6998
+ # @!attribute [rw] metric_name
6999
+ # The metric for which you want to return information.
7000
+ #
7001
+ # Valid bucket metric names are listed below, along with the most
7002
+ # useful statistics to include in your request, and the published unit
7003
+ # value.
7004
+ #
7005
+ # <note markdown="1"> These bucket metrics are reported once per day.
7006
+ #
7007
+ # </note>
7008
+ #
7009
+ # * <b> <code>BucketSizeBytes</code> </b> - The amount of data in
7010
+ # bytes stored in a bucket. This value is calculated by summing the
7011
+ # size of all objects in the bucket (including object versions),
7012
+ # including the size of all parts for all incomplete multipart
7013
+ # uploads to the bucket.
7014
+ #
7015
+ # Statistics: The most useful statistic is `Maximum`.
7016
+ #
7017
+ # Unit: The published unit is `Bytes`.
7018
+ #
7019
+ # * <b> <code>NumberOfObjects</code> </b> - The total number of
7020
+ # objects stored in a bucket. This value is calculated by counting
7021
+ # all objects in the bucket (including object versions) and the
7022
+ # total number of parts for all incomplete multipart uploads to the
7023
+ # bucket.
7024
+ #
7025
+ # Statistics: The most useful statistic is `Average`.
7026
+ #
7027
+ # Unit: The published unit is `Count`.
6182
7028
  # @return [String]
6183
7029
  #
6184
- # @!attribute [rw] page_token
6185
- # The token to advance to the next page of results from your request.
7030
+ # @!attribute [rw] start_time
7031
+ # The timestamp indicating the earliest data to be returned.
7032
+ # @return [Time]
6186
7033
  #
6187
- # To get a page token, perform an initial `GetAlarms` request. If your
6188
- # results are paginated, the response will return a next page token
6189
- # that you can specify as the page token in a subsequent request.
6190
- # @return [String]
7034
+ # @!attribute [rw] end_time
7035
+ # The timestamp indicating the latest data to be returned.
7036
+ # @return [Time]
6191
7037
  #
6192
- # @!attribute [rw] monitored_resource_name
6193
- # The name of the Lightsail resource being monitored by the alarm.
7038
+ # @!attribute [rw] period
7039
+ # The granularity, in seconds, of the returned data points.
6194
7040
  #
6195
- # Specify a monitored resource name to return information about all
6196
- # alarms for a specific resource.
6197
- # @return [String]
7041
+ # <note markdown="1"> Bucket storage metrics are reported once per day. Therefore, you
7042
+ # should specify a period of 86400 seconds, which is the number of
7043
+ # seconds in a day.
6198
7044
  #
6199
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarmsRequest AWS API Documentation
7045
+ # </note>
7046
+ # @return [Integer]
6200
7047
  #
6201
- class GetAlarmsRequest < Struct.new(
6202
- :alarm_name,
6203
- :page_token,
6204
- :monitored_resource_name)
6205
- SENSITIVE = []
6206
- include Aws::Structure
6207
- end
6208
-
6209
- # @!attribute [rw] alarms
6210
- # An array of objects that describe the alarms.
6211
- # @return [Array<Types::Alarm>]
7048
+ # @!attribute [rw] statistics
7049
+ # The statistic for the metric.
6212
7050
  #
6213
- # @!attribute [rw] next_page_token
6214
- # The token to advance to the next page of results from your request.
7051
+ # The following statistics are available:
6215
7052
  #
6216
- # A next page token is not returned if there are no more results to
6217
- # display.
7053
+ # * `Minimum` - The lowest value observed during the specified period.
7054
+ # Use this value to determine low volumes of activity for your
7055
+ # application.
6218
7056
  #
6219
- # To get the next page of results, perform another `GetAlarms` request
6220
- # and specify the next page token using the `pageToken` parameter.
6221
- # @return [String]
7057
+ # * `Maximum` - The highest value observed during the specified
7058
+ # period. Use this value to determine high volumes of activity for
7059
+ # your application.
6222
7060
  #
6223
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarmsResult AWS API Documentation
7061
+ # * `Sum` - The sum of all values submitted for the matching metric.
7062
+ # You can use this statistic to determine the total volume of a
7063
+ # metric.
6224
7064
  #
6225
- class GetAlarmsResult < Struct.new(
6226
- :alarms,
6227
- :next_page_token)
6228
- SENSITIVE = []
6229
- include Aws::Structure
6230
- end
6231
-
6232
- # @note When making an API call, you may pass GetAutoSnapshotsRequest
6233
- # data as a hash:
7065
+ # * `Average` - The value of `Sum` / `SampleCount` during the
7066
+ # specified period. By comparing this statistic with the `Minimum`
7067
+ # and `Maximum` values, you can determine the full scope of a metric
7068
+ # and how close the average use is to the `Minimum` and `Maximum`
7069
+ # values. This comparison helps you to know when to increase or
7070
+ # decrease your resources.
6234
7071
  #
6235
- # {
6236
- # resource_name: "ResourceName", # required
6237
- # }
7072
+ # * `SampleCount` - The count, or number, of data points used for the
7073
+ # statistical calculation.
7074
+ # @return [Array<String>]
6238
7075
  #
6239
- # @!attribute [rw] resource_name
6240
- # The name of the source instance or disk from which to get automatic
6241
- # snapshot information.
7076
+ # @!attribute [rw] unit
7077
+ # The unit for the metric data request.
7078
+ #
7079
+ # Valid units depend on the metric data being requested. For the valid
7080
+ # units with each available metric, see the `metricName` parameter.
6242
7081
  # @return [String]
6243
7082
  #
6244
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsRequest AWS API Documentation
7083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketMetricDataRequest AWS API Documentation
6245
7084
  #
6246
- class GetAutoSnapshotsRequest < Struct.new(
6247
- :resource_name)
7085
+ class GetBucketMetricDataRequest < Struct.new(
7086
+ :bucket_name,
7087
+ :metric_name,
7088
+ :start_time,
7089
+ :end_time,
7090
+ :period,
7091
+ :statistics,
7092
+ :unit)
6248
7093
  SENSITIVE = []
6249
7094
  include Aws::Structure
6250
7095
  end
6251
7096
 
6252
- # @!attribute [rw] resource_name
6253
- # The name of the source instance or disk for the automatic snapshots.
6254
- # @return [String]
6255
- #
6256
- # @!attribute [rw] resource_type
6257
- # The resource type (e.g., `Instance` or `Disk`).
7097
+ # @!attribute [rw] metric_name
7098
+ # The name of the metric returned.
6258
7099
  # @return [String]
6259
7100
  #
6260
- # @!attribute [rw] auto_snapshots
6261
- # An array of objects that describe the automatic snapshots that are
6262
- # available for the specified source instance or disk.
6263
- # @return [Array<Types::AutoSnapshotDetails>]
7101
+ # @!attribute [rw] metric_data
7102
+ # An array of objects that describe the metric data returned.
7103
+ # @return [Array<Types::MetricDatapoint>]
6264
7104
  #
6265
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsResult AWS API Documentation
7105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketMetricDataResult AWS API Documentation
6266
7106
  #
6267
- class GetAutoSnapshotsResult < Struct.new(
6268
- :resource_name,
6269
- :resource_type,
6270
- :auto_snapshots)
7107
+ class GetBucketMetricDataResult < Struct.new(
7108
+ :metric_name,
7109
+ :metric_data)
6271
7110
  SENSITIVE = []
6272
7111
  include Aws::Structure
6273
7112
  end
6274
7113
 
6275
- # @note When making an API call, you may pass GetBlueprintsRequest
7114
+ # @note When making an API call, you may pass GetBucketsRequest
6276
7115
  # data as a hash:
6277
7116
  #
6278
7117
  # {
6279
- # include_inactive: false,
7118
+ # bucket_name: "BucketName",
6280
7119
  # page_token: "string",
7120
+ # include_connected_resources: false,
6281
7121
  # }
6282
7122
  #
6283
- # @!attribute [rw] include_inactive
6284
- # A Boolean value indicating whether to include inactive results in
6285
- # your request.
6286
- # @return [Boolean]
7123
+ # @!attribute [rw] bucket_name
7124
+ # The name of the bucket for which to return information.
7125
+ #
7126
+ # When omitted, the response includes all of your buckets in the AWS
7127
+ # Region where the request is made.
7128
+ # @return [String]
6287
7129
  #
6288
7130
  # @!attribute [rw] page_token
6289
7131
  # The token to advance to the next page of results from your request.
6290
7132
  #
6291
- # To get a page token, perform an initial `GetBlueprints` request. If
7133
+ # To get a page token, perform an initial `GetBuckets` request. If
6292
7134
  # your results are paginated, the response will return a next page
6293
7135
  # token that you can specify as the page token in a subsequent
6294
7136
  # request.
6295
7137
  # @return [String]
6296
7138
  #
6297
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest AWS API Documentation
7139
+ # @!attribute [rw] include_connected_resources
7140
+ # A Boolean value that indicates whether to include Lightsail
7141
+ # instances that were given access to the bucket using the
7142
+ # SetResourceAccessForBucket action.
7143
+ # @return [Boolean]
6298
7144
  #
6299
- class GetBlueprintsRequest < Struct.new(
6300
- :include_inactive,
6301
- :page_token)
7145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsRequest AWS API Documentation
7146
+ #
7147
+ class GetBucketsRequest < Struct.new(
7148
+ :bucket_name,
7149
+ :page_token,
7150
+ :include_connected_resources)
6302
7151
  SENSITIVE = []
6303
7152
  include Aws::Structure
6304
7153
  end
6305
7154
 
6306
- # @!attribute [rw] blueprints
6307
- # An array of key-value pairs that contains information about the
6308
- # available blueprints.
6309
- # @return [Array<Types::Blueprint>]
7155
+ # @!attribute [rw] buckets
7156
+ # An array of objects that describe buckets.
7157
+ # @return [Array<Types::Bucket>]
6310
7158
  #
6311
7159
  # @!attribute [rw] next_page_token
6312
7160
  # The token to advance to the next page of results from your request.
@@ -6314,15 +7162,15 @@ module Aws::Lightsail
6314
7162
  # A next page token is not returned if there are no more results to
6315
7163
  # display.
6316
7164
  #
6317
- # To get the next page of results, perform another `GetBlueprints`
7165
+ # To get the next page of results, perform another `GetBuckets`
6318
7166
  # request and specify the next page token using the `pageToken`
6319
7167
  # parameter.
6320
7168
  # @return [String]
6321
7169
  #
6322
- # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult AWS API Documentation
7170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsResult AWS API Documentation
6323
7171
  #
6324
- class GetBlueprintsResult < Struct.new(
6325
- :blueprints,
7172
+ class GetBucketsResult < Struct.new(
7173
+ :buckets,
6326
7174
  :next_page_token)
6327
7175
  SENSITIVE = []
6328
7176
  include Aws::Structure
@@ -7316,9 +8164,6 @@ module Aws::Lightsail
7316
8164
  # @!attribute [rw] distribution_name
7317
8165
  # The name of the distribution for which to return information.
7318
8166
  #
7319
- # Use the `GetDistributions` action to get a list of distribution
7320
- # names that you can specify.
7321
- #
7322
8167
  # When omitted, the response includes all of your distributions in the
7323
8168
  # AWS Region where the request is made.
7324
8169
  # @return [String]
@@ -9559,7 +10404,7 @@ module Aws::Lightsail
9559
10404
  #
9560
10405
  # {
9561
10406
  # name: "ResourceName",
9562
- # region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2
10407
+ # region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
9563
10408
  # protocol_policy: "http-only", # accepts http-only, https-only
9564
10409
  # }
9565
10410
  #
@@ -9620,12 +10465,12 @@ module Aws::Lightsail
9620
10465
  #
9621
10466
  # @!attribute [rw] tags
9622
10467
  # The tag keys and optional values for the resource. For more
9623
- # information about tags in Lightsail, see the [Lightsail Dev
9624
- # Guide][1].
10468
+ # information about tags in Lightsail, see the [Amazon Lightsail
10469
+ # Developer Guide][1].
9625
10470
  #
9626
10471
  #
9627
10472
  #
9628
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
10473
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
9629
10474
  # @return [Array<Types::Tag>]
9630
10475
  #
9631
10476
  # @!attribute [rw] blueprint_id
@@ -10378,12 +11223,12 @@ module Aws::Lightsail
10378
11223
  #
10379
11224
  # @!attribute [rw] tags
10380
11225
  # The tag keys and optional values for the resource. For more
10381
- # information about tags in Lightsail, see the [Lightsail Dev
10382
- # Guide][1].
11226
+ # information about tags in Lightsail, see the [Amazon Lightsail
11227
+ # Developer Guide][1].
10383
11228
  #
10384
11229
  #
10385
11230
  #
10386
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
11231
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
10387
11232
  # @return [Array<Types::Tag>]
10388
11233
  #
10389
11234
  # @!attribute [rw] state
@@ -10553,7 +11398,7 @@ module Aws::Lightsail
10553
11398
  include Aws::Structure
10554
11399
  end
10555
11400
 
10556
- # Describes the SSH key pair.
11401
+ # Describes an SSH key pair.
10557
11402
  #
10558
11403
  # @!attribute [rw] name
10559
11404
  # The friendly name of the SSH key pair.
@@ -10587,12 +11432,12 @@ module Aws::Lightsail
10587
11432
  #
10588
11433
  # @!attribute [rw] tags
10589
11434
  # The tag keys and optional values for the resource. For more
10590
- # information about tags in Lightsail, see the [Lightsail Dev
10591
- # Guide][1].
11435
+ # information about tags in Lightsail, see the [Amazon Lightsail
11436
+ # Developer Guide][1].
10592
11437
  #
10593
11438
  #
10594
11439
  #
10595
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
11440
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
10596
11441
  # @return [Array<Types::Tag>]
10597
11442
  #
10598
11443
  # @!attribute [rw] fingerprint
@@ -10720,12 +11565,12 @@ module Aws::Lightsail
10720
11565
  #
10721
11566
  # @!attribute [rw] tags
10722
11567
  # The tag keys and optional values for the resource. For more
10723
- # information about tags in Lightsail, see the [Lightsail Dev
10724
- # Guide][1].
11568
+ # information about tags in Lightsail, see the [Amazon Lightsail
11569
+ # Developer Guide][1].
10725
11570
  #
10726
11571
  #
10727
11572
  #
10728
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
11573
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
10729
11574
  # @return [Array<Types::Tag>]
10730
11575
  #
10731
11576
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LightsailDistribution AWS API Documentation
@@ -10755,7 +11600,7 @@ module Aws::Lightsail
10755
11600
  include Aws::Structure
10756
11601
  end
10757
11602
 
10758
- # Describes the Lightsail load balancer.
11603
+ # Describes a load balancer.
10759
11604
  #
10760
11605
  # @!attribute [rw] name
10761
11606
  # The name of the load balancer (e.g., `my-load-balancer`).
@@ -10788,12 +11633,12 @@ module Aws::Lightsail
10788
11633
  #
10789
11634
  # @!attribute [rw] tags
10790
11635
  # The tag keys and optional values for the resource. For more
10791
- # information about tags in Lightsail, see the [Lightsail Dev
10792
- # Guide][1].
11636
+ # information about tags in Lightsail, see the [Amazon Lightsail
11637
+ # Developer Guide][1].
10793
11638
  #
10794
11639
  #
10795
11640
  #
10796
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
11641
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
10797
11642
  # @return [Array<Types::Tag>]
10798
11643
  #
10799
11644
  # @!attribute [rw] dns_name
@@ -10934,12 +11779,12 @@ module Aws::Lightsail
10934
11779
  #
10935
11780
  # @!attribute [rw] tags
10936
11781
  # The tag keys and optional values for the resource. For more
10937
- # information about tags in Lightsail, see the [Lightsail Dev
10938
- # Guide][1].
11782
+ # information about tags in Lightsail, see the [Amazon Lightsail
11783
+ # Developer Guide][1].
10939
11784
  #
10940
11785
  #
10941
11786
  #
10942
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
11787
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
10943
11788
  # @return [Array<Types::Tag>]
10944
11789
  #
10945
11790
  # @!attribute [rw] load_balancer_name
@@ -12350,12 +13195,12 @@ module Aws::Lightsail
12350
13195
  #
12351
13196
  # @!attribute [rw] tags
12352
13197
  # The tag keys and optional values for the resource. For more
12353
- # information about tags in Lightsail, see the [Lightsail Dev
12354
- # Guide][1].
13198
+ # information about tags in Lightsail, see the [Amazon Lightsail
13199
+ # Developer Guide][1].
12355
13200
  #
12356
13201
  #
12357
13202
  #
12358
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
13203
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
12359
13204
  # @return [Array<Types::Tag>]
12360
13205
  #
12361
13206
  # @!attribute [rw] relational_database_blueprint_id
@@ -12751,12 +13596,12 @@ module Aws::Lightsail
12751
13596
  #
12752
13597
  # @!attribute [rw] tags
12753
13598
  # The tag keys and optional values for the resource. For more
12754
- # information about tags in Lightsail, see the [Lightsail Dev
12755
- # Guide][1].
13599
+ # information about tags in Lightsail, see the [Amazon Lightsail
13600
+ # Developer Guide][1].
12756
13601
  #
12757
13602
  #
12758
13603
  #
12759
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
13604
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
12760
13605
  # @return [Array<Types::Tag>]
12761
13606
  #
12762
13607
  # @!attribute [rw] engine
@@ -12973,6 +13818,26 @@ module Aws::Lightsail
12973
13818
  include Aws::Structure
12974
13819
  end
12975
13820
 
13821
+ # Describes an Amazon Lightsail instance that has access to a Lightsail
13822
+ # bucket.
13823
+ #
13824
+ # @!attribute [rw] name
13825
+ # The name of the Lightsail instance.
13826
+ # @return [String]
13827
+ #
13828
+ # @!attribute [rw] resource_type
13829
+ # The Lightsail resource type (for example, `Instance`).
13830
+ # @return [String]
13831
+ #
13832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceReceivingAccess AWS API Documentation
13833
+ #
13834
+ class ResourceReceivingAccess < Struct.new(
13835
+ :name,
13836
+ :resource_type)
13837
+ SENSITIVE = []
13838
+ include Aws::Structure
13839
+ end
13840
+
12976
13841
  # Describes the domain name system (DNS) records to add to your
12977
13842
  # domain's DNS to validate it for an Amazon Lightsail certificate.
12978
13843
  #
@@ -13060,7 +13925,7 @@ module Aws::Lightsail
13060
13925
  # data as a hash:
13061
13926
  #
13062
13927
  # {
13063
- # resource_type: "ContainerService", # required, accepts ContainerService, Instance, StaticIp, KeyPair, InstanceSnapshot, Domain, PeeredVpc, LoadBalancer, LoadBalancerTlsCertificate, Disk, DiskSnapshot, RelationalDatabase, RelationalDatabaseSnapshot, ExportSnapshotRecord, CloudFormationStackRecord, Alarm, ContactMethod, Distribution, Certificate
13928
+ # resource_type: "ContainerService", # required, accepts ContainerService, Instance, StaticIp, KeyPair, InstanceSnapshot, Domain, PeeredVpc, LoadBalancer, LoadBalancerTlsCertificate, Disk, DiskSnapshot, RelationalDatabase, RelationalDatabaseSnapshot, ExportSnapshotRecord, CloudFormationStackRecord, Alarm, ContactMethod, Distribution, Certificate, Bucket
13064
13929
  # resource_name: "ResourceName", # required
13065
13930
  # ip_address_type: "dualstack", # required, accepts dualstack, ipv4
13066
13931
  # }
@@ -13113,6 +13978,60 @@ module Aws::Lightsail
13113
13978
  include Aws::Structure
13114
13979
  end
13115
13980
 
13981
+ # @note When making an API call, you may pass SetResourceAccessForBucketRequest
13982
+ # data as a hash:
13983
+ #
13984
+ # {
13985
+ # resource_name: "ResourceName", # required
13986
+ # bucket_name: "BucketName", # required
13987
+ # access: "allow", # required, accepts allow, deny
13988
+ # }
13989
+ #
13990
+ # @!attribute [rw] resource_name
13991
+ # The name of the Lightsail instance for which to set bucket access.
13992
+ # The instance must be in a running or stopped state.
13993
+ # @return [String]
13994
+ #
13995
+ # @!attribute [rw] bucket_name
13996
+ # The name of the bucket for which to set access to another Lightsail
13997
+ # resource.
13998
+ # @return [String]
13999
+ #
14000
+ # @!attribute [rw] access
14001
+ # The access setting.
14002
+ #
14003
+ # The following access settings are available:
14004
+ #
14005
+ # * `allow` - Allows access to the bucket and its objects.
14006
+ #
14007
+ # * `deny` - Denies access to the bucket and its objects. Use this
14008
+ # setting to remove access for a resource previously set to `allow`.
14009
+ # @return [String]
14010
+ #
14011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetResourceAccessForBucketRequest AWS API Documentation
14012
+ #
14013
+ class SetResourceAccessForBucketRequest < Struct.new(
14014
+ :resource_name,
14015
+ :bucket_name,
14016
+ :access)
14017
+ SENSITIVE = []
14018
+ include Aws::Structure
14019
+ end
14020
+
14021
+ # @!attribute [rw] operations
14022
+ # An array of objects that describe the result of the action, such as
14023
+ # the status of the request, the timestamp of the request, and the
14024
+ # resources affected by the request.
14025
+ # @return [Array<Types::Operation>]
14026
+ #
14027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetResourceAccessForBucketResult AWS API Documentation
14028
+ #
14029
+ class SetResourceAccessForBucketResult < Struct.new(
14030
+ :operations)
14031
+ SENSITIVE = []
14032
+ include Aws::Structure
14033
+ end
14034
+
13116
14035
  # @note When making an API call, you may pass StartInstanceRequest
13117
14036
  # data as a hash:
13118
14037
  #
@@ -13179,7 +14098,7 @@ module Aws::Lightsail
13179
14098
  include Aws::Structure
13180
14099
  end
13181
14100
 
13182
- # Describes the static IP.
14101
+ # Describes a static IP.
13183
14102
  #
13184
14103
  # @!attribute [rw] name
13185
14104
  # The name of the static IP (e.g., `StaticIP-Ohio-EXAMPLE`).
@@ -13326,12 +14245,12 @@ module Aws::Lightsail
13326
14245
  # Describes a tag key and optional value assigned to an Amazon Lightsail
13327
14246
  # resource.
13328
14247
  #
13329
- # For more information about tags in Lightsail, see the [Lightsail Dev
13330
- # Guide][1].
14248
+ # For more information about tags in Lightsail, see the [Amazon
14249
+ # Lightsail Developer Guide][1].
13331
14250
  #
13332
14251
  #
13333
14252
  #
13334
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
14253
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
13335
14254
  #
13336
14255
  # @note When making an API call, you may pass Tag
13337
14256
  # data as a hash:
@@ -13556,6 +14475,119 @@ module Aws::Lightsail
13556
14475
  include Aws::Structure
13557
14476
  end
13558
14477
 
14478
+ # @note When making an API call, you may pass UpdateBucketBundleRequest
14479
+ # data as a hash:
14480
+ #
14481
+ # {
14482
+ # bucket_name: "BucketName", # required
14483
+ # bundle_id: "NonEmptyString", # required
14484
+ # }
14485
+ #
14486
+ # @!attribute [rw] bucket_name
14487
+ # The name of the bucket for which to update the bundle.
14488
+ # @return [String]
14489
+ #
14490
+ # @!attribute [rw] bundle_id
14491
+ # The ID of the new bundle to apply to the bucket.
14492
+ #
14493
+ # Use the GetBucketBundles action to get a list of bundle IDs that you
14494
+ # can specify.
14495
+ # @return [String]
14496
+ #
14497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketBundleRequest AWS API Documentation
14498
+ #
14499
+ class UpdateBucketBundleRequest < Struct.new(
14500
+ :bucket_name,
14501
+ :bundle_id)
14502
+ SENSITIVE = []
14503
+ include Aws::Structure
14504
+ end
14505
+
14506
+ # @!attribute [rw] operations
14507
+ # An array of objects that describe the result of the action, such as
14508
+ # the status of the request, the timestamp of the request, and the
14509
+ # resources affected by the request.
14510
+ # @return [Array<Types::Operation>]
14511
+ #
14512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketBundleResult AWS API Documentation
14513
+ #
14514
+ class UpdateBucketBundleResult < Struct.new(
14515
+ :operations)
14516
+ SENSITIVE = []
14517
+ include Aws::Structure
14518
+ end
14519
+
14520
+ # @note When making an API call, you may pass UpdateBucketRequest
14521
+ # data as a hash:
14522
+ #
14523
+ # {
14524
+ # bucket_name: "BucketName", # required
14525
+ # access_rules: {
14526
+ # get_object: "public", # accepts public, private
14527
+ # allow_public_overrides: false,
14528
+ # },
14529
+ # versioning: "NonEmptyString",
14530
+ # readonly_access_accounts: ["NonEmptyString"],
14531
+ # }
14532
+ #
14533
+ # @!attribute [rw] bucket_name
14534
+ # The name of the bucket to update.
14535
+ # @return [String]
14536
+ #
14537
+ # @!attribute [rw] access_rules
14538
+ # An object that sets the public accessibility of objects in the
14539
+ # specified bucket.
14540
+ # @return [Types::AccessRules]
14541
+ #
14542
+ # @!attribute [rw] versioning
14543
+ # Specifies whether to enable or suspend versioning of objects in the
14544
+ # bucket.
14545
+ #
14546
+ # The following options can be specified:
14547
+ #
14548
+ # * `Enabled` - Enables versioning of objects in the specified bucket.
14549
+ #
14550
+ # * `Suspended` - Suspends versioning of objects in the specified
14551
+ # bucket. Existing object versions are retained.
14552
+ # @return [String]
14553
+ #
14554
+ # @!attribute [rw] readonly_access_accounts
14555
+ # An array of strings to specify the AWS account IDs that can access
14556
+ # the bucket.
14557
+ #
14558
+ # You can give a maximum of 10 AWS accounts access to a bucket.
14559
+ # @return [Array<String>]
14560
+ #
14561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketRequest AWS API Documentation
14562
+ #
14563
+ class UpdateBucketRequest < Struct.new(
14564
+ :bucket_name,
14565
+ :access_rules,
14566
+ :versioning,
14567
+ :readonly_access_accounts)
14568
+ SENSITIVE = []
14569
+ include Aws::Structure
14570
+ end
14571
+
14572
+ # @!attribute [rw] bucket
14573
+ # An object that describes the bucket that is updated.
14574
+ # @return [Types::Bucket]
14575
+ #
14576
+ # @!attribute [rw] operations
14577
+ # An array of objects that describe the result of the action, such as
14578
+ # the status of the request, the timestamp of the request, and the
14579
+ # resources affected by the request.
14580
+ # @return [Array<Types::Operation>]
14581
+ #
14582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketResult AWS API Documentation
14583
+ #
14584
+ class UpdateBucketResult < Struct.new(
14585
+ :bucket,
14586
+ :operations)
14587
+ SENSITIVE = []
14588
+ include Aws::Structure
14589
+ end
14590
+
13559
14591
  # @note When making an API call, you may pass UpdateContainerServiceRequest
13560
14592
  # data as a hash:
13561
14593
  #
@@ -13697,7 +14729,7 @@ module Aws::Lightsail
13697
14729
  # distribution_name: "ResourceName", # required
13698
14730
  # origin: {
13699
14731
  # name: "ResourceName",
13700
- # region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2
14732
+ # region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
13701
14733
  # protocol_policy: "http-only", # accepts http-only, https-only
13702
14734
  # },
13703
14735
  # default_cache_behavior: {