aws-sdk-lightsail 1.54.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +27 -4
- data/lib/aws-sdk-lightsail/client_api.rb +16 -0
- data/lib/aws-sdk-lightsail/types.rb +145 -9
- data/lib/aws-sdk-lightsail.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42e8ca1b0bcb48e470f603d56ed932dcce67e6d969dfe7d131c26c38fe0fe672
|
4
|
+
data.tar.gz: 322965ea9477de0ea730cd36ccfb504a42f8e2fe67c085507a1440c02ed0a857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e7285d821c4eaf9e9683203b99ca54c31b70c62969df1b9f042c216a2e580df71dfae3fc79d057ee14fd4e82803821813a5994035ef32a0fa26088fc23e558d
|
7
|
+
data.tar.gz: 8c34ea4a67c1514906746c5ba332439bd36ea9b6c6358bbc544eef69eaadc143158a1a06f00585c4e27e1fa31cc8c0c2a9945545b8a5b5e24da98eb3e63eca0a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2021-11-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support to enable access logging for buckets in the Lightsail object storage service.
|
8
|
+
|
9
|
+
1.57.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.56.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.55.0 (2021-08-06)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds support to track when a bucket access key was last used.
|
23
|
+
|
4
24
|
1.54.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
@@ -917,7 +917,7 @@ module Aws::Lightsail
|
|
917
917
|
# in the bucket.
|
918
918
|
#
|
919
919
|
# For more information about versioning, see [Enabling and suspending
|
920
|
-
#
|
920
|
+
# object versioning in a bucket in Amazon Lightsail][1] in the *Amazon
|
921
921
|
# Lightsail Developer Guide*.
|
922
922
|
#
|
923
923
|
#
|
@@ -968,6 +968,9 @@ module Aws::Lightsail
|
|
968
968
|
# resp.bucket.resources_receiving_access[0].resource_type #=> String
|
969
969
|
# resp.bucket.state.code #=> String
|
970
970
|
# resp.bucket.state.message #=> String
|
971
|
+
# resp.bucket.access_log_config.enabled #=> Boolean
|
972
|
+
# resp.bucket.access_log_config.destination #=> String
|
973
|
+
# resp.bucket.access_log_config.prefix #=> String
|
971
974
|
# resp.operations #=> Array
|
972
975
|
# resp.operations[0].id #=> String
|
973
976
|
# resp.operations[0].resource_name #=> String
|
@@ -1034,6 +1037,9 @@ module Aws::Lightsail
|
|
1034
1037
|
# resp.access_key.secret_access_key #=> String
|
1035
1038
|
# resp.access_key.status #=> String, one of "Active", "Inactive"
|
1036
1039
|
# resp.access_key.created_at #=> Time
|
1040
|
+
# resp.access_key.last_used.last_used_date #=> Time
|
1041
|
+
# resp.access_key.last_used.region #=> String
|
1042
|
+
# resp.access_key.last_used.service_name #=> String
|
1037
1043
|
# resp.operations #=> Array
|
1038
1044
|
# resp.operations[0].id #=> String
|
1039
1045
|
# resp.operations[0].resource_name #=> String
|
@@ -1394,8 +1400,8 @@ module Aws::Lightsail
|
|
1394
1400
|
# number of nodes) of the service.
|
1395
1401
|
#
|
1396
1402
|
# @option params [Array<Types::Tag>] :tags
|
1397
|
-
# The tag keys and optional values to add to the
|
1398
|
-
# create.
|
1403
|
+
# The tag keys and optional values to add to the container service
|
1404
|
+
# during create.
|
1399
1405
|
#
|
1400
1406
|
# Use the `TagResource` action to tag a resource after it's created.
|
1401
1407
|
#
|
@@ -5343,6 +5349,9 @@ module Aws::Lightsail
|
|
5343
5349
|
# resp.access_keys[0].secret_access_key #=> String
|
5344
5350
|
# resp.access_keys[0].status #=> String, one of "Active", "Inactive"
|
5345
5351
|
# resp.access_keys[0].created_at #=> Time
|
5352
|
+
# resp.access_keys[0].last_used.last_used_date #=> Time
|
5353
|
+
# resp.access_keys[0].last_used.region #=> String
|
5354
|
+
# resp.access_keys[0].last_used.service_name #=> String
|
5346
5355
|
#
|
5347
5356
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketAccessKeys AWS API Documentation
|
5348
5357
|
#
|
@@ -5584,6 +5593,9 @@ module Aws::Lightsail
|
|
5584
5593
|
# resp.buckets[0].resources_receiving_access[0].resource_type #=> String
|
5585
5594
|
# resp.buckets[0].state.code #=> String
|
5586
5595
|
# resp.buckets[0].state.message #=> String
|
5596
|
+
# resp.buckets[0].access_log_config.enabled #=> Boolean
|
5597
|
+
# resp.buckets[0].access_log_config.destination #=> String
|
5598
|
+
# resp.buckets[0].access_log_config.prefix #=> String
|
5587
5599
|
# resp.next_page_token #=> String
|
5588
5600
|
#
|
5589
5601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
|
@@ -10616,6 +10628,9 @@ module Aws::Lightsail
|
|
10616
10628
|
#
|
10617
10629
|
# You can give a maximum of 10 AWS accounts access to a bucket.
|
10618
10630
|
#
|
10631
|
+
# @option params [Types::BucketAccessLogConfig] :access_log_config
|
10632
|
+
# An object that describes the access log configuration for the bucket.
|
10633
|
+
#
|
10619
10634
|
# @return [Types::UpdateBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10620
10635
|
#
|
10621
10636
|
# * {Types::UpdateBucketResult#bucket #bucket} => Types::Bucket
|
@@ -10631,6 +10646,11 @@ module Aws::Lightsail
|
|
10631
10646
|
# },
|
10632
10647
|
# versioning: "NonEmptyString",
|
10633
10648
|
# readonly_access_accounts: ["NonEmptyString"],
|
10649
|
+
# access_log_config: {
|
10650
|
+
# enabled: false, # required
|
10651
|
+
# destination: "BucketName",
|
10652
|
+
# prefix: "BucketAccessLogPrefix",
|
10653
|
+
# },
|
10634
10654
|
# })
|
10635
10655
|
#
|
10636
10656
|
# @example Response structure
|
@@ -10658,6 +10678,9 @@ module Aws::Lightsail
|
|
10658
10678
|
# resp.bucket.resources_receiving_access[0].resource_type #=> String
|
10659
10679
|
# resp.bucket.state.code #=> String
|
10660
10680
|
# resp.bucket.state.message #=> String
|
10681
|
+
# resp.bucket.access_log_config.enabled #=> Boolean
|
10682
|
+
# resp.bucket.access_log_config.destination #=> String
|
10683
|
+
# resp.bucket.access_log_config.prefix #=> String
|
10661
10684
|
# resp.operations #=> Array
|
10662
10685
|
# resp.operations[0].id #=> String
|
10663
10686
|
# resp.operations[0].resource_name #=> String
|
@@ -11419,7 +11442,7 @@ module Aws::Lightsail
|
|
11419
11442
|
params: params,
|
11420
11443
|
config: config)
|
11421
11444
|
context[:gem_name] = 'aws-sdk-lightsail'
|
11422
|
-
context[:gem_version] = '1.
|
11445
|
+
context[:gem_version] = '1.58.0'
|
11423
11446
|
Seahorse::Client::Request.new(handlers, context)
|
11424
11447
|
end
|
11425
11448
|
|
@@ -16,6 +16,7 @@ module Aws::Lightsail
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AccessDirection = Shapes::StringShape.new(name: 'AccessDirection')
|
18
18
|
AccessKey = Shapes::StructureShape.new(name: 'AccessKey')
|
19
|
+
AccessKeyLastUsed = Shapes::StructureShape.new(name: 'AccessKeyLastUsed')
|
19
20
|
AccessKeyList = Shapes::ListShape.new(name: 'AccessKeyList')
|
20
21
|
AccessReceiverList = Shapes::ListShape.new(name: 'AccessReceiverList')
|
21
22
|
AccessRules = Shapes::StructureShape.new(name: 'AccessRules')
|
@@ -57,6 +58,8 @@ module Aws::Lightsail
|
|
57
58
|
BlueprintList = Shapes::ListShape.new(name: 'BlueprintList')
|
58
59
|
BlueprintType = Shapes::StringShape.new(name: 'BlueprintType')
|
59
60
|
Bucket = Shapes::StructureShape.new(name: 'Bucket')
|
61
|
+
BucketAccessLogConfig = Shapes::StructureShape.new(name: 'BucketAccessLogConfig')
|
62
|
+
BucketAccessLogPrefix = Shapes::StringShape.new(name: 'BucketAccessLogPrefix')
|
60
63
|
BucketBundle = Shapes::StructureShape.new(name: 'BucketBundle')
|
61
64
|
BucketBundleList = Shapes::ListShape.new(name: 'BucketBundleList')
|
62
65
|
BucketList = Shapes::ListShape.new(name: 'BucketList')
|
@@ -618,8 +621,14 @@ module Aws::Lightsail
|
|
618
621
|
AccessKey.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "secretAccessKey"))
|
619
622
|
AccessKey.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
|
620
623
|
AccessKey.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
624
|
+
AccessKey.add_member(:last_used, Shapes::ShapeRef.new(shape: AccessKeyLastUsed, location_name: "lastUsed"))
|
621
625
|
AccessKey.struct_class = Types::AccessKey
|
622
626
|
|
627
|
+
AccessKeyLastUsed.add_member(:last_used_date, Shapes::ShapeRef.new(shape: IsoDate, location_name: "lastUsedDate"))
|
628
|
+
AccessKeyLastUsed.add_member(:region, Shapes::ShapeRef.new(shape: string, location_name: "region"))
|
629
|
+
AccessKeyLastUsed.add_member(:service_name, Shapes::ShapeRef.new(shape: string, location_name: "serviceName"))
|
630
|
+
AccessKeyLastUsed.struct_class = Types::AccessKeyLastUsed
|
631
|
+
|
623
632
|
AccessKeyList.member = Shapes::ShapeRef.new(shape: AccessKey)
|
624
633
|
|
625
634
|
AccessReceiverList.member = Shapes::ShapeRef.new(shape: ResourceReceivingAccess)
|
@@ -771,8 +780,14 @@ module Aws::Lightsail
|
|
771
780
|
Bucket.add_member(:readonly_access_accounts, Shapes::ShapeRef.new(shape: PartnerIdList, location_name: "readonlyAccessAccounts"))
|
772
781
|
Bucket.add_member(:resources_receiving_access, Shapes::ShapeRef.new(shape: AccessReceiverList, location_name: "resourcesReceivingAccess"))
|
773
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"))
|
774
784
|
Bucket.struct_class = Types::Bucket
|
775
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
|
+
|
776
791
|
BucketBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bundleId"))
|
777
792
|
BucketBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
778
793
|
BucketBundle.add_member(:price, Shapes::ShapeRef.new(shape: float, location_name: "price"))
|
@@ -2736,6 +2751,7 @@ module Aws::Lightsail
|
|
2736
2751
|
UpdateBucketRequest.add_member(:access_rules, Shapes::ShapeRef.new(shape: AccessRules, location_name: "accessRules"))
|
2737
2752
|
UpdateBucketRequest.add_member(:versioning, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "versioning"))
|
2738
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"))
|
2739
2755
|
UpdateBucketRequest.struct_class = Types::UpdateBucketRequest
|
2740
2756
|
|
2741
2757
|
UpdateBucketResult.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, location_name: "bucket"))
|
@@ -78,17 +78,65 @@ module Aws::Lightsail
|
|
78
78
|
# The timestamp when the access key was created.
|
79
79
|
# @return [Time]
|
80
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
|
+
#
|
81
92
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccessKey AWS API Documentation
|
82
93
|
#
|
83
94
|
class AccessKey < Struct.new(
|
84
95
|
:access_key_id,
|
85
96
|
:secret_access_key,
|
86
97
|
:status,
|
87
|
-
:created_at
|
98
|
+
:created_at,
|
99
|
+
:last_used)
|
88
100
|
SENSITIVE = [:access_key_id]
|
89
101
|
include Aws::Structure
|
90
102
|
end
|
91
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
|
+
|
92
140
|
# Describes the anonymous access permissions for an Amazon Lightsail
|
93
141
|
# bucket and its objects.
|
94
142
|
#
|
@@ -1007,6 +1055,11 @@ module Aws::Lightsail
|
|
1007
1055
|
# An object that describes the state of the bucket.
|
1008
1056
|
# @return [Types::BucketState]
|
1009
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
|
+
#
|
1010
1063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bucket AWS API Documentation
|
1011
1064
|
#
|
1012
1065
|
class Bucket < Struct.new(
|
@@ -1024,7 +1077,70 @@ module Aws::Lightsail
|
|
1024
1077
|
:able_to_update_bundle,
|
1025
1078
|
:readonly_access_accounts,
|
1026
1079
|
:resources_receiving_access,
|
1027
|
-
: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)
|
1028
1144
|
SENSITIVE = []
|
1029
1145
|
include Aws::Structure
|
1030
1146
|
end
|
@@ -1886,9 +2002,18 @@ module Aws::Lightsail
|
|
1886
2002
|
#
|
1887
2003
|
# Container images sourced from your Lightsail container service, that
|
1888
2004
|
# are registered and stored on your service, start with a colon (`:`).
|
1889
|
-
# For example,
|
1890
|
-
#
|
1891
|
-
#
|
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`.
|
1892
2017
|
# @return [String]
|
1893
2018
|
#
|
1894
2019
|
# @!attribute [rw] command
|
@@ -2728,7 +2853,7 @@ module Aws::Lightsail
|
|
2728
2853
|
# objects in the bucket.
|
2729
2854
|
#
|
2730
2855
|
# For more information about versioning, see [Enabling and suspending
|
2731
|
-
#
|
2856
|
+
# object versioning in a bucket in Amazon Lightsail][1] in the *Amazon
|
2732
2857
|
# Lightsail Developer Guide*.
|
2733
2858
|
#
|
2734
2859
|
#
|
@@ -3143,8 +3268,8 @@ module Aws::Lightsail
|
|
3143
3268
|
# @return [Integer]
|
3144
3269
|
#
|
3145
3270
|
# @!attribute [rw] tags
|
3146
|
-
# The tag keys and optional values to add to the
|
3147
|
-
# create.
|
3271
|
+
# The tag keys and optional values to add to the container service
|
3272
|
+
# during create.
|
3148
3273
|
#
|
3149
3274
|
# Use the `TagResource` action to tag a resource after it's created.
|
3150
3275
|
#
|
@@ -14480,6 +14605,11 @@ module Aws::Lightsail
|
|
14480
14605
|
# },
|
14481
14606
|
# versioning: "NonEmptyString",
|
14482
14607
|
# readonly_access_accounts: ["NonEmptyString"],
|
14608
|
+
# access_log_config: {
|
14609
|
+
# enabled: false, # required
|
14610
|
+
# destination: "BucketName",
|
14611
|
+
# prefix: "BucketAccessLogPrefix",
|
14612
|
+
# },
|
14483
14613
|
# }
|
14484
14614
|
#
|
14485
14615
|
# @!attribute [rw] bucket_name
|
@@ -14510,13 +14640,19 @@ module Aws::Lightsail
|
|
14510
14640
|
# You can give a maximum of 10 AWS accounts access to a bucket.
|
14511
14641
|
# @return [Array<String>]
|
14512
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
|
+
#
|
14513
14648
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketRequest AWS API Documentation
|
14514
14649
|
#
|
14515
14650
|
class UpdateBucketRequest < Struct.new(
|
14516
14651
|
:bucket_name,
|
14517
14652
|
:access_rules,
|
14518
14653
|
:versioning,
|
14519
|
-
:readonly_access_accounts
|
14654
|
+
:readonly_access_accounts,
|
14655
|
+
:access_log_config)
|
14520
14656
|
SENSITIVE = []
|
14521
14657
|
include Aws::Structure
|
14522
14658
|
end
|
data/lib/aws-sdk-lightsail.rb
CHANGED
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.
|
4
|
+
version: 1.58.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-
|
11
|
+
date: 2021-11-01 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.
|
22
|
+
version: 3.121.2
|
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.
|
32
|
+
version: 3.121.2
|
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: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|