@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.
@@ -29,7 +29,7 @@ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
29
29
  export interface AccessKey {
30
30
  accessKeyId?: string;
31
31
  secretAccessKey?: string;
32
- status?: StatusType | string;
32
+ status?: StatusType;
33
33
  createdAt?: Date;
34
34
  lastUsed?: AccessKeyLastUsed;
35
35
  }
@@ -43,7 +43,7 @@ export declare const AccessType: {
43
43
  };
44
44
  export type AccessType = (typeof AccessType)[keyof typeof AccessType];
45
45
  export interface AccessRules {
46
- getObject?: AccessType | string;
46
+ getObject?: AccessType;
47
47
  allowPublicOverrides?: boolean;
48
48
  }
49
49
  export declare const BPAStatusMessage: {
@@ -63,9 +63,9 @@ export declare const AccountLevelBpaSyncStatus: {
63
63
  export type AccountLevelBpaSyncStatus =
64
64
  (typeof AccountLevelBpaSyncStatus)[keyof typeof AccountLevelBpaSyncStatus];
65
65
  export interface AccountLevelBpaSync {
66
- status?: AccountLevelBpaSyncStatus | string;
66
+ status?: AccountLevelBpaSyncStatus;
67
67
  lastSyncedAt?: Date;
68
- message?: BPAStatusMessage | string;
68
+ message?: BPAStatusMessage;
69
69
  bpaImpactsLightsail?: boolean;
70
70
  }
71
71
  export declare class AccountSetupInProgressException extends __BaseException {
@@ -102,7 +102,7 @@ export interface StopInstanceOnIdleRequest {
102
102
  duration?: string;
103
103
  }
104
104
  export interface AddOnRequest {
105
- addOnType: AddOnType | string | undefined;
105
+ addOnType: AddOnType | undefined;
106
106
  autoSnapshotAddOnRequest?: AutoSnapshotAddOnRequest;
107
107
  stopInstanceOnIdleRequest?: StopInstanceOnIdleRequest;
108
108
  }
@@ -140,7 +140,7 @@ export declare const RegionName: {
140
140
  export type RegionName = (typeof RegionName)[keyof typeof RegionName];
141
141
  export interface ResourceLocation {
142
142
  availabilityZone?: string;
143
- regionName?: RegionName | string;
143
+ regionName?: RegionName;
144
144
  }
145
145
  export declare const MetricName: {
146
146
  readonly BurstCapacityPercentage: "BurstCapacityPercentage";
@@ -196,7 +196,7 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
196
196
  export interface MonitoredResourceInfo {
197
197
  arn?: string;
198
198
  name?: string;
199
- resourceType?: ResourceType | string;
199
+ resourceType?: ResourceType;
200
200
  }
201
201
  export declare const AlarmState: {
202
202
  readonly ALARM: "ALARM";
@@ -256,21 +256,21 @@ export interface Alarm {
256
256
  arn?: string;
257
257
  createdAt?: Date;
258
258
  location?: ResourceLocation;
259
- resourceType?: ResourceType | string;
259
+ resourceType?: ResourceType;
260
260
  supportCode?: string;
261
261
  monitoredResourceInfo?: MonitoredResourceInfo;
262
- comparisonOperator?: ComparisonOperator | string;
262
+ comparisonOperator?: ComparisonOperator;
263
263
  evaluationPeriods?: number;
264
264
  period?: number;
265
265
  threshold?: number;
266
266
  datapointsToAlarm?: number;
267
- treatMissingData?: TreatMissingData | string;
268
- statistic?: MetricStatistic | string;
269
- metricName?: MetricName | string;
270
- state?: AlarmState | string;
271
- unit?: MetricUnit | string;
272
- contactProtocols?: (ContactProtocol | string)[];
273
- notificationTriggers?: (AlarmState | string)[];
267
+ treatMissingData?: TreatMissingData;
268
+ statistic?: MetricStatistic;
269
+ metricName?: MetricName;
270
+ state?: AlarmState;
271
+ unit?: MetricUnit;
272
+ contactProtocols?: ContactProtocol[];
273
+ notificationTriggers?: AlarmState[];
274
274
  notificationEnabled?: boolean;
275
275
  }
276
276
  export interface AllocateStaticIpRequest {
@@ -373,13 +373,13 @@ export type OperationStatus =
373
373
  export interface Operation {
374
374
  id?: string;
375
375
  resourceName?: string;
376
- resourceType?: ResourceType | string;
376
+ resourceType?: ResourceType;
377
377
  createdAt?: Date;
378
378
  location?: ResourceLocation;
379
379
  isTerminal?: boolean;
380
380
  operationDetails?: string;
381
- operationType?: OperationType | string;
382
- status?: OperationStatus | string;
381
+ operationType?: OperationType;
382
+ status?: OperationStatus;
383
383
  statusChangedAt?: Date;
384
384
  errorCode?: string;
385
385
  errorDetails?: string;
@@ -501,7 +501,7 @@ export type AutoSnapshotStatus =
501
501
  export interface AutoSnapshotDetails {
502
502
  date?: string;
503
503
  createdAt?: Date;
504
- status?: AutoSnapshotStatus | string;
504
+ status?: AutoSnapshotStatus;
505
505
  fromAttachedDisks?: AttachedDisk[];
506
506
  }
507
507
  export interface AvailabilityZone {
@@ -528,7 +528,7 @@ export interface Blueprint {
528
528
  blueprintId?: string;
529
529
  name?: string;
530
530
  group?: string;
531
- type?: BlueprintType | string;
531
+ type?: BlueprintType;
532
532
  description?: string;
533
533
  isActive?: boolean;
534
534
  minPower?: number;
@@ -536,8 +536,8 @@ export interface Blueprint {
536
536
  versionCode?: string;
537
537
  productUrl?: string;
538
538
  licenseUrl?: string;
539
- platform?: InstancePlatform | string;
540
- appCategory?: AppCategory | string;
539
+ platform?: InstancePlatform;
540
+ appCategory?: AppCategory;
541
541
  }
542
542
  export interface BucketAccessLogConfig {
543
543
  enabled: boolean | undefined;
@@ -595,15 +595,15 @@ export interface Bundle {
595
595
  power?: number;
596
596
  ramSizeInGb?: number;
597
597
  transferPerMonthInGb?: number;
598
- supportedPlatforms?: (InstancePlatform | string)[];
599
- supportedAppCategories?: (AppCategory | string)[];
598
+ supportedPlatforms?: InstancePlatform[];
599
+ supportedAppCategories?: AppCategory[];
600
600
  }
601
601
  export interface CacheBehavior {
602
- behavior?: BehaviorEnum | string;
602
+ behavior?: BehaviorEnum;
603
603
  }
604
604
  export interface CacheBehaviorPerPath {
605
605
  path?: string;
606
- behavior?: BehaviorEnum | string;
606
+ behavior?: BehaviorEnum;
607
607
  }
608
608
  export declare const ForwardValues: {
609
609
  readonly all: "all";
@@ -612,7 +612,7 @@ export declare const ForwardValues: {
612
612
  };
613
613
  export type ForwardValues = (typeof ForwardValues)[keyof typeof ForwardValues];
614
614
  export interface CookieObject {
615
- option?: ForwardValues | string;
615
+ option?: ForwardValues;
616
616
  cookiesAllowList?: string[];
617
617
  }
618
618
  export declare const HeaderEnum: {
@@ -634,8 +634,8 @@ export declare const HeaderEnum: {
634
634
  };
635
635
  export type HeaderEnum = (typeof HeaderEnum)[keyof typeof HeaderEnum];
636
636
  export interface HeaderObject {
637
- option?: ForwardValues | string;
638
- headersAllowList?: (HeaderEnum | string)[];
637
+ option?: ForwardValues;
638
+ headersAllowList?: HeaderEnum[];
639
639
  }
640
640
  export interface QueryStringObject {
641
641
  option?: boolean;
@@ -659,7 +659,7 @@ export declare const DnsRecordCreationStateCode: {
659
659
  export type DnsRecordCreationStateCode =
660
660
  (typeof DnsRecordCreationStateCode)[keyof typeof DnsRecordCreationStateCode];
661
661
  export interface DnsRecordCreationState {
662
- code?: DnsRecordCreationStateCode | string;
662
+ code?: DnsRecordCreationStateCode;
663
663
  message?: string;
664
664
  }
665
665
  export interface ResourceRecord {
@@ -678,7 +678,7 @@ export interface DomainValidationRecord {
678
678
  domainName?: string;
679
679
  resourceRecord?: ResourceRecord;
680
680
  dnsRecordCreationState?: DnsRecordCreationState;
681
- validationStatus?: CertificateDomainValidationStatus | string;
681
+ validationStatus?: CertificateDomainValidationStatus;
682
682
  }
683
683
  export declare const RenewalStatus: {
684
684
  readonly Failed: "Failed";
@@ -689,7 +689,7 @@ export declare const RenewalStatus: {
689
689
  export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
690
690
  export interface RenewalSummary {
691
691
  domainValidationRecords?: DomainValidationRecord[];
692
- renewalStatus?: RenewalStatus | string;
692
+ renewalStatus?: RenewalStatus;
693
693
  renewalStatusReason?: string;
694
694
  updatedAt?: Date;
695
695
  }
@@ -708,7 +708,7 @@ export interface Certificate {
708
708
  arn?: string;
709
709
  name?: string;
710
710
  domainName?: string;
711
- status?: CertificateStatus | string;
711
+ status?: CertificateStatus;
712
712
  serialNumber?: string;
713
713
  subjectAlternativeNames?: string[];
714
714
  domainValidationRecords?: DomainValidationRecord[];
@@ -745,7 +745,7 @@ export type NetworkProtocol =
745
745
  export interface PortInfo {
746
746
  fromPort?: number;
747
747
  toPort?: number;
748
- protocol?: NetworkProtocol | string;
748
+ protocol?: NetworkProtocol;
749
749
  cidrs?: string[];
750
750
  ipv6Cidrs?: string[];
751
751
  cidrListAliases?: string[];
@@ -767,7 +767,7 @@ export declare const CloudFormationStackRecordSourceType: {
767
767
  export type CloudFormationStackRecordSourceType =
768
768
  (typeof CloudFormationStackRecordSourceType)[keyof typeof CloudFormationStackRecordSourceType];
769
769
  export interface CloudFormationStackRecordSourceInfo {
770
- resourceType?: CloudFormationStackRecordSourceType | string;
770
+ resourceType?: CloudFormationStackRecordSourceType;
771
771
  name?: string;
772
772
  arn?: string;
773
773
  }
@@ -782,8 +782,8 @@ export interface CloudFormationStackRecord {
782
782
  arn?: string;
783
783
  createdAt?: Date;
784
784
  location?: ResourceLocation;
785
- resourceType?: ResourceType | string;
786
- state?: RecordState | string;
785
+ resourceType?: ResourceType;
786
+ state?: RecordState;
787
787
  sourceInfo?: CloudFormationStackRecordSourceInfo[];
788
788
  destinationInfo?: DestinationInfo;
789
789
  }
@@ -796,13 +796,13 @@ export type ContactMethodStatus =
796
796
  (typeof ContactMethodStatus)[keyof typeof ContactMethodStatus];
797
797
  export interface ContactMethod {
798
798
  contactEndpoint?: string;
799
- status?: ContactMethodStatus | string;
800
- protocol?: ContactProtocol | string;
799
+ status?: ContactMethodStatus;
800
+ protocol?: ContactProtocol;
801
801
  name?: string;
802
802
  arn?: string;
803
803
  createdAt?: Date;
804
804
  location?: ResourceLocation;
805
- resourceType?: ResourceType | string;
805
+ resourceType?: ResourceType;
806
806
  supportCode?: string;
807
807
  }
808
808
  export declare const ContactMethodVerificationProtocol: {
@@ -822,7 +822,7 @@ export interface Container {
822
822
  image?: string;
823
823
  command?: string[];
824
824
  environment?: Record<string, string>;
825
- ports?: Record<string, ContainerServiceProtocol | string>;
825
+ ports?: Record<string, ContainerServiceProtocol>;
826
826
  }
827
827
  export interface ContainerImage {
828
828
  image?: string;
@@ -852,7 +852,7 @@ export type ContainerServiceDeploymentState =
852
852
  (typeof ContainerServiceDeploymentState)[keyof typeof ContainerServiceDeploymentState];
853
853
  export interface ContainerServiceDeployment {
854
854
  version?: number;
855
- state?: ContainerServiceDeploymentState | string;
855
+ state?: ContainerServiceDeploymentState;
856
856
  containers?: Record<string, Container>;
857
857
  publicEndpoint?: ContainerServiceEndpoint;
858
858
  createdAt?: Date;
@@ -899,7 +899,7 @@ export declare const ContainerServiceStateDetailCode: {
899
899
  export type ContainerServiceStateDetailCode =
900
900
  (typeof ContainerServiceStateDetailCode)[keyof typeof ContainerServiceStateDetailCode];
901
901
  export interface ContainerServiceStateDetail {
902
- code?: ContainerServiceStateDetailCode | string;
902
+ code?: ContainerServiceStateDetailCode;
903
903
  message?: string;
904
904
  }
905
905
  export interface ContainerService {
@@ -907,11 +907,11 @@ export interface ContainerService {
907
907
  arn?: string;
908
908
  createdAt?: Date;
909
909
  location?: ResourceLocation;
910
- resourceType?: ResourceType | string;
910
+ resourceType?: ResourceType;
911
911
  tags?: Tag[];
912
- power?: ContainerServicePowerName | string;
912
+ power?: ContainerServicePowerName;
913
913
  powerId?: string;
914
- state?: ContainerServiceState | string;
914
+ state?: ContainerServiceState;
915
915
  stateDetail?: ContainerServiceStateDetail;
916
916
  scale?: number;
917
917
  currentDeployment?: ContainerServiceDeployment;
@@ -968,7 +968,7 @@ export interface CopySnapshotRequest {
968
968
  restoreDate?: string;
969
969
  useLatestRestorableAutoSnapshot?: boolean;
970
970
  targetSnapshotName: string | undefined;
971
- sourceRegion: RegionName | string | undefined;
971
+ sourceRegion: RegionName | undefined;
972
972
  }
973
973
  export interface CopySnapshotResult {
974
974
  operations?: Operation[];
@@ -991,9 +991,9 @@ export interface TimePeriod {
991
991
  }
992
992
  export interface EstimateByTime {
993
993
  usageCost?: number;
994
- pricingUnit?: PricingUnit | string;
994
+ pricingUnit?: PricingUnit;
995
995
  unit?: number;
996
- currency?: Currency | string;
996
+ currency?: Currency;
997
997
  timePeriod?: TimePeriod;
998
998
  }
999
999
  export interface CostEstimate {
@@ -1038,7 +1038,7 @@ export type PortInfoSourceType =
1038
1038
  export interface InstanceEntry {
1039
1039
  sourceName: string | undefined;
1040
1040
  instanceType: string | undefined;
1041
- portInfoSource: PortInfoSourceType | string | undefined;
1041
+ portInfoSource: PortInfoSourceType | undefined;
1042
1042
  userData?: string;
1043
1043
  availabilityZone: string | undefined;
1044
1044
  }
@@ -1049,7 +1049,7 @@ export interface CreateCloudFormationStackResult {
1049
1049
  operations?: Operation[];
1050
1050
  }
1051
1051
  export interface CreateContactMethodRequest {
1052
- protocol: ContactProtocol | string | undefined;
1052
+ protocol: ContactProtocol | undefined;
1053
1053
  contactEndpoint: string | undefined;
1054
1054
  }
1055
1055
  export interface CreateContactMethodResult {
@@ -1060,7 +1060,7 @@ export interface PrivateRegistryAccessRequest {
1060
1060
  }
1061
1061
  export interface CreateContainerServiceRequest {
1062
1062
  serviceName: string | undefined;
1063
- power: ContainerServicePowerName | string | undefined;
1063
+ power: ContainerServicePowerName | undefined;
1064
1064
  scale: number | undefined;
1065
1065
  tags?: Tag[];
1066
1066
  publicDomainNames?: Record<string, string[]>;
@@ -1128,8 +1128,8 @@ export type OriginProtocolPolicyEnum =
1128
1128
  (typeof OriginProtocolPolicyEnum)[keyof typeof OriginProtocolPolicyEnum];
1129
1129
  export interface InputOrigin {
1130
1130
  name?: string;
1131
- regionName?: RegionName | string;
1132
- protocolPolicy?: OriginProtocolPolicyEnum | string;
1131
+ regionName?: RegionName;
1132
+ protocolPolicy?: OriginProtocolPolicyEnum;
1133
1133
  }
1134
1134
  export interface CreateDistributionRequest {
1135
1135
  distributionName: string | undefined;
@@ -1138,14 +1138,14 @@ export interface CreateDistributionRequest {
1138
1138
  cacheBehaviorSettings?: CacheSettings;
1139
1139
  cacheBehaviors?: CacheBehaviorPerPath[];
1140
1140
  bundleId: string | undefined;
1141
- ipAddressType?: IpAddressType | string;
1141
+ ipAddressType?: IpAddressType;
1142
1142
  tags?: Tag[];
1143
1143
  }
1144
1144
  export interface Origin {
1145
1145
  name?: string;
1146
- resourceType?: ResourceType | string;
1147
- regionName?: RegionName | string;
1148
- protocolPolicy?: OriginProtocolPolicyEnum | string;
1146
+ resourceType?: ResourceType;
1147
+ regionName?: RegionName;
1148
+ protocolPolicy?: OriginProtocolPolicyEnum;
1149
1149
  }
1150
1150
  export interface LightsailDistribution {
1151
1151
  name?: string;
@@ -1153,7 +1153,7 @@ export interface LightsailDistribution {
1153
1153
  supportCode?: string;
1154
1154
  createdAt?: Date;
1155
1155
  location?: ResourceLocation;
1156
- resourceType?: ResourceType | string;
1156
+ resourceType?: ResourceType;
1157
1157
  alternativeDomainNames?: string[];
1158
1158
  status?: string;
1159
1159
  isEnabled?: boolean;
@@ -1166,7 +1166,7 @@ export interface LightsailDistribution {
1166
1166
  cacheBehaviorSettings?: CacheSettings;
1167
1167
  cacheBehaviors?: CacheBehaviorPerPath[];
1168
1168
  ableToUpdateBundle?: boolean;
1169
- ipAddressType?: IpAddressType | string;
1169
+ ipAddressType?: IpAddressType;
1170
1170
  tags?: Tag[];
1171
1171
  }
1172
1172
  export interface CreateDistributionResult {
@@ -1218,7 +1218,7 @@ export declare const Status: {
1218
1218
  export type Status = (typeof Status)[keyof typeof Status];
1219
1219
  export interface CreateGUISessionAccessDetailsResult {
1220
1220
  resourceName?: string;
1221
- status?: Status | string;
1221
+ status?: Status;
1222
1222
  percentageComplete?: number;
1223
1223
  failureReason?: string;
1224
1224
  sessions?: Session[];
@@ -1233,7 +1233,7 @@ export interface CreateInstancesRequest {
1233
1233
  keyPairName?: string;
1234
1234
  tags?: Tag[];
1235
1235
  addOns?: AddOnRequest[];
1236
- ipAddressType?: IpAddressType | string;
1236
+ ipAddressType?: IpAddressType;
1237
1237
  }
1238
1238
  export interface CreateInstancesResult {
1239
1239
  operations?: Operation[];
@@ -1248,7 +1248,7 @@ export interface CreateInstancesFromSnapshotRequest {
1248
1248
  keyPairName?: string;
1249
1249
  tags?: Tag[];
1250
1250
  addOns?: AddOnRequest[];
1251
- ipAddressType?: IpAddressType | string;
1251
+ ipAddressType?: IpAddressType;
1252
1252
  sourceInstanceName?: string;
1253
1253
  restoreDate?: string;
1254
1254
  useLatestRestorableAutoSnapshot?: boolean;
@@ -1274,7 +1274,7 @@ export interface KeyPair {
1274
1274
  supportCode?: string;
1275
1275
  createdAt?: Date;
1276
1276
  location?: ResourceLocation;
1277
- resourceType?: ResourceType | string;
1277
+ resourceType?: ResourceType;
1278
1278
  tags?: Tag[];
1279
1279
  fingerprint?: string;
1280
1280
  }
@@ -1292,7 +1292,7 @@ export interface CreateLoadBalancerRequest {
1292
1292
  certificateDomainName?: string;
1293
1293
  certificateAlternativeNames?: string[];
1294
1294
  tags?: Tag[];
1295
- ipAddressType?: IpAddressType | string;
1295
+ ipAddressType?: IpAddressType;
1296
1296
  tlsPolicyName?: string;
1297
1297
  }
1298
1298
  export interface CreateLoadBalancerResult {
@@ -1380,7 +1380,7 @@ export interface DeleteCertificateResult {
1380
1380
  operations?: Operation[];
1381
1381
  }
1382
1382
  export interface DeleteContactMethodRequest {
1383
- protocol: ContactProtocol | string | undefined;
1383
+ protocol: ContactProtocol | undefined;
1384
1384
  }
1385
1385
  export interface DeleteContactMethodResult {
1386
1386
  operations?: Operation[];
@@ -1506,7 +1506,7 @@ export interface DetachStaticIpResult {
1506
1506
  operations?: Operation[];
1507
1507
  }
1508
1508
  export interface DisableAddOnRequest {
1509
- addOnType: AddOnType | string | undefined;
1509
+ addOnType: AddOnType | undefined;
1510
1510
  resourceName: string | undefined;
1511
1511
  }
1512
1512
  export interface DisableAddOnResult {
@@ -1526,19 +1526,19 @@ export interface Disk {
1526
1526
  supportCode?: string;
1527
1527
  createdAt?: Date;
1528
1528
  location?: ResourceLocation;
1529
- resourceType?: ResourceType | string;
1529
+ resourceType?: ResourceType;
1530
1530
  tags?: Tag[];
1531
1531
  addOns?: AddOn[];
1532
1532
  sizeInGb?: number;
1533
1533
  isSystemDisk?: boolean;
1534
1534
  iops?: number;
1535
1535
  path?: string;
1536
- state?: DiskState | string;
1536
+ state?: DiskState;
1537
1537
  attachedTo?: string;
1538
1538
  isAttached?: boolean;
1539
1539
  attachmentState?: string;
1540
1540
  gbInUse?: number;
1541
- autoMountStatus?: AutoMountStatus | string;
1541
+ autoMountStatus?: AutoMountStatus;
1542
1542
  }
1543
1543
  export interface DiskInfo {
1544
1544
  name?: string;
@@ -1560,10 +1560,10 @@ export interface DiskSnapshot {
1560
1560
  supportCode?: string;
1561
1561
  createdAt?: Date;
1562
1562
  location?: ResourceLocation;
1563
- resourceType?: ResourceType | string;
1563
+ resourceType?: ResourceType;
1564
1564
  tags?: Tag[];
1565
1565
  sizeInGb?: number;
1566
- state?: DiskSnapshotState | string;
1566
+ state?: DiskSnapshotState;
1567
1567
  progress?: string;
1568
1568
  fromDiskName?: string;
1569
1569
  fromDiskArn?: string;
@@ -1600,7 +1600,7 @@ export declare const NameServersUpdateStateCode: {
1600
1600
  export type NameServersUpdateStateCode =
1601
1601
  (typeof NameServersUpdateStateCode)[keyof typeof NameServersUpdateStateCode];
1602
1602
  export interface NameServersUpdateState {
1603
- code?: NameServersUpdateStateCode | string;
1603
+ code?: NameServersUpdateStateCode;
1604
1604
  message?: string;
1605
1605
  }
1606
1606
  export declare const R53HostedZoneDeletionStateCode: {
@@ -1612,7 +1612,7 @@ export declare const R53HostedZoneDeletionStateCode: {
1612
1612
  export type R53HostedZoneDeletionStateCode =
1613
1613
  (typeof R53HostedZoneDeletionStateCode)[keyof typeof R53HostedZoneDeletionStateCode];
1614
1614
  export interface R53HostedZoneDeletionState {
1615
- code?: R53HostedZoneDeletionStateCode | string;
1615
+ code?: R53HostedZoneDeletionStateCode;
1616
1616
  message?: string;
1617
1617
  }
1618
1618
  export interface RegisteredDomainDelegationInfo {
@@ -1625,7 +1625,7 @@ export interface Domain {
1625
1625
  supportCode?: string;
1626
1626
  createdAt?: Date;
1627
1627
  location?: ResourceLocation;
1628
- resourceType?: ResourceType | string;
1628
+ resourceType?: ResourceType;
1629
1629
  tags?: Tag[];
1630
1630
  domainEntries?: DomainEntry[];
1631
1631
  registeredDomainDelegationInfo?: RegisteredDomainDelegationInfo;
@@ -1661,7 +1661,7 @@ export declare const ExportSnapshotRecordSourceType: {
1661
1661
  export type ExportSnapshotRecordSourceType =
1662
1662
  (typeof ExportSnapshotRecordSourceType)[keyof typeof ExportSnapshotRecordSourceType];
1663
1663
  export interface ExportSnapshotRecordSourceInfo {
1664
- resourceType?: ExportSnapshotRecordSourceType | string;
1664
+ resourceType?: ExportSnapshotRecordSourceType;
1665
1665
  createdAt?: Date;
1666
1666
  name?: string;
1667
1667
  arn?: string;
@@ -1675,8 +1675,8 @@ export interface ExportSnapshotRecord {
1675
1675
  arn?: string;
1676
1676
  createdAt?: Date;
1677
1677
  location?: ResourceLocation;
1678
- resourceType?: ResourceType | string;
1679
- state?: RecordState | string;
1678
+ resourceType?: ResourceType;
1679
+ state?: RecordState;
1680
1680
  sourceInfo?: ExportSnapshotRecordSourceInfo;
1681
1681
  destinationInfo?: DestinationInfo;
1682
1682
  }
@@ -1701,13 +1701,13 @@ export interface GetAutoSnapshotsRequest {
1701
1701
  }
1702
1702
  export interface GetAutoSnapshotsResult {
1703
1703
  resourceName?: string;
1704
- resourceType?: ResourceType | string;
1704
+ resourceType?: ResourceType;
1705
1705
  autoSnapshots?: AutoSnapshotDetails[];
1706
1706
  }
1707
1707
  export interface GetBlueprintsRequest {
1708
1708
  includeInactive?: boolean;
1709
1709
  pageToken?: string;
1710
- appCategory?: AppCategory | string;
1710
+ appCategory?: AppCategory;
1711
1711
  }
1712
1712
  export interface GetBlueprintsResult {
1713
1713
  blueprints?: Blueprint[];
@@ -1727,12 +1727,12 @@ export interface GetBucketBundlesResult {
1727
1727
  }
1728
1728
  export interface GetBucketMetricDataRequest {
1729
1729
  bucketName: string | undefined;
1730
- metricName: BucketMetricName | string | undefined;
1730
+ metricName: BucketMetricName | undefined;
1731
1731
  startTime: Date | undefined;
1732
1732
  endTime: Date | undefined;
1733
1733
  period: number | undefined;
1734
- statistics: (MetricStatistic | string)[] | undefined;
1735
- unit: MetricUnit | string | undefined;
1734
+ statistics: MetricStatistic[] | undefined;
1735
+ unit: MetricUnit | undefined;
1736
1736
  }
1737
1737
  export interface MetricDatapoint {
1738
1738
  average?: number;
@@ -1741,10 +1741,10 @@ export interface MetricDatapoint {
1741
1741
  sampleCount?: number;
1742
1742
  sum?: number;
1743
1743
  timestamp?: Date;
1744
- unit?: MetricUnit | string;
1744
+ unit?: MetricUnit;
1745
1745
  }
1746
1746
  export interface GetBucketMetricDataResult {
1747
- metricName?: BucketMetricName | string;
1747
+ metricName?: BucketMetricName;
1748
1748
  metricData?: MetricDatapoint[];
1749
1749
  }
1750
1750
  export interface GetBucketsRequest {
@@ -1760,14 +1760,14 @@ export interface GetBucketsResult {
1760
1760
  export interface GetBundlesRequest {
1761
1761
  includeInactive?: boolean;
1762
1762
  pageToken?: string;
1763
- appCategory?: AppCategory | string;
1763
+ appCategory?: AppCategory;
1764
1764
  }
1765
1765
  export interface GetBundlesResult {
1766
1766
  bundles?: Bundle[];
1767
1767
  nextPageToken?: string;
1768
1768
  }
1769
1769
  export interface GetCertificatesRequest {
1770
- certificateStatuses?: (CertificateStatus | string)[];
1770
+ certificateStatuses?: CertificateStatus[];
1771
1771
  includeCertificateDetails?: boolean;
1772
1772
  certificateName?: string;
1773
1773
  pageToken?: string;
@@ -1784,7 +1784,7 @@ export interface GetCloudFormationStackRecordsResult {
1784
1784
  nextPageToken?: string;
1785
1785
  }
1786
1786
  export interface GetContactMethodsRequest {
1787
- protocols?: (ContactProtocol | string)[];
1787
+ protocols?: ContactProtocol[];
1788
1788
  }
1789
1789
  export interface GetContactMethodsResult {
1790
1790
  contactMethods?: ContactMethod[];
@@ -1819,14 +1819,14 @@ export interface GetContainerServiceDeploymentsResult {
1819
1819
  }
1820
1820
  export interface GetContainerServiceMetricDataRequest {
1821
1821
  serviceName: string | undefined;
1822
- metricName: ContainerServiceMetricName | string | undefined;
1822
+ metricName: ContainerServiceMetricName | undefined;
1823
1823
  startTime: Date | undefined;
1824
1824
  endTime: Date | undefined;
1825
1825
  period: number | undefined;
1826
- statistics: (MetricStatistic | string)[] | undefined;
1826
+ statistics: MetricStatistic[] | undefined;
1827
1827
  }
1828
1828
  export interface GetContainerServiceMetricDataResult {
1829
- metricName?: ContainerServiceMetricName | string;
1829
+ metricName?: ContainerServiceMetricName;
1830
1830
  metricData?: MetricDatapoint[];
1831
1831
  }
1832
1832
  export interface GetContainerServicePowersRequest {}