@aws-sdk/client-lightsail 3.202.0 → 3.206.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-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -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-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -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/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
- package/CHANGELOG.md +0 -4325
|
@@ -33,12 +33,13 @@ export interface AccessKeyLastUsed {
|
|
|
33
33
|
*/
|
|
34
34
|
lastUsedDate?: Date;
|
|
35
35
|
/**
|
|
36
|
-
* <p>The
|
|
36
|
+
* <p>The Amazon Web Services Region where this access key was most recently used.</p>
|
|
37
37
|
* <p>This value is <code>N/A</code> if the access key has not been used.</p>
|
|
38
38
|
*/
|
|
39
39
|
region?: string;
|
|
40
40
|
/**
|
|
41
|
-
* <p>The name of the
|
|
41
|
+
* <p>The name of the Amazon Web Services service with which this access key was most recently
|
|
42
|
+
* used.</p>
|
|
42
43
|
* <p>This value is <code>N/A</code> if the access key has not been used.</p>
|
|
43
44
|
*/
|
|
44
45
|
serviceName?: string;
|
|
@@ -432,7 +433,7 @@ export interface ResourceLocation {
|
|
|
432
433
|
*/
|
|
433
434
|
availabilityZone?: string;
|
|
434
435
|
/**
|
|
435
|
-
* <p>The
|
|
436
|
+
* <p>The Amazon Web Services Region name.</p>
|
|
436
437
|
*/
|
|
437
438
|
regionName?: RegionName | string;
|
|
438
439
|
}
|
|
@@ -1803,6 +1804,52 @@ export interface CacheSettings {
|
|
|
1803
1804
|
*/
|
|
1804
1805
|
forwardedQueryStrings?: QueryStringObject;
|
|
1805
1806
|
}
|
|
1807
|
+
export declare enum DnsRecordCreationStateCode {
|
|
1808
|
+
Failed = "FAILED",
|
|
1809
|
+
Started = "STARTED",
|
|
1810
|
+
Succeeded = "SUCCEEDED"
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* <p>Describes the creation state of the canonical name (CNAME) records that are automatically
|
|
1814
|
+
* added by Amazon Lightsail to the DNS of a domain to validate domain ownership for
|
|
1815
|
+
* an SSL/TLS certificate.</p>
|
|
1816
|
+
*
|
|
1817
|
+
* <p>When you create an SSL/TLS certificate for a Lightsail resource, you must
|
|
1818
|
+
* add a set of CNAME records to the DNS of the domains for the certificate to validate that you
|
|
1819
|
+
* own the domains. Lightsail can automatically add the CNAME records to the DNS
|
|
1820
|
+
* of the domain if the DNS zone for the domain exists within your Lightsail
|
|
1821
|
+
* account. If automatic record addition fails, or if you manage the DNS of your domain using a
|
|
1822
|
+
* third-party service, then you must manually add the CNAME records to the DNS of your domain.
|
|
1823
|
+
* For more information, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/verify-tls-ssl-certificate-using-dns-cname-https">Verify an SSL/TLS certificate in Amazon Lightsail</a> in the
|
|
1824
|
+
* <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
1825
|
+
*/
|
|
1826
|
+
export interface DnsRecordCreationState {
|
|
1827
|
+
/**
|
|
1828
|
+
* <p>The status code for the automated DNS record creation.</p>
|
|
1829
|
+
*
|
|
1830
|
+
* <p>Following are the possible values:</p>
|
|
1831
|
+
* <ul>
|
|
1832
|
+
* <li>
|
|
1833
|
+
* <p>
|
|
1834
|
+
* <code>SUCCEEDED</code> - The validation records were successfully added to the
|
|
1835
|
+
* domain.</p>
|
|
1836
|
+
* </li>
|
|
1837
|
+
* <li>
|
|
1838
|
+
* <p>
|
|
1839
|
+
* <code>STARTED</code> - The automatic DNS record creation has started.</p>
|
|
1840
|
+
* </li>
|
|
1841
|
+
* <li>
|
|
1842
|
+
* <p>
|
|
1843
|
+
* <code>FAILED</code> - The validation records failed to be added to the domain.</p>
|
|
1844
|
+
* </li>
|
|
1845
|
+
* </ul>
|
|
1846
|
+
*/
|
|
1847
|
+
code?: DnsRecordCreationStateCode | string;
|
|
1848
|
+
/**
|
|
1849
|
+
* <p>The message that describes the reason for the status code.</p>
|
|
1850
|
+
*/
|
|
1851
|
+
message?: string;
|
|
1852
|
+
}
|
|
1806
1853
|
/**
|
|
1807
1854
|
* <p>Describes the domain name system (DNS) records to add to your domain's DNS to validate it
|
|
1808
1855
|
* for an Amazon Lightsail certificate.</p>
|
|
@@ -1821,8 +1868,14 @@ export interface ResourceRecord {
|
|
|
1821
1868
|
*/
|
|
1822
1869
|
value?: string;
|
|
1823
1870
|
}
|
|
1871
|
+
export declare enum CertificateDomainValidationStatus {
|
|
1872
|
+
Failed = "FAILED",
|
|
1873
|
+
PendingValidation = "PENDING_VALIDATION",
|
|
1874
|
+
Success = "SUCCESS"
|
|
1875
|
+
}
|
|
1824
1876
|
/**
|
|
1825
|
-
* <p>Describes the domain
|
|
1877
|
+
* <p>Describes the domain name system (DNS) records that you must add to the DNS of your
|
|
1878
|
+
* registered domain to validate ownership for an Amazon Lightsail SSL/TLS certificate.</p>
|
|
1826
1879
|
*/
|
|
1827
1880
|
export interface DomainValidationRecord {
|
|
1828
1881
|
/**
|
|
@@ -1835,6 +1888,16 @@ export interface DomainValidationRecord {
|
|
|
1835
1888
|
* the certificate.</p>
|
|
1836
1889
|
*/
|
|
1837
1890
|
resourceRecord?: ResourceRecord;
|
|
1891
|
+
/**
|
|
1892
|
+
* <p>An object that describes the state of the canonical name (CNAME) records that are
|
|
1893
|
+
* automatically added by Lightsail to the DNS of the domain to validate domain
|
|
1894
|
+
* ownership.</p>
|
|
1895
|
+
*/
|
|
1896
|
+
dnsRecordCreationState?: DnsRecordCreationState;
|
|
1897
|
+
/**
|
|
1898
|
+
* <p>The validation status of the record.</p>
|
|
1899
|
+
*/
|
|
1900
|
+
validationStatus?: CertificateDomainValidationStatus | string;
|
|
1838
1901
|
}
|
|
1839
1902
|
export declare enum RenewalStatus {
|
|
1840
1903
|
Failed = "Failed",
|
|
@@ -1966,8 +2029,8 @@ export interface Certificate {
|
|
|
1966
2029
|
* </b> -
|
|
1967
2030
|
* Lightsail requires additional information to process this certificate request. This can
|
|
1968
2031
|
* happen as a fraud-protection measure, such as when the domain ranks within the Alexa top
|
|
1969
|
-
* 1000 websites. To provide the required information, use the <a href="https://console.aws.amazon.com/support/home">
|
|
1970
|
-
*
|
|
2032
|
+
* 1000 websites. To provide the required information, use the <a href="https://console.aws.amazon.com/support/home">Amazon Web Services Support
|
|
2033
|
+
* Center</a> to contact Amazon Web Services Support.</p>
|
|
1971
2034
|
* <note>
|
|
1972
2035
|
* <p>You cannot request a certificate for Amazon-owned domain names such as those ending
|
|
1973
2036
|
* in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.</p>
|
|
@@ -1987,8 +2050,8 @@ export interface Certificate {
|
|
|
1987
2050
|
* cannot remove your domain from a block list itself. After you correct the problem and the
|
|
1988
2051
|
* VirusTotal registry has been updated, request a new certificate.</p>
|
|
1989
2052
|
* <p>If you see this error and your domain is not included in the VirusTotal list, visit
|
|
1990
|
-
* the <a href="https://console.aws.amazon.com/support/home">
|
|
1991
|
-
*
|
|
2053
|
+
* the <a href="https://console.aws.amazon.com/support/home">Amazon Web Services Support
|
|
2054
|
+
* Center</a> and create a case.</p>
|
|
1992
2055
|
* </li>
|
|
1993
2056
|
* <li>
|
|
1994
2057
|
* <p>
|
|
@@ -3359,8 +3422,8 @@ export interface CreateContainerServiceRequest {
|
|
|
3359
3422
|
* domain. The default domain of a container service is typically
|
|
3360
3423
|
* <code>https://<ServiceName>.<RandomGUID>.<AWSRegion>.cs.amazonlightsail.com</code>.
|
|
3361
3424
|
* If the name of your container service is <code>container-service-1</code>, and it's located in
|
|
3362
|
-
* the US East (Ohio)
|
|
3363
|
-
* service will be like the following example:
|
|
3425
|
+
* the US East (Ohio) Amazon Web Services Region (<code>us-east-2</code>), then the domain for
|
|
3426
|
+
* your container service will be like the following example:
|
|
3364
3427
|
* <code>https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com</code>
|
|
3365
3428
|
* </p>
|
|
3366
3429
|
*
|
|
@@ -4571,7 +4634,7 @@ export interface CreateRelationalDatabaseRequest {
|
|
|
4571
4634
|
* automated backups are enabled.</p>
|
|
4572
4635
|
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for each
|
|
4573
4636
|
* AWS Region. For more information about the preferred backup window time blocks for each
|
|
4574
|
-
* region, see the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Working With Backups</a> guide in the Amazon Relational Database Service
|
|
4637
|
+
* region, see the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow">Working With Backups</a> guide in the Amazon Relational Database Service documentation.</p>
|
|
4575
4638
|
* <p>Constraints:</p>
|
|
4576
4639
|
* <ul>
|
|
4577
4640
|
* <li>
|
|
@@ -5465,6 +5528,132 @@ export declare enum DistributionMetricName {
|
|
|
5465
5528
|
Requests = "Requests",
|
|
5466
5529
|
TotalErrorRate = "TotalErrorRate"
|
|
5467
5530
|
}
|
|
5531
|
+
export declare enum NameServersUpdateStateCode {
|
|
5532
|
+
Failed = "FAILED",
|
|
5533
|
+
Pending = "PENDING",
|
|
5534
|
+
Started = "STARTED",
|
|
5535
|
+
Succeeded = "SUCCEEDED"
|
|
5536
|
+
}
|
|
5537
|
+
/**
|
|
5538
|
+
* <p>Describes the state of the name server records update made by Amazon Lightsail
|
|
5539
|
+
* to an Amazon Route 53 registered domain.</p>
|
|
5540
|
+
*
|
|
5541
|
+
* <p>For more information, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-dns-in-amazon-lightsail">DNS in Amazon Lightsail</a> in the <i>Amazon Lightsail
|
|
5542
|
+
* Developer Guide</i>.</p>
|
|
5543
|
+
*/
|
|
5544
|
+
export interface NameServersUpdateState {
|
|
5545
|
+
/**
|
|
5546
|
+
* <p>The status code for the name servers update.</p>
|
|
5547
|
+
*
|
|
5548
|
+
* <p>Following are the possible values:</p>
|
|
5549
|
+
* <ul>
|
|
5550
|
+
* <li>
|
|
5551
|
+
* <p>
|
|
5552
|
+
* <code>SUCCEEDED</code> - The name server records were successfully updated.</p>
|
|
5553
|
+
* </li>
|
|
5554
|
+
* <li>
|
|
5555
|
+
* <p>
|
|
5556
|
+
* <code>PENDING</code> - The name server record update is in progress.</p>
|
|
5557
|
+
* </li>
|
|
5558
|
+
* <li>
|
|
5559
|
+
* <p>
|
|
5560
|
+
* <code>FAILED</code> - The name server record update failed.</p>
|
|
5561
|
+
* </li>
|
|
5562
|
+
* <li>
|
|
5563
|
+
* <p>
|
|
5564
|
+
* <code>STARTED</code> - The automatic name server record update started.</p>
|
|
5565
|
+
* </li>
|
|
5566
|
+
* </ul>
|
|
5567
|
+
*/
|
|
5568
|
+
code?: NameServersUpdateStateCode | string;
|
|
5569
|
+
/**
|
|
5570
|
+
* <p>The message that describes the reason for the status code.</p>
|
|
5571
|
+
*/
|
|
5572
|
+
message?: string;
|
|
5573
|
+
}
|
|
5574
|
+
export declare enum R53HostedZoneDeletionStateCode {
|
|
5575
|
+
Failed = "FAILED",
|
|
5576
|
+
Pending = "PENDING",
|
|
5577
|
+
Started = "STARTED",
|
|
5578
|
+
Succeeded = "SUCCEEDED"
|
|
5579
|
+
}
|
|
5580
|
+
/**
|
|
5581
|
+
* <p>Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is
|
|
5582
|
+
* being automatically delegated to an Amazon Lightsail DNS zone.</p>
|
|
5583
|
+
*/
|
|
5584
|
+
export interface R53HostedZoneDeletionState {
|
|
5585
|
+
/**
|
|
5586
|
+
* <p>The status code for the deletion state.</p>
|
|
5587
|
+
*
|
|
5588
|
+
* <p>Following are the possible values:</p>
|
|
5589
|
+
* <ul>
|
|
5590
|
+
* <li>
|
|
5591
|
+
* <p>
|
|
5592
|
+
* <code>SUCCEEDED</code> - The hosted zone was successfully deleted.</p>
|
|
5593
|
+
* </li>
|
|
5594
|
+
* <li>
|
|
5595
|
+
* <p>
|
|
5596
|
+
* <code>PENDING</code> - The hosted zone deletion is in progress.</p>
|
|
5597
|
+
* </li>
|
|
5598
|
+
* <li>
|
|
5599
|
+
* <p>
|
|
5600
|
+
* <code>FAILED</code> - The hosted zone deletion failed.</p>
|
|
5601
|
+
* </li>
|
|
5602
|
+
* <li>
|
|
5603
|
+
* <p>
|
|
5604
|
+
* <code>STARTED</code> - The hosted zone deletion started.</p>
|
|
5605
|
+
* </li>
|
|
5606
|
+
* </ul>
|
|
5607
|
+
*/
|
|
5608
|
+
code?: R53HostedZoneDeletionStateCode | string;
|
|
5609
|
+
/**
|
|
5610
|
+
* <p>The message that describes the reason for the status code.</p>
|
|
5611
|
+
*/
|
|
5612
|
+
message?: string;
|
|
5613
|
+
}
|
|
5614
|
+
/**
|
|
5615
|
+
* <p>Describes the delegation state of an Amazon Route 53 registered domain to Amazon Lightsail.</p>
|
|
5616
|
+
*
|
|
5617
|
+
* <p>When you delegate an Amazon Route 53 registered domain to Lightsail,
|
|
5618
|
+
* you can manage the DNS of the domain using a Lightsail DNS zone. You no longer
|
|
5619
|
+
* use the Route 53 hosted zone to manage the DNS of the domain. To delegate the
|
|
5620
|
+
* domain, Lightsail automatically updates the domain's name servers in Route 53 to the name servers of the Lightsail DNS zone. Then, Lightsail automatically deletes the Route 53 hosted zone for the
|
|
5621
|
+
* domain.</p>
|
|
5622
|
+
*
|
|
5623
|
+
* <p>All of the following conditions must be true for automatic domain delegation to be
|
|
5624
|
+
* successful:</p>
|
|
5625
|
+
*
|
|
5626
|
+
* <ul>
|
|
5627
|
+
* <li>
|
|
5628
|
+
* <p>The registered domain must be in the same Amazon Web Services account as the Lightsail account making the request.</p>
|
|
5629
|
+
* </li>
|
|
5630
|
+
* <li>
|
|
5631
|
+
* <p>The user or entity making the request must have permission to manage domains in
|
|
5632
|
+
* Route 53.</p>
|
|
5633
|
+
* </li>
|
|
5634
|
+
* <li>
|
|
5635
|
+
* <p>The Route 53 hosted zone for the domain must be empty. It cannot contain DNS
|
|
5636
|
+
* records other than start of authority (SOA) and name server records.</p>
|
|
5637
|
+
* </li>
|
|
5638
|
+
* </ul>
|
|
5639
|
+
*
|
|
5640
|
+
* <p>If automatic domain delegation fails, or if you manage the DNS of your domain using a
|
|
5641
|
+
* service other than Route 53, then you must manually add the Lightsail
|
|
5642
|
+
* DNS zone name servers to your domain in order to delegate management of its DNS to Lightsail. For more information, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-dns-entry">Creating a DNS zone to manage your domain’s records in Amazon Lightsail</a>
|
|
5643
|
+
* in the <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
5644
|
+
*/
|
|
5645
|
+
export interface RegisteredDomainDelegationInfo {
|
|
5646
|
+
/**
|
|
5647
|
+
* <p>An object that describes the state of the name server records that are automatically added
|
|
5648
|
+
* to the Route 53 domain by Lightsail.</p>
|
|
5649
|
+
*/
|
|
5650
|
+
nameServersUpdateState?: NameServersUpdateState;
|
|
5651
|
+
/**
|
|
5652
|
+
* <p>Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is
|
|
5653
|
+
* being automatically delegated to an Amazon Lightsail DNS zone.</p>
|
|
5654
|
+
*/
|
|
5655
|
+
r53HostedZoneDeletionState?: R53HostedZoneDeletionState;
|
|
5656
|
+
}
|
|
5468
5657
|
/**
|
|
5469
5658
|
* <p>Describes a domain where you are storing recordsets.</p>
|
|
5470
5659
|
*/
|
|
@@ -5505,6 +5694,11 @@ export interface Domain {
|
|
|
5505
5694
|
* <p>An array of key-value pairs containing information about the domain entries.</p>
|
|
5506
5695
|
*/
|
|
5507
5696
|
domainEntries?: DomainEntry[];
|
|
5697
|
+
/**
|
|
5698
|
+
* <p>An object that describes the state of the Route 53 domain delegation to a
|
|
5699
|
+
* Lightsail DNS zone.</p>
|
|
5700
|
+
*/
|
|
5701
|
+
registeredDomainDelegationInfo?: RegisteredDomainDelegationInfo;
|
|
5508
5702
|
}
|
|
5509
5703
|
export interface DownloadDefaultKeyPairRequest {
|
|
5510
5704
|
}
|
|
@@ -6410,245 +6604,6 @@ export interface GetDistributionLatestCacheResetResult {
|
|
|
6410
6604
|
*/
|
|
6411
6605
|
createTime?: Date;
|
|
6412
6606
|
}
|
|
6413
|
-
export interface GetDistributionMetricDataRequest {
|
|
6414
|
-
/**
|
|
6415
|
-
* <p>The name of the distribution for which to get metric data.</p>
|
|
6416
|
-
* <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you
|
|
6417
|
-
* can specify.</p>
|
|
6418
|
-
*/
|
|
6419
|
-
distributionName: string | undefined;
|
|
6420
|
-
/**
|
|
6421
|
-
* <p>The metric for which you want to return information.</p>
|
|
6422
|
-
* <p>Valid distribution metric names are listed below, along with the most useful
|
|
6423
|
-
* <code>statistics</code> to include in your request, and the published <code>unit</code>
|
|
6424
|
-
* value.</p>
|
|
6425
|
-
* <ul>
|
|
6426
|
-
* <li>
|
|
6427
|
-
* <p>
|
|
6428
|
-
* <b>
|
|
6429
|
-
* <code>Requests</code>
|
|
6430
|
-
* </b> - The total number of viewer
|
|
6431
|
-
* requests received by your Lightsail distribution, for all HTTP methods, and for both
|
|
6432
|
-
* HTTP and HTTPS requests.</p>
|
|
6433
|
-
* <p>
|
|
6434
|
-
* <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
|
|
6435
|
-
* <p>
|
|
6436
|
-
* <code>Unit</code>: The published unit is <code>None</code>.</p>
|
|
6437
|
-
* </li>
|
|
6438
|
-
* <li>
|
|
6439
|
-
* <p>
|
|
6440
|
-
* <b>
|
|
6441
|
-
* <code>BytesDownloaded</code>
|
|
6442
|
-
* </b> - The number of bytes
|
|
6443
|
-
* downloaded by viewers for GET, HEAD, and OPTIONS requests.</p>
|
|
6444
|
-
* <p>
|
|
6445
|
-
* <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
|
|
6446
|
-
* <p>
|
|
6447
|
-
* <code>Unit</code>: The published unit is <code>None</code>.</p>
|
|
6448
|
-
* </li>
|
|
6449
|
-
* <li>
|
|
6450
|
-
* <p>
|
|
6451
|
-
* <b>
|
|
6452
|
-
* <code>BytesUploaded </code>
|
|
6453
|
-
* </b> - The number of bytes
|
|
6454
|
-
* uploaded to your origin by your Lightsail distribution, using POST and PUT
|
|
6455
|
-
* requests.</p>
|
|
6456
|
-
* <p>
|
|
6457
|
-
* <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
|
|
6458
|
-
* <p>
|
|
6459
|
-
* <code>Unit</code>: The published unit is <code>None</code>.</p>
|
|
6460
|
-
* </li>
|
|
6461
|
-
* <li>
|
|
6462
|
-
* <p>
|
|
6463
|
-
* <b>
|
|
6464
|
-
* <code>TotalErrorRate</code>
|
|
6465
|
-
* </b> - The percentage of all
|
|
6466
|
-
* viewer requests for which the response's HTTP status code was 4xx or 5xx.</p>
|
|
6467
|
-
* <p>
|
|
6468
|
-
* <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
|
|
6469
|
-
* <p>
|
|
6470
|
-
* <code>Unit</code>: The published unit is <code>Percent</code>.</p>
|
|
6471
|
-
* </li>
|
|
6472
|
-
* <li>
|
|
6473
|
-
* <p>
|
|
6474
|
-
* <b>
|
|
6475
|
-
* <code>4xxErrorRate</code>
|
|
6476
|
-
* </b> - The percentage of all
|
|
6477
|
-
* viewer requests for which the response's HTTP status cod was 4xx. In these cases, the
|
|
6478
|
-
* client or client viewer may have made an error. For example, a status code of 404 (Not
|
|
6479
|
-
* Found) means that the client requested an object that could not be found.</p>
|
|
6480
|
-
* <p>
|
|
6481
|
-
* <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
|
|
6482
|
-
* <p>
|
|
6483
|
-
* <code>Unit</code>: The published unit is <code>Percent</code>.</p>
|
|
6484
|
-
* </li>
|
|
6485
|
-
* <li>
|
|
6486
|
-
* <p>
|
|
6487
|
-
* <b>
|
|
6488
|
-
* <code>5xxErrorRate</code>
|
|
6489
|
-
* </b> - The percentage of all
|
|
6490
|
-
* viewer requests for which the response's HTTP status code was 5xx. In these cases, the
|
|
6491
|
-
* origin server did not satisfy the requests. For example, a status code of 503 (Service
|
|
6492
|
-
* Unavailable) means that the origin server is currently unavailable.</p>
|
|
6493
|
-
* <p>
|
|
6494
|
-
* <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
|
|
6495
|
-
* <p>
|
|
6496
|
-
* <code>Unit</code>: The published unit is <code>Percent</code>.</p>
|
|
6497
|
-
* </li>
|
|
6498
|
-
* </ul>
|
|
6499
|
-
*/
|
|
6500
|
-
metricName: DistributionMetricName | string | undefined;
|
|
6501
|
-
/**
|
|
6502
|
-
* <p>The start of the time interval for which to get metric data.</p>
|
|
6503
|
-
* <p>Constraints:</p>
|
|
6504
|
-
* <ul>
|
|
6505
|
-
* <li>
|
|
6506
|
-
* <p>Specified in Coordinated Universal Time (UTC).</p>
|
|
6507
|
-
* </li>
|
|
6508
|
-
* <li>
|
|
6509
|
-
* <p>Specified in the Unix time format.</p>
|
|
6510
|
-
* <p>For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify
|
|
6511
|
-
* <code>1538424000</code> as the start time.</p>
|
|
6512
|
-
* </li>
|
|
6513
|
-
* </ul>
|
|
6514
|
-
* <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>
|
|
6515
|
-
*/
|
|
6516
|
-
startTime: Date | undefined;
|
|
6517
|
-
/**
|
|
6518
|
-
* <p>The end of the time interval for which to get metric data.</p>
|
|
6519
|
-
* <p>Constraints:</p>
|
|
6520
|
-
* <ul>
|
|
6521
|
-
* <li>
|
|
6522
|
-
* <p>Specified in Coordinated Universal Time (UTC).</p>
|
|
6523
|
-
* </li>
|
|
6524
|
-
* <li>
|
|
6525
|
-
* <p>Specified in the Unix time format.</p>
|
|
6526
|
-
* <p>For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify
|
|
6527
|
-
* <code>1538427600</code> as the end time.</p>
|
|
6528
|
-
* </li>
|
|
6529
|
-
* </ul>
|
|
6530
|
-
* <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>
|
|
6531
|
-
*/
|
|
6532
|
-
endTime: Date | undefined;
|
|
6533
|
-
/**
|
|
6534
|
-
* <p>The granularity, in seconds, for the metric data points that will be returned.</p>
|
|
6535
|
-
*/
|
|
6536
|
-
period: number | undefined;
|
|
6537
|
-
/**
|
|
6538
|
-
* <p>The unit for the metric data request.</p>
|
|
6539
|
-
* <p>Valid units depend on the metric data being requested. For the valid units with each
|
|
6540
|
-
* available metric, see the <code>metricName</code> parameter.</p>
|
|
6541
|
-
*/
|
|
6542
|
-
unit: MetricUnit | string | undefined;
|
|
6543
|
-
/**
|
|
6544
|
-
* <p>The statistic for the metric.</p>
|
|
6545
|
-
* <p>The following statistics are available:</p>
|
|
6546
|
-
* <ul>
|
|
6547
|
-
* <li>
|
|
6548
|
-
* <p>
|
|
6549
|
-
* <code>Minimum</code> - The lowest value observed during the specified period. Use this
|
|
6550
|
-
* value to determine low volumes of activity for your application.</p>
|
|
6551
|
-
* </li>
|
|
6552
|
-
* <li>
|
|
6553
|
-
* <p>
|
|
6554
|
-
* <code>Maximum</code> - The highest value observed during the specified period. Use
|
|
6555
|
-
* this value to determine high volumes of activity for your application.</p>
|
|
6556
|
-
* </li>
|
|
6557
|
-
* <li>
|
|
6558
|
-
* <p>
|
|
6559
|
-
* <code>Sum</code> - All values submitted for the matching metric added together. You
|
|
6560
|
-
* can use this statistic to determine the total volume of a metric.</p>
|
|
6561
|
-
* </li>
|
|
6562
|
-
* <li>
|
|
6563
|
-
* <p>
|
|
6564
|
-
* <code>Average</code> - The value of Sum / SampleCount during the specified period. By
|
|
6565
|
-
* comparing this statistic with the Minimum and Maximum values, you can determine the full
|
|
6566
|
-
* scope of a metric and how close the average use is to the Minimum and Maximum values. This
|
|
6567
|
-
* comparison helps you to know when to increase or decrease your resources.</p>
|
|
6568
|
-
* </li>
|
|
6569
|
-
* <li>
|
|
6570
|
-
* <p>
|
|
6571
|
-
* <code>SampleCount</code> - The count, or number, of data points used for the
|
|
6572
|
-
* statistical calculation.</p>
|
|
6573
|
-
* </li>
|
|
6574
|
-
* </ul>
|
|
6575
|
-
*/
|
|
6576
|
-
statistics: (MetricStatistic | string)[] | undefined;
|
|
6577
|
-
}
|
|
6578
|
-
export interface GetDistributionMetricDataResult {
|
|
6579
|
-
/**
|
|
6580
|
-
* <p>The name of the metric returned.</p>
|
|
6581
|
-
*/
|
|
6582
|
-
metricName?: DistributionMetricName | string;
|
|
6583
|
-
/**
|
|
6584
|
-
* <p>An array of objects that describe the metric data returned.</p>
|
|
6585
|
-
*/
|
|
6586
|
-
metricData?: MetricDatapoint[];
|
|
6587
|
-
}
|
|
6588
|
-
export interface GetDistributionsRequest {
|
|
6589
|
-
/**
|
|
6590
|
-
* <p>The name of the distribution for which to return information.</p>
|
|
6591
|
-
*
|
|
6592
|
-
* <p>When omitted, the response includes all of your distributions in the Amazon Web Services
|
|
6593
|
-
* Region where the request is made.</p>
|
|
6594
|
-
*/
|
|
6595
|
-
distributionName?: string;
|
|
6596
|
-
/**
|
|
6597
|
-
* <p>The token to advance to the next page of results from your request.</p>
|
|
6598
|
-
* <p>To get a page token, perform an initial <code>GetDistributions</code> request. If your
|
|
6599
|
-
* results are paginated, the response will return a next page token that you can specify as the
|
|
6600
|
-
* page token in a subsequent request.</p>
|
|
6601
|
-
*/
|
|
6602
|
-
pageToken?: string;
|
|
6603
|
-
}
|
|
6604
|
-
export interface GetDistributionsResult {
|
|
6605
|
-
/**
|
|
6606
|
-
* <p>An array of objects that describe your distributions.</p>
|
|
6607
|
-
*/
|
|
6608
|
-
distributions?: LightsailDistribution[];
|
|
6609
|
-
/**
|
|
6610
|
-
* <p>The token to advance to the next page of results from your request.</p>
|
|
6611
|
-
* <p>A next page token is not returned if there are no more results to display.</p>
|
|
6612
|
-
* <p>To get the next page of results, perform another <code>GetDistributions</code> request and
|
|
6613
|
-
* specify the next page token using the <code>pageToken</code> parameter.</p>
|
|
6614
|
-
*/
|
|
6615
|
-
nextPageToken?: string;
|
|
6616
|
-
}
|
|
6617
|
-
export interface GetDomainRequest {
|
|
6618
|
-
/**
|
|
6619
|
-
* <p>The domain name for which your want to return information about.</p>
|
|
6620
|
-
*/
|
|
6621
|
-
domainName: string | undefined;
|
|
6622
|
-
}
|
|
6623
|
-
export interface GetDomainResult {
|
|
6624
|
-
/**
|
|
6625
|
-
* <p>An array of key-value pairs containing information about your get domain request.</p>
|
|
6626
|
-
*/
|
|
6627
|
-
domain?: Domain;
|
|
6628
|
-
}
|
|
6629
|
-
export interface GetDomainsRequest {
|
|
6630
|
-
/**
|
|
6631
|
-
* <p>The token to advance to the next page of results from your request.</p>
|
|
6632
|
-
* <p>To get a page token, perform an initial <code>GetDomains</code> request. If your results
|
|
6633
|
-
* are paginated, the response will return a next page token that you can specify as the page
|
|
6634
|
-
* token in a subsequent request.</p>
|
|
6635
|
-
*/
|
|
6636
|
-
pageToken?: string;
|
|
6637
|
-
}
|
|
6638
|
-
export interface GetDomainsResult {
|
|
6639
|
-
/**
|
|
6640
|
-
* <p>An array of key-value pairs containing information about each of the domain entries in the
|
|
6641
|
-
* user's account.</p>
|
|
6642
|
-
*/
|
|
6643
|
-
domains?: Domain[];
|
|
6644
|
-
/**
|
|
6645
|
-
* <p>The token to advance to the next page of results from your request.</p>
|
|
6646
|
-
* <p>A next page token is not returned if there are no more results to display.</p>
|
|
6647
|
-
* <p>To get the next page of results, perform another <code>GetDomains</code> request and
|
|
6648
|
-
* specify the next page token using the <code>pageToken</code> parameter.</p>
|
|
6649
|
-
*/
|
|
6650
|
-
nextPageToken?: string;
|
|
6651
|
-
}
|
|
6652
6607
|
/**
|
|
6653
6608
|
* @internal
|
|
6654
6609
|
*/
|
|
@@ -6813,6 +6768,10 @@ export declare const QueryStringObjectFilterSensitiveLog: (obj: QueryStringObjec
|
|
|
6813
6768
|
* @internal
|
|
6814
6769
|
*/
|
|
6815
6770
|
export declare const CacheSettingsFilterSensitiveLog: (obj: CacheSettings) => any;
|
|
6771
|
+
/**
|
|
6772
|
+
* @internal
|
|
6773
|
+
*/
|
|
6774
|
+
export declare const DnsRecordCreationStateFilterSensitiveLog: (obj: DnsRecordCreationState) => any;
|
|
6816
6775
|
/**
|
|
6817
6776
|
* @internal
|
|
6818
6777
|
*/
|
|
@@ -7373,6 +7332,18 @@ export declare const DiskSnapshotInfoFilterSensitiveLog: (obj: DiskSnapshotInfo)
|
|
|
7373
7332
|
* @internal
|
|
7374
7333
|
*/
|
|
7375
7334
|
export declare const DistributionBundleFilterSensitiveLog: (obj: DistributionBundle) => any;
|
|
7335
|
+
/**
|
|
7336
|
+
* @internal
|
|
7337
|
+
*/
|
|
7338
|
+
export declare const NameServersUpdateStateFilterSensitiveLog: (obj: NameServersUpdateState) => any;
|
|
7339
|
+
/**
|
|
7340
|
+
* @internal
|
|
7341
|
+
*/
|
|
7342
|
+
export declare const R53HostedZoneDeletionStateFilterSensitiveLog: (obj: R53HostedZoneDeletionState) => any;
|
|
7343
|
+
/**
|
|
7344
|
+
* @internal
|
|
7345
|
+
*/
|
|
7346
|
+
export declare const RegisteredDomainDelegationInfoFilterSensitiveLog: (obj: RegisteredDomainDelegationInfo) => any;
|
|
7376
7347
|
/**
|
|
7377
7348
|
* @internal
|
|
7378
7349
|
*/
|
|
@@ -7613,35 +7584,3 @@ export declare const GetDistributionLatestCacheResetRequestFilterSensitiveLog: (
|
|
|
7613
7584
|
* @internal
|
|
7614
7585
|
*/
|
|
7615
7586
|
export declare const GetDistributionLatestCacheResetResultFilterSensitiveLog: (obj: GetDistributionLatestCacheResetResult) => any;
|
|
7616
|
-
/**
|
|
7617
|
-
* @internal
|
|
7618
|
-
*/
|
|
7619
|
-
export declare const GetDistributionMetricDataRequestFilterSensitiveLog: (obj: GetDistributionMetricDataRequest) => any;
|
|
7620
|
-
/**
|
|
7621
|
-
* @internal
|
|
7622
|
-
*/
|
|
7623
|
-
export declare const GetDistributionMetricDataResultFilterSensitiveLog: (obj: GetDistributionMetricDataResult) => any;
|
|
7624
|
-
/**
|
|
7625
|
-
* @internal
|
|
7626
|
-
*/
|
|
7627
|
-
export declare const GetDistributionsRequestFilterSensitiveLog: (obj: GetDistributionsRequest) => any;
|
|
7628
|
-
/**
|
|
7629
|
-
* @internal
|
|
7630
|
-
*/
|
|
7631
|
-
export declare const GetDistributionsResultFilterSensitiveLog: (obj: GetDistributionsResult) => any;
|
|
7632
|
-
/**
|
|
7633
|
-
* @internal
|
|
7634
|
-
*/
|
|
7635
|
-
export declare const GetDomainRequestFilterSensitiveLog: (obj: GetDomainRequest) => any;
|
|
7636
|
-
/**
|
|
7637
|
-
* @internal
|
|
7638
|
-
*/
|
|
7639
|
-
export declare const GetDomainResultFilterSensitiveLog: (obj: GetDomainResult) => any;
|
|
7640
|
-
/**
|
|
7641
|
-
* @internal
|
|
7642
|
-
*/
|
|
7643
|
-
export declare const GetDomainsRequestFilterSensitiveLog: (obj: GetDomainsRequest) => any;
|
|
7644
|
-
/**
|
|
7645
|
-
* @internal
|
|
7646
|
-
*/
|
|
7647
|
-
export declare const GetDomainsResultFilterSensitiveLog: (obj: GetDomainsResult) => any;
|