@aws-sdk/client-lightsail 3.75.0 → 3.79.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +9 -8
  3. package/dist-cjs/Lightsail.js +15 -0
  4. package/dist-cjs/commands/GetLoadBalancerTlsPoliciesCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_1.js +23 -3
  7. package/dist-cjs/protocols/Aws_json1_1.js +103 -5
  8. package/dist-es/Lightsail.js +15 -0
  9. package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +39 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/models_1.js +14 -0
  12. package/dist-es/protocols/Aws_json1_1.js +116 -2
  13. package/dist-types/Lightsail.d.ts +48 -35
  14. package/dist-types/LightsailClient.d.ts +12 -10
  15. package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +5 -4
  16. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -2
  17. package/dist-types/commands/CreateCertificateCommand.d.ts +5 -4
  18. package/dist-types/commands/CreateContactMethodCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteContactMethodCommand.d.ts +3 -3
  21. package/dist-types/commands/ExportSnapshotCommand.d.ts +2 -2
  22. package/dist-types/commands/GetContactMethodsCommand.d.ts +3 -3
  23. package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +39 -0
  24. package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +3 -3
  25. package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateBucketCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +1 -0
  28. package/dist-types/models/models_0.d.ts +49 -37
  29. package/dist-types/models/models_1.d.ts +180 -12
  30. package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
  31. package/dist-types/ts3.4/Lightsail.d.ts +5 -0
  32. package/dist-types/ts3.4/LightsailClient.d.ts +3 -2
  33. package/dist-types/ts3.4/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/models_1.d.ts +42 -1
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
  37. package/package.json +25 -25
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
4
+ import { GetLoadBalancerTlsPoliciesRequest, GetLoadBalancerTlsPoliciesResult } from "../models/models_1";
5
+ export interface GetLoadBalancerTlsPoliciesCommandInput extends GetLoadBalancerTlsPoliciesRequest {
6
+ }
7
+ export interface GetLoadBalancerTlsPoliciesCommandOutput extends GetLoadBalancerTlsPoliciesResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of TLS security policies that you can apply to Lightsail load
11
+ * balancers.</p>
12
+ *
13
+ * <p>For more information about load balancer TLS security policies, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy">Load balancer TLS security policies</a> in the <i>Amazon Lightsail Developer
14
+ * Guide</i>.</p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { LightsailClient, GetLoadBalancerTlsPoliciesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
19
+ * // const { LightsailClient, GetLoadBalancerTlsPoliciesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
20
+ * const client = new LightsailClient(config);
21
+ * const command = new GetLoadBalancerTlsPoliciesCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link GetLoadBalancerTlsPoliciesCommandInput} for command's `input` shape.
26
+ * @see {@link GetLoadBalancerTlsPoliciesCommandOutput} for command's `response` shape.
27
+ * @see {@link LightsailClientResolvedConfig | config} for LightsailClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class GetLoadBalancerTlsPoliciesCommand extends $Command<GetLoadBalancerTlsPoliciesCommandInput, GetLoadBalancerTlsPoliciesCommandOutput, LightsailClientResolvedConfig> {
31
+ readonly input: GetLoadBalancerTlsPoliciesCommandInput;
32
+ constructor(input: GetLoadBalancerTlsPoliciesCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLoadBalancerTlsPoliciesCommandInput, GetLoadBalancerTlsPoliciesCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -10,9 +10,9 @@ export interface SendContactMethodVerificationCommandOutput extends SendContactM
10
10
  * <p>Sends a verification request to an email contact method to ensure it's owned by the
11
11
  * requester. SMS contact methods don't need to be verified.</p>
12
12
  * <p>A contact method is used to send you notifications about your Amazon Lightsail resources.
13
- * You can add one email address and one mobile phone number contact method in each AWS Region.
14
- * However, SMS text messaging is not supported in some AWS Regions, and SMS text messages
15
- * cannot be sent to some countries/regions. For more information, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications">Notifications in Amazon Lightsail</a>.</p>
13
+ * You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services
14
+ * Regions, and SMS text messages cannot be sent to some countries/regions. For more information,
15
+ * see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications">Notifications in Amazon Lightsail</a>.</p>
16
16
  * <p>A verification request is sent to the contact method when you initially create it. Use
17
17
  * this action to send another verification request if a previous verification request was
18
18
  * deleted, or has expired.</p>
@@ -11,7 +11,7 @@ export interface SetResourceAccessForBucketCommandOutput extends SetResourceAcce
11
11
  * bucket.</p>
12
12
  *
13
13
  * <p>Lightsail buckets currently support setting access for Lightsail instances in the same
14
- * AWS Region.</p>
14
+ * Amazon Web Services Region.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -10,7 +10,7 @@ export interface UpdateBucketCommandOutput extends UpdateBucketResult, __Metadat
10
10
  * <p>Updates an existing Amazon Lightsail bucket.</p>
11
11
  *
12
12
  * <p>Use this action to update the configuration of an existing bucket, such as versioning,
13
- * public accessibility, and the AWS accounts that can access the bucket.</p>
13
+ * public accessibility, and the Amazon Web Services accounts that can access the bucket.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -101,6 +101,7 @@ export * from "./GetKeyPairsCommand";
101
101
  export * from "./GetLoadBalancerCommand";
102
102
  export * from "./GetLoadBalancerMetricDataCommand";
103
103
  export * from "./GetLoadBalancerTlsCertificatesCommand";
104
+ export * from "./GetLoadBalancerTlsPoliciesCommand";
104
105
  export * from "./GetLoadBalancersCommand";
105
106
  export * from "./GetOperationCommand";
106
107
  export * from "./GetOperationsCommand";
@@ -903,7 +903,7 @@ export interface Operation {
903
903
  */
904
904
  createdAt?: Date;
905
905
  /**
906
- * <p>The AWS Region and Availability Zone.</p>
906
+ * <p>The Amazon Web Services Region and Availability Zone.</p>
907
907
  */
908
908
  location?: ResourceLocation;
909
909
  /**
@@ -959,8 +959,9 @@ export declare namespace AllocateStaticIpResult {
959
959
  * of an input field.</p>
960
960
  * <note>
961
961
  * <p>Domain and distribution APIs are only available in the N. Virginia
962
- * (<code>us-east-1</code>) AWS Region. Please set your AWS Region configuration to
963
- * <code>us-east-1</code> to create, view, or edit these resources.</p>
962
+ * (<code>us-east-1</code>) Amazon Web Services Region. Please set your Amazon Web Services
963
+ * Region configuration to <code>us-east-1</code> to create, view, or edit these
964
+ * resources.</p>
964
965
  * </note>
965
966
  */
966
967
  export declare class InvalidInputException extends __BaseException {
@@ -1389,8 +1390,8 @@ export interface BucketAccessLogConfig {
1389
1390
  enabled: boolean | undefined;
1390
1391
  /**
1391
1392
  * <p>The name of the bucket where the access logs are saved. The destination can be a
1392
- * Lightsail bucket in the same account, and in the same AWS Region as the source
1393
- * bucket.</p>
1393
+ * Lightsail bucket in the same account, and in the same Amazon Web Services Region as the
1394
+ * source bucket.</p>
1394
1395
  * <note>
1395
1396
  * <p>This parameter is required when enabling the access log for a bucket, and should be
1396
1397
  * omitted when disabling the access log.</p>
@@ -1508,7 +1509,8 @@ export interface Bucket {
1508
1509
  */
1509
1510
  url?: string;
1510
1511
  /**
1511
- * <p>Describes the resource location.</p>
1512
+ * <p>An object that describes the location of the bucket, such as the Amazon Web Services Region
1513
+ * and Availability Zone.</p>
1512
1514
  */
1513
1515
  location?: ResourceLocation;
1514
1516
  /**
@@ -1551,7 +1553,7 @@ export interface Bucket {
1551
1553
  * <p>Indicates whether the bundle that is currently applied to a bucket can be changed to
1552
1554
  * another bundle.</p>
1553
1555
  *
1554
- * <p>You can update a bucket's bundle only one time within a monthly AWS billing
1556
+ * <p>You can update a bucket's bundle only one time within a monthly Amazon Web Services billing
1555
1557
  * cycle.</p>
1556
1558
  *
1557
1559
  * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html">UpdateBucketBundle</a> action to change a
@@ -1559,8 +1561,8 @@ export interface Bucket {
1559
1561
  */
1560
1562
  ableToUpdateBundle?: boolean;
1561
1563
  /**
1562
- * <p>An array of strings that specify the AWS account IDs that have read-only access to the
1563
- * bucket.</p>
1564
+ * <p>An array of strings that specify the Amazon Web Services account IDs that have read-only
1565
+ * access to the bucket.</p>
1564
1566
  */
1565
1567
  readonlyAccessAccounts?: string[];
1566
1568
  /**
@@ -2615,8 +2617,8 @@ export interface CloudFormationStackRecord {
2615
2617
  */
2616
2618
  createdAt?: Date;
2617
2619
  /**
2618
- * <p>A list of objects describing the Availability Zone and AWS Region of the CloudFormation
2619
- * stack record.</p>
2620
+ * <p>A list of objects describing the Availability Zone and Amazon Web Services Region of the
2621
+ * CloudFormation stack record.</p>
2620
2622
  */
2621
2623
  location?: ResourceLocation;
2622
2624
  /**
@@ -2696,7 +2698,7 @@ export interface ContactMethod {
2696
2698
  */
2697
2699
  createdAt?: Date;
2698
2700
  /**
2699
- * <p>Describes the resource location.</p>
2701
+ * <p>An object that describes the location of the contact method, such as the Amazon Web Services Region and Availability Zone.</p>
2700
2702
  */
2701
2703
  location?: ResourceLocation;
2702
2704
  /**
@@ -3058,8 +3060,7 @@ export interface ContainerService {
3058
3060
  */
3059
3061
  createdAt?: Date;
3060
3062
  /**
3061
- * <p>An object that describes the location of the container service, such as the AWS Region
3062
- * and Availability Zone.</p>
3063
+ * <p>An object that describes the location of the container service, such as the Amazon Web Services Region and Availability Zone.</p>
3063
3064
  */
3064
3065
  location?: ResourceLocation;
3065
3066
  /**
@@ -3155,9 +3156,8 @@ export interface ContainerService {
3155
3156
  /**
3156
3157
  * <p>The principal ARN of the container service.</p>
3157
3158
  *
3158
- * <p>The principal ARN can be used to create a trust relationship between your standard AWS
3159
- * account and your Lightsail container service. This allows you to give your service
3160
- * permission to access resources in your standard AWS account.</p>
3159
+ * <p>The principal ARN can be used to create a trust relationship between your standard Amazon Web Services account and your Lightsail container service. This allows you to give your
3160
+ * service permission to access resources in your standard Amazon Web Services account.</p>
3161
3161
  */
3162
3162
  principalArn?: string;
3163
3163
  /**
@@ -3430,7 +3430,8 @@ export interface CopySnapshotRequest {
3430
3430
  */
3431
3431
  targetSnapshotName: string | undefined;
3432
3432
  /**
3433
- * <p>The AWS Region where the source manual or automatic snapshot is located.</p>
3433
+ * <p>The Amazon Web Services Region where the source manual or automatic snapshot is
3434
+ * located.</p>
3434
3435
  */
3435
3436
  sourceRegion: RegionName | string | undefined;
3436
3437
  }
@@ -3702,7 +3703,8 @@ export interface CreateContactMethodRequest {
3702
3703
  /**
3703
3704
  * <p>The protocol of the contact method, such as <code>Email</code> or <code>SMS</code> (text
3704
3705
  * messaging).</p>
3705
- * <p>The <code>SMS</code> protocol is supported only in the following AWS Regions.</p>
3706
+ * <p>The <code>SMS</code> protocol is supported only in the following Amazon Web Services
3707
+ * Regions.</p>
3706
3708
  * <ul>
3707
3709
  * <li>
3708
3710
  * <p>US East (N. Virginia) (<code>us-east-1</code>)</p>
@@ -3723,8 +3725,8 @@ export interface CreateContactMethodRequest {
3723
3725
  * <p>Asia Pacific (Sydney) (<code>ap-southeast-2</code>)</p>
3724
3726
  * </li>
3725
3727
  * </ul>
3726
- * <p>For a list of countries/regions where SMS text messages can be sent, and the latest AWS
3727
- * Regions where SMS text messaging is supported, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-supported-regions-countries.html">Supported Regions and Countries</a> in the <i>Amazon SNS Developer
3728
+ * <p>For a list of countries/regions where SMS text messages can be sent, and the latest
3729
+ * Amazon Web Services Regions where SMS text messaging is supported, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-supported-regions-countries.html">Supported Regions and Countries</a> in the <i>Amazon SNS Developer
3728
3730
  * Guide</i>.</p>
3729
3731
  * <p>For more information about notifications in Amazon Lightsail, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications">Notifications in Amazon Lightsail</a>.</p>
3730
3732
  */
@@ -3776,7 +3778,8 @@ export interface CreateContainerServiceRequest {
3776
3778
  *
3777
3779
  * <ul>
3778
3780
  * <li>
3779
- * <p>Must be unique within each AWS Region in your Lightsail account.</p>
3781
+ * <p>Must be unique within each Amazon Web Services Region in your Lightsail
3782
+ * account.</p>
3780
3783
  * </li>
3781
3784
  * <li>
3782
3785
  * <p>Must contain 1 to 63 characters.</p>
@@ -4279,12 +4282,12 @@ export interface LightsailDistribution {
4279
4282
  */
4280
4283
  createdAt?: Date;
4281
4284
  /**
4282
- * <p>An object that describes the location of the distribution, such as the AWS Region and
4283
- * Availability Zone.</p>
4285
+ * <p>An object that describes the location of the distribution, such as the Amazon Web Services
4286
+ * Region and Availability Zone.</p>
4284
4287
  * <note>
4285
- * <p>Lightsail distributions are global resources that can reference an origin in any AWS
4286
- * Region, and distribute its content globally. However, all distributions are located in the
4287
- * <code>us-east-1</code> Region.</p>
4288
+ * <p>Lightsail distributions are global resources that can reference an origin in any
4289
+ * Amazon Web Services Region, and distribute its content globally. However, all distributions
4290
+ * are located in the <code>us-east-1</code> Region.</p>
4288
4291
  * </note>
4289
4292
  */
4290
4293
  location?: ResourceLocation;
@@ -4961,6 +4964,16 @@ export interface CreateLoadBalancerRequest {
4961
4964
  * <p>The default value is <code>dualstack</code>.</p>
4962
4965
  */
4963
4966
  ipAddressType?: IpAddressType | string;
4967
+ /**
4968
+ * <p>The name of the TLS policy to apply to the load balancer.</p>
4969
+ *
4970
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html">GetLoadBalancerTlsPolicies</a> action to get a list of TLS policy names that you can
4971
+ * specify.</p>
4972
+ *
4973
+ * <p>For more information about load balancer TLS policies, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy">Load balancer TLS security policies</a> in the <i>Amazon Lightsail Developer
4974
+ * Guide</i>.</p>
4975
+ */
4976
+ tlsPolicyName?: string;
4964
4977
  }
4965
4978
  export declare namespace CreateLoadBalancerRequest {
4966
4979
  /**
@@ -7061,8 +7074,8 @@ export interface GetBucketsRequest {
7061
7074
  /**
7062
7075
  * <p>The name of the bucket for which to return information.</p>
7063
7076
  *
7064
- * <p>When omitted, the response includes all of your buckets in the AWS Region where the
7065
- * request is made.</p>
7077
+ * <p>When omitted, the response includes all of your buckets in the Amazon Web Services Region
7078
+ * where the request is made.</p>
7066
7079
  */
7067
7080
  bucketName?: string;
7068
7081
  /**
@@ -7158,8 +7171,8 @@ export interface GetCertificatesRequest {
7158
7171
  * <p>The status of the certificates for which to return information.</p>
7159
7172
  * <p>For example, specify <code>ISSUED</code> to return only certificates with an
7160
7173
  * <code>ISSUED</code> status.</p>
7161
- * <p>When omitted, the response includes all of your certificates in the AWS Region where the
7162
- * request is made, regardless of their current status.</p>
7174
+ * <p>When omitted, the response includes all of your certificates in the Amazon Web Services
7175
+ * Region where the request is made, regardless of their current status.</p>
7163
7176
  */
7164
7177
  certificateStatuses?: (CertificateStatus | string)[];
7165
7178
  /**
@@ -7171,8 +7184,8 @@ export interface GetCertificatesRequest {
7171
7184
  includeCertificateDetails?: boolean;
7172
7185
  /**
7173
7186
  * <p>The name for the certificate for which to return information.</p>
7174
- * <p>When omitted, the response includes all of your certificates in the AWS Region where the
7175
- * request is made.</p>
7187
+ * <p>When omitted, the response includes all of your certificates in the Amazon Web Services
7188
+ * Region where the request is made.</p>
7176
7189
  */
7177
7190
  certificateName?: string;
7178
7191
  }
@@ -7576,8 +7589,7 @@ export interface GetContainerServicesRequest {
7576
7589
  /**
7577
7590
  * <p>The name of the container service for which to return information.</p>
7578
7591
  *
7579
- * <p>When omitted, the response includes all of your container services in the AWS Region
7580
- * where the request is made.</p>
7592
+ * <p>When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.</p>
7581
7593
  */
7582
7594
  serviceName?: string;
7583
7595
  }
@@ -7948,8 +7960,8 @@ export interface GetDistributionsRequest {
7948
7960
  /**
7949
7961
  * <p>The name of the distribution for which to return information.</p>
7950
7962
  *
7951
- * <p>When omitted, the response includes all of your distributions in the AWS Region where
7952
- * the request is made.</p>
7963
+ * <p>When omitted, the response includes all of your distributions in the Amazon Web Services
7964
+ * Region where the request is made.</p>
7953
7965
  */
7954
7966
  distributionName?: string;
7955
7967
  /**
@@ -1190,8 +1190,10 @@ export declare namespace GetLoadBalancerRequest {
1190
1190
  }
1191
1191
  export declare enum LoadBalancerAttributeName {
1192
1192
  HealthCheckPath = "HealthCheckPath",
1193
+ HttpsRedirectionEnabled = "HttpsRedirectionEnabled",
1193
1194
  SessionStickinessEnabled = "SessionStickinessEnabled",
1194
- SessionStickiness_LB_CookieDurationSeconds = "SessionStickiness_LB_CookieDurationSeconds"
1195
+ SessionStickiness_LB_CookieDurationSeconds = "SessionStickiness_LB_CookieDurationSeconds",
1196
+ TlsPolicyName = "TlsPolicyName"
1195
1197
  }
1196
1198
  export declare enum InstanceHealthState {
1197
1199
  Draining = "draining",
@@ -1479,6 +1481,29 @@ export interface LoadBalancer {
1479
1481
  * IPv4 and IPv6.</p>
1480
1482
  */
1481
1483
  ipAddressType?: IpAddressType | string;
1484
+ /**
1485
+ * <p>A Boolean value that indicates whether HTTPS redirection is enabled for the load
1486
+ * balancer.</p>
1487
+ */
1488
+ httpsRedirectionEnabled?: boolean;
1489
+ /**
1490
+ * <p>The name of the TLS security policy for the load balancer.</p>
1491
+ *
1492
+ * <p>The following TLS security policy names are possible:</p>
1493
+ * <ul>
1494
+ * <li>
1495
+ * <p>
1496
+ * <code>TLS-2016-08</code>
1497
+ * </p>
1498
+ * </li>
1499
+ * <li>
1500
+ * <p>
1501
+ * <code>TLS-FS-Res-1-2-2019-08</code>
1502
+ * </p>
1503
+ * </li>
1504
+ * </ul>
1505
+ */
1506
+ tlsPolicyName?: string;
1482
1507
  }
1483
1508
  export declare namespace LoadBalancer {
1484
1509
  /**
@@ -2269,6 +2294,117 @@ export declare namespace GetLoadBalancerTlsCertificatesResult {
2269
2294
  */
2270
2295
  const filterSensitiveLog: (obj: GetLoadBalancerTlsCertificatesResult) => any;
2271
2296
  }
2297
+ export interface GetLoadBalancerTlsPoliciesRequest {
2298
+ /**
2299
+ * <p>The token to advance to the next page of results from your request.</p>
2300
+ *
2301
+ * <p>To get a page token, perform an initial <code>GetLoadBalancerTlsPolicies</code> request.
2302
+ * If your results are paginated, the response will return a next page token that you can specify
2303
+ * as the page token in a subsequent request.</p>
2304
+ */
2305
+ pageToken?: string;
2306
+ }
2307
+ export declare namespace GetLoadBalancerTlsPoliciesRequest {
2308
+ /**
2309
+ * @internal
2310
+ */
2311
+ const filterSensitiveLog: (obj: GetLoadBalancerTlsPoliciesRequest) => any;
2312
+ }
2313
+ /**
2314
+ * <p>Describes the TLS security policies that are available for Lightsail load
2315
+ * balancers.</p>
2316
+ *
2317
+ * <p>For more information about load balancer TLS security policies, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy">Load balancer TLS security policies</a> in the <i>Amazon Lightsail
2318
+ * Developer Guide</i>.</p>
2319
+ */
2320
+ export interface LoadBalancerTlsPolicy {
2321
+ /**
2322
+ * <p>The name of the TLS security policy.</p>
2323
+ *
2324
+ * <p>The following TLS security policy names are possible:</p>
2325
+ *
2326
+ * <ul>
2327
+ * <li>
2328
+ * <p>
2329
+ * <code>TLS-2016-08</code>
2330
+ * </p>
2331
+ * </li>
2332
+ * <li>
2333
+ * <p>
2334
+ * <code>TLS-FS-Res-1-2-2019-08</code>
2335
+ * </p>
2336
+ * </li>
2337
+ * </ul>
2338
+ *
2339
+ * <p>You can specify either of these values for the <code>tlsSecurityPolicyName</code> request
2340
+ * parameter in the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateLoadBalancer.html">CreateLoadBalancer</a> action, and the <code>attributeValue</code> request parameter in
2341
+ * the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateLoadBalancerAttribute.html">UpdateLoadBalancerAttribute</a> action.</p>
2342
+ */
2343
+ name?: string;
2344
+ /**
2345
+ * <p>A Boolean value that indicates whether the TLS security policy is the default.</p>
2346
+ */
2347
+ isDefault?: boolean;
2348
+ /**
2349
+ * <p>The description of the TLS security policy.</p>
2350
+ */
2351
+ description?: string;
2352
+ /**
2353
+ * <p>The protocols used in a given TLS security policy.</p>
2354
+ *
2355
+ * <p>The following protocols are possible:</p>
2356
+ * <ul>
2357
+ * <li>
2358
+ * <p>
2359
+ * <code>Protocol-TLSv1</code>
2360
+ * </p>
2361
+ * </li>
2362
+ * <li>
2363
+ * <p>
2364
+ * <code>Protocol-TLSv1.1</code>
2365
+ * </p>
2366
+ * </li>
2367
+ * <li>
2368
+ * <p>
2369
+ * <code>Protocol-TLSv1.2</code>
2370
+ * </p>
2371
+ * </li>
2372
+ * </ul>
2373
+ */
2374
+ protocols?: string[];
2375
+ /**
2376
+ * <p>The ciphers used by the TLS security policy.</p>
2377
+ * <p>The ciphers are listed in order of preference.</p>
2378
+ */
2379
+ ciphers?: string[];
2380
+ }
2381
+ export declare namespace LoadBalancerTlsPolicy {
2382
+ /**
2383
+ * @internal
2384
+ */
2385
+ const filterSensitiveLog: (obj: LoadBalancerTlsPolicy) => any;
2386
+ }
2387
+ export interface GetLoadBalancerTlsPoliciesResult {
2388
+ /**
2389
+ * <p>An array of objects that describe the TLS security policies that are available.</p>
2390
+ */
2391
+ tlsPolicies?: LoadBalancerTlsPolicy[];
2392
+ /**
2393
+ * <p>The token to advance to the next page of results from your request.</p>
2394
+ *
2395
+ * <p>A next page token is not returned if there are no more results to display.</p>
2396
+ *
2397
+ * <p>To get the next page of results, perform another <code>GetLoadBalancerTlsPolicies</code>
2398
+ * request and specify the next page token using the <code>pageToken</code> parameter.</p>
2399
+ */
2400
+ nextPageToken?: string;
2401
+ }
2402
+ export declare namespace GetLoadBalancerTlsPoliciesResult {
2403
+ /**
2404
+ * @internal
2405
+ */
2406
+ const filterSensitiveLog: (obj: GetLoadBalancerTlsPoliciesResult) => any;
2407
+ }
2272
2408
  export interface GetOperationRequest {
2273
2409
  /**
2274
2410
  * <p>A GUID used to identify the operation.</p>
@@ -3863,10 +3999,10 @@ export interface PutAlarmRequest {
3863
3999
  * <p>A notification is sent via the specified contact protocol if notifications are enabled for
3864
4000
  * the alarm, and when the alarm is triggered.</p>
3865
4001
  * <p>A notification is not sent if a contact protocol is not specified, if the specified
3866
- * contact protocol is not configured in the AWS Region, or if notifications are not enabled
3867
- * for the alarm using the <code>notificationEnabled</code> paramater.</p>
4002
+ * contact protocol is not configured in the Amazon Web Services Region, or if notifications are
4003
+ * not enabled for the alarm using the <code>notificationEnabled</code> paramater.</p>
3868
4004
  * <p>Use the <code>CreateContactMethod</code> action to configure a contact protocol in an
3869
- * AWS Region.</p>
4005
+ * Amazon Web Services Region.</p>
3870
4006
  */
3871
4007
  contactProtocols?: (ContactProtocol | string)[];
3872
4008
  /**
@@ -4058,8 +4194,8 @@ export declare namespace RegisterContainerImageRequest {
4058
4194
  }
4059
4195
  export interface RegisterContainerImageResult {
4060
4196
  /**
4061
- * <p>Describes a container image that is registered to an Amazon Lightsail container
4062
- * service.</p>
4197
+ * <p>An object that describes a container image that is registered to a Lightsail container
4198
+ * service</p>
4063
4199
  */
4064
4200
  containerImage?: ContainerImage;
4065
4201
  }
@@ -4163,8 +4299,8 @@ export interface SetIpAddressTypeRequest {
4163
4299
  * <code>LoadBalancer</code>.</p>
4164
4300
  * <note>
4165
4301
  * <p>Distribution-related APIs are available only in the N. Virginia (<code>us-east-1</code>)
4166
- * AWS Region. Set your AWS Region configuration to <code>us-east-1</code> to create, view,
4167
- * or edit distributions.</p>
4302
+ * Amazon Web Services Region. Set your Amazon Web Services Region configuration to
4303
+ * <code>us-east-1</code> to create, view, or edit distributions.</p>
4168
4304
  * </note>
4169
4305
  */
4170
4306
  resourceType: ResourceType | string | undefined;
@@ -4525,9 +4661,10 @@ export interface UpdateBucketRequest {
4525
4661
  */
4526
4662
  versioning?: string;
4527
4663
  /**
4528
- * <p>An array of strings to specify the AWS account IDs that can access the bucket.</p>
4664
+ * <p>An array of strings to specify the Amazon Web Services account IDs that can access the
4665
+ * bucket.</p>
4529
4666
  *
4530
- * <p>You can give a maximum of 10 AWS accounts access to a bucket.</p>
4667
+ * <p>You can give a maximum of 10 Amazon Web Services accounts access to a bucket.</p>
4531
4668
  */
4532
4669
  readonlyAccessAccounts?: string[];
4533
4670
  /**
@@ -4740,7 +4877,8 @@ export declare namespace UpdateDistributionBundleRequest {
4740
4877
  }
4741
4878
  export interface UpdateDistributionBundleResult {
4742
4879
  /**
4743
- * <p>Describes the API operation.</p>
4880
+ * <p>An object that describes the result of the action, such as the status of the request, the
4881
+ * timestamp of the request, and the resources affected by the request.</p>
4744
4882
  */
4745
4883
  operation?: Operation;
4746
4884
  }
@@ -4786,11 +4924,41 @@ export interface UpdateLoadBalancerAttributeRequest {
4786
4924
  */
4787
4925
  loadBalancerName: string | undefined;
4788
4926
  /**
4789
- * <p>The name of the attribute you want to update. Valid values are below.</p>
4927
+ * <p>The name of the attribute you want to update.</p>
4790
4928
  */
4791
4929
  attributeName: LoadBalancerAttributeName | string | undefined;
4792
4930
  /**
4793
4931
  * <p>The value that you want to specify for the attribute name.</p>
4932
+ * <p>The following values are supported depending on what you specify for the
4933
+ * <code>attributeName</code> request parameter:</p>
4934
+ * <ul>
4935
+ * <li>
4936
+ * <p>If you specify <code>HealthCheckPath</code> for the <code>attributeName</code> request
4937
+ * parameter, then the <code>attributeValue</code> request parameter must be the path to ping
4938
+ * on the target (for example, <code>/weather/us/wa/seattle</code>).</p>
4939
+ * </li>
4940
+ * <li>
4941
+ * <p>If you specify <code>SessionStickinessEnabled</code> for the
4942
+ * <code>attributeName</code> request parameter, then the <code>attributeValue</code>
4943
+ * request parameter must be <code>true</code> or <code>false</code>.</p>
4944
+ * </li>
4945
+ * <li>
4946
+ * <p>If you specify <code>SessionStickiness_LB_CookieDurationSeconds</code> for the
4947
+ * <code>attributeName</code> request parameter, then the <code>attributeValue</code>
4948
+ * request parameter must be an interger that represents the cookie duration in
4949
+ * seconds.</p>
4950
+ * </li>
4951
+ * <li>
4952
+ * <p>If you specify <code>HttpsRedirectionEnabled</code> for the <code>attributeName</code>
4953
+ * request parameter, then the <code>attributeValue</code> request parameter must be
4954
+ * <code>true</code> or <code>false</code>.</p>
4955
+ * </li>
4956
+ * <li>
4957
+ * <p>If you specify <code>TlsPolicyName</code> for the <code>attributeName</code> request
4958
+ * parameter, then the <code>attributeValue</code> request parameter must be <code>TLS
4959
+ * version 1.0, 1.1, and 1.2</code> or <code>TLS version 1.2</code>.</p>
4960
+ * </li>
4961
+ * </ul>
4794
4962
  */
4795
4963
  attributeValue: string | undefined;
4796
4964
  }
@@ -104,6 +104,7 @@ import { GetLoadBalancerCommandInput, GetLoadBalancerCommandOutput } from "../co
104
104
  import { GetLoadBalancerMetricDataCommandInput, GetLoadBalancerMetricDataCommandOutput } from "../commands/GetLoadBalancerMetricDataCommand";
105
105
  import { GetLoadBalancersCommandInput, GetLoadBalancersCommandOutput } from "../commands/GetLoadBalancersCommand";
106
106
  import { GetLoadBalancerTlsCertificatesCommandInput, GetLoadBalancerTlsCertificatesCommandOutput } from "../commands/GetLoadBalancerTlsCertificatesCommand";
107
+ import { GetLoadBalancerTlsPoliciesCommandInput, GetLoadBalancerTlsPoliciesCommandOutput } from "../commands/GetLoadBalancerTlsPoliciesCommand";
107
108
  import { GetOperationCommandInput, GetOperationCommandOutput } from "../commands/GetOperationCommand";
108
109
  import { GetOperationsCommandInput, GetOperationsCommandOutput } from "../commands/GetOperationsCommand";
109
110
  import { GetOperationsForResourceCommandInput, GetOperationsForResourceCommandOutput } from "../commands/GetOperationsForResourceCommand";
@@ -257,6 +258,7 @@ export declare const serializeAws_json1_1GetLoadBalancerCommand: (input: GetLoad
257
258
  export declare const serializeAws_json1_1GetLoadBalancerMetricDataCommand: (input: GetLoadBalancerMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
258
259
  export declare const serializeAws_json1_1GetLoadBalancersCommand: (input: GetLoadBalancersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
259
260
  export declare const serializeAws_json1_1GetLoadBalancerTlsCertificatesCommand: (input: GetLoadBalancerTlsCertificatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
261
+ export declare const serializeAws_json1_1GetLoadBalancerTlsPoliciesCommand: (input: GetLoadBalancerTlsPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
260
262
  export declare const serializeAws_json1_1GetOperationCommand: (input: GetOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
261
263
  export declare const serializeAws_json1_1GetOperationsCommand: (input: GetOperationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
262
264
  export declare const serializeAws_json1_1GetOperationsForResourceCommand: (input: GetOperationsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -410,6 +412,7 @@ export declare const deserializeAws_json1_1GetLoadBalancerCommand: (output: __Ht
410
412
  export declare const deserializeAws_json1_1GetLoadBalancerMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLoadBalancerMetricDataCommandOutput>;
411
413
  export declare const deserializeAws_json1_1GetLoadBalancersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLoadBalancersCommandOutput>;
412
414
  export declare const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLoadBalancerTlsCertificatesCommandOutput>;
415
+ export declare const deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLoadBalancerTlsPoliciesCommandOutput>;
413
416
  export declare const deserializeAws_json1_1GetOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOperationCommandOutput>;
414
417
  export declare const deserializeAws_json1_1GetOperationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOperationsCommandOutput>;
415
418
  export declare const deserializeAws_json1_1GetOperationsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOperationsForResourceCommandOutput>;
@@ -103,6 +103,7 @@ import { GetLoadBalancerCommandInput, GetLoadBalancerCommandOutput } from "./com
103
103
  import { GetLoadBalancerMetricDataCommandInput, GetLoadBalancerMetricDataCommandOutput } from "./commands/GetLoadBalancerMetricDataCommand";
104
104
  import { GetLoadBalancersCommandInput, GetLoadBalancersCommandOutput } from "./commands/GetLoadBalancersCommand";
105
105
  import { GetLoadBalancerTlsCertificatesCommandInput, GetLoadBalancerTlsCertificatesCommandOutput } from "./commands/GetLoadBalancerTlsCertificatesCommand";
106
+ import { GetLoadBalancerTlsPoliciesCommandInput, GetLoadBalancerTlsPoliciesCommandOutput } from "./commands/GetLoadBalancerTlsPoliciesCommand";
106
107
  import { GetOperationCommandInput, GetOperationCommandOutput } from "./commands/GetOperationCommand";
107
108
  import { GetOperationsCommandInput, GetOperationsCommandOutput } from "./commands/GetOperationsCommand";
108
109
  import { GetOperationsForResourceCommandInput, GetOperationsForResourceCommandOutput } from "./commands/GetOperationsForResourceCommand";
@@ -572,6 +573,10 @@ export declare class Lightsail extends LightsailClient {
572
573
  getLoadBalancerTlsCertificates(args: GetLoadBalancerTlsCertificatesCommandInput, cb: (err: any, data?: GetLoadBalancerTlsCertificatesCommandOutput) => void): void;
573
574
  getLoadBalancerTlsCertificates(args: GetLoadBalancerTlsCertificatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoadBalancerTlsCertificatesCommandOutput) => void): void;
574
575
 
576
+ getLoadBalancerTlsPolicies(args: GetLoadBalancerTlsPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<GetLoadBalancerTlsPoliciesCommandOutput>;
577
+ getLoadBalancerTlsPolicies(args: GetLoadBalancerTlsPoliciesCommandInput, cb: (err: any, data?: GetLoadBalancerTlsPoliciesCommandOutput) => void): void;
578
+ getLoadBalancerTlsPolicies(args: GetLoadBalancerTlsPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoadBalancerTlsPoliciesCommandOutput) => void): void;
579
+
575
580
  getOperation(args: GetOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetOperationCommandOutput>;
576
581
  getOperation(args: GetOperationCommandInput, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
577
582
  getOperation(args: GetOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOperationCommandOutput) => void): void;