import { ActionHistoryStatus, ActionStatus, ActionType, ApplicationVersionStatus, ArchitectureType, ComputeType, ConfigurationDeploymentStatus, ConfigurationOptionValueType, EnvironmentHealth, EnvironmentHealthAttribute, EnvironmentHealthStatus, EnvironmentInfoType, EnvironmentStatus, EventSeverity, FailureType, ImageBuildType, InstancesHealthAttribute, PlatformStatus, SourceRepository, SourceType, ValidationSeverity, } from "./enums"; export interface AbortEnvironmentUpdateMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; } export interface MaxAgeRule { Enabled: boolean | undefined; MaxAgeInDays?: number | undefined; DeleteSourceFromS3?: boolean | undefined; } export interface MaxCountRule { Enabled: boolean | undefined; MaxCount?: number | undefined; DeleteSourceFromS3?: boolean | undefined; } export interface ApplicationVersionLifecycleConfig { MaxCountRule?: MaxCountRule | undefined; MaxAgeRule?: MaxAgeRule | undefined; } export interface ApplicationResourceLifecycleConfig { ServiceRole?: string | undefined; VersionLifecycleConfig?: ApplicationVersionLifecycleConfig | undefined; } export interface ApplicationDescription { ApplicationArn?: string | undefined; ApplicationName?: string | undefined; Description?: string | undefined; DateCreated?: Date | undefined; DateUpdated?: Date | undefined; Versions?: string[] | undefined; ConfigurationTemplates?: string[] | undefined; ResourceLifecycleConfig?: ApplicationResourceLifecycleConfig | undefined; } export interface ApplicationDescriptionMessage { Application?: ApplicationDescription | undefined; } export interface ApplicationDescriptionsMessage { Applications?: ApplicationDescription[] | undefined; } export interface Latency { P999?: number | undefined; P99?: number | undefined; P95?: number | undefined; P90?: number | undefined; P85?: number | undefined; P75?: number | undefined; P50?: number | undefined; P10?: number | undefined; } export interface StatusCodes { Status2xx?: number | undefined; Status3xx?: number | undefined; Status4xx?: number | undefined; Status5xx?: number | undefined; } export interface ApplicationMetrics { Duration?: number | undefined; RequestCount?: number | undefined; StatusCodes?: StatusCodes | undefined; Latency?: Latency | undefined; } export interface ApplicationResourceLifecycleDescriptionMessage { ApplicationName?: string | undefined; ResourceLifecycleConfig?: ApplicationResourceLifecycleConfig | undefined; } export interface ImageBuildConfiguration { Type?: ImageBuildType | undefined; DockerfileLocation?: string | undefined; Buildpack?: string | undefined; Architecture?: ArchitectureType | undefined; CodeBuildServiceRole?: string | undefined; ComputeType?: ComputeType | undefined; TimeoutInMinutes?: number | undefined; } export interface ImageSource { Uri?: string | undefined; } export interface SourceBuildInformation { SourceType: SourceType | undefined; SourceRepository: SourceRepository | undefined; SourceLocation: string | undefined; } export interface S3Location { S3Bucket?: string | undefined; S3Key?: string | undefined; } export interface ApplicationVersionDescription { ApplicationVersionArn?: string | undefined; ApplicationName?: string | undefined; Description?: string | undefined; VersionLabel?: string | undefined; SourceBuildInformation?: SourceBuildInformation | undefined; BuildArn?: string | undefined; SourceBundle?: S3Location | undefined; ImageSource?: ImageSource | undefined; ImageBuildConfiguration?: ImageBuildConfiguration | undefined; Process?: boolean | undefined; DateCreated?: Date | undefined; DateUpdated?: Date | undefined; Status?: ApplicationVersionStatus | undefined; } export interface ApplicationVersionDescriptionMessage { ApplicationVersion?: ApplicationVersionDescription | undefined; } export interface ApplicationVersionDescriptionsMessage { ApplicationVersions?: ApplicationVersionDescription[] | undefined; NextToken?: string | undefined; } export interface ApplyEnvironmentManagedActionRequest { EnvironmentName?: string | undefined; EnvironmentId?: string | undefined; ActionId: string | undefined; } export interface ApplyEnvironmentManagedActionResult { ActionId?: string | undefined; ActionDescription?: string | undefined; ActionType?: ActionType | undefined; Status?: string | undefined; } export interface AssociateEnvironmentOperationsRoleMessage { EnvironmentName: string | undefined; OperationsRole: string | undefined; } export interface AutoScalingGroup { Name?: string | undefined; } export interface SolutionStackDescription { SolutionStackName?: string | undefined; PermittedFileTypes?: string[] | undefined; } export interface CheckDNSAvailabilityMessage { CNAMEPrefix: string | undefined; } export interface CheckDNSAvailabilityResultMessage { Available?: boolean | undefined; FullyQualifiedCNAME?: string | undefined; } export interface ComposeEnvironmentsMessage { ApplicationName?: string | undefined; GroupName?: string | undefined; VersionLabels?: string[] | undefined; } export interface EnvironmentLink { LinkName?: string | undefined; EnvironmentName?: string | undefined; } export interface Listener { Protocol?: string | undefined; Port?: number | undefined; } export interface LoadBalancerDescription { LoadBalancerName?: string | undefined; Domain?: string | undefined; Listeners?: Listener[] | undefined; } export interface EnvironmentResourcesDescription { LoadBalancer?: LoadBalancerDescription | undefined; } export interface EnvironmentTier { Name?: string | undefined; Type?: string | undefined; Version?: string | undefined; } export interface EnvironmentDescription { EnvironmentName?: string | undefined; EnvironmentId?: string | undefined; ApplicationName?: string | undefined; VersionLabel?: string | undefined; SolutionStackName?: string | undefined; PlatformArn?: string | undefined; TemplateName?: string | undefined; Description?: string | undefined; EndpointURL?: string | undefined; CNAME?: string | undefined; DateCreated?: Date | undefined; DateUpdated?: Date | undefined; Status?: EnvironmentStatus | undefined; AbortableOperationInProgress?: boolean | undefined; Health?: EnvironmentHealth | undefined; HealthStatus?: EnvironmentHealthStatus | undefined; Resources?: EnvironmentResourcesDescription | undefined; Tier?: EnvironmentTier | undefined; EnvironmentLinks?: EnvironmentLink[] | undefined; EnvironmentArn?: string | undefined; OperationsRole?: string | undefined; } export interface EnvironmentDescriptionsMessage { Environments?: EnvironmentDescription[] | undefined; NextToken?: string | undefined; } export interface Tag { Key?: string | undefined; Value?: string | undefined; } export interface CreateApplicationMessage { ApplicationName: string | undefined; Description?: string | undefined; ResourceLifecycleConfig?: ApplicationResourceLifecycleConfig | undefined; Tags?: Tag[] | undefined; } export interface BuildConfiguration { ArtifactName?: string | undefined; CodeBuildServiceRole: string | undefined; ComputeType?: ComputeType | undefined; Image: string | undefined; TimeoutInMinutes?: number | undefined; } export interface ImageConfiguration { Source?: ImageSource | undefined; Build?: ImageBuildConfiguration | undefined; } export interface CreateApplicationVersionMessage { ApplicationName: string | undefined; VersionLabel: string | undefined; Description?: string | undefined; SourceBuildInformation?: SourceBuildInformation | undefined; SourceBundle?: S3Location | undefined; BuildConfiguration?: BuildConfiguration | undefined; AutoCreateApplication?: boolean | undefined; Process?: boolean | undefined; Tags?: Tag[] | undefined; ImageConfiguration?: ImageConfiguration | undefined; } export interface ConfigurationOptionSetting { ResourceName?: string | undefined; Namespace?: string | undefined; OptionName?: string | undefined; Value?: string | undefined; } export interface ConfigurationSettingsDescription { SolutionStackName?: string | undefined; PlatformArn?: string | undefined; ApplicationName?: string | undefined; TemplateName?: string | undefined; Description?: string | undefined; EnvironmentName?: string | undefined; DeploymentStatus?: ConfigurationDeploymentStatus | undefined; DateCreated?: Date | undefined; DateUpdated?: Date | undefined; OptionSettings?: ConfigurationOptionSetting[] | undefined; } export interface SourceConfiguration { ApplicationName?: string | undefined; TemplateName?: string | undefined; } export interface CreateConfigurationTemplateMessage { ApplicationName: string | undefined; TemplateName: string | undefined; SolutionStackName?: string | undefined; PlatformArn?: string | undefined; SourceConfiguration?: SourceConfiguration | undefined; EnvironmentId?: string | undefined; Description?: string | undefined; OptionSettings?: ConfigurationOptionSetting[] | undefined; Tags?: Tag[] | undefined; } export interface OptionSpecification { ResourceName?: string | undefined; Namespace?: string | undefined; OptionName?: string | undefined; } export interface CreateEnvironmentMessage { ApplicationName: string | undefined; EnvironmentName?: string | undefined; GroupName?: string | undefined; Description?: string | undefined; CNAMEPrefix?: string | undefined; Tier?: EnvironmentTier | undefined; Tags?: Tag[] | undefined; VersionLabel?: string | undefined; TemplateName?: string | undefined; SolutionStackName?: string | undefined; PlatformArn?: string | undefined; OptionSettings?: ConfigurationOptionSetting[] | undefined; OptionsToRemove?: OptionSpecification[] | undefined; OperationsRole?: string | undefined; } export interface CreatePlatformVersionRequest { PlatformName: string | undefined; PlatformVersion: string | undefined; PlatformDefinitionBundle: S3Location | undefined; EnvironmentName?: string | undefined; OptionSettings?: ConfigurationOptionSetting[] | undefined; Tags?: Tag[] | undefined; } export interface Builder { ARN?: string | undefined; } export interface PlatformSummary { PlatformArn?: string | undefined; PlatformOwner?: string | undefined; PlatformStatus?: PlatformStatus | undefined; PlatformCategory?: string | undefined; OperatingSystemName?: string | undefined; OperatingSystemVersion?: string | undefined; SupportedTierList?: string[] | undefined; SupportedAddonList?: string[] | undefined; PlatformLifecycleState?: string | undefined; PlatformVersion?: string | undefined; PlatformBranchName?: string | undefined; PlatformBranchLifecycleState?: string | undefined; } export interface CreatePlatformVersionResult { PlatformSummary?: PlatformSummary | undefined; Builder?: Builder | undefined; } export interface CreateStorageLocationResultMessage { S3Bucket?: string | undefined; } export interface DeleteApplicationMessage { ApplicationName: string | undefined; TerminateEnvByForce?: boolean | undefined; } export interface DeleteApplicationVersionMessage { ApplicationName: string | undefined; VersionLabel: string | undefined; DeleteSourceBundle?: boolean | undefined; } export interface DeleteConfigurationTemplateMessage { ApplicationName: string | undefined; TemplateName: string | undefined; } export interface DeleteEnvironmentConfigurationMessage { ApplicationName: string | undefined; EnvironmentName: string | undefined; } export interface DeletePlatformVersionRequest { PlatformArn?: string | undefined; } export interface DeletePlatformVersionResult { PlatformSummary?: PlatformSummary | undefined; } export interface ResourceQuota { Maximum?: number | undefined; } export interface ResourceQuotas { ApplicationQuota?: ResourceQuota | undefined; ApplicationVersionQuota?: ResourceQuota | undefined; EnvironmentQuota?: ResourceQuota | undefined; ConfigurationTemplateQuota?: ResourceQuota | undefined; CustomPlatformQuota?: ResourceQuota | undefined; } export interface DescribeAccountAttributesResult { ResourceQuotas?: ResourceQuotas | undefined; } export interface DescribeApplicationsMessage { ApplicationNames?: string[] | undefined; } export interface DescribeApplicationVersionsMessage { ApplicationName?: string | undefined; VersionLabels?: string[] | undefined; MaxRecords?: number | undefined; NextToken?: string | undefined; } export interface OptionRestrictionRegex { Pattern?: string | undefined; Label?: string | undefined; } export interface ConfigurationOptionDescription { Namespace?: string | undefined; Name?: string | undefined; DefaultValue?: string | undefined; ChangeSeverity?: string | undefined; UserDefined?: boolean | undefined; ValueType?: ConfigurationOptionValueType | undefined; ValueOptions?: string[] | undefined; MinValue?: number | undefined; MaxValue?: number | undefined; MaxLength?: number | undefined; Regex?: OptionRestrictionRegex | undefined; } export interface ConfigurationOptionsDescription { SolutionStackName?: string | undefined; PlatformArn?: string | undefined; Options?: ConfigurationOptionDescription[] | undefined; } export interface DescribeConfigurationOptionsMessage { ApplicationName?: string | undefined; TemplateName?: string | undefined; EnvironmentName?: string | undefined; SolutionStackName?: string | undefined; PlatformArn?: string | undefined; Options?: OptionSpecification[] | undefined; } export interface ConfigurationSettingsDescriptions { ConfigurationSettings?: ConfigurationSettingsDescription[] | undefined; } export interface DescribeConfigurationSettingsMessage { ApplicationName: string | undefined; TemplateName?: string | undefined; EnvironmentName?: string | undefined; } export interface DescribeEnvironmentHealthRequest { EnvironmentName?: string | undefined; EnvironmentId?: string | undefined; AttributeNames?: EnvironmentHealthAttribute[] | undefined; } export interface InstanceHealthSummary { NoData?: number | undefined; Unknown?: number | undefined; Pending?: number | undefined; Ok?: number | undefined; Info?: number | undefined; Warning?: number | undefined; Degraded?: number | undefined; Severe?: number | undefined; } export interface DescribeEnvironmentHealthResult { EnvironmentName?: string | undefined; HealthStatus?: string | undefined; Status?: EnvironmentHealth | undefined; Color?: string | undefined; Causes?: string[] | undefined; ApplicationMetrics?: ApplicationMetrics | undefined; InstancesHealth?: InstanceHealthSummary | undefined; RefreshedAt?: Date | undefined; } export interface DescribeEnvironmentManagedActionHistoryRequest { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; NextToken?: string | undefined; MaxItems?: number | undefined; } export interface ManagedActionHistoryItem { ActionId?: string | undefined; ActionType?: ActionType | undefined; ActionDescription?: string | undefined; FailureType?: FailureType | undefined; Status?: ActionHistoryStatus | undefined; FailureDescription?: string | undefined; ExecutedTime?: Date | undefined; FinishedTime?: Date | undefined; } export interface DescribeEnvironmentManagedActionHistoryResult { ManagedActionHistoryItems?: ManagedActionHistoryItem[] | undefined; NextToken?: string | undefined; } export interface DescribeEnvironmentManagedActionsRequest { EnvironmentName?: string | undefined; EnvironmentId?: string | undefined; Status?: ActionStatus | undefined; } export interface ManagedAction { ActionId?: string | undefined; ActionDescription?: string | undefined; ActionType?: ActionType | undefined; Status?: ActionStatus | undefined; WindowStartTime?: Date | undefined; } export interface DescribeEnvironmentManagedActionsResult { ManagedActions?: ManagedAction[] | undefined; } export interface DescribeEnvironmentResourcesMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; } export interface Cluster { ClusterArn?: string | undefined; } export interface Instance { Id?: string | undefined; } export interface LaunchConfiguration { Name?: string | undefined; } export interface LaunchTemplate { Id?: string | undefined; } export interface LoadBalancer { Name?: string | undefined; } export interface Queue { Name?: string | undefined; URL?: string | undefined; } export interface Trigger { Name?: string | undefined; } export interface EnvironmentResourceDescription { EnvironmentName?: string | undefined; AutoScalingGroups?: AutoScalingGroup[] | undefined; Cluster?: Cluster | undefined; Instances?: Instance[] | undefined; LaunchConfigurations?: LaunchConfiguration[] | undefined; LaunchTemplates?: LaunchTemplate[] | undefined; LoadBalancers?: LoadBalancer[] | undefined; Triggers?: Trigger[] | undefined; Queues?: Queue[] | undefined; } export interface EnvironmentResourceDescriptionsMessage { EnvironmentResources?: EnvironmentResourceDescription | undefined; } export interface DescribeEnvironmentsMessage { ApplicationName?: string | undefined; VersionLabel?: string | undefined; EnvironmentIds?: string[] | undefined; EnvironmentNames?: string[] | undefined; IncludeDeleted?: boolean | undefined; IncludedDeletedBackTo?: Date | undefined; MaxRecords?: number | undefined; NextToken?: string | undefined; } export interface DescribeEventsMessage { ApplicationName?: string | undefined; VersionLabel?: string | undefined; TemplateName?: string | undefined; EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; PlatformArn?: string | undefined; RequestId?: string | undefined; Severity?: EventSeverity | undefined; StartTime?: Date | undefined; EndTime?: Date | undefined; MaxRecords?: number | undefined; NextToken?: string | undefined; } export interface EventDescription { EventDate?: Date | undefined; Message?: string | undefined; ApplicationName?: string | undefined; VersionLabel?: string | undefined; TemplateName?: string | undefined; EnvironmentName?: string | undefined; PlatformArn?: string | undefined; RequestId?: string | undefined; Severity?: EventSeverity | undefined; } export interface EventDescriptionsMessage { Events?: EventDescription[] | undefined; NextToken?: string | undefined; } export interface DescribeInstancesHealthRequest { EnvironmentName?: string | undefined; EnvironmentId?: string | undefined; AttributeNames?: InstancesHealthAttribute[] | undefined; NextToken?: string | undefined; } export interface Deployment { VersionLabel?: string | undefined; DeploymentId?: number | undefined; Status?: string | undefined; DeploymentTime?: Date | undefined; } export interface CPUUtilization { User?: number | undefined; Nice?: number | undefined; System?: number | undefined; Idle?: number | undefined; IOWait?: number | undefined; IRQ?: number | undefined; SoftIRQ?: number | undefined; Privileged?: number | undefined; } export interface SystemStatus { CPUUtilization?: CPUUtilization | undefined; LoadAverage?: number[] | undefined; } export interface SingleInstanceHealth { InstanceId?: string | undefined; HealthStatus?: string | undefined; Color?: string | undefined; Causes?: string[] | undefined; LaunchedAt?: Date | undefined; ApplicationMetrics?: ApplicationMetrics | undefined; System?: SystemStatus | undefined; Deployment?: Deployment | undefined; AvailabilityZone?: string | undefined; InstanceType?: string | undefined; } export interface DescribeInstancesHealthResult { InstanceHealthList?: SingleInstanceHealth[] | undefined; RefreshedAt?: Date | undefined; NextToken?: string | undefined; } export interface DescribePlatformVersionRequest { PlatformArn?: string | undefined; } export interface CustomAmi { VirtualizationType?: string | undefined; ImageId?: string | undefined; } export interface PlatformFramework { Name?: string | undefined; Version?: string | undefined; } export interface PlatformProgrammingLanguage { Name?: string | undefined; Version?: string | undefined; } export interface PlatformDescription { PlatformArn?: string | undefined; PlatformOwner?: string | undefined; PlatformName?: string | undefined; PlatformVersion?: string | undefined; SolutionStackName?: string | undefined; PlatformStatus?: PlatformStatus | undefined; DateCreated?: Date | undefined; DateUpdated?: Date | undefined; PlatformCategory?: string | undefined; Description?: string | undefined; Maintainer?: string | undefined; OperatingSystemName?: string | undefined; OperatingSystemVersion?: string | undefined; ProgrammingLanguages?: PlatformProgrammingLanguage[] | undefined; Frameworks?: PlatformFramework[] | undefined; CustomAmiList?: CustomAmi[] | undefined; SupportedTierList?: string[] | undefined; SupportedAddonList?: string[] | undefined; PlatformLifecycleState?: string | undefined; PlatformBranchName?: string | undefined; PlatformBranchLifecycleState?: string | undefined; } export interface DescribePlatformVersionResult { PlatformDescription?: PlatformDescription | undefined; } export interface DisassociateEnvironmentOperationsRoleMessage { EnvironmentName: string | undefined; } export interface ListAvailableSolutionStacksResultMessage { SolutionStacks?: string[] | undefined; SolutionStackDetails?: SolutionStackDescription[] | undefined; } export interface SearchFilter { Attribute?: string | undefined; Operator?: string | undefined; Values?: string[] | undefined; } export interface ListPlatformBranchesRequest { Filters?: SearchFilter[] | undefined; MaxRecords?: number | undefined; NextToken?: string | undefined; } export interface PlatformBranchSummary { PlatformName?: string | undefined; BranchName?: string | undefined; LifecycleState?: string | undefined; BranchOrder?: number | undefined; SupportedTierList?: string[] | undefined; } export interface ListPlatformBranchesResult { PlatformBranchSummaryList?: PlatformBranchSummary[] | undefined; NextToken?: string | undefined; } export interface PlatformFilter { Type?: string | undefined; Operator?: string | undefined; Values?: string[] | undefined; } export interface ListPlatformVersionsRequest { Filters?: PlatformFilter[] | undefined; MaxRecords?: number | undefined; NextToken?: string | undefined; } export interface ListPlatformVersionsResult { PlatformSummaryList?: PlatformSummary[] | undefined; NextToken?: string | undefined; } export interface ListTagsForResourceMessage { ResourceArn: string | undefined; } export interface ResourceTagsDescriptionMessage { ResourceArn?: string | undefined; ResourceTags?: Tag[] | undefined; } export interface RebuildEnvironmentMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; } export interface RequestEnvironmentInfoMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; InfoType: EnvironmentInfoType | undefined; } export interface RestartAppServerMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; } export interface RetrieveEnvironmentInfoMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; InfoType: EnvironmentInfoType | undefined; } export interface EnvironmentInfoDescription { InfoType?: EnvironmentInfoType | undefined; Ec2InstanceId?: string | undefined; SampleTimestamp?: Date | undefined; Message?: string | undefined; } export interface RetrieveEnvironmentInfoResultMessage { EnvironmentInfo?: EnvironmentInfoDescription[] | undefined; } export interface SwapEnvironmentCNAMEsMessage { SourceEnvironmentId?: string | undefined; SourceEnvironmentName?: string | undefined; DestinationEnvironmentId?: string | undefined; DestinationEnvironmentName?: string | undefined; } export interface TerminateEnvironmentMessage { EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; TerminateResources?: boolean | undefined; ForceTerminate?: boolean | undefined; } export interface UpdateApplicationMessage { ApplicationName: string | undefined; Description?: string | undefined; } export interface UpdateApplicationResourceLifecycleMessage { ApplicationName: string | undefined; ResourceLifecycleConfig: ApplicationResourceLifecycleConfig | undefined; } export interface UpdateApplicationVersionMessage { ApplicationName: string | undefined; VersionLabel: string | undefined; Description?: string | undefined; } export interface UpdateConfigurationTemplateMessage { ApplicationName: string | undefined; TemplateName: string | undefined; Description?: string | undefined; OptionSettings?: ConfigurationOptionSetting[] | undefined; OptionsToRemove?: OptionSpecification[] | undefined; } export interface UpdateEnvironmentMessage { ApplicationName?: string | undefined; EnvironmentId?: string | undefined; EnvironmentName?: string | undefined; GroupName?: string | undefined; Description?: string | undefined; Tier?: EnvironmentTier | undefined; VersionLabel?: string | undefined; TemplateName?: string | undefined; SolutionStackName?: string | undefined; PlatformArn?: string | undefined; OptionSettings?: ConfigurationOptionSetting[] | undefined; OptionsToRemove?: OptionSpecification[] | undefined; } export interface UpdateTagsForResourceMessage { ResourceArn: string | undefined; TagsToAdd?: Tag[] | undefined; TagsToRemove?: string[] | undefined; } export interface ValidationMessage { Message?: string | undefined; Severity?: ValidationSeverity | undefined; Namespace?: string | undefined; OptionName?: string | undefined; } export interface ConfigurationSettingsValidationMessages { Messages?: ValidationMessage[] | undefined; } export interface ValidateConfigurationSettingsMessage { ApplicationName: string | undefined; TemplateName?: string | undefined; EnvironmentName?: string | undefined; OptionSettings: ConfigurationOptionSetting[] | undefined; }