@aws-sdk/client-lightsail 3.321.1 → 3.326.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/dist-types/commands/AllocateStaticIpCommand.d.ts +24 -0
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +22 -0
- package/dist-types/commands/AttachDiskCommand.d.ts +24 -0
- package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +24 -0
- package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +24 -0
- package/dist-types/commands/AttachStaticIpCommand.d.ts +24 -0
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +22 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +24 -0
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +35 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +67 -0
- package/dist-types/commands/CreateCertificateCommand.d.ts +98 -0
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +24 -0
- package/dist-types/commands/CreateContactMethodCommand.d.ts +24 -0
- package/dist-types/commands/CreateContainerServiceCommand.d.ts +106 -0
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +106 -0
- package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +11 -0
- package/dist-types/commands/CreateDiskCommand.d.ts +24 -0
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +90 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +22 -0
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +22 -0
- package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +16 -0
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/CreateInstancesCommand.d.ts +24 -0
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/CreateKeyPairCommand.d.ts +42 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +24 -0
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +24 -0
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +24 -0
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/DeleteAlarmCommand.d.ts +24 -0
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +24 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +24 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +24 -0
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +24 -0
- package/dist-types/commands/DeleteContainerImageCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContainerServiceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDiskCommand.d.ts +24 -0
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +22 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +22 -0
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +22 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +24 -0
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +22 -0
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +24 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +24 -0
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +24 -0
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +24 -0
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +22 -0
- package/dist-types/commands/DetachDiskCommand.d.ts +24 -0
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +24 -0
- package/dist-types/commands/DetachStaticIpCommand.d.ts +24 -0
- package/dist-types/commands/DisableAddOnCommand.d.ts +24 -0
- package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +8 -0
- package/dist-types/commands/EnableAddOnCommand.d.ts +24 -0
- package/dist-types/commands/ExportSnapshotCommand.d.ts +24 -0
- package/dist-types/commands/GetActiveNamesCommand.d.ts +9 -0
- package/dist-types/commands/GetAlarmsCommand.d.ts +41 -0
- package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +20 -0
- package/dist-types/commands/GetBlueprintsCommand.d.ts +23 -0
- package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +18 -0
- package/dist-types/commands/GetBucketBundlesCommand.d.ts +15 -0
- package/dist-types/commands/GetBucketMetricDataCommand.d.ts +17 -0
- package/dist-types/commands/GetBucketsCommand.d.ts +57 -0
- package/dist-types/commands/GetBundlesCommand.d.ts +26 -0
- package/dist-types/commands/GetCertificatesCommand.d.ts +81 -0
- package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +30 -0
- package/dist-types/commands/GetContactMethodsCommand.d.ts +21 -0
- package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +10 -0
- package/dist-types/commands/GetContainerImagesCommand.d.ts +12 -0
- package/dist-types/commands/GetContainerLogCommand.d.ts +12 -0
- package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +38 -0
- package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +17 -0
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +15 -0
- package/dist-types/commands/GetContainerServicesCommand.d.ts +108 -0
- package/dist-types/commands/GetCostEstimateCommand.d.ts +30 -0
- package/dist-types/commands/GetDiskCommand.d.ts +42 -0
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +30 -0
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +33 -0
- package/dist-types/commands/GetDisksCommand.d.ts +45 -0
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +14 -0
- package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +7 -0
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +17 -0
- package/dist-types/commands/GetDistributionsCommand.d.ts +76 -0
- package/dist-types/commands/GetDomainCommand.d.ts +44 -0
- package/dist-types/commands/GetDomainsCommand.d.ts +47 -0
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +46 -0
- package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +30 -0
- package/dist-types/commands/GetInstanceCommand.d.ts +123 -0
- package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +17 -0
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +22 -0
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +69 -0
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +72 -0
- package/dist-types/commands/GetInstanceStateCommand.d.ts +9 -0
- package/dist-types/commands/GetInstancesCommand.d.ts +126 -0
- package/dist-types/commands/GetKeyPairCommand.d.ts +23 -0
- package/dist-types/commands/GetKeyPairsCommand.d.ts +26 -0
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +49 -0
- package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +17 -0
- package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +64 -0
- package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +19 -0
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +52 -0
- package/dist-types/commands/GetOperationCommand.d.ts +22 -0
- package/dist-types/commands/GetOperationsCommand.d.ts +25 -0
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +26 -0
- package/dist-types/commands/GetRegionsCommand.d.ts +25 -0
- package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +16 -0
- package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +19 -0
- package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +58 -0
- package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +16 -0
- package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +13 -0
- package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +8 -0
- package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +7 -0
- package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +17 -0
- package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +18 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +30 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +33 -0
- package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +61 -0
- package/dist-types/commands/GetStaticIpCommand.d.ts +19 -0
- package/dist-types/commands/GetStaticIpsCommand.d.ts +22 -0
- package/dist-types/commands/ImportKeyPairCommand.d.ts +22 -0
- package/dist-types/commands/IsVpcPeeredCommand.d.ts +6 -0
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +22 -0
- package/dist-types/commands/PeerVpcCommand.d.ts +22 -0
- package/dist-types/commands/PutAlarmCommand.d.ts +24 -0
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +22 -0
- package/dist-types/commands/RebootInstanceCommand.d.ts +24 -0
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +24 -0
- package/dist-types/commands/RegisterContainerImageCommand.d.ts +10 -0
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +24 -0
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +24 -0
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +24 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +24 -0
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +24 -0
- package/dist-types/commands/StartGUISessionCommand.d.ts +24 -0
- package/dist-types/commands/StartInstanceCommand.d.ts +24 -0
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +24 -0
- package/dist-types/commands/StopGUISessionCommand.d.ts +24 -0
- package/dist-types/commands/StopInstanceCommand.d.ts +24 -0
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +24 -0
- package/dist-types/commands/TagResourceCommand.d.ts +24 -0
- package/dist-types/commands/TestAlarmCommand.d.ts +24 -0
- package/dist-types/commands/UnpeerVpcCommand.d.ts +22 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +24 -0
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +24 -0
- package/dist-types/commands/UpdateBucketCommand.d.ts +67 -0
- package/dist-types/commands/UpdateContainerServiceCommand.d.ts +106 -0
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +22 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +24 -0
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +22 -0
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +24 -0
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +24 -0
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +24 -0
- package/package.json +16 -16
|
@@ -41,6 +41,21 @@ export interface GetContainerServiceMetricDataCommandOutput extends GetContainer
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new GetContainerServiceMetricDataCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // GetContainerServiceMetricDataResult
|
|
45
|
+
* // metricName: "CPUUtilization" || "MemoryUtilization",
|
|
46
|
+
* // metricData: [ // MetricDatapointList
|
|
47
|
+
* // { // MetricDatapoint
|
|
48
|
+
* // average: Number("double"),
|
|
49
|
+
* // maximum: Number("double"),
|
|
50
|
+
* // minimum: Number("double"),
|
|
51
|
+
* // sampleCount: Number("double"),
|
|
52
|
+
* // sum: Number("double"),
|
|
53
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
54
|
+
* // unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
44
59
|
* ```
|
|
45
60
|
*
|
|
46
61
|
* @param GetContainerServiceMetricDataCommandInput - {@link GetContainerServiceMetricDataCommandInput}
|
|
@@ -72,6 +87,8 @@ export interface GetContainerServiceMetricDataCommandOutput extends GetContainer
|
|
|
72
87
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
73
88
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
74
89
|
*
|
|
90
|
+
* @throws {@link LightsailServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
75
92
|
*
|
|
76
93
|
*/
|
|
77
94
|
export declare class GetContainerServiceMetricDataCommand extends $Command<GetContainerServiceMetricDataCommandInput, GetContainerServiceMetricDataCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -32,6 +32,19 @@ export interface GetContainerServicePowersCommandOutput extends GetContainerServ
|
|
|
32
32
|
* const input = {};
|
|
33
33
|
* const command = new GetContainerServicePowersCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetContainerServicePowersResult
|
|
36
|
+
* // powers: [ // ContainerServicePowerList
|
|
37
|
+
* // { // ContainerServicePower
|
|
38
|
+
* // powerId: "STRING_VALUE",
|
|
39
|
+
* // price: Number("float"),
|
|
40
|
+
* // cpuCount: Number("float"),
|
|
41
|
+
* // ramSizeInGb: Number("float"),
|
|
42
|
+
* // name: "STRING_VALUE",
|
|
43
|
+
* // isActive: true || false,
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
35
48
|
* ```
|
|
36
49
|
*
|
|
37
50
|
* @param GetContainerServicePowersCommandInput - {@link GetContainerServicePowersCommandInput}
|
|
@@ -63,6 +76,8 @@ export interface GetContainerServicePowersCommandOutput extends GetContainerServ
|
|
|
63
76
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
64
77
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
65
78
|
*
|
|
79
|
+
* @throws {@link LightsailServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
66
81
|
*
|
|
67
82
|
*/
|
|
68
83
|
export declare class GetContainerServicePowersCommand extends $Command<GetContainerServicePowersCommandInput, GetContainerServicePowersCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -31,6 +31,112 @@ export interface GetContainerServicesCommandOutput extends ContainerServicesList
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetContainerServicesCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ContainerServicesListResult
|
|
35
|
+
* // containerServices: [ // ContainerServiceList
|
|
36
|
+
* // { // ContainerService
|
|
37
|
+
* // containerServiceName: "STRING_VALUE",
|
|
38
|
+
* // arn: "STRING_VALUE",
|
|
39
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
40
|
+
* // location: { // ResourceLocation
|
|
41
|
+
* // availabilityZone: "STRING_VALUE",
|
|
42
|
+
* // regionName: "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",
|
|
43
|
+
* // },
|
|
44
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
45
|
+
* // tags: [ // TagList
|
|
46
|
+
* // { // Tag
|
|
47
|
+
* // key: "STRING_VALUE",
|
|
48
|
+
* // value: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // power: "nano" || "micro" || "small" || "medium" || "large" || "xlarge",
|
|
52
|
+
* // powerId: "STRING_VALUE",
|
|
53
|
+
* // state: "PENDING" || "READY" || "RUNNING" || "UPDATING" || "DELETING" || "DISABLED" || "DEPLOYING",
|
|
54
|
+
* // stateDetail: { // ContainerServiceStateDetail
|
|
55
|
+
* // code: "CREATING_SYSTEM_RESOURCES" || "CREATING_NETWORK_INFRASTRUCTURE" || "PROVISIONING_CERTIFICATE" || "PROVISIONING_SERVICE" || "CREATING_DEPLOYMENT" || "EVALUATING_HEALTH_CHECK" || "ACTIVATING_DEPLOYMENT" || "CERTIFICATE_LIMIT_EXCEEDED" || "UNKNOWN_ERROR",
|
|
56
|
+
* // message: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // scale: Number("int"),
|
|
59
|
+
* // currentDeployment: { // ContainerServiceDeployment
|
|
60
|
+
* // version: Number("int"),
|
|
61
|
+
* // state: "ACTIVATING" || "ACTIVE" || "INACTIVE" || "FAILED",
|
|
62
|
+
* // containers: { // ContainerMap
|
|
63
|
+
* // "<keys>": { // Container
|
|
64
|
+
* // image: "STRING_VALUE",
|
|
65
|
+
* // command: [ // StringList
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // environment: { // Environment
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ports: { // PortMap
|
|
72
|
+
* // "<keys>": "HTTP" || "HTTPS" || "TCP" || "UDP",
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // publicEndpoint: { // ContainerServiceEndpoint
|
|
77
|
+
* // containerName: "STRING_VALUE",
|
|
78
|
+
* // containerPort: Number("int"),
|
|
79
|
+
* // healthCheck: { // ContainerServiceHealthCheckConfig
|
|
80
|
+
* // healthyThreshold: Number("int"),
|
|
81
|
+
* // unhealthyThreshold: Number("int"),
|
|
82
|
+
* // timeoutSeconds: Number("int"),
|
|
83
|
+
* // intervalSeconds: Number("int"),
|
|
84
|
+
* // path: "STRING_VALUE",
|
|
85
|
+
* // successCodes: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
89
|
+
* // },
|
|
90
|
+
* // nextDeployment: {
|
|
91
|
+
* // version: Number("int"),
|
|
92
|
+
* // state: "ACTIVATING" || "ACTIVE" || "INACTIVE" || "FAILED",
|
|
93
|
+
* // containers: {
|
|
94
|
+
* // "<keys>": {
|
|
95
|
+
* // image: "STRING_VALUE",
|
|
96
|
+
* // command: [
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // environment: {
|
|
100
|
+
* // "<keys>": "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // ports: {
|
|
103
|
+
* // "<keys>": "HTTP" || "HTTPS" || "TCP" || "UDP",
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // publicEndpoint: {
|
|
108
|
+
* // containerName: "STRING_VALUE",
|
|
109
|
+
* // containerPort: Number("int"),
|
|
110
|
+
* // healthCheck: {
|
|
111
|
+
* // healthyThreshold: Number("int"),
|
|
112
|
+
* // unhealthyThreshold: Number("int"),
|
|
113
|
+
* // timeoutSeconds: Number("int"),
|
|
114
|
+
* // intervalSeconds: Number("int"),
|
|
115
|
+
* // path: "STRING_VALUE",
|
|
116
|
+
* // successCodes: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
120
|
+
* // },
|
|
121
|
+
* // isDisabled: true || false,
|
|
122
|
+
* // principalArn: "STRING_VALUE",
|
|
123
|
+
* // privateDomainName: "STRING_VALUE",
|
|
124
|
+
* // publicDomainNames: { // ContainerServicePublicDomains
|
|
125
|
+
* // "<keys>": [ // ContainerServicePublicDomainsList
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // url: "STRING_VALUE",
|
|
130
|
+
* // privateRegistryAccess: { // PrivateRegistryAccess
|
|
131
|
+
* // ecrImagePullerRole: { // ContainerServiceECRImagePullerRole
|
|
132
|
+
* // isActive: true || false,
|
|
133
|
+
* // principalArn: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // };
|
|
139
|
+
*
|
|
34
140
|
* ```
|
|
35
141
|
*
|
|
36
142
|
* @param GetContainerServicesCommandInput - {@link GetContainerServicesCommandInput}
|
|
@@ -62,6 +168,8 @@ export interface GetContainerServicesCommandOutput extends ContainerServicesList
|
|
|
62
168
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
63
169
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
64
170
|
*
|
|
171
|
+
* @throws {@link LightsailServiceException}
|
|
172
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
65
173
|
*
|
|
66
174
|
*/
|
|
67
175
|
export declare class GetContainerServicesCommand extends $Command<GetContainerServicesCommandInput, GetContainerServicesCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -33,6 +33,34 @@ export interface GetCostEstimateCommandOutput extends GetCostEstimateResult, __M
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetCostEstimateCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetCostEstimateResult
|
|
37
|
+
* // resourcesBudgetEstimate: [ // ResourcesBudgetEstimate
|
|
38
|
+
* // { // ResourceBudgetEstimate
|
|
39
|
+
* // resourceName: "STRING_VALUE",
|
|
40
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
41
|
+
* // costEstimates: [ // CostEstimates
|
|
42
|
+
* // { // CostEstimate
|
|
43
|
+
* // usageType: "STRING_VALUE",
|
|
44
|
+
* // resultsByTime: [ // EstimatesByTime
|
|
45
|
+
* // { // EstimateByTime
|
|
46
|
+
* // usageCost: Number("double"),
|
|
47
|
+
* // pricingUnit: "GB" || "Hrs" || "GB-Mo" || "Bundles" || "Queries",
|
|
48
|
+
* // unit: Number("double"),
|
|
49
|
+
* // currency: "USD",
|
|
50
|
+
* // timePeriod: { // TimePeriod
|
|
51
|
+
* // start: new Date("TIMESTAMP"),
|
|
52
|
+
* // end: new Date("TIMESTAMP"),
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
36
64
|
* ```
|
|
37
65
|
*
|
|
38
66
|
* @param GetCostEstimateCommandInput - {@link GetCostEstimateCommandInput}
|
|
@@ -64,6 +92,8 @@ export interface GetCostEstimateCommandOutput extends GetCostEstimateResult, __M
|
|
|
64
92
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
65
93
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
66
94
|
*
|
|
95
|
+
* @throws {@link LightsailServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
67
97
|
*
|
|
68
98
|
*/
|
|
69
99
|
export declare class GetCostEstimateCommand extends $Command<GetCostEstimateCommandInput, GetCostEstimateCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -31,6 +31,46 @@ export interface GetDiskCommandOutput extends GetDiskResult, __MetadataBearer {
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetDiskCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetDiskResult
|
|
35
|
+
* // disk: { // Disk
|
|
36
|
+
* // name: "STRING_VALUE",
|
|
37
|
+
* // arn: "STRING_VALUE",
|
|
38
|
+
* // supportCode: "STRING_VALUE",
|
|
39
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
40
|
+
* // location: { // ResourceLocation
|
|
41
|
+
* // availabilityZone: "STRING_VALUE",
|
|
42
|
+
* // regionName: "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",
|
|
43
|
+
* // },
|
|
44
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
45
|
+
* // tags: [ // TagList
|
|
46
|
+
* // { // Tag
|
|
47
|
+
* // key: "STRING_VALUE",
|
|
48
|
+
* // value: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // addOns: [ // AddOnList
|
|
52
|
+
* // { // AddOn
|
|
53
|
+
* // name: "STRING_VALUE",
|
|
54
|
+
* // status: "STRING_VALUE",
|
|
55
|
+
* // snapshotTimeOfDay: "STRING_VALUE",
|
|
56
|
+
* // nextSnapshotTimeOfDay: "STRING_VALUE",
|
|
57
|
+
* // threshold: "STRING_VALUE",
|
|
58
|
+
* // duration: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // sizeInGb: Number("int"),
|
|
62
|
+
* // isSystemDisk: true || false,
|
|
63
|
+
* // iops: Number("int"),
|
|
64
|
+
* // path: "STRING_VALUE",
|
|
65
|
+
* // state: "pending" || "error" || "available" || "in-use" || "unknown",
|
|
66
|
+
* // attachedTo: "STRING_VALUE",
|
|
67
|
+
* // isAttached: true || false,
|
|
68
|
+
* // attachmentState: "STRING_VALUE",
|
|
69
|
+
* // gbInUse: Number("int"),
|
|
70
|
+
* // autoMountStatus: "Failed" || "Pending" || "Mounted" || "NotMounted",
|
|
71
|
+
* // },
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
34
74
|
* ```
|
|
35
75
|
*
|
|
36
76
|
* @param GetDiskCommandInput - {@link GetDiskCommandInput}
|
|
@@ -69,6 +109,8 @@ export interface GetDiskCommandOutput extends GetDiskResult, __MetadataBearer {
|
|
|
69
109
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
70
110
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
71
111
|
*
|
|
112
|
+
* @throws {@link LightsailServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
72
114
|
*
|
|
73
115
|
*/
|
|
74
116
|
export declare class GetDiskCommand extends $Command<GetDiskCommandInput, GetDiskCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -31,6 +31,34 @@ export interface GetDiskSnapshotCommandOutput extends GetDiskSnapshotResult, __M
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetDiskSnapshotCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetDiskSnapshotResult
|
|
35
|
+
* // diskSnapshot: { // DiskSnapshot
|
|
36
|
+
* // name: "STRING_VALUE",
|
|
37
|
+
* // arn: "STRING_VALUE",
|
|
38
|
+
* // supportCode: "STRING_VALUE",
|
|
39
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
40
|
+
* // location: { // ResourceLocation
|
|
41
|
+
* // availabilityZone: "STRING_VALUE",
|
|
42
|
+
* // regionName: "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",
|
|
43
|
+
* // },
|
|
44
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
45
|
+
* // tags: [ // TagList
|
|
46
|
+
* // { // Tag
|
|
47
|
+
* // key: "STRING_VALUE",
|
|
48
|
+
* // value: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // sizeInGb: Number("int"),
|
|
52
|
+
* // state: "pending" || "completed" || "error" || "unknown",
|
|
53
|
+
* // progress: "STRING_VALUE",
|
|
54
|
+
* // fromDiskName: "STRING_VALUE",
|
|
55
|
+
* // fromDiskArn: "STRING_VALUE",
|
|
56
|
+
* // fromInstanceName: "STRING_VALUE",
|
|
57
|
+
* // fromInstanceArn: "STRING_VALUE",
|
|
58
|
+
* // isFromAutoSnapshot: true || false,
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
34
62
|
* ```
|
|
35
63
|
*
|
|
36
64
|
* @param GetDiskSnapshotCommandInput - {@link GetDiskSnapshotCommandInput}
|
|
@@ -69,6 +97,8 @@ export interface GetDiskSnapshotCommandOutput extends GetDiskSnapshotResult, __M
|
|
|
69
97
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
70
98
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
71
99
|
*
|
|
100
|
+
* @throws {@link LightsailServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
72
102
|
*
|
|
73
103
|
*/
|
|
74
104
|
export declare class GetDiskSnapshotCommand extends $Command<GetDiskSnapshotCommandInput, GetDiskSnapshotCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -32,6 +32,37 @@ export interface GetDiskSnapshotsCommandOutput extends GetDiskSnapshotsResult, _
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetDiskSnapshotsCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetDiskSnapshotsResult
|
|
36
|
+
* // diskSnapshots: [ // DiskSnapshotList
|
|
37
|
+
* // { // DiskSnapshot
|
|
38
|
+
* // name: "STRING_VALUE",
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // supportCode: "STRING_VALUE",
|
|
41
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
42
|
+
* // location: { // ResourceLocation
|
|
43
|
+
* // availabilityZone: "STRING_VALUE",
|
|
44
|
+
* // regionName: "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",
|
|
45
|
+
* // },
|
|
46
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
47
|
+
* // tags: [ // TagList
|
|
48
|
+
* // { // Tag
|
|
49
|
+
* // key: "STRING_VALUE",
|
|
50
|
+
* // value: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // sizeInGb: Number("int"),
|
|
54
|
+
* // state: "pending" || "completed" || "error" || "unknown",
|
|
55
|
+
* // progress: "STRING_VALUE",
|
|
56
|
+
* // fromDiskName: "STRING_VALUE",
|
|
57
|
+
* // fromDiskArn: "STRING_VALUE",
|
|
58
|
+
* // fromInstanceName: "STRING_VALUE",
|
|
59
|
+
* // fromInstanceArn: "STRING_VALUE",
|
|
60
|
+
* // isFromAutoSnapshot: true || false,
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextPageToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
35
66
|
* ```
|
|
36
67
|
*
|
|
37
68
|
* @param GetDiskSnapshotsCommandInput - {@link GetDiskSnapshotsCommandInput}
|
|
@@ -70,6 +101,8 @@ export interface GetDiskSnapshotsCommandOutput extends GetDiskSnapshotsResult, _
|
|
|
70
101
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
71
102
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
72
103
|
*
|
|
104
|
+
* @throws {@link LightsailServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
73
106
|
*
|
|
74
107
|
*/
|
|
75
108
|
export declare class GetDiskSnapshotsCommand extends $Command<GetDiskSnapshotsCommandInput, GetDiskSnapshotsCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -31,6 +31,49 @@ export interface GetDisksCommandOutput extends GetDisksResult, __MetadataBearer
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetDisksCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetDisksResult
|
|
35
|
+
* // disks: [ // DiskList
|
|
36
|
+
* // { // Disk
|
|
37
|
+
* // name: "STRING_VALUE",
|
|
38
|
+
* // arn: "STRING_VALUE",
|
|
39
|
+
* // supportCode: "STRING_VALUE",
|
|
40
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
41
|
+
* // location: { // ResourceLocation
|
|
42
|
+
* // availabilityZone: "STRING_VALUE",
|
|
43
|
+
* // regionName: "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",
|
|
44
|
+
* // },
|
|
45
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
46
|
+
* // tags: [ // TagList
|
|
47
|
+
* // { // Tag
|
|
48
|
+
* // key: "STRING_VALUE",
|
|
49
|
+
* // value: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // addOns: [ // AddOnList
|
|
53
|
+
* // { // AddOn
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // status: "STRING_VALUE",
|
|
56
|
+
* // snapshotTimeOfDay: "STRING_VALUE",
|
|
57
|
+
* // nextSnapshotTimeOfDay: "STRING_VALUE",
|
|
58
|
+
* // threshold: "STRING_VALUE",
|
|
59
|
+
* // duration: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // sizeInGb: Number("int"),
|
|
63
|
+
* // isSystemDisk: true || false,
|
|
64
|
+
* // iops: Number("int"),
|
|
65
|
+
* // path: "STRING_VALUE",
|
|
66
|
+
* // state: "pending" || "error" || "available" || "in-use" || "unknown",
|
|
67
|
+
* // attachedTo: "STRING_VALUE",
|
|
68
|
+
* // isAttached: true || false,
|
|
69
|
+
* // attachmentState: "STRING_VALUE",
|
|
70
|
+
* // gbInUse: Number("int"),
|
|
71
|
+
* // autoMountStatus: "Failed" || "Pending" || "Mounted" || "NotMounted",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // nextPageToken: "STRING_VALUE",
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
34
77
|
* ```
|
|
35
78
|
*
|
|
36
79
|
* @param GetDisksCommandInput - {@link GetDisksCommandInput}
|
|
@@ -69,6 +112,8 @@ export interface GetDisksCommandOutput extends GetDisksResult, __MetadataBearer
|
|
|
69
112
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
70
113
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
71
114
|
*
|
|
115
|
+
* @throws {@link LightsailServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
72
117
|
*
|
|
73
118
|
*/
|
|
74
119
|
export declare class GetDisksCommand extends $Command<GetDisksCommandInput, GetDisksCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -32,6 +32,18 @@ export interface GetDistributionBundlesCommandOutput extends GetDistributionBund
|
|
|
32
32
|
* const input = {};
|
|
33
33
|
* const command = new GetDistributionBundlesCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetDistributionBundlesResult
|
|
36
|
+
* // bundles: [ // DistributionBundleList
|
|
37
|
+
* // { // DistributionBundle
|
|
38
|
+
* // bundleId: "STRING_VALUE",
|
|
39
|
+
* // name: "STRING_VALUE",
|
|
40
|
+
* // price: Number("float"),
|
|
41
|
+
* // transferPerMonthInGb: Number("int"),
|
|
42
|
+
* // isActive: true || false,
|
|
43
|
+
* // },
|
|
44
|
+
* // ],
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
35
47
|
* ```
|
|
36
48
|
*
|
|
37
49
|
* @param GetDistributionBundlesCommandInput - {@link GetDistributionBundlesCommandInput}
|
|
@@ -66,6 +78,8 @@ export interface GetDistributionBundlesCommandOutput extends GetDistributionBund
|
|
|
66
78
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
67
79
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
68
80
|
*
|
|
81
|
+
* @throws {@link LightsailServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
69
83
|
*
|
|
70
84
|
*/
|
|
71
85
|
export declare class GetDistributionBundlesCommand extends $Command<GetDistributionBundlesCommandInput, GetDistributionBundlesCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -32,6 +32,11 @@ export interface GetDistributionLatestCacheResetCommandOutput extends GetDistrib
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetDistributionLatestCacheResetCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetDistributionLatestCacheResetResult
|
|
36
|
+
* // status: "STRING_VALUE",
|
|
37
|
+
* // createTime: new Date("TIMESTAMP"),
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
37
42
|
* @param GetDistributionLatestCacheResetCommandInput - {@link GetDistributionLatestCacheResetCommandInput}
|
|
@@ -66,6 +71,8 @@ export interface GetDistributionLatestCacheResetCommandOutput extends GetDistrib
|
|
|
66
71
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
67
72
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
68
73
|
*
|
|
74
|
+
* @throws {@link LightsailServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
69
76
|
*
|
|
70
77
|
*/
|
|
71
78
|
export declare class GetDistributionLatestCacheResetCommand extends $Command<GetDistributionLatestCacheResetCommandInput, GetDistributionLatestCacheResetCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -43,6 +43,21 @@ export interface GetDistributionMetricDataCommandOutput extends GetDistributionM
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new GetDistributionMetricDataCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // GetDistributionMetricDataResult
|
|
47
|
+
* // metricName: "Requests" || "BytesDownloaded" || "BytesUploaded" || "TotalErrorRate" || "Http4xxErrorRate" || "Http5xxErrorRate",
|
|
48
|
+
* // metricData: [ // MetricDatapointList
|
|
49
|
+
* // { // MetricDatapoint
|
|
50
|
+
* // average: Number("double"),
|
|
51
|
+
* // maximum: Number("double"),
|
|
52
|
+
* // minimum: Number("double"),
|
|
53
|
+
* // sampleCount: Number("double"),
|
|
54
|
+
* // sum: Number("double"),
|
|
55
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
46
61
|
* ```
|
|
47
62
|
*
|
|
48
63
|
* @param GetDistributionMetricDataCommandInput - {@link GetDistributionMetricDataCommandInput}
|
|
@@ -77,6 +92,8 @@ export interface GetDistributionMetricDataCommandOutput extends GetDistributionM
|
|
|
77
92
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
78
93
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
79
94
|
*
|
|
95
|
+
* @throws {@link LightsailServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
80
97
|
*
|
|
81
98
|
*/
|
|
82
99
|
export declare class GetDistributionMetricDataCommand extends $Command<GetDistributionMetricDataCommandInput, GetDistributionMetricDataCommandOutput, LightsailClientResolvedConfig> {
|
|
@@ -33,6 +33,80 @@ export interface GetDistributionsCommandOutput extends GetDistributionsResult, _
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetDistributionsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetDistributionsResult
|
|
37
|
+
* // distributions: [ // DistributionList
|
|
38
|
+
* // { // LightsailDistribution
|
|
39
|
+
* // name: "STRING_VALUE",
|
|
40
|
+
* // arn: "STRING_VALUE",
|
|
41
|
+
* // supportCode: "STRING_VALUE",
|
|
42
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
43
|
+
* // location: { // ResourceLocation
|
|
44
|
+
* // availabilityZone: "STRING_VALUE",
|
|
45
|
+
* // regionName: "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",
|
|
46
|
+
* // },
|
|
47
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
48
|
+
* // alternativeDomainNames: [ // StringList
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // status: "STRING_VALUE",
|
|
52
|
+
* // isEnabled: true || false,
|
|
53
|
+
* // domainName: "STRING_VALUE",
|
|
54
|
+
* // bundleId: "STRING_VALUE",
|
|
55
|
+
* // certificateName: "STRING_VALUE",
|
|
56
|
+
* // origin: { // Origin
|
|
57
|
+
* // name: "STRING_VALUE",
|
|
58
|
+
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
59
|
+
* // regionName: "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",
|
|
60
|
+
* // protocolPolicy: "http-only" || "https-only",
|
|
61
|
+
* // },
|
|
62
|
+
* // originPublicDNS: "STRING_VALUE",
|
|
63
|
+
* // defaultCacheBehavior: { // CacheBehavior
|
|
64
|
+
* // behavior: "dont-cache" || "cache",
|
|
65
|
+
* // },
|
|
66
|
+
* // cacheBehaviorSettings: { // CacheSettings
|
|
67
|
+
* // defaultTTL: Number("long"),
|
|
68
|
+
* // minimumTTL: Number("long"),
|
|
69
|
+
* // maximumTTL: Number("long"),
|
|
70
|
+
* // allowedHTTPMethods: "STRING_VALUE",
|
|
71
|
+
* // cachedHTTPMethods: "STRING_VALUE",
|
|
72
|
+
* // forwardedCookies: { // CookieObject
|
|
73
|
+
* // option: "none" || "allow-list" || "all",
|
|
74
|
+
* // cookiesAllowList: [
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // forwardedHeaders: { // HeaderObject
|
|
79
|
+
* // option: "none" || "allow-list" || "all",
|
|
80
|
+
* // headersAllowList: [ // HeaderForwardList
|
|
81
|
+
* // "Accept" || "Accept-Charset" || "Accept-Datetime" || "Accept-Encoding" || "Accept-Language" || "Authorization" || "CloudFront-Forwarded-Proto" || "CloudFront-Is-Desktop-Viewer" || "CloudFront-Is-Mobile-Viewer" || "CloudFront-Is-SmartTV-Viewer" || "CloudFront-Is-Tablet-Viewer" || "CloudFront-Viewer-Country" || "Host" || "Origin" || "Referer",
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // forwardedQueryStrings: { // QueryStringObject
|
|
85
|
+
* // option: true || false,
|
|
86
|
+
* // queryStringsAllowList: [
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // cacheBehaviors: [ // CacheBehaviorList
|
|
92
|
+
* // { // CacheBehaviorPerPath
|
|
93
|
+
* // path: "STRING_VALUE",
|
|
94
|
+
* // behavior: "dont-cache" || "cache",
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // ableToUpdateBundle: true || false,
|
|
98
|
+
* // ipAddressType: "dualstack" || "ipv4",
|
|
99
|
+
* // tags: [ // TagList
|
|
100
|
+
* // { // Tag
|
|
101
|
+
* // key: "STRING_VALUE",
|
|
102
|
+
* // value: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // nextPageToken: "STRING_VALUE",
|
|
108
|
+
* // };
|
|
109
|
+
*
|
|
36
110
|
* ```
|
|
37
111
|
*
|
|
38
112
|
* @param GetDistributionsCommandInput - {@link GetDistributionsCommandInput}
|
|
@@ -67,6 +141,8 @@ export interface GetDistributionsCommandOutput extends GetDistributionsResult, _
|
|
|
67
141
|
* @throws {@link UnauthenticatedException} (client fault)
|
|
68
142
|
* <p>Lightsail throws this exception when the user has not been authenticated.</p>
|
|
69
143
|
*
|
|
144
|
+
* @throws {@link LightsailServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from Lightsail service.</p>
|
|
70
146
|
*
|
|
71
147
|
*/
|
|
72
148
|
export declare class GetDistributionsCommand extends $Command<GetDistributionsCommandInput, GetDistributionsCommandOutput, LightsailClientResolvedConfig> {
|