package types

import "github.com/aws/aws-sdk-go-v2/service/directoryservice/types"

Index

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	RequestId *string
}

You do not have sufficient access to perform this action.

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 Attribute

type Attribute struct {

	// The name of the attribute.
	Name *string

	// The value of the attribute.
	Value *string
}

Represents a named directory attribute.

type AuthenticationFailedException

type AuthenticationFailedException struct {
	Message *string

	RequestId *string
}

An authentication error occurred.

func (*AuthenticationFailedException) Error

func (*AuthenticationFailedException) ErrorCode

func (e *AuthenticationFailedException) ErrorCode() string

func (*AuthenticationFailedException) ErrorFault

func (*AuthenticationFailedException) ErrorMessage

func (e *AuthenticationFailedException) ErrorMessage() string

type Certificate

type Certificate struct {

	// The common name for the certificate.
	CommonName *string

	// The identifier of the certificate.
	CertificateId *string

	// The state of the certificate.
	State CertificateState

	// The date and time when the certificate will expire.
	ExpiryDateTime *time.Time

	// Describes a state change for the certificate.
	StateReason *string

	// The date and time that the certificate was registered.
	RegisteredDateTime *time.Time
}

Information about the certificate.

type CertificateAlreadyExistsException

type CertificateAlreadyExistsException struct {
	Message *string

	RequestId *string
}

The certificate has already been registered into the system.

func (*CertificateAlreadyExistsException) Error

func (*CertificateAlreadyExistsException) ErrorCode

func (*CertificateAlreadyExistsException) ErrorFault

func (*CertificateAlreadyExistsException) ErrorMessage

func (e *CertificateAlreadyExistsException) ErrorMessage() string

type CertificateDoesNotExistException

type CertificateDoesNotExistException struct {
	Message *string

	RequestId *string
}

The certificate is not present in the system for describe or deregister activities.

func (*CertificateDoesNotExistException) Error

func (*CertificateDoesNotExistException) ErrorCode

func (*CertificateDoesNotExistException) ErrorFault

func (*CertificateDoesNotExistException) ErrorMessage

func (e *CertificateDoesNotExistException) ErrorMessage() string

type CertificateInUseException

type CertificateInUseException struct {
	Message *string

	RequestId *string
}

The certificate is being used for the LDAP security connection and cannot be removed without disabling LDAP security.

func (*CertificateInUseException) Error

func (e *CertificateInUseException) Error() string

func (*CertificateInUseException) ErrorCode

func (e *CertificateInUseException) ErrorCode() string

func (*CertificateInUseException) ErrorFault

func (*CertificateInUseException) ErrorMessage

func (e *CertificateInUseException) ErrorMessage() string

type CertificateInfo

type CertificateInfo struct {

	// The date and time when the certificate will expire.
	ExpiryDateTime *time.Time

	// The identifier of the certificate.
	CertificateId *string

	// The common name for the certificate.
	CommonName *string

	// The state of the certificate.
	State CertificateState
}

Contains general information about a certificate.

type CertificateLimitExceededException

type CertificateLimitExceededException struct {
	Message *string

	RequestId *string
}

The certificate could not be added because the certificate limit has been reached.

func (*CertificateLimitExceededException) Error

func (*CertificateLimitExceededException) ErrorCode

func (*CertificateLimitExceededException) ErrorFault

func (*CertificateLimitExceededException) ErrorMessage

func (e *CertificateLimitExceededException) ErrorMessage() string

type CertificateState

type CertificateState string
const (
	CertificateStateRegistering       CertificateState = "Registering"
	CertificateStateRegistered        CertificateState = "Registered"
	CertificateStateRegister_failed   CertificateState = "RegisterFailed"
	CertificateStateDeregistering     CertificateState = "Deregistering"
	CertificateStateDeregistered      CertificateState = "Deregistered"
	CertificateStateDeregister_failed CertificateState = "DeregisterFailed"
)

Enum values for CertificateState

type ClientException

type ClientException struct {
	Message *string

	RequestId *string
}

A client exception has occurred.

func (*ClientException) Error

func (e *ClientException) Error() string

func (*ClientException) ErrorCode

func (e *ClientException) ErrorCode() string

func (*ClientException) ErrorFault

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

func (*ClientException) ErrorMessage

func (e *ClientException) ErrorMessage() string

type Computer

type Computer struct {

	// The identifier of the computer.
	ComputerId *string

	// An array of Attribute () objects containing the LDAP attributes that belong to
	// the computer account.
	ComputerAttributes []*Attribute

	// The computer name.
	ComputerName *string
}

Contains information about a computer account in a directory.

type ConditionalForwarder

type ConditionalForwarder struct {

	// The IP addresses of the remote DNS server associated with RemoteDomainName. This
	// is the IP address of the DNS server that your conditional forwarder points to.
	DnsIpAddrs []*string

	// The fully qualified domain name (FQDN) of the remote domains pointed to by the
	// conditional forwarder.
	RemoteDomainName *string

	// The replication scope of the conditional forwarder. The only allowed value is
	// Domain, which will replicate the conditional forwarder to all of the domain
	// controllers for your AWS directory.
	ReplicationScope ReplicationScope
}

Points to a remote domain with which you are setting up a trust relationship. Conditional forwarders are required in order to set up a trust relationship with another domain.

type DirectoryAlreadySharedException

type DirectoryAlreadySharedException struct {
	Message *string

	RequestId *string
}

The specified directory has already been shared with this AWS account.

func (*DirectoryAlreadySharedException) Error

func (*DirectoryAlreadySharedException) ErrorCode

func (e *DirectoryAlreadySharedException) ErrorCode() string

func (*DirectoryAlreadySharedException) ErrorFault

func (*DirectoryAlreadySharedException) ErrorMessage

func (e *DirectoryAlreadySharedException) ErrorMessage() string

type DirectoryConnectSettings

type DirectoryConnectSettings struct {

	// A list of subnet identifiers in the VPC in which the AD Connector is created.
	//
	// This member is required.
	SubnetIds []*string

	// A list of one or more IP addresses of DNS servers or domain controllers in the
	// on-premises directory.
	//
	// This member is required.
	CustomerDnsIps []*string

	// The user name of an account in the on-premises directory that is used to connect
	// to the directory. This account must have the following permissions:
	//
	//     * Read
	// users and groups
	//
	//     * Create computer objects
	//
	//     * Join computers to the
	// domain
	//
	// This member is required.
	CustomerUserName *string

	// The identifier of the VPC in which the AD Connector is created.
	//
	// This member is required.
	VpcId *string
}

Contains information for the ConnectDirectory () operation when an AD Connector directory is being created.

type DirectoryConnectSettingsDescription

type DirectoryConnectSettingsDescription struct {

	// The security group identifier for the AD Connector directory.
	SecurityGroupId *string

	// The IP addresses of the AD Connector servers.
	ConnectIps []*string

	// A list of subnet identifiers in the VPC that the AD Connector is in.
	SubnetIds []*string

	// The identifier of the VPC that the AD Connector is in.
	VpcId *string

	// The user name of the service account in the on-premises directory.
	CustomerUserName *string

	// A list of the Availability Zones that the directory is in.
	AvailabilityZones []*string
}

Contains information about an AD Connector directory.

type DirectoryDescription

type DirectoryDescription struct {

	// A DirectoryConnectSettingsDescription () object that contains additional
	// information about an AD Connector directory. This member is only present if the
	// directory is an AD Connector directory.
	ConnectSettings *DirectoryConnectSettingsDescription

	// A directory share request that is sent by the directory owner to the directory
	// consumer. The request includes a typed message to help the directory consumer
	// administrator determine whether to approve or reject the share invitation.
	ShareNotes *string

	// The current stage of the directory.
	Stage DirectoryStage

	// The method used when sharing a directory to determine whether the directory
	// should be shared within your AWS organization (ORGANIZATIONS) or with any AWS
	// account by sending a shared directory request (HANDSHAKE).
	ShareMethod ShareMethod

	// The directory size.
	Type DirectoryType

	// The status of the RADIUS MFA server connection.
	RadiusStatus RadiusStatus

	// The short name of the directory.
	ShortName *string

	// The alias for the directory. If no alias has been created for the directory, the
	// alias is the directory identifier, such as d-XXXXXXXXXX.
	Alias *string

	// Additional information about the directory stage.
	StageReason *string

	// The date and time that the stage was last updated.
	StageLastUpdatedDateTime *time.Time

	// Describes the AWS Managed Microsoft AD directory in the directory owner account.
	OwnerDirectoryDescription *OwnerDirectoryDescription

	// The description for the directory.
	Description *string

	// A DirectoryVpcSettingsDescription () object that contains additional information
	// about a directory. This member is only present if the directory is a Simple AD
	// or Managed AD directory.
	VpcSettings *DirectoryVpcSettingsDescription

	// A RadiusSettings () object that contains information about the RADIUS server
	// configured for this directory.
	RadiusSettings *RadiusSettings

	// The fully qualified name of the directory.
	Name *string

	// The directory identifier.
	DirectoryId *string

	// The directory size.
	Size DirectorySize

	// Specifies when the directory was created.
	LaunchTime *time.Time

	// The access URL for the directory, such as http://.awsapps.com. If no alias has
	// been created for the directory,  is the directory identifier, such as
	// d-XXXXXXXXXX.
	AccessUrl *string

	// The edition associated with this directory.
	Edition DirectoryEdition

	// The desired number of domain controllers in the directory if the directory is
	// Microsoft AD.
	DesiredNumberOfDomainControllers *int32

	// The IP addresses of the DNS servers for the directory. For a Simple AD or
	// Microsoft AD directory, these are the IP addresses of the Simple AD or Microsoft
	// AD directory servers. For an AD Connector directory, these are the IP addresses
	// of the DNS servers or domain controllers in the on-premises directory to which
	// the AD Connector is connected.
	DnsIpAddrs []*string

	// Current directory status of the shared AWS Managed Microsoft AD directory.
	ShareStatus ShareStatus

	// Indicates if single sign-on is enabled for the directory. For more information,
	// see EnableSso () and DisableSso ().
	SsoEnabled *bool
}

Contains information about an AWS Directory Service directory.

type DirectoryDoesNotExistException

type DirectoryDoesNotExistException struct {
	Message *string

	RequestId *string
}

The specified directory does not exist in the system.

func (*DirectoryDoesNotExistException) Error

func (*DirectoryDoesNotExistException) ErrorCode

func (e *DirectoryDoesNotExistException) ErrorCode() string

func (*DirectoryDoesNotExistException) ErrorFault

func (*DirectoryDoesNotExistException) ErrorMessage

func (e *DirectoryDoesNotExistException) ErrorMessage() string

type DirectoryEdition

type DirectoryEdition string
const (
	DirectoryEditionEnterprise DirectoryEdition = "Enterprise"
	DirectoryEditionStandard   DirectoryEdition = "Standard"
)

Enum values for DirectoryEdition

type DirectoryLimitExceededException

type DirectoryLimitExceededException struct {
	Message *string

	RequestId *string
}

The maximum number of directories in the region has been reached. You can use the GetDirectoryLimits () operation to determine your directory limits in the region.

func (*DirectoryLimitExceededException) Error

func (*DirectoryLimitExceededException) ErrorCode

func (e *DirectoryLimitExceededException) ErrorCode() string

func (*DirectoryLimitExceededException) ErrorFault

func (*DirectoryLimitExceededException) ErrorMessage

func (e *DirectoryLimitExceededException) ErrorMessage() string

type DirectoryLimits

type DirectoryLimits struct {

	// Indicates if the cloud directory limit has been reached.
	CloudOnlyDirectoriesLimitReached *bool

	// Indicates if the connected directory limit has been reached.
	ConnectedDirectoriesLimitReached *bool

	// The maximum number of cloud directories allowed in the Region.
	CloudOnlyDirectoriesLimit *int32

	// Indicates if the AWS Managed Microsoft AD directory limit has been reached.
	CloudOnlyMicrosoftADLimitReached *bool

	// The maximum number of connected directories allowed in the Region.
	ConnectedDirectoriesLimit *int32

	// The current number of connected directories in the Region.
	ConnectedDirectoriesCurrentCount *int32

	// The current number of cloud directories in the Region.
	CloudOnlyDirectoriesCurrentCount *int32

	// The maximum number of AWS Managed Microsoft AD directories allowed in the
	// region.
	CloudOnlyMicrosoftADLimit *int32

	// The current number of AWS Managed Microsoft AD directories in the region.
	CloudOnlyMicrosoftADCurrentCount *int32
}

Contains directory limit information for a Region.

type DirectoryNotSharedException

type DirectoryNotSharedException struct {
	Message *string

	RequestId *string
}

The specified directory has not been shared with this AWS account.

func (*DirectoryNotSharedException) Error

func (*DirectoryNotSharedException) ErrorCode

func (e *DirectoryNotSharedException) ErrorCode() string

func (*DirectoryNotSharedException) ErrorFault

func (*DirectoryNotSharedException) ErrorMessage

func (e *DirectoryNotSharedException) ErrorMessage() string

type DirectorySize

type DirectorySize string
const (
	DirectorySizeSmall DirectorySize = "Small"
	DirectorySizeLarge DirectorySize = "Large"
)

Enum values for DirectorySize

type DirectoryStage

type DirectoryStage string
const (
	DirectoryStageRequested     DirectoryStage = "Requested"
	DirectoryStageCreating      DirectoryStage = "Creating"
	DirectoryStageCreated       DirectoryStage = "Created"
	DirectoryStageActive        DirectoryStage = "Active"
	DirectoryStageInoperable    DirectoryStage = "Inoperable"
	DirectoryStageImpaired      DirectoryStage = "Impaired"
	DirectoryStageRestoring     DirectoryStage = "Restoring"
	DirectoryStageRestorefailed DirectoryStage = "RestoreFailed"
	DirectoryStageDeleting      DirectoryStage = "Deleting"
	DirectoryStageDeleted       DirectoryStage = "Deleted"
	DirectoryStageFailed        DirectoryStage = "Failed"
)

Enum values for DirectoryStage

type DirectoryType

type DirectoryType string
const (
	DirectoryTypeSimple_ad           DirectoryType = "SimpleAD"
	DirectoryTypeAd_connector        DirectoryType = "ADConnector"
	DirectoryTypeMicrosoft_ad        DirectoryType = "MicrosoftAD"
	DirectoryTypeShared_microsoft_ad DirectoryType = "SharedMicrosoftAD"
)

Enum values for DirectoryType

type DirectoryUnavailableException

type DirectoryUnavailableException struct {
	Message *string

	RequestId *string
}

The specified directory is unavailable or could not be found.

func (*DirectoryUnavailableException) Error

func (*DirectoryUnavailableException) ErrorCode

func (e *DirectoryUnavailableException) ErrorCode() string

func (*DirectoryUnavailableException) ErrorFault

func (*DirectoryUnavailableException) ErrorMessage

func (e *DirectoryUnavailableException) ErrorMessage() string

type DirectoryVpcSettings

type DirectoryVpcSettings struct {

	// The identifier of the VPC in which to create the directory.
	//
	// This member is required.
	VpcId *string

	// The identifiers of the subnets for the directory servers. The two subnets must
	// be in different Availability Zones. AWS Directory Service creates a directory
	// server and a DNS server in each of these subnets.
	//
	// This member is required.
	SubnetIds []*string
}

Contains VPC information for the CreateDirectory () or CreateMicrosoftAD () operation.

type DirectoryVpcSettingsDescription

type DirectoryVpcSettingsDescription struct {

	// The identifiers of the subnets for the directory servers.
	SubnetIds []*string

	// The list of Availability Zones that the directory is in.
	AvailabilityZones []*string

	// The identifier of the VPC that the directory is in.
	VpcId *string

	// The domain controller security group identifier for the directory.
	SecurityGroupId *string
}

Contains information about the directory.

type DomainController

type DomainController struct {

	// A description of the domain controller state.
	StatusReason *string

	// Identifier of the subnet in the VPC that contains the domain controller.
	SubnetId *string

	// The date and time that the status was last updated.
	StatusLastUpdatedDateTime *time.Time

	// Specifies when the domain controller was created.
	LaunchTime *time.Time

	// The IP address of the domain controller.
	DnsIpAddr *string

	// The status of the domain controller.
	Status DomainControllerStatus

	// Identifier of the directory where the domain controller resides.
	DirectoryId *string

	// The Availability Zone where the domain controller is located.
	AvailabilityZone *string

	// The identifier of the VPC that contains the domain controller.
	VpcId *string

	// Identifies a specific domain controller in the directory.
	DomainControllerId *string
}

Contains information about the domain controllers for a specified directory.

type DomainControllerLimitExceededException

type DomainControllerLimitExceededException struct {
	Message *string

	RequestId *string
}

The maximum allowed number of domain controllers per directory was exceeded. The default limit per directory is 20 domain controllers.

func (*DomainControllerLimitExceededException) Error

func (*DomainControllerLimitExceededException) ErrorCode

func (*DomainControllerLimitExceededException) ErrorFault

func (*DomainControllerLimitExceededException) ErrorMessage

type DomainControllerStatus

type DomainControllerStatus string
const (
	DomainControllerStatusCreating  DomainControllerStatus = "Creating"
	DomainControllerStatusActive    DomainControllerStatus = "Active"
	DomainControllerStatusImpaired  DomainControllerStatus = "Impaired"
	DomainControllerStatusRestoring DomainControllerStatus = "Restoring"
	DomainControllerStatusDeleting  DomainControllerStatus = "Deleting"
	DomainControllerStatusDeleted   DomainControllerStatus = "Deleted"
	DomainControllerStatusFailed    DomainControllerStatus = "Failed"
)

Enum values for DomainControllerStatus

type EntityAlreadyExistsException

type EntityAlreadyExistsException struct {
	Message *string

	RequestId *string
}

The specified entity already exists.

func (*EntityAlreadyExistsException) Error

func (*EntityAlreadyExistsException) ErrorCode

func (e *EntityAlreadyExistsException) ErrorCode() string

func (*EntityAlreadyExistsException) ErrorFault

func (*EntityAlreadyExistsException) ErrorMessage

func (e *EntityAlreadyExistsException) ErrorMessage() string

type EntityDoesNotExistException

type EntityDoesNotExistException struct {
	Message *string

	RequestId *string
}

The specified entity could not be found.

func (*EntityDoesNotExistException) Error

func (*EntityDoesNotExistException) ErrorCode

func (e *EntityDoesNotExistException) ErrorCode() string

func (*EntityDoesNotExistException) ErrorFault

func (*EntityDoesNotExistException) ErrorMessage

func (e *EntityDoesNotExistException) ErrorMessage() string

type EventTopic

type EventTopic struct {

	// The SNS topic ARN (Amazon Resource Name).
	TopicArn *string

	// The name of an AWS SNS topic the receives status messages from the directory.
	TopicName *string

	// The date and time of when you associated your directory with the SNS topic.
	CreatedDateTime *time.Time

	// The topic registration status.
	Status TopicStatus

	// The Directory ID of an AWS Directory Service directory that will publish status
	// messages to an SNS topic.
	DirectoryId *string
}

Information about SNS topic and AWS Directory Service directory associations.

type InsufficientPermissionsException

type InsufficientPermissionsException struct {
	Message *string

	RequestId *string
}

The account does not have sufficient permission to perform the operation.

func (*InsufficientPermissionsException) Error

func (*InsufficientPermissionsException) ErrorCode

func (*InsufficientPermissionsException) ErrorFault

func (*InsufficientPermissionsException) ErrorMessage

func (e *InsufficientPermissionsException) ErrorMessage() string

type InvalidCertificateException

type InvalidCertificateException struct {
	Message *string

	RequestId *string
}

The certificate PEM that was provided has incorrect encoding.

func (*InvalidCertificateException) Error

func (*InvalidCertificateException) ErrorCode

func (e *InvalidCertificateException) ErrorCode() string

func (*InvalidCertificateException) ErrorFault

func (*InvalidCertificateException) ErrorMessage

func (e *InvalidCertificateException) ErrorMessage() string

type InvalidLDAPSStatusException

type InvalidLDAPSStatusException struct {
	Message *string

	RequestId *string
}

The LDAP activities could not be performed because they are limited by the LDAPS status.

func (*InvalidLDAPSStatusException) Error

func (*InvalidLDAPSStatusException) ErrorCode

func (e *InvalidLDAPSStatusException) ErrorCode() string

func (*InvalidLDAPSStatusException) ErrorFault

func (*InvalidLDAPSStatusException) ErrorMessage

func (e *InvalidLDAPSStatusException) ErrorMessage() string

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string

	RequestId *string
}

The NextToken value is not valid.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string

	RequestId *string
}

One or more parameters are not valid.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidPasswordException

type InvalidPasswordException struct {
	Message *string

	RequestId *string
}

The new password provided by the user does not meet the password complexity requirements defined in your directory.

func (*InvalidPasswordException) Error

func (e *InvalidPasswordException) Error() string

func (*InvalidPasswordException) ErrorCode

func (e *InvalidPasswordException) ErrorCode() string

func (*InvalidPasswordException) ErrorFault

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

func (*InvalidPasswordException) ErrorMessage

func (e *InvalidPasswordException) ErrorMessage() string

type InvalidTargetException

type InvalidTargetException struct {
	Message *string

	RequestId *string
}

The specified shared target is not valid.

func (*InvalidTargetException) Error

func (e *InvalidTargetException) Error() string

func (*InvalidTargetException) ErrorCode

func (e *InvalidTargetException) ErrorCode() string

func (*InvalidTargetException) ErrorFault

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

func (*InvalidTargetException) ErrorMessage

func (e *InvalidTargetException) ErrorMessage() string

type IpRoute

type IpRoute struct {

	// Description of the address block.
	Description *string

	// IP address block using CIDR format, for example 10.0.0.0/24. This is often the
	// address block of the DNS server used for your on-premises domain. For a single
	// IP address use a CIDR address block with /32. For example 10.0.0.0/32.
	CidrIp *string
}

IP address block. This is often the address block of the DNS server used for your on-premises domain.

type IpRouteInfo

type IpRouteInfo struct {

	// Description of the IpRouteInfo ().
	Description *string

	// Identifier (ID) of the directory associated with the IP addresses.
	DirectoryId *string

	// IP address block in the IpRoute ().
	CidrIp *string

	// The status of the IP address block.
	IpRouteStatusMsg IpRouteStatusMsg

	// The date and time the address block was added to the directory.
	AddedDateTime *time.Time

	// The reason for the IpRouteStatusMsg.
	IpRouteStatusReason *string
}

Information about one or more IP address blocks.

type IpRouteLimitExceededException

type IpRouteLimitExceededException struct {
	Message *string

	RequestId *string
}

The maximum allowed number of IP addresses was exceeded. The default limit is 100 IP address blocks.

func (*IpRouteLimitExceededException) Error

func (*IpRouteLimitExceededException) ErrorCode

func (e *IpRouteLimitExceededException) ErrorCode() string

func (*IpRouteLimitExceededException) ErrorFault

func (*IpRouteLimitExceededException) ErrorMessage

func (e *IpRouteLimitExceededException) ErrorMessage() string

type IpRouteStatusMsg

type IpRouteStatusMsg string
const (
	IpRouteStatusMsgAdding        IpRouteStatusMsg = "Adding"
	IpRouteStatusMsgAdded         IpRouteStatusMsg = "Added"
	IpRouteStatusMsgRemoving      IpRouteStatusMsg = "Removing"
	IpRouteStatusMsgRemoved       IpRouteStatusMsg = "Removed"
	IpRouteStatusMsgAdd_failed    IpRouteStatusMsg = "AddFailed"
	IpRouteStatusMsgRemove_failed IpRouteStatusMsg = "RemoveFailed"
)

Enum values for IpRouteStatusMsg

type LDAPSSettingInfo

type LDAPSSettingInfo struct {

	// Describes a state change for LDAPS.
	LDAPSStatusReason *string

	// The date and time when the LDAPS settings were last updated.
	LastUpdatedDateTime *time.Time

	// The state of the LDAPS settings.
	LDAPSStatus LDAPSStatus
}

Contains general information about the LDAPS settings.

type LDAPSStatus

type LDAPSStatus string
const (
	LDAPSStatusEnabling      LDAPSStatus = "Enabling"
	LDAPSStatusEnabled       LDAPSStatus = "Enabled"
	LDAPSStatusEnable_failed LDAPSStatus = "EnableFailed"
	LDAPSStatusDisabled      LDAPSStatus = "Disabled"
)

Enum values for LDAPSStatus

type LDAPSType

type LDAPSType string
const (
	LDAPSTypeClient LDAPSType = "Client"
)

Enum values for LDAPSType

type LogSubscription

type LogSubscription struct {

	// The date and time that the log subscription was created.
	SubscriptionCreatedDateTime *time.Time

	// Identifier (ID) of the directory that you want to associate with the log
	// subscription.
	DirectoryId *string

	// The name of the log group.
	LogGroupName *string
}

Represents a log subscription, which tracks real-time data from a chosen log group to a specified destination.

type NoAvailableCertificateException

type NoAvailableCertificateException struct {
	Message *string

	RequestId *string
}

The LDAP activities could not be performed because at least one valid certificate must be registered with the system.

func (*NoAvailableCertificateException) Error

func (*NoAvailableCertificateException) ErrorCode

func (e *NoAvailableCertificateException) ErrorCode() string

func (*NoAvailableCertificateException) ErrorFault

func (*NoAvailableCertificateException) ErrorMessage

func (e *NoAvailableCertificateException) ErrorMessage() string

type OrganizationsException

type OrganizationsException struct {
	Message *string

	RequestId *string
}

Exception encountered while trying to access your AWS organization.

func (*OrganizationsException) Error

func (e *OrganizationsException) Error() string

func (*OrganizationsException) ErrorCode

func (e *OrganizationsException) ErrorCode() string

func (*OrganizationsException) ErrorFault

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

func (*OrganizationsException) ErrorMessage

func (e *OrganizationsException) ErrorMessage() string

type OwnerDirectoryDescription

type OwnerDirectoryDescription struct {

	// Information about the status of the RADIUS server.
	RadiusStatus RadiusStatus

	// IP address of the directory’s domain controllers.
	DnsIpAddrs []*string

	// A RadiusSettings () object that contains information about the RADIUS server.
	RadiusSettings *RadiusSettings

	// Identifier of the directory owner account.
	AccountId *string

	// Identifier of the AWS Managed Microsoft AD directory in the directory owner
	// account.
	DirectoryId *string

	// Information about the VPC settings for the directory.
	VpcSettings *DirectoryVpcSettingsDescription
}

Describes the directory owner account details that have been shared to the directory consumer account.

type RadiusAuthenticationProtocol

type RadiusAuthenticationProtocol string
const (
	RadiusAuthenticationProtocolPap      RadiusAuthenticationProtocol = "PAP"
	RadiusAuthenticationProtocolChap     RadiusAuthenticationProtocol = "CHAP"
	RadiusAuthenticationProtocolMschapv1 RadiusAuthenticationProtocol = "MS-CHAPv1"
	RadiusAuthenticationProtocolMschapv2 RadiusAuthenticationProtocol = "MS-CHAPv2"
)

Enum values for RadiusAuthenticationProtocol

type RadiusSettings

type RadiusSettings struct {

	// Not currently used.
	UseSameUsername *bool

	// The amount of time, in seconds, to wait for the RADIUS server to respond.
	RadiusTimeout *int32

	// The port that your RADIUS server is using for communications. Your on-premises
	// network must allow inbound traffic over this port from the AWS Directory Service
	// servers.
	RadiusPort *int32

	// Required for enabling RADIUS on the directory.
	SharedSecret *string

	// An array of strings that contains the IP addresses of the RADIUS server
	// endpoints, or the IP addresses of your RADIUS server load balancer.
	RadiusServers []*string

	// The maximum number of times that communication with the RADIUS server is
	// attempted.
	RadiusRetries *int32

	// The protocol specified for your RADIUS endpoints.
	AuthenticationProtocol RadiusAuthenticationProtocol

	// Not currently used.
	DisplayLabel *string
}

Contains information about a Remote Authentication Dial In User Service (RADIUS) server.

type RadiusStatus

type RadiusStatus string
const (
	RadiusStatusCreating  RadiusStatus = "Creating"
	RadiusStatusCompleted RadiusStatus = "Completed"
	RadiusStatusFailed    RadiusStatus = "Failed"
)

Enum values for RadiusStatus

type ReplicationScope

type ReplicationScope string
const (
	ReplicationScopeDomain ReplicationScope = "Domain"
)

Enum values for ReplicationScope

type SchemaExtensionInfo

type SchemaExtensionInfo struct {

	// A description of the schema extension.
	Description *string

	// The identifier of the directory to which the schema extension is applied.
	DirectoryId *string

	// The reason for the SchemaExtensionStatus.
	SchemaExtensionStatusReason *string

	// The identifier of the schema extension.
	SchemaExtensionId *string

	// The current status of the schema extension.
	SchemaExtensionStatus SchemaExtensionStatus

	// The date and time that the schema extension was completed.
	EndDateTime *time.Time

	// The date and time that the schema extension started being applied to the
	// directory.
	StartDateTime *time.Time
}

Information about a schema extension.

type SchemaExtensionStatus

type SchemaExtensionStatus string
const (
	SchemaExtensionStatusInitializing         SchemaExtensionStatus = "Initializing"
	SchemaExtensionStatusCreating_snapshot    SchemaExtensionStatus = "CreatingSnapshot"
	SchemaExtensionStatusUpdating_schema      SchemaExtensionStatus = "UpdatingSchema"
	SchemaExtensionStatusReplicating          SchemaExtensionStatus = "Replicating"
	SchemaExtensionStatusCancel_in_progress   SchemaExtensionStatus = "CancelInProgress"
	SchemaExtensionStatusRollback_in_progress SchemaExtensionStatus = "RollbackInProgress"
	SchemaExtensionStatusCancelled            SchemaExtensionStatus = "Cancelled"
	SchemaExtensionStatusFailed               SchemaExtensionStatus = "Failed"
	SchemaExtensionStatusCompleted            SchemaExtensionStatus = "Completed"
)

Enum values for SchemaExtensionStatus

type SelectiveAuth

type SelectiveAuth string
const (
	SelectiveAuthEnabled  SelectiveAuth = "Enabled"
	SelectiveAuthDisabled SelectiveAuth = "Disabled"
)

Enum values for SelectiveAuth

type ServiceException

type ServiceException struct {
	Message *string

	RequestId *string
}

An exception has occurred in AWS Directory Service.

func (*ServiceException) Error

func (e *ServiceException) Error() string

func (*ServiceException) ErrorCode

func (e *ServiceException) ErrorCode() string

func (*ServiceException) ErrorFault

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

func (*ServiceException) ErrorMessage

func (e *ServiceException) ErrorMessage() string

type ShareLimitExceededException

type ShareLimitExceededException struct {
	Message *string

	RequestId *string
}

The maximum number of AWS accounts that you can share with this directory has been reached.

func (*ShareLimitExceededException) Error

func (*ShareLimitExceededException) ErrorCode

func (e *ShareLimitExceededException) ErrorCode() string

func (*ShareLimitExceededException) ErrorFault

func (*ShareLimitExceededException) ErrorMessage

func (e *ShareLimitExceededException) ErrorMessage() string

type ShareMethod

type ShareMethod string
const (
	ShareMethodOrganizations ShareMethod = "ORGANIZATIONS"
	ShareMethodHandshake     ShareMethod = "HANDSHAKE"
)

Enum values for ShareMethod

type ShareStatus

type ShareStatus string
const (
	ShareStatusShared             ShareStatus = "Shared"
	ShareStatusPending_acceptance ShareStatus = "PendingAcceptance"
	ShareStatusRejected           ShareStatus = "Rejected"
	ShareStatusRejecting          ShareStatus = "Rejecting"
	ShareStatusReject_failed      ShareStatus = "RejectFailed"
	ShareStatusSharing            ShareStatus = "Sharing"
	ShareStatusShare_failed       ShareStatus = "ShareFailed"
	ShareStatusDeleted            ShareStatus = "Deleted"
	ShareStatusDeleting           ShareStatus = "Deleting"
)

Enum values for ShareStatus

type ShareTarget

type ShareTarget struct {

	// Type of identifier to be used in the Id field.
	//
	// This member is required.
	Type TargetType

	// Identifier of the directory consumer account.
	//
	// This member is required.
	Id *string
}

Identifier that contains details about the directory consumer account.

type SharedDirectory

type SharedDirectory struct {

	// Identifier of the shared directory in the directory consumer account. This
	// identifier is different for each directory owner account.
	SharedDirectoryId *string

	// A directory share request that is sent by the directory owner to the directory
	// consumer. The request includes a typed message to help the directory consumer
	// administrator determine whether to approve or reject the share invitation.
	ShareNotes *string

	// The date and time that the shared directory was created.
	CreatedDateTime *time.Time

	// The date and time that the shared directory was last updated.
	LastUpdatedDateTime *time.Time

	// The method used when sharing a directory to determine whether the directory
	// should be shared within your AWS organization (ORGANIZATIONS) or with any AWS
	// account by sending a shared directory request (HANDSHAKE).
	ShareMethod ShareMethod

	// Identifier of the directory owner account, which contains the directory that has
	// been shared to the consumer account.
	OwnerAccountId *string

	// Identifier of the directory in the directory owner account.
	OwnerDirectoryId *string

	// Current directory status of the shared AWS Managed Microsoft AD directory.
	ShareStatus ShareStatus

	// Identifier of the directory consumer account that has access to the shared
	// directory (OwnerDirectoryId) in the directory owner account.
	SharedAccountId *string
}

Details about the shared directory in the directory owner account for which the share request in the directory consumer account has been accepted.

type Snapshot

type Snapshot struct {

	// The snapshot status.
	Status SnapshotStatus

	// The snapshot identifier.
	SnapshotId *string

	// The date and time that the snapshot was taken.
	StartTime *time.Time

	// The descriptive name of the snapshot.
	Name *string

	// The snapshot type.
	Type SnapshotType

	// The directory identifier.
	DirectoryId *string
}

Describes a directory snapshot.

type SnapshotLimitExceededException

type SnapshotLimitExceededException struct {
	Message *string

	RequestId *string
}

The maximum number of manual snapshots for the directory has been reached. You can use the GetSnapshotLimits () operation to determine the snapshot limits for a directory.

func (*SnapshotLimitExceededException) Error

func (*SnapshotLimitExceededException) ErrorCode

func (e *SnapshotLimitExceededException) ErrorCode() string

func (*SnapshotLimitExceededException) ErrorFault

func (*SnapshotLimitExceededException) ErrorMessage

func (e *SnapshotLimitExceededException) ErrorMessage() string

type SnapshotLimits

type SnapshotLimits struct {

	// The maximum number of manual snapshots allowed.
	ManualSnapshotsLimit *int32

	// The current number of manual snapshots of the directory.
	ManualSnapshotsCurrentCount *int32

	// Indicates if the manual snapshot limit has been reached.
	ManualSnapshotsLimitReached *bool
}

Contains manual snapshot limit information for a directory.

type SnapshotStatus

type SnapshotStatus string
const (
	SnapshotStatusCreating  SnapshotStatus = "Creating"
	SnapshotStatusCompleted SnapshotStatus = "Completed"
	SnapshotStatusFailed    SnapshotStatus = "Failed"
)

Enum values for SnapshotStatus

type SnapshotType

type SnapshotType string
const (
	SnapshotTypeAuto   SnapshotType = "Auto"
	SnapshotTypeManual SnapshotType = "Manual"
)

Enum values for SnapshotType

type Tag

type Tag struct {

	// The optional value of the tag. The string value can be Unicode characters. The
	// string can contain only the set of Unicode letters, digits, white-space, '_',
	// '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
	//
	// This member is required.
	Value *string

	// Required name of the tag. The string value can be Unicode characters and cannot
	// be prefixed with "aws:". The string can contain only the set of Unicode letters,
	// digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex:
	// "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
	//
	// This member is required.
	Key *string
}

Metadata assigned to a directory consisting of a key-value pair.

type TagLimitExceededException

type TagLimitExceededException struct {
	Message *string

	RequestId *string
}

The maximum allowed number of tags was exceeded.

func (*TagLimitExceededException) Error

func (e *TagLimitExceededException) Error() string

func (*TagLimitExceededException) ErrorCode

func (e *TagLimitExceededException) ErrorCode() string

func (*TagLimitExceededException) ErrorFault

func (*TagLimitExceededException) ErrorMessage

func (e *TagLimitExceededException) ErrorMessage() string

type TargetType

type TargetType string
const (
	TargetTypeAccount TargetType = "ACCOUNT"
)

Enum values for TargetType

type TopicStatus

type TopicStatus string
const (
	TopicStatusRegistered      TopicStatus = "Registered"
	TopicStatusTopic_not_found TopicStatus = "Topic not found"
	TopicStatusFailed          TopicStatus = "Failed"
	TopicStatusDeleted         TopicStatus = "Deleted"
)

Enum values for TopicStatus

type Trust

type Trust struct {

	// The Directory ID of the AWS directory involved in the trust relationship.
	DirectoryId *string

	// The reason for the TrustState.
	TrustStateReason *string

	// The date and time that the trust relationship was created.
	CreatedDateTime *time.Time

	// The trust relationship state.
	TrustState TrustState

	// Current state of selective authentication for the trust.
	SelectiveAuth SelectiveAuth

	// The date and time that the TrustState was last updated.
	StateLastUpdatedDateTime *time.Time

	// The Fully Qualified Domain Name (FQDN) of the external domain involved in the
	// trust relationship.
	RemoteDomainName *string

	// The unique ID of the trust relationship.
	TrustId *string

	// The date and time that the trust relationship was last updated.
	LastUpdatedDateTime *time.Time

	// The trust relationship direction.
	TrustDirection TrustDirection

	// The trust relationship type. Forest is the default.
	TrustType TrustType
}

Describes a trust relationship between an AWS Managed Microsoft AD directory and an external domain.

type TrustDirection

type TrustDirection string
const (
	TrustDirectionOne_way_outgoing TrustDirection = "One-Way: Outgoing"
	TrustDirectionOne_way_incoming TrustDirection = "One-Way: Incoming"
	TrustDirectionTwo_way          TrustDirection = "Two-Way"
)

Enum values for TrustDirection

type TrustState

type TrustState string
const (
	TrustStateCreating      TrustState = "Creating"
	TrustStateCreated       TrustState = "Created"
	TrustStateVerifying     TrustState = "Verifying"
	TrustStateVerify_failed TrustState = "VerifyFailed"
	TrustStateVerified      TrustState = "Verified"
	TrustStateUpdating      TrustState = "Updating"
	TrustStateUpdate_failed TrustState = "UpdateFailed"
	TrustStateUpdated       TrustState = "Updated"
	TrustStateDeleting      TrustState = "Deleting"
	TrustStateDeleted       TrustState = "Deleted"
	TrustStateFailed        TrustState = "Failed"
)

Enum values for TrustState

type TrustType

type TrustType string
const (
	TrustTypeForest   TrustType = "Forest"
	TrustTypeExternal TrustType = "External"
)

Enum values for TrustType

type UnshareTarget

type UnshareTarget struct {

	// Identifier of the directory consumer account.
	//
	// This member is required.
	Id *string

	// Type of identifier to be used in the Id field.
	//
	// This member is required.
	Type TargetType
}

Identifier that contains details about the directory consumer account with whom the directory is being unshared.

type UnsupportedOperationException

type UnsupportedOperationException struct {
	Message *string

	RequestId *string
}

The operation is not supported.

func (*UnsupportedOperationException) Error

func (*UnsupportedOperationException) ErrorCode

func (e *UnsupportedOperationException) ErrorCode() string

func (*UnsupportedOperationException) ErrorFault

func (*UnsupportedOperationException) ErrorMessage

func (e *UnsupportedOperationException) ErrorMessage() string

type UserDoesNotExistException

type UserDoesNotExistException struct {
	Message *string

	RequestId *string
}

The user provided a username that does not exist in your directory.

func (*UserDoesNotExistException) Error

func (e *UserDoesNotExistException) Error() string

func (*UserDoesNotExistException) ErrorCode

func (e *UserDoesNotExistException) ErrorCode() string

func (*UserDoesNotExistException) ErrorFault

func (*UserDoesNotExistException) ErrorMessage

func (e *UserDoesNotExistException) ErrorMessage() string

Source Files

enums.go errors.go types.go

Version
v0.26.0
Published
Oct 1, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
1 week ago

Tools for package owners.