aws-sdk-lightsail 1.57.0 → 1.61.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: a361a4ce3e82875a40b90ab4fb9a381cdcfe8d50d25571039cab43a81b6e361e
4
- data.tar.gz: 5eea7e9bc6ad39fa0443c64209d0227fc364de861800e937c4c2062cfe857db4
3
+ metadata.gz: 6f10de49a6a1ad9e1e40a98a0aa5725641b8c300c108866a8a96463f8b66f80a
4
+ data.tar.gz: 68b761d1976c0ccd3bc2f7d90d2645d59e59a8f70c3544e51e66fb68c32a33d9
5
5
  SHA512:
6
- metadata.gz: '00974d8dd34ed9c5e5190d0f020a9f1bb7ca2d00f13329664cc94e2302485b00279230fe7eb3569f326c7d977d01d89cd447475bbb4dc86d9af899dd7625d7c8'
7
- data.tar.gz: 2459d32bcf2d6b196f395a8b9891da31d49c31293478330960f17e0c7cea4acd7f60b709aab008ab3e99ca04dcf210fa3b6b91d61210b58fee4252e9acdd8d6f
6
+ metadata.gz: c2f2a8727f1a4cdf6e30ac1c3ffd7b898958fce38515ca27e4d9844d96ec53f9b3a72eb15be24a7a98af28b9cea59c66fb70d00f6dc66430727427e1c1ae79bd
7
+ data.tar.gz: a86d9e448256128a9d3bd441d1a20c325d4f92bca010d3bf9d2bc5e4472e19b9465333d3d5181f5ee16c6309f4ca61d18801eff1ce49845cc6359bbeca3060c1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.61.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.60.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.59.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.58.0 (2021-11-01)
20
+ ------------------
21
+
22
+ * Feature - This release adds support to enable access logging for buckets in the Lightsail object storage service.
23
+
4
24
  1.57.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.61.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Lightsail
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::Lightsail
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::Lightsail
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::Lightsail
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::Lightsail
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::Lightsail
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -968,6 +988,9 @@ module Aws::Lightsail
968
988
  # resp.bucket.resources_receiving_access[0].resource_type #=> String
969
989
  # resp.bucket.state.code #=> String
970
990
  # resp.bucket.state.message #=> String
991
+ # resp.bucket.access_log_config.enabled #=> Boolean
992
+ # resp.bucket.access_log_config.destination #=> String
993
+ # resp.bucket.access_log_config.prefix #=> String
971
994
  # resp.operations #=> Array
972
995
  # resp.operations[0].id #=> String
973
996
  # resp.operations[0].resource_name #=> String
@@ -1397,8 +1420,8 @@ module Aws::Lightsail
1397
1420
  # number of nodes) of the service.
1398
1421
  #
1399
1422
  # @option params [Array<Types::Tag>] :tags
1400
- # The tag keys and optional values to add to the certificate during
1401
- # create.
1423
+ # The tag keys and optional values to add to the container service
1424
+ # during create.
1402
1425
  #
1403
1426
  # Use the `TagResource` action to tag a resource after it's created.
1404
1427
  #
@@ -5590,6 +5613,9 @@ module Aws::Lightsail
5590
5613
  # resp.buckets[0].resources_receiving_access[0].resource_type #=> String
5591
5614
  # resp.buckets[0].state.code #=> String
5592
5615
  # resp.buckets[0].state.message #=> String
5616
+ # resp.buckets[0].access_log_config.enabled #=> Boolean
5617
+ # resp.buckets[0].access_log_config.destination #=> String
5618
+ # resp.buckets[0].access_log_config.prefix #=> String
5593
5619
  # resp.next_page_token #=> String
5594
5620
  #
5595
5621
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
@@ -10622,6 +10648,9 @@ module Aws::Lightsail
10622
10648
  #
10623
10649
  # You can give a maximum of 10 AWS accounts access to a bucket.
10624
10650
  #
10651
+ # @option params [Types::BucketAccessLogConfig] :access_log_config
10652
+ # An object that describes the access log configuration for the bucket.
10653
+ #
10625
10654
  # @return [Types::UpdateBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10626
10655
  #
10627
10656
  # * {Types::UpdateBucketResult#bucket #bucket} => Types::Bucket
@@ -10637,6 +10666,11 @@ module Aws::Lightsail
10637
10666
  # },
10638
10667
  # versioning: "NonEmptyString",
10639
10668
  # readonly_access_accounts: ["NonEmptyString"],
10669
+ # access_log_config: {
10670
+ # enabled: false, # required
10671
+ # destination: "BucketName",
10672
+ # prefix: "BucketAccessLogPrefix",
10673
+ # },
10640
10674
  # })
10641
10675
  #
10642
10676
  # @example Response structure
@@ -10664,6 +10698,9 @@ module Aws::Lightsail
10664
10698
  # resp.bucket.resources_receiving_access[0].resource_type #=> String
10665
10699
  # resp.bucket.state.code #=> String
10666
10700
  # resp.bucket.state.message #=> String
10701
+ # resp.bucket.access_log_config.enabled #=> Boolean
10702
+ # resp.bucket.access_log_config.destination #=> String
10703
+ # resp.bucket.access_log_config.prefix #=> String
10667
10704
  # resp.operations #=> Array
10668
10705
  # resp.operations[0].id #=> String
10669
10706
  # resp.operations[0].resource_name #=> String
@@ -11425,7 +11462,7 @@ module Aws::Lightsail
11425
11462
  params: params,
11426
11463
  config: config)
11427
11464
  context[:gem_name] = 'aws-sdk-lightsail'
11428
- context[:gem_version] = '1.57.0'
11465
+ context[:gem_version] = '1.61.0'
11429
11466
  Seahorse::Client::Request.new(handlers, context)
11430
11467
  end
11431
11468
 
@@ -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.57.0'
51
+ GEM_VERSION = '1.61.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.57.0
4
+ version: 1.61.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.121.2
22
+ version: 3.125.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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement