aws-sdk-lightsail 1.125.0 → 1.126.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/client.rb +16 -1
- data/lib/aws-sdk-lightsail/client_api.rb +2 -0
- data/lib/aws-sdk-lightsail/types.rb +21 -2
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +7 -1
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 902a7ba6a2211a37ade93fee9ab621373c882ddca6458dadd368740c2b1a9c31
|
|
4
|
+
data.tar.gz: de94b173b3ca8ac9109d2f5144028a7b67f809e0ddcc7c3e7ac7ef50fdb00bf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8aea0f696f219646f1f650ef6e4b133fb49540e8b3aae9bc1ac01ffdc5692a9751487e7f2c5afb7fec3e38edb386b9f91aceedd7174b3cc38a114fa93db73633
|
|
7
|
+
data.tar.gz: 5f8d67ad54c63a6021125c81a9eca5acdcc469dc2d1e301ab522d44c51e21dbe9847589a2f7b482416ad07bea67f4245d820e4449679f3eaec979bd82ad59fba
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.126.0
|
|
@@ -1489,6 +1489,12 @@ module Aws::Lightsail
|
|
|
1489
1489
|
#
|
|
1490
1490
|
# [1]: https://en.wikipedia.org/wiki/E.164
|
|
1491
1491
|
#
|
|
1492
|
+
# @option params [Array<Types::Tag>] :tags
|
|
1493
|
+
# The tag keys and optional values to add to the contact method during
|
|
1494
|
+
# create.
|
|
1495
|
+
#
|
|
1496
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
|
1497
|
+
#
|
|
1492
1498
|
# @return [Types::CreateContactMethodResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1493
1499
|
#
|
|
1494
1500
|
# * {Types::CreateContactMethodResult#operations #operations} => Array<Types::Operation>
|
|
@@ -1498,6 +1504,12 @@ module Aws::Lightsail
|
|
|
1498
1504
|
# resp = client.create_contact_method({
|
|
1499
1505
|
# protocol: "Email", # required, accepts Email, SMS
|
|
1500
1506
|
# contact_endpoint: "StringMax256", # required
|
|
1507
|
+
# tags: [
|
|
1508
|
+
# {
|
|
1509
|
+
# key: "TagKey",
|
|
1510
|
+
# value: "TagValue",
|
|
1511
|
+
# },
|
|
1512
|
+
# ],
|
|
1501
1513
|
# })
|
|
1502
1514
|
#
|
|
1503
1515
|
# @example Response structure
|
|
@@ -6284,6 +6296,9 @@ module Aws::Lightsail
|
|
|
6284
6296
|
# resp.contact_methods[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "eu-north-1", "ap-southeast-3"
|
|
6285
6297
|
# resp.contact_methods[0].resource_type #=> String, one of "ContainerService", "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod", "Distribution", "Certificate", "Bucket"
|
|
6286
6298
|
# resp.contact_methods[0].support_code #=> String
|
|
6299
|
+
# resp.contact_methods[0].tags #=> Array
|
|
6300
|
+
# resp.contact_methods[0].tags[0].key #=> String
|
|
6301
|
+
# resp.contact_methods[0].tags[0].value #=> String
|
|
6287
6302
|
#
|
|
6288
6303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContactMethods AWS API Documentation
|
|
6289
6304
|
#
|
|
@@ -12561,7 +12576,7 @@ module Aws::Lightsail
|
|
|
12561
12576
|
tracer: tracer
|
|
12562
12577
|
)
|
|
12563
12578
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
12564
|
-
context[:gem_version] = '1.
|
|
12579
|
+
context[:gem_version] = '1.126.0'
|
|
12565
12580
|
Seahorse::Client::Request.new(handlers, context)
|
|
12566
12581
|
end
|
|
12567
12582
|
|
|
@@ -1025,6 +1025,7 @@ module Aws::Lightsail
|
|
|
1025
1025
|
ContactMethod.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
|
|
1026
1026
|
ContactMethod.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
|
1027
1027
|
ContactMethod.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
|
|
1028
|
+
ContactMethod.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
1028
1029
|
ContactMethod.struct_class = Types::ContactMethod
|
|
1029
1030
|
|
|
1030
1031
|
ContactMethodsList.member = Shapes::ShapeRef.new(shape: ContactMethod)
|
|
@@ -1198,6 +1199,7 @@ module Aws::Lightsail
|
|
|
1198
1199
|
|
|
1199
1200
|
CreateContactMethodRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: ContactProtocol, required: true, location_name: "protocol"))
|
|
1200
1201
|
CreateContactMethodRequest.add_member(:contact_endpoint, Shapes::ShapeRef.new(shape: StringMax256, required: true, location_name: "contactEndpoint"))
|
|
1202
|
+
CreateContactMethodRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
1201
1203
|
CreateContactMethodRequest.struct_class = Types::CreateContactMethodRequest
|
|
1202
1204
|
|
|
1203
1205
|
CreateContactMethodResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
|
@@ -2129,6 +2129,16 @@ module Aws::Lightsail
|
|
|
2129
2129
|
# easily.
|
|
2130
2130
|
# @return [String]
|
|
2131
2131
|
#
|
|
2132
|
+
# @!attribute [rw] tags
|
|
2133
|
+
# The tag keys and optional values for the resource. For more
|
|
2134
|
+
# information about tags in Lightsail, see the [Amazon Lightsail
|
|
2135
|
+
# Developer Guide][1].
|
|
2136
|
+
#
|
|
2137
|
+
#
|
|
2138
|
+
#
|
|
2139
|
+
# [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags
|
|
2140
|
+
# @return [Array<Types::Tag>]
|
|
2141
|
+
#
|
|
2132
2142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContactMethod AWS API Documentation
|
|
2133
2143
|
#
|
|
2134
2144
|
class ContactMethod < Struct.new(
|
|
@@ -2140,7 +2150,8 @@ module Aws::Lightsail
|
|
|
2140
2150
|
:created_at,
|
|
2141
2151
|
:location,
|
|
2142
2152
|
:resource_type,
|
|
2143
|
-
:support_code
|
|
2153
|
+
:support_code,
|
|
2154
|
+
:tags)
|
|
2144
2155
|
SENSITIVE = []
|
|
2145
2156
|
include Aws::Structure
|
|
2146
2157
|
end
|
|
@@ -3202,11 +3213,19 @@ module Aws::Lightsail
|
|
|
3202
3213
|
# [1]: https://en.wikipedia.org/wiki/E.164
|
|
3203
3214
|
# @return [String]
|
|
3204
3215
|
#
|
|
3216
|
+
# @!attribute [rw] tags
|
|
3217
|
+
# The tag keys and optional values to add to the contact method during
|
|
3218
|
+
# create.
|
|
3219
|
+
#
|
|
3220
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
|
3221
|
+
# @return [Array<Types::Tag>]
|
|
3222
|
+
#
|
|
3205
3223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContactMethodRequest AWS API Documentation
|
|
3206
3224
|
#
|
|
3207
3225
|
class CreateContactMethodRequest < Struct.new(
|
|
3208
3226
|
:protocol,
|
|
3209
|
-
:contact_endpoint
|
|
3227
|
+
:contact_endpoint,
|
|
3228
|
+
:tags)
|
|
3210
3229
|
SENSITIVE = []
|
|
3211
3230
|
include Aws::Structure
|
|
3212
3231
|
end
|
data/lib/aws-sdk-lightsail.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -253,7 +253,13 @@ module Aws
|
|
|
253
253
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#create_contact_method-instance_method
|
|
254
254
|
def create_contact_method: (
|
|
255
255
|
protocol: ("Email" | "SMS"),
|
|
256
|
-
contact_endpoint: ::String
|
|
256
|
+
contact_endpoint: ::String,
|
|
257
|
+
?tags: Array[
|
|
258
|
+
{
|
|
259
|
+
key: ::String?,
|
|
260
|
+
value: ::String?
|
|
261
|
+
},
|
|
262
|
+
]
|
|
257
263
|
) -> _CreateContactMethodResponseSuccess
|
|
258
264
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContactMethodResponseSuccess
|
|
259
265
|
|
data/sig/types.rbs
CHANGED
|
@@ -377,6 +377,7 @@ module Aws::Lightsail
|
|
|
377
377
|
attr_accessor location: Types::ResourceLocation
|
|
378
378
|
attr_accessor resource_type: ("ContainerService" | "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | "Alarm" | "ContactMethod" | "Distribution" | "Certificate" | "Bucket")
|
|
379
379
|
attr_accessor support_code: ::String
|
|
380
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
380
381
|
SENSITIVE: []
|
|
381
382
|
end
|
|
382
383
|
|
|
@@ -575,6 +576,7 @@ module Aws::Lightsail
|
|
|
575
576
|
class CreateContactMethodRequest
|
|
576
577
|
attr_accessor protocol: ("Email" | "SMS")
|
|
577
578
|
attr_accessor contact_endpoint: ::String
|
|
579
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
578
580
|
SENSITIVE: []
|
|
579
581
|
end
|
|
580
582
|
|