types

package
v1.27.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn more, see Accessing an Amazon MWAA environment.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type Dimension

type Dimension struct {

	//  Internal only. The name of the dimension.
	//
	// This member is required.
	Name *string

	//  Internal only. The value of the dimension.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}
Internal only. Represents the dimensions of a metric. To learn more about the

metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

type EndpointManagement added in v1.21.0

type EndpointManagement string
const (
	EndpointManagementCustomer EndpointManagement = "CUSTOMER"
	EndpointManagementService  EndpointManagement = "SERVICE"
)

Enum values for EndpointManagement

func (EndpointManagement) Values added in v1.21.0

Values returns all known values for EndpointManagement. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type Environment

type Environment struct {

	// A list of key-value pairs containing the Apache Airflow configuration options
	// attached to your environment. For more information, see [Apache Airflow configuration options].
	//
	// [Apache Airflow configuration options]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
	AirflowConfigurationOptions map[string]string

	// The Apache Airflow version on your environment.
	//
	// Valid values: 1.10.12 , 2.0.2 , 2.2.2 , 2.4.3 , 2.5.1 , 2.6.3 , 2.7.2 , 2.8.1 .
	AirflowVersion *string

	// The Amazon Resource Name (ARN) of the Amazon MWAA environment.
	Arn *string

	// The queue ARN for the environment's [Celery Executor]. Amazon MWAA uses a Celery Executor to
	// distribute tasks across multiple workers. When you create an environment in a
	// shared VPC, you must provide access to the Celery Executor queue from your VPC.
	//
	// [Celery Executor]: https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/celery.html
	CeleryExecutorQueue *string

	// The day and time the environment was created.
	CreatedAt *time.Time

	// The relative path to the DAGs folder in your Amazon S3 bucket. For example,
	// s3://mwaa-environment/dags . For more information, see [Adding or updating DAGs].
	//
	// [Adding or updating DAGs]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
	DagS3Path *string

	// The VPC endpoint for the environment's Amazon RDS database.
	DatabaseVpcEndpointService *string

	// Defines whether the VPC endpoints configured for the environment are created,
	// and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA
	// will create and manage the required VPC endpoints in your VPC. If set to
	// CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
	EndpointManagement EndpointManagement

	// The environment class type. Valid values: mw1.small , mw1.medium , mw1.large ,
	// mw1.xlarge , and mw1.2xlarge . For more information, see [Amazon MWAA environment class].
	//
	// [Amazon MWAA environment class]: https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html
	EnvironmentClass *string

	// The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to
	// access Amazon Web Services resources in your environment. For example,
	// arn:aws:iam::123456789:role/my-execution-role . For more information, see [Amazon MWAA Execution role].
	//
	// [Amazon MWAA Execution role]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
	ExecutionRoleArn *string

	// The KMS encryption key used to encrypt the data in your environment.
	KmsKey *string

	// The status of the last update on the environment.
	LastUpdate *LastUpdate

	// The Apache Airflow logs published to CloudWatch Logs.
	LoggingConfiguration *LoggingConfiguration

	//  The maximum number of web servers that you want to run in your environment.
	// Amazon MWAA scales the number of Apache Airflow web servers up to the number you
	// specify for MaxWebservers when you interact with your Apache Airflow
	// environment using Apache Airflow REST API, or the Apache Airflow CLI. For
	// example, in scenarios where your workload requires network calls to the Apache
	// Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will
	// increase the number of web servers up to the number set in MaxWebserers . As TPS
	// rates decrease Amazon MWAA disposes of the additional web servers, and scales
	// down to the number set in MinxWebserers .
	//
	// Valid values: Accepts between 2 and 5 . Defaults to 2 .
	MaxWebservers *int32

	// The maximum number of workers that run in your environment. For example, 20 .
	MaxWorkers *int32

	//  The minimum number of web servers that you want to run in your environment.
	// Amazon MWAA scales the number of Apache Airflow web servers up to the number you
	// specify for MaxWebservers when you interact with your Apache Airflow
	// environment using Apache Airflow REST API, or the Apache Airflow CLI. As the
	// transaction-per-second rate, and the network load, decrease, Amazon MWAA
	// disposes of the additional web servers, and scales down to the number set in
	// MinxWebserers .
	//
	// Valid values: Accepts between 2 and 5 . Defaults to 2 .
	MinWebservers *int32

	// The minimum number of workers that run in your environment. For example, 2 .
	MinWorkers *int32

	// The name of the Amazon MWAA environment. For example, MyMWAAEnvironment .
	Name *string

	// Describes the VPC networking components used to secure and enable network
	// traffic between the Amazon Web Services resources for your environment. For more
	// information, see [About networking on Amazon MWAA].
	//
	// [About networking on Amazon MWAA]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
	NetworkConfiguration *NetworkConfiguration

	// The version of the plugins.zip file in your Amazon S3 bucket. You must specify
	// the [version ID]that Amazon S3 assigns to the file.
	//
	// Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no
	// more than 1,024 bytes long. The following is an example:
	//
	//     3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo
	//
	// For more information, see [Installing custom plugins].
	//
	// [Installing custom plugins]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
	// [version ID]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
	PluginsS3ObjectVersion *string

	// The relative path to the file in your Amazon S3 bucket. For example,
	// s3://mwaa-environment/plugins.zip . For more information, see [Installing custom plugins].
	//
	// [Installing custom plugins]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
	PluginsS3Path *string

	// The version of the requirements.txt  file on your Amazon S3 bucket. You must
	// specify the [version ID]that Amazon S3 assigns to the file.
	//
	// Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no
	// more than 1,024 bytes long. The following is an example:
	//
	//     3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo
	//
	// For more information, see [Installing Python dependencies].
	//
	// [Installing Python dependencies]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
	// [version ID]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
	RequirementsS3ObjectVersion *string

	// The relative path to the requirements.txt file in your Amazon S3 bucket. For
	// example, s3://mwaa-environment/requirements.txt . For more information, see [Installing Python dependencies].
	//
	// [Installing Python dependencies]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
	RequirementsS3Path *string

	// The number of Apache Airflow schedulers that run in your Amazon MWAA
	// environment.
	Schedulers *int32

	// The Amazon Resource Name (ARN) for the service-linked role of the environment.
	// For more information, see [Amazon MWAA Service-linked role].
	//
	// [Amazon MWAA Service-linked role]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-slr.html
	ServiceRoleArn *string

	// The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and
	// supporting files are stored. For example,
	// arn:aws:s3:::my-airflow-bucket-unique-name . For more information, see [Create an Amazon S3 bucket for Amazon MWAA].
	//
	// [Create an Amazon S3 bucket for Amazon MWAA]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
	SourceBucketArn *string

	// The version of the startup shell script in your Amazon S3 bucket. You must
	// specify the [version ID]that Amazon S3 assigns to the file.
	//
	// Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no
	// more than 1,024 bytes long. The following is an example:
	//
	//     3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo
	//
	// For more information, see [Using a startup script].
	//
	// [Using a startup script]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
	// [version ID]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
	StartupScriptS3ObjectVersion *string

	// The relative path to the startup shell script in your Amazon S3 bucket. For
	// example, s3://mwaa-environment/startup.sh .
	//
	// Amazon MWAA runs the script as your environment starts, and before running the
	// Apache Airflow process. You can use this script to install dependencies, modify
	// Apache Airflow configuration options, and set environment variables. For more
	// information, see [Using a startup script].
	//
	// [Using a startup script]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
	StartupScriptS3Path *string

	// The status of the Amazon MWAA environment.
	//
	// Valid values:
	//
	//   - CREATING - Indicates the request to create the environment is in progress.
	//
	//   - CREATING_SNAPSHOT - Indicates the request to update environment details, or
	//   upgrade the environment version, is in progress and Amazon MWAA is creating a
	//   storage volume snapshot of the Amazon RDS database cluster associated with the
	//   environment. A database snapshot is a backup created at a specific point in
	//   time. Amazon MWAA uses snapshots to recover environment metadata if the process
	//   to update or upgrade an environment fails.
	//
	//   - CREATE_FAILED - Indicates the request to create the environment failed, and
	//   the environment could not be created.
	//
	//   - AVAILABLE - Indicates the request was successful and the environment is
	//   ready to use.
	//
	//   - PENDING - Indicates the request was successful, but the process to create
	//   the environment is paused until you create the required VPC endpoints in your
	//   VPC. After you create the VPC endpoints, the process resumes.
	//
	//   - UPDATING - Indicates the request to update the environment is in progress.
	//
	//   - ROLLING_BACK - Indicates the request to update environment details, or
	//   upgrade the environment version, failed and Amazon MWAA is restoring the
	//   environment using the latest storage volume snapshot.
	//
	//   - DELETING - Indicates the request to delete the environment is in progress.
	//
	//   - DELETED - Indicates the request to delete the environment is complete, and
	//   the environment has been deleted.
	//
	//   - UNAVAILABLE - Indicates the request failed, but the environment did not
	//   return to its previous state and is not stable.
	//
	//   - UPDATE_FAILED - Indicates the request to update the environment failed, and
	//   the environment was restored to its previous state successfully and is ready to
	//   use.
	//
	//   - MAINTENANCE - Indicates that the environment is undergoing maintenance.
	//   Depending on the type of work Amazon MWAA is performing, your environment might
	//   become unavailable during this process. After all operations are done, your
	//   environment will return to its status prior to mainteneace operations.
	//
	// We recommend reviewing our troubleshooting guide for a list of common errors
	// and their solutions. For more information, see [Amazon MWAA troubleshooting].
	//
	// [Amazon MWAA troubleshooting]: https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html
	Status EnvironmentStatus

	// The key-value tag pairs associated to your environment. For example,
	// "Environment": "Staging" . For more information, see [Tagging Amazon Web Services resources].
	//
	// [Tagging Amazon Web Services resources]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
	Tags map[string]string

	// The Apache Airflow web server access mode. For more information, see [Apache Airflow access modes].
	//
	// [Apache Airflow access modes]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
	WebserverAccessMode WebserverAccessMode

	// The Apache Airflow web server host name for the Amazon MWAA environment. For
	// more information, see [Accessing the Apache Airflow UI].
	//
	// [Accessing the Apache Airflow UI]: https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html
	WebserverUrl *string

	// The VPC endpoint for the environment's web server.
	WebserverVpcEndpointService *string

	// The day and time of the week in Coordinated Universal Time (UTC) 24-hour
	// standard time that weekly maintenance updates are scheduled. For example:
	// TUE:03:30 .
	WeeklyMaintenanceWindowStart *string
	// contains filtered or unexported fields
}

Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

type EnvironmentStatus

type EnvironmentStatus string
const (
	EnvironmentStatusCreating         EnvironmentStatus = "CREATING"
	EnvironmentStatusCreateFailed     EnvironmentStatus = "CREATE_FAILED"
	EnvironmentStatusAvailable        EnvironmentStatus = "AVAILABLE"
	EnvironmentStatusUpdating         EnvironmentStatus = "UPDATING"
	EnvironmentStatusDeleting         EnvironmentStatus = "DELETING"
	EnvironmentStatusDeleted          EnvironmentStatus = "DELETED"
	EnvironmentStatusUnavailable      EnvironmentStatus = "UNAVAILABLE"
	EnvironmentStatusUpdateFailed     EnvironmentStatus = "UPDATE_FAILED"
	EnvironmentStatusRollingBack      EnvironmentStatus = "ROLLING_BACK"
	EnvironmentStatusCreatingSnapshot EnvironmentStatus = "CREATING_SNAPSHOT"
	EnvironmentStatusPending          EnvironmentStatus = "PENDING"
	EnvironmentStatusMaintenance      EnvironmentStatus = "MAINTENANCE"
)

Enum values for EnvironmentStatus

func (EnvironmentStatus) Values

Values returns all known values for EnvironmentStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

InternalServerException: An internal error has occurred.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type LastUpdate

type LastUpdate struct {

	// The day and time of the last update on the environment.
	CreatedAt *time.Time

	// The error that was encountered during the last update of the environment.
	Error *UpdateError

	// The source of the last update to the environment. Includes internal processes
	// by Amazon MWAA, such as an environment maintenance update.
	Source *string

	// The status of the last update on the environment.
	Status UpdateStatus
	// contains filtered or unexported fields
}

Describes the status of the last update on the environment, and any errors that were encountered.

type LoggingConfiguration

type LoggingConfiguration struct {

	// The Airflow DAG processing logs published to CloudWatch Logs and the log level.
	DagProcessingLogs *ModuleLoggingConfiguration

	// The Airflow scheduler logs published to CloudWatch Logs and the log level.
	SchedulerLogs *ModuleLoggingConfiguration

	// The Airflow task logs published to CloudWatch Logs and the log level.
	TaskLogs *ModuleLoggingConfiguration

	// The Airflow web server logs published to CloudWatch Logs and the log level.
	WebserverLogs *ModuleLoggingConfiguration

	// The Airflow worker logs published to CloudWatch Logs and the log level.
	WorkerLogs *ModuleLoggingConfiguration
	// contains filtered or unexported fields
}

Describes the Apache Airflow log types that are published to CloudWatch Logs.

type LoggingConfigurationInput

type LoggingConfigurationInput struct {

	// Publishes Airflow DAG processing logs to CloudWatch Logs.
	DagProcessingLogs *ModuleLoggingConfigurationInput

	// Publishes Airflow scheduler logs to CloudWatch Logs.
	SchedulerLogs *ModuleLoggingConfigurationInput

	// Publishes Airflow task logs to CloudWatch Logs.
	TaskLogs *ModuleLoggingConfigurationInput

	// Publishes Airflow web server logs to CloudWatch Logs.
	WebserverLogs *ModuleLoggingConfigurationInput

	// Publishes Airflow worker logs to CloudWatch Logs.
	WorkerLogs *ModuleLoggingConfigurationInput
	// contains filtered or unexported fields
}

Defines the Apache Airflow log types to send to CloudWatch Logs.

type LoggingLevel

type LoggingLevel string
const (
	LoggingLevelCritical LoggingLevel = "CRITICAL"
	LoggingLevelError    LoggingLevel = "ERROR"
	LoggingLevelWarning  LoggingLevel = "WARNING"
	LoggingLevelInfo     LoggingLevel = "INFO"
	LoggingLevelDebug    LoggingLevel = "DEBUG"
)

Enum values for LoggingLevel

func (LoggingLevel) Values

func (LoggingLevel) Values() []LoggingLevel

Values returns all known values for LoggingLevel. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type MetricDatum

type MetricDatum struct {

	//  Internal only. The name of the metric.
	//
	// This member is required.
	MetricName *string

	//  Internal only. The time the metric data was received.
	//
	// This member is required.
	Timestamp *time.Time

	//  Internal only. The dimensions associated with the metric.
	//
	// Deprecated: This type is for internal use and not meant for public use. Data
	// set for this type will be ignored.
	Dimensions []Dimension

	//  Internal only. The statistical values for the metric.
	//
	// Deprecated: This type is for internal use and not meant for public use. Data
	// set for this type will be ignored.
	StatisticValues *StatisticSet

	//  Internal only. The unit used to store the metric.
	Unit Unit

	//  Internal only. The value for the metric.
	Value *float64
	// contains filtered or unexported fields
}
Internal only. Collects Apache Airflow metrics. To learn more about the

metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

type ModuleLoggingConfiguration

type ModuleLoggingConfiguration struct {

	// The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache
	// Airflow log type (e.g. DagProcessingLogs ) is published. For example,
	// arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
	// .
	CloudWatchLogGroupArn *string

	// Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs ) is
	// enabled.
	Enabled *bool

	// The Apache Airflow log level for the log type (e.g. DagProcessingLogs ).
	LogLevel LoggingLevel
	// contains filtered or unexported fields
}

Describes the Apache Airflow log details for the log type (e.g. DagProcessingLogs ).

type ModuleLoggingConfigurationInput

type ModuleLoggingConfigurationInput struct {

	// Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
	// ).
	//
	// This member is required.
	Enabled *bool

	// Defines the Apache Airflow log level (e.g. INFO ) to send to CloudWatch Logs.
	//
	// This member is required.
	LogLevel LoggingLevel
	// contains filtered or unexported fields
}

Enables the Apache Airflow log type (e.g. DagProcessingLogs ) and defines the log level to send to CloudWatch Logs (e.g. INFO ).

type NetworkConfiguration

type NetworkConfiguration struct {

	// A list of security group IDs. For more information, see [Security in your VPC on Amazon MWAA].
	//
	// [Security in your VPC on Amazon MWAA]: https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html
	SecurityGroupIds []string

	// A list of subnet IDs. For more information, see [About networking on Amazon MWAA].
	//
	// [About networking on Amazon MWAA]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
	SubnetIds []string
	// contains filtered or unexported fields
}

Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

ResourceNotFoundException: The resource is not available.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type StatisticSet

type StatisticSet struct {

	//  Internal only. The maximum value of the sample set.
	Maximum *float64

	//  Internal only. The minimum value of the sample set.
	Minimum *float64

	//  Internal only. The number of samples used for the statistic set.
	SampleCount *int32

	//  Internal only. The sum of values for the sample set.
	Sum *float64
	// contains filtered or unexported fields
}
Internal only. Represents a set of statistics that describe a specific metric.

To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

type Unit

type Unit string
const (
	UnitSeconds            Unit = "Seconds"
	UnitMicroseconds       Unit = "Microseconds"
	UnitMilliseconds       Unit = "Milliseconds"
	UnitBytes              Unit = "Bytes"
	UnitKilobytes          Unit = "Kilobytes"
	UnitMegabytes          Unit = "Megabytes"
	UnitGigabytes          Unit = "Gigabytes"
	UnitTerabytes          Unit = "Terabytes"
	UnitBits               Unit = "Bits"
	UnitKilobits           Unit = "Kilobits"
	UnitMegabits           Unit = "Megabits"
	UnitGigabits           Unit = "Gigabits"
	UnitTerabits           Unit = "Terabits"
	UnitPercent            Unit = "Percent"
	UnitCount              Unit = "Count"
	UnitBytesPerSecond     Unit = "Bytes/Second"
	UnitKilobytesPerSecond Unit = "Kilobytes/Second"
	UnitMegabytesPerSecond Unit = "Megabytes/Second"
	UnitGigabytesPerSecond Unit = "Gigabytes/Second"
	UnitTerabytesPerSecond Unit = "Terabytes/Second"
	UnitBitsPerSecond      Unit = "Bits/Second"
	UnitKilobitsPerSecond  Unit = "Kilobits/Second"
	UnitMegabitsPerSecond  Unit = "Megabits/Second"
	UnitGigabitsPerSecond  Unit = "Gigabits/Second"
	UnitTerabitsPerSecond  Unit = "Terabits/Second"
	UnitCountPerSecond     Unit = "Count/Second"
	UnitNone               Unit = "None"
)

Enum values for Unit

func (Unit) Values

func (Unit) Values() []Unit

Values returns all known values for Unit. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type UpdateError

type UpdateError struct {

	// The error code that corresponds to the error with the last update.
	ErrorCode *string

	// The error message that corresponds to the error code.
	ErrorMessage *string
	// contains filtered or unexported fields
}

Describes the error(s) encountered with the last update of the environment.

type UpdateNetworkConfigurationInput

type UpdateNetworkConfigurationInput struct {

	// A list of security group IDs. A security group must be attached to the same VPC
	// as the subnets. For more information, see [Security in your VPC on Amazon MWAA].
	//
	// [Security in your VPC on Amazon MWAA]: https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html
	//
	// This member is required.
	SecurityGroupIds []string
	// contains filtered or unexported fields
}

Defines the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

type UpdateStatus

type UpdateStatus string
const (
	UpdateStatusSuccess UpdateStatus = "SUCCESS"
	UpdateStatusPending UpdateStatus = "PENDING"
	UpdateStatusFailed  UpdateStatus = "FAILED"
)

Enum values for UpdateStatus

func (UpdateStatus) Values

func (UpdateStatus) Values() []UpdateStatus

Values returns all known values for UpdateStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

ValidationException: The provided input is not valid.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type WebserverAccessMode

type WebserverAccessMode string
const (
	WebserverAccessModePrivateOnly WebserverAccessMode = "PRIVATE_ONLY"
	WebserverAccessModePublicOnly  WebserverAccessMode = "PUBLIC_ONLY"
)

Enum values for WebserverAccessMode

func (WebserverAccessMode) Values

Values returns all known values for WebserverAccessMode. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL