aws-sdk-lightsail 1.149.0 → 1.150.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 +655 -222
- data/lib/aws-sdk-lightsail/client_api.rb +155 -0
- data/lib/aws-sdk-lightsail/types.rb +499 -2
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +70 -3
- data/sig/types.rbs +119 -25
- metadata +1 -1
|
@@ -1964,6 +1964,67 @@ module Aws::Lightsail
|
|
|
1964
1964
|
include Aws::Structure
|
|
1965
1965
|
end
|
|
1966
1966
|
|
|
1967
|
+
# @!attribute [rw] subdomain_name
|
|
1968
|
+
# The subdomain to check (for example, `mysite` or `blog.mysite`).
|
|
1969
|
+
#
|
|
1970
|
+
# A subdomain can contain one or two labels separated by a period
|
|
1971
|
+
# (`.`). Each label must start and end with a lowercase letter or a
|
|
1972
|
+
# number, and can contain only lowercase letters, numbers, and hyphens
|
|
1973
|
+
# (`-`). The name can be up to 39 characters long, including periods.
|
|
1974
|
+
# Labels that start with `xn--` aren't supported, and some names are
|
|
1975
|
+
# reserved.
|
|
1976
|
+
#
|
|
1977
|
+
# Specify only the subdomain. A web address, such as
|
|
1978
|
+
# `mysite.amazonlightsail.com`, isn't accepted.
|
|
1979
|
+
# @return [String]
|
|
1980
|
+
#
|
|
1981
|
+
# @!attribute [rw] reserve
|
|
1982
|
+
# Specifies whether to reserve the subdomain for your account if it's
|
|
1983
|
+
# available. A reservation holds the subdomain for 15 minutes so that
|
|
1984
|
+
# other accounts can't create it. Checking the subdomain again
|
|
1985
|
+
# doesn't extend the reservation.
|
|
1986
|
+
#
|
|
1987
|
+
# For a nested subdomain, such as `blog.mysite`, the top-level
|
|
1988
|
+
# subdomain (`mysite`) is reserved.
|
|
1989
|
+
#
|
|
1990
|
+
# You can have up to 5 active reservations at a time.
|
|
1991
|
+
# @return [Boolean]
|
|
1992
|
+
#
|
|
1993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CheckSubdomainAvailabilityRequest AWS API Documentation
|
|
1994
|
+
#
|
|
1995
|
+
class CheckSubdomainAvailabilityRequest < Struct.new(
|
|
1996
|
+
:subdomain_name,
|
|
1997
|
+
:reserve)
|
|
1998
|
+
SENSITIVE = []
|
|
1999
|
+
include Aws::Structure
|
|
2000
|
+
end
|
|
2001
|
+
|
|
2002
|
+
# @!attribute [rw] available
|
|
2003
|
+
# A Boolean value that indicates whether the subdomain is available to
|
|
2004
|
+
# create.
|
|
2005
|
+
# @return [Boolean]
|
|
2006
|
+
#
|
|
2007
|
+
# @!attribute [rw] reservation_expires_at
|
|
2008
|
+
# The timestamp when the reservation of the subdomain expires.
|
|
2009
|
+
#
|
|
2010
|
+
# The expiry is returned only when your account holds an active
|
|
2011
|
+
# reservation for the subdomain.
|
|
2012
|
+
# @return [Time]
|
|
2013
|
+
#
|
|
2014
|
+
# @!attribute [rw] subdomain_name
|
|
2015
|
+
# The subdomain that was checked.
|
|
2016
|
+
# @return [String]
|
|
2017
|
+
#
|
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CheckSubdomainAvailabilityResult AWS API Documentation
|
|
2019
|
+
#
|
|
2020
|
+
class CheckSubdomainAvailabilityResult < Struct.new(
|
|
2021
|
+
:available,
|
|
2022
|
+
:reservation_expires_at,
|
|
2023
|
+
:subdomain_name)
|
|
2024
|
+
SENSITIVE = []
|
|
2025
|
+
include Aws::Structure
|
|
2026
|
+
end
|
|
2027
|
+
|
|
1967
2028
|
# @!attribute [rw] port_info
|
|
1968
2029
|
# An object to describe the ports to close for the specified instance.
|
|
1969
2030
|
# @return [Types::PortInfo]
|
|
@@ -3831,6 +3892,19 @@ module Aws::Lightsail
|
|
|
3831
3892
|
# `AWSManagedRulesBotControlRuleSet` rule groups.
|
|
3832
3893
|
# @return [Array<Types::WafRule>]
|
|
3833
3894
|
#
|
|
3895
|
+
# @!attribute [rw] subdomain_name
|
|
3896
|
+
# The Lightsail subdomain to create and associate with the
|
|
3897
|
+
# distribution (for example, `mysite`, for the web address
|
|
3898
|
+
# `mysite.amazonlightsail.com`).
|
|
3899
|
+
#
|
|
3900
|
+
# After the distribution is deployed, Lightsail creates the subdomain
|
|
3901
|
+
# and associates it with the distribution. If Lightsail can't create
|
|
3902
|
+
# or associate the subdomain, it still creates the distribution, but
|
|
3903
|
+
# the `CreateDistribution` operation fails and the `state` of the
|
|
3904
|
+
# distribution's `subdomain` is `Error`. To check the status, use the
|
|
3905
|
+
# `subdomain` parameter of the distribution.
|
|
3906
|
+
# @return [String]
|
|
3907
|
+
#
|
|
3834
3908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDistributionRequest AWS API Documentation
|
|
3835
3909
|
#
|
|
3836
3910
|
class CreateDistributionRequest < Struct.new(
|
|
@@ -3848,7 +3922,8 @@ module Aws::Lightsail
|
|
|
3848
3922
|
:default_root_object,
|
|
3849
3923
|
:custom_error_responses,
|
|
3850
3924
|
:enable_waf,
|
|
3851
|
-
:waf_rules
|
|
3925
|
+
:waf_rules,
|
|
3926
|
+
:subdomain_name)
|
|
3852
3927
|
SENSITIVE = []
|
|
3853
3928
|
include Aws::Structure
|
|
3854
3929
|
end
|
|
@@ -4930,6 +5005,58 @@ module Aws::Lightsail
|
|
|
4930
5005
|
include Aws::Structure
|
|
4931
5006
|
end
|
|
4932
5007
|
|
|
5008
|
+
# @!attribute [rw] subdomain_name
|
|
5009
|
+
# The subdomain to create (for example, `mysite` or `blog.mysite`).
|
|
5010
|
+
#
|
|
5011
|
+
# A subdomain can contain one or two labels separated by a period
|
|
5012
|
+
# (`.`). Each label must start and end with a lowercase letter or a
|
|
5013
|
+
# number, and can contain only lowercase letters, numbers, and hyphens
|
|
5014
|
+
# (`-`). The name can be up to 39 characters long, including periods.
|
|
5015
|
+
# Labels that start with `xn--` aren't supported, and some names are
|
|
5016
|
+
# reserved.
|
|
5017
|
+
#
|
|
5018
|
+
# Specify only the subdomain. A web address, such as
|
|
5019
|
+
# `mysite.amazonlightsail.com`, isn't accepted.
|
|
5020
|
+
#
|
|
5021
|
+
# To create a nested subdomain, you must own the top-level subdomain
|
|
5022
|
+
# or be able to create it.
|
|
5023
|
+
# @return [String]
|
|
5024
|
+
#
|
|
5025
|
+
# @!attribute [rw] tags
|
|
5026
|
+
# The tag keys and optional values to add to the subdomain during
|
|
5027
|
+
# create.
|
|
5028
|
+
#
|
|
5029
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
|
5030
|
+
# @return [Array<Types::Tag>]
|
|
5031
|
+
#
|
|
5032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateSubdomainRequest AWS API Documentation
|
|
5033
|
+
#
|
|
5034
|
+
class CreateSubdomainRequest < Struct.new(
|
|
5035
|
+
:subdomain_name,
|
|
5036
|
+
:tags)
|
|
5037
|
+
SENSITIVE = []
|
|
5038
|
+
include Aws::Structure
|
|
5039
|
+
end
|
|
5040
|
+
|
|
5041
|
+
# @!attribute [rw] subdomain
|
|
5042
|
+
# An object that describes the subdomain that was created.
|
|
5043
|
+
# @return [Types::Subdomain]
|
|
5044
|
+
#
|
|
5045
|
+
# @!attribute [rw] operation
|
|
5046
|
+
# An object that describes the result of the action, such as the
|
|
5047
|
+
# status of the request, the timestamp of the request, and the
|
|
5048
|
+
# resources affected by the request.
|
|
5049
|
+
# @return [Types::Operation]
|
|
5050
|
+
#
|
|
5051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateSubdomainResult AWS API Documentation
|
|
5052
|
+
#
|
|
5053
|
+
class CreateSubdomainResult < Struct.new(
|
|
5054
|
+
:subdomain,
|
|
5055
|
+
:operation)
|
|
5056
|
+
SENSITIVE = []
|
|
5057
|
+
include Aws::Structure
|
|
5058
|
+
end
|
|
5059
|
+
|
|
4933
5060
|
# @!attribute [rw] alarm_name
|
|
4934
5061
|
# The name of the alarm to delete.
|
|
4935
5062
|
# @return [String]
|
|
@@ -5614,6 +5741,42 @@ module Aws::Lightsail
|
|
|
5614
5741
|
include Aws::Structure
|
|
5615
5742
|
end
|
|
5616
5743
|
|
|
5744
|
+
# @!attribute [rw] subdomain_name
|
|
5745
|
+
# The subdomain to delete (for example, `mysite` or `blog.mysite`),
|
|
5746
|
+
# not its web address.
|
|
5747
|
+
# @return [String]
|
|
5748
|
+
#
|
|
5749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteSubdomainRequest AWS API Documentation
|
|
5750
|
+
#
|
|
5751
|
+
class DeleteSubdomainRequest < Struct.new(
|
|
5752
|
+
:subdomain_name)
|
|
5753
|
+
SENSITIVE = []
|
|
5754
|
+
include Aws::Structure
|
|
5755
|
+
end
|
|
5756
|
+
|
|
5757
|
+
# @!attribute [rw] subdomain
|
|
5758
|
+
# An object that describes the top-level subdomain in the `IMPLICIT`
|
|
5759
|
+
# state.
|
|
5760
|
+
#
|
|
5761
|
+
# This parameter is returned only when you delete a top-level
|
|
5762
|
+
# subdomain that has nested subdomains.
|
|
5763
|
+
# @return [Types::Subdomain]
|
|
5764
|
+
#
|
|
5765
|
+
# @!attribute [rw] operation
|
|
5766
|
+
# An object that describes the result of the action, such as the
|
|
5767
|
+
# status of the request, the timestamp of the request, and the
|
|
5768
|
+
# resources affected by the request.
|
|
5769
|
+
# @return [Types::Operation]
|
|
5770
|
+
#
|
|
5771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteSubdomainResult AWS API Documentation
|
|
5772
|
+
#
|
|
5773
|
+
class DeleteSubdomainResult < Struct.new(
|
|
5774
|
+
:subdomain,
|
|
5775
|
+
:operation)
|
|
5776
|
+
SENSITIVE = []
|
|
5777
|
+
include Aws::Structure
|
|
5778
|
+
end
|
|
5779
|
+
|
|
5617
5780
|
# Describes the destination of a record.
|
|
5618
5781
|
#
|
|
5619
5782
|
# @!attribute [rw] id
|
|
@@ -10069,6 +10232,58 @@ module Aws::Lightsail
|
|
|
10069
10232
|
include Aws::Structure
|
|
10070
10233
|
end
|
|
10071
10234
|
|
|
10235
|
+
# @!attribute [rw] subdomain_name
|
|
10236
|
+
# The subdomain for which to return information (for example, `mysite`
|
|
10237
|
+
# or `blog.mysite`), not its web address.
|
|
10238
|
+
#
|
|
10239
|
+
# When omitted, the response includes all of your subdomains.
|
|
10240
|
+
#
|
|
10241
|
+
# You can't specify this parameter together with the `pageToken`
|
|
10242
|
+
# parameter.
|
|
10243
|
+
# @return [String]
|
|
10244
|
+
#
|
|
10245
|
+
# @!attribute [rw] page_token
|
|
10246
|
+
# The token to advance to the next page of results from your request.
|
|
10247
|
+
#
|
|
10248
|
+
# To get a page token, perform an initial `GetSubdomains` request. If
|
|
10249
|
+
# your results are paginated, the response will return a next page
|
|
10250
|
+
# token that you can specify as the page token in a subsequent
|
|
10251
|
+
# request.
|
|
10252
|
+
# @return [String]
|
|
10253
|
+
#
|
|
10254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetSubdomainsRequest AWS API Documentation
|
|
10255
|
+
#
|
|
10256
|
+
class GetSubdomainsRequest < Struct.new(
|
|
10257
|
+
:subdomain_name,
|
|
10258
|
+
:page_token)
|
|
10259
|
+
SENSITIVE = []
|
|
10260
|
+
include Aws::Structure
|
|
10261
|
+
end
|
|
10262
|
+
|
|
10263
|
+
# @!attribute [rw] subdomains
|
|
10264
|
+
# An array of objects that describe your subdomains.
|
|
10265
|
+
# @return [Array<Types::Subdomain>]
|
|
10266
|
+
#
|
|
10267
|
+
# @!attribute [rw] next_page_token
|
|
10268
|
+
# The token to advance to the next page of results from your request.
|
|
10269
|
+
#
|
|
10270
|
+
# A next page token is not returned if there are no more results to
|
|
10271
|
+
# display.
|
|
10272
|
+
#
|
|
10273
|
+
# To get the next page of results, perform another `GetSubdomains`
|
|
10274
|
+
# request and specify the next page token using the `pageToken`
|
|
10275
|
+
# parameter.
|
|
10276
|
+
# @return [String]
|
|
10277
|
+
#
|
|
10278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetSubdomainsResult AWS API Documentation
|
|
10279
|
+
#
|
|
10280
|
+
class GetSubdomainsResult < Struct.new(
|
|
10281
|
+
:subdomains,
|
|
10282
|
+
:next_page_token)
|
|
10283
|
+
SENSITIVE = []
|
|
10284
|
+
include Aws::Structure
|
|
10285
|
+
end
|
|
10286
|
+
|
|
10072
10287
|
# Describes the request headers that a Lightsail distribution bases
|
|
10073
10288
|
# caching on.
|
|
10074
10289
|
#
|
|
@@ -11619,11 +11834,19 @@ module Aws::Lightsail
|
|
|
11619
11834
|
# The object (for example, `index.html`) that the distribution returns
|
|
11620
11835
|
# when a viewer requests the root URL of the distribution (`/`)
|
|
11621
11836
|
# instead of a specific object.
|
|
11837
|
+
#
|
|
11838
|
+
# This value is returned only when you specify `distributionName` in
|
|
11839
|
+
# your `GetDistributions` request. It isn't included in the response
|
|
11840
|
+
# when you list all of your distributions.
|
|
11622
11841
|
# @return [String]
|
|
11623
11842
|
#
|
|
11624
11843
|
# @!attribute [rw] custom_error_responses
|
|
11625
11844
|
# An array of objects that describe the custom error responses
|
|
11626
11845
|
# configured for the distribution.
|
|
11846
|
+
#
|
|
11847
|
+
# This value is returned only when you specify `distributionName` in
|
|
11848
|
+
# your `GetDistributions` request. It isn't included in the response
|
|
11849
|
+
# when you list all of your distributions.
|
|
11627
11850
|
# @return [Array<Types::DistributionCustomErrorResponse>]
|
|
11628
11851
|
#
|
|
11629
11852
|
# @!attribute [rw] waf
|
|
@@ -11631,6 +11854,11 @@ module Aws::Lightsail
|
|
|
11631
11854
|
# configuration of the distribution.
|
|
11632
11855
|
# @return [Types::WafConfig]
|
|
11633
11856
|
#
|
|
11857
|
+
# @!attribute [rw] subdomain
|
|
11858
|
+
# An object that describes the Lightsail subdomain that's associated
|
|
11859
|
+
# with the distribution, or is being associated with it.
|
|
11860
|
+
# @return [Types::LightsailDistributionSubdomain]
|
|
11861
|
+
#
|
|
11634
11862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LightsailDistribution AWS API Documentation
|
|
11635
11863
|
#
|
|
11636
11864
|
class LightsailDistribution < Struct.new(
|
|
@@ -11657,7 +11885,54 @@ module Aws::Lightsail
|
|
|
11657
11885
|
:viewer_minimum_tls_protocol_version,
|
|
11658
11886
|
:default_root_object,
|
|
11659
11887
|
:custom_error_responses,
|
|
11660
|
-
:waf
|
|
11888
|
+
:waf,
|
|
11889
|
+
:subdomain)
|
|
11890
|
+
SENSITIVE = []
|
|
11891
|
+
include Aws::Structure
|
|
11892
|
+
end
|
|
11893
|
+
|
|
11894
|
+
# Describes the Lightsail subdomain of a distribution. The distribution
|
|
11895
|
+
# is reachable at the subdomain's web address, which is the subdomain
|
|
11896
|
+
# followed by `amazonlightsail.com`.
|
|
11897
|
+
#
|
|
11898
|
+
# @!attribute [rw] name
|
|
11899
|
+
# The subdomain (for example, `mysite`), not its web address.
|
|
11900
|
+
# @return [String]
|
|
11901
|
+
#
|
|
11902
|
+
# @!attribute [rw] state
|
|
11903
|
+
# The state of the subdomain for the distribution.
|
|
11904
|
+
#
|
|
11905
|
+
# The following states are possible:
|
|
11906
|
+
#
|
|
11907
|
+
# * `Creating` – The subdomain is being created.
|
|
11908
|
+
#
|
|
11909
|
+
# * `Attaching` – The subdomain is being associated with the
|
|
11910
|
+
# distribution.
|
|
11911
|
+
#
|
|
11912
|
+
# * `Attached` – The subdomain is associated with the distribution.
|
|
11913
|
+
#
|
|
11914
|
+
# * `Error` – The subdomain couldn't be created or associated with
|
|
11915
|
+
# the distribution. For more information, see the `errorCode` and
|
|
11916
|
+
# `errorDetails` parameters.
|
|
11917
|
+
# @return [String]
|
|
11918
|
+
#
|
|
11919
|
+
# @!attribute [rw] error_code
|
|
11920
|
+
# The error code that describes why the subdomain is in the `Error`
|
|
11921
|
+
# state.
|
|
11922
|
+
# @return [String]
|
|
11923
|
+
#
|
|
11924
|
+
# @!attribute [rw] error_details
|
|
11925
|
+
# The details of the error that caused the subdomain to be in the
|
|
11926
|
+
# `Error` state.
|
|
11927
|
+
# @return [String]
|
|
11928
|
+
#
|
|
11929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LightsailDistributionSubdomain AWS API Documentation
|
|
11930
|
+
#
|
|
11931
|
+
class LightsailDistributionSubdomain < Struct.new(
|
|
11932
|
+
:name,
|
|
11933
|
+
:state,
|
|
11934
|
+
:error_code,
|
|
11935
|
+
:error_details)
|
|
11661
11936
|
SENSITIVE = []
|
|
11662
11937
|
include Aws::Structure
|
|
11663
11938
|
end
|
|
@@ -14844,6 +15119,168 @@ module Aws::Lightsail
|
|
|
14844
15119
|
include Aws::Structure
|
|
14845
15120
|
end
|
|
14846
15121
|
|
|
15122
|
+
# Describes a Lightsail subdomain. A subdomain is the name that you
|
|
15123
|
+
# choose, such as `mysite` or `blog.mysite`. Its web address is the
|
|
15124
|
+
# subdomain followed by `amazonlightsail.com`, such as
|
|
15125
|
+
# `blog.mysite.amazonlightsail.com`. You can associate a subdomain with
|
|
15126
|
+
# a Lightsail resource to make the resource reachable at the web
|
|
15127
|
+
# address.
|
|
15128
|
+
#
|
|
15129
|
+
# @!attribute [rw] subdomain_name
|
|
15130
|
+
# The subdomain (for example, `mysite` or `blog.mysite`). To get the
|
|
15131
|
+
# web address, use the `fqdn` parameter.
|
|
15132
|
+
# @return [String]
|
|
15133
|
+
#
|
|
15134
|
+
# @!attribute [rw] arn
|
|
15135
|
+
# The Amazon Resource Name (ARN) of the subdomain.
|
|
15136
|
+
#
|
|
15137
|
+
# If you create a subdomain with a depth of 2, such as `blog.mysite`,
|
|
15138
|
+
# without first creating the subdomain with a depth of 1 (`mysite`),
|
|
15139
|
+
# Lightsail holds `mysite` for your account in the `IMPLICIT` state.
|
|
15140
|
+
# It doesn't have an ARN until you create a subdomain with that name.
|
|
15141
|
+
# @return [String]
|
|
15142
|
+
#
|
|
15143
|
+
# @!attribute [rw] fqdn
|
|
15144
|
+
# The web address of the subdomain, which is the subdomain followed by
|
|
15145
|
+
# `amazonlightsail.com` (for example,
|
|
15146
|
+
# `blog.mysite.amazonlightsail.com`).
|
|
15147
|
+
# @return [String]
|
|
15148
|
+
#
|
|
15149
|
+
# @!attribute [rw] depth
|
|
15150
|
+
# The number of labels in the subdomain. A top-level subdomain, such
|
|
15151
|
+
# as `mysite`, has a depth of `1`. A nested subdomain, such as
|
|
15152
|
+
# `blog.mysite`, has a depth of `2`.
|
|
15153
|
+
# @return [Integer]
|
|
15154
|
+
#
|
|
15155
|
+
# @!attribute [rw] state
|
|
15156
|
+
# The state of the subdomain.
|
|
15157
|
+
#
|
|
15158
|
+
# The following states are possible:
|
|
15159
|
+
#
|
|
15160
|
+
# * `CREATING` – The subdomain is being created.
|
|
15161
|
+
#
|
|
15162
|
+
# * `CREATE_FAILED` – The subdomain couldn't be created. Delete the
|
|
15163
|
+
# subdomain, and then create it again if the name is still
|
|
15164
|
+
# available.
|
|
15165
|
+
#
|
|
15166
|
+
# * `UNATTACHED` – The subdomain is ready, and isn't associated with
|
|
15167
|
+
# a resource.
|
|
15168
|
+
#
|
|
15169
|
+
# * `ATTACHING` – The subdomain is being associated with a resource.
|
|
15170
|
+
#
|
|
15171
|
+
# * `ATTACHED` – The subdomain is associated with a resource, and
|
|
15172
|
+
# routes traffic to it.
|
|
15173
|
+
#
|
|
15174
|
+
# * `DETACHING` – The subdomain is being disassociated from a
|
|
15175
|
+
# resource.
|
|
15176
|
+
#
|
|
15177
|
+
# * `TRANSFERRING` – The subdomain is being moved from one resource to
|
|
15178
|
+
# another resource.
|
|
15179
|
+
#
|
|
15180
|
+
# * `IMPLICIT` – The subdomain is the parent of one or more nested
|
|
15181
|
+
# subdomains that you created, but you didn't create the parent
|
|
15182
|
+
# subdomain itself. You can't associate or delete a subdomain in
|
|
15183
|
+
# this state. To use it, create it with the `CreateSubdomain`
|
|
15184
|
+
# action.
|
|
15185
|
+
# @return [String]
|
|
15186
|
+
#
|
|
15187
|
+
# @!attribute [rw] attached_resource
|
|
15188
|
+
# An object that describes the resource that the subdomain is
|
|
15189
|
+
# associated with.
|
|
15190
|
+
#
|
|
15191
|
+
# When the subdomain is in the `TRANSFERRING` state, this is the
|
|
15192
|
+
# resource that the subdomain is being moved from.
|
|
15193
|
+
# @return [Types::SubdomainAttachableResource]
|
|
15194
|
+
#
|
|
15195
|
+
# @!attribute [rw] attaching_resource
|
|
15196
|
+
# An object that describes the resource that the subdomain is being
|
|
15197
|
+
# associated with.
|
|
15198
|
+
#
|
|
15199
|
+
# This parameter is returned only when the subdomain is in the
|
|
15200
|
+
# `ATTACHING` or `TRANSFERRING` state.
|
|
15201
|
+
# @return [Types::SubdomainAttachableResource]
|
|
15202
|
+
#
|
|
15203
|
+
# @!attribute [rw] location
|
|
15204
|
+
# An object that describes the location of the subdomain, such as the
|
|
15205
|
+
# AWS Region.
|
|
15206
|
+
# @return [Types::ResourceLocation]
|
|
15207
|
+
#
|
|
15208
|
+
# @!attribute [rw] created_at
|
|
15209
|
+
# The timestamp when the subdomain was created.
|
|
15210
|
+
# @return [Time]
|
|
15211
|
+
#
|
|
15212
|
+
# @!attribute [rw] parent_fqdn
|
|
15213
|
+
# The web address of the parent subdomain (for example,
|
|
15214
|
+
# `mysite.amazonlightsail.com` for `blog.mysite`).
|
|
15215
|
+
#
|
|
15216
|
+
# This parameter isn't returned for a subdomain with a depth of 1.
|
|
15217
|
+
# @return [String]
|
|
15218
|
+
#
|
|
15219
|
+
# @!attribute [rw] children
|
|
15220
|
+
# An array of objects that describe the nested subdomains of the
|
|
15221
|
+
# subdomain.
|
|
15222
|
+
#
|
|
15223
|
+
# This parameter is returned only by the `GetSubdomains` action when
|
|
15224
|
+
# you don't specify a subdomain.
|
|
15225
|
+
# @return [Array<Types::Subdomain>]
|
|
15226
|
+
#
|
|
15227
|
+
# @!attribute [rw] tags
|
|
15228
|
+
# The tag keys and optional values for the subdomain. For more
|
|
15229
|
+
# information about tags in Lightsail, see the [Lightsail Developer
|
|
15230
|
+
# Guide][1].
|
|
15231
|
+
#
|
|
15232
|
+
# This parameter is returned only by the `GetSubdomains` action when
|
|
15233
|
+
# you specify a subdomain.
|
|
15234
|
+
#
|
|
15235
|
+
#
|
|
15236
|
+
#
|
|
15237
|
+
# [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags
|
|
15238
|
+
# @return [Array<Types::Tag>]
|
|
15239
|
+
#
|
|
15240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Subdomain AWS API Documentation
|
|
15241
|
+
#
|
|
15242
|
+
class Subdomain < Struct.new(
|
|
15243
|
+
:subdomain_name,
|
|
15244
|
+
:arn,
|
|
15245
|
+
:fqdn,
|
|
15246
|
+
:depth,
|
|
15247
|
+
:state,
|
|
15248
|
+
:attached_resource,
|
|
15249
|
+
:attaching_resource,
|
|
15250
|
+
:location,
|
|
15251
|
+
:created_at,
|
|
15252
|
+
:parent_fqdn,
|
|
15253
|
+
:children,
|
|
15254
|
+
:tags)
|
|
15255
|
+
SENSITIVE = []
|
|
15256
|
+
include Aws::Structure
|
|
15257
|
+
end
|
|
15258
|
+
|
|
15259
|
+
# Describes a Lightsail resource that a subdomain is associated with, or
|
|
15260
|
+
# is being associated with.
|
|
15261
|
+
#
|
|
15262
|
+
# @!attribute [rw] arn
|
|
15263
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
15264
|
+
# @return [String]
|
|
15265
|
+
#
|
|
15266
|
+
# @!attribute [rw] name
|
|
15267
|
+
# The name of the resource.
|
|
15268
|
+
# @return [String]
|
|
15269
|
+
#
|
|
15270
|
+
# @!attribute [rw] attached_at
|
|
15271
|
+
# The timestamp when the subdomain was associated with the resource.
|
|
15272
|
+
# @return [Time]
|
|
15273
|
+
#
|
|
15274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SubdomainAttachableResource AWS API Documentation
|
|
15275
|
+
#
|
|
15276
|
+
class SubdomainAttachableResource < Struct.new(
|
|
15277
|
+
:arn,
|
|
15278
|
+
:name,
|
|
15279
|
+
:attached_at)
|
|
15280
|
+
SENSITIVE = []
|
|
15281
|
+
include Aws::Structure
|
|
15282
|
+
end
|
|
15283
|
+
|
|
14847
15284
|
# Describes a tag key and optional value assigned to an Amazon Lightsail
|
|
14848
15285
|
# resource.
|
|
14849
15286
|
#
|
|
@@ -15860,6 +16297,66 @@ module Aws::Lightsail
|
|
|
15860
16297
|
include Aws::Structure
|
|
15861
16298
|
end
|
|
15862
16299
|
|
|
16300
|
+
# @!attribute [rw] subdomain_name
|
|
16301
|
+
# The subdomain to update (for example, `mysite` or `blog.mysite`),
|
|
16302
|
+
# not its web address.
|
|
16303
|
+
# @return [String]
|
|
16304
|
+
#
|
|
16305
|
+
# @!attribute [rw] action
|
|
16306
|
+
# The association change to make.
|
|
16307
|
+
#
|
|
16308
|
+
# The following actions are possible:
|
|
16309
|
+
#
|
|
16310
|
+
# * `ASSOCIATE` – Associates the subdomain with the resource that you
|
|
16311
|
+
# specify in the `targetResourceArn` parameter. The subdomain must
|
|
16312
|
+
# be in the `UNATTACHED` state.
|
|
16313
|
+
#
|
|
16314
|
+
# * `DISASSOCIATE` – Disassociates the subdomain from its current
|
|
16315
|
+
# resource. The subdomain must be in the `ATTACHED` state.
|
|
16316
|
+
#
|
|
16317
|
+
# * `TRANSFER` – Moves the subdomain from its current resource to the
|
|
16318
|
+
# resource that you specify in the `targetResourceArn` parameter.
|
|
16319
|
+
# The subdomain must be in the `ATTACHED` state. You can transfer
|
|
16320
|
+
# each subdomain only once in a 24-hour period.
|
|
16321
|
+
# @return [String]
|
|
16322
|
+
#
|
|
16323
|
+
# @!attribute [rw] target_resource_arn
|
|
16324
|
+
# The Amazon Resource Name (ARN) of the resource to associate the
|
|
16325
|
+
# subdomain with. The resource must be in your account.
|
|
16326
|
+
#
|
|
16327
|
+
# This parameter is required when the `action` is `ASSOCIATE` or
|
|
16328
|
+
# `TRANSFER`. It's ignored when the `action` is `DISASSOCIATE`.
|
|
16329
|
+
# @return [String]
|
|
16330
|
+
#
|
|
16331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateSubdomainAssociationRequest AWS API Documentation
|
|
16332
|
+
#
|
|
16333
|
+
class UpdateSubdomainAssociationRequest < Struct.new(
|
|
16334
|
+
:subdomain_name,
|
|
16335
|
+
:action,
|
|
16336
|
+
:target_resource_arn)
|
|
16337
|
+
SENSITIVE = []
|
|
16338
|
+
include Aws::Structure
|
|
16339
|
+
end
|
|
16340
|
+
|
|
16341
|
+
# @!attribute [rw] subdomain
|
|
16342
|
+
# An object that describes the subdomain that was updated.
|
|
16343
|
+
# @return [Types::Subdomain]
|
|
16344
|
+
#
|
|
16345
|
+
# @!attribute [rw] operation
|
|
16346
|
+
# An object that describes the result of the action, such as the
|
|
16347
|
+
# status of the request, the timestamp of the request, and the
|
|
16348
|
+
# resources affected by the request.
|
|
16349
|
+
# @return [Types::Operation]
|
|
16350
|
+
#
|
|
16351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateSubdomainAssociationResult AWS API Documentation
|
|
16352
|
+
#
|
|
16353
|
+
class UpdateSubdomainAssociationResult < Struct.new(
|
|
16354
|
+
:subdomain,
|
|
16355
|
+
:operation)
|
|
16356
|
+
SENSITIVE = []
|
|
16357
|
+
include Aws::Structure
|
|
16358
|
+
end
|
|
16359
|
+
|
|
15863
16360
|
# Describes the configuration of the account creation fraud prevention
|
|
15864
16361
|
# Web Application Firewall (WAF) rule group. The rule group inspects
|
|
15865
16362
|
# account creation requests to your application.
|