directoryservice

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 21

Documentation

Overview

Package directoryservice provides the client and types for making API requests to Directory Service.

AWS Directory Service is a web service that makes it easy for you to setup and run directories in the AWS cloud, or connect your AWS resources with an existing on-premises Microsoft Active Directory. This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors. For information about AWS Directory Services features, see AWS Directory Service (https://aws.amazon.com/directoryservice/) and the AWS Directory Service Administration Guide (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/what_is.html).

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to AWS Directory Service and other AWS services. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).

See https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16 for more information on this service.

See directoryservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/directoryservice/

Using the Client

To use Directory Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Directory Service client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/directoryservice/#New

Index

Constants

View Source
const (
	ServiceName = "Directory Service" // Service's name
	ServiceID   = "DirectoryService"  // Service's identifier
	EndpointsID = "ds"                // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeAuthenticationFailedException for service response error code
	// "AuthenticationFailedException".
	//
	// An authentication error occurred.
	ErrCodeAuthenticationFailedException = "AuthenticationFailedException"

	// ErrCodeCertificateAlreadyExistsException for service response error code
	// "CertificateAlreadyExistsException".
	//
	// The certificate has already been registered into the system.
	ErrCodeCertificateAlreadyExistsException = "CertificateAlreadyExistsException"

	// ErrCodeCertificateDoesNotExistException for service response error code
	// "CertificateDoesNotExistException".
	//
	// The certificate is not present in the system for describe or deregister activities.
	ErrCodeCertificateDoesNotExistException = "CertificateDoesNotExistException"

	// ErrCodeCertificateInUseException for service response error code
	// "CertificateInUseException".
	//
	// The certificate is being used for the LDAP security connection and cannot
	// be removed without disabling LDAP security.
	ErrCodeCertificateInUseException = "CertificateInUseException"

	// ErrCodeCertificateLimitExceededException for service response error code
	// "CertificateLimitExceededException".
	//
	// The certificate could not be added because the certificate limit has been
	// reached.
	ErrCodeCertificateLimitExceededException = "CertificateLimitExceededException"

	// ErrCodeDirectoryAlreadySharedException for service response error code
	// "DirectoryAlreadySharedException".
	//
	// The specified directory has already been shared with this AWS account.
	ErrCodeDirectoryAlreadySharedException = "DirectoryAlreadySharedException"

	// ErrCodeDirectoryDoesNotExistException for service response error code
	// "DirectoryDoesNotExistException".
	//
	// The specified directory does not exist in the system.
	ErrCodeDirectoryDoesNotExistException = "DirectoryDoesNotExistException"

	// ErrCodeDirectoryLimitExceededException for service response error code
	// "DirectoryLimitExceededException".
	//
	// 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.
	ErrCodeDirectoryLimitExceededException = "DirectoryLimitExceededException"

	// ErrCodeDirectoryNotSharedException for service response error code
	// "DirectoryNotSharedException".
	//
	// The specified directory has not been shared with this AWS account.
	ErrCodeDirectoryNotSharedException = "DirectoryNotSharedException"

	// ErrCodeDirectoryUnavailableException for service response error code
	// "DirectoryUnavailableException".
	//
	// The specified directory is unavailable or could not be found.
	ErrCodeDirectoryUnavailableException = "DirectoryUnavailableException"

	// ErrCodeDomainControllerLimitExceededException for service response error code
	// "DomainControllerLimitExceededException".
	//
	// The maximum allowed number of domain controllers per directory was exceeded.
	// The default limit per directory is 20 domain controllers.
	ErrCodeDomainControllerLimitExceededException = "DomainControllerLimitExceededException"

	// ErrCodeEntityAlreadyExistsException for service response error code
	// "EntityAlreadyExistsException".
	//
	// The specified entity already exists.
	ErrCodeEntityAlreadyExistsException = "EntityAlreadyExistsException"

	// ErrCodeEntityDoesNotExistException for service response error code
	// "EntityDoesNotExistException".
	//
	// The specified entity could not be found.
	ErrCodeEntityDoesNotExistException = "EntityDoesNotExistException"

	// ErrCodeException for service response error code
	// "Exception".
	//
	// A client exception has occurred.
	ErrCodeException = "Exception"

	// ErrCodeInsufficientPermissionsException for service response error code
	// "InsufficientPermissionsException".
	//
	// The account does not have sufficient permission to perform the operation.
	ErrCodeInsufficientPermissionsException = "InsufficientPermissionsException"

	// ErrCodeInvalidCertificateException for service response error code
	// "InvalidCertificateException".
	//
	// The certificate PEM that was provided has incorrect encoding.
	ErrCodeInvalidCertificateException = "InvalidCertificateException"

	// ErrCodeInvalidLDAPSStatusException for service response error code
	// "InvalidLDAPSStatusException".
	//
	// The LDAP activities could not be performed because they are limited by the
	// LDAPS status.
	ErrCodeInvalidLDAPSStatusException = "InvalidLDAPSStatusException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The NextToken value is not valid.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// One or more parameters are not valid.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeInvalidPasswordException for service response error code
	// "InvalidPasswordException".
	//
	// The new password provided by the user does not meet the password complexity
	// requirements defined in your directory.
	ErrCodeInvalidPasswordException = "InvalidPasswordException"

	// ErrCodeInvalidTargetException for service response error code
	// "InvalidTargetException".
	//
	// The specified shared target is not valid.
	ErrCodeInvalidTargetException = "InvalidTargetException"

	// ErrCodeIpRouteLimitExceededException for service response error code
	// "IpRouteLimitExceededException".
	//
	// The maximum allowed number of IP addresses was exceeded. The default limit
	// is 100 IP address blocks.
	ErrCodeIpRouteLimitExceededException = "IpRouteLimitExceededException"

	// ErrCodeNoAvailableCertificateException for service response error code
	// "NoAvailableCertificateException".
	//
	// The LDAP activities could not be performed because at least one valid certificate
	// must be registered with the system.
	ErrCodeNoAvailableCertificateException = "NoAvailableCertificateException"

	// ErrCodeOrganizationsException for service response error code
	// "OrganizationsException".
	//
	// Exception encountered while trying to access your AWS organization.
	ErrCodeOrganizationsException = "OrganizationsException"

	// ErrCodeServiceException for service response error code
	// "ServiceException".
	//
	// An exception has occurred in AWS Directory Service.
	ErrCodeServiceException = "ServiceException"

	// ErrCodeShareLimitExceededException for service response error code
	// "ShareLimitExceededException".
	//
	// The maximum number of AWS accounts that you can share with this directory
	// has been reached.
	ErrCodeShareLimitExceededException = "ShareLimitExceededException"

	// ErrCodeSnapshotLimitExceededException for service response error code
	// "SnapshotLimitExceededException".
	//
	// 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.
	ErrCodeSnapshotLimitExceededException = "SnapshotLimitExceededException"

	// ErrCodeTagLimitExceededException for service response error code
	// "TagLimitExceededException".
	//
	// The maximum allowed number of tags was exceeded.
	ErrCodeTagLimitExceededException = "TagLimitExceededException"

	// ErrCodeUnsupportedOperationException for service response error code
	// "UnsupportedOperationException".
	//
	// The operation is not supported.
	ErrCodeUnsupportedOperationException = "UnsupportedOperationException"

	// ErrCodeUserDoesNotExistException for service response error code
	// "UserDoesNotExistException".
	//
	// The user provided a username that does not exist in your directory.
	ErrCodeUserDoesNotExistException = "UserDoesNotExistException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptSharedDirectoryInput added in v0.5.0

type AcceptSharedDirectoryInput struct {

	// Identifier of the shared directory in the directory consumer account. This
	// identifier is different for each directory owner account.
	//
	// SharedDirectoryId is a required field
	SharedDirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AcceptSharedDirectoryInput) String added in v0.5.0

String returns the string representation

func (*AcceptSharedDirectoryInput) Validate added in v0.5.0

func (s *AcceptSharedDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AcceptSharedDirectoryOutput added in v0.5.0

type AcceptSharedDirectoryOutput struct {

	// The shared directory in the directory consumer account.
	SharedDirectory *SharedDirectory `type:"structure"`
	// contains filtered or unexported fields
}

func (AcceptSharedDirectoryOutput) String added in v0.5.0

String returns the string representation

type AcceptSharedDirectoryRequest added in v0.5.0

type AcceptSharedDirectoryRequest struct {
	*aws.Request
	Input *AcceptSharedDirectoryInput
	Copy  func(*AcceptSharedDirectoryInput) AcceptSharedDirectoryRequest
}

AcceptSharedDirectoryRequest is the request type for the AcceptSharedDirectory API operation.

func (AcceptSharedDirectoryRequest) Send added in v0.5.0

Send marshals and sends the AcceptSharedDirectory API request.

type AcceptSharedDirectoryResponse added in v0.9.0

type AcceptSharedDirectoryResponse struct {
	*AcceptSharedDirectoryOutput
	// contains filtered or unexported fields
}

AcceptSharedDirectoryResponse is the response type for the AcceptSharedDirectory API operation.

func (*AcceptSharedDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *AcceptSharedDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptSharedDirectory request.

type AddIpRoutesInput

type AddIpRoutesInput struct {

	// Identifier (ID) of the directory to which to add the address block.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// IP address blocks, using CIDR format, of the traffic to route. This is often
	// the IP address block of the DNS server used for your on-premises domain.
	//
	// IpRoutes is a required field
	IpRoutes []IpRoute `type:"list" required:"true"`

	// If set to true, updates the inbound and outbound rules of the security group
	// that has the description: "AWS created security group for directory ID directory
	// controllers." Following are the new rules:
	//
	// Inbound:
	//
	//    * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
	//
	//    * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
	//
	//    * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
	//
	//    * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
	//
	//    * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
	//
	//    * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0
	//
	//    * Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0
	//
	//    * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
	//
	//    * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
	//
	//    * Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
	//
	//    * Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
	//
	// Outbound:
	//
	//    * Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
	//
	// These security rules impact an internal network interface that is not exposed
	// publicly.
	UpdateSecurityGroupForDirectoryControllers *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (AddIpRoutesInput) String

func (s AddIpRoutesInput) String() string

String returns the string representation

func (*AddIpRoutesInput) Validate

func (s *AddIpRoutesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddIpRoutesOutput

type AddIpRoutesOutput struct {
	// contains filtered or unexported fields
}

func (AddIpRoutesOutput) String

func (s AddIpRoutesOutput) String() string

String returns the string representation

type AddIpRoutesRequest

type AddIpRoutesRequest struct {
	*aws.Request
	Input *AddIpRoutesInput
	Copy  func(*AddIpRoutesInput) AddIpRoutesRequest
}

AddIpRoutesRequest is the request type for the AddIpRoutes API operation.

func (AddIpRoutesRequest) Send

Send marshals and sends the AddIpRoutes API request.

type AddIpRoutesResponse added in v0.9.0

type AddIpRoutesResponse struct {
	*AddIpRoutesOutput
	// contains filtered or unexported fields
}

AddIpRoutesResponse is the response type for the AddIpRoutes API operation.

func (*AddIpRoutesResponse) SDKResponseMetdata added in v0.9.0

func (r *AddIpRoutesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AddIpRoutes request.

type AddTagsToResourceInput

type AddTagsToResourceInput struct {

	// Identifier (ID) for the directory to which to add the tag.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The tags to be assigned to the directory.
	//
	// Tags is a required field
	Tags []Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AddTagsToResourceInput) String

func (s AddTagsToResourceInput) String() string

String returns the string representation

func (*AddTagsToResourceInput) Validate

func (s *AddTagsToResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsToResourceOutput

type AddTagsToResourceOutput struct {
	// contains filtered or unexported fields
}

func (AddTagsToResourceOutput) String

func (s AddTagsToResourceOutput) String() string

String returns the string representation

type AddTagsToResourceRequest

type AddTagsToResourceRequest struct {
	*aws.Request
	Input *AddTagsToResourceInput
	Copy  func(*AddTagsToResourceInput) AddTagsToResourceRequest
}

AddTagsToResourceRequest is the request type for the AddTagsToResource API operation.

func (AddTagsToResourceRequest) Send

Send marshals and sends the AddTagsToResource API request.

type AddTagsToResourceResponse added in v0.9.0

type AddTagsToResourceResponse struct {
	*AddTagsToResourceOutput
	// contains filtered or unexported fields
}

AddTagsToResourceResponse is the response type for the AddTagsToResource API operation.

func (*AddTagsToResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *AddTagsToResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AddTagsToResource request.

type Attribute

type Attribute struct {

	// The name of the attribute.
	Name *string `min:"1" type:"string"`

	// The value of the attribute.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Represents a named directory attribute.

func (Attribute) String

func (s Attribute) String() string

String returns the string representation

func (*Attribute) Validate

func (s *Attribute) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelSchemaExtensionInput

type CancelSchemaExtensionInput struct {

	// The identifier of the directory whose schema extension will be canceled.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The identifier of the schema extension that will be canceled.
	//
	// SchemaExtensionId is a required field
	SchemaExtensionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelSchemaExtensionInput) String

String returns the string representation

func (*CancelSchemaExtensionInput) Validate

func (s *CancelSchemaExtensionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelSchemaExtensionOutput

type CancelSchemaExtensionOutput struct {
	// contains filtered or unexported fields
}

func (CancelSchemaExtensionOutput) String

String returns the string representation

type CancelSchemaExtensionRequest

type CancelSchemaExtensionRequest struct {
	*aws.Request
	Input *CancelSchemaExtensionInput
	Copy  func(*CancelSchemaExtensionInput) CancelSchemaExtensionRequest
}

CancelSchemaExtensionRequest is the request type for the CancelSchemaExtension API operation.

func (CancelSchemaExtensionRequest) Send

Send marshals and sends the CancelSchemaExtension API request.

type CancelSchemaExtensionResponse added in v0.9.0

type CancelSchemaExtensionResponse struct {
	*CancelSchemaExtensionOutput
	// contains filtered or unexported fields
}

CancelSchemaExtensionResponse is the response type for the CancelSchemaExtension API operation.

func (*CancelSchemaExtensionResponse) SDKResponseMetdata added in v0.9.0

func (r *CancelSchemaExtensionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelSchemaExtension request.

type Certificate added in v0.18.0

type Certificate struct {

	// The identifier of the certificate.
	CertificateId *string `type:"string"`

	// The common name for the certificate.
	CommonName *string `type:"string"`

	// The date and time when the certificate will expire.
	ExpiryDateTime *time.Time `type:"timestamp"`

	// The date and time that the certificate was registered.
	RegisteredDateTime *time.Time `type:"timestamp"`

	// The state of the certificate.
	State CertificateState `type:"string" enum:"true"`

	// Describes a state change for the certificate.
	StateReason *string `type:"string"`
	// contains filtered or unexported fields
}

Information about the certificate.

func (Certificate) String added in v0.18.0

func (s Certificate) String() string

String returns the string representation

type CertificateInfo added in v0.18.0

type CertificateInfo struct {

	// The identifier of the certificate.
	CertificateId *string `type:"string"`

	// The common name for the certificate.
	CommonName *string `type:"string"`

	// The date and time when the certificate will expire.
	ExpiryDateTime *time.Time `type:"timestamp"`

	// The state of the certificate.
	State CertificateState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains general information about a certificate.

func (CertificateInfo) String added in v0.18.0

func (s CertificateInfo) String() string

String returns the string representation

type CertificateState added in v0.18.0

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

Enum values for CertificateState

func (CertificateState) MarshalValue added in v0.18.0

func (enum CertificateState) MarshalValue() (string, error)

func (CertificateState) MarshalValueBuf added in v0.18.0

func (enum CertificateState) MarshalValueBuf(b []byte) ([]byte, error)

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to Directory Service. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := directoryservice.New(myConfig)

func (*Client) AcceptSharedDirectoryRequest added in v0.9.0

func (c *Client) AcceptSharedDirectoryRequest(input *AcceptSharedDirectoryInput) AcceptSharedDirectoryRequest

AcceptSharedDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Accepts a directory sharing request that was sent from the directory owner account.

// Example sending a request using AcceptSharedDirectoryRequest.
req := client.AcceptSharedDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory

func (*Client) AddIpRoutesRequest added in v0.9.0

func (c *Client) AddIpRoutesRequest(input *AddIpRoutesInput) AddIpRoutesRequest

AddIpRoutesRequest returns a request value for making API operation for AWS Directory Service.

If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.

Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html).

// Example sending a request using AddIpRoutesRequest.
req := client.AddIpRoutesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes

func (*Client) AddTagsToResourceRequest added in v0.9.0

func (c *Client) AddTagsToResourceRequest(input *AddTagsToResourceInput) AddTagsToResourceRequest

AddTagsToResourceRequest returns a request value for making API operation for AWS Directory Service.

Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.

// Example sending a request using AddTagsToResourceRequest.
req := client.AddTagsToResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource

func (*Client) CancelSchemaExtensionRequest added in v0.9.0

func (c *Client) CancelSchemaExtensionRequest(input *CancelSchemaExtensionInput) CancelSchemaExtensionRequest

CancelSchemaExtensionRequest returns a request value for making API operation for AWS Directory Service.

Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema.

// Example sending a request using CancelSchemaExtensionRequest.
req := client.CancelSchemaExtensionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension

func (*Client) ConnectDirectoryRequest added in v0.9.0

func (c *Client) ConnectDirectoryRequest(input *ConnectDirectoryInput) ConnectDirectoryRequest

ConnectDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Creates an AD Connector to connect to an on-premises directory.

Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html).

// Example sending a request using ConnectDirectoryRequest.
req := client.ConnectDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory

func (*Client) CreateAliasRequest added in v0.9.0

func (c *Client) CreateAliasRequest(input *CreateAliasInput) CreateAliasRequest

CreateAliasRequest returns a request value for making API operation for AWS Directory Service.

Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com.

After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.

// Example sending a request using CreateAliasRequest.
req := client.CreateAliasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias

func (*Client) CreateComputerRequest added in v0.9.0

func (c *Client) CreateComputerRequest(input *CreateComputerInput) CreateComputerRequest

CreateComputerRequest returns a request value for making API operation for AWS Directory Service.

Creates a computer account in the specified directory, and joins the computer to the directory.

// Example sending a request using CreateComputerRequest.
req := client.CreateComputerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer

func (*Client) CreateConditionalForwarderRequest added in v0.9.0

func (c *Client) CreateConditionalForwarderRequest(input *CreateConditionalForwarderInput) CreateConditionalForwarderRequest

CreateConditionalForwarderRequest returns a request value for making API operation for AWS Directory Service.

Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.

// Example sending a request using CreateConditionalForwarderRequest.
req := client.CreateConditionalForwarderRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder

func (*Client) CreateDirectoryRequest added in v0.9.0

func (c *Client) CreateDirectoryRequest(input *CreateDirectoryInput) CreateDirectoryRequest

CreateDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Creates a Simple AD directory. For more information, see Simple Active Directory (https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_simple_ad.html) in the AWS Directory Service Admin Guide.

Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html).

// Example sending a request using CreateDirectoryRequest.
req := client.CreateDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory

func (*Client) CreateLogSubscriptionRequest added in v0.9.0

func (c *Client) CreateLogSubscriptionRequest(input *CreateLogSubscriptionInput) CreateLogSubscriptionRequest

CreateLogSubscriptionRequest returns a request value for making API operation for AWS Directory Service.

Creates a subscription to forward real-time Directory Service domain controller security logs to the specified Amazon CloudWatch log group in your AWS account.

// Example sending a request using CreateLogSubscriptionRequest.
req := client.CreateLogSubscriptionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateLogSubscription

func (*Client) CreateMicrosoftADRequest added in v0.9.0

func (c *Client) CreateMicrosoftADRequest(input *CreateMicrosoftADInput) CreateMicrosoftADRequest

CreateMicrosoftADRequest returns a request value for making API operation for AWS Directory Service.

Creates a Microsoft AD directory in the AWS Cloud. For more information, see AWS Managed Microsoft AD (https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) in the AWS Directory Service Admin Guide.

Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html).

// Example sending a request using CreateMicrosoftADRequest.
req := client.CreateMicrosoftADRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD

func (*Client) CreateSnapshotRequest added in v0.9.0

func (c *Client) CreateSnapshotRequest(input *CreateSnapshotInput) CreateSnapshotRequest

CreateSnapshotRequest returns a request value for making API operation for AWS Directory Service.

Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.

You cannot take snapshots of AD Connector directories.

// Example sending a request using CreateSnapshotRequest.
req := client.CreateSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot

func (*Client) CreateTrustRequest added in v0.9.0

func (c *Client) CreateTrustRequest(input *CreateTrustInput) CreateTrustRequest

CreateTrustRequest returns a request value for making API operation for AWS Directory Service.

AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your AWS Managed Microsoft AD directory, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.

This action initiates the creation of the AWS side of a trust relationship between an AWS Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.

// Example sending a request using CreateTrustRequest.
req := client.CreateTrustRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust

func (*Client) DeleteConditionalForwarderRequest added in v0.9.0

func (c *Client) DeleteConditionalForwarderRequest(input *DeleteConditionalForwarderInput) DeleteConditionalForwarderRequest

DeleteConditionalForwarderRequest returns a request value for making API operation for AWS Directory Service.

Deletes a conditional forwarder that has been set up for your AWS directory.

// Example sending a request using DeleteConditionalForwarderRequest.
req := client.DeleteConditionalForwarderRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder

func (*Client) DeleteDirectoryRequest added in v0.9.0

func (c *Client) DeleteDirectoryRequest(input *DeleteDirectoryInput) DeleteDirectoryRequest

DeleteDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Deletes an AWS Directory Service directory.

Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html).

// Example sending a request using DeleteDirectoryRequest.
req := client.DeleteDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory

func (*Client) DeleteLogSubscriptionRequest added in v0.9.0

func (c *Client) DeleteLogSubscriptionRequest(input *DeleteLogSubscriptionInput) DeleteLogSubscriptionRequest

DeleteLogSubscriptionRequest returns a request value for making API operation for AWS Directory Service.

Deletes the specified log subscription.

// Example sending a request using DeleteLogSubscriptionRequest.
req := client.DeleteLogSubscriptionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteLogSubscription

func (*Client) DeleteSnapshotRequest added in v0.9.0

func (c *Client) DeleteSnapshotRequest(input *DeleteSnapshotInput) DeleteSnapshotRequest

DeleteSnapshotRequest returns a request value for making API operation for AWS Directory Service.

Deletes a directory snapshot.

// Example sending a request using DeleteSnapshotRequest.
req := client.DeleteSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot

func (*Client) DeleteTrustRequest added in v0.9.0

func (c *Client) DeleteTrustRequest(input *DeleteTrustInput) DeleteTrustRequest

DeleteTrustRequest returns a request value for making API operation for AWS Directory Service.

Deletes an existing trust relationship between your AWS Managed Microsoft AD directory and an external domain.

// Example sending a request using DeleteTrustRequest.
req := client.DeleteTrustRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust

func (*Client) DeregisterCertificateRequest added in v0.18.0

func (c *Client) DeregisterCertificateRequest(input *DeregisterCertificateInput) DeregisterCertificateRequest

DeregisterCertificateRequest returns a request value for making API operation for AWS Directory Service.

Deletes from the system the certificate that was registered for a secured LDAP connection.

// Example sending a request using DeregisterCertificateRequest.
req := client.DeregisterCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterCertificate

func (*Client) DeregisterEventTopicRequest added in v0.9.0

func (c *Client) DeregisterEventTopicRequest(input *DeregisterEventTopicInput) DeregisterEventTopicRequest

DeregisterEventTopicRequest returns a request value for making API operation for AWS Directory Service.

Removes the specified directory as a publisher to the specified SNS topic.

// Example sending a request using DeregisterEventTopicRequest.
req := client.DeregisterEventTopicRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic

func (*Client) DescribeCertificateRequest added in v0.18.0

func (c *Client) DescribeCertificateRequest(input *DescribeCertificateInput) DescribeCertificateRequest

DescribeCertificateRequest returns a request value for making API operation for AWS Directory Service.

Displays information about the certificate registered for a secured LDAP connection.

// Example sending a request using DescribeCertificateRequest.
req := client.DescribeCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCertificate

func (*Client) DescribeConditionalForwardersRequest added in v0.9.0

func (c *Client) DescribeConditionalForwardersRequest(input *DescribeConditionalForwardersInput) DescribeConditionalForwardersRequest

DescribeConditionalForwardersRequest returns a request value for making API operation for AWS Directory Service.

Obtains information about the conditional forwarders for this account.

If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.

// Example sending a request using DescribeConditionalForwardersRequest.
req := client.DescribeConditionalForwardersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders

func (*Client) DescribeDirectoriesRequest added in v0.9.0

func (c *Client) DescribeDirectoriesRequest(input *DescribeDirectoriesInput) DescribeDirectoriesRequest

DescribeDirectoriesRequest returns a request value for making API operation for AWS Directory Service.

Obtains information about the directories that belong to this account.

You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.

You can also specify a maximum number of return results with the Limit parameter.

// Example sending a request using DescribeDirectoriesRequest.
req := client.DescribeDirectoriesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories

func (*Client) DescribeDomainControllersRequest added in v0.9.0

func (c *Client) DescribeDomainControllersRequest(input *DescribeDomainControllersInput) DescribeDomainControllersRequest

DescribeDomainControllersRequest returns a request value for making API operation for AWS Directory Service.

Provides information about any domain controllers in your directory.

// Example sending a request using DescribeDomainControllersRequest.
req := client.DescribeDomainControllersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers

func (*Client) DescribeEventTopicsRequest added in v0.9.0

func (c *Client) DescribeEventTopicsRequest(input *DescribeEventTopicsInput) DescribeEventTopicsRequest

DescribeEventTopicsRequest returns a request value for making API operation for AWS Directory Service.

Obtains information about which SNS topics receive status messages from the specified directory.

If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.

// Example sending a request using DescribeEventTopicsRequest.
req := client.DescribeEventTopicsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics

func (*Client) DescribeLDAPSSettingsRequest added in v0.18.0

func (c *Client) DescribeLDAPSSettingsRequest(input *DescribeLDAPSSettingsInput) DescribeLDAPSSettingsRequest

DescribeLDAPSSettingsRequest returns a request value for making API operation for AWS Directory Service.

Describes the status of LDAP security for the specified directory.

// Example sending a request using DescribeLDAPSSettingsRequest.
req := client.DescribeLDAPSSettingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeLDAPSSettings

func (*Client) DescribeSharedDirectoriesRequest added in v0.9.0

func (c *Client) DescribeSharedDirectoriesRequest(input *DescribeSharedDirectoriesInput) DescribeSharedDirectoriesRequest

DescribeSharedDirectoriesRequest returns a request value for making API operation for AWS Directory Service.

Returns the shared directories in your account.

// Example sending a request using DescribeSharedDirectoriesRequest.
req := client.DescribeSharedDirectoriesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectories

func (*Client) DescribeSnapshotsRequest added in v0.9.0

func (c *Client) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) DescribeSnapshotsRequest

DescribeSnapshotsRequest returns a request value for making API operation for AWS Directory Service.

Obtains information about the directory snapshots that belong to this account.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items.

You can also specify a maximum number of return results with the Limit parameter.

// Example sending a request using DescribeSnapshotsRequest.
req := client.DescribeSnapshotsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots

func (*Client) DescribeTrustsRequest added in v0.9.0

func (c *Client) DescribeTrustsRequest(input *DescribeTrustsInput) DescribeTrustsRequest

DescribeTrustsRequest returns a request value for making API operation for AWS Directory Service.

Obtains information about the trust relationships for this account.

If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.

// Example sending a request using DescribeTrustsRequest.
req := client.DescribeTrustsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts

func (*Client) DisableLDAPSRequest added in v0.18.0

func (c *Client) DisableLDAPSRequest(input *DisableLDAPSInput) DisableLDAPSRequest

DisableLDAPSRequest returns a request value for making API operation for AWS Directory Service.

Deactivates LDAP secure calls for the specified directory.

// Example sending a request using DisableLDAPSRequest.
req := client.DisableLDAPSRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableLDAPS

func (*Client) DisableRadiusRequest added in v0.9.0

func (c *Client) DisableRadiusRequest(input *DisableRadiusInput) DisableRadiusRequest

DisableRadiusRequest returns a request value for making API operation for AWS Directory Service.

Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.

// Example sending a request using DisableRadiusRequest.
req := client.DisableRadiusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius

func (*Client) DisableSsoRequest added in v0.9.0

func (c *Client) DisableSsoRequest(input *DisableSsoInput) DisableSsoRequest

DisableSsoRequest returns a request value for making API operation for AWS Directory Service.

Disables single-sign on for a directory.

// Example sending a request using DisableSsoRequest.
req := client.DisableSsoRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso

func (*Client) EnableLDAPSRequest added in v0.18.0

func (c *Client) EnableLDAPSRequest(input *EnableLDAPSInput) EnableLDAPSRequest

EnableLDAPSRequest returns a request value for making API operation for AWS Directory Service.

Activates the switch for the specific directory to always use LDAP secure calls.

// Example sending a request using EnableLDAPSRequest.
req := client.EnableLDAPSRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableLDAPS

func (*Client) EnableRadiusRequest added in v0.9.0

func (c *Client) EnableRadiusRequest(input *EnableRadiusInput) EnableRadiusRequest

EnableRadiusRequest returns a request value for making API operation for AWS Directory Service.

Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.

// Example sending a request using EnableRadiusRequest.
req := client.EnableRadiusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius

func (*Client) EnableSsoRequest added in v0.9.0

func (c *Client) EnableSsoRequest(input *EnableSsoInput) EnableSsoRequest

EnableSsoRequest returns a request value for making API operation for AWS Directory Service.

Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain AWS services from a computer joined to the directory without having to enter their credentials separately.

// Example sending a request using EnableSsoRequest.
req := client.EnableSsoRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso

func (*Client) GetDirectoryLimitsRequest added in v0.9.0

func (c *Client) GetDirectoryLimitsRequest(input *GetDirectoryLimitsInput) GetDirectoryLimitsRequest

GetDirectoryLimitsRequest returns a request value for making API operation for AWS Directory Service.

Obtains directory limit information for the current Region.

// Example sending a request using GetDirectoryLimitsRequest.
req := client.GetDirectoryLimitsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits

func (*Client) GetSnapshotLimitsRequest added in v0.9.0

func (c *Client) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInput) GetSnapshotLimitsRequest

GetSnapshotLimitsRequest returns a request value for making API operation for AWS Directory Service.

Obtains the manual snapshot limits for a directory.

// Example sending a request using GetSnapshotLimitsRequest.
req := client.GetSnapshotLimitsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits

func (*Client) ListCertificatesRequest added in v0.18.0

func (c *Client) ListCertificatesRequest(input *ListCertificatesInput) ListCertificatesRequest

ListCertificatesRequest returns a request value for making API operation for AWS Directory Service.

For the specified directory, lists all the certificates registered for a secured LDAP connection.

// Example sending a request using ListCertificatesRequest.
req := client.ListCertificatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListCertificates

func (*Client) ListIpRoutesRequest added in v0.9.0

func (c *Client) ListIpRoutesRequest(input *ListIpRoutesInput) ListIpRoutesRequest

ListIpRoutesRequest returns a request value for making API operation for AWS Directory Service.

Lists the address blocks that you have added to a directory.

// Example sending a request using ListIpRoutesRequest.
req := client.ListIpRoutesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes

func (*Client) ListLogSubscriptionsRequest added in v0.9.0

func (c *Client) ListLogSubscriptionsRequest(input *ListLogSubscriptionsInput) ListLogSubscriptionsRequest

ListLogSubscriptionsRequest returns a request value for making API operation for AWS Directory Service.

Lists the active log subscriptions for the AWS account.

// Example sending a request using ListLogSubscriptionsRequest.
req := client.ListLogSubscriptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListLogSubscriptions

func (*Client) ListSchemaExtensionsRequest added in v0.9.0

func (c *Client) ListSchemaExtensionsRequest(input *ListSchemaExtensionsInput) ListSchemaExtensionsRequest

ListSchemaExtensionsRequest returns a request value for making API operation for AWS Directory Service.

Lists all schema extensions applied to a Microsoft AD Directory.

// Example sending a request using ListSchemaExtensionsRequest.
req := client.ListSchemaExtensionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions

func (*Client) ListTagsForResourceRequest added in v0.9.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS Directory Service.

Lists all tags on a directory.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource

func (*Client) RegisterCertificateRequest added in v0.18.0

func (c *Client) RegisterCertificateRequest(input *RegisterCertificateInput) RegisterCertificateRequest

RegisterCertificateRequest returns a request value for making API operation for AWS Directory Service.

Registers a certificate for secured LDAP connection.

// Example sending a request using RegisterCertificateRequest.
req := client.RegisterCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificate

func (*Client) RegisterEventTopicRequest added in v0.9.0

func (c *Client) RegisterEventTopicRequest(input *RegisterEventTopicInput) RegisterEventTopicRequest

RegisterEventTopicRequest returns a request value for making API operation for AWS Directory Service.

Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.

// Example sending a request using RegisterEventTopicRequest.
req := client.RegisterEventTopicRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic

func (*Client) RejectSharedDirectoryRequest added in v0.9.0

func (c *Client) RejectSharedDirectoryRequest(input *RejectSharedDirectoryInput) RejectSharedDirectoryRequest

RejectSharedDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Rejects a directory sharing request that was sent from the directory owner account.

// Example sending a request using RejectSharedDirectoryRequest.
req := client.RejectSharedDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectory

func (*Client) RemoveIpRoutesRequest added in v0.9.0

func (c *Client) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) RemoveIpRoutesRequest

RemoveIpRoutesRequest returns a request value for making API operation for AWS Directory Service.

Removes IP address blocks from a directory.

// Example sending a request using RemoveIpRoutesRequest.
req := client.RemoveIpRoutesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes

func (*Client) RemoveTagsFromResourceRequest added in v0.9.0

func (c *Client) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) RemoveTagsFromResourceRequest

RemoveTagsFromResourceRequest returns a request value for making API operation for AWS Directory Service.

Removes tags from a directory.

// Example sending a request using RemoveTagsFromResourceRequest.
req := client.RemoveTagsFromResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource

func (*Client) ResetUserPasswordRequest added in v0.9.0

func (c *Client) ResetUserPasswordRequest(input *ResetUserPasswordInput) ResetUserPasswordRequest

ResetUserPasswordRequest returns a request value for making API operation for AWS Directory Service.

Resets the password for any user in your AWS Managed Microsoft AD or Simple AD directory.

You can reset the password for any user in your directory with the following exceptions:

  • For Simple AD, you cannot reset the password for any user that is a member of either the Domain Admins or Enterprise Admins group except for the administrator user.

  • For AWS Managed Microsoft AD, you can only reset the password for a user that is in an OU based off of the NetBIOS name that you typed when you created your directory. For example, you cannot reset the password for a user in the AWS Reserved OU. For more information about the OU structure for an AWS Managed Microsoft AD directory, see What Gets Created (https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_getting_started_what_gets_created.html) in the AWS Directory Service Administration Guide.

    // Example sending a request using ResetUserPasswordRequest. req := client.ResetUserPasswordRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPassword

func (*Client) RestoreFromSnapshotRequest added in v0.9.0

func (c *Client) RestoreFromSnapshotRequest(input *RestoreFromSnapshotInput) RestoreFromSnapshotRequest

RestoreFromSnapshotRequest returns a request value for making API operation for AWS Directory Service.

Restores a directory using an existing directory snapshot.

When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.

This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active, the restore operation is complete.

// Example sending a request using RestoreFromSnapshotRequest.
req := client.RestoreFromSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot

func (*Client) ShareDirectoryRequest added in v0.9.0

func (c *Client) ShareDirectoryRequest(input *ShareDirectoryInput) ShareDirectoryRequest

ShareDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Shares a specified directory (DirectoryId) in your AWS account (directory owner) with another AWS account (directory consumer). With this operation you can use your directory from any AWS account and from any Amazon VPC within an AWS Region.

When you share your AWS Managed Microsoft AD directory, AWS Directory Service creates a shared directory in the directory consumer account. This shared directory contains the metadata to provide access to the directory within the directory owner account. The shared directory is visible in all VPCs in the directory consumer account.

The ShareMethod parameter determines whether the specified directory can be shared between AWS accounts inside the same AWS organization (ORGANIZATIONS). It also determines whether you can share the directory with any other AWS account either inside or outside of the organization (HANDSHAKE).

The ShareNotes parameter is only used when HANDSHAKE is called, which sends a directory sharing request to the directory consumer.

// Example sending a request using ShareDirectoryRequest.
req := client.ShareDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectory

func (*Client) StartSchemaExtensionRequest added in v0.9.0

func (c *Client) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) StartSchemaExtensionRequest

StartSchemaExtensionRequest returns a request value for making API operation for AWS Directory Service.

Applies a schema extension to a Microsoft AD directory.

// Example sending a request using StartSchemaExtensionRequest.
req := client.StartSchemaExtensionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension

func (*Client) UnshareDirectoryRequest added in v0.9.0

func (c *Client) UnshareDirectoryRequest(input *UnshareDirectoryInput) UnshareDirectoryRequest

UnshareDirectoryRequest returns a request value for making API operation for AWS Directory Service.

Stops the directory sharing between the directory owner and consumer accounts.

// Example sending a request using UnshareDirectoryRequest.
req := client.UnshareDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectory

func (*Client) UpdateConditionalForwarderRequest added in v0.9.0

func (c *Client) UpdateConditionalForwarderRequest(input *UpdateConditionalForwarderInput) UpdateConditionalForwarderRequest

UpdateConditionalForwarderRequest returns a request value for making API operation for AWS Directory Service.

Updates a conditional forwarder that has been set up for your AWS directory.

// Example sending a request using UpdateConditionalForwarderRequest.
req := client.UpdateConditionalForwarderRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder

func (*Client) UpdateNumberOfDomainControllersRequest added in v0.9.0

func (c *Client) UpdateNumberOfDomainControllersRequest(input *UpdateNumberOfDomainControllersInput) UpdateNumberOfDomainControllersRequest

UpdateNumberOfDomainControllersRequest returns a request value for making API operation for AWS Directory Service.

Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.

// Example sending a request using UpdateNumberOfDomainControllersRequest.
req := client.UpdateNumberOfDomainControllersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers

func (*Client) UpdateRadiusRequest added in v0.9.0

func (c *Client) UpdateRadiusRequest(input *UpdateRadiusInput) UpdateRadiusRequest

UpdateRadiusRequest returns a request value for making API operation for AWS Directory Service.

Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector or Microsoft AD directory.

// Example sending a request using UpdateRadiusRequest.
req := client.UpdateRadiusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius

func (*Client) UpdateTrustRequest added in v0.9.0

func (c *Client) UpdateTrustRequest(input *UpdateTrustInput) UpdateTrustRequest

UpdateTrustRequest returns a request value for making API operation for AWS Directory Service.

Updates the trust that has been set up between your AWS Managed Microsoft AD directory and an on-premises Active Directory.

// Example sending a request using UpdateTrustRequest.
req := client.UpdateTrustRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateTrust

func (*Client) VerifyTrustRequest added in v0.9.0

func (c *Client) VerifyTrustRequest(input *VerifyTrustInput) VerifyTrustRequest

VerifyTrustRequest returns a request value for making API operation for AWS Directory Service.

AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.

This action verifies a trust relationship between your AWS Managed Microsoft AD directory and an external domain.

// Example sending a request using VerifyTrustRequest.
req := client.VerifyTrustRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust

type Computer

type Computer struct {

	// An array of Attribute objects containing the LDAP attributes that belong
	// to the computer account.
	ComputerAttributes []Attribute `type:"list"`

	// The identifier of the computer.
	ComputerId *string `min:"1" type:"string"`

	// The computer name.
	ComputerName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains information about a computer account in a directory.

func (Computer) String

func (s Computer) String() string

String returns the string representation

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 `type:"list"`

	// The fully qualified domain name (FQDN) of the remote domains pointed to by
	// the conditional forwarder.
	RemoteDomainName *string `type:"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 `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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.

func (ConditionalForwarder) String

func (s ConditionalForwarder) String() string

String returns the string representation

type ConnectDirectoryInput

type ConnectDirectoryInput struct {

	// A DirectoryConnectSettings object that contains additional information for
	// the operation.
	//
	// ConnectSettings is a required field
	ConnectSettings *DirectoryConnectSettings `type:"structure" required:"true"`

	// A description for the directory.
	Description *string `type:"string"`

	// The fully qualified name of the on-premises directory, such as corp.example.com.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The password for the on-premises user account.
	//
	// Password is a required field
	Password *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The NetBIOS name of the on-premises directory, such as CORP.
	ShortName *string `type:"string"`

	// The size of the directory.
	//
	// Size is a required field
	Size DirectorySize `type:"string" required:"true" enum:"true"`

	// The tags to be assigned to AD Connector.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Contains the inputs for the ConnectDirectory operation.

func (ConnectDirectoryInput) String

func (s ConnectDirectoryInput) String() string

String returns the string representation

func (*ConnectDirectoryInput) Validate

func (s *ConnectDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConnectDirectoryOutput

type ConnectDirectoryOutput struct {

	// The identifier of the new directory.
	DirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the ConnectDirectory operation.

func (ConnectDirectoryOutput) String

func (s ConnectDirectoryOutput) String() string

String returns the string representation

type ConnectDirectoryRequest

type ConnectDirectoryRequest struct {
	*aws.Request
	Input *ConnectDirectoryInput
	Copy  func(*ConnectDirectoryInput) ConnectDirectoryRequest
}

ConnectDirectoryRequest is the request type for the ConnectDirectory API operation.

func (ConnectDirectoryRequest) Send

Send marshals and sends the ConnectDirectory API request.

type ConnectDirectoryResponse added in v0.9.0

type ConnectDirectoryResponse struct {
	*ConnectDirectoryOutput
	// contains filtered or unexported fields
}

ConnectDirectoryResponse is the response type for the ConnectDirectory API operation.

func (*ConnectDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *ConnectDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ConnectDirectory request.

type CreateAliasInput

type CreateAliasInput struct {

	// The requested alias.
	//
	// The alias must be unique amongst all aliases in AWS. This operation throws
	// an EntityAlreadyExistsException error if the alias already exists.
	//
	// Alias is a required field
	Alias *string `min:"1" type:"string" required:"true"`

	// The identifier of the directory for which to create the alias.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the CreateAlias operation.

func (CreateAliasInput) String

func (s CreateAliasInput) String() string

String returns the string representation

func (*CreateAliasInput) Validate

func (s *CreateAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAliasOutput

type CreateAliasOutput struct {

	// The alias for the directory.
	Alias *string `min:"1" type:"string"`

	// The identifier of the directory.
	DirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the CreateAlias operation.

func (CreateAliasOutput) String

func (s CreateAliasOutput) String() string

String returns the string representation

type CreateAliasRequest

type CreateAliasRequest struct {
	*aws.Request
	Input *CreateAliasInput
	Copy  func(*CreateAliasInput) CreateAliasRequest
}

CreateAliasRequest is the request type for the CreateAlias API operation.

func (CreateAliasRequest) Send

Send marshals and sends the CreateAlias API request.

type CreateAliasResponse added in v0.9.0

type CreateAliasResponse struct {
	*CreateAliasOutput
	// contains filtered or unexported fields
}

CreateAliasResponse is the response type for the CreateAlias API operation.

func (*CreateAliasResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateAliasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateAlias request.

type CreateComputerInput

type CreateComputerInput struct {

	// An array of Attribute objects that contain any LDAP attributes to apply to
	// the computer account.
	ComputerAttributes []Attribute `type:"list"`

	// The name of the computer account.
	//
	// ComputerName is a required field
	ComputerName *string `min:"1" type:"string" required:"true"`

	// The identifier of the directory in which to create the computer account.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The fully-qualified distinguished name of the organizational unit to place
	// the computer account in.
	OrganizationalUnitDistinguishedName *string `min:"1" type:"string"`

	// A one-time password that is used to join the computer to the directory. You
	// should generate a random, strong password to use for this parameter.
	//
	// Password is a required field
	Password *string `min:"8" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the CreateComputer operation.

func (CreateComputerInput) String

func (s CreateComputerInput) String() string

String returns the string representation

func (*CreateComputerInput) Validate

func (s *CreateComputerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateComputerOutput

type CreateComputerOutput struct {

	// A Computer object that represents the computer account.
	Computer *Computer `type:"structure"`
	// contains filtered or unexported fields
}

Contains the results for the CreateComputer operation.

func (CreateComputerOutput) String

func (s CreateComputerOutput) String() string

String returns the string representation

type CreateComputerRequest

type CreateComputerRequest struct {
	*aws.Request
	Input *CreateComputerInput
	Copy  func(*CreateComputerInput) CreateComputerRequest
}

CreateComputerRequest is the request type for the CreateComputer API operation.

func (CreateComputerRequest) Send

Send marshals and sends the CreateComputer API request.

type CreateComputerResponse added in v0.9.0

type CreateComputerResponse struct {
	*CreateComputerOutput
	// contains filtered or unexported fields
}

CreateComputerResponse is the response type for the CreateComputer API operation.

func (*CreateComputerResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateComputerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateComputer request.

type CreateConditionalForwarderInput

type CreateConditionalForwarderInput struct {

	// The directory ID of the AWS directory for which you are creating the conditional
	// forwarder.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The IP addresses of the remote DNS server associated with RemoteDomainName.
	//
	// DnsIpAddrs is a required field
	DnsIpAddrs []string `type:"list" required:"true"`

	// The fully qualified domain name (FQDN) of the remote domain with which you
	// will set up a trust relationship.
	//
	// RemoteDomainName is a required field
	RemoteDomainName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Initiates the creation of a conditional forwarder for your AWS Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.

func (CreateConditionalForwarderInput) String

String returns the string representation

func (*CreateConditionalForwarderInput) Validate

func (s *CreateConditionalForwarderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateConditionalForwarderOutput

type CreateConditionalForwarderOutput struct {
	// contains filtered or unexported fields
}

The result of a CreateConditinalForwarder request.

func (CreateConditionalForwarderOutput) String

String returns the string representation

type CreateConditionalForwarderRequest

type CreateConditionalForwarderRequest struct {
	*aws.Request
	Input *CreateConditionalForwarderInput
	Copy  func(*CreateConditionalForwarderInput) CreateConditionalForwarderRequest
}

CreateConditionalForwarderRequest is the request type for the CreateConditionalForwarder API operation.

func (CreateConditionalForwarderRequest) Send

Send marshals and sends the CreateConditionalForwarder API request.

type CreateConditionalForwarderResponse added in v0.9.0

type CreateConditionalForwarderResponse struct {
	*CreateConditionalForwarderOutput
	// contains filtered or unexported fields
}

CreateConditionalForwarderResponse is the response type for the CreateConditionalForwarder API operation.

func (*CreateConditionalForwarderResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateConditionalForwarderResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateConditionalForwarder request.

type CreateDirectoryInput

type CreateDirectoryInput struct {

	// A description for the directory.
	Description *string `type:"string"`

	// The fully qualified name for the directory, such as corp.example.com.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The password for the directory administrator. The directory creation process
	// creates a directory administrator account with the user name Administrator
	// and this password.
	//
	// If you need to change the password for the administrator account, you can
	// use the ResetUserPassword API call.
	//
	// Password is a required field
	Password *string `type:"string" required:"true" sensitive:"true"`

	// The NetBIOS name of the directory, such as CORP.
	ShortName *string `type:"string"`

	// The size of the directory.
	//
	// Size is a required field
	Size DirectorySize `type:"string" required:"true" enum:"true"`

	// The tags to be assigned to the Simple AD directory.
	Tags []Tag `type:"list"`

	// A DirectoryVpcSettings object that contains additional information for the
	// operation.
	VpcSettings *DirectoryVpcSettings `type:"structure"`
	// contains filtered or unexported fields
}

Contains the inputs for the CreateDirectory operation.

func (CreateDirectoryInput) String

func (s CreateDirectoryInput) String() string

String returns the string representation

func (*CreateDirectoryInput) Validate

func (s *CreateDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDirectoryOutput

type CreateDirectoryOutput struct {

	// The identifier of the directory that was created.
	DirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the CreateDirectory operation.

func (CreateDirectoryOutput) String

func (s CreateDirectoryOutput) String() string

String returns the string representation

type CreateDirectoryRequest

type CreateDirectoryRequest struct {
	*aws.Request
	Input *CreateDirectoryInput
	Copy  func(*CreateDirectoryInput) CreateDirectoryRequest
}

CreateDirectoryRequest is the request type for the CreateDirectory API operation.

func (CreateDirectoryRequest) Send

Send marshals and sends the CreateDirectory API request.

type CreateDirectoryResponse added in v0.9.0

type CreateDirectoryResponse struct {
	*CreateDirectoryOutput
	// contains filtered or unexported fields
}

CreateDirectoryResponse is the response type for the CreateDirectory API operation.

func (*CreateDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDirectory request.

type CreateLogSubscriptionInput added in v0.5.0

type CreateLogSubscriptionInput struct {

	// Identifier of the directory to which you want to subscribe and receive real-time
	// logs to your specified CloudWatch log group.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The name of the CloudWatch log group where the real-time domain controller
	// logs are forwarded.
	//
	// LogGroupName is a required field
	LogGroupName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateLogSubscriptionInput) String added in v0.5.0

String returns the string representation

func (*CreateLogSubscriptionInput) Validate added in v0.5.0

func (s *CreateLogSubscriptionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateLogSubscriptionOutput added in v0.5.0

type CreateLogSubscriptionOutput struct {
	// contains filtered or unexported fields
}

func (CreateLogSubscriptionOutput) String added in v0.5.0

String returns the string representation

type CreateLogSubscriptionRequest added in v0.5.0

type CreateLogSubscriptionRequest struct {
	*aws.Request
	Input *CreateLogSubscriptionInput
	Copy  func(*CreateLogSubscriptionInput) CreateLogSubscriptionRequest
}

CreateLogSubscriptionRequest is the request type for the CreateLogSubscription API operation.

func (CreateLogSubscriptionRequest) Send added in v0.5.0

Send marshals and sends the CreateLogSubscription API request.

type CreateLogSubscriptionResponse added in v0.9.0

type CreateLogSubscriptionResponse struct {
	*CreateLogSubscriptionOutput
	// contains filtered or unexported fields
}

CreateLogSubscriptionResponse is the response type for the CreateLogSubscription API operation.

func (*CreateLogSubscriptionResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateLogSubscriptionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateLogSubscription request.

type CreateMicrosoftADInput

type CreateMicrosoftADInput struct {

	// A description for the directory. This label will appear on the AWS console
	// Directory Details page after the directory is created.
	Description *string `type:"string"`

	// AWS Managed Microsoft AD is available in two editions: Standard and Enterprise.
	// Enterprise is the default.
	Edition DirectoryEdition `type:"string" enum:"true"`

	// The fully qualified domain name for the AWS Managed Microsoft AD directory,
	// such as corp.example.com. This name will resolve inside your VPC only. It
	// does not need to be publicly resolvable.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The password for the default administrative user named Admin.
	//
	// If you need to change the password for the administrator account, you can
	// use the ResetUserPassword API call.
	//
	// Password is a required field
	Password *string `type:"string" required:"true" sensitive:"true"`

	// The NetBIOS name for your domain, such as CORP. If you don't specify a NetBIOS
	// name, it will default to the first part of your directory DNS. For example,
	// CORP for the directory DNS corp.example.com.
	ShortName *string `type:"string"`

	// The tags to be assigned to the AWS Managed Microsoft AD directory.
	Tags []Tag `type:"list"`

	// Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
	//
	// VpcSettings is a required field
	VpcSettings *DirectoryVpcSettings `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Creates an AWS Managed Microsoft AD directory.

func (CreateMicrosoftADInput) String

func (s CreateMicrosoftADInput) String() string

String returns the string representation

func (*CreateMicrosoftADInput) Validate

func (s *CreateMicrosoftADInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateMicrosoftADOutput

type CreateMicrosoftADOutput struct {

	// The identifier of the directory that was created.
	DirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

Result of a CreateMicrosoftAD request.

func (CreateMicrosoftADOutput) String

func (s CreateMicrosoftADOutput) String() string

String returns the string representation

type CreateMicrosoftADRequest

type CreateMicrosoftADRequest struct {
	*aws.Request
	Input *CreateMicrosoftADInput
	Copy  func(*CreateMicrosoftADInput) CreateMicrosoftADRequest
}

CreateMicrosoftADRequest is the request type for the CreateMicrosoftAD API operation.

func (CreateMicrosoftADRequest) Send

Send marshals and sends the CreateMicrosoftAD API request.

type CreateMicrosoftADResponse added in v0.9.0

type CreateMicrosoftADResponse struct {
	*CreateMicrosoftADOutput
	// contains filtered or unexported fields
}

CreateMicrosoftADResponse is the response type for the CreateMicrosoftAD API operation.

func (*CreateMicrosoftADResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateMicrosoftADResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateMicrosoftAD request.

type CreateSnapshotInput

type CreateSnapshotInput struct {

	// The identifier of the directory of which to take a snapshot.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The descriptive name to apply to the snapshot.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the inputs for the CreateSnapshot operation.

func (CreateSnapshotInput) String

func (s CreateSnapshotInput) String() string

String returns the string representation

func (*CreateSnapshotInput) Validate

func (s *CreateSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSnapshotOutput

type CreateSnapshotOutput struct {

	// The identifier of the snapshot that was created.
	SnapshotId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the CreateSnapshot operation.

func (CreateSnapshotOutput) String

func (s CreateSnapshotOutput) String() string

String returns the string representation

type CreateSnapshotRequest

type CreateSnapshotRequest struct {
	*aws.Request
	Input *CreateSnapshotInput
	Copy  func(*CreateSnapshotInput) CreateSnapshotRequest
}

CreateSnapshotRequest is the request type for the CreateSnapshot API operation.

func (CreateSnapshotRequest) Send

Send marshals and sends the CreateSnapshot API request.

type CreateSnapshotResponse added in v0.9.0

type CreateSnapshotResponse struct {
	*CreateSnapshotOutput
	// contains filtered or unexported fields
}

CreateSnapshotResponse is the response type for the CreateSnapshot API operation.

func (*CreateSnapshotResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateSnapshotResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateSnapshot request.

type CreateTrustInput

type CreateTrustInput struct {

	// The IP addresses of the remote DNS server associated with RemoteDomainName.
	ConditionalForwarderIpAddrs []string `type:"list"`

	// The Directory ID of the AWS Managed Microsoft AD directory for which to establish
	// the trust relationship.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The Fully Qualified Domain Name (FQDN) of the external domain for which to
	// create the trust relationship.
	//
	// RemoteDomainName is a required field
	RemoteDomainName *string `type:"string" required:"true"`

	// Optional parameter to enable selective authentication for the trust.
	SelectiveAuth SelectiveAuth `type:"string" enum:"true"`

	// The direction of the trust relationship.
	//
	// TrustDirection is a required field
	TrustDirection TrustDirection `type:"string" required:"true" enum:"true"`

	// The trust password. The must be the same password that was used when creating
	// the trust relationship on the external domain.
	//
	// TrustPassword is a required field
	TrustPassword *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The trust relationship type. Forest is the default.
	TrustType TrustType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your AWS Managed Microsoft AD directory, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.

This action initiates the creation of the AWS side of a trust relationship between an AWS Managed Microsoft AD directory and an external domain.

func (CreateTrustInput) String

func (s CreateTrustInput) String() string

String returns the string representation

func (*CreateTrustInput) Validate

func (s *CreateTrustInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTrustOutput

type CreateTrustOutput struct {

	// A unique identifier for the trust relationship that was created.
	TrustId *string `type:"string"`
	// contains filtered or unexported fields
}

The result of a CreateTrust request.

func (CreateTrustOutput) String

func (s CreateTrustOutput) String() string

String returns the string representation

type CreateTrustRequest

type CreateTrustRequest struct {
	*aws.Request
	Input *CreateTrustInput
	Copy  func(*CreateTrustInput) CreateTrustRequest
}

CreateTrustRequest is the request type for the CreateTrust API operation.

func (CreateTrustRequest) Send

Send marshals and sends the CreateTrust API request.

type CreateTrustResponse added in v0.9.0

type CreateTrustResponse struct {
	*CreateTrustOutput
	// contains filtered or unexported fields
}

CreateTrustResponse is the response type for the CreateTrust API operation.

func (*CreateTrustResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateTrustResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateTrust request.

type DeleteConditionalForwarderInput

type DeleteConditionalForwarderInput struct {

	// The directory ID for which you are deleting the conditional forwarder.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The fully qualified domain name (FQDN) of the remote domain with which you
	// are deleting the conditional forwarder.
	//
	// RemoteDomainName is a required field
	RemoteDomainName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Deletes a conditional forwarder.

func (DeleteConditionalForwarderInput) String

String returns the string representation

func (*DeleteConditionalForwarderInput) Validate

func (s *DeleteConditionalForwarderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteConditionalForwarderOutput

type DeleteConditionalForwarderOutput struct {
	// contains filtered or unexported fields
}

The result of a DeleteConditionalForwarder request.

func (DeleteConditionalForwarderOutput) String

String returns the string representation

type DeleteConditionalForwarderRequest

type DeleteConditionalForwarderRequest struct {
	*aws.Request
	Input *DeleteConditionalForwarderInput
	Copy  func(*DeleteConditionalForwarderInput) DeleteConditionalForwarderRequest
}

DeleteConditionalForwarderRequest is the request type for the DeleteConditionalForwarder API operation.

func (DeleteConditionalForwarderRequest) Send

Send marshals and sends the DeleteConditionalForwarder API request.

type DeleteConditionalForwarderResponse added in v0.9.0

type DeleteConditionalForwarderResponse struct {
	*DeleteConditionalForwarderOutput
	// contains filtered or unexported fields
}

DeleteConditionalForwarderResponse is the response type for the DeleteConditionalForwarder API operation.

func (*DeleteConditionalForwarderResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteConditionalForwarderResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteConditionalForwarder request.

type DeleteDirectoryInput

type DeleteDirectoryInput struct {

	// The identifier of the directory to delete.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the DeleteDirectory operation.

func (DeleteDirectoryInput) String

func (s DeleteDirectoryInput) String() string

String returns the string representation

func (*DeleteDirectoryInput) Validate

func (s *DeleteDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDirectoryOutput

type DeleteDirectoryOutput struct {

	// The directory identifier.
	DirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the DeleteDirectory operation.

func (DeleteDirectoryOutput) String

func (s DeleteDirectoryOutput) String() string

String returns the string representation

type DeleteDirectoryRequest

type DeleteDirectoryRequest struct {
	*aws.Request
	Input *DeleteDirectoryInput
	Copy  func(*DeleteDirectoryInput) DeleteDirectoryRequest
}

DeleteDirectoryRequest is the request type for the DeleteDirectory API operation.

func (DeleteDirectoryRequest) Send

Send marshals and sends the DeleteDirectory API request.

type DeleteDirectoryResponse added in v0.9.0

type DeleteDirectoryResponse struct {
	*DeleteDirectoryOutput
	// contains filtered or unexported fields
}

DeleteDirectoryResponse is the response type for the DeleteDirectory API operation.

func (*DeleteDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDirectory request.

type DeleteLogSubscriptionInput added in v0.5.0

type DeleteLogSubscriptionInput struct {

	// Identifier of the directory whose log subscription you want to delete.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLogSubscriptionInput) String added in v0.5.0

String returns the string representation

func (*DeleteLogSubscriptionInput) Validate added in v0.5.0

func (s *DeleteLogSubscriptionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteLogSubscriptionOutput added in v0.5.0

type DeleteLogSubscriptionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteLogSubscriptionOutput) String added in v0.5.0

String returns the string representation

type DeleteLogSubscriptionRequest added in v0.5.0

type DeleteLogSubscriptionRequest struct {
	*aws.Request
	Input *DeleteLogSubscriptionInput
	Copy  func(*DeleteLogSubscriptionInput) DeleteLogSubscriptionRequest
}

DeleteLogSubscriptionRequest is the request type for the DeleteLogSubscription API operation.

func (DeleteLogSubscriptionRequest) Send added in v0.5.0

Send marshals and sends the DeleteLogSubscription API request.

type DeleteLogSubscriptionResponse added in v0.9.0

type DeleteLogSubscriptionResponse struct {
	*DeleteLogSubscriptionOutput
	// contains filtered or unexported fields
}

DeleteLogSubscriptionResponse is the response type for the DeleteLogSubscription API operation.

func (*DeleteLogSubscriptionResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteLogSubscriptionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteLogSubscription request.

type DeleteSnapshotInput

type DeleteSnapshotInput struct {

	// The identifier of the directory snapshot to be deleted.
	//
	// SnapshotId is a required field
	SnapshotId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the DeleteSnapshot operation.

func (DeleteSnapshotInput) String

func (s DeleteSnapshotInput) String() string

String returns the string representation

func (*DeleteSnapshotInput) Validate

func (s *DeleteSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSnapshotOutput

type DeleteSnapshotOutput struct {

	// The identifier of the directory snapshot that was deleted.
	SnapshotId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the DeleteSnapshot operation.

func (DeleteSnapshotOutput) String

func (s DeleteSnapshotOutput) String() string

String returns the string representation

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {
	*aws.Request
	Input *DeleteSnapshotInput
	Copy  func(*DeleteSnapshotInput) DeleteSnapshotRequest
}

DeleteSnapshotRequest is the request type for the DeleteSnapshot API operation.

func (DeleteSnapshotRequest) Send

Send marshals and sends the DeleteSnapshot API request.

type DeleteSnapshotResponse added in v0.9.0

type DeleteSnapshotResponse struct {
	*DeleteSnapshotOutput
	// contains filtered or unexported fields
}

DeleteSnapshotResponse is the response type for the DeleteSnapshot API operation.

func (*DeleteSnapshotResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteSnapshotResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteSnapshot request.

type DeleteTrustInput

type DeleteTrustInput struct {

	// Delete a conditional forwarder as part of a DeleteTrustRequest.
	DeleteAssociatedConditionalForwarder *bool `type:"boolean"`

	// The Trust ID of the trust relationship to be deleted.
	//
	// TrustId is a required field
	TrustId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Deletes the local side of an existing trust relationship between the AWS Managed Microsoft AD directory and the external domain.

func (DeleteTrustInput) String

func (s DeleteTrustInput) String() string

String returns the string representation

func (*DeleteTrustInput) Validate

func (s *DeleteTrustInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTrustOutput

type DeleteTrustOutput struct {

	// The Trust ID of the trust relationship that was deleted.
	TrustId *string `type:"string"`
	// contains filtered or unexported fields
}

The result of a DeleteTrust request.

func (DeleteTrustOutput) String

func (s DeleteTrustOutput) String() string

String returns the string representation

type DeleteTrustRequest

type DeleteTrustRequest struct {
	*aws.Request
	Input *DeleteTrustInput
	Copy  func(*DeleteTrustInput) DeleteTrustRequest
}

DeleteTrustRequest is the request type for the DeleteTrust API operation.

func (DeleteTrustRequest) Send

Send marshals and sends the DeleteTrust API request.

type DeleteTrustResponse added in v0.9.0

type DeleteTrustResponse struct {
	*DeleteTrustOutput
	// contains filtered or unexported fields
}

DeleteTrustResponse is the response type for the DeleteTrust API operation.

func (*DeleteTrustResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteTrustResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteTrust request.

type DeregisterCertificateInput added in v0.18.0

type DeregisterCertificateInput struct {

	// The identifier of the certificate.
	//
	// CertificateId is a required field
	CertificateId *string `type:"string" required:"true"`

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterCertificateInput) String added in v0.18.0

String returns the string representation

func (*DeregisterCertificateInput) Validate added in v0.18.0

func (s *DeregisterCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterCertificateOutput added in v0.18.0

type DeregisterCertificateOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterCertificateOutput) String added in v0.18.0

String returns the string representation

type DeregisterCertificateRequest added in v0.18.0

type DeregisterCertificateRequest struct {
	*aws.Request
	Input *DeregisterCertificateInput
	Copy  func(*DeregisterCertificateInput) DeregisterCertificateRequest
}

DeregisterCertificateRequest is the request type for the DeregisterCertificate API operation.

func (DeregisterCertificateRequest) Send added in v0.18.0

Send marshals and sends the DeregisterCertificate API request.

type DeregisterCertificateResponse added in v0.18.0

type DeregisterCertificateResponse struct {
	*DeregisterCertificateOutput
	// contains filtered or unexported fields
}

DeregisterCertificateResponse is the response type for the DeregisterCertificate API operation.

func (*DeregisterCertificateResponse) SDKResponseMetdata added in v0.18.0

func (r *DeregisterCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterCertificate request.

type DeregisterEventTopicInput

type DeregisterEventTopicInput struct {

	// The Directory ID to remove as a publisher. This directory will no longer
	// send messages to the specified SNS topic.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The name of the SNS topic from which to remove the directory as a publisher.
	//
	// TopicName is a required field
	TopicName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Removes the specified directory as a publisher to the specified SNS topic.

func (DeregisterEventTopicInput) String

func (s DeregisterEventTopicInput) String() string

String returns the string representation

func (*DeregisterEventTopicInput) Validate

func (s *DeregisterEventTopicInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterEventTopicOutput

type DeregisterEventTopicOutput struct {
	// contains filtered or unexported fields
}

The result of a DeregisterEventTopic request.

func (DeregisterEventTopicOutput) String

String returns the string representation

type DeregisterEventTopicRequest

type DeregisterEventTopicRequest struct {
	*aws.Request
	Input *DeregisterEventTopicInput
	Copy  func(*DeregisterEventTopicInput) DeregisterEventTopicRequest
}

DeregisterEventTopicRequest is the request type for the DeregisterEventTopic API operation.

func (DeregisterEventTopicRequest) Send

Send marshals and sends the DeregisterEventTopic API request.

type DeregisterEventTopicResponse added in v0.9.0

type DeregisterEventTopicResponse struct {
	*DeregisterEventTopicOutput
	// contains filtered or unexported fields
}

DeregisterEventTopicResponse is the response type for the DeregisterEventTopic API operation.

func (*DeregisterEventTopicResponse) SDKResponseMetdata added in v0.9.0

func (r *DeregisterEventTopicResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterEventTopic request.

type DescribeCertificateInput added in v0.18.0

type DescribeCertificateInput struct {

	// The identifier of the certificate.
	//
	// CertificateId is a required field
	CertificateId *string `type:"string" required:"true"`

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeCertificateInput) String added in v0.18.0

func (s DescribeCertificateInput) String() string

String returns the string representation

func (*DescribeCertificateInput) Validate added in v0.18.0

func (s *DescribeCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCertificateOutput added in v0.18.0

type DescribeCertificateOutput struct {

	// Information about the certificate, including registered date time, certificate
	// state, the reason for the state, expiration date time, and certificate common
	// name.
	Certificate *Certificate `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCertificateOutput) String added in v0.18.0

func (s DescribeCertificateOutput) String() string

String returns the string representation

type DescribeCertificateRequest added in v0.18.0

type DescribeCertificateRequest struct {
	*aws.Request
	Input *DescribeCertificateInput
	Copy  func(*DescribeCertificateInput) DescribeCertificateRequest
}

DescribeCertificateRequest is the request type for the DescribeCertificate API operation.

func (DescribeCertificateRequest) Send added in v0.18.0

Send marshals and sends the DescribeCertificate API request.

type DescribeCertificateResponse added in v0.18.0

type DescribeCertificateResponse struct {
	*DescribeCertificateOutput
	// contains filtered or unexported fields
}

DescribeCertificateResponse is the response type for the DescribeCertificate API operation.

func (*DescribeCertificateResponse) SDKResponseMetdata added in v0.18.0

func (r *DescribeCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeCertificate request.

type DescribeConditionalForwardersInput

type DescribeConditionalForwardersInput struct {

	// The directory ID for which to get the list of associated conditional forwarders.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The fully qualified domain names (FQDN) of the remote domains for which to
	// get the list of associated conditional forwarders. If this member is null,
	// all conditional forwarders are returned.
	RemoteDomainNames []string `type:"list"`
	// contains filtered or unexported fields
}

Describes a conditional forwarder.

func (DescribeConditionalForwardersInput) String

String returns the string representation

func (*DescribeConditionalForwardersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeConditionalForwardersOutput

type DescribeConditionalForwardersOutput struct {

	// The list of conditional forwarders that have been created.
	ConditionalForwarders []ConditionalForwarder `type:"list"`
	// contains filtered or unexported fields
}

The result of a DescribeConditionalForwarder request.

func (DescribeConditionalForwardersOutput) String

String returns the string representation

type DescribeConditionalForwardersRequest

type DescribeConditionalForwardersRequest struct {
	*aws.Request
	Input *DescribeConditionalForwardersInput
	Copy  func(*DescribeConditionalForwardersInput) DescribeConditionalForwardersRequest
}

DescribeConditionalForwardersRequest is the request type for the DescribeConditionalForwarders API operation.

func (DescribeConditionalForwardersRequest) Send

Send marshals and sends the DescribeConditionalForwarders API request.

type DescribeConditionalForwardersResponse added in v0.9.0

type DescribeConditionalForwardersResponse struct {
	*DescribeConditionalForwardersOutput
	// contains filtered or unexported fields
}

DescribeConditionalForwardersResponse is the response type for the DescribeConditionalForwarders API operation.

func (*DescribeConditionalForwardersResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeConditionalForwardersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeConditionalForwarders request.

type DescribeDirectoriesInput

type DescribeDirectoriesInput struct {

	// A list of identifiers of the directories for which to obtain the information.
	// If this member is null, all directories that belong to the current account
	// are returned.
	//
	// An empty list results in an InvalidParameterException being thrown.
	DirectoryIds []string `type:"list"`

	// The maximum number of items to return. If this value is zero, the maximum
	// number of items is specified by the limitations of the operation.
	Limit *int64 `type:"integer"`

	// The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories.
	// Pass null if this is the first call.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the inputs for the DescribeDirectories operation.

func (DescribeDirectoriesInput) String

func (s DescribeDirectoriesInput) String() string

String returns the string representation

type DescribeDirectoriesOutput

type DescribeDirectoriesOutput struct {

	// The list of DirectoryDescription objects that were retrieved.
	//
	// It is possible that this list contains less than the number of items specified
	// in the Limit member of the request. This occurs if there are less than the
	// requested number of items left to retrieve, or if the limitations of the
	// operation have been exceeded.
	DirectoryDescriptions []DirectoryDescription `type:"list"`

	// If not null, more results are available. Pass this value for the NextToken
	// parameter in a subsequent call to DescribeDirectories to retrieve the next
	// set of items.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the results of the DescribeDirectories operation.

func (DescribeDirectoriesOutput) String

func (s DescribeDirectoriesOutput) String() string

String returns the string representation

type DescribeDirectoriesRequest

type DescribeDirectoriesRequest struct {
	*aws.Request
	Input *DescribeDirectoriesInput
	Copy  func(*DescribeDirectoriesInput) DescribeDirectoriesRequest
}

DescribeDirectoriesRequest is the request type for the DescribeDirectories API operation.

func (DescribeDirectoriesRequest) Send

Send marshals and sends the DescribeDirectories API request.

type DescribeDirectoriesResponse added in v0.9.0

type DescribeDirectoriesResponse struct {
	*DescribeDirectoriesOutput
	// contains filtered or unexported fields
}

DescribeDirectoriesResponse is the response type for the DescribeDirectories API operation.

func (*DescribeDirectoriesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeDirectoriesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeDirectories request.

type DescribeDomainControllersInput

type DescribeDomainControllersInput struct {

	// Identifier of the directory for which to retrieve the domain controller information.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// A list of identifiers for the domain controllers whose information will be
	// provided.
	DomainControllerIds []string `type:"list"`

	// The maximum number of items to return.
	Limit *int64 `type:"integer"`

	// The DescribeDomainControllers.NextToken value from a previous call to DescribeDomainControllers.
	// Pass null if this is the first call.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDomainControllersInput) String

String returns the string representation

func (*DescribeDomainControllersInput) Validate

func (s *DescribeDomainControllersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDomainControllersOutput

type DescribeDomainControllersOutput struct {

	// List of the DomainController objects that were retrieved.
	DomainControllers []DomainController `type:"list"`

	// If not null, more results are available. Pass this value for the NextToken
	// parameter in a subsequent call to DescribeDomainControllers retrieve the
	// next set of items.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDomainControllersOutput) String

String returns the string representation

type DescribeDomainControllersPaginator added in v0.9.0

type DescribeDomainControllersPaginator struct {
	aws.Pager
}

DescribeDomainControllersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeDomainControllersPaginator added in v0.9.0

func NewDescribeDomainControllersPaginator(req DescribeDomainControllersRequest) DescribeDomainControllersPaginator

NewDescribeDomainControllersRequestPaginator returns a paginator for DescribeDomainControllers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeDomainControllersRequest(input)
p := directoryservice.NewDescribeDomainControllersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeDomainControllersPaginator) CurrentPage added in v0.9.0

type DescribeDomainControllersRequest

type DescribeDomainControllersRequest struct {
	*aws.Request
	Input *DescribeDomainControllersInput
	Copy  func(*DescribeDomainControllersInput) DescribeDomainControllersRequest
}

DescribeDomainControllersRequest is the request type for the DescribeDomainControllers API operation.

func (DescribeDomainControllersRequest) Send

Send marshals and sends the DescribeDomainControllers API request.

type DescribeDomainControllersResponse added in v0.9.0

type DescribeDomainControllersResponse struct {
	*DescribeDomainControllersOutput
	// contains filtered or unexported fields
}

DescribeDomainControllersResponse is the response type for the DescribeDomainControllers API operation.

func (*DescribeDomainControllersResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeDomainControllersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeDomainControllers request.

type DescribeEventTopicsInput

type DescribeEventTopicsInput struct {

	// The Directory ID for which to get the list of associated SNS topics. If this
	// member is null, associations for all Directory IDs are returned.
	DirectoryId *string `type:"string"`

	// A list of SNS topic names for which to obtain the information. If this member
	// is null, all associations for the specified Directory ID are returned.
	//
	// An empty list results in an InvalidParameterException being thrown.
	TopicNames []string `type:"list"`
	// contains filtered or unexported fields
}

Describes event topics.

func (DescribeEventTopicsInput) String

func (s DescribeEventTopicsInput) String() string

String returns the string representation

type DescribeEventTopicsOutput

type DescribeEventTopicsOutput struct {

	// A list of SNS topic names that receive status messages from the specified
	// Directory ID.
	EventTopics []EventTopic `type:"list"`
	// contains filtered or unexported fields
}

The result of a DescribeEventTopic request.

func (DescribeEventTopicsOutput) String

func (s DescribeEventTopicsOutput) String() string

String returns the string representation

type DescribeEventTopicsRequest

type DescribeEventTopicsRequest struct {
	*aws.Request
	Input *DescribeEventTopicsInput
	Copy  func(*DescribeEventTopicsInput) DescribeEventTopicsRequest
}

DescribeEventTopicsRequest is the request type for the DescribeEventTopics API operation.

func (DescribeEventTopicsRequest) Send

Send marshals and sends the DescribeEventTopics API request.

type DescribeEventTopicsResponse added in v0.9.0

type DescribeEventTopicsResponse struct {
	*DescribeEventTopicsOutput
	// contains filtered or unexported fields
}

DescribeEventTopicsResponse is the response type for the DescribeEventTopics API operation.

func (*DescribeEventTopicsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeEventTopicsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeEventTopics request.

type DescribeLDAPSSettingsInput added in v0.18.0

type DescribeLDAPSSettingsInput struct {

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// Specifies the number of items that should be displayed on one page.
	Limit *int64 `min:"1" type:"integer"`

	// The type of next token used for pagination.
	NextToken *string `type:"string"`

	// The type of LDAP security to enable. Currently only the value Client is supported.
	Type LDAPSType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeLDAPSSettingsInput) String added in v0.18.0

String returns the string representation

func (*DescribeLDAPSSettingsInput) Validate added in v0.18.0

func (s *DescribeLDAPSSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeLDAPSSettingsOutput added in v0.18.0

type DescribeLDAPSSettingsOutput struct {

	// Information about LDAP security for the specified directory, including status
	// of enablement, state last updated date time, and the reason for the state.
	LDAPSSettingsInfo []LDAPSSettingInfo `type:"list"`

	// The next token used to retrieve the LDAPS settings if the number of setting
	// types exceeds page limit and there is another page.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeLDAPSSettingsOutput) String added in v0.18.0

String returns the string representation

type DescribeLDAPSSettingsRequest added in v0.18.0

type DescribeLDAPSSettingsRequest struct {
	*aws.Request
	Input *DescribeLDAPSSettingsInput
	Copy  func(*DescribeLDAPSSettingsInput) DescribeLDAPSSettingsRequest
}

DescribeLDAPSSettingsRequest is the request type for the DescribeLDAPSSettings API operation.

func (DescribeLDAPSSettingsRequest) Send added in v0.18.0

Send marshals and sends the DescribeLDAPSSettings API request.

type DescribeLDAPSSettingsResponse added in v0.18.0

type DescribeLDAPSSettingsResponse struct {
	*DescribeLDAPSSettingsOutput
	// contains filtered or unexported fields
}

DescribeLDAPSSettingsResponse is the response type for the DescribeLDAPSSettings API operation.

func (*DescribeLDAPSSettingsResponse) SDKResponseMetdata added in v0.18.0

func (r *DescribeLDAPSSettingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeLDAPSSettings request.

type DescribeSharedDirectoriesInput added in v0.5.0

type DescribeSharedDirectoriesInput struct {

	// The number of shared directories to return in the response object.
	Limit *int64 `type:"integer"`

	// The DescribeSharedDirectoriesResult.NextToken value from a previous call
	// to DescribeSharedDirectories. Pass null if this is the first call.
	NextToken *string `type:"string"`

	// Returns the identifier of the directory in the directory owner account.
	//
	// OwnerDirectoryId is a required field
	OwnerDirectoryId *string `type:"string" required:"true"`

	// A list of identifiers of all shared directories in your account.
	SharedDirectoryIds []string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSharedDirectoriesInput) String added in v0.5.0

String returns the string representation

func (*DescribeSharedDirectoriesInput) Validate added in v0.5.0

func (s *DescribeSharedDirectoriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSharedDirectoriesOutput added in v0.5.0

type DescribeSharedDirectoriesOutput struct {

	// If not null, token that indicates that more results are available. Pass this
	// value for the NextToken parameter in a subsequent call to DescribeSharedDirectories
	// to retrieve the next set of items.
	NextToken *string `type:"string"`

	// A list of all shared directories in your account.
	SharedDirectories []SharedDirectory `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSharedDirectoriesOutput) String added in v0.5.0

String returns the string representation

type DescribeSharedDirectoriesRequest added in v0.5.0

type DescribeSharedDirectoriesRequest struct {
	*aws.Request
	Input *DescribeSharedDirectoriesInput
	Copy  func(*DescribeSharedDirectoriesInput) DescribeSharedDirectoriesRequest
}

DescribeSharedDirectoriesRequest is the request type for the DescribeSharedDirectories API operation.

func (DescribeSharedDirectoriesRequest) Send added in v0.5.0

Send marshals and sends the DescribeSharedDirectories API request.

type DescribeSharedDirectoriesResponse added in v0.9.0

type DescribeSharedDirectoriesResponse struct {
	*DescribeSharedDirectoriesOutput
	// contains filtered or unexported fields
}

DescribeSharedDirectoriesResponse is the response type for the DescribeSharedDirectories API operation.

func (*DescribeSharedDirectoriesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeSharedDirectoriesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSharedDirectories request.

type DescribeSnapshotsInput

type DescribeSnapshotsInput struct {

	// The identifier of the directory for which to retrieve snapshot information.
	DirectoryId *string `type:"string"`

	// The maximum number of objects to return.
	Limit *int64 `type:"integer"`

	// The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots.
	// Pass null if this is the first call.
	NextToken *string `type:"string"`

	// A list of identifiers of the snapshots to obtain the information for. If
	// this member is null or empty, all snapshots are returned using the Limit
	// and NextToken members.
	SnapshotIds []string `type:"list"`
	// contains filtered or unexported fields
}

Contains the inputs for the DescribeSnapshots operation.

func (DescribeSnapshotsInput) String

func (s DescribeSnapshotsInput) String() string

String returns the string representation

type DescribeSnapshotsOutput

type DescribeSnapshotsOutput struct {

	// If not null, more results are available. Pass this value in the NextToken
	// member of a subsequent call to DescribeSnapshots.
	NextToken *string `type:"string"`

	// The list of Snapshot objects that were retrieved.
	//
	// It is possible that this list contains less than the number of items specified
	// in the Limit member of the request. This occurs if there are less than the
	// requested number of items left to retrieve, or if the limitations of the
	// operation have been exceeded.
	Snapshots []Snapshot `type:"list"`
	// contains filtered or unexported fields
}

Contains the results of the DescribeSnapshots operation.

func (DescribeSnapshotsOutput) String

func (s DescribeSnapshotsOutput) String() string

String returns the string representation

type DescribeSnapshotsRequest

type DescribeSnapshotsRequest struct {
	*aws.Request
	Input *DescribeSnapshotsInput
	Copy  func(*DescribeSnapshotsInput) DescribeSnapshotsRequest
}

DescribeSnapshotsRequest is the request type for the DescribeSnapshots API operation.

func (DescribeSnapshotsRequest) Send

Send marshals and sends the DescribeSnapshots API request.

type DescribeSnapshotsResponse added in v0.9.0

type DescribeSnapshotsResponse struct {
	*DescribeSnapshotsOutput
	// contains filtered or unexported fields
}

DescribeSnapshotsResponse is the response type for the DescribeSnapshots API operation.

func (*DescribeSnapshotsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeSnapshotsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSnapshots request.

type DescribeTrustsInput

type DescribeTrustsInput struct {

	// The Directory ID of the AWS directory that is a part of the requested trust
	// relationship.
	DirectoryId *string `type:"string"`

	// The maximum number of objects to return.
	Limit *int64 `type:"integer"`

	// The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.
	// Pass null if this is the first call.
	NextToken *string `type:"string"`

	// A list of identifiers of the trust relationships for which to obtain the
	// information. If this member is null, all trust relationships that belong
	// to the current account are returned.
	//
	// An empty list results in an InvalidParameterException being thrown.
	TrustIds []string `type:"list"`
	// contains filtered or unexported fields
}

Describes the trust relationships for a particular AWS Managed Microsoft AD directory. If no input parameters are are provided, such as directory ID or trust ID, this request describes all the trust relationships.

func (DescribeTrustsInput) String

func (s DescribeTrustsInput) String() string

String returns the string representation

type DescribeTrustsOutput

type DescribeTrustsOutput struct {

	// If not null, more results are available. Pass this value for the NextToken
	// parameter in a subsequent call to DescribeTrusts to retrieve the next set
	// of items.
	NextToken *string `type:"string"`

	// The list of Trust objects that were retrieved.
	//
	// It is possible that this list contains less than the number of items specified
	// in the Limit member of the request. This occurs if there are less than the
	// requested number of items left to retrieve, or if the limitations of the
	// operation have been exceeded.
	Trusts []Trust `type:"list"`
	// contains filtered or unexported fields
}

The result of a DescribeTrust request.

func (DescribeTrustsOutput) String

func (s DescribeTrustsOutput) String() string

String returns the string representation

type DescribeTrustsRequest

type DescribeTrustsRequest struct {
	*aws.Request
	Input *DescribeTrustsInput
	Copy  func(*DescribeTrustsInput) DescribeTrustsRequest
}

DescribeTrustsRequest is the request type for the DescribeTrusts API operation.

func (DescribeTrustsRequest) Send

Send marshals and sends the DescribeTrusts API request.

type DescribeTrustsResponse added in v0.9.0

type DescribeTrustsResponse struct {
	*DescribeTrustsOutput
	// contains filtered or unexported fields
}

DescribeTrustsResponse is the response type for the DescribeTrusts API operation.

func (*DescribeTrustsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeTrustsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeTrusts request.

type DirectoryConnectSettings

type DirectoryConnectSettings struct {

	// A list of one or more IP addresses of DNS servers or domain controllers in
	// the on-premises directory.
	//
	// CustomerDnsIps is a required field
	CustomerDnsIps []string `type:"list" required:"true"`

	// 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
	//
	// CustomerUserName is a required field
	CustomerUserName *string `min:"1" type:"string" required:"true"`

	// A list of subnet identifiers in the VPC in which the AD Connector is created.
	//
	// SubnetIds is a required field
	SubnetIds []string `type:"list" required:"true"`

	// The identifier of the VPC in which the AD Connector is created.
	//
	// VpcId is a required field
	VpcId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (DirectoryConnectSettings) String

func (s DirectoryConnectSettings) String() string

String returns the string representation

func (*DirectoryConnectSettings) Validate

func (s *DirectoryConnectSettings) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DirectoryConnectSettingsDescription

type DirectoryConnectSettingsDescription struct {

	// A list of the Availability Zones that the directory is in.
	AvailabilityZones []string `type:"list"`

	// The IP addresses of the AD Connector servers.
	ConnectIps []string `type:"list"`

	// The user name of the service account in the on-premises directory.
	CustomerUserName *string `min:"1" type:"string"`

	// The security group identifier for the AD Connector directory.
	SecurityGroupId *string `type:"string"`

	// A list of subnet identifiers in the VPC that the AD Connector is in.
	SubnetIds []string `type:"list"`

	// The identifier of the VPC that the AD Connector is in.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains information about an AD Connector directory.

func (DirectoryConnectSettingsDescription) String

String returns the string representation

type DirectoryDescription

type DirectoryDescription struct {

	// The access URL for the directory, such as http://<alias>.awsapps.com. If
	// no alias has been created for the directory, <alias> is the directory identifier,
	// such as d-XXXXXXXXXX.
	AccessUrl *string `min:"1" type:"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 `min:"1" type:"string"`

	// 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 `type:"structure"`

	// The description for the directory.
	Description *string `type:"string"`

	// The desired number of domain controllers in the directory if the directory
	// is Microsoft AD.
	DesiredNumberOfDomainControllers *int64 `min:"2" type:"integer"`

	// The directory identifier.
	DirectoryId *string `type:"string"`

	// 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 `type:"list"`

	// The edition associated with this directory.
	Edition DirectoryEdition `type:"string" enum:"true"`

	// Specifies when the directory was created.
	LaunchTime *time.Time `type:"timestamp"`

	// The fully qualified name of the directory.
	Name *string `type:"string"`

	// Describes the AWS Managed Microsoft AD directory in the directory owner account.
	OwnerDirectoryDescription *OwnerDirectoryDescription `type:"structure"`

	// A RadiusSettings object that contains information about the RADIUS server
	// configured for this directory.
	RadiusSettings *RadiusSettings `type:"structure"`

	// The status of the RADIUS MFA server connection.
	RadiusStatus RadiusStatus `type:"string" enum:"true"`

	// 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 `type:"string" enum:"true"`

	// 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 `type:"string" sensitive:"true"`

	// Current directory status of the shared AWS Managed Microsoft AD directory.
	ShareStatus ShareStatus `type:"string" enum:"true"`

	// The short name of the directory.
	ShortName *string `type:"string"`

	// The directory size.
	Size DirectorySize `type:"string" enum:"true"`

	// Indicates if single sign-on is enabled for the directory. For more information,
	// see EnableSso and DisableSso.
	SsoEnabled *bool `type:"boolean"`

	// The current stage of the directory.
	Stage DirectoryStage `type:"string" enum:"true"`

	// The date and time that the stage was last updated.
	StageLastUpdatedDateTime *time.Time `type:"timestamp"`

	// Additional information about the directory stage.
	StageReason *string `type:"string"`

	// The directory size.
	Type DirectoryType `type:"string" enum:"true"`

	// 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 `type:"structure"`
	// contains filtered or unexported fields
}

Contains information about an AWS Directory Service directory.

func (DirectoryDescription) String

func (s DirectoryDescription) String() string

String returns the string representation

type DirectoryEdition added in v0.2.0

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

Enum values for DirectoryEdition

func (DirectoryEdition) MarshalValue added in v0.3.0

func (enum DirectoryEdition) MarshalValue() (string, error)

func (DirectoryEdition) MarshalValueBuf added in v0.3.0

func (enum DirectoryEdition) MarshalValueBuf(b []byte) ([]byte, error)

type DirectoryLimits

type DirectoryLimits struct {

	// The current number of cloud directories in the Region.
	CloudOnlyDirectoriesCurrentCount *int64 `type:"integer"`

	// The maximum number of cloud directories allowed in the Region.
	CloudOnlyDirectoriesLimit *int64 `type:"integer"`

	// Indicates if the cloud directory limit has been reached.
	CloudOnlyDirectoriesLimitReached *bool `type:"boolean"`

	// The current number of AWS Managed Microsoft AD directories in the region.
	CloudOnlyMicrosoftADCurrentCount *int64 `type:"integer"`

	// The maximum number of AWS Managed Microsoft AD directories allowed in the
	// region.
	CloudOnlyMicrosoftADLimit *int64 `type:"integer"`

	// Indicates if the AWS Managed Microsoft AD directory limit has been reached.
	CloudOnlyMicrosoftADLimitReached *bool `type:"boolean"`

	// The current number of connected directories in the Region.
	ConnectedDirectoriesCurrentCount *int64 `type:"integer"`

	// The maximum number of connected directories allowed in the Region.
	ConnectedDirectoriesLimit *int64 `type:"integer"`

	// Indicates if the connected directory limit has been reached.
	ConnectedDirectoriesLimitReached *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Contains directory limit information for a Region.

func (DirectoryLimits) String

func (s DirectoryLimits) String() string

String returns the string representation

type DirectorySize

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

Enum values for DirectorySize

func (DirectorySize) MarshalValue added in v0.3.0

func (enum DirectorySize) MarshalValue() (string, error)

func (DirectorySize) MarshalValueBuf added in v0.3.0

func (enum DirectorySize) MarshalValueBuf(b []byte) ([]byte, error)

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

func (DirectoryStage) MarshalValue added in v0.3.0

func (enum DirectoryStage) MarshalValue() (string, error)

func (DirectoryStage) MarshalValueBuf added in v0.3.0

func (enum DirectoryStage) MarshalValueBuf(b []byte) ([]byte, error)

type DirectoryType

type DirectoryType string
const (
	DirectoryTypeSimpleAd          DirectoryType = "SimpleAD"
	DirectoryTypeAdconnector       DirectoryType = "ADConnector"
	DirectoryTypeMicrosoftAd       DirectoryType = "MicrosoftAD"
	DirectoryTypeSharedMicrosoftAd DirectoryType = "SharedMicrosoftAD"
)

Enum values for DirectoryType

func (DirectoryType) MarshalValue added in v0.3.0

func (enum DirectoryType) MarshalValue() (string, error)

func (DirectoryType) MarshalValueBuf added in v0.3.0

func (enum DirectoryType) MarshalValueBuf(b []byte) ([]byte, error)

type DirectoryVpcSettings

type DirectoryVpcSettings struct {

	// 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.
	//
	// SubnetIds is a required field
	SubnetIds []string `type:"list" required:"true"`

	// The identifier of the VPC in which to create the directory.
	//
	// VpcId is a required field
	VpcId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

func (DirectoryVpcSettings) String

func (s DirectoryVpcSettings) String() string

String returns the string representation

func (*DirectoryVpcSettings) Validate

func (s *DirectoryVpcSettings) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DirectoryVpcSettingsDescription

type DirectoryVpcSettingsDescription struct {

	// The list of Availability Zones that the directory is in.
	AvailabilityZones []string `type:"list"`

	// The domain controller security group identifier for the directory.
	SecurityGroupId *string `type:"string"`

	// The identifiers of the subnets for the directory servers.
	SubnetIds []string `type:"list"`

	// The identifier of the VPC that the directory is in.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains information about the directory.

func (DirectoryVpcSettingsDescription) String

String returns the string representation

type DisableLDAPSInput added in v0.18.0

type DisableLDAPSInput struct {

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The type of LDAP security to enable. Currently only the value Client is supported.
	//
	// Type is a required field
	Type LDAPSType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (DisableLDAPSInput) String added in v0.18.0

func (s DisableLDAPSInput) String() string

String returns the string representation

func (*DisableLDAPSInput) Validate added in v0.18.0

func (s *DisableLDAPSInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableLDAPSOutput added in v0.18.0

type DisableLDAPSOutput struct {
	// contains filtered or unexported fields
}

func (DisableLDAPSOutput) String added in v0.18.0

func (s DisableLDAPSOutput) String() string

String returns the string representation

type DisableLDAPSRequest added in v0.18.0

type DisableLDAPSRequest struct {
	*aws.Request
	Input *DisableLDAPSInput
	Copy  func(*DisableLDAPSInput) DisableLDAPSRequest
}

DisableLDAPSRequest is the request type for the DisableLDAPS API operation.

func (DisableLDAPSRequest) Send added in v0.18.0

Send marshals and sends the DisableLDAPS API request.

type DisableLDAPSResponse added in v0.18.0

type DisableLDAPSResponse struct {
	*DisableLDAPSOutput
	// contains filtered or unexported fields
}

DisableLDAPSResponse is the response type for the DisableLDAPS API operation.

func (*DisableLDAPSResponse) SDKResponseMetdata added in v0.18.0

func (r *DisableLDAPSResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableLDAPS request.

type DisableRadiusInput

type DisableRadiusInput struct {

	// The identifier of the directory for which to disable MFA.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the DisableRadius operation.

func (DisableRadiusInput) String

func (s DisableRadiusInput) String() string

String returns the string representation

func (*DisableRadiusInput) Validate

func (s *DisableRadiusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableRadiusOutput

type DisableRadiusOutput struct {
	// contains filtered or unexported fields
}

Contains the results of the DisableRadius operation.

func (DisableRadiusOutput) String

func (s DisableRadiusOutput) String() string

String returns the string representation

type DisableRadiusRequest

type DisableRadiusRequest struct {
	*aws.Request
	Input *DisableRadiusInput
	Copy  func(*DisableRadiusInput) DisableRadiusRequest
}

DisableRadiusRequest is the request type for the DisableRadius API operation.

func (DisableRadiusRequest) Send

Send marshals and sends the DisableRadius API request.

type DisableRadiusResponse added in v0.9.0

type DisableRadiusResponse struct {
	*DisableRadiusOutput
	// contains filtered or unexported fields
}

DisableRadiusResponse is the response type for the DisableRadius API operation.

func (*DisableRadiusResponse) SDKResponseMetdata added in v0.9.0

func (r *DisableRadiusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableRadius request.

type DisableSsoInput

type DisableSsoInput struct {

	// The identifier of the directory for which to disable single-sign on.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The password of an alternate account to use to disable single-sign on. This
	// is only used for AD Connector directories. For more information, see the
	// UserName parameter.
	Password *string `min:"1" type:"string" sensitive:"true"`

	// The username of an alternate account to use to disable single-sign on. This
	// is only used for AD Connector directories. This account must have privileges
	// to remove a service principal name.
	//
	// If the AD Connector service account does not have privileges to remove a
	// service principal name, you can specify an alternate account with the UserName
	// and Password parameters. These credentials are only used to disable single
	// sign-on and are not stored by the service. The AD Connector service account
	// is not changed.
	UserName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains the inputs for the DisableSso operation.

func (DisableSsoInput) String

func (s DisableSsoInput) String() string

String returns the string representation

func (*DisableSsoInput) Validate

func (s *DisableSsoInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableSsoOutput

type DisableSsoOutput struct {
	// contains filtered or unexported fields
}

Contains the results of the DisableSso operation.

func (DisableSsoOutput) String

func (s DisableSsoOutput) String() string

String returns the string representation

type DisableSsoRequest

type DisableSsoRequest struct {
	*aws.Request
	Input *DisableSsoInput
	Copy  func(*DisableSsoInput) DisableSsoRequest
}

DisableSsoRequest is the request type for the DisableSso API operation.

func (DisableSsoRequest) Send

Send marshals and sends the DisableSso API request.

type DisableSsoResponse added in v0.9.0

type DisableSsoResponse struct {
	*DisableSsoOutput
	// contains filtered or unexported fields
}

DisableSsoResponse is the response type for the DisableSso API operation.

func (*DisableSsoResponse) SDKResponseMetdata added in v0.9.0

func (r *DisableSsoResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableSso request.

type DomainController

type DomainController struct {

	// The Availability Zone where the domain controller is located.
	AvailabilityZone *string `type:"string"`

	// Identifier of the directory where the domain controller resides.
	DirectoryId *string `type:"string"`

	// The IP address of the domain controller.
	DnsIpAddr *string `type:"string"`

	// Identifies a specific domain controller in the directory.
	DomainControllerId *string `type:"string"`

	// Specifies when the domain controller was created.
	LaunchTime *time.Time `type:"timestamp"`

	// The status of the domain controller.
	Status DomainControllerStatus `type:"string" enum:"true"`

	// The date and time that the status was last updated.
	StatusLastUpdatedDateTime *time.Time `type:"timestamp"`

	// A description of the domain controller state.
	StatusReason *string `type:"string"`

	// Identifier of the subnet in the VPC that contains the domain controller.
	SubnetId *string `type:"string"`

	// The identifier of the VPC that contains the domain controller.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains information about the domain controllers for a specified directory.

func (DomainController) String

func (s DomainController) String() string

String returns the string representation

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

func (DomainControllerStatus) MarshalValue added in v0.3.0

func (enum DomainControllerStatus) MarshalValue() (string, error)

func (DomainControllerStatus) MarshalValueBuf added in v0.3.0

func (enum DomainControllerStatus) MarshalValueBuf(b []byte) ([]byte, error)

type EnableLDAPSInput added in v0.18.0

type EnableLDAPSInput struct {

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The type of LDAP security to enable. Currently only the value Client is supported.
	//
	// Type is a required field
	Type LDAPSType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (EnableLDAPSInput) String added in v0.18.0

func (s EnableLDAPSInput) String() string

String returns the string representation

func (*EnableLDAPSInput) Validate added in v0.18.0

func (s *EnableLDAPSInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableLDAPSOutput added in v0.18.0

type EnableLDAPSOutput struct {
	// contains filtered or unexported fields
}

func (EnableLDAPSOutput) String added in v0.18.0

func (s EnableLDAPSOutput) String() string

String returns the string representation

type EnableLDAPSRequest added in v0.18.0

type EnableLDAPSRequest struct {
	*aws.Request
	Input *EnableLDAPSInput
	Copy  func(*EnableLDAPSInput) EnableLDAPSRequest
}

EnableLDAPSRequest is the request type for the EnableLDAPS API operation.

func (EnableLDAPSRequest) Send added in v0.18.0

Send marshals and sends the EnableLDAPS API request.

type EnableLDAPSResponse added in v0.18.0

type EnableLDAPSResponse struct {
	*EnableLDAPSOutput
	// contains filtered or unexported fields
}

EnableLDAPSResponse is the response type for the EnableLDAPS API operation.

func (*EnableLDAPSResponse) SDKResponseMetdata added in v0.18.0

func (r *EnableLDAPSResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableLDAPS request.

type EnableRadiusInput

type EnableRadiusInput struct {

	// The identifier of the directory for which to enable MFA.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// A RadiusSettings object that contains information about the RADIUS server.
	//
	// RadiusSettings is a required field
	RadiusSettings *RadiusSettings `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the EnableRadius operation.

func (EnableRadiusInput) String

func (s EnableRadiusInput) String() string

String returns the string representation

func (*EnableRadiusInput) Validate

func (s *EnableRadiusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableRadiusOutput

type EnableRadiusOutput struct {
	// contains filtered or unexported fields
}

Contains the results of the EnableRadius operation.

func (EnableRadiusOutput) String

func (s EnableRadiusOutput) String() string

String returns the string representation

type EnableRadiusRequest

type EnableRadiusRequest struct {
	*aws.Request
	Input *EnableRadiusInput
	Copy  func(*EnableRadiusInput) EnableRadiusRequest
}

EnableRadiusRequest is the request type for the EnableRadius API operation.

func (EnableRadiusRequest) Send

Send marshals and sends the EnableRadius API request.

type EnableRadiusResponse added in v0.9.0

type EnableRadiusResponse struct {
	*EnableRadiusOutput
	// contains filtered or unexported fields
}

EnableRadiusResponse is the response type for the EnableRadius API operation.

func (*EnableRadiusResponse) SDKResponseMetdata added in v0.9.0

func (r *EnableRadiusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableRadius request.

type EnableSsoInput

type EnableSsoInput struct {

	// The identifier of the directory for which to enable single-sign on.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The password of an alternate account to use to enable single-sign on. This
	// is only used for AD Connector directories. For more information, see the
	// UserName parameter.
	Password *string `min:"1" type:"string" sensitive:"true"`

	// The username of an alternate account to use to enable single-sign on. This
	// is only used for AD Connector directories. This account must have privileges
	// to add a service principal name.
	//
	// If the AD Connector service account does not have privileges to add a service
	// principal name, you can specify an alternate account with the UserName and
	// Password parameters. These credentials are only used to enable single sign-on
	// and are not stored by the service. The AD Connector service account is not
	// changed.
	UserName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains the inputs for the EnableSso operation.

func (EnableSsoInput) String

func (s EnableSsoInput) String() string

String returns the string representation

func (*EnableSsoInput) Validate

func (s *EnableSsoInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableSsoOutput

type EnableSsoOutput struct {
	// contains filtered or unexported fields
}

Contains the results of the EnableSso operation.

func (EnableSsoOutput) String

func (s EnableSsoOutput) String() string

String returns the string representation

type EnableSsoRequest

type EnableSsoRequest struct {
	*aws.Request
	Input *EnableSsoInput
	Copy  func(*EnableSsoInput) EnableSsoRequest
}

EnableSsoRequest is the request type for the EnableSso API operation.

func (EnableSsoRequest) Send

Send marshals and sends the EnableSso API request.

type EnableSsoResponse added in v0.9.0

type EnableSsoResponse struct {
	*EnableSsoOutput
	// contains filtered or unexported fields
}

EnableSsoResponse is the response type for the EnableSso API operation.

func (*EnableSsoResponse) SDKResponseMetdata added in v0.9.0

func (r *EnableSsoResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableSso request.

type EventTopic

type EventTopic struct {

	// The date and time of when you associated your directory with the SNS topic.
	CreatedDateTime *time.Time `type:"timestamp"`

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

	// The topic registration status.
	Status TopicStatus `type:"string" enum:"true"`

	// The SNS topic ARN (Amazon Resource Name).
	TopicArn *string `type:"string"`

	// The name of an AWS SNS topic the receives status messages from the directory.
	TopicName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about SNS topic and AWS Directory Service directory associations.

func (EventTopic) String

func (s EventTopic) String() string

String returns the string representation

type GetDirectoryLimitsInput

type GetDirectoryLimitsInput struct {
	// contains filtered or unexported fields
}

Contains the inputs for the GetDirectoryLimits operation.

func (GetDirectoryLimitsInput) String

func (s GetDirectoryLimitsInput) String() string

String returns the string representation

type GetDirectoryLimitsOutput

type GetDirectoryLimitsOutput struct {

	// A DirectoryLimits object that contains the directory limits for the current
	// rRegion.
	DirectoryLimits *DirectoryLimits `type:"structure"`
	// contains filtered or unexported fields
}

Contains the results of the GetDirectoryLimits operation.

func (GetDirectoryLimitsOutput) String

func (s GetDirectoryLimitsOutput) String() string

String returns the string representation

type GetDirectoryLimitsRequest

type GetDirectoryLimitsRequest struct {
	*aws.Request
	Input *GetDirectoryLimitsInput
	Copy  func(*GetDirectoryLimitsInput) GetDirectoryLimitsRequest
}

GetDirectoryLimitsRequest is the request type for the GetDirectoryLimits API operation.

func (GetDirectoryLimitsRequest) Send

Send marshals and sends the GetDirectoryLimits API request.

type GetDirectoryLimitsResponse added in v0.9.0

type GetDirectoryLimitsResponse struct {
	*GetDirectoryLimitsOutput
	// contains filtered or unexported fields
}

GetDirectoryLimitsResponse is the response type for the GetDirectoryLimits API operation.

func (*GetDirectoryLimitsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetDirectoryLimitsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDirectoryLimits request.

type GetSnapshotLimitsInput

type GetSnapshotLimitsInput struct {

	// Contains the identifier of the directory to obtain the limits for.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the GetSnapshotLimits operation.

func (GetSnapshotLimitsInput) String

func (s GetSnapshotLimitsInput) String() string

String returns the string representation

func (*GetSnapshotLimitsInput) Validate

func (s *GetSnapshotLimitsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSnapshotLimitsOutput

type GetSnapshotLimitsOutput struct {

	// A SnapshotLimits object that contains the manual snapshot limits for the
	// specified directory.
	SnapshotLimits *SnapshotLimits `type:"structure"`
	// contains filtered or unexported fields
}

Contains the results of the GetSnapshotLimits operation.

func (GetSnapshotLimitsOutput) String

func (s GetSnapshotLimitsOutput) String() string

String returns the string representation

type GetSnapshotLimitsRequest

type GetSnapshotLimitsRequest struct {
	*aws.Request
	Input *GetSnapshotLimitsInput
	Copy  func(*GetSnapshotLimitsInput) GetSnapshotLimitsRequest
}

GetSnapshotLimitsRequest is the request type for the GetSnapshotLimits API operation.

func (GetSnapshotLimitsRequest) Send

Send marshals and sends the GetSnapshotLimits API request.

type GetSnapshotLimitsResponse added in v0.9.0

type GetSnapshotLimitsResponse struct {
	*GetSnapshotLimitsOutput
	// contains filtered or unexported fields
}

GetSnapshotLimitsResponse is the response type for the GetSnapshotLimits API operation.

func (*GetSnapshotLimitsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetSnapshotLimitsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetSnapshotLimits request.

type IpRoute

type IpRoute struct {

	// 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 `type:"string"`

	// Description of the address block.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

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

func (IpRoute) String

func (s IpRoute) String() string

String returns the string representation

type IpRouteInfo

type IpRouteInfo struct {

	// The date and time the address block was added to the directory.
	AddedDateTime *time.Time `type:"timestamp"`

	// IP address block in the IpRoute.
	CidrIp *string `type:"string"`

	// Description of the IpRouteInfo.
	Description *string `type:"string"`

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

	// The status of the IP address block.
	IpRouteStatusMsg IpRouteStatusMsg `type:"string" enum:"true"`

	// The reason for the IpRouteStatusMsg.
	IpRouteStatusReason *string `type:"string"`
	// contains filtered or unexported fields
}

Information about one or more IP address blocks.

func (IpRouteInfo) String

func (s IpRouteInfo) String() string

String returns the string representation

type IpRouteStatusMsg

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

Enum values for IpRouteStatusMsg

func (IpRouteStatusMsg) MarshalValue added in v0.3.0

func (enum IpRouteStatusMsg) MarshalValue() (string, error)

func (IpRouteStatusMsg) MarshalValueBuf added in v0.3.0

func (enum IpRouteStatusMsg) MarshalValueBuf(b []byte) ([]byte, error)

type LDAPSSettingInfo added in v0.18.0

type LDAPSSettingInfo struct {

	// The state of the LDAPS settings.
	LDAPSStatus LDAPSStatus `type:"string" enum:"true"`

	// Describes a state change for LDAPS.
	LDAPSStatusReason *string `type:"string"`

	// The date and time when the LDAPS settings were last updated.
	LastUpdatedDateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Contains general information about the LDAPS settings.

func (LDAPSSettingInfo) String added in v0.18.0

func (s LDAPSSettingInfo) String() string

String returns the string representation

type LDAPSStatus added in v0.18.0

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

Enum values for LDAPSStatus

func (LDAPSStatus) MarshalValue added in v0.18.0

func (enum LDAPSStatus) MarshalValue() (string, error)

func (LDAPSStatus) MarshalValueBuf added in v0.18.0

func (enum LDAPSStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LDAPSType added in v0.18.0

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

Enum values for LDAPSType

func (LDAPSType) MarshalValue added in v0.18.0

func (enum LDAPSType) MarshalValue() (string, error)

func (LDAPSType) MarshalValueBuf added in v0.18.0

func (enum LDAPSType) MarshalValueBuf(b []byte) ([]byte, error)

type ListCertificatesInput added in v0.18.0

type ListCertificatesInput struct {

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The number of items that should show up on one page
	Limit *int64 `min:"1" type:"integer"`

	// A token for requesting another page of certificates if the NextToken response
	// element indicates that more certificates are available. Use the value of
	// the returned NextToken element in your request until the token comes back
	// as null. Pass null if this is the first call.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListCertificatesInput) String added in v0.18.0

func (s ListCertificatesInput) String() string

String returns the string representation

func (*ListCertificatesInput) Validate added in v0.18.0

func (s *ListCertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCertificatesOutput added in v0.18.0

type ListCertificatesOutput struct {

	// A list of certificates with basic details including certificate ID, certificate
	// common name, certificate state.
	CertificatesInfo []CertificateInfo `type:"list"`

	// Indicates whether another page of certificates is available when the number
	// of available certificates exceeds the page limit.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListCertificatesOutput) String added in v0.18.0

func (s ListCertificatesOutput) String() string

String returns the string representation

type ListCertificatesRequest added in v0.18.0

type ListCertificatesRequest struct {
	*aws.Request
	Input *ListCertificatesInput
	Copy  func(*ListCertificatesInput) ListCertificatesRequest
}

ListCertificatesRequest is the request type for the ListCertificates API operation.

func (ListCertificatesRequest) Send added in v0.18.0

Send marshals and sends the ListCertificates API request.

type ListCertificatesResponse added in v0.18.0

type ListCertificatesResponse struct {
	*ListCertificatesOutput
	// contains filtered or unexported fields
}

ListCertificatesResponse is the response type for the ListCertificates API operation.

func (*ListCertificatesResponse) SDKResponseMetdata added in v0.18.0

func (r *ListCertificatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCertificates request.

type ListIpRoutesInput

type ListIpRoutesInput struct {

	// Identifier (ID) of the directory for which you want to retrieve the IP addresses.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// Maximum number of items to return. If this value is zero, the maximum number
	// of items is specified by the limitations of the operation.
	Limit *int64 `type:"integer"`

	// The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass
	// null if this is the first call.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListIpRoutesInput) String

func (s ListIpRoutesInput) String() string

String returns the string representation

func (*ListIpRoutesInput) Validate

func (s *ListIpRoutesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListIpRoutesOutput

type ListIpRoutesOutput struct {

	// A list of IpRoutes.
	IpRoutesInfo []IpRouteInfo `type:"list"`

	// If not null, more results are available. Pass this value for the NextToken
	// parameter in a subsequent call to ListIpRoutes to retrieve the next set of
	// items.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListIpRoutesOutput) String

func (s ListIpRoutesOutput) String() string

String returns the string representation

type ListIpRoutesRequest

type ListIpRoutesRequest struct {
	*aws.Request
	Input *ListIpRoutesInput
	Copy  func(*ListIpRoutesInput) ListIpRoutesRequest
}

ListIpRoutesRequest is the request type for the ListIpRoutes API operation.

func (ListIpRoutesRequest) Send

Send marshals and sends the ListIpRoutes API request.

type ListIpRoutesResponse added in v0.9.0

type ListIpRoutesResponse struct {
	*ListIpRoutesOutput
	// contains filtered or unexported fields
}

ListIpRoutesResponse is the response type for the ListIpRoutes API operation.

func (*ListIpRoutesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListIpRoutesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListIpRoutes request.

type ListLogSubscriptionsInput added in v0.5.0

type ListLogSubscriptionsInput struct {

	// If a DirectoryID is provided, lists only the log subscription associated
	// with that directory. If no DirectoryId is provided, lists all log subscriptions
	// associated with your AWS account. If there are no log subscriptions for the
	// AWS account or the directory, an empty list will be returned.
	DirectoryId *string `type:"string"`

	// The maximum number of items returned.
	Limit *int64 `type:"integer"`

	// The token for the next set of items to return.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListLogSubscriptionsInput) String added in v0.5.0

func (s ListLogSubscriptionsInput) String() string

String returns the string representation

type ListLogSubscriptionsOutput added in v0.5.0

type ListLogSubscriptionsOutput struct {

	// A list of active LogSubscription objects for calling the AWS account.
	LogSubscriptions []LogSubscription `type:"list"`

	// The token for the next set of items to return.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListLogSubscriptionsOutput) String added in v0.5.0

String returns the string representation

type ListLogSubscriptionsRequest added in v0.5.0

type ListLogSubscriptionsRequest struct {
	*aws.Request
	Input *ListLogSubscriptionsInput
	Copy  func(*ListLogSubscriptionsInput) ListLogSubscriptionsRequest
}

ListLogSubscriptionsRequest is the request type for the ListLogSubscriptions API operation.

func (ListLogSubscriptionsRequest) Send added in v0.5.0

Send marshals and sends the ListLogSubscriptions API request.

type ListLogSubscriptionsResponse added in v0.9.0

type ListLogSubscriptionsResponse struct {
	*ListLogSubscriptionsOutput
	// contains filtered or unexported fields
}

ListLogSubscriptionsResponse is the response type for the ListLogSubscriptions API operation.

func (*ListLogSubscriptionsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListLogSubscriptionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListLogSubscriptions request.

type ListSchemaExtensionsInput

type ListSchemaExtensionsInput struct {

	// The identifier of the directory from which to retrieve the schema extension
	// information.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The maximum number of items to return.
	Limit *int64 `type:"integer"`

	// The ListSchemaExtensions.NextToken value from a previous call to ListSchemaExtensions.
	// Pass null if this is the first call.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListSchemaExtensionsInput) String

func (s ListSchemaExtensionsInput) String() string

String returns the string representation

func (*ListSchemaExtensionsInput) Validate

func (s *ListSchemaExtensionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSchemaExtensionsOutput

type ListSchemaExtensionsOutput struct {

	// If not null, more results are available. Pass this value for the NextToken
	// parameter in a subsequent call to ListSchemaExtensions to retrieve the next
	// set of items.
	NextToken *string `type:"string"`

	// Information about the schema extensions applied to the directory.
	SchemaExtensionsInfo []SchemaExtensionInfo `type:"list"`
	// contains filtered or unexported fields
}

func (ListSchemaExtensionsOutput) String

String returns the string representation

type ListSchemaExtensionsRequest

type ListSchemaExtensionsRequest struct {
	*aws.Request
	Input *ListSchemaExtensionsInput
	Copy  func(*ListSchemaExtensionsInput) ListSchemaExtensionsRequest
}

ListSchemaExtensionsRequest is the request type for the ListSchemaExtensions API operation.

func (ListSchemaExtensionsRequest) Send

Send marshals and sends the ListSchemaExtensions API request.

type ListSchemaExtensionsResponse added in v0.9.0

type ListSchemaExtensionsResponse struct {
	*ListSchemaExtensionsOutput
	// contains filtered or unexported fields
}

ListSchemaExtensionsResponse is the response type for the ListSchemaExtensions API operation.

func (*ListSchemaExtensionsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListSchemaExtensionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListSchemaExtensions request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// Reserved for future use.
	Limit *int64 `type:"integer"`

	// Reserved for future use.
	NextToken *string `type:"string"`

	// Identifier (ID) of the directory for which you want to retrieve tags.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// Reserved for future use.
	NextToken *string `type:"string"`

	// List of tags returned by the ListTagsForResource operation.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type LogSubscription added in v0.5.0

type LogSubscription struct {

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

	// The name of the log group.
	LogGroupName *string `min:"1" type:"string"`

	// The date and time that the log subscription was created.
	SubscriptionCreatedDateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

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

func (LogSubscription) String added in v0.5.0

func (s LogSubscription) String() string

String returns the string representation

type OwnerDirectoryDescription added in v0.5.0

type OwnerDirectoryDescription struct {

	// Identifier of the directory owner account.
	AccountId *string `type:"string"`

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

	// IP address of the directory’s domain controllers.
	DnsIpAddrs []string `type:"list"`

	// A RadiusSettings object that contains information about the RADIUS server.
	RadiusSettings *RadiusSettings `type:"structure"`

	// Information about the status of the RADIUS server.
	RadiusStatus RadiusStatus `type:"string" enum:"true"`

	// Information about the VPC settings for the directory.
	VpcSettings *DirectoryVpcSettingsDescription `type:"structure"`
	// contains filtered or unexported fields
}

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

func (OwnerDirectoryDescription) String added in v0.5.0

func (s OwnerDirectoryDescription) String() string

String returns the string representation

type RadiusAuthenticationProtocol

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

Enum values for RadiusAuthenticationProtocol

func (RadiusAuthenticationProtocol) MarshalValue added in v0.3.0

func (enum RadiusAuthenticationProtocol) MarshalValue() (string, error)

func (RadiusAuthenticationProtocol) MarshalValueBuf added in v0.3.0

func (enum RadiusAuthenticationProtocol) MarshalValueBuf(b []byte) ([]byte, error)

type RadiusSettings

type RadiusSettings struct {

	// The protocol specified for your RADIUS endpoints.
	AuthenticationProtocol RadiusAuthenticationProtocol `type:"string" enum:"true"`

	// Not currently used.
	DisplayLabel *string `min:"1" type:"string"`

	// 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 *int64 `min:"1025" type:"integer"`

	// The maximum number of times that communication with the RADIUS server is
	// attempted.
	RadiusRetries *int64 `type:"integer"`

	// 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 `type:"list"`

	// The amount of time, in seconds, to wait for the RADIUS server to respond.
	RadiusTimeout *int64 `min:"1" type:"integer"`

	// Required for enabling RADIUS on the directory.
	SharedSecret *string `min:"8" type:"string" sensitive:"true"`

	// Not currently used.
	UseSameUsername *bool `type:"boolean"`
	// contains filtered or unexported fields
}

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

func (RadiusSettings) String

func (s RadiusSettings) String() string

String returns the string representation

func (*RadiusSettings) Validate

func (s *RadiusSettings) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RadiusStatus

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

Enum values for RadiusStatus

func (RadiusStatus) MarshalValue added in v0.3.0

func (enum RadiusStatus) MarshalValue() (string, error)

func (RadiusStatus) MarshalValueBuf added in v0.3.0

func (enum RadiusStatus) MarshalValueBuf(b []byte) ([]byte, error)

type RegisterCertificateInput added in v0.18.0

type RegisterCertificateInput struct {

	// The certificate PEM string that needs to be registered.
	//
	// CertificateData is a required field
	CertificateData *string `min:"1" type:"string" required:"true"`

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterCertificateInput) String added in v0.18.0

func (s RegisterCertificateInput) String() string

String returns the string representation

func (*RegisterCertificateInput) Validate added in v0.18.0

func (s *RegisterCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterCertificateOutput added in v0.18.0

type RegisterCertificateOutput struct {

	// The identifier of the certificate.
	CertificateId *string `type:"string"`
	// contains filtered or unexported fields
}

func (RegisterCertificateOutput) String added in v0.18.0

func (s RegisterCertificateOutput) String() string

String returns the string representation

type RegisterCertificateRequest added in v0.18.0

type RegisterCertificateRequest struct {
	*aws.Request
	Input *RegisterCertificateInput
	Copy  func(*RegisterCertificateInput) RegisterCertificateRequest
}

RegisterCertificateRequest is the request type for the RegisterCertificate API operation.

func (RegisterCertificateRequest) Send added in v0.18.0

Send marshals and sends the RegisterCertificate API request.

type RegisterCertificateResponse added in v0.18.0

type RegisterCertificateResponse struct {
	*RegisterCertificateOutput
	// contains filtered or unexported fields
}

RegisterCertificateResponse is the response type for the RegisterCertificate API operation.

func (*RegisterCertificateResponse) SDKResponseMetdata added in v0.18.0

func (r *RegisterCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterCertificate request.

type RegisterEventTopicInput

type RegisterEventTopicInput struct {

	// The Directory ID that will publish status messages to the SNS topic.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The SNS topic name to which the directory will publish status messages. This
	// SNS topic must be in the same region as the specified Directory ID.
	//
	// TopicName is a required field
	TopicName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Registers a new event topic.

func (RegisterEventTopicInput) String

func (s RegisterEventTopicInput) String() string

String returns the string representation

func (*RegisterEventTopicInput) Validate

func (s *RegisterEventTopicInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterEventTopicOutput

type RegisterEventTopicOutput struct {
	// contains filtered or unexported fields
}

The result of a RegisterEventTopic request.

func (RegisterEventTopicOutput) String

func (s RegisterEventTopicOutput) String() string

String returns the string representation

type RegisterEventTopicRequest

type RegisterEventTopicRequest struct {
	*aws.Request
	Input *RegisterEventTopicInput
	Copy  func(*RegisterEventTopicInput) RegisterEventTopicRequest
}

RegisterEventTopicRequest is the request type for the RegisterEventTopic API operation.

func (RegisterEventTopicRequest) Send

Send marshals and sends the RegisterEventTopic API request.

type RegisterEventTopicResponse added in v0.9.0

type RegisterEventTopicResponse struct {
	*RegisterEventTopicOutput
	// contains filtered or unexported fields
}

RegisterEventTopicResponse is the response type for the RegisterEventTopic API operation.

func (*RegisterEventTopicResponse) SDKResponseMetdata added in v0.9.0

func (r *RegisterEventTopicResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterEventTopic request.

type RejectSharedDirectoryInput added in v0.5.0

type RejectSharedDirectoryInput struct {

	// Identifier of the shared directory in the directory consumer account. This
	// identifier is different for each directory owner account.
	//
	// SharedDirectoryId is a required field
	SharedDirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RejectSharedDirectoryInput) String added in v0.5.0

String returns the string representation

func (*RejectSharedDirectoryInput) Validate added in v0.5.0

func (s *RejectSharedDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RejectSharedDirectoryOutput added in v0.5.0

type RejectSharedDirectoryOutput struct {

	// Identifier of the shared directory in the directory consumer account.
	SharedDirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

func (RejectSharedDirectoryOutput) String added in v0.5.0

String returns the string representation

type RejectSharedDirectoryRequest added in v0.5.0

type RejectSharedDirectoryRequest struct {
	*aws.Request
	Input *RejectSharedDirectoryInput
	Copy  func(*RejectSharedDirectoryInput) RejectSharedDirectoryRequest
}

RejectSharedDirectoryRequest is the request type for the RejectSharedDirectory API operation.

func (RejectSharedDirectoryRequest) Send added in v0.5.0

Send marshals and sends the RejectSharedDirectory API request.

type RejectSharedDirectoryResponse added in v0.9.0

type RejectSharedDirectoryResponse struct {
	*RejectSharedDirectoryOutput
	// contains filtered or unexported fields
}

RejectSharedDirectoryResponse is the response type for the RejectSharedDirectory API operation.

func (*RejectSharedDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *RejectSharedDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RejectSharedDirectory request.

type RemoveIpRoutesInput

type RemoveIpRoutesInput struct {

	// IP address blocks that you want to remove.
	//
	// CidrIps is a required field
	CidrIps []string `type:"list" required:"true"`

	// Identifier (ID) of the directory from which you want to remove the IP addresses.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveIpRoutesInput) String

func (s RemoveIpRoutesInput) String() string

String returns the string representation

func (*RemoveIpRoutesInput) Validate

func (s *RemoveIpRoutesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemoveIpRoutesOutput

type RemoveIpRoutesOutput struct {
	// contains filtered or unexported fields
}

func (RemoveIpRoutesOutput) String

func (s RemoveIpRoutesOutput) String() string

String returns the string representation

type RemoveIpRoutesRequest

type RemoveIpRoutesRequest struct {
	*aws.Request
	Input *RemoveIpRoutesInput
	Copy  func(*RemoveIpRoutesInput) RemoveIpRoutesRequest
}

RemoveIpRoutesRequest is the request type for the RemoveIpRoutes API operation.

func (RemoveIpRoutesRequest) Send

Send marshals and sends the RemoveIpRoutes API request.

type RemoveIpRoutesResponse added in v0.9.0

type RemoveIpRoutesResponse struct {
	*RemoveIpRoutesOutput
	// contains filtered or unexported fields
}

RemoveIpRoutesResponse is the response type for the RemoveIpRoutes API operation.

func (*RemoveIpRoutesResponse) SDKResponseMetdata added in v0.9.0

func (r *RemoveIpRoutesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RemoveIpRoutes request.

type RemoveTagsFromResourceInput

type RemoveTagsFromResourceInput struct {

	// Identifier (ID) of the directory from which to remove the tag.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The tag key (name) of the tag to be removed.
	//
	// TagKeys is a required field
	TagKeys []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveTagsFromResourceInput) String

String returns the string representation

func (*RemoveTagsFromResourceInput) Validate

func (s *RemoveTagsFromResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemoveTagsFromResourceOutput

type RemoveTagsFromResourceOutput struct {
	// contains filtered or unexported fields
}

func (RemoveTagsFromResourceOutput) String

String returns the string representation

type RemoveTagsFromResourceRequest

type RemoveTagsFromResourceRequest struct {
	*aws.Request
	Input *RemoveTagsFromResourceInput
	Copy  func(*RemoveTagsFromResourceInput) RemoveTagsFromResourceRequest
}

RemoveTagsFromResourceRequest is the request type for the RemoveTagsFromResource API operation.

func (RemoveTagsFromResourceRequest) Send

Send marshals and sends the RemoveTagsFromResource API request.

type RemoveTagsFromResourceResponse added in v0.9.0

type RemoveTagsFromResourceResponse struct {
	*RemoveTagsFromResourceOutput
	// contains filtered or unexported fields
}

RemoveTagsFromResourceResponse is the response type for the RemoveTagsFromResource API operation.

func (*RemoveTagsFromResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *RemoveTagsFromResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RemoveTagsFromResource request.

type ReplicationScope

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

Enum values for ReplicationScope

func (ReplicationScope) MarshalValue added in v0.3.0

func (enum ReplicationScope) MarshalValue() (string, error)

func (ReplicationScope) MarshalValueBuf added in v0.3.0

func (enum ReplicationScope) MarshalValueBuf(b []byte) ([]byte, error)

type ResetUserPasswordInput added in v0.5.0

type ResetUserPasswordInput struct {

	// Identifier of the AWS Managed Microsoft AD or Simple AD directory in which
	// the user resides.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The new password that will be reset.
	//
	// NewPassword is a required field
	NewPassword *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The user name of the user whose password will be reset.
	//
	// UserName is a required field
	UserName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ResetUserPasswordInput) String added in v0.5.0

func (s ResetUserPasswordInput) String() string

String returns the string representation

func (*ResetUserPasswordInput) Validate added in v0.5.0

func (s *ResetUserPasswordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResetUserPasswordOutput added in v0.5.0

type ResetUserPasswordOutput struct {
	// contains filtered or unexported fields
}

func (ResetUserPasswordOutput) String added in v0.5.0

func (s ResetUserPasswordOutput) String() string

String returns the string representation

type ResetUserPasswordRequest added in v0.5.0

type ResetUserPasswordRequest struct {
	*aws.Request
	Input *ResetUserPasswordInput
	Copy  func(*ResetUserPasswordInput) ResetUserPasswordRequest
}

ResetUserPasswordRequest is the request type for the ResetUserPassword API operation.

func (ResetUserPasswordRequest) Send added in v0.5.0

Send marshals and sends the ResetUserPassword API request.

type ResetUserPasswordResponse added in v0.9.0

type ResetUserPasswordResponse struct {
	*ResetUserPasswordOutput
	// contains filtered or unexported fields
}

ResetUserPasswordResponse is the response type for the ResetUserPassword API operation.

func (*ResetUserPasswordResponse) SDKResponseMetdata added in v0.9.0

func (r *ResetUserPasswordResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ResetUserPassword request.

type RestoreFromSnapshotInput

type RestoreFromSnapshotInput struct {

	// The identifier of the snapshot to restore from.
	//
	// SnapshotId is a required field
	SnapshotId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing the inputs for the RestoreFromSnapshot operation.

func (RestoreFromSnapshotInput) String

func (s RestoreFromSnapshotInput) String() string

String returns the string representation

func (*RestoreFromSnapshotInput) Validate

func (s *RestoreFromSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RestoreFromSnapshotOutput

type RestoreFromSnapshotOutput struct {
	// contains filtered or unexported fields
}

Contains the results of the RestoreFromSnapshot operation.

func (RestoreFromSnapshotOutput) String

func (s RestoreFromSnapshotOutput) String() string

String returns the string representation

type RestoreFromSnapshotRequest

type RestoreFromSnapshotRequest struct {
	*aws.Request
	Input *RestoreFromSnapshotInput
	Copy  func(*RestoreFromSnapshotInput) RestoreFromSnapshotRequest
}

RestoreFromSnapshotRequest is the request type for the RestoreFromSnapshot API operation.

func (RestoreFromSnapshotRequest) Send

Send marshals and sends the RestoreFromSnapshot API request.

type RestoreFromSnapshotResponse added in v0.9.0

type RestoreFromSnapshotResponse struct {
	*RestoreFromSnapshotOutput
	// contains filtered or unexported fields
}

RestoreFromSnapshotResponse is the response type for the RestoreFromSnapshot API operation.

func (*RestoreFromSnapshotResponse) SDKResponseMetdata added in v0.9.0

func (r *RestoreFromSnapshotResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RestoreFromSnapshot request.

type SchemaExtensionInfo

type SchemaExtensionInfo struct {

	// A description of the schema extension.
	Description *string `type:"string"`

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

	// The date and time that the schema extension was completed.
	EndDateTime *time.Time `type:"timestamp"`

	// The identifier of the schema extension.
	SchemaExtensionId *string `type:"string"`

	// The current status of the schema extension.
	SchemaExtensionStatus SchemaExtensionStatus `type:"string" enum:"true"`

	// The reason for the SchemaExtensionStatus.
	SchemaExtensionStatusReason *string `type:"string"`

	// The date and time that the schema extension started being applied to the
	// directory.
	StartDateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Information about a schema extension.

func (SchemaExtensionInfo) String

func (s SchemaExtensionInfo) String() string

String returns the string representation

type SchemaExtensionStatus

type SchemaExtensionStatus string
const (
	SchemaExtensionStatusInitializing       SchemaExtensionStatus = "Initializing"
	SchemaExtensionStatusCreatingSnapshot   SchemaExtensionStatus = "CreatingSnapshot"
	SchemaExtensionStatusUpdatingSchema     SchemaExtensionStatus = "UpdatingSchema"
	SchemaExtensionStatusReplicating        SchemaExtensionStatus = "Replicating"
	SchemaExtensionStatusCancelInProgress   SchemaExtensionStatus = "CancelInProgress"
	SchemaExtensionStatusRollbackInProgress SchemaExtensionStatus = "RollbackInProgress"
	SchemaExtensionStatusCancelled          SchemaExtensionStatus = "Cancelled"
	SchemaExtensionStatusFailed             SchemaExtensionStatus = "Failed"
	SchemaExtensionStatusCompleted          SchemaExtensionStatus = "Completed"
)

Enum values for SchemaExtensionStatus

func (SchemaExtensionStatus) MarshalValue added in v0.3.0

func (enum SchemaExtensionStatus) MarshalValue() (string, error)

func (SchemaExtensionStatus) MarshalValueBuf added in v0.3.0

func (enum SchemaExtensionStatus) MarshalValueBuf(b []byte) ([]byte, error)

type SelectiveAuth added in v0.6.0

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

Enum values for SelectiveAuth

func (SelectiveAuth) MarshalValue added in v0.6.0

func (enum SelectiveAuth) MarshalValue() (string, error)

func (SelectiveAuth) MarshalValueBuf added in v0.6.0

func (enum SelectiveAuth) MarshalValueBuf(b []byte) ([]byte, error)

type ShareDirectoryInput added in v0.5.0

type ShareDirectoryInput struct {

	// Identifier of the AWS Managed Microsoft AD directory that you want to share
	// with other AWS accounts.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// 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 directory sharing request (HANDSHAKE).
	//
	// ShareMethod is a required field
	ShareMethod ShareMethod `type:"string" required:"true" enum:"true"`

	// 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 `type:"string" sensitive:"true"`

	// Identifier for the directory consumer account with whom the directory is
	// to be shared.
	//
	// ShareTarget is a required field
	ShareTarget *ShareTarget `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ShareDirectoryInput) String added in v0.5.0

func (s ShareDirectoryInput) String() string

String returns the string representation

func (*ShareDirectoryInput) Validate added in v0.5.0

func (s *ShareDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ShareDirectoryOutput added in v0.5.0

type ShareDirectoryOutput struct {

	// Identifier of the directory that is stored in the directory consumer account
	// that is shared from the specified directory (DirectoryId).
	SharedDirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ShareDirectoryOutput) String added in v0.5.0

func (s ShareDirectoryOutput) String() string

String returns the string representation

type ShareDirectoryRequest added in v0.5.0

type ShareDirectoryRequest struct {
	*aws.Request
	Input *ShareDirectoryInput
	Copy  func(*ShareDirectoryInput) ShareDirectoryRequest
}

ShareDirectoryRequest is the request type for the ShareDirectory API operation.

func (ShareDirectoryRequest) Send added in v0.5.0

Send marshals and sends the ShareDirectory API request.

type ShareDirectoryResponse added in v0.9.0

type ShareDirectoryResponse struct {
	*ShareDirectoryOutput
	// contains filtered or unexported fields
}

ShareDirectoryResponse is the response type for the ShareDirectory API operation.

func (*ShareDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *ShareDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ShareDirectory request.

type ShareMethod added in v0.5.0

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

Enum values for ShareMethod

func (ShareMethod) MarshalValue added in v0.5.0

func (enum ShareMethod) MarshalValue() (string, error)

func (ShareMethod) MarshalValueBuf added in v0.5.0

func (enum ShareMethod) MarshalValueBuf(b []byte) ([]byte, error)

type ShareStatus added in v0.5.0

type ShareStatus string
const (
	ShareStatusShared            ShareStatus = "Shared"
	ShareStatusPendingAcceptance ShareStatus = "PendingAcceptance"
	ShareStatusRejected          ShareStatus = "Rejected"
	ShareStatusRejecting         ShareStatus = "Rejecting"
	ShareStatusRejectFailed      ShareStatus = "RejectFailed"
	ShareStatusSharing           ShareStatus = "Sharing"
	ShareStatusShareFailed       ShareStatus = "ShareFailed"
	ShareStatusDeleted           ShareStatus = "Deleted"
	ShareStatusDeleting          ShareStatus = "Deleting"
)

Enum values for ShareStatus

func (ShareStatus) MarshalValue added in v0.5.0

func (enum ShareStatus) MarshalValue() (string, error)

func (ShareStatus) MarshalValueBuf added in v0.5.0

func (enum ShareStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ShareTarget added in v0.5.0

type ShareTarget struct {

	// Identifier of the directory consumer account.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// Type of identifier to be used in the Id field.
	//
	// Type is a required field
	Type TargetType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Identifier that contains details about the directory consumer account.

func (ShareTarget) String added in v0.5.0

func (s ShareTarget) String() string

String returns the string representation

func (*ShareTarget) Validate added in v0.5.0

func (s *ShareTarget) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SharedDirectory added in v0.5.0

type SharedDirectory struct {

	// The date and time that the shared directory was created.
	CreatedDateTime *time.Time `type:"timestamp"`

	// The date and time that the shared directory was last updated.
	LastUpdatedDateTime *time.Time `type:"timestamp"`

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

	// Identifier of the directory in the directory owner account.
	OwnerDirectoryId *string `type:"string"`

	// 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 `type:"string" enum:"true"`

	// 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 `type:"string" sensitive:"true"`

	// Current directory status of the shared AWS Managed Microsoft AD directory.
	ShareStatus ShareStatus `type:"string" enum:"true"`

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

	// Identifier of the shared directory in the directory consumer account. This
	// identifier is different for each directory owner account.
	SharedDirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

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

func (SharedDirectory) String added in v0.5.0

func (s SharedDirectory) String() string

String returns the string representation

type Snapshot

type Snapshot struct {

	// The directory identifier.
	DirectoryId *string `type:"string"`

	// The descriptive name of the snapshot.
	Name *string `type:"string"`

	// The snapshot identifier.
	SnapshotId *string `type:"string"`

	// The date and time that the snapshot was taken.
	StartTime *time.Time `type:"timestamp"`

	// The snapshot status.
	Status SnapshotStatus `type:"string" enum:"true"`

	// The snapshot type.
	Type SnapshotType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a directory snapshot.

func (Snapshot) String

func (s Snapshot) String() string

String returns the string representation

type SnapshotLimits

type SnapshotLimits struct {

	// The current number of manual snapshots of the directory.
	ManualSnapshotsCurrentCount *int64 `type:"integer"`

	// The maximum number of manual snapshots allowed.
	ManualSnapshotsLimit *int64 `type:"integer"`

	// Indicates if the manual snapshot limit has been reached.
	ManualSnapshotsLimitReached *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Contains manual snapshot limit information for a directory.

func (SnapshotLimits) String

func (s SnapshotLimits) String() string

String returns the string representation

type SnapshotStatus

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

Enum values for SnapshotStatus

func (SnapshotStatus) MarshalValue added in v0.3.0

func (enum SnapshotStatus) MarshalValue() (string, error)

func (SnapshotStatus) MarshalValueBuf added in v0.3.0

func (enum SnapshotStatus) MarshalValueBuf(b []byte) ([]byte, error)

type SnapshotType

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

Enum values for SnapshotType

func (SnapshotType) MarshalValue added in v0.3.0

func (enum SnapshotType) MarshalValue() (string, error)

func (SnapshotType) MarshalValueBuf added in v0.3.0

func (enum SnapshotType) MarshalValueBuf(b []byte) ([]byte, error)

type StartSchemaExtensionInput

type StartSchemaExtensionInput struct {

	// If true, creates a snapshot of the directory before applying the schema extension.
	//
	// CreateSnapshotBeforeSchemaExtension is a required field
	CreateSnapshotBeforeSchemaExtension *bool `type:"boolean" required:"true"`

	// A description of the schema extension.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The identifier of the directory for which the schema extension will be applied
	// to.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The LDIF file represented as a string. To construct the LdifContent string,
	// precede each line as it would be formatted in an ldif file with \n. See the
	// example request below for more details. The file size can be no larger than
	// 1MB.
	//
	// LdifContent is a required field
	LdifContent *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartSchemaExtensionInput) String

func (s StartSchemaExtensionInput) String() string

String returns the string representation

func (*StartSchemaExtensionInput) Validate

func (s *StartSchemaExtensionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartSchemaExtensionOutput

type StartSchemaExtensionOutput struct {

	// The identifier of the schema extension that will be applied.
	SchemaExtensionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (StartSchemaExtensionOutput) String

String returns the string representation

type StartSchemaExtensionRequest

type StartSchemaExtensionRequest struct {
	*aws.Request
	Input *StartSchemaExtensionInput
	Copy  func(*StartSchemaExtensionInput) StartSchemaExtensionRequest
}

StartSchemaExtensionRequest is the request type for the StartSchemaExtension API operation.

func (StartSchemaExtensionRequest) Send

Send marshals and sends the StartSchemaExtension API request.

type StartSchemaExtensionResponse added in v0.9.0

type StartSchemaExtensionResponse struct {
	*StartSchemaExtensionOutput
	// contains filtered or unexported fields
}

StartSchemaExtensionResponse is the response type for the StartSchemaExtension API operation.

func (*StartSchemaExtensionResponse) SDKResponseMetdata added in v0.9.0

func (r *StartSchemaExtensionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartSchemaExtension request.

type Tag

type Tag struct {

	// 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}_.:/=+\\-]*)$").
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// 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}_.:/=+\\-]*)$").
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TargetType added in v0.5.0

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

Enum values for TargetType

func (TargetType) MarshalValue added in v0.5.0

func (enum TargetType) MarshalValue() (string, error)

func (TargetType) MarshalValueBuf added in v0.5.0

func (enum TargetType) MarshalValueBuf(b []byte) ([]byte, error)

type TopicStatus

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

Enum values for TopicStatus

func (TopicStatus) MarshalValue added in v0.3.0

func (enum TopicStatus) MarshalValue() (string, error)

func (TopicStatus) MarshalValueBuf added in v0.3.0

func (enum TopicStatus) MarshalValueBuf(b []byte) ([]byte, error)

type Trust

type Trust struct {

	// The date and time that the trust relationship was created.
	CreatedDateTime *time.Time `type:"timestamp"`

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

	// The date and time that the trust relationship was last updated.
	LastUpdatedDateTime *time.Time `type:"timestamp"`

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

	// Current state of selective authentication for the trust.
	SelectiveAuth SelectiveAuth `type:"string" enum:"true"`

	// The date and time that the TrustState was last updated.
	StateLastUpdatedDateTime *time.Time `type:"timestamp"`

	// The trust relationship direction.
	TrustDirection TrustDirection `type:"string" enum:"true"`

	// The unique ID of the trust relationship.
	TrustId *string `type:"string"`

	// The trust relationship state.
	TrustState TrustState `type:"string" enum:"true"`

	// The reason for the TrustState.
	TrustStateReason *string `type:"string"`

	// The trust relationship type. Forest is the default.
	TrustType TrustType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (Trust) String

func (s Trust) String() string

String returns the string representation

type TrustDirection

type TrustDirection string
const (
	TrustDirectionOneWayOutgoing TrustDirection = "One-Way: Outgoing"
	TrustDirectionOneWayIncoming TrustDirection = "One-Way: Incoming"
	TrustDirectionTwoWay         TrustDirection = "Two-Way"
)

Enum values for TrustDirection

func (TrustDirection) MarshalValue added in v0.3.0

func (enum TrustDirection) MarshalValue() (string, error)

func (TrustDirection) MarshalValueBuf added in v0.3.0

func (enum TrustDirection) MarshalValueBuf(b []byte) ([]byte, error)

type TrustState

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

Enum values for TrustState

func (TrustState) MarshalValue added in v0.3.0

func (enum TrustState) MarshalValue() (string, error)

func (TrustState) MarshalValueBuf added in v0.3.0

func (enum TrustState) MarshalValueBuf(b []byte) ([]byte, error)

type TrustType

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

Enum values for TrustType

func (TrustType) MarshalValue added in v0.3.0

func (enum TrustType) MarshalValue() (string, error)

func (TrustType) MarshalValueBuf added in v0.3.0

func (enum TrustType) MarshalValueBuf(b []byte) ([]byte, error)

type UnshareDirectoryInput added in v0.5.0

type UnshareDirectoryInput struct {

	// The identifier of the AWS Managed Microsoft AD directory that you want to
	// stop sharing.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// Identifier for the directory consumer account with whom the directory has
	// to be unshared.
	//
	// UnshareTarget is a required field
	UnshareTarget *UnshareTarget `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UnshareDirectoryInput) String added in v0.5.0

func (s UnshareDirectoryInput) String() string

String returns the string representation

func (*UnshareDirectoryInput) Validate added in v0.5.0

func (s *UnshareDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UnshareDirectoryOutput added in v0.5.0

type UnshareDirectoryOutput struct {

	// Identifier of the directory stored in the directory consumer account that
	// is to be unshared from the specified directory (DirectoryId).
	SharedDirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

func (UnshareDirectoryOutput) String added in v0.5.0

func (s UnshareDirectoryOutput) String() string

String returns the string representation

type UnshareDirectoryRequest added in v0.5.0

type UnshareDirectoryRequest struct {
	*aws.Request
	Input *UnshareDirectoryInput
	Copy  func(*UnshareDirectoryInput) UnshareDirectoryRequest
}

UnshareDirectoryRequest is the request type for the UnshareDirectory API operation.

func (UnshareDirectoryRequest) Send added in v0.5.0

Send marshals and sends the UnshareDirectory API request.

type UnshareDirectoryResponse added in v0.9.0

type UnshareDirectoryResponse struct {
	*UnshareDirectoryOutput
	// contains filtered or unexported fields
}

UnshareDirectoryResponse is the response type for the UnshareDirectory API operation.

func (*UnshareDirectoryResponse) SDKResponseMetdata added in v0.9.0

func (r *UnshareDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UnshareDirectory request.

type UnshareTarget added in v0.5.0

type UnshareTarget struct {

	// Identifier of the directory consumer account.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// Type of identifier to be used in the Id field.
	//
	// Type is a required field
	Type TargetType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

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

func (UnshareTarget) String added in v0.5.0

func (s UnshareTarget) String() string

String returns the string representation

func (*UnshareTarget) Validate added in v0.5.0

func (s *UnshareTarget) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConditionalForwarderInput

type UpdateConditionalForwarderInput struct {

	// The directory ID of the AWS directory for which to update the conditional
	// forwarder.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// The updated IP addresses of the remote DNS server associated with the conditional
	// forwarder.
	//
	// DnsIpAddrs is a required field
	DnsIpAddrs []string `type:"list" required:"true"`

	// The fully qualified domain name (FQDN) of the remote domain with which you
	// will set up a trust relationship.
	//
	// RemoteDomainName is a required field
	RemoteDomainName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Updates a conditional forwarder.

func (UpdateConditionalForwarderInput) String

String returns the string representation

func (*UpdateConditionalForwarderInput) Validate

func (s *UpdateConditionalForwarderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConditionalForwarderOutput

type UpdateConditionalForwarderOutput struct {
	// contains filtered or unexported fields
}

The result of an UpdateConditionalForwarder request.

func (UpdateConditionalForwarderOutput) String

String returns the string representation

type UpdateConditionalForwarderRequest

type UpdateConditionalForwarderRequest struct {
	*aws.Request
	Input *UpdateConditionalForwarderInput
	Copy  func(*UpdateConditionalForwarderInput) UpdateConditionalForwarderRequest
}

UpdateConditionalForwarderRequest is the request type for the UpdateConditionalForwarder API operation.

func (UpdateConditionalForwarderRequest) Send

Send marshals and sends the UpdateConditionalForwarder API request.

type UpdateConditionalForwarderResponse added in v0.9.0

type UpdateConditionalForwarderResponse struct {
	*UpdateConditionalForwarderOutput
	// contains filtered or unexported fields
}

UpdateConditionalForwarderResponse is the response type for the UpdateConditionalForwarder API operation.

func (*UpdateConditionalForwarderResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateConditionalForwarderResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateConditionalForwarder request.

type UpdateNumberOfDomainControllersInput

type UpdateNumberOfDomainControllersInput struct {

	// The number of domain controllers desired in the directory.
	//
	// DesiredNumber is a required field
	DesiredNumber *int64 `min:"2" type:"integer" required:"true"`

	// Identifier of the directory to which the domain controllers will be added
	// or removed.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateNumberOfDomainControllersInput) String

String returns the string representation

func (*UpdateNumberOfDomainControllersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateNumberOfDomainControllersOutput

type UpdateNumberOfDomainControllersOutput struct {
	// contains filtered or unexported fields
}

func (UpdateNumberOfDomainControllersOutput) String

String returns the string representation

type UpdateNumberOfDomainControllersRequest

type UpdateNumberOfDomainControllersRequest struct {
	*aws.Request
	Input *UpdateNumberOfDomainControllersInput
	Copy  func(*UpdateNumberOfDomainControllersInput) UpdateNumberOfDomainControllersRequest
}

UpdateNumberOfDomainControllersRequest is the request type for the UpdateNumberOfDomainControllers API operation.

func (UpdateNumberOfDomainControllersRequest) Send

Send marshals and sends the UpdateNumberOfDomainControllers API request.

type UpdateNumberOfDomainControllersResponse added in v0.9.0

type UpdateNumberOfDomainControllersResponse struct {
	*UpdateNumberOfDomainControllersOutput
	// contains filtered or unexported fields
}

UpdateNumberOfDomainControllersResponse is the response type for the UpdateNumberOfDomainControllers API operation.

func (*UpdateNumberOfDomainControllersResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateNumberOfDomainControllersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateNumberOfDomainControllers request.

type UpdateRadiusInput

type UpdateRadiusInput struct {

	// The identifier of the directory for which to update the RADIUS server information.
	//
	// DirectoryId is a required field
	DirectoryId *string `type:"string" required:"true"`

	// A RadiusSettings object that contains information about the RADIUS server.
	//
	// RadiusSettings is a required field
	RadiusSettings *RadiusSettings `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains the inputs for the UpdateRadius operation.

func (UpdateRadiusInput) String

func (s UpdateRadiusInput) String() string

String returns the string representation

func (*UpdateRadiusInput) Validate

func (s *UpdateRadiusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRadiusOutput

type UpdateRadiusOutput struct {
	// contains filtered or unexported fields
}

Contains the results of the UpdateRadius operation.

func (UpdateRadiusOutput) String

func (s UpdateRadiusOutput) String() string

String returns the string representation

type UpdateRadiusRequest

type UpdateRadiusRequest struct {
	*aws.Request
	Input *UpdateRadiusInput
	Copy  func(*UpdateRadiusInput) UpdateRadiusRequest
}

UpdateRadiusRequest is the request type for the UpdateRadius API operation.

func (UpdateRadiusRequest) Send

Send marshals and sends the UpdateRadius API request.

type UpdateRadiusResponse added in v0.9.0

type UpdateRadiusResponse struct {
	*UpdateRadiusOutput
	// contains filtered or unexported fields
}

UpdateRadiusResponse is the response type for the UpdateRadius API operation.

func (*UpdateRadiusResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateRadiusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRadius request.

type UpdateTrustInput added in v0.6.0

type UpdateTrustInput struct {

	// Updates selective authentication for the trust.
	SelectiveAuth SelectiveAuth `type:"string" enum:"true"`

	// Identifier of the trust relationship.
	//
	// TrustId is a required field
	TrustId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateTrustInput) String added in v0.6.0

func (s UpdateTrustInput) String() string

String returns the string representation

func (*UpdateTrustInput) Validate added in v0.6.0

func (s *UpdateTrustInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateTrustOutput added in v0.6.0

type UpdateTrustOutput struct {

	// The AWS request identifier.
	RequestId *string `type:"string"`

	// Identifier of the trust relationship.
	TrustId *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateTrustOutput) String added in v0.6.0

func (s UpdateTrustOutput) String() string

String returns the string representation

type UpdateTrustRequest added in v0.6.0

type UpdateTrustRequest struct {
	*aws.Request
	Input *UpdateTrustInput
	Copy  func(*UpdateTrustInput) UpdateTrustRequest
}

UpdateTrustRequest is the request type for the UpdateTrust API operation.

func (UpdateTrustRequest) Send added in v0.6.0

Send marshals and sends the UpdateTrust API request.

type UpdateTrustResponse added in v0.9.0

type UpdateTrustResponse struct {
	*UpdateTrustOutput
	// contains filtered or unexported fields
}

UpdateTrustResponse is the response type for the UpdateTrust API operation.

func (*UpdateTrustResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateTrustResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateTrust request.

type VerifyTrustInput

type VerifyTrustInput struct {

	// The unique Trust ID of the trust relationship to verify.
	//
	// TrustId is a required field
	TrustId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Initiates the verification of an existing trust relationship between an AWS Managed Microsoft AD directory and an external domain.

func (VerifyTrustInput) String

func (s VerifyTrustInput) String() string

String returns the string representation

func (*VerifyTrustInput) Validate

func (s *VerifyTrustInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type VerifyTrustOutput

type VerifyTrustOutput struct {

	// The unique Trust ID of the trust relationship that was verified.
	TrustId *string `type:"string"`
	// contains filtered or unexported fields
}

Result of a VerifyTrust request.

func (VerifyTrustOutput) String

func (s VerifyTrustOutput) String() string

String returns the string representation

type VerifyTrustRequest

type VerifyTrustRequest struct {
	*aws.Request
	Input *VerifyTrustInput
	Copy  func(*VerifyTrustInput) VerifyTrustRequest
}

VerifyTrustRequest is the request type for the VerifyTrust API operation.

func (VerifyTrustRequest) Send

Send marshals and sends the VerifyTrust API request.

type VerifyTrustResponse added in v0.9.0

type VerifyTrustResponse struct {
	*VerifyTrustOutput
	// contains filtered or unexported fields
}

VerifyTrustResponse is the response type for the VerifyTrust API operation.

func (*VerifyTrustResponse) SDKResponseMetdata added in v0.9.0

func (r *VerifyTrustResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the VerifyTrust request.

Source Files

Directories

Path Synopsis
Package directoryserviceiface provides an interface to enable mocking the AWS Directory Service service client for testing your code.
Package directoryserviceiface provides an interface to enable mocking the AWS Directory Service service client for testing your code.

Jump to

Keyboard shortcuts

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