aws-sdk-lightsail 1.63.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1951d4be1857429ffbf2d537f6d7f5e72cf83048becb5087217d518f3aa58190
4
- data.tar.gz: 3203ffb6e44f919731a34debe45b72c041ad8d348c636f9e8bc551dfd0292ff9
3
+ metadata.gz: 0c1bc47d670ef70e519eea2a806c018927faf2a4e8b1effaa1dc8b22c3de015e
4
+ data.tar.gz: 89110872c75aca03b740ee8b746627ab340643a973a3fadd78076c0d1ea87dda
5
5
  SHA512:
6
- metadata.gz: 166f547a1c0282624ff04b0fe56b2c7a24425bbc63427d837950cd4a480cf3f1511f45e6746334f1c80119a2a891f7d781e2e33a590689c287ac58bd2a0173c3
7
- data.tar.gz: '0484fc5960ef41d0ec90cc456d5645f3eb2f094c6abb2f4473ac219fbae38ce57c4f0d42437355d80783ad8a06de3d72fd6c8adde1d0e175e5f3b7bc7b626463'
6
+ metadata.gz: 769e4cdf66eef60331b0b6f848f7beae7b95366c1c4ea8e4d823b63105b28e13bdd1283e5b2481b3a1ded7c061707da6a06978e6f520c70b196282a1b9cd6192
7
+ data.tar.gz: 6757495df0b4c5a48cfb1c73d86e119747a0d2ec8392db53742e9c4b5756d5a1d53451379d7640a3abdabfbfc2d465c7fd07b9b87f204a013ef1fa0f47853f61
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.64.0 (2022-04-15)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to describe the synchronization status of the account-level block public access feature for your Amazon Lightsail buckets.
8
+
4
9
  1.63.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.64.0
@@ -1605,10 +1605,10 @@ module Aws::Lightsail
1605
1605
  # and the health check configuration.
1606
1606
  #
1607
1607
  # You can deploy containers to your container service using container
1608
- # images from a public registry like Docker Hub, or from your local
1609
- # machine. For more information, see [Creating container images for your
1610
- # Amazon Lightsail container services][1] in the *Amazon Lightsail
1611
- # Developer Guide*.
1608
+ # images from a public registry such as Amazon ECR Public, or from your
1609
+ # local machine. For more information, see [Creating container images
1610
+ # for your Amazon Lightsail container services][1] in the *Amazon
1611
+ # Lightsail Developer Guide*.
1612
1612
  #
1613
1613
  #
1614
1614
  #
@@ -5614,10 +5614,13 @@ module Aws::Lightsail
5614
5614
  req.send_request(options)
5615
5615
  end
5616
5616
 
5617
- # Returns information about one or more Amazon Lightsail buckets.
5617
+ # Returns information about one or more Amazon Lightsail buckets. The
5618
+ # information returned includes the synchronization status of the Amazon
5619
+ # Simple Storage Service (Amazon S3) account-level block public access
5620
+ # feature for your Lightsail buckets.
5618
5621
  #
5619
5622
  # For more information about buckets, see [Buckets in Amazon
5620
- # Lightsail][1] in the *Amazon Lightsail Developer Guide*..
5623
+ # Lightsail][1] in the *Amazon Lightsail Developer Guide*.
5621
5624
  #
5622
5625
  #
5623
5626
  #
@@ -5649,6 +5652,7 @@ module Aws::Lightsail
5649
5652
  #
5650
5653
  # * {Types::GetBucketsResult#buckets #buckets} => Array<Types::Bucket>
5651
5654
  # * {Types::GetBucketsResult#next_page_token #next_page_token} => String
5655
+ # * {Types::GetBucketsResult#account_level_bpa_sync #account_level_bpa_sync} => Types::AccountLevelBpaSync
5652
5656
  #
5653
5657
  # @example Request syntax with placeholder values
5654
5658
  #
@@ -5688,6 +5692,10 @@ module Aws::Lightsail
5688
5692
  # resp.buckets[0].access_log_config.destination #=> String
5689
5693
  # resp.buckets[0].access_log_config.prefix #=> String
5690
5694
  # resp.next_page_token #=> String
5695
+ # resp.account_level_bpa_sync.status #=> String, one of "InSync", "Failed", "NeverSynced", "Defaulted"
5696
+ # resp.account_level_bpa_sync.last_synced_at #=> Time
5697
+ # resp.account_level_bpa_sync.message #=> String, one of "DEFAULTED_FOR_SLR_MISSING", "SYNC_ON_HOLD", "DEFAULTED_FOR_SLR_MISSING_ON_HOLD", "Unknown"
5698
+ # resp.account_level_bpa_sync.bpa_impacts_lightsail #=> Boolean
5691
5699
  #
5692
5700
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
5693
5701
  #
@@ -6647,7 +6655,7 @@ module Aws::Lightsail
6647
6655
  # content delivery network (CDN) distributions.
6648
6656
  #
6649
6657
  # A distribution bundle specifies the monthly network transfer quota and
6650
- # monthly cost of your dsitribution.
6658
+ # monthly cost of your distribution.
6651
6659
  #
6652
6660
  # @return [Types::GetDistributionBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6653
6661
  #
@@ -11128,7 +11136,7 @@ module Aws::Lightsail
11128
11136
  # (CDN) distribution.
11129
11137
  #
11130
11138
  # A distribution bundle specifies the monthly network transfer quota and
11131
- # monthly cost of your dsitribution.
11139
+ # monthly cost of your distribution.
11132
11140
  #
11133
11141
  # Update your distribution's bundle if your distribution is going over
11134
11142
  # its monthly network transfer quota and is incurring an overage fee.
@@ -11550,7 +11558,7 @@ module Aws::Lightsail
11550
11558
  params: params,
11551
11559
  config: config)
11552
11560
  context[:gem_name] = 'aws-sdk-lightsail'
11553
- context[:gem_version] = '1.63.0'
11561
+ context[:gem_version] = '1.64.0'
11554
11562
  Seahorse::Client::Request.new(handlers, context)
11555
11563
  end
11556
11564
 
@@ -21,6 +21,8 @@ module Aws::Lightsail
21
21
  AccessReceiverList = Shapes::ListShape.new(name: 'AccessReceiverList')
22
22
  AccessRules = Shapes::StructureShape.new(name: 'AccessRules')
23
23
  AccessType = Shapes::StringShape.new(name: 'AccessType')
24
+ AccountLevelBpaSync = Shapes::StructureShape.new(name: 'AccountLevelBpaSync')
25
+ AccountLevelBpaSyncStatus = Shapes::StringShape.new(name: 'AccountLevelBpaSyncStatus')
24
26
  AccountSetupInProgressException = Shapes::StructureShape.new(name: 'AccountSetupInProgressException')
25
27
  AddOn = Shapes::StructureShape.new(name: 'AddOn')
26
28
  AddOnList = Shapes::ListShape.new(name: 'AddOnList')
@@ -52,6 +54,7 @@ module Aws::Lightsail
52
54
  AutoSnapshotStatus = Shapes::StringShape.new(name: 'AutoSnapshotStatus')
53
55
  AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
54
56
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
57
+ BPAStatusMessage = Shapes::StringShape.new(name: 'BPAStatusMessage')
55
58
  Base64 = Shapes::StringShape.new(name: 'Base64')
56
59
  BehaviorEnum = Shapes::StringShape.new(name: 'BehaviorEnum')
57
60
  Blueprint = Shapes::StructureShape.new(name: 'Blueprint')
@@ -637,6 +640,12 @@ module Aws::Lightsail
637
640
  AccessRules.add_member(:allow_public_overrides, Shapes::ShapeRef.new(shape: boolean, location_name: "allowPublicOverrides"))
638
641
  AccessRules.struct_class = Types::AccessRules
639
642
 
643
+ AccountLevelBpaSync.add_member(:status, Shapes::ShapeRef.new(shape: AccountLevelBpaSyncStatus, location_name: "status"))
644
+ AccountLevelBpaSync.add_member(:last_synced_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "lastSyncedAt"))
645
+ AccountLevelBpaSync.add_member(:message, Shapes::ShapeRef.new(shape: BPAStatusMessage, location_name: "message"))
646
+ AccountLevelBpaSync.add_member(:bpa_impacts_lightsail, Shapes::ShapeRef.new(shape: boolean, location_name: "bpaImpactsLightsail"))
647
+ AccountLevelBpaSync.struct_class = Types::AccountLevelBpaSync
648
+
640
649
  AccountSetupInProgressException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
641
650
  AccountSetupInProgressException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
642
651
  AccountSetupInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -1655,6 +1664,7 @@ module Aws::Lightsail
1655
1664
 
1656
1665
  GetBucketsResult.add_member(:buckets, Shapes::ShapeRef.new(shape: BucketList, location_name: "buckets"))
1657
1666
  GetBucketsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
1667
+ GetBucketsResult.add_member(:account_level_bpa_sync, Shapes::ShapeRef.new(shape: AccountLevelBpaSync, location_name: "accountLevelBpaSync"))
1658
1668
  GetBucketsResult.struct_class = Types::GetBucketsResult
1659
1669
 
1660
1670
  GetBundlesRequest.add_member(:include_inactive, Shapes::ShapeRef.new(shape: boolean, location_name: "includeInactive"))
@@ -211,6 +211,115 @@ module Aws::Lightsail
211
211
  include Aws::Structure
212
212
  end
213
213
 
214
+ # Describes the synchronization status of the Amazon Simple Storage
215
+ # Service (Amazon S3) account-level block public access (BPA) feature
216
+ # for your Lightsail buckets.
217
+ #
218
+ # The account-level BPA feature of Amazon S3 provides centralized
219
+ # controls to limit public access to all Amazon S3 buckets in an
220
+ # account. BPA can make all Amazon S3 buckets in an Amazon Web Services
221
+ # account private regardless of the individual bucket and object
222
+ # permissions that are configured. Lightsail buckets take into account
223
+ # the Amazon S3 account-level BPA configuration when allowing or denying
224
+ # public access. To do this, Lightsail periodically fetches the
225
+ # account-level BPA configuration from Amazon S3. When the account-level
226
+ # BPA status is `InSync`, the Amazon S3 account-level BPA configuration
227
+ # is synchronized and it applies to your Lightsail buckets. For more
228
+ # information about Amazon Simple Storage Service account-level BPA and
229
+ # how it affects Lightsail buckets, see [Block public access for buckets
230
+ # in Amazon Lightsail][1] in the *Amazon Lightsail Developer Guide*.
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets
235
+ #
236
+ # @!attribute [rw] status
237
+ # The status of the account-level BPA synchronization.
238
+ #
239
+ # The following statuses are possible:
240
+ #
241
+ # * `InSync` - Account-level BPA is synchronized. The Amazon S3
242
+ # account-level BPA configuration applies to your Lightsail buckets.
243
+ #
244
+ # * `NeverSynced` - Synchronization has not yet happened. The Amazon
245
+ # S3 account-level BPA configuration does not apply to your
246
+ # Lightsail buckets.
247
+ #
248
+ # * `Failed` - Synchronization failed. The Amazon S3 account-level BPA
249
+ # configuration does not apply to your Lightsail buckets.
250
+ #
251
+ # * `Defaulted` - Synchronization failed and account-level BPA for
252
+ # your Lightsail buckets is defaulted to *active*.
253
+ #
254
+ # <note markdown="1"> You might need to complete further actions if the status is `Failed`
255
+ # or `Defaulted`. The `message` parameter provides more information
256
+ # for those statuses.
257
+ #
258
+ # </note>
259
+ # @return [String]
260
+ #
261
+ # @!attribute [rw] last_synced_at
262
+ # The timestamp of when the account-level BPA configuration was last
263
+ # synchronized. This value is null when the account-level BPA
264
+ # configuration has not been synchronized.
265
+ # @return [Time]
266
+ #
267
+ # @!attribute [rw] message
268
+ # A message that provides a reason for a `Failed` or `Defaulted`
269
+ # synchronization status.
270
+ #
271
+ # The following messages are possible:
272
+ #
273
+ # * `SYNC_ON_HOLD` - The synchronization has not yet happened. This
274
+ # status message occurs immediately after you create your first
275
+ # Lightsail bucket. This status message should change after the
276
+ # first synchronization happens, approximately 1 hour after the
277
+ # first bucket is created.
278
+ #
279
+ # * `DEFAULTED_FOR_SLR_MISSING` - The synchronization failed because
280
+ # the required service-linked role is missing from your Amazon Web
281
+ # Services account. The account-level BPA configuration for your
282
+ # Lightsail buckets is defaulted to *active* until the
283
+ # synchronization can occur. This means that all your buckets are
284
+ # private and not publicly accessible. For more information about
285
+ # how to create the required service-linked role to allow
286
+ # synchronization, see [Using Service-Linked Roles for Amazon
287
+ # Lightsail][1] in the *Amazon Lightsail Developer Guide*.
288
+ #
289
+ # * `DEFAULTED_FOR_SLR_MISSING_ON_HOLD` - The synchronization failed
290
+ # because the required service-linked role is missing from your
291
+ # Amazon Web Services account. Account-level BPA is not yet
292
+ # configured for your Lightsail buckets. Therefore, only the bucket
293
+ # access permissions and individual object access permissions apply
294
+ # to your Lightsail buckets. For more information about how to
295
+ # create the required service-linked role to allow synchronization,
296
+ # see [Using Service-Linked Roles for Amazon Lightsail][1] in the
297
+ # *Amazon Lightsail Developer Guide*.
298
+ #
299
+ # * `Unknown` - The reason that synchronization failed is unknown.
300
+ # Contact Amazon Web Services Support for more information.
301
+ #
302
+ #
303
+ #
304
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles
305
+ # @return [String]
306
+ #
307
+ # @!attribute [rw] bpa_impacts_lightsail
308
+ # A Boolean value that indicates whether account-level block public
309
+ # access is affecting your Lightsail buckets.
310
+ # @return [Boolean]
311
+ #
312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccountLevelBpaSync AWS API Documentation
313
+ #
314
+ class AccountLevelBpaSync < Struct.new(
315
+ :status,
316
+ :last_synced_at,
317
+ :message,
318
+ :bpa_impacts_lightsail)
319
+ SENSITIVE = []
320
+ include Aws::Structure
321
+ end
322
+
214
323
  # Lightsail throws this exception when an account is still in the setup
215
324
  # in progress state.
216
325
  #
@@ -1131,9 +1240,9 @@ module Aws::Lightsail
1131
1240
  # @return [Boolean]
1132
1241
  #
1133
1242
  # @!attribute [rw] destination
1134
- # The name of the bucket where the access is saved. The destination
1135
- # can be a Lightsail bucket in the same account, and in the same AWS
1136
- # Region as the source bucket.
1243
+ # The name of the bucket where the access logs are saved. The
1244
+ # destination can be a Lightsail bucket in the same account, and in
1245
+ # the same AWS Region as the source bucket.
1137
1246
  #
1138
1247
  # <note markdown="1"> This parameter is required when enabling the access log for a
1139
1248
  # bucket, and should be omitted when disabling the access log.
@@ -7306,11 +7415,26 @@ module Aws::Lightsail
7306
7415
  # parameter.
7307
7416
  # @return [String]
7308
7417
  #
7418
+ # @!attribute [rw] account_level_bpa_sync
7419
+ # An object that describes the synchronization status of the Amazon S3
7420
+ # account-level block public access feature for your Lightsail
7421
+ # buckets.
7422
+ #
7423
+ # For more information about this feature and how it affects Lightsail
7424
+ # buckets, see [Block public access for buckets in Amazon
7425
+ # Lightsail][1].
7426
+ #
7427
+ #
7428
+ #
7429
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets
7430
+ # @return [Types::AccountLevelBpaSync]
7431
+ #
7309
7432
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsResult AWS API Documentation
7310
7433
  #
7311
7434
  class GetBucketsResult < Struct.new(
7312
7435
  :buckets,
7313
- :next_page_token)
7436
+ :next_page_token,
7437
+ :account_level_bpa_sync)
7314
7438
  SENSITIVE = []
7315
7439
  include Aws::Structure
7316
7440
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lightsail/customizations'
48
48
  # @!group service
49
49
  module Aws::Lightsail
50
50
 
51
- GEM_VERSION = '1.63.0'
51
+ GEM_VERSION = '1.64.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.63.0
4
+ version: 1.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core