aws-sdk-lightsail 1.54.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +8 -2
- data/lib/aws-sdk-lightsail/client_api.rb +7 -0
- data/lib/aws-sdk-lightsail/types.rb +50 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7938a370d064a0b0a701ed802804105359be0c00857fe47f228acb94af4867b1
|
4
|
+
data.tar.gz: 49067298356be8a4d68932bef0d14362cdd0087342ed75b426cb0f3d2e291e26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46586617016dd8f20f4d3fe5e063208f436a49e0185a221e1cd87e96d357d32163ff7f89747c1fea458a5ace099ddea4e6df2fae30c0c56874ef2f64c916d87c
|
7
|
+
data.tar.gz: dd29d567d09dbc178718a84c5fc1d7c364f3b4117991873d3b3d52d4d7a316110f211f68e4c0a15d87e12ab27efb5a047cb1f05444bf68ed24deef0bc9bb8b08
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -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
|
#
|
@@ -1034,6 +1034,9 @@ module Aws::Lightsail
|
|
1034
1034
|
# resp.access_key.secret_access_key #=> String
|
1035
1035
|
# resp.access_key.status #=> String, one of "Active", "Inactive"
|
1036
1036
|
# resp.access_key.created_at #=> Time
|
1037
|
+
# resp.access_key.last_used.last_used_date #=> Time
|
1038
|
+
# resp.access_key.last_used.region #=> String
|
1039
|
+
# resp.access_key.last_used.service_name #=> String
|
1037
1040
|
# resp.operations #=> Array
|
1038
1041
|
# resp.operations[0].id #=> String
|
1039
1042
|
# resp.operations[0].resource_name #=> String
|
@@ -5343,6 +5346,9 @@ module Aws::Lightsail
|
|
5343
5346
|
# resp.access_keys[0].secret_access_key #=> String
|
5344
5347
|
# resp.access_keys[0].status #=> String, one of "Active", "Inactive"
|
5345
5348
|
# resp.access_keys[0].created_at #=> Time
|
5349
|
+
# resp.access_keys[0].last_used.last_used_date #=> Time
|
5350
|
+
# resp.access_keys[0].last_used.region #=> String
|
5351
|
+
# resp.access_keys[0].last_used.service_name #=> String
|
5346
5352
|
#
|
5347
5353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketAccessKeys AWS API Documentation
|
5348
5354
|
#
|
@@ -11419,7 +11425,7 @@ module Aws::Lightsail
|
|
11419
11425
|
params: params,
|
11420
11426
|
config: config)
|
11421
11427
|
context[:gem_name] = 'aws-sdk-lightsail'
|
11422
|
-
context[:gem_version] = '1.
|
11428
|
+
context[:gem_version] = '1.55.0'
|
11423
11429
|
Seahorse::Client::Request.new(handlers, context)
|
11424
11430
|
end
|
11425
11431
|
|
@@ -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')
|
@@ -618,8 +619,14 @@ module Aws::Lightsail
|
|
618
619
|
AccessKey.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "secretAccessKey"))
|
619
620
|
AccessKey.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
|
620
621
|
AccessKey.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
622
|
+
AccessKey.add_member(:last_used, Shapes::ShapeRef.new(shape: AccessKeyLastUsed, location_name: "lastUsed"))
|
621
623
|
AccessKey.struct_class = Types::AccessKey
|
622
624
|
|
625
|
+
AccessKeyLastUsed.add_member(:last_used_date, Shapes::ShapeRef.new(shape: IsoDate, location_name: "lastUsedDate"))
|
626
|
+
AccessKeyLastUsed.add_member(:region, Shapes::ShapeRef.new(shape: string, location_name: "region"))
|
627
|
+
AccessKeyLastUsed.add_member(:service_name, Shapes::ShapeRef.new(shape: string, location_name: "serviceName"))
|
628
|
+
AccessKeyLastUsed.struct_class = Types::AccessKeyLastUsed
|
629
|
+
|
623
630
|
AccessKeyList.member = Shapes::ShapeRef.new(shape: AccessKey)
|
624
631
|
|
625
632
|
AccessReceiverList.member = Shapes::ShapeRef.new(shape: ResourceReceivingAccess)
|
@@ -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
|
#
|
@@ -2728,7 +2776,7 @@ module Aws::Lightsail
|
|
2728
2776
|
# objects in the bucket.
|
2729
2777
|
#
|
2730
2778
|
# For more information about versioning, see [Enabling and suspending
|
2731
|
-
#
|
2779
|
+
# object versioning in a bucket in Amazon Lightsail][1] in the *Amazon
|
2732
2780
|
# Lightsail Developer Guide*.
|
2733
2781
|
#
|
2734
2782
|
#
|
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.55.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-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|