aws-sdk-lightsail 1.55.0 → 1.59.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: 7938a370d064a0b0a701ed802804105359be0c00857fe47f228acb94af4867b1
4
- data.tar.gz: 49067298356be8a4d68932bef0d14362cdd0087342ed75b426cb0f3d2e291e26
3
+ metadata.gz: fb3de81a1e1f78c9f23f0d0ed443cd454e7f19bf8e3e89b94b7b7335ae25a303
4
+ data.tar.gz: b0a00e82d76790d8094f0d4b3a8a9c5d1ecc0af1804292377bab516aa4def355
5
5
  SHA512:
6
- metadata.gz: 46586617016dd8f20f4d3fe5e063208f436a49e0185a221e1cd87e96d357d32163ff7f89747c1fea458a5ace099ddea4e6df2fae30c0c56874ef2f64c916d87c
7
- data.tar.gz: dd29d567d09dbc178718a84c5fc1d7c364f3b4117991873d3b3d52d4d7a316110f211f68e4c0a15d87e12ab27efb5a047cb1f05444bf68ed24deef0bc9bb8b08
6
+ metadata.gz: 5c04c269802c4f54e08a13a897565e6c7895ea1ad3496cc075dc7cb80b39c8799c3e6ee8d3cc33a331390ee05f54af3542f1a6603483775525a3c2e0b97ad282
7
+ data.tar.gz: 98bcde750fcd225a238a04241a77dab0720fa15c810e9b91a0121101ba16a2841aae31e1cff8bf06bce9332211fea53e52f4a7b2a539b6787b387bf18e9e2516
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.58.0 (2021-11-01)
10
+ ------------------
11
+
12
+ * Feature - This release adds support to enable access logging for buckets in the Lightsail object storage service.
13
+
14
+ 1.57.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.56.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.55.0 (2021-08-06)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.59.0
@@ -285,6 +285,15 @@ module Aws::Lightsail
285
285
  # ** Please note ** When response stubbing is enabled, no HTTP
286
286
  # requests are made, and retries are disabled.
287
287
  #
288
+ # @option options [Boolean] :use_dualstack_endpoint
289
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
290
+ # will be used if available.
291
+ #
292
+ # @option options [Boolean] :use_fips_endpoint
293
+ # When set to `true`, fips compatible endpoints will be used if available.
294
+ # When a `fips` region is used, the region is normalized and this config
295
+ # is set to `true`.
296
+ #
288
297
  # @option options [Boolean] :validate_params (true)
289
298
  # When `true`, request parameters are validated before
290
299
  # sending the request.
@@ -968,6 +977,9 @@ module Aws::Lightsail
968
977
  # resp.bucket.resources_receiving_access[0].resource_type #=> String
969
978
  # resp.bucket.state.code #=> String
970
979
  # resp.bucket.state.message #=> String
980
+ # resp.bucket.access_log_config.enabled #=> Boolean
981
+ # resp.bucket.access_log_config.destination #=> String
982
+ # resp.bucket.access_log_config.prefix #=> String
971
983
  # resp.operations #=> Array
972
984
  # resp.operations[0].id #=> String
973
985
  # resp.operations[0].resource_name #=> String
@@ -1397,8 +1409,8 @@ module Aws::Lightsail
1397
1409
  # number of nodes) of the service.
1398
1410
  #
1399
1411
  # @option params [Array<Types::Tag>] :tags
1400
- # The tag keys and optional values to add to the certificate during
1401
- # create.
1412
+ # The tag keys and optional values to add to the container service
1413
+ # during create.
1402
1414
  #
1403
1415
  # Use the `TagResource` action to tag a resource after it's created.
1404
1416
  #
@@ -5590,6 +5602,9 @@ module Aws::Lightsail
5590
5602
  # resp.buckets[0].resources_receiving_access[0].resource_type #=> String
5591
5603
  # resp.buckets[0].state.code #=> String
5592
5604
  # resp.buckets[0].state.message #=> String
5605
+ # resp.buckets[0].access_log_config.enabled #=> Boolean
5606
+ # resp.buckets[0].access_log_config.destination #=> String
5607
+ # resp.buckets[0].access_log_config.prefix #=> String
5593
5608
  # resp.next_page_token #=> String
5594
5609
  #
5595
5610
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
@@ -10622,6 +10637,9 @@ module Aws::Lightsail
10622
10637
  #
10623
10638
  # You can give a maximum of 10 AWS accounts access to a bucket.
10624
10639
  #
10640
+ # @option params [Types::BucketAccessLogConfig] :access_log_config
10641
+ # An object that describes the access log configuration for the bucket.
10642
+ #
10625
10643
  # @return [Types::UpdateBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10626
10644
  #
10627
10645
  # * {Types::UpdateBucketResult#bucket #bucket} => Types::Bucket
@@ -10637,6 +10655,11 @@ module Aws::Lightsail
10637
10655
  # },
10638
10656
  # versioning: "NonEmptyString",
10639
10657
  # readonly_access_accounts: ["NonEmptyString"],
10658
+ # access_log_config: {
10659
+ # enabled: false, # required
10660
+ # destination: "BucketName",
10661
+ # prefix: "BucketAccessLogPrefix",
10662
+ # },
10640
10663
  # })
10641
10664
  #
10642
10665
  # @example Response structure
@@ -10664,6 +10687,9 @@ module Aws::Lightsail
10664
10687
  # resp.bucket.resources_receiving_access[0].resource_type #=> String
10665
10688
  # resp.bucket.state.code #=> String
10666
10689
  # resp.bucket.state.message #=> String
10690
+ # resp.bucket.access_log_config.enabled #=> Boolean
10691
+ # resp.bucket.access_log_config.destination #=> String
10692
+ # resp.bucket.access_log_config.prefix #=> String
10667
10693
  # resp.operations #=> Array
10668
10694
  # resp.operations[0].id #=> String
10669
10695
  # resp.operations[0].resource_name #=> String
@@ -11425,7 +11451,7 @@ module Aws::Lightsail
11425
11451
  params: params,
11426
11452
  config: config)
11427
11453
  context[:gem_name] = 'aws-sdk-lightsail'
11428
- context[:gem_version] = '1.55.0'
11454
+ context[:gem_version] = '1.59.0'
11429
11455
  Seahorse::Client::Request.new(handlers, context)
11430
11456
  end
11431
11457
 
@@ -58,6 +58,8 @@ module Aws::Lightsail
58
58
  BlueprintList = Shapes::ListShape.new(name: 'BlueprintList')
59
59
  BlueprintType = Shapes::StringShape.new(name: 'BlueprintType')
60
60
  Bucket = Shapes::StructureShape.new(name: 'Bucket')
61
+ BucketAccessLogConfig = Shapes::StructureShape.new(name: 'BucketAccessLogConfig')
62
+ BucketAccessLogPrefix = Shapes::StringShape.new(name: 'BucketAccessLogPrefix')
61
63
  BucketBundle = Shapes::StructureShape.new(name: 'BucketBundle')
62
64
  BucketBundleList = Shapes::ListShape.new(name: 'BucketBundleList')
63
65
  BucketList = Shapes::ListShape.new(name: 'BucketList')
@@ -778,8 +780,14 @@ module Aws::Lightsail
778
780
  Bucket.add_member(:readonly_access_accounts, Shapes::ShapeRef.new(shape: PartnerIdList, location_name: "readonlyAccessAccounts"))
779
781
  Bucket.add_member(:resources_receiving_access, Shapes::ShapeRef.new(shape: AccessReceiverList, location_name: "resourcesReceivingAccess"))
780
782
  Bucket.add_member(:state, Shapes::ShapeRef.new(shape: BucketState, location_name: "state"))
783
+ Bucket.add_member(:access_log_config, Shapes::ShapeRef.new(shape: BucketAccessLogConfig, location_name: "accessLogConfig"))
781
784
  Bucket.struct_class = Types::Bucket
782
785
 
786
+ BucketAccessLogConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "enabled"))
787
+ BucketAccessLogConfig.add_member(:destination, Shapes::ShapeRef.new(shape: BucketName, location_name: "destination"))
788
+ BucketAccessLogConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: BucketAccessLogPrefix, location_name: "prefix"))
789
+ BucketAccessLogConfig.struct_class = Types::BucketAccessLogConfig
790
+
783
791
  BucketBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bundleId"))
784
792
  BucketBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
785
793
  BucketBundle.add_member(:price, Shapes::ShapeRef.new(shape: float, location_name: "price"))
@@ -2743,6 +2751,7 @@ module Aws::Lightsail
2743
2751
  UpdateBucketRequest.add_member(:access_rules, Shapes::ShapeRef.new(shape: AccessRules, location_name: "accessRules"))
2744
2752
  UpdateBucketRequest.add_member(:versioning, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "versioning"))
2745
2753
  UpdateBucketRequest.add_member(:readonly_access_accounts, Shapes::ShapeRef.new(shape: PartnerIdList, location_name: "readonlyAccessAccounts"))
2754
+ UpdateBucketRequest.add_member(:access_log_config, Shapes::ShapeRef.new(shape: BucketAccessLogConfig, location_name: "accessLogConfig"))
2746
2755
  UpdateBucketRequest.struct_class = Types::UpdateBucketRequest
2747
2756
 
2748
2757
  UpdateBucketResult.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, location_name: "bucket"))
@@ -1055,6 +1055,11 @@ module Aws::Lightsail
1055
1055
  # An object that describes the state of the bucket.
1056
1056
  # @return [Types::BucketState]
1057
1057
  #
1058
+ # @!attribute [rw] access_log_config
1059
+ # An object that describes the access log configuration for the
1060
+ # bucket.
1061
+ # @return [Types::BucketAccessLogConfig]
1062
+ #
1058
1063
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bucket AWS API Documentation
1059
1064
  #
1060
1065
  class Bucket < Struct.new(
@@ -1072,7 +1077,70 @@ module Aws::Lightsail
1072
1077
  :able_to_update_bundle,
1073
1078
  :readonly_access_accounts,
1074
1079
  :resources_receiving_access,
1075
- :state)
1080
+ :state,
1081
+ :access_log_config)
1082
+ SENSITIVE = []
1083
+ include Aws::Structure
1084
+ end
1085
+
1086
+ # Describes the access log configuration for a bucket in the Amazon
1087
+ # Lightsail object storage service.
1088
+ #
1089
+ # For more information about bucket access logs, see [Logging bucket
1090
+ # requests using access logging in Amazon Lightsail][1] in the *Amazon
1091
+ # Lightsail Developer Guide*.
1092
+ #
1093
+ #
1094
+ #
1095
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-bucket-access-logs
1096
+ #
1097
+ # @note When making an API call, you may pass BucketAccessLogConfig
1098
+ # data as a hash:
1099
+ #
1100
+ # {
1101
+ # enabled: false, # required
1102
+ # destination: "BucketName",
1103
+ # prefix: "BucketAccessLogPrefix",
1104
+ # }
1105
+ #
1106
+ # @!attribute [rw] enabled
1107
+ # A Boolean value that indicates whether bucket access logging is
1108
+ # enabled for the bucket.
1109
+ # @return [Boolean]
1110
+ #
1111
+ # @!attribute [rw] destination
1112
+ # The name of the bucket where the access is saved. The destination
1113
+ # can be a Lightsail bucket in the same account, and in the same AWS
1114
+ # Region as the source bucket.
1115
+ #
1116
+ # <note markdown="1"> This parameter is required when enabling the access log for a
1117
+ # bucket, and should be omitted when disabling the access log.
1118
+ #
1119
+ # </note>
1120
+ # @return [String]
1121
+ #
1122
+ # @!attribute [rw] prefix
1123
+ # The optional object prefix for the bucket access log.
1124
+ #
1125
+ # The prefix is an optional addition to the object key that organizes
1126
+ # your access log files in the destination bucket. For example, if you
1127
+ # specify a `logs/` prefix, then each log object will begin with the
1128
+ # `logs/` prefix in its key (for example,
1129
+ # `logs/2021-11-01-21-32-16-E568B2907131C0C0`).
1130
+ #
1131
+ # <note markdown="1"> This parameter can be optionally specified when enabling the access
1132
+ # log for a bucket, and should be omitted when disabling the access
1133
+ # log.
1134
+ #
1135
+ # </note>
1136
+ # @return [String]
1137
+ #
1138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/BucketAccessLogConfig AWS API Documentation
1139
+ #
1140
+ class BucketAccessLogConfig < Struct.new(
1141
+ :enabled,
1142
+ :destination,
1143
+ :prefix)
1076
1144
  SENSITIVE = []
1077
1145
  include Aws::Structure
1078
1146
  end
@@ -1934,9 +2002,18 @@ module Aws::Lightsail
1934
2002
  #
1935
2003
  # Container images sourced from your Lightsail container service, that
1936
2004
  # are registered and stored on your service, start with a colon (`:`).
1937
- # For example, `:container-service-1.mystaticwebsite.1`. Container
1938
- # images sourced from a public registry like Docker Hub don't start
1939
- # with a colon. For example, `nginx:latest` or `nginx`.
2005
+ # For example, if your container service name is
2006
+ # `container-service-1`, the container image label is `mystaticsite`,
2007
+ # and you want to use the third (`3`) version of the registered
2008
+ # container image, then you should specify
2009
+ # `:container-service-1.mystaticsite.3`. To use the latest version of
2010
+ # a container image, specify `latest` instead of a version number (for
2011
+ # example, `:container-service-1.mystaticsite.latest`). Lightsail will
2012
+ # automatically use the highest numbered version of the registered
2013
+ # container image.
2014
+ #
2015
+ # Container images sourced from a public registry like Docker Hub
2016
+ # don't start with a colon. For example, `nginx:latest` or `nginx`.
1940
2017
  # @return [String]
1941
2018
  #
1942
2019
  # @!attribute [rw] command
@@ -3191,8 +3268,8 @@ module Aws::Lightsail
3191
3268
  # @return [Integer]
3192
3269
  #
3193
3270
  # @!attribute [rw] tags
3194
- # The tag keys and optional values to add to the certificate during
3195
- # create.
3271
+ # The tag keys and optional values to add to the container service
3272
+ # during create.
3196
3273
  #
3197
3274
  # Use the `TagResource` action to tag a resource after it's created.
3198
3275
  #
@@ -14528,6 +14605,11 @@ module Aws::Lightsail
14528
14605
  # },
14529
14606
  # versioning: "NonEmptyString",
14530
14607
  # readonly_access_accounts: ["NonEmptyString"],
14608
+ # access_log_config: {
14609
+ # enabled: false, # required
14610
+ # destination: "BucketName",
14611
+ # prefix: "BucketAccessLogPrefix",
14612
+ # },
14531
14613
  # }
14532
14614
  #
14533
14615
  # @!attribute [rw] bucket_name
@@ -14558,13 +14640,19 @@ module Aws::Lightsail
14558
14640
  # You can give a maximum of 10 AWS accounts access to a bucket.
14559
14641
  # @return [Array<String>]
14560
14642
  #
14643
+ # @!attribute [rw] access_log_config
14644
+ # An object that describes the access log configuration for the
14645
+ # bucket.
14646
+ # @return [Types::BucketAccessLogConfig]
14647
+ #
14561
14648
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketRequest AWS API Documentation
14562
14649
  #
14563
14650
  class UpdateBucketRequest < Struct.new(
14564
14651
  :bucket_name,
14565
14652
  :access_rules,
14566
14653
  :versioning,
14567
- :readonly_access_accounts)
14654
+ :readonly_access_accounts,
14655
+ :access_log_config)
14568
14656
  SENSITIVE = []
14569
14657
  include Aws::Structure
14570
14658
  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.55.0'
51
+ GEM_VERSION = '1.59.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.55.0
4
+ version: 1.59.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: 2021-08-06 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.119.0
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.119.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="