@aws-sdk/client-lightsail 3.204.0 → 3.208.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.
- package/README.md +2 -2
- package/dist-cjs/commands/GetDistributionMetricDataCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionsCommand.js +3 -3
- package/dist-cjs/commands/GetDomainCommand.js +3 -3
- package/dist-cjs/commands/GetDomainsCommand.js +3 -3
- package/dist-cjs/models/models_0.js +48 -38
- package/dist-cjs/models/models_1.js +46 -4
- package/dist-cjs/protocols/Aws_json1_1.js +44 -0
- package/dist-es/commands/GetDistributionMetricDataCommand.js +1 -1
- package/dist-es/commands/GetDistributionsCommand.js +1 -1
- package/dist-es/commands/GetDomainCommand.js +1 -1
- package/dist-es/commands/GetDomainsCommand.js +1 -1
- package/dist-es/models/models_0.js +38 -24
- package/dist-es/models/models_1.js +33 -0
- package/dist-es/protocols/Aws_json1_1.js +44 -0
- package/dist-types/Lightsail.d.ts +9 -8
- package/dist-types/LightsailClient.d.ts +2 -2
- package/dist-types/commands/GetContainerLogCommand.d.ts +2 -1
- package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +2 -1
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +221 -282
- package/dist-types/models/models_1.d.ts +324 -6
- package/dist-types/ts3.4/commands/GetDistributionMetricDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +53 -58
- package/dist-types/ts3.4/models/models_1.d.ts +74 -0
- package/package.json +35 -35
|
@@ -1,4 +1,243 @@
|
|
|
1
|
-
import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, Disk, DomainEntry, ExportSnapshotRecord, InputOrigin, IpAddressType, KeyPair, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, PrivateRegistryAccessRequest, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
|
|
1
|
+
import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, Disk, DistributionMetricName, Domain, DomainEntry, ExportSnapshotRecord, InputOrigin, IpAddressType, KeyPair, LightsailDistribution, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, PrivateRegistryAccessRequest, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
|
|
2
|
+
export interface GetDistributionMetricDataRequest {
|
|
3
|
+
/**
|
|
4
|
+
* <p>The name of the distribution for which to get metric data.</p>
|
|
5
|
+
* <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you
|
|
6
|
+
* can specify.</p>
|
|
7
|
+
*/
|
|
8
|
+
distributionName: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* <p>The metric for which you want to return information.</p>
|
|
11
|
+
* <p>Valid distribution metric names are listed below, along with the most useful
|
|
12
|
+
* <code>statistics</code> to include in your request, and the published <code>unit</code>
|
|
13
|
+
* value.</p>
|
|
14
|
+
* <ul>
|
|
15
|
+
* <li>
|
|
16
|
+
* <p>
|
|
17
|
+
* <b>
|
|
18
|
+
* <code>Requests</code>
|
|
19
|
+
* </b> - The total number of viewer
|
|
20
|
+
* requests received by your Lightsail distribution, for all HTTP methods, and for both
|
|
21
|
+
* HTTP and HTTPS requests.</p>
|
|
22
|
+
* <p>
|
|
23
|
+
* <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
|
|
24
|
+
* <p>
|
|
25
|
+
* <code>Unit</code>: The published unit is <code>None</code>.</p>
|
|
26
|
+
* </li>
|
|
27
|
+
* <li>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>
|
|
30
|
+
* <code>BytesDownloaded</code>
|
|
31
|
+
* </b> - The number of bytes
|
|
32
|
+
* downloaded by viewers for GET, HEAD, and OPTIONS requests.</p>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>Unit</code>: The published unit is <code>None</code>.</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>
|
|
41
|
+
* <code>BytesUploaded </code>
|
|
42
|
+
* </b> - The number of bytes
|
|
43
|
+
* uploaded to your origin by your Lightsail distribution, using POST and PUT
|
|
44
|
+
* requests.</p>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
|
|
47
|
+
* <p>
|
|
48
|
+
* <code>Unit</code>: The published unit is <code>None</code>.</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>
|
|
52
|
+
* <b>
|
|
53
|
+
* <code>TotalErrorRate</code>
|
|
54
|
+
* </b> - The percentage of all
|
|
55
|
+
* viewer requests for which the response's HTTP status code was 4xx or 5xx.</p>
|
|
56
|
+
* <p>
|
|
57
|
+
* <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
|
|
58
|
+
* <p>
|
|
59
|
+
* <code>Unit</code>: The published unit is <code>Percent</code>.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <b>
|
|
64
|
+
* <code>4xxErrorRate</code>
|
|
65
|
+
* </b> - The percentage of all
|
|
66
|
+
* viewer requests for which the response's HTTP status cod was 4xx. In these cases, the
|
|
67
|
+
* client or client viewer may have made an error. For example, a status code of 404 (Not
|
|
68
|
+
* Found) means that the client requested an object that could not be found.</p>
|
|
69
|
+
* <p>
|
|
70
|
+
* <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>Unit</code>: The published unit is <code>Percent</code>.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>
|
|
76
|
+
* <b>
|
|
77
|
+
* <code>5xxErrorRate</code>
|
|
78
|
+
* </b> - The percentage of all
|
|
79
|
+
* viewer requests for which the response's HTTP status code was 5xx. In these cases, the
|
|
80
|
+
* origin server did not satisfy the requests. For example, a status code of 503 (Service
|
|
81
|
+
* Unavailable) means that the origin server is currently unavailable.</p>
|
|
82
|
+
* <p>
|
|
83
|
+
* <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
|
|
84
|
+
* <p>
|
|
85
|
+
* <code>Unit</code>: The published unit is <code>Percent</code>.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* </ul>
|
|
88
|
+
*/
|
|
89
|
+
metricName: DistributionMetricName | string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The start of the time interval for which to get metric data.</p>
|
|
92
|
+
* <p>Constraints:</p>
|
|
93
|
+
* <ul>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>Specified in Coordinated Universal Time (UTC).</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>Specified in the Unix time format.</p>
|
|
99
|
+
* <p>For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify
|
|
100
|
+
* <code>1538424000</code> as the start time.</p>
|
|
101
|
+
* </li>
|
|
102
|
+
* </ul>
|
|
103
|
+
* <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
|
|
104
|
+
*/
|
|
105
|
+
startTime: Date | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>The end of the time interval for which to get metric data.</p>
|
|
108
|
+
* <p>Constraints:</p>
|
|
109
|
+
* <ul>
|
|
110
|
+
* <li>
|
|
111
|
+
* <p>Specified in Coordinated Universal Time (UTC).</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>Specified in the Unix time format.</p>
|
|
115
|
+
* <p>For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify
|
|
116
|
+
* <code>1538427600</code> as the end time.</p>
|
|
117
|
+
* </li>
|
|
118
|
+
* </ul>
|
|
119
|
+
* <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
|
|
120
|
+
*/
|
|
121
|
+
endTime: Date | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* <p>The granularity, in seconds, for the metric data points that will be returned.</p>
|
|
124
|
+
*/
|
|
125
|
+
period: number | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The unit for the metric data request.</p>
|
|
128
|
+
* <p>Valid units depend on the metric data being requested. For the valid units with each
|
|
129
|
+
* available metric, see the <code>metricName</code> parameter.</p>
|
|
130
|
+
*/
|
|
131
|
+
unit: MetricUnit | string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The statistic for the metric.</p>
|
|
134
|
+
* <p>The following statistics are available:</p>
|
|
135
|
+
* <ul>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>
|
|
138
|
+
* <code>Minimum</code> - The lowest value observed during the specified period. Use this
|
|
139
|
+
* value to determine low volumes of activity for your application.</p>
|
|
140
|
+
* </li>
|
|
141
|
+
* <li>
|
|
142
|
+
* <p>
|
|
143
|
+
* <code>Maximum</code> - The highest value observed during the specified period. Use
|
|
144
|
+
* this value to determine high volumes of activity for your application.</p>
|
|
145
|
+
* </li>
|
|
146
|
+
* <li>
|
|
147
|
+
* <p>
|
|
148
|
+
* <code>Sum</code> - All values submitted for the matching metric added together. You
|
|
149
|
+
* can use this statistic to determine the total volume of a metric.</p>
|
|
150
|
+
* </li>
|
|
151
|
+
* <li>
|
|
152
|
+
* <p>
|
|
153
|
+
* <code>Average</code> - The value of Sum / SampleCount during the specified period. By
|
|
154
|
+
* comparing this statistic with the Minimum and Maximum values, you can determine the full
|
|
155
|
+
* scope of a metric and how close the average use is to the Minimum and Maximum values. This
|
|
156
|
+
* comparison helps you to know when to increase or decrease your resources.</p>
|
|
157
|
+
* </li>
|
|
158
|
+
* <li>
|
|
159
|
+
* <p>
|
|
160
|
+
* <code>SampleCount</code> - The count, or number, of data points used for the
|
|
161
|
+
* statistical calculation.</p>
|
|
162
|
+
* </li>
|
|
163
|
+
* </ul>
|
|
164
|
+
*/
|
|
165
|
+
statistics: (MetricStatistic | string)[] | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface GetDistributionMetricDataResult {
|
|
168
|
+
/**
|
|
169
|
+
* <p>The name of the metric returned.</p>
|
|
170
|
+
*/
|
|
171
|
+
metricName?: DistributionMetricName | string;
|
|
172
|
+
/**
|
|
173
|
+
* <p>An array of objects that describe the metric data returned.</p>
|
|
174
|
+
*/
|
|
175
|
+
metricData?: MetricDatapoint[];
|
|
176
|
+
}
|
|
177
|
+
export interface GetDistributionsRequest {
|
|
178
|
+
/**
|
|
179
|
+
* <p>The name of the distribution for which to return information.</p>
|
|
180
|
+
*
|
|
181
|
+
* <p>When omitted, the response includes all of your distributions in the Amazon Web Services
|
|
182
|
+
* Region where the request is made.</p>
|
|
183
|
+
*/
|
|
184
|
+
distributionName?: string;
|
|
185
|
+
/**
|
|
186
|
+
* <p>The token to advance to the next page of results from your request.</p>
|
|
187
|
+
* <p>To get a page token, perform an initial <code>GetDistributions</code> request. If your
|
|
188
|
+
* results are paginated, the response will return a next page token that you can specify as the
|
|
189
|
+
* page token in a subsequent request.</p>
|
|
190
|
+
*/
|
|
191
|
+
pageToken?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface GetDistributionsResult {
|
|
194
|
+
/**
|
|
195
|
+
* <p>An array of objects that describe your distributions.</p>
|
|
196
|
+
*/
|
|
197
|
+
distributions?: LightsailDistribution[];
|
|
198
|
+
/**
|
|
199
|
+
* <p>The token to advance to the next page of results from your request.</p>
|
|
200
|
+
* <p>A next page token is not returned if there are no more results to display.</p>
|
|
201
|
+
* <p>To get the next page of results, perform another <code>GetDistributions</code> request and
|
|
202
|
+
* specify the next page token using the <code>pageToken</code> parameter.</p>
|
|
203
|
+
*/
|
|
204
|
+
nextPageToken?: string;
|
|
205
|
+
}
|
|
206
|
+
export interface GetDomainRequest {
|
|
207
|
+
/**
|
|
208
|
+
* <p>The domain name for which your want to return information about.</p>
|
|
209
|
+
*/
|
|
210
|
+
domainName: string | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface GetDomainResult {
|
|
213
|
+
/**
|
|
214
|
+
* <p>An array of key-value pairs containing information about your get domain request.</p>
|
|
215
|
+
*/
|
|
216
|
+
domain?: Domain;
|
|
217
|
+
}
|
|
218
|
+
export interface GetDomainsRequest {
|
|
219
|
+
/**
|
|
220
|
+
* <p>The token to advance to the next page of results from your request.</p>
|
|
221
|
+
* <p>To get a page token, perform an initial <code>GetDomains</code> request. If your results
|
|
222
|
+
* are paginated, the response will return a next page token that you can specify as the page
|
|
223
|
+
* token in a subsequent request.</p>
|
|
224
|
+
*/
|
|
225
|
+
pageToken?: string;
|
|
226
|
+
}
|
|
227
|
+
export interface GetDomainsResult {
|
|
228
|
+
/**
|
|
229
|
+
* <p>An array of key-value pairs containing information about each of the domain entries in the
|
|
230
|
+
* user's account.</p>
|
|
231
|
+
*/
|
|
232
|
+
domains?: Domain[];
|
|
233
|
+
/**
|
|
234
|
+
* <p>The token to advance to the next page of results from your request.</p>
|
|
235
|
+
* <p>A next page token is not returned if there are no more results to display.</p>
|
|
236
|
+
* <p>To get the next page of results, perform another <code>GetDomains</code> request and
|
|
237
|
+
* specify the next page token using the <code>pageToken</code> parameter.</p>
|
|
238
|
+
*/
|
|
239
|
+
nextPageToken?: string;
|
|
240
|
+
}
|
|
2
241
|
export interface GetExportSnapshotRecordsRequest {
|
|
3
242
|
/**
|
|
4
243
|
* <p>The token to advance to the next page of results from your request.</p>
|
|
@@ -1727,6 +1966,42 @@ export interface GetLoadBalancerTlsCertificatesRequest {
|
|
|
1727
1966
|
*/
|
|
1728
1967
|
loadBalancerName: string | undefined;
|
|
1729
1968
|
}
|
|
1969
|
+
export declare enum LoadBalancerTlsCertificateDnsRecordCreationStateCode {
|
|
1970
|
+
Failed = "FAILED",
|
|
1971
|
+
Started = "STARTED",
|
|
1972
|
+
Succeeded = "SUCCEEDED"
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* <p>An object that describes the state of the canonical name (CNAME) records that are
|
|
1976
|
+
* automatically added by Lightsail to the DNS of the domain to validate domain
|
|
1977
|
+
* ownership.</p>
|
|
1978
|
+
*/
|
|
1979
|
+
export interface LoadBalancerTlsCertificateDnsRecordCreationState {
|
|
1980
|
+
/**
|
|
1981
|
+
* <p>The status code for the automated DNS record creation.</p>
|
|
1982
|
+
*
|
|
1983
|
+
* <p>Following are the possible values:</p>
|
|
1984
|
+
* <ul>
|
|
1985
|
+
* <li>
|
|
1986
|
+
* <p>
|
|
1987
|
+
* <code>SUCCEEDED</code> - The validation records were successfully added.</p>
|
|
1988
|
+
* </li>
|
|
1989
|
+
* <li>
|
|
1990
|
+
* <p>
|
|
1991
|
+
* <code>STARTED</code> - The automatic DNS record creation has started.</p>
|
|
1992
|
+
* </li>
|
|
1993
|
+
* <li>
|
|
1994
|
+
* <p>
|
|
1995
|
+
* <code>FAILED</code> - The validation record addition failed.</p>
|
|
1996
|
+
* </li>
|
|
1997
|
+
* </ul>
|
|
1998
|
+
*/
|
|
1999
|
+
code?: LoadBalancerTlsCertificateDnsRecordCreationStateCode | string;
|
|
2000
|
+
/**
|
|
2001
|
+
* <p>The message that describes the reason for the status code.</p>
|
|
2002
|
+
*/
|
|
2003
|
+
message?: string;
|
|
2004
|
+
}
|
|
1730
2005
|
export declare enum LoadBalancerTlsCertificateDomainStatus {
|
|
1731
2006
|
Failed = "FAILED",
|
|
1732
2007
|
PendingValidation = "PENDING_VALIDATION",
|
|
@@ -1758,6 +2033,12 @@ export interface LoadBalancerTlsCertificateDomainValidationRecord {
|
|
|
1758
2033
|
* <p>The domain name against which your SSL/TLS certificate was validated.</p>
|
|
1759
2034
|
*/
|
|
1760
2035
|
domainName?: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* <p>An object that describes the state of the canonical name (CNAME) records that are
|
|
2038
|
+
* automatically added by Lightsail to the DNS of a domain to validate domain
|
|
2039
|
+
* ownership.</p>
|
|
2040
|
+
*/
|
|
2041
|
+
dnsRecordCreationState?: LoadBalancerTlsCertificateDnsRecordCreationState;
|
|
1761
2042
|
}
|
|
1762
2043
|
export declare enum LoadBalancerTlsCertificateFailureReason {
|
|
1763
2044
|
AdditionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED",
|
|
@@ -1925,7 +2206,8 @@ export interface LoadBalancerTlsCertificate {
|
|
|
1925
2206
|
*/
|
|
1926
2207
|
createdAt?: Date;
|
|
1927
2208
|
/**
|
|
1928
|
-
* <p>The
|
|
2209
|
+
* <p>The Amazon Web Services Region and Availability Zone where you created your
|
|
2210
|
+
* certificate.</p>
|
|
1929
2211
|
*/
|
|
1930
2212
|
location?: ResourceLocation;
|
|
1931
2213
|
/**
|
|
@@ -2300,7 +2582,7 @@ export interface GetRegionsRequest {
|
|
|
2300
2582
|
includeRelationalDatabaseAvailabilityZones?: boolean;
|
|
2301
2583
|
}
|
|
2302
2584
|
/**
|
|
2303
|
-
* <p>Describes the
|
|
2585
|
+
* <p>Describes the Amazon Web Services Region.</p>
|
|
2304
2586
|
*/
|
|
2305
2587
|
export interface Region {
|
|
2306
2588
|
/**
|
|
@@ -2308,8 +2590,8 @@ export interface Region {
|
|
|
2308
2590
|
*/
|
|
2309
2591
|
continentCode?: string;
|
|
2310
2592
|
/**
|
|
2311
|
-
* <p>The description of the
|
|
2312
|
-
* in the eastern United States and eastern Canada</code>).</p>
|
|
2593
|
+
* <p>The description of the Amazon Web Services Region (e.g., <code>This region is recommended
|
|
2594
|
+
* to serve users in the eastern United States and eastern Canada</code>).</p>
|
|
2313
2595
|
*/
|
|
2314
2596
|
description?: string;
|
|
2315
2597
|
/**
|
|
@@ -4260,7 +4542,7 @@ export interface UpdateRelationalDatabaseRequest {
|
|
|
4260
4542
|
/**
|
|
4261
4543
|
* <p>The weekly time range during which system maintenance can occur on your database.</p>
|
|
4262
4544
|
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for each
|
|
4263
|
-
*
|
|
4545
|
+
* Amazon Web Services Region, occurring on a random day of the week.</p>
|
|
4264
4546
|
* <p>Constraints:</p>
|
|
4265
4547
|
* <ul>
|
|
4266
4548
|
* <li>
|
|
@@ -4340,6 +4622,38 @@ export interface UpdateRelationalDatabaseParametersResult {
|
|
|
4340
4622
|
*/
|
|
4341
4623
|
operations?: Operation[];
|
|
4342
4624
|
}
|
|
4625
|
+
/**
|
|
4626
|
+
* @internal
|
|
4627
|
+
*/
|
|
4628
|
+
export declare const GetDistributionMetricDataRequestFilterSensitiveLog: (obj: GetDistributionMetricDataRequest) => any;
|
|
4629
|
+
/**
|
|
4630
|
+
* @internal
|
|
4631
|
+
*/
|
|
4632
|
+
export declare const GetDistributionMetricDataResultFilterSensitiveLog: (obj: GetDistributionMetricDataResult) => any;
|
|
4633
|
+
/**
|
|
4634
|
+
* @internal
|
|
4635
|
+
*/
|
|
4636
|
+
export declare const GetDistributionsRequestFilterSensitiveLog: (obj: GetDistributionsRequest) => any;
|
|
4637
|
+
/**
|
|
4638
|
+
* @internal
|
|
4639
|
+
*/
|
|
4640
|
+
export declare const GetDistributionsResultFilterSensitiveLog: (obj: GetDistributionsResult) => any;
|
|
4641
|
+
/**
|
|
4642
|
+
* @internal
|
|
4643
|
+
*/
|
|
4644
|
+
export declare const GetDomainRequestFilterSensitiveLog: (obj: GetDomainRequest) => any;
|
|
4645
|
+
/**
|
|
4646
|
+
* @internal
|
|
4647
|
+
*/
|
|
4648
|
+
export declare const GetDomainResultFilterSensitiveLog: (obj: GetDomainResult) => any;
|
|
4649
|
+
/**
|
|
4650
|
+
* @internal
|
|
4651
|
+
*/
|
|
4652
|
+
export declare const GetDomainsRequestFilterSensitiveLog: (obj: GetDomainsRequest) => any;
|
|
4653
|
+
/**
|
|
4654
|
+
* @internal
|
|
4655
|
+
*/
|
|
4656
|
+
export declare const GetDomainsResultFilterSensitiveLog: (obj: GetDomainsResult) => any;
|
|
4343
4657
|
/**
|
|
4344
4658
|
* @internal
|
|
4345
4659
|
*/
|
|
@@ -4516,6 +4830,10 @@ export declare const GetLoadBalancersResultFilterSensitiveLog: (obj: GetLoadBala
|
|
|
4516
4830
|
* @internal
|
|
4517
4831
|
*/
|
|
4518
4832
|
export declare const GetLoadBalancerTlsCertificatesRequestFilterSensitiveLog: (obj: GetLoadBalancerTlsCertificatesRequest) => any;
|
|
4833
|
+
/**
|
|
4834
|
+
* @internal
|
|
4835
|
+
*/
|
|
4836
|
+
export declare const LoadBalancerTlsCertificateDnsRecordCreationStateFilterSensitiveLog: (obj: LoadBalancerTlsCertificateDnsRecordCreationState) => any;
|
|
4519
4837
|
/**
|
|
4520
4838
|
* @internal
|
|
4521
4839
|
*/
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
GetDistributionMetricDataRequest,
|
|
16
16
|
GetDistributionMetricDataResult,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface GetDistributionMetricDataCommandInput
|
|
19
19
|
extends GetDistributionMetricDataRequest {}
|
|
20
20
|
export interface GetDistributionMetricDataCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
GetDistributionsRequest,
|
|
16
16
|
GetDistributionsResult,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface GetDistributionsCommandInput extends GetDistributionsRequest {}
|
|
19
19
|
export interface GetDistributionsCommandOutput
|
|
20
20
|
extends GetDistributionsResult,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../LightsailClient";
|
|
14
|
-
import { GetDomainRequest, GetDomainResult } from "../models/
|
|
14
|
+
import { GetDomainRequest, GetDomainResult } from "../models/models_1";
|
|
15
15
|
export interface GetDomainCommandInput extends GetDomainRequest {}
|
|
16
16
|
export interface GetDomainCommandOutput
|
|
17
17
|
extends GetDomainResult,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../LightsailClient";
|
|
14
|
-
import { GetDomainsRequest, GetDomainsResult } from "../models/
|
|
14
|
+
import { GetDomainsRequest, GetDomainsResult } from "../models/models_1";
|
|
15
15
|
export interface GetDomainsCommandInput extends GetDomainsRequest {}
|
|
16
16
|
export interface GetDomainsCommandOutput
|
|
17
17
|
extends GetDomainsResult,
|
|
@@ -591,14 +591,30 @@ export interface CacheSettings {
|
|
|
591
591
|
forwardedHeaders?: HeaderObject;
|
|
592
592
|
forwardedQueryStrings?: QueryStringObject;
|
|
593
593
|
}
|
|
594
|
+
export declare enum DnsRecordCreationStateCode {
|
|
595
|
+
Failed = "FAILED",
|
|
596
|
+
Started = "STARTED",
|
|
597
|
+
Succeeded = "SUCCEEDED",
|
|
598
|
+
}
|
|
599
|
+
export interface DnsRecordCreationState {
|
|
600
|
+
code?: DnsRecordCreationStateCode | string;
|
|
601
|
+
message?: string;
|
|
602
|
+
}
|
|
594
603
|
export interface ResourceRecord {
|
|
595
604
|
name?: string;
|
|
596
605
|
type?: string;
|
|
597
606
|
value?: string;
|
|
598
607
|
}
|
|
608
|
+
export declare enum CertificateDomainValidationStatus {
|
|
609
|
+
Failed = "FAILED",
|
|
610
|
+
PendingValidation = "PENDING_VALIDATION",
|
|
611
|
+
Success = "SUCCESS",
|
|
612
|
+
}
|
|
599
613
|
export interface DomainValidationRecord {
|
|
600
614
|
domainName?: string;
|
|
601
615
|
resourceRecord?: ResourceRecord;
|
|
616
|
+
dnsRecordCreationState?: DnsRecordCreationState;
|
|
617
|
+
validationStatus?: CertificateDomainValidationStatus | string;
|
|
602
618
|
}
|
|
603
619
|
export declare enum RenewalStatus {
|
|
604
620
|
Failed = "Failed",
|
|
@@ -1421,6 +1437,30 @@ export declare enum DistributionMetricName {
|
|
|
1421
1437
|
Requests = "Requests",
|
|
1422
1438
|
TotalErrorRate = "TotalErrorRate",
|
|
1423
1439
|
}
|
|
1440
|
+
export declare enum NameServersUpdateStateCode {
|
|
1441
|
+
Failed = "FAILED",
|
|
1442
|
+
Pending = "PENDING",
|
|
1443
|
+
Started = "STARTED",
|
|
1444
|
+
Succeeded = "SUCCEEDED",
|
|
1445
|
+
}
|
|
1446
|
+
export interface NameServersUpdateState {
|
|
1447
|
+
code?: NameServersUpdateStateCode | string;
|
|
1448
|
+
message?: string;
|
|
1449
|
+
}
|
|
1450
|
+
export declare enum R53HostedZoneDeletionStateCode {
|
|
1451
|
+
Failed = "FAILED",
|
|
1452
|
+
Pending = "PENDING",
|
|
1453
|
+
Started = "STARTED",
|
|
1454
|
+
Succeeded = "SUCCEEDED",
|
|
1455
|
+
}
|
|
1456
|
+
export interface R53HostedZoneDeletionState {
|
|
1457
|
+
code?: R53HostedZoneDeletionStateCode | string;
|
|
1458
|
+
message?: string;
|
|
1459
|
+
}
|
|
1460
|
+
export interface RegisteredDomainDelegationInfo {
|
|
1461
|
+
nameServersUpdateState?: NameServersUpdateState;
|
|
1462
|
+
r53HostedZoneDeletionState?: R53HostedZoneDeletionState;
|
|
1463
|
+
}
|
|
1424
1464
|
export interface Domain {
|
|
1425
1465
|
name?: string;
|
|
1426
1466
|
arn?: string;
|
|
@@ -1430,6 +1470,7 @@ export interface Domain {
|
|
|
1430
1470
|
resourceType?: ResourceType | string;
|
|
1431
1471
|
tags?: Tag[];
|
|
1432
1472
|
domainEntries?: DomainEntry[];
|
|
1473
|
+
registeredDomainDelegationInfo?: RegisteredDomainDelegationInfo;
|
|
1433
1474
|
}
|
|
1434
1475
|
export interface DownloadDefaultKeyPairRequest {}
|
|
1435
1476
|
export interface DownloadDefaultKeyPairResult {
|
|
@@ -1668,40 +1709,6 @@ export interface GetDistributionLatestCacheResetResult {
|
|
|
1668
1709
|
status?: string;
|
|
1669
1710
|
createTime?: Date;
|
|
1670
1711
|
}
|
|
1671
|
-
export interface GetDistributionMetricDataRequest {
|
|
1672
|
-
distributionName: string | undefined;
|
|
1673
|
-
metricName: DistributionMetricName | string | undefined;
|
|
1674
|
-
startTime: Date | undefined;
|
|
1675
|
-
endTime: Date | undefined;
|
|
1676
|
-
period: number | undefined;
|
|
1677
|
-
unit: MetricUnit | string | undefined;
|
|
1678
|
-
statistics: (MetricStatistic | string)[] | undefined;
|
|
1679
|
-
}
|
|
1680
|
-
export interface GetDistributionMetricDataResult {
|
|
1681
|
-
metricName?: DistributionMetricName | string;
|
|
1682
|
-
metricData?: MetricDatapoint[];
|
|
1683
|
-
}
|
|
1684
|
-
export interface GetDistributionsRequest {
|
|
1685
|
-
distributionName?: string;
|
|
1686
|
-
pageToken?: string;
|
|
1687
|
-
}
|
|
1688
|
-
export interface GetDistributionsResult {
|
|
1689
|
-
distributions?: LightsailDistribution[];
|
|
1690
|
-
nextPageToken?: string;
|
|
1691
|
-
}
|
|
1692
|
-
export interface GetDomainRequest {
|
|
1693
|
-
domainName: string | undefined;
|
|
1694
|
-
}
|
|
1695
|
-
export interface GetDomainResult {
|
|
1696
|
-
domain?: Domain;
|
|
1697
|
-
}
|
|
1698
|
-
export interface GetDomainsRequest {
|
|
1699
|
-
pageToken?: string;
|
|
1700
|
-
}
|
|
1701
|
-
export interface GetDomainsResult {
|
|
1702
|
-
domains?: Domain[];
|
|
1703
|
-
nextPageToken?: string;
|
|
1704
|
-
}
|
|
1705
1712
|
export declare const AccessKeyLastUsedFilterSensitiveLog: (
|
|
1706
1713
|
obj: AccessKeyLastUsed
|
|
1707
1714
|
) => any;
|
|
@@ -1793,6 +1800,9 @@ export declare const QueryStringObjectFilterSensitiveLog: (
|
|
|
1793
1800
|
export declare const CacheSettingsFilterSensitiveLog: (
|
|
1794
1801
|
obj: CacheSettings
|
|
1795
1802
|
) => any;
|
|
1803
|
+
export declare const DnsRecordCreationStateFilterSensitiveLog: (
|
|
1804
|
+
obj: DnsRecordCreationState
|
|
1805
|
+
) => any;
|
|
1796
1806
|
export declare const ResourceRecordFilterSensitiveLog: (
|
|
1797
1807
|
obj: ResourceRecord
|
|
1798
1808
|
) => any;
|
|
@@ -2193,6 +2203,15 @@ export declare const DiskSnapshotInfoFilterSensitiveLog: (
|
|
|
2193
2203
|
export declare const DistributionBundleFilterSensitiveLog: (
|
|
2194
2204
|
obj: DistributionBundle
|
|
2195
2205
|
) => any;
|
|
2206
|
+
export declare const NameServersUpdateStateFilterSensitiveLog: (
|
|
2207
|
+
obj: NameServersUpdateState
|
|
2208
|
+
) => any;
|
|
2209
|
+
export declare const R53HostedZoneDeletionStateFilterSensitiveLog: (
|
|
2210
|
+
obj: R53HostedZoneDeletionState
|
|
2211
|
+
) => any;
|
|
2212
|
+
export declare const RegisteredDomainDelegationInfoFilterSensitiveLog: (
|
|
2213
|
+
obj: RegisteredDomainDelegationInfo
|
|
2214
|
+
) => any;
|
|
2196
2215
|
export declare const DomainFilterSensitiveLog: (obj: Domain) => any;
|
|
2197
2216
|
export declare const DownloadDefaultKeyPairRequestFilterSensitiveLog: (
|
|
2198
2217
|
obj: DownloadDefaultKeyPairRequest
|
|
@@ -2371,27 +2390,3 @@ export declare const GetDistributionLatestCacheResetRequestFilterSensitiveLog: (
|
|
|
2371
2390
|
export declare const GetDistributionLatestCacheResetResultFilterSensitiveLog: (
|
|
2372
2391
|
obj: GetDistributionLatestCacheResetResult
|
|
2373
2392
|
) => any;
|
|
2374
|
-
export declare const GetDistributionMetricDataRequestFilterSensitiveLog: (
|
|
2375
|
-
obj: GetDistributionMetricDataRequest
|
|
2376
|
-
) => any;
|
|
2377
|
-
export declare const GetDistributionMetricDataResultFilterSensitiveLog: (
|
|
2378
|
-
obj: GetDistributionMetricDataResult
|
|
2379
|
-
) => any;
|
|
2380
|
-
export declare const GetDistributionsRequestFilterSensitiveLog: (
|
|
2381
|
-
obj: GetDistributionsRequest
|
|
2382
|
-
) => any;
|
|
2383
|
-
export declare const GetDistributionsResultFilterSensitiveLog: (
|
|
2384
|
-
obj: GetDistributionsResult
|
|
2385
|
-
) => any;
|
|
2386
|
-
export declare const GetDomainRequestFilterSensitiveLog: (
|
|
2387
|
-
obj: GetDomainRequest
|
|
2388
|
-
) => any;
|
|
2389
|
-
export declare const GetDomainResultFilterSensitiveLog: (
|
|
2390
|
-
obj: GetDomainResult
|
|
2391
|
-
) => any;
|
|
2392
|
-
export declare const GetDomainsRequestFilterSensitiveLog: (
|
|
2393
|
-
obj: GetDomainsRequest
|
|
2394
|
-
) => any;
|
|
2395
|
-
export declare const GetDomainsResultFilterSensitiveLog: (
|
|
2396
|
-
obj: GetDomainsResult
|
|
2397
|
-
) => any;
|