@aws-sdk/client-lightsail 3.428.0 → 3.430.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.
@@ -57,7 +57,7 @@ export interface ResourceBudgetEstimate {
57
57
  * @public
58
58
  * <p>The type of resource the budget will track.</p>
59
59
  */
60
- resourceType?: ResourceType | string;
60
+ resourceType?: ResourceType;
61
61
  /**
62
62
  * @public
63
63
  * <p>The cost estimate for the specified budget.</p>
@@ -324,7 +324,7 @@ export interface GetDistributionMetricDataRequest {
324
324
  * </li>
325
325
  * </ul>
326
326
  */
327
- metricName: DistributionMetricName | string | undefined;
327
+ metricName: DistributionMetricName | undefined;
328
328
  /**
329
329
  * @public
330
330
  * <p>The start of the time interval for which to get metric data.</p>
@@ -370,7 +370,7 @@ export interface GetDistributionMetricDataRequest {
370
370
  * <p>Valid units depend on the metric data being requested. For the valid units with each
371
371
  * available metric, see the <code>metricName</code> parameter.</p>
372
372
  */
373
- unit: MetricUnit | string | undefined;
373
+ unit: MetricUnit | undefined;
374
374
  /**
375
375
  * @public
376
376
  * <p>The statistic for the metric.</p>
@@ -405,7 +405,7 @@ export interface GetDistributionMetricDataRequest {
405
405
  * </li>
406
406
  * </ul>
407
407
  */
408
- statistics: (MetricStatistic | string)[] | undefined;
408
+ statistics: MetricStatistic[] | undefined;
409
409
  }
410
410
  /**
411
411
  * @public
@@ -415,7 +415,7 @@ export interface GetDistributionMetricDataResult {
415
415
  * @public
416
416
  * <p>The name of the metric returned.</p>
417
417
  */
418
- metricName?: DistributionMetricName | string;
418
+ metricName?: DistributionMetricName;
419
419
  /**
420
420
  * @public
421
421
  * <p>An array of objects that describe the metric data returned.</p>
@@ -644,7 +644,7 @@ export interface InstanceMetadataOptions {
644
644
  * </li>
645
645
  * </ul>
646
646
  */
647
- state?: InstanceMetadataState | string;
647
+ state?: InstanceMetadataState;
648
648
  /**
649
649
  * @public
650
650
  * <p>The state of token usage for your instance metadata requests.</p>
@@ -663,14 +663,14 @@ export interface InstanceMetadataOptions {
663
663
  * <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-health-metrics">Viewing instance metrics in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer Guide</i>.</p>
664
664
  * </important>
665
665
  */
666
- httpTokens?: HttpTokens | string;
666
+ httpTokens?: HttpTokens;
667
667
  /**
668
668
  * @public
669
669
  * <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
670
670
  * disabled.</p>
671
671
  * <p>If the value is <code>disabled</code>, you cannot access your instance metadata.</p>
672
672
  */
673
- httpEndpoint?: HttpEndpoint | string;
673
+ httpEndpoint?: HttpEndpoint;
674
674
  /**
675
675
  * @public
676
676
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. A larger number
@@ -682,7 +682,7 @@ export interface InstanceMetadataOptions {
682
682
  * <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
683
683
  * disabled.</p>
684
684
  */
685
- httpProtocolIpv6?: HttpProtocolIpv6 | string;
685
+ httpProtocolIpv6?: HttpProtocolIpv6;
686
686
  }
687
687
  /**
688
688
  * @public
@@ -797,7 +797,7 @@ export interface InstancePortInfo {
797
797
  * </li>
798
798
  * </ul>
799
799
  */
800
- protocol?: NetworkProtocol | string;
800
+ protocol?: NetworkProtocol;
801
801
  /**
802
802
  * @public
803
803
  * <p>The location from which access is allowed. For example, <code>Anywhere (0.0.0.0/0)</code>,
@@ -808,7 +808,7 @@ export interface InstancePortInfo {
808
808
  * @public
809
809
  * <p>The type of access (<code>Public</code> or <code>Private</code>).</p>
810
810
  */
811
- accessType?: PortAccessType | string;
811
+ accessType?: PortAccessType;
812
812
  /**
813
813
  * @public
814
814
  * <p>The common name of the port information.</p>
@@ -821,7 +821,7 @@ export interface InstancePortInfo {
821
821
  * <p>Lightsail currently supports only <code>inbound</code> access direction.</p>
822
822
  * </note>
823
823
  */
824
- accessDirection?: AccessDirection | string;
824
+ accessDirection?: AccessDirection;
825
825
  /**
826
826
  * @public
827
827
  * <p>The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to
@@ -926,7 +926,7 @@ export interface Instance {
926
926
  * @public
927
927
  * <p>The type of resource (usually <code>Instance</code>).</p>
928
928
  */
929
- resourceType?: ResourceType | string;
929
+ resourceType?: ResourceType;
930
930
  /**
931
931
  * @public
932
932
  * <p>The tag keys and optional values for the resource. For more information about tags in
@@ -979,7 +979,7 @@ export interface Instance {
979
979
  * <p>The possible values are <code>ipv4</code> for IPv4 only, and <code>dualstack</code> for
980
980
  * IPv4 and IPv6.</p>
981
981
  */
982
- ipAddressType?: IpAddressType | string;
982
+ ipAddressType?: IpAddressType;
983
983
  /**
984
984
  * @public
985
985
  * <p>The size of the vCPU and the amount of RAM for the instance.</p>
@@ -1048,7 +1048,7 @@ export interface GetInstanceAccessDetailsRequest {
1048
1048
  * @public
1049
1049
  * <p>The protocol to use to connect to your instance. Defaults to <code>ssh</code>.</p>
1050
1050
  */
1051
- protocol?: InstanceAccessProtocol | string;
1051
+ protocol?: InstanceAccessProtocol;
1052
1052
  }
1053
1053
  /**
1054
1054
  * @public
@@ -1211,7 +1211,7 @@ export interface InstanceAccessDetails {
1211
1211
  * @public
1212
1212
  * <p>The protocol for these Amazon Lightsail instance access details.</p>
1213
1213
  */
1214
- protocol?: InstanceAccessProtocol | string;
1214
+ protocol?: InstanceAccessProtocol;
1215
1215
  /**
1216
1216
  * @public
1217
1217
  * <p>The name of this Amazon Lightsail instance.</p>
@@ -1406,7 +1406,7 @@ export interface GetInstanceMetricDataRequest {
1406
1406
  * </li>
1407
1407
  * </ul>
1408
1408
  */
1409
- metricName: InstanceMetricName | string | undefined;
1409
+ metricName: InstanceMetricName | undefined;
1410
1410
  /**
1411
1411
  * @public
1412
1412
  * <p>The granularity, in seconds, of the returned data points.</p>
@@ -1432,7 +1432,7 @@ export interface GetInstanceMetricDataRequest {
1432
1432
  * requested. For the valid units to specify with each available metric, see the
1433
1433
  * <code>metricName</code> parameter.</p>
1434
1434
  */
1435
- unit: MetricUnit | string | undefined;
1435
+ unit: MetricUnit | undefined;
1436
1436
  /**
1437
1437
  * @public
1438
1438
  * <p>The statistic for the metric.</p>
@@ -1467,7 +1467,7 @@ export interface GetInstanceMetricDataRequest {
1467
1467
  * </li>
1468
1468
  * </ul>
1469
1469
  */
1470
- statistics: (MetricStatistic | string)[] | undefined;
1470
+ statistics: MetricStatistic[] | undefined;
1471
1471
  }
1472
1472
  /**
1473
1473
  * @public
@@ -1477,7 +1477,7 @@ export interface GetInstanceMetricDataResult {
1477
1477
  * @public
1478
1478
  * <p>The name of the metric returned.</p>
1479
1479
  */
1480
- metricName?: InstanceMetricName | string;
1480
+ metricName?: InstanceMetricName;
1481
1481
  /**
1482
1482
  * @public
1483
1483
  * <p>An array of objects that describe the metric data returned.</p>
@@ -1596,7 +1596,7 @@ export interface InstancePortState {
1596
1596
  * </li>
1597
1597
  * </ul>
1598
1598
  */
1599
- protocol?: NetworkProtocol | string;
1599
+ protocol?: NetworkProtocol;
1600
1600
  /**
1601
1601
  * @public
1602
1602
  * <p>Specifies whether the instance port is <code>open</code> or <code>closed</code>.</p>
@@ -1604,7 +1604,7 @@ export interface InstancePortState {
1604
1604
  * <p>The port state for Lightsail instances is always <code>open</code>.</p>
1605
1605
  * </note>
1606
1606
  */
1607
- state?: PortState | string;
1607
+ state?: PortState;
1608
1608
  /**
1609
1609
  * @public
1610
1610
  * <p>The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to
@@ -1741,7 +1741,7 @@ export interface InstanceSnapshot {
1741
1741
  * @public
1742
1742
  * <p>The type of resource (usually <code>InstanceSnapshot</code>).</p>
1743
1743
  */
1744
- resourceType?: ResourceType | string;
1744
+ resourceType?: ResourceType;
1745
1745
  /**
1746
1746
  * @public
1747
1747
  * <p>The tag keys and optional values for the resource. For more information about tags in
@@ -1752,7 +1752,7 @@ export interface InstanceSnapshot {
1752
1752
  * @public
1753
1753
  * <p>The state the snapshot is in.</p>
1754
1754
  */
1755
- state?: InstanceSnapshotState | string;
1755
+ state?: InstanceSnapshotState;
1756
1756
  /**
1757
1757
  * @public
1758
1758
  * <p>The progress of the snapshot.</p>
@@ -1999,7 +1999,7 @@ export interface InstanceHealthSummary {
1999
1999
  * @public
2000
2000
  * <p>Describes the overall instance health. Valid values are below.</p>
2001
2001
  */
2002
- instanceHealth?: InstanceHealthState | string;
2002
+ instanceHealth?: InstanceHealthState;
2003
2003
  /**
2004
2004
  * @public
2005
2005
  * <p>More information about the instance health. If the <code>instanceHealth</code> is
@@ -2124,7 +2124,7 @@ export interface InstanceHealthSummary {
2124
2124
  * </li>
2125
2125
  * </ul>
2126
2126
  */
2127
- instanceHealthReason?: InstanceHealthReason | string;
2127
+ instanceHealthReason?: InstanceHealthReason;
2128
2128
  }
2129
2129
  /**
2130
2130
  * @public
@@ -2207,7 +2207,7 @@ export interface LoadBalancer {
2207
2207
  * @public
2208
2208
  * <p>The resource type (e.g., <code>LoadBalancer</code>.</p>
2209
2209
  */
2210
- resourceType?: ResourceType | string;
2210
+ resourceType?: ResourceType;
2211
2211
  /**
2212
2212
  * @public
2213
2213
  * <p>The tag keys and optional values for the resource. For more information about tags in
@@ -2223,14 +2223,14 @@ export interface LoadBalancer {
2223
2223
  * @public
2224
2224
  * <p>The status of your load balancer. Valid values are below.</p>
2225
2225
  */
2226
- state?: LoadBalancerState | string;
2226
+ state?: LoadBalancerState;
2227
2227
  /**
2228
2228
  * @public
2229
2229
  * <p>The protocol you have enabled for your load balancer. Valid values are below.</p>
2230
2230
  * <p>You can't just have <code>HTTP_HTTPS</code>, but you can have just
2231
2231
  * <code>HTTP</code>.</p>
2232
2232
  */
2233
- protocol?: LoadBalancerProtocol | string;
2233
+ protocol?: LoadBalancerProtocol;
2234
2234
  /**
2235
2235
  * @public
2236
2236
  * <p>An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS,
@@ -2267,14 +2267,14 @@ export interface LoadBalancer {
2267
2267
  * <p>A string to string map of the configuration options for your load balancer. Valid values
2268
2268
  * are listed below.</p>
2269
2269
  */
2270
- configurationOptions?: Record<string, string>;
2270
+ configurationOptions?: Record<LoadBalancerAttributeName, string>;
2271
2271
  /**
2272
2272
  * @public
2273
2273
  * <p>The IP address type of the load balancer.</p>
2274
2274
  * <p>The possible values are <code>ipv4</code> for IPv4 only, and <code>dualstack</code> for
2275
2275
  * IPv4 and IPv6.</p>
2276
2276
  */
2277
- ipAddressType?: IpAddressType | string;
2277
+ ipAddressType?: IpAddressType;
2278
2278
  /**
2279
2279
  * @public
2280
2280
  * <p>A Boolean value that indicates whether HTTPS redirection is enabled for the load
@@ -2500,7 +2500,7 @@ export interface GetLoadBalancerMetricDataRequest {
2500
2500
  * </li>
2501
2501
  * </ul>
2502
2502
  */
2503
- metricName: LoadBalancerMetricName | string | undefined;
2503
+ metricName: LoadBalancerMetricName | undefined;
2504
2504
  /**
2505
2505
  * @public
2506
2506
  * <p>The granularity, in seconds, of the returned data points.</p>
@@ -2522,7 +2522,7 @@ export interface GetLoadBalancerMetricDataRequest {
2522
2522
  * requested. For the valid units with each available metric, see the <code>metricName</code>
2523
2523
  * parameter.</p>
2524
2524
  */
2525
- unit: MetricUnit | string | undefined;
2525
+ unit: MetricUnit | undefined;
2526
2526
  /**
2527
2527
  * @public
2528
2528
  * <p>The statistic for the metric.</p>
@@ -2557,7 +2557,7 @@ export interface GetLoadBalancerMetricDataRequest {
2557
2557
  * </li>
2558
2558
  * </ul>
2559
2559
  */
2560
- statistics: (MetricStatistic | string)[] | undefined;
2560
+ statistics: MetricStatistic[] | undefined;
2561
2561
  }
2562
2562
  /**
2563
2563
  * @public
@@ -2567,7 +2567,7 @@ export interface GetLoadBalancerMetricDataResult {
2567
2567
  * @public
2568
2568
  * <p>The name of the metric returned.</p>
2569
2569
  */
2570
- metricName?: LoadBalancerMetricName | string;
2570
+ metricName?: LoadBalancerMetricName;
2571
2571
  /**
2572
2572
  * @public
2573
2573
  * <p>An array of objects that describe the metric data returned.</p>
@@ -2654,7 +2654,7 @@ export interface LoadBalancerTlsCertificateDnsRecordCreationState {
2654
2654
  * </li>
2655
2655
  * </ul>
2656
2656
  */
2657
- code?: LoadBalancerTlsCertificateDnsRecordCreationStateCode | string;
2657
+ code?: LoadBalancerTlsCertificateDnsRecordCreationStateCode;
2658
2658
  /**
2659
2659
  * @public
2660
2660
  * <p>The message that describes the reason for the status code.</p>
@@ -2700,7 +2700,7 @@ export interface LoadBalancerTlsCertificateDomainValidationRecord {
2700
2700
  * @public
2701
2701
  * <p>The validation status. Valid values are listed below.</p>
2702
2702
  */
2703
- validationStatus?: LoadBalancerTlsCertificateDomainStatus | string;
2703
+ validationStatus?: LoadBalancerTlsCertificateDomainStatus;
2704
2704
  /**
2705
2705
  * @public
2706
2706
  * <p>The domain name against which your SSL/TLS certificate was validated.</p>
@@ -2744,7 +2744,7 @@ export interface LoadBalancerTlsCertificateDomainValidationOption {
2744
2744
  * @public
2745
2745
  * <p>The status of the domain validation. Valid values are listed below.</p>
2746
2746
  */
2747
- validationStatus?: LoadBalancerTlsCertificateDomainStatus | string;
2747
+ validationStatus?: LoadBalancerTlsCertificateDomainStatus;
2748
2748
  }
2749
2749
  /**
2750
2750
  * @public
@@ -2847,7 +2847,7 @@ export interface LoadBalancerTlsCertificateRenewalSummary {
2847
2847
  * </li>
2848
2848
  * </ul>
2849
2849
  */
2850
- renewalStatus?: LoadBalancerTlsCertificateRenewalStatus | string;
2850
+ renewalStatus?: LoadBalancerTlsCertificateRenewalStatus;
2851
2851
  /**
2852
2852
  * @public
2853
2853
  * <p>Contains information about the validation of each domain name in the certificate, as it
@@ -3001,7 +3001,7 @@ export interface LoadBalancerTlsCertificate {
3001
3001
  * </li>
3002
3002
  * </ul>
3003
3003
  */
3004
- resourceType?: ResourceType | string;
3004
+ resourceType?: ResourceType;
3005
3005
  /**
3006
3006
  * @public
3007
3007
  * <p>The tag keys and optional values for the resource. For more information about tags in
@@ -3023,7 +3023,7 @@ export interface LoadBalancerTlsCertificate {
3023
3023
  * @public
3024
3024
  * <p>The validation status of the SSL/TLS certificate. Valid values are below.</p>
3025
3025
  */
3026
- status?: LoadBalancerTlsCertificateStatus | string;
3026
+ status?: LoadBalancerTlsCertificateStatus;
3027
3027
  /**
3028
3028
  * @public
3029
3029
  * <p>The domain name for your SSL/TLS certificate.</p>
@@ -3101,7 +3101,7 @@ export interface LoadBalancerTlsCertificate {
3101
3101
  * </li>
3102
3102
  * </ul>
3103
3103
  */
3104
- failureReason?: LoadBalancerTlsCertificateFailureReason | string;
3104
+ failureReason?: LoadBalancerTlsCertificateFailureReason;
3105
3105
  /**
3106
3106
  * @public
3107
3107
  * <p>The time when the SSL/TLS certificate was issued.</p>
@@ -3138,7 +3138,7 @@ export interface LoadBalancerTlsCertificate {
3138
3138
  * <p>The reason the certificate was revoked. This value is present only when the certificate
3139
3139
  * status is <code>REVOKED</code>.</p>
3140
3140
  */
3141
- revocationReason?: LoadBalancerTlsCertificateRevocationReason | string;
3141
+ revocationReason?: LoadBalancerTlsCertificateRevocationReason;
3142
3142
  /**
3143
3143
  * @public
3144
3144
  * <p>The timestamp when the certificate was revoked. This value is present only when the
@@ -3391,7 +3391,7 @@ export interface Region {
3391
3391
  * @public
3392
3392
  * <p>The region name (e.g., <code>us-east-2</code>).</p>
3393
3393
  */
3394
- name?: RegionName | string;
3394
+ name?: RegionName;
3395
3395
  /**
3396
3396
  * @public
3397
3397
  * <p>The Availability Zones. Follows the format <code>us-east-2a</code>
@@ -3541,7 +3541,7 @@ export interface RelationalDatabase {
3541
3541
  * <p>The Lightsail resource type for the database (for example,
3542
3542
  * <code>RelationalDatabase</code>).</p>
3543
3543
  */
3544
- resourceType?: ResourceType | string;
3544
+ resourceType?: ResourceType;
3545
3545
  /**
3546
3546
  * @public
3547
3547
  * <p>The tag keys and optional values for the resource. For more information about tags in
@@ -3703,7 +3703,7 @@ export interface RelationalDatabaseBlueprint {
3703
3703
  * @public
3704
3704
  * <p>The database software of the database blueprint (for example, <code>MySQL</code>).</p>
3705
3705
  */
3706
- engine?: RelationalDatabaseEngine | string;
3706
+ engine?: RelationalDatabaseEngine;
3707
3707
  /**
3708
3708
  * @public
3709
3709
  * <p>The database engine version for the database blueprint (for example,
@@ -4066,7 +4066,7 @@ export interface GetRelationalDatabaseMasterUserPasswordRequest {
4066
4066
  * <p>Default: <code>CURRENT</code>
4067
4067
  * </p>
4068
4068
  */
4069
- passwordVersion?: RelationalDatabasePasswordVersion | string;
4069
+ passwordVersion?: RelationalDatabasePasswordVersion;
4070
4070
  }
4071
4071
  /**
4072
4072
  * @public
@@ -4188,7 +4188,7 @@ export interface GetRelationalDatabaseMetricDataRequest {
4188
4188
  * </li>
4189
4189
  * </ul>
4190
4190
  */
4191
- metricName: RelationalDatabaseMetricName | string | undefined;
4191
+ metricName: RelationalDatabaseMetricName | undefined;
4192
4192
  /**
4193
4193
  * @public
4194
4194
  * <p>The granularity, in seconds, of the returned data points.</p>
@@ -4234,7 +4234,7 @@ export interface GetRelationalDatabaseMetricDataRequest {
4234
4234
  * requested. For the valid units with each available metric, see the <code>metricName</code>
4235
4235
  * parameter.</p>
4236
4236
  */
4237
- unit: MetricUnit | string | undefined;
4237
+ unit: MetricUnit | undefined;
4238
4238
  /**
4239
4239
  * @public
4240
4240
  * <p>The statistic for the metric.</p>
@@ -4269,7 +4269,7 @@ export interface GetRelationalDatabaseMetricDataRequest {
4269
4269
  * </li>
4270
4270
  * </ul>
4271
4271
  */
4272
- statistics: (MetricStatistic | string)[] | undefined;
4272
+ statistics: MetricStatistic[] | undefined;
4273
4273
  }
4274
4274
  /**
4275
4275
  * @public
@@ -4279,7 +4279,7 @@ export interface GetRelationalDatabaseMetricDataResult {
4279
4279
  * @public
4280
4280
  * <p>The name of the metric returned.</p>
4281
4281
  */
4282
- metricName?: RelationalDatabaseMetricName | string;
4282
+ metricName?: RelationalDatabaseMetricName;
4283
4283
  /**
4284
4284
  * @public
4285
4285
  * <p>An array of objects that describe the metric data returned.</p>
@@ -4447,7 +4447,7 @@ export interface RelationalDatabaseSnapshot {
4447
4447
  * @public
4448
4448
  * <p>The Lightsail resource type.</p>
4449
4449
  */
4450
- resourceType?: ResourceType | string;
4450
+ resourceType?: ResourceType;
4451
4451
  /**
4452
4452
  * @public
4453
4453
  * <p>The tag keys and optional values for the resource. For more information about tags in
@@ -4588,7 +4588,7 @@ export interface StaticIp {
4588
4588
  * @public
4589
4589
  * <p>The resource type (usually <code>StaticIp</code>).</p>
4590
4590
  */
4591
- resourceType?: ResourceType | string;
4591
+ resourceType?: ResourceType;
4592
4592
  /**
4593
4593
  * @public
4594
4594
  * <p>The static IP address.</p>
@@ -4776,7 +4776,7 @@ export interface PutAlarmRequest {
4776
4776
  * </ul>
4777
4777
  * <p>For more information about these metrics, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics#available-metrics">Metrics available in Lightsail</a>.</p>
4778
4778
  */
4779
- metricName: MetricName | string | undefined;
4779
+ metricName: MetricName | undefined;
4780
4780
  /**
4781
4781
  * @public
4782
4782
  * <p>The name of the Lightsail resource that will be monitored.</p>
@@ -4789,7 +4789,7 @@ export interface PutAlarmRequest {
4789
4789
  * <p>The arithmetic operation to use when comparing the specified statistic to the threshold.
4790
4790
  * The specified statistic value is used as the first operand.</p>
4791
4791
  */
4792
- comparisonOperator: ComparisonOperator | string | undefined;
4792
+ comparisonOperator: ComparisonOperator | undefined;
4793
4793
  /**
4794
4794
  * @public
4795
4795
  * <p>The value against which the specified statistic is compared.</p>
@@ -4845,7 +4845,7 @@ export interface PutAlarmRequest {
4845
4845
  * <p>If <code>treatMissingData</code> is not specified, the default behavior of
4846
4846
  * <code>missing</code> is used.</p>
4847
4847
  */
4848
- treatMissingData?: TreatMissingData | string;
4848
+ treatMissingData?: TreatMissingData;
4849
4849
  /**
4850
4850
  * @public
4851
4851
  * <p>The contact protocols to use for the alarm, such as <code>Email</code>, <code>SMS</code>
@@ -4858,7 +4858,7 @@ export interface PutAlarmRequest {
4858
4858
  * <p>Use the <code>CreateContactMethod</code> action to configure a contact protocol in an
4859
4859
  * Amazon Web Services Region.</p>
4860
4860
  */
4861
- contactProtocols?: (ContactProtocol | string)[];
4861
+ contactProtocols?: ContactProtocol[];
4862
4862
  /**
4863
4863
  * @public
4864
4864
  * <p>The alarm states that trigger a notification.</p>
@@ -4898,7 +4898,7 @@ export interface PutAlarmRequest {
4898
4898
  * <p>The notification trigger defaults to <code>ALARM</code> if you don't specify this
4899
4899
  * parameter.</p>
4900
4900
  */
4901
- notificationTriggers?: (AlarmState | string)[];
4901
+ notificationTriggers?: AlarmState[];
4902
4902
  /**
4903
4903
  * @public
4904
4904
  * <p>Indicates whether the alarm is enabled.</p>
@@ -5100,7 +5100,7 @@ export interface SendContactMethodVerificationRequest {
5100
5100
  * <p>The protocol to verify, such as <code>Email</code> or <code>SMS</code> (text
5101
5101
  * messaging).</p>
5102
5102
  */
5103
- protocol: ContactMethodVerificationProtocol | string | undefined;
5103
+ protocol: ContactMethodVerificationProtocol | undefined;
5104
5104
  }
5105
5105
  /**
5106
5106
  * @public
@@ -5128,7 +5128,7 @@ export interface SetIpAddressTypeRequest {
5128
5128
  * <code>us-east-1</code> to create, view, or edit distributions.</p>
5129
5129
  * </note>
5130
5130
  */
5131
- resourceType: ResourceType | string | undefined;
5131
+ resourceType: ResourceType | undefined;
5132
5132
  /**
5133
5133
  * @public
5134
5134
  * <p>The name of the resource for which to set the IP address type.</p>
@@ -5140,7 +5140,7 @@ export interface SetIpAddressTypeRequest {
5140
5140
  * <p>The possible values are <code>ipv4</code> for IPv4 only, and <code>dualstack</code> for
5141
5141
  * IPv4 and IPv6.</p>
5142
5142
  */
5143
- ipAddressType: IpAddressType | string | undefined;
5143
+ ipAddressType: IpAddressType | undefined;
5144
5144
  }
5145
5145
  /**
5146
5146
  * @public
@@ -5196,7 +5196,7 @@ export interface SetResourceAccessForBucketRequest {
5196
5196
  * </li>
5197
5197
  * </ul>
5198
5198
  */
5199
- access: ResourceBucketAccess | string | undefined;
5199
+ access: ResourceBucketAccess | undefined;
5200
5200
  }
5201
5201
  /**
5202
5202
  * @public
@@ -5410,7 +5410,7 @@ export interface TestAlarmRequest {
5410
5410
  * </li>
5411
5411
  * </ul>
5412
5412
  */
5413
- state: AlarmState | string | undefined;
5413
+ state: AlarmState | undefined;
5414
5414
  }
5415
5415
  /**
5416
5416
  * @public
@@ -5578,7 +5578,7 @@ export interface UpdateContainerServiceRequest {
5578
5578
  * <p>Use the <code>GetContainerServicePowers</code> action to view the specifications of each
5579
5579
  * power option.</p>
5580
5580
  */
5581
- power?: ContainerServicePowerName | string;
5581
+ power?: ContainerServicePowerName;
5582
5582
  /**
5583
5583
  * @public
5584
5584
  * <p>The scale for the container service.</p>
@@ -5764,7 +5764,7 @@ export interface UpdateInstanceMetadataOptionsRequest {
5764
5764
  * instance metadata retrieval requests. In this state, retrieving the IAM role credential always
5765
5765
  * returns the version 2.0 credentials. The version 1.0 credentials are not available.</p>
5766
5766
  */
5767
- httpTokens?: HttpTokens | string;
5767
+ httpTokens?: HttpTokens;
5768
5768
  /**
5769
5769
  * @public
5770
5770
  * <p>Enables or disables the HTTP metadata endpoint on your instances. If this parameter is not
@@ -5772,7 +5772,7 @@ export interface UpdateInstanceMetadataOptionsRequest {
5772
5772
  * <p>If you specify a value of <code>disabled</code>, you cannot access your instance
5773
5773
  * metadata.</p>
5774
5774
  */
5775
- httpEndpoint?: HttpEndpoint | string;
5775
+ httpEndpoint?: HttpEndpoint;
5776
5776
  /**
5777
5777
  * @public
5778
5778
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. A larger number
@@ -5788,7 +5788,7 @@ export interface UpdateInstanceMetadataOptionsRequest {
5788
5788
  * <p>This parameter is available only for instances in the Europe (Stockholm) Amazon Web Services Region (<code>eu-north-1</code>).</p>
5789
5789
  * </note>
5790
5790
  */
5791
- httpProtocolIpv6?: HttpProtocolIpv6 | string;
5791
+ httpProtocolIpv6?: HttpProtocolIpv6;
5792
5792
  }
5793
5793
  /**
5794
5794
  * @public
@@ -5815,7 +5815,7 @@ export interface UpdateLoadBalancerAttributeRequest {
5815
5815
  * @public
5816
5816
  * <p>The name of the attribute you want to update.</p>
5817
5817
  */
5818
- attributeName: LoadBalancerAttributeName | string | undefined;
5818
+ attributeName: LoadBalancerAttributeName | undefined;
5819
5819
  /**
5820
5820
  * @public
5821
5821
  * <p>The value that you want to specify for the attribute name.</p>