aws-sdk-go: github.com/aws/aws-sdk-go/service/directoryservice Index | Files | Directories

package directoryservice

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

Package directoryservice provides the client and types for making API requests to AWS 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 contact AWS 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 AWS Directory Service client DirectoryService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/directoryservice/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // DirectoryEditionEnterprise is a DirectoryEdition enum value
    DirectoryEditionEnterprise = "Enterprise"

    // DirectoryEditionStandard is a DirectoryEdition enum value
    DirectoryEditionStandard = "Standard"
)
const (
    // DirectorySizeSmall is a DirectorySize enum value
    DirectorySizeSmall = "Small"

    // DirectorySizeLarge is a DirectorySize enum value
    DirectorySizeLarge = "Large"
)
const (
    // DirectoryStageRequested is a DirectoryStage enum value
    DirectoryStageRequested = "Requested"

    // DirectoryStageCreating is a DirectoryStage enum value
    DirectoryStageCreating = "Creating"

    // DirectoryStageCreated is a DirectoryStage enum value
    DirectoryStageCreated = "Created"

    // DirectoryStageActive is a DirectoryStage enum value
    DirectoryStageActive = "Active"

    // DirectoryStageInoperable is a DirectoryStage enum value
    DirectoryStageInoperable = "Inoperable"

    // DirectoryStageImpaired is a DirectoryStage enum value
    DirectoryStageImpaired = "Impaired"

    // DirectoryStageRestoring is a DirectoryStage enum value
    DirectoryStageRestoring = "Restoring"

    // DirectoryStageRestoreFailed is a DirectoryStage enum value
    DirectoryStageRestoreFailed = "RestoreFailed"

    // DirectoryStageDeleting is a DirectoryStage enum value
    DirectoryStageDeleting = "Deleting"

    // DirectoryStageDeleted is a DirectoryStage enum value
    DirectoryStageDeleted = "Deleted"

    // DirectoryStageFailed is a DirectoryStage enum value
    DirectoryStageFailed = "Failed"
)
const (
    // DirectoryTypeSimpleAd is a DirectoryType enum value
    DirectoryTypeSimpleAd = "SimpleAD"

    // DirectoryTypeAdconnector is a DirectoryType enum value
    DirectoryTypeAdconnector = "ADConnector"

    // DirectoryTypeMicrosoftAd is a DirectoryType enum value
    DirectoryTypeMicrosoftAd = "MicrosoftAD"

    // DirectoryTypeSharedMicrosoftAd is a DirectoryType enum value
    DirectoryTypeSharedMicrosoftAd = "SharedMicrosoftAD"
)
const (
    // DomainControllerStatusCreating is a DomainControllerStatus enum value
    DomainControllerStatusCreating = "Creating"

    // DomainControllerStatusActive is a DomainControllerStatus enum value
    DomainControllerStatusActive = "Active"

    // DomainControllerStatusImpaired is a DomainControllerStatus enum value
    DomainControllerStatusImpaired = "Impaired"

    // DomainControllerStatusRestoring is a DomainControllerStatus enum value
    DomainControllerStatusRestoring = "Restoring"

    // DomainControllerStatusDeleting is a DomainControllerStatus enum value
    DomainControllerStatusDeleting = "Deleting"

    // DomainControllerStatusDeleted is a DomainControllerStatus enum value
    DomainControllerStatusDeleted = "Deleted"

    // DomainControllerStatusFailed is a DomainControllerStatus enum value
    DomainControllerStatusFailed = "Failed"
)
const (
    // IpRouteStatusMsgAdding is a IpRouteStatusMsg enum value
    IpRouteStatusMsgAdding = "Adding"

    // IpRouteStatusMsgAdded is a IpRouteStatusMsg enum value
    IpRouteStatusMsgAdded = "Added"

    // IpRouteStatusMsgRemoving is a IpRouteStatusMsg enum value
    IpRouteStatusMsgRemoving = "Removing"

    // IpRouteStatusMsgRemoved is a IpRouteStatusMsg enum value
    IpRouteStatusMsgRemoved = "Removed"

    // IpRouteStatusMsgAddFailed is a IpRouteStatusMsg enum value
    IpRouteStatusMsgAddFailed = "AddFailed"

    // IpRouteStatusMsgRemoveFailed is a IpRouteStatusMsg enum value
    IpRouteStatusMsgRemoveFailed = "RemoveFailed"
)
const (
    // RadiusAuthenticationProtocolPap is a RadiusAuthenticationProtocol enum value
    RadiusAuthenticationProtocolPap = "PAP"

    // RadiusAuthenticationProtocolChap is a RadiusAuthenticationProtocol enum value
    RadiusAuthenticationProtocolChap = "CHAP"

    // RadiusAuthenticationProtocolMsChapv1 is a RadiusAuthenticationProtocol enum value
    RadiusAuthenticationProtocolMsChapv1 = "MS-CHAPv1"

    // RadiusAuthenticationProtocolMsChapv2 is a RadiusAuthenticationProtocol enum value
    RadiusAuthenticationProtocolMsChapv2 = "MS-CHAPv2"
)
const (
    // RadiusStatusCreating is a RadiusStatus enum value
    RadiusStatusCreating = "Creating"

    // RadiusStatusCompleted is a RadiusStatus enum value
    RadiusStatusCompleted = "Completed"

    // RadiusStatusFailed is a RadiusStatus enum value
    RadiusStatusFailed = "Failed"
)
const (
    // SchemaExtensionStatusInitializing is a SchemaExtensionStatus enum value
    SchemaExtensionStatusInitializing = "Initializing"

    // SchemaExtensionStatusCreatingSnapshot is a SchemaExtensionStatus enum value
    SchemaExtensionStatusCreatingSnapshot = "CreatingSnapshot"

    // SchemaExtensionStatusUpdatingSchema is a SchemaExtensionStatus enum value
    SchemaExtensionStatusUpdatingSchema = "UpdatingSchema"

    // SchemaExtensionStatusReplicating is a SchemaExtensionStatus enum value
    SchemaExtensionStatusReplicating = "Replicating"

    // SchemaExtensionStatusCancelInProgress is a SchemaExtensionStatus enum value
    SchemaExtensionStatusCancelInProgress = "CancelInProgress"

    // SchemaExtensionStatusRollbackInProgress is a SchemaExtensionStatus enum value
    SchemaExtensionStatusRollbackInProgress = "RollbackInProgress"

    // SchemaExtensionStatusCancelled is a SchemaExtensionStatus enum value
    SchemaExtensionStatusCancelled = "Cancelled"

    // SchemaExtensionStatusFailed is a SchemaExtensionStatus enum value
    SchemaExtensionStatusFailed = "Failed"

    // SchemaExtensionStatusCompleted is a SchemaExtensionStatus enum value
    SchemaExtensionStatusCompleted = "Completed"
)
const (
    // SelectiveAuthEnabled is a SelectiveAuth enum value
    SelectiveAuthEnabled = "Enabled"

    // SelectiveAuthDisabled is a SelectiveAuth enum value
    SelectiveAuthDisabled = "Disabled"
)
const (
    // ShareMethodOrganizations is a ShareMethod enum value
    ShareMethodOrganizations = "ORGANIZATIONS"

    // ShareMethodHandshake is a ShareMethod enum value
    ShareMethodHandshake = "HANDSHAKE"
)
const (
    // ShareStatusShared is a ShareStatus enum value
    ShareStatusShared = "Shared"

    // ShareStatusPendingAcceptance is a ShareStatus enum value
    ShareStatusPendingAcceptance = "PendingAcceptance"

    // ShareStatusRejected is a ShareStatus enum value
    ShareStatusRejected = "Rejected"

    // ShareStatusRejecting is a ShareStatus enum value
    ShareStatusRejecting = "Rejecting"

    // ShareStatusRejectFailed is a ShareStatus enum value
    ShareStatusRejectFailed = "RejectFailed"

    // ShareStatusSharing is a ShareStatus enum value
    ShareStatusSharing = "Sharing"

    // ShareStatusShareFailed is a ShareStatus enum value
    ShareStatusShareFailed = "ShareFailed"

    // ShareStatusDeleted is a ShareStatus enum value
    ShareStatusDeleted = "Deleted"

    // ShareStatusDeleting is a ShareStatus enum value
    ShareStatusDeleting = "Deleting"
)
const (
    // SnapshotStatusCreating is a SnapshotStatus enum value
    SnapshotStatusCreating = "Creating"

    // SnapshotStatusCompleted is a SnapshotStatus enum value
    SnapshotStatusCompleted = "Completed"

    // SnapshotStatusFailed is a SnapshotStatus enum value
    SnapshotStatusFailed = "Failed"
)
const (
    // SnapshotTypeAuto is a SnapshotType enum value
    SnapshotTypeAuto = "Auto"

    // SnapshotTypeManual is a SnapshotType enum value
    SnapshotTypeManual = "Manual"
)
const (
    // TopicStatusRegistered is a TopicStatus enum value
    TopicStatusRegistered = "Registered"

    // TopicStatusTopicnotfound is a TopicStatus enum value
    TopicStatusTopicnotfound = "Topic not found"

    // TopicStatusFailed is a TopicStatus enum value
    TopicStatusFailed = "Failed"

    // TopicStatusDeleted is a TopicStatus enum value
    TopicStatusDeleted = "Deleted"
)
const (
    // TrustDirectionOneWayOutgoing is a TrustDirection enum value
    TrustDirectionOneWayOutgoing = "One-Way: Outgoing"

    // TrustDirectionOneWayIncoming is a TrustDirection enum value
    TrustDirectionOneWayIncoming = "One-Way: Incoming"

    // TrustDirectionTwoWay is a TrustDirection enum value
    TrustDirectionTwoWay = "Two-Way"
)
const (
    // TrustStateCreating is a TrustState enum value
    TrustStateCreating = "Creating"

    // TrustStateCreated is a TrustState enum value
    TrustStateCreated = "Created"

    // TrustStateVerifying is a TrustState enum value
    TrustStateVerifying = "Verifying"

    // TrustStateVerifyFailed is a TrustState enum value
    TrustStateVerifyFailed = "VerifyFailed"

    // TrustStateVerified is a TrustState enum value
    TrustStateVerified = "Verified"

    // TrustStateUpdating is a TrustState enum value
    TrustStateUpdating = "Updating"

    // TrustStateUpdateFailed is a TrustState enum value
    TrustStateUpdateFailed = "UpdateFailed"

    // TrustStateUpdated is a TrustState enum value
    TrustStateUpdated = "Updated"

    // TrustStateDeleting is a TrustState enum value
    TrustStateDeleting = "Deleting"

    // TrustStateDeleted is a TrustState enum value
    TrustStateDeleted = "Deleted"

    // TrustStateFailed is a TrustState enum value
    TrustStateFailed = "Failed"
)
const (
    // TrustTypeForest is a TrustType enum value
    TrustTypeForest = "Forest"

    // TrustTypeExternal is a TrustType enum value
    TrustTypeExternal = "External"
)
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"

    // ErrCodeClientException for service response error code
    // "ClientException".
    //
    // A client exception has occurred.
    ErrCodeClientException = "ClientException"

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

    // 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"

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

    // 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"

    // 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"
)
const (
    ServiceName = "ds"                // Name of service.
    EndpointsID = ServiceName         // ID to lookup a service endpoint with.
    ServiceID   = "Directory Service" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // ReplicationScopeDomain is a ReplicationScope enum value
    ReplicationScopeDomain = "Domain"
)
const (
    // TargetTypeAccount is a TargetType enum value
    TargetTypeAccount = "ACCOUNT"
)

type AcceptSharedDirectoryInput Uses

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) GoString Uses

func (s AcceptSharedDirectoryInput) GoString() string

GoString returns the string representation

func (*AcceptSharedDirectoryInput) SetSharedDirectoryId Uses

func (s *AcceptSharedDirectoryInput) SetSharedDirectoryId(v string) *AcceptSharedDirectoryInput

SetSharedDirectoryId sets the SharedDirectoryId field's value.

func (AcceptSharedDirectoryInput) String Uses

func (s AcceptSharedDirectoryInput) String() string

String returns the string representation

func (*AcceptSharedDirectoryInput) Validate Uses

func (s *AcceptSharedDirectoryInput) Validate() error

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

type AcceptSharedDirectoryOutput Uses

type AcceptSharedDirectoryOutput struct {

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

func (AcceptSharedDirectoryOutput) GoString Uses

func (s AcceptSharedDirectoryOutput) GoString() string

GoString returns the string representation

func (*AcceptSharedDirectoryOutput) SetSharedDirectory Uses

func (s *AcceptSharedDirectoryOutput) SetSharedDirectory(v *SharedDirectory) *AcceptSharedDirectoryOutput

SetSharedDirectory sets the SharedDirectory field's value.

func (AcceptSharedDirectoryOutput) String Uses

func (s AcceptSharedDirectoryOutput) String() string

String returns the string representation

type AddIpRoutesInput Uses

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) GoString Uses

func (s AddIpRoutesInput) GoString() string

GoString returns the string representation

func (*AddIpRoutesInput) SetDirectoryId Uses

func (s *AddIpRoutesInput) SetDirectoryId(v string) *AddIpRoutesInput

SetDirectoryId sets the DirectoryId field's value.

func (*AddIpRoutesInput) SetIpRoutes Uses

func (s *AddIpRoutesInput) SetIpRoutes(v []*IpRoute) *AddIpRoutesInput

SetIpRoutes sets the IpRoutes field's value.

func (*AddIpRoutesInput) SetUpdateSecurityGroupForDirectoryControllers Uses

func (s *AddIpRoutesInput) SetUpdateSecurityGroupForDirectoryControllers(v bool) *AddIpRoutesInput

SetUpdateSecurityGroupForDirectoryControllers sets the UpdateSecurityGroupForDirectoryControllers field's value.

func (AddIpRoutesInput) String Uses

func (s AddIpRoutesInput) String() string

String returns the string representation

func (*AddIpRoutesInput) Validate Uses

func (s *AddIpRoutesInput) Validate() error

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

type AddIpRoutesOutput Uses

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

func (AddIpRoutesOutput) GoString Uses

func (s AddIpRoutesOutput) GoString() string

GoString returns the string representation

func (AddIpRoutesOutput) String Uses

func (s AddIpRoutesOutput) String() string

String returns the string representation

type AddTagsToResourceInput Uses

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) GoString Uses

func (s AddTagsToResourceInput) GoString() string

GoString returns the string representation

func (*AddTagsToResourceInput) SetResourceId Uses

func (s *AddTagsToResourceInput) SetResourceId(v string) *AddTagsToResourceInput

SetResourceId sets the ResourceId field's value.

func (*AddTagsToResourceInput) SetTags Uses

func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput

SetTags sets the Tags field's value.

func (AddTagsToResourceInput) String Uses

func (s AddTagsToResourceInput) String() string

String returns the string representation

func (*AddTagsToResourceInput) Validate Uses

func (s *AddTagsToResourceInput) Validate() error

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

type AddTagsToResourceOutput Uses

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

func (AddTagsToResourceOutput) GoString Uses

func (s AddTagsToResourceOutput) GoString() string

GoString returns the string representation

func (AddTagsToResourceOutput) String Uses

func (s AddTagsToResourceOutput) String() string

String returns the string representation

type Attribute Uses

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) GoString Uses

func (s Attribute) GoString() string

GoString returns the string representation

func (*Attribute) SetName Uses

func (s *Attribute) SetName(v string) *Attribute

SetName sets the Name field's value.

func (*Attribute) SetValue Uses

func (s *Attribute) SetValue(v string) *Attribute

SetValue sets the Value field's value.

func (Attribute) String Uses

func (s Attribute) String() string

String returns the string representation

func (*Attribute) Validate Uses

func (s *Attribute) Validate() error

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

type CancelSchemaExtensionInput Uses

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) GoString Uses

func (s CancelSchemaExtensionInput) GoString() string

GoString returns the string representation

func (*CancelSchemaExtensionInput) SetDirectoryId Uses

func (s *CancelSchemaExtensionInput) SetDirectoryId(v string) *CancelSchemaExtensionInput

SetDirectoryId sets the DirectoryId field's value.

func (*CancelSchemaExtensionInput) SetSchemaExtensionId Uses

func (s *CancelSchemaExtensionInput) SetSchemaExtensionId(v string) *CancelSchemaExtensionInput

SetSchemaExtensionId sets the SchemaExtensionId field's value.

func (CancelSchemaExtensionInput) String Uses

func (s CancelSchemaExtensionInput) String() string

String returns the string representation

func (*CancelSchemaExtensionInput) Validate Uses

func (s *CancelSchemaExtensionInput) Validate() error

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

type CancelSchemaExtensionOutput Uses

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

func (CancelSchemaExtensionOutput) GoString Uses

func (s CancelSchemaExtensionOutput) GoString() string

GoString returns the string representation

func (CancelSchemaExtensionOutput) String Uses

func (s CancelSchemaExtensionOutput) String() string

String returns the string representation

type Computer Uses

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) GoString Uses

func (s Computer) GoString() string

GoString returns the string representation

func (*Computer) SetComputerAttributes Uses

func (s *Computer) SetComputerAttributes(v []*Attribute) *Computer

SetComputerAttributes sets the ComputerAttributes field's value.

func (*Computer) SetComputerId Uses

func (s *Computer) SetComputerId(v string) *Computer

SetComputerId sets the ComputerId field's value.

func (*Computer) SetComputerName Uses

func (s *Computer) SetComputerName(v string) *Computer

SetComputerName sets the ComputerName field's value.

func (Computer) String Uses

func (s Computer) String() string

String returns the string representation

type ConditionalForwarder Uses

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 *string `type:"string" enum:"ReplicationScope"`
    // 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) GoString Uses

func (s ConditionalForwarder) GoString() string

GoString returns the string representation

func (*ConditionalForwarder) SetDnsIpAddrs Uses

func (s *ConditionalForwarder) SetDnsIpAddrs(v []*string) *ConditionalForwarder

SetDnsIpAddrs sets the DnsIpAddrs field's value.

func (*ConditionalForwarder) SetRemoteDomainName Uses

func (s *ConditionalForwarder) SetRemoteDomainName(v string) *ConditionalForwarder

SetRemoteDomainName sets the RemoteDomainName field's value.

func (*ConditionalForwarder) SetReplicationScope Uses

func (s *ConditionalForwarder) SetReplicationScope(v string) *ConditionalForwarder

SetReplicationScope sets the ReplicationScope field's value.

func (ConditionalForwarder) String Uses

func (s ConditionalForwarder) String() string

String returns the string representation

type ConnectDirectoryInput Uses

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 textual 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 *string `type:"string" required:"true" enum:"DirectorySize"`

    // 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) GoString Uses

func (s ConnectDirectoryInput) GoString() string

GoString returns the string representation

func (*ConnectDirectoryInput) SetConnectSettings Uses

func (s *ConnectDirectoryInput) SetConnectSettings(v *DirectoryConnectSettings) *ConnectDirectoryInput

SetConnectSettings sets the ConnectSettings field's value.

func (*ConnectDirectoryInput) SetDescription Uses

func (s *ConnectDirectoryInput) SetDescription(v string) *ConnectDirectoryInput

SetDescription sets the Description field's value.

func (*ConnectDirectoryInput) SetName Uses

func (s *ConnectDirectoryInput) SetName(v string) *ConnectDirectoryInput

SetName sets the Name field's value.

func (*ConnectDirectoryInput) SetPassword Uses

func (s *ConnectDirectoryInput) SetPassword(v string) *ConnectDirectoryInput

SetPassword sets the Password field's value.

func (*ConnectDirectoryInput) SetShortName Uses

func (s *ConnectDirectoryInput) SetShortName(v string) *ConnectDirectoryInput

SetShortName sets the ShortName field's value.

func (*ConnectDirectoryInput) SetSize Uses

func (s *ConnectDirectoryInput) SetSize(v string) *ConnectDirectoryInput

SetSize sets the Size field's value.

func (*ConnectDirectoryInput) SetTags Uses

func (s *ConnectDirectoryInput) SetTags(v []*Tag) *ConnectDirectoryInput

SetTags sets the Tags field's value.

func (ConnectDirectoryInput) String Uses

func (s ConnectDirectoryInput) String() string

String returns the string representation

func (*ConnectDirectoryInput) Validate Uses

func (s *ConnectDirectoryInput) Validate() error

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

type ConnectDirectoryOutput Uses

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) GoString Uses

func (s ConnectDirectoryOutput) GoString() string

GoString returns the string representation

func (*ConnectDirectoryOutput) SetDirectoryId Uses

func (s *ConnectDirectoryOutput) SetDirectoryId(v string) *ConnectDirectoryOutput

SetDirectoryId sets the DirectoryId field's value.

func (ConnectDirectoryOutput) String Uses

func (s ConnectDirectoryOutput) String() string

String returns the string representation

type CreateAliasInput Uses

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) GoString Uses

func (s CreateAliasInput) GoString() string

GoString returns the string representation

func (*CreateAliasInput) SetAlias Uses

func (s *CreateAliasInput) SetAlias(v string) *CreateAliasInput

SetAlias sets the Alias field's value.

func (*CreateAliasInput) SetDirectoryId Uses

func (s *CreateAliasInput) SetDirectoryId(v string) *CreateAliasInput

SetDirectoryId sets the DirectoryId field's value.

func (CreateAliasInput) String Uses

func (s CreateAliasInput) String() string

String returns the string representation

func (*CreateAliasInput) Validate Uses

func (s *CreateAliasInput) Validate() error

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

type CreateAliasOutput Uses

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) GoString Uses

func (s CreateAliasOutput) GoString() string

GoString returns the string representation

func (*CreateAliasOutput) SetAlias Uses

func (s *CreateAliasOutput) SetAlias(v string) *CreateAliasOutput

SetAlias sets the Alias field's value.

func (*CreateAliasOutput) SetDirectoryId Uses

func (s *CreateAliasOutput) SetDirectoryId(v string) *CreateAliasOutput

SetDirectoryId sets the DirectoryId field's value.

func (CreateAliasOutput) String Uses

func (s CreateAliasOutput) String() string

String returns the string representation

type CreateComputerInput Uses

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) GoString Uses

func (s CreateComputerInput) GoString() string

GoString returns the string representation

func (*CreateComputerInput) SetComputerAttributes Uses

func (s *CreateComputerInput) SetComputerAttributes(v []*Attribute) *CreateComputerInput

SetComputerAttributes sets the ComputerAttributes field's value.

func (*CreateComputerInput) SetComputerName Uses

func (s *CreateComputerInput) SetComputerName(v string) *CreateComputerInput

SetComputerName sets the ComputerName field's value.

func (*CreateComputerInput) SetDirectoryId Uses

func (s *CreateComputerInput) SetDirectoryId(v string) *CreateComputerInput

SetDirectoryId sets the DirectoryId field's value.

func (*CreateComputerInput) SetOrganizationalUnitDistinguishedName Uses

func (s *CreateComputerInput) SetOrganizationalUnitDistinguishedName(v string) *CreateComputerInput

SetOrganizationalUnitDistinguishedName sets the OrganizationalUnitDistinguishedName field's value.

func (*CreateComputerInput) SetPassword Uses

func (s *CreateComputerInput) SetPassword(v string) *CreateComputerInput

SetPassword sets the Password field's value.

func (CreateComputerInput) String Uses

func (s CreateComputerInput) String() string

String returns the string representation

func (*CreateComputerInput) Validate Uses

func (s *CreateComputerInput) Validate() error

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

type CreateComputerOutput Uses

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) GoString Uses

func (s CreateComputerOutput) GoString() string

GoString returns the string representation

func (*CreateComputerOutput) SetComputer Uses

func (s *CreateComputerOutput) SetComputer(v *Computer) *CreateComputerOutput

SetComputer sets the Computer field's value.

func (CreateComputerOutput) String Uses

func (s CreateComputerOutput) String() string

String returns the string representation

type CreateConditionalForwarderInput Uses

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) GoString Uses

func (s CreateConditionalForwarderInput) GoString() string

GoString returns the string representation

func (*CreateConditionalForwarderInput) SetDirectoryId Uses

func (s *CreateConditionalForwarderInput) SetDirectoryId(v string) *CreateConditionalForwarderInput

SetDirectoryId sets the DirectoryId field's value.

func (*CreateConditionalForwarderInput) SetDnsIpAddrs Uses

func (s *CreateConditionalForwarderInput) SetDnsIpAddrs(v []*string) *CreateConditionalForwarderInput

SetDnsIpAddrs sets the DnsIpAddrs field's value.

func (*CreateConditionalForwarderInput) SetRemoteDomainName Uses

func (s *CreateConditionalForwarderInput) SetRemoteDomainName(v string) *CreateConditionalForwarderInput

SetRemoteDomainName sets the RemoteDomainName field's value.

func (CreateConditionalForwarderInput) String Uses

func (s CreateConditionalForwarderInput) String() string

String returns the string representation

func (*CreateConditionalForwarderInput) Validate Uses

func (s *CreateConditionalForwarderInput) Validate() error

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

type CreateConditionalForwarderOutput Uses

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

The result of a CreateConditinalForwarder request.

func (CreateConditionalForwarderOutput) GoString Uses

func (s CreateConditionalForwarderOutput) GoString() string

GoString returns the string representation

func (CreateConditionalForwarderOutput) String Uses

func (s CreateConditionalForwarderOutput) String() string

String returns the string representation

type CreateDirectoryInput Uses

type CreateDirectoryInput struct {

    // A textual 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.
    //
    // Password is a required field
    Password *string `type:"string" required:"true" sensitive:"true"`

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

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

    // 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) GoString Uses

func (s CreateDirectoryInput) GoString() string

GoString returns the string representation

func (*CreateDirectoryInput) SetDescription Uses

func (s *CreateDirectoryInput) SetDescription(v string) *CreateDirectoryInput

SetDescription sets the Description field's value.

func (*CreateDirectoryInput) SetName Uses

func (s *CreateDirectoryInput) SetName(v string) *CreateDirectoryInput

SetName sets the Name field's value.

func (*CreateDirectoryInput) SetPassword Uses

func (s *CreateDirectoryInput) SetPassword(v string) *CreateDirectoryInput

SetPassword sets the Password field's value.

func (*CreateDirectoryInput) SetShortName Uses

func (s *CreateDirectoryInput) SetShortName(v string) *CreateDirectoryInput

SetShortName sets the ShortName field's value.

func (*CreateDirectoryInput) SetSize Uses

func (s *CreateDirectoryInput) SetSize(v string) *CreateDirectoryInput

SetSize sets the Size field's value.

func (*CreateDirectoryInput) SetTags Uses

func (s *CreateDirectoryInput) SetTags(v []*Tag) *CreateDirectoryInput

SetTags sets the Tags field's value.

func (*CreateDirectoryInput) SetVpcSettings Uses

func (s *CreateDirectoryInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateDirectoryInput

SetVpcSettings sets the VpcSettings field's value.

func (CreateDirectoryInput) String Uses

func (s CreateDirectoryInput) String() string

String returns the string representation

func (*CreateDirectoryInput) Validate Uses

func (s *CreateDirectoryInput) Validate() error

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

type CreateDirectoryOutput Uses

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) GoString Uses

func (s CreateDirectoryOutput) GoString() string

GoString returns the string representation

func (*CreateDirectoryOutput) SetDirectoryId Uses

func (s *CreateDirectoryOutput) SetDirectoryId(v string) *CreateDirectoryOutput

SetDirectoryId sets the DirectoryId field's value.

func (CreateDirectoryOutput) String Uses

func (s CreateDirectoryOutput) String() string

String returns the string representation

type CreateLogSubscriptionInput Uses

type CreateLogSubscriptionInput struct {

    // Identifier (ID) 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) GoString Uses

func (s CreateLogSubscriptionInput) GoString() string

GoString returns the string representation

func (*CreateLogSubscriptionInput) SetDirectoryId Uses

func (s *CreateLogSubscriptionInput) SetDirectoryId(v string) *CreateLogSubscriptionInput

SetDirectoryId sets the DirectoryId field's value.

func (*CreateLogSubscriptionInput) SetLogGroupName Uses

func (s *CreateLogSubscriptionInput) SetLogGroupName(v string) *CreateLogSubscriptionInput

SetLogGroupName sets the LogGroupName field's value.

func (CreateLogSubscriptionInput) String Uses

func (s CreateLogSubscriptionInput) String() string

String returns the string representation

func (*CreateLogSubscriptionInput) Validate Uses

func (s *CreateLogSubscriptionInput) Validate() error

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

type CreateLogSubscriptionOutput Uses

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

func (CreateLogSubscriptionOutput) GoString Uses

func (s CreateLogSubscriptionOutput) GoString() string

GoString returns the string representation

func (CreateLogSubscriptionOutput) String Uses

func (s CreateLogSubscriptionOutput) String() string

String returns the string representation

type CreateMicrosoftADInput Uses

type CreateMicrosoftADInput struct {

    // A textual 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 *string `type:"string" enum:"DirectoryEdition"`

    // The fully qualified domain name for the 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.
    //
    // Password is a required field
    Password *string `type:"string" required:"true" sensitive:"true"`

    // The NetBIOS name for your domain. A short identifier 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) GoString Uses

func (s CreateMicrosoftADInput) GoString() string

GoString returns the string representation

func (*CreateMicrosoftADInput) SetDescription Uses

func (s *CreateMicrosoftADInput) SetDescription(v string) *CreateMicrosoftADInput

SetDescription sets the Description field's value.

func (*CreateMicrosoftADInput) SetEdition Uses

func (s *CreateMicrosoftADInput) SetEdition(v string) *CreateMicrosoftADInput

SetEdition sets the Edition field's value.

func (*CreateMicrosoftADInput) SetName Uses

func (s *CreateMicrosoftADInput) SetName(v string) *CreateMicrosoftADInput

SetName sets the Name field's value.

func (*CreateMicrosoftADInput) SetPassword Uses

func (s *CreateMicrosoftADInput) SetPassword(v string) *CreateMicrosoftADInput

SetPassword sets the Password field's value.

func (*CreateMicrosoftADInput) SetShortName Uses

func (s *CreateMicrosoftADInput) SetShortName(v string) *CreateMicrosoftADInput

SetShortName sets the ShortName field's value.

func (*CreateMicrosoftADInput) SetTags Uses

func (s *CreateMicrosoftADInput) SetTags(v []*Tag) *CreateMicrosoftADInput

SetTags sets the Tags field's value.

func (*CreateMicrosoftADInput) SetVpcSettings Uses

func (s *CreateMicrosoftADInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateMicrosoftADInput

SetVpcSettings sets the VpcSettings field's value.

func (CreateMicrosoftADInput) String Uses

func (s CreateMicrosoftADInput) String() string

String returns the string representation

func (*CreateMicrosoftADInput) Validate Uses

func (s *CreateMicrosoftADInput) Validate() error

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

type CreateMicrosoftADOutput Uses

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) GoString Uses

func (s CreateMicrosoftADOutput) GoString() string

GoString returns the string representation

func (*CreateMicrosoftADOutput) SetDirectoryId Uses

func (s *CreateMicrosoftADOutput) SetDirectoryId(v string) *CreateMicrosoftADOutput

SetDirectoryId sets the DirectoryId field's value.

func (CreateMicrosoftADOutput) String Uses

func (s CreateMicrosoftADOutput) String() string

String returns the string representation

type CreateSnapshotInput Uses

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) GoString Uses

func (s CreateSnapshotInput) GoString() string

GoString returns the string representation

func (*CreateSnapshotInput) SetDirectoryId Uses

func (s *CreateSnapshotInput) SetDirectoryId(v string) *CreateSnapshotInput

SetDirectoryId sets the DirectoryId field's value.

func (*CreateSnapshotInput) SetName Uses

func (s *CreateSnapshotInput) SetName(v string) *CreateSnapshotInput

SetName sets the Name field's value.

func (CreateSnapshotInput) String Uses

func (s CreateSnapshotInput) String() string

String returns the string representation

func (*CreateSnapshotInput) Validate Uses

func (s *CreateSnapshotInput) Validate() error

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

type CreateSnapshotOutput Uses

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) GoString Uses

func (s CreateSnapshotOutput) GoString() string

GoString returns the string representation

func (*CreateSnapshotOutput) SetSnapshotId Uses

func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput

SetSnapshotId sets the SnapshotId field's value.

func (CreateSnapshotOutput) String Uses

func (s CreateSnapshotOutput) String() string

String returns the string representation

type CreateTrustInput Uses

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 *string `type:"string" enum:"SelectiveAuth"`

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

    // 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 *string `type:"string" enum:"TrustType"`
    // 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) GoString Uses

func (s CreateTrustInput) GoString() string

GoString returns the string representation

func (*CreateTrustInput) SetConditionalForwarderIpAddrs Uses

func (s *CreateTrustInput) SetConditionalForwarderIpAddrs(v []*string) *CreateTrustInput

SetConditionalForwarderIpAddrs sets the ConditionalForwarderIpAddrs field's value.

func (*CreateTrustInput) SetDirectoryId Uses

func (s *CreateTrustInput) SetDirectoryId(v string) *CreateTrustInput

SetDirectoryId sets the DirectoryId field's value.

func (*CreateTrustInput) SetRemoteDomainName Uses

func (s *CreateTrustInput) SetRemoteDomainName(v string) *CreateTrustInput

SetRemoteDomainName sets the RemoteDomainName field's value.

func (*CreateTrustInput) SetSelectiveAuth Uses

func (s *CreateTrustInput) SetSelectiveAuth(v string) *CreateTrustInput

SetSelectiveAuth sets the SelectiveAuth field's value.

func (*CreateTrustInput) SetTrustDirection Uses

func (s *CreateTrustInput) SetTrustDirection(v string) *CreateTrustInput

SetTrustDirection sets the TrustDirection field's value.

func (*CreateTrustInput) SetTrustPassword Uses

func (s *CreateTrustInput) SetTrustPassword(v string) *CreateTrustInput

SetTrustPassword sets the TrustPassword field's value.

func (*CreateTrustInput) SetTrustType Uses

func (s *CreateTrustInput) SetTrustType(v string) *CreateTrustInput

SetTrustType sets the TrustType field's value.

func (CreateTrustInput) String Uses

func (s CreateTrustInput) String() string

String returns the string representation

func (*CreateTrustInput) Validate Uses

func (s *CreateTrustInput) Validate() error

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

type CreateTrustOutput Uses

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) GoString Uses

func (s CreateTrustOutput) GoString() string

GoString returns the string representation

func (*CreateTrustOutput) SetTrustId Uses

func (s *CreateTrustOutput) SetTrustId(v string) *CreateTrustOutput

SetTrustId sets the TrustId field's value.

func (CreateTrustOutput) String Uses

func (s CreateTrustOutput) String() string

String returns the string representation

type DeleteConditionalForwarderInput Uses

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) GoString Uses

func (s DeleteConditionalForwarderInput) GoString() string

GoString returns the string representation

func (*DeleteConditionalForwarderInput) SetDirectoryId Uses

func (s *DeleteConditionalForwarderInput) SetDirectoryId(v string) *DeleteConditionalForwarderInput

SetDirectoryId sets the DirectoryId field's value.

func (*DeleteConditionalForwarderInput) SetRemoteDomainName Uses

func (s *DeleteConditionalForwarderInput) SetRemoteDomainName(v string) *DeleteConditionalForwarderInput

SetRemoteDomainName sets the RemoteDomainName field's value.

func (DeleteConditionalForwarderInput) String Uses

func (s DeleteConditionalForwarderInput) String() string

String returns the string representation

func (*DeleteConditionalForwarderInput) Validate Uses

func (s *DeleteConditionalForwarderInput) Validate() error

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

type DeleteConditionalForwarderOutput Uses

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

The result of a DeleteConditionalForwarder request.

func (DeleteConditionalForwarderOutput) GoString Uses

func (s DeleteConditionalForwarderOutput) GoString() string

GoString returns the string representation

func (DeleteConditionalForwarderOutput) String Uses

func (s DeleteConditionalForwarderOutput) String() string

String returns the string representation

type DeleteDirectoryInput Uses

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) GoString Uses

func (s DeleteDirectoryInput) GoString() string

GoString returns the string representation

func (*DeleteDirectoryInput) SetDirectoryId Uses

func (s *DeleteDirectoryInput) SetDirectoryId(v string) *DeleteDirectoryInput

SetDirectoryId sets the DirectoryId field's value.

func (DeleteDirectoryInput) String Uses

func (s DeleteDirectoryInput) String() string

String returns the string representation

func (*DeleteDirectoryInput) Validate Uses

func (s *DeleteDirectoryInput) Validate() error

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

type DeleteDirectoryOutput Uses

type DeleteDirectoryOutput struct {

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

Contains the results of the DeleteDirectory operation.

func (DeleteDirectoryOutput) GoString Uses

func (s DeleteDirectoryOutput) GoString() string

GoString returns the string representation

func (*DeleteDirectoryOutput) SetDirectoryId Uses

func (s *DeleteDirectoryOutput) SetDirectoryId(v string) *DeleteDirectoryOutput

SetDirectoryId sets the DirectoryId field's value.

func (DeleteDirectoryOutput) String Uses

func (s DeleteDirectoryOutput) String() string

String returns the string representation

type DeleteLogSubscriptionInput Uses

type DeleteLogSubscriptionInput struct {

    // Identifier (ID) 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) GoString Uses

func (s DeleteLogSubscriptionInput) GoString() string

GoString returns the string representation

func (*DeleteLogSubscriptionInput) SetDirectoryId Uses

func (s *DeleteLogSubscriptionInput) SetDirectoryId(v string) *DeleteLogSubscriptionInput

SetDirectoryId sets the DirectoryId field's value.

func (DeleteLogSubscriptionInput) String Uses

func (s DeleteLogSubscriptionInput) String() string

String returns the string representation

func (*DeleteLogSubscriptionInput) Validate Uses

func (s *DeleteLogSubscriptionInput) Validate() error

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

type DeleteLogSubscriptionOutput Uses

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

func (DeleteLogSubscriptionOutput) GoString Uses

func (s DeleteLogSubscriptionOutput) GoString() string

GoString returns the string representation

func (DeleteLogSubscriptionOutput) String Uses

func (s DeleteLogSubscriptionOutput) String() string

String returns the string representation

type DeleteSnapshotInput Uses

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) GoString Uses

func (s DeleteSnapshotInput) GoString() string

GoString returns the string representation

func (*DeleteSnapshotInput) SetSnapshotId Uses

func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput

SetSnapshotId sets the SnapshotId field's value.

func (DeleteSnapshotInput) String Uses

func (s DeleteSnapshotInput) String() string

String returns the string representation

func (*DeleteSnapshotInput) Validate Uses

func (s *DeleteSnapshotInput) Validate() error

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

type DeleteSnapshotOutput Uses

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) GoString Uses

func (s DeleteSnapshotOutput) GoString() string

GoString returns the string representation

func (*DeleteSnapshotOutput) SetSnapshotId Uses

func (s *DeleteSnapshotOutput) SetSnapshotId(v string) *DeleteSnapshotOutput

SetSnapshotId sets the SnapshotId field's value.

func (DeleteSnapshotOutput) String Uses

func (s DeleteSnapshotOutput) String() string

String returns the string representation

type DeleteTrustInput Uses

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) GoString Uses

func (s DeleteTrustInput) GoString() string

GoString returns the string representation

func (*DeleteTrustInput) SetDeleteAssociatedConditionalForwarder Uses

func (s *DeleteTrustInput) SetDeleteAssociatedConditionalForwarder(v bool) *DeleteTrustInput

SetDeleteAssociatedConditionalForwarder sets the DeleteAssociatedConditionalForwarder field's value.

func (*DeleteTrustInput) SetTrustId Uses

func (s *DeleteTrustInput) SetTrustId(v string) *DeleteTrustInput

SetTrustId sets the TrustId field's value.

func (DeleteTrustInput) String Uses

func (s DeleteTrustInput) String() string

String returns the string representation

func (*DeleteTrustInput) Validate Uses

func (s *DeleteTrustInput) Validate() error

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

type DeleteTrustOutput Uses

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) GoString Uses

func (s DeleteTrustOutput) GoString() string

GoString returns the string representation

func (*DeleteTrustOutput) SetTrustId Uses

func (s *DeleteTrustOutput) SetTrustId(v string) *DeleteTrustOutput

SetTrustId sets the TrustId field's value.

func (DeleteTrustOutput) String Uses

func (s DeleteTrustOutput) String() string

String returns the string representation

type DeregisterEventTopicInput Uses

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) GoString Uses

func (s DeregisterEventTopicInput) GoString() string

GoString returns the string representation

func (*DeregisterEventTopicInput) SetDirectoryId Uses

func (s *DeregisterEventTopicInput) SetDirectoryId(v string) *DeregisterEventTopicInput

SetDirectoryId sets the DirectoryId field's value.

func (*DeregisterEventTopicInput) SetTopicName Uses

func (s *DeregisterEventTopicInput) SetTopicName(v string) *DeregisterEventTopicInput

SetTopicName sets the TopicName field's value.

func (DeregisterEventTopicInput) String Uses

func (s DeregisterEventTopicInput) String() string

String returns the string representation

func (*DeregisterEventTopicInput) Validate Uses

func (s *DeregisterEventTopicInput) Validate() error

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

type DeregisterEventTopicOutput Uses

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

The result of a DeregisterEventTopic request.

func (DeregisterEventTopicOutput) GoString Uses

func (s DeregisterEventTopicOutput) GoString() string

GoString returns the string representation

func (DeregisterEventTopicOutput) String Uses

func (s DeregisterEventTopicOutput) String() string

String returns the string representation

type DescribeConditionalForwardersInput Uses

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) GoString Uses

func (s DescribeConditionalForwardersInput) GoString() string

GoString returns the string representation

func (*DescribeConditionalForwardersInput) SetDirectoryId Uses

func (s *DescribeConditionalForwardersInput) SetDirectoryId(v string) *DescribeConditionalForwardersInput

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeConditionalForwardersInput) SetRemoteDomainNames Uses

func (s *DescribeConditionalForwardersInput) SetRemoteDomainNames(v []*string) *DescribeConditionalForwardersInput

SetRemoteDomainNames sets the RemoteDomainNames field's value.

func (DescribeConditionalForwardersInput) String Uses

func (s DescribeConditionalForwardersInput) String() string

String returns the string representation

func (*DescribeConditionalForwardersInput) Validate Uses

func (s *DescribeConditionalForwardersInput) Validate() error

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

type DescribeConditionalForwardersOutput Uses

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) GoString Uses

func (s DescribeConditionalForwardersOutput) GoString() string

GoString returns the string representation

func (*DescribeConditionalForwardersOutput) SetConditionalForwarders Uses

func (s *DescribeConditionalForwardersOutput) SetConditionalForwarders(v []*ConditionalForwarder) *DescribeConditionalForwardersOutput

SetConditionalForwarders sets the ConditionalForwarders field's value.

func (DescribeConditionalForwardersOutput) String Uses

func (s DescribeConditionalForwardersOutput) String() string

String returns the string representation

type DescribeDirectoriesInput Uses

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) GoString Uses

func (s DescribeDirectoriesInput) GoString() string

GoString returns the string representation

func (*DescribeDirectoriesInput) SetDirectoryIds Uses

func (s *DescribeDirectoriesInput) SetDirectoryIds(v []*string) *DescribeDirectoriesInput

SetDirectoryIds sets the DirectoryIds field's value.

func (*DescribeDirectoriesInput) SetLimit Uses

func (s *DescribeDirectoriesInput) SetLimit(v int64) *DescribeDirectoriesInput

SetLimit sets the Limit field's value.

func (*DescribeDirectoriesInput) SetNextToken Uses

func (s *DescribeDirectoriesInput) SetNextToken(v string) *DescribeDirectoriesInput

SetNextToken sets the NextToken field's value.

func (DescribeDirectoriesInput) String Uses

func (s DescribeDirectoriesInput) String() string

String returns the string representation

type DescribeDirectoriesOutput Uses

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) GoString Uses

func (s DescribeDirectoriesOutput) GoString() string

GoString returns the string representation

func (*DescribeDirectoriesOutput) SetDirectoryDescriptions Uses

func (s *DescribeDirectoriesOutput) SetDirectoryDescriptions(v []*DirectoryDescription) *DescribeDirectoriesOutput

SetDirectoryDescriptions sets the DirectoryDescriptions field's value.

func (*DescribeDirectoriesOutput) SetNextToken Uses

func (s *DescribeDirectoriesOutput) SetNextToken(v string) *DescribeDirectoriesOutput

SetNextToken sets the NextToken field's value.

func (DescribeDirectoriesOutput) String Uses

func (s DescribeDirectoriesOutput) String() string

String returns the string representation

type DescribeDomainControllersInput Uses

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) GoString Uses

func (s DescribeDomainControllersInput) GoString() string

GoString returns the string representation

func (*DescribeDomainControllersInput) SetDirectoryId Uses

func (s *DescribeDomainControllersInput) SetDirectoryId(v string) *DescribeDomainControllersInput

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeDomainControllersInput) SetDomainControllerIds Uses

func (s *DescribeDomainControllersInput) SetDomainControllerIds(v []*string) *DescribeDomainControllersInput

SetDomainControllerIds sets the DomainControllerIds field's value.

func (*DescribeDomainControllersInput) SetLimit Uses

func (s *DescribeDomainControllersInput) SetLimit(v int64) *DescribeDomainControllersInput

SetLimit sets the Limit field's value.

func (*DescribeDomainControllersInput) SetNextToken Uses

func (s *DescribeDomainControllersInput) SetNextToken(v string) *DescribeDomainControllersInput

SetNextToken sets the NextToken field's value.

func (DescribeDomainControllersInput) String Uses

func (s DescribeDomainControllersInput) String() string

String returns the string representation

func (*DescribeDomainControllersInput) Validate Uses

func (s *DescribeDomainControllersInput) Validate() error

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

type DescribeDomainControllersOutput Uses

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) GoString Uses

func (s DescribeDomainControllersOutput) GoString() string

GoString returns the string representation

func (*DescribeDomainControllersOutput) SetDomainControllers Uses

func (s *DescribeDomainControllersOutput) SetDomainControllers(v []*DomainController) *DescribeDomainControllersOutput

SetDomainControllers sets the DomainControllers field's value.

func (*DescribeDomainControllersOutput) SetNextToken Uses

func (s *DescribeDomainControllersOutput) SetNextToken(v string) *DescribeDomainControllersOutput

SetNextToken sets the NextToken field's value.

func (DescribeDomainControllersOutput) String Uses

func (s DescribeDomainControllersOutput) String() string

String returns the string representation

type DescribeEventTopicsInput Uses

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) GoString Uses

func (s DescribeEventTopicsInput) GoString() string

GoString returns the string representation

func (*DescribeEventTopicsInput) SetDirectoryId Uses

func (s *DescribeEventTopicsInput) SetDirectoryId(v string) *DescribeEventTopicsInput

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeEventTopicsInput) SetTopicNames Uses

func (s *DescribeEventTopicsInput) SetTopicNames(v []*string) *DescribeEventTopicsInput

SetTopicNames sets the TopicNames field's value.

func (DescribeEventTopicsInput) String Uses

func (s DescribeEventTopicsInput) String() string

String returns the string representation

type DescribeEventTopicsOutput Uses

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) GoString Uses

func (s DescribeEventTopicsOutput) GoString() string

GoString returns the string representation

func (*DescribeEventTopicsOutput) SetEventTopics Uses

func (s *DescribeEventTopicsOutput) SetEventTopics(v []*EventTopic) *DescribeEventTopicsOutput

SetEventTopics sets the EventTopics field's value.

func (DescribeEventTopicsOutput) String Uses

func (s DescribeEventTopicsOutput) String() string

String returns the string representation

type DescribeSharedDirectoriesInput Uses

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) GoString Uses

func (s DescribeSharedDirectoriesInput) GoString() string

GoString returns the string representation

func (*DescribeSharedDirectoriesInput) SetLimit Uses

func (s *DescribeSharedDirectoriesInput) SetLimit(v int64) *DescribeSharedDirectoriesInput

SetLimit sets the Limit field's value.

func (*DescribeSharedDirectoriesInput) SetNextToken Uses

func (s *DescribeSharedDirectoriesInput) SetNextToken(v string) *DescribeSharedDirectoriesInput

SetNextToken sets the NextToken field's value.

func (*DescribeSharedDirectoriesInput) SetOwnerDirectoryId Uses

func (s *DescribeSharedDirectoriesInput) SetOwnerDirectoryId(v string) *DescribeSharedDirectoriesInput

SetOwnerDirectoryId sets the OwnerDirectoryId field's value.

func (*DescribeSharedDirectoriesInput) SetSharedDirectoryIds Uses

func (s *DescribeSharedDirectoriesInput) SetSharedDirectoryIds(v []*string) *DescribeSharedDirectoriesInput

SetSharedDirectoryIds sets the SharedDirectoryIds field's value.

func (DescribeSharedDirectoriesInput) String Uses

func (s DescribeSharedDirectoriesInput) String() string

String returns the string representation

func (*DescribeSharedDirectoriesInput) Validate Uses

func (s *DescribeSharedDirectoriesInput) Validate() error

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

type DescribeSharedDirectoriesOutput Uses

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) GoString Uses

func (s DescribeSharedDirectoriesOutput) GoString() string

GoString returns the string representation

func (*DescribeSharedDirectoriesOutput) SetNextToken Uses

func (s *DescribeSharedDirectoriesOutput) SetNextToken(v string) *DescribeSharedDirectoriesOutput

SetNextToken sets the NextToken field's value.

func (*DescribeSharedDirectoriesOutput) SetSharedDirectories Uses

func (s *DescribeSharedDirectoriesOutput) SetSharedDirectories(v []*SharedDirectory) *DescribeSharedDirectoriesOutput

SetSharedDirectories sets the SharedDirectories field's value.

func (DescribeSharedDirectoriesOutput) String Uses

func (s DescribeSharedDirectoriesOutput) String() string

String returns the string representation

type DescribeSnapshotsInput Uses

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) GoString Uses

func (s DescribeSnapshotsInput) GoString() string

GoString returns the string representation

func (*DescribeSnapshotsInput) SetDirectoryId Uses

func (s *DescribeSnapshotsInput) SetDirectoryId(v string) *DescribeSnapshotsInput

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeSnapshotsInput) SetLimit Uses

func (s *DescribeSnapshotsInput) SetLimit(v int64) *DescribeSnapshotsInput

SetLimit sets the Limit field's value.

func (*DescribeSnapshotsInput) SetNextToken Uses

func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput

SetNextToken sets the NextToken field's value.

func (*DescribeSnapshotsInput) SetSnapshotIds Uses

func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsInput

SetSnapshotIds sets the SnapshotIds field's value.

func (DescribeSnapshotsInput) String Uses

func (s DescribeSnapshotsInput) String() string

String returns the string representation

type DescribeSnapshotsOutput Uses

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) GoString Uses

func (s DescribeSnapshotsOutput) GoString() string

GoString returns the string representation

func (*DescribeSnapshotsOutput) SetNextToken Uses

func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput

SetNextToken sets the NextToken field's value.

func (*DescribeSnapshotsOutput) SetSnapshots Uses

func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshotsOutput

SetSnapshots sets the Snapshots field's value.

func (DescribeSnapshotsOutput) String Uses

func (s DescribeSnapshotsOutput) String() string

String returns the string representation

type DescribeTrustsInput Uses

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) GoString Uses

func (s DescribeTrustsInput) GoString() string

GoString returns the string representation

func (*DescribeTrustsInput) SetDirectoryId Uses

func (s *DescribeTrustsInput) SetDirectoryId(v string) *DescribeTrustsInput

SetDirectoryId sets the DirectoryId field's value.

func (*DescribeTrustsInput) SetLimit Uses

func (s *DescribeTrustsInput) SetLimit(v int64) *DescribeTrustsInput

SetLimit sets the Limit field's value.

func (*DescribeTrustsInput) SetNextToken Uses

func (s *DescribeTrustsInput) SetNextToken(v string) *DescribeTrustsInput

SetNextToken sets the NextToken field's value.

func (*DescribeTrustsInput) SetTrustIds Uses

func (s *DescribeTrustsInput) SetTrustIds(v []*string) *DescribeTrustsInput

SetTrustIds sets the TrustIds field's value.

func (DescribeTrustsInput) String Uses

func (s DescribeTrustsInput) String() string

String returns the string representation

type DescribeTrustsOutput Uses

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) GoString Uses

func (s DescribeTrustsOutput) GoString() string

GoString returns the string representation

func (*DescribeTrustsOutput) SetNextToken Uses

func (s *DescribeTrustsOutput) SetNextToken(v string) *DescribeTrustsOutput

SetNextToken sets the NextToken field's value.

func (*DescribeTrustsOutput) SetTrusts Uses

func (s *DescribeTrustsOutput) SetTrusts(v []*Trust) *DescribeTrustsOutput

SetTrusts sets the Trusts field's value.

func (DescribeTrustsOutput) String Uses

func (s DescribeTrustsOutput) String() string

String returns the string representation

type DirectoryConnectSettings Uses

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) GoString Uses

func (s DirectoryConnectSettings) GoString() string

GoString returns the string representation

func (*DirectoryConnectSettings) SetCustomerDnsIps Uses

func (s *DirectoryConnectSettings) SetCustomerDnsIps(v []*string) *DirectoryConnectSettings

SetCustomerDnsIps sets the CustomerDnsIps field's value.

func (*DirectoryConnectSettings) SetCustomerUserName Uses

func (s *DirectoryConnectSettings) SetCustomerUserName(v string) *DirectoryConnectSettings

SetCustomerUserName sets the CustomerUserName field's value.

func (*DirectoryConnectSettings) SetSubnetIds Uses

func (s *DirectoryConnectSettings) SetSubnetIds(v []*string) *DirectoryConnectSettings

SetSubnetIds sets the SubnetIds field's value.

func (*DirectoryConnectSettings) SetVpcId Uses

func (s *DirectoryConnectSettings) SetVpcId(v string) *DirectoryConnectSettings

SetVpcId sets the VpcId field's value.

func (DirectoryConnectSettings) String Uses

func (s DirectoryConnectSettings) String() string

String returns the string representation

func (*DirectoryConnectSettings) Validate Uses

func (s *DirectoryConnectSettings) Validate() error

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

type DirectoryConnectSettingsDescription Uses

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) GoString Uses

func (s DirectoryConnectSettingsDescription) GoString() string

GoString returns the string representation

func (*DirectoryConnectSettingsDescription) SetAvailabilityZones Uses

func (s *DirectoryConnectSettingsDescription) SetAvailabilityZones(v []*string) *DirectoryConnectSettingsDescription

SetAvailabilityZones sets the AvailabilityZones field's value.

func (*DirectoryConnectSettingsDescription) SetConnectIps Uses

func (s *DirectoryConnectSettingsDescription) SetConnectIps(v []*string) *DirectoryConnectSettingsDescription

SetConnectIps sets the ConnectIps field's value.

func (*DirectoryConnectSettingsDescription) SetCustomerUserName Uses

func (s *DirectoryConnectSettingsDescription) SetCustomerUserName(v string) *DirectoryConnectSettingsDescription

SetCustomerUserName sets the CustomerUserName field's value.

func (*DirectoryConnectSettingsDescription) SetSecurityGroupId Uses

func (s *DirectoryConnectSettingsDescription) SetSecurityGroupId(v string) *DirectoryConnectSettingsDescription

SetSecurityGroupId sets the SecurityGroupId field's value.

func (*DirectoryConnectSettingsDescription) SetSubnetIds Uses

func (s *DirectoryConnectSettingsDescription) SetSubnetIds(v []*string) *DirectoryConnectSettingsDescription

SetSubnetIds sets the SubnetIds field's value.

func (*DirectoryConnectSettingsDescription) SetVpcId Uses

func (s *DirectoryConnectSettingsDescription) SetVpcId(v string) *DirectoryConnectSettingsDescription

SetVpcId sets the VpcId field's value.

func (DirectoryConnectSettingsDescription) String Uses

func (s DirectoryConnectSettingsDescription) String() string

String returns the string representation

type DirectoryDescription Uses

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 textual 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 *string `type:"string" enum:"DirectoryEdition"`

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

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

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

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

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

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

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

    // 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) GoString Uses

func (s DirectoryDescription) GoString() string

GoString returns the string representation

func (*DirectoryDescription) SetAccessUrl Uses

func (s *DirectoryDescription) SetAccessUrl(v string) *DirectoryDescription

SetAccessUrl sets the AccessUrl field's value.

func (*DirectoryDescription) SetAlias Uses

func (s *DirectoryDescription) SetAlias(v string) *DirectoryDescription

SetAlias sets the Alias field's value.

func (*DirectoryDescription) SetConnectSettings Uses

func (s *DirectoryDescription) SetConnectSettings(v *DirectoryConnectSettingsDescription) *DirectoryDescription

SetConnectSettings sets the ConnectSettings field's value.

func (*DirectoryDescription) SetDescription Uses

func (s *DirectoryDescription) SetDescription(v string) *DirectoryDescription

SetDescription sets the Description field's value.

func (*DirectoryDescription) SetDesiredNumberOfDomainControllers Uses

func (s *DirectoryDescription) SetDesiredNumberOfDomainControllers(v int64) *DirectoryDescription

SetDesiredNumberOfDomainControllers sets the DesiredNumberOfDomainControllers field's value.

func (*DirectoryDescription) SetDirectoryId Uses

func (s *DirectoryDescription) SetDirectoryId(v string) *DirectoryDescription

SetDirectoryId sets the DirectoryId field's value.

func (*DirectoryDescription) SetDnsIpAddrs Uses

func (s *DirectoryDescription) SetDnsIpAddrs(v []*string) *DirectoryDescription

SetDnsIpAddrs sets the DnsIpAddrs field's value.

func (*DirectoryDescription) SetEdition Uses

func (s *DirectoryDescription) SetEdition(v string) *DirectoryDescription

SetEdition sets the Edition field's value.

func (*DirectoryDescription) SetLaunchTime Uses

func (s *DirectoryDescription) SetLaunchTime(v time.Time) *DirectoryDescription

SetLaunchTime sets the LaunchTime field's value.

func (*DirectoryDescription) SetName Uses

func (s *DirectoryDescription) SetName(v string) *DirectoryDescription

SetName sets the Name field's value.

func (*DirectoryDescription) SetOwnerDirectoryDescription Uses

func (s *DirectoryDescription) SetOwnerDirectoryDescription(v *OwnerDirectoryDescription) *DirectoryDescription

SetOwnerDirectoryDescription sets the OwnerDirectoryDescription field's value.

func (*DirectoryDescription) SetRadiusSettings Uses

func (s *DirectoryDescription) SetRadiusSettings(v *RadiusSettings) *DirectoryDescription

SetRadiusSettings sets the RadiusSettings field's value.

func (*DirectoryDescription) SetRadiusStatus Uses

func (s *DirectoryDescription) SetRadiusStatus(v string) *DirectoryDescription

SetRadiusStatus sets the RadiusStatus field's value.

func (*DirectoryDescription) SetShareMethod Uses

func (s *DirectoryDescription) SetShareMethod(v string) *DirectoryDescription

SetShareMethod sets the ShareMethod field's value.

func (*DirectoryDescription) SetShareNotes Uses

func (s *DirectoryDescription) SetShareNotes(v string) *DirectoryDescription

SetShareNotes sets the ShareNotes field's value.

func (*DirectoryDescription) SetShareStatus Uses

func (s *DirectoryDescription) SetShareStatus(v string) *DirectoryDescription

SetShareStatus sets the ShareStatus field's value.

func (*DirectoryDescription) SetShortName Uses

func (s *DirectoryDescription) SetShortName(v string) *DirectoryDescription

SetShortName sets the ShortName field's value.

func (*DirectoryDescription) SetSize Uses

func (s *DirectoryDescription) SetSize(v string) *DirectoryDescription

SetSize sets the Size field's value.

func (*DirectoryDescription) SetSsoEnabled Uses

func (s *DirectoryDescription) SetSsoEnabled(v bool) *DirectoryDescription

SetSsoEnabled sets the SsoEnabled field's value.

func (*DirectoryDescription) SetStage Uses

func (s *DirectoryDescription) SetStage(v string) *DirectoryDescription

SetStage sets the Stage field's value.

func (*DirectoryDescription) SetStageLastUpdatedDateTime Uses

func (s *DirectoryDescription) SetStageLastUpdatedDateTime(v time.Time) *DirectoryDescription

SetStageLastUpdatedDateTime sets the StageLastUpdatedDateTime field's value.

func (*DirectoryDescription) SetStageReason Uses

func (s *DirectoryDescription) SetStageReason(v string) *DirectoryDescription

SetStageReason sets the StageReason field's value.

func (*DirectoryDescription) SetType Uses

func (s *DirectoryDescription) SetType(v string) *DirectoryDescription

SetType sets the Type field's value.

func (*DirectoryDescription) SetVpcSettings Uses

func (s *DirectoryDescription) SetVpcSettings(v *DirectoryVpcSettingsDescription) *DirectoryDescription

SetVpcSettings sets the VpcSettings field's value.

func (DirectoryDescription) String Uses

func (s DirectoryDescription) String() string

String returns the string representation

type DirectoryLimits Uses

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) GoString Uses

func (s DirectoryLimits) GoString() string

GoString returns the string representation

func (*DirectoryLimits) SetCloudOnlyDirectoriesCurrentCount Uses

func (s *DirectoryLimits) SetCloudOnlyDirectoriesCurrentCount(v int64) *DirectoryLimits

SetCloudOnlyDirectoriesCurrentCount sets the CloudOnlyDirectoriesCurrentCount field's value.

func (*DirectoryLimits) SetCloudOnlyDirectoriesLimit Uses

func (s *DirectoryLimits) SetCloudOnlyDirectoriesLimit(v int64) *DirectoryLimits

SetCloudOnlyDirectoriesLimit sets the CloudOnlyDirectoriesLimit field's value.

func (*DirectoryLimits) SetCloudOnlyDirectoriesLimitReached Uses

func (s *DirectoryLimits) SetCloudOnlyDirectoriesLimitReached(v bool) *DirectoryLimits

SetCloudOnlyDirectoriesLimitReached sets the CloudOnlyDirectoriesLimitReached field's value.

func (*DirectoryLimits) SetCloudOnlyMicrosoftADCurrentCount Uses

func (s *DirectoryLimits) SetCloudOnlyMicrosoftADCurrentCount(v int64) *DirectoryLimits

SetCloudOnlyMicrosoftADCurrentCount sets the CloudOnlyMicrosoftADCurrentCount field's value.

func (*DirectoryLimits) SetCloudOnlyMicrosoftADLimit Uses

func (s *DirectoryLimits) SetCloudOnlyMicrosoftADLimit(v int64) *DirectoryLimits

SetCloudOnlyMicrosoftADLimit sets the CloudOnlyMicrosoftADLimit field's value.

func (*DirectoryLimits) SetCloudOnlyMicrosoftADLimitReached Uses

func (s *DirectoryLimits) SetCloudOnlyMicrosoftADLimitReached(v bool) *DirectoryLimits

SetCloudOnlyMicrosoftADLimitReached sets the CloudOnlyMicrosoftADLimitReached field's value.

func (*DirectoryLimits) SetConnectedDirectoriesCurrentCount Uses

func (s *DirectoryLimits) SetConnectedDirectoriesCurrentCount(v int64) *DirectoryLimits

SetConnectedDirectoriesCurrentCount sets the ConnectedDirectoriesCurrentCount field's value.

func (*DirectoryLimits) SetConnectedDirectoriesLimit Uses

func (s *DirectoryLimits) SetConnectedDirectoriesLimit(v int64) *DirectoryLimits

SetConnectedDirectoriesLimit sets the ConnectedDirectoriesLimit field's value.

func (*DirectoryLimits) SetConnectedDirectoriesLimitReached Uses

func (s *DirectoryLimits) SetConnectedDirectoriesLimitReached(v bool) *DirectoryLimits

SetConnectedDirectoriesLimitReached sets the ConnectedDirectoriesLimitReached field's value.

func (DirectoryLimits) String Uses

func (s DirectoryLimits) String() string

String returns the string representation

type DirectoryService Uses

type DirectoryService struct {
    *client.Client
}

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

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

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *DirectoryService

New creates a new instance of the DirectoryService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a DirectoryService client from just a session.
svc := directoryservice.New(mySession)

// Create a DirectoryService client with additional configuration
svc := directoryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*DirectoryService) AcceptSharedDirectory Uses

func (c *DirectoryService) AcceptSharedDirectory(input *AcceptSharedDirectoryInput) (*AcceptSharedDirectoryOutput, error)

AcceptSharedDirectory API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation AcceptSharedDirectory for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryAlreadySharedException "DirectoryAlreadySharedException"
The specified directory has already been shared with this AWS account.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) AcceptSharedDirectoryRequest Uses

func (c *DirectoryService) AcceptSharedDirectoryRequest(input *AcceptSharedDirectoryInput) (req *request.Request, output *AcceptSharedDirectoryOutput)

AcceptSharedDirectoryRequest generates a "aws/request.Request" representing the client's request for the AcceptSharedDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcceptSharedDirectory for more information on using the AcceptSharedDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AcceptSharedDirectoryRequest method.
req, resp := client.AcceptSharedDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) AcceptSharedDirectoryWithContext Uses

func (c *DirectoryService) AcceptSharedDirectoryWithContext(ctx aws.Context, input *AcceptSharedDirectoryInput, opts ...request.Option) (*AcceptSharedDirectoryOutput, error)

AcceptSharedDirectoryWithContext is the same as AcceptSharedDirectory with the addition of the ability to pass a context and additional request options.

See AcceptSharedDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) AddIpRoutes Uses

func (c *DirectoryService) AddIpRoutes(input *AddIpRoutesInput) (*AddIpRoutesOutput, error)

AddIpRoutes 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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation AddIpRoutes for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

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

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) AddIpRoutesRequest Uses

func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *request.Request, output *AddIpRoutesOutput)

AddIpRoutesRequest generates a "aws/request.Request" representing the client's request for the AddIpRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddIpRoutes for more information on using the AddIpRoutes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddIpRoutesRequest method.
req, resp := client.AddIpRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) AddIpRoutesWithContext Uses

func (c *DirectoryService) AddIpRoutesWithContext(ctx aws.Context, input *AddIpRoutesInput, opts ...request.Option) (*AddIpRoutesOutput, error)

AddIpRoutesWithContext is the same as AddIpRoutes with the addition of the ability to pass a context and additional request options.

See AddIpRoutes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) AddTagsToResource Uses

func (c *DirectoryService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)

AddTagsToResource 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation AddTagsToResource for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeTagLimitExceededException "TagLimitExceededException"
The maximum allowed number of tags was exceeded.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) AddTagsToResourceRequest Uses

func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)

AddTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddTagsToResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTagsToResource for more information on using the AddTagsToResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTagsToResourceRequest method.
req, resp := client.AddTagsToResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) AddTagsToResourceWithContext Uses

func (c *DirectoryService) AddTagsToResourceWithContext(ctx aws.Context, input *AddTagsToResourceInput, opts ...request.Option) (*AddTagsToResourceOutput, error)

AddTagsToResourceWithContext is the same as AddTagsToResource with the addition of the ability to pass a context and additional request options.

See AddTagsToResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CancelSchemaExtension Uses

func (c *DirectoryService) CancelSchemaExtension(input *CancelSchemaExtensionInput) (*CancelSchemaExtensionOutput, error)

CancelSchemaExtension 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CancelSchemaExtension for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CancelSchemaExtensionRequest Uses

func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExtensionInput) (req *request.Request, output *CancelSchemaExtensionOutput)

CancelSchemaExtensionRequest generates a "aws/request.Request" representing the client's request for the CancelSchemaExtension operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelSchemaExtension for more information on using the CancelSchemaExtension API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelSchemaExtensionRequest method.
req, resp := client.CancelSchemaExtensionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CancelSchemaExtensionWithContext Uses

func (c *DirectoryService) CancelSchemaExtensionWithContext(ctx aws.Context, input *CancelSchemaExtensionInput, opts ...request.Option) (*CancelSchemaExtensionOutput, error)

CancelSchemaExtensionWithContext is the same as CancelSchemaExtension with the addition of the ability to pass a context and additional request options.

See CancelSchemaExtension for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ConnectDirectory Uses

func (c *DirectoryService) ConnectDirectory(input *ConnectDirectoryInput) (*ConnectDirectoryOutput, error)

ConnectDirectory 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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ConnectDirectory for usage and error information.

Returned Error Codes:

* ErrCodeDirectoryLimitExceededException "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.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ConnectDirectoryRequest Uses

func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput) (req *request.Request, output *ConnectDirectoryOutput)

ConnectDirectoryRequest generates a "aws/request.Request" representing the client's request for the ConnectDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ConnectDirectory for more information on using the ConnectDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ConnectDirectoryRequest method.
req, resp := client.ConnectDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ConnectDirectoryWithContext Uses

func (c *DirectoryService) ConnectDirectoryWithContext(ctx aws.Context, input *ConnectDirectoryInput, opts ...request.Option) (*ConnectDirectoryOutput, error)

ConnectDirectoryWithContext is the same as ConnectDirectory with the addition of the ability to pass a context and additional request options.

See ConnectDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateAlias Uses

func (c *DirectoryService) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error)

CreateAlias 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateAlias for usage and error information.

Returned Error Codes:

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CreateAliasRequest Uses

func (c *DirectoryService) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput)

CreateAliasRequest generates a "aws/request.Request" representing the client's request for the CreateAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAlias for more information on using the CreateAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAliasRequest method.
req, resp := client.CreateAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateAliasWithContext Uses

func (c *DirectoryService) CreateAliasWithContext(ctx aws.Context, input *CreateAliasInput, opts ...request.Option) (*CreateAliasOutput, error)

CreateAliasWithContext is the same as CreateAlias with the addition of the ability to pass a context and additional request options.

See CreateAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateComputer Uses

func (c *DirectoryService) CreateComputer(input *CreateComputerInput) (*CreateComputerOutput, error)

CreateComputer API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateComputer for usage and error information.

Returned Error Codes:

* ErrCodeAuthenticationFailedException "AuthenticationFailedException"
An authentication error occurred.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CreateComputerRequest Uses

func (c *DirectoryService) CreateComputerRequest(input *CreateComputerInput) (req *request.Request, output *CreateComputerOutput)

CreateComputerRequest generates a "aws/request.Request" representing the client's request for the CreateComputer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateComputer for more information on using the CreateComputer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateComputerRequest method.
req, resp := client.CreateComputerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateComputerWithContext Uses

func (c *DirectoryService) CreateComputerWithContext(ctx aws.Context, input *CreateComputerInput, opts ...request.Option) (*CreateComputerOutput, error)

CreateComputerWithContext is the same as CreateComputer with the addition of the ability to pass a context and additional request options.

See CreateComputer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateConditionalForwarder Uses

func (c *DirectoryService) CreateConditionalForwarder(input *CreateConditionalForwarderInput) (*CreateConditionalForwarderOutput, error)

CreateConditionalForwarder 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateConditionalForwarder for usage and error information.

Returned Error Codes:

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CreateConditionalForwarderRequest Uses

func (c *DirectoryService) CreateConditionalForwarderRequest(input *CreateConditionalForwarderInput) (req *request.Request, output *CreateConditionalForwarderOutput)

CreateConditionalForwarderRequest generates a "aws/request.Request" representing the client's request for the CreateConditionalForwarder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConditionalForwarder for more information on using the CreateConditionalForwarder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConditionalForwarderRequest method.
req, resp := client.CreateConditionalForwarderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateConditionalForwarderWithContext Uses

func (c *DirectoryService) CreateConditionalForwarderWithContext(ctx aws.Context, input *CreateConditionalForwarderInput, opts ...request.Option) (*CreateConditionalForwarderOutput, error)

CreateConditionalForwarderWithContext is the same as CreateConditionalForwarder with the addition of the ability to pass a context and additional request options.

See CreateConditionalForwarder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateDirectory Uses

func (c *DirectoryService) CreateDirectory(input *CreateDirectoryInput) (*CreateDirectoryOutput, error)

CreateDirectory API operation for AWS Directory Service.

Creates a Simple AD directory.

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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateDirectory for usage and error information.

Returned Error Codes:

* ErrCodeDirectoryLimitExceededException "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.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CreateDirectoryRequest Uses

func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) (req *request.Request, output *CreateDirectoryOutput)

CreateDirectoryRequest generates a "aws/request.Request" representing the client's request for the CreateDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDirectory for more information on using the CreateDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDirectoryRequest method.
req, resp := client.CreateDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateDirectoryWithContext Uses

func (c *DirectoryService) CreateDirectoryWithContext(ctx aws.Context, input *CreateDirectoryInput, opts ...request.Option) (*CreateDirectoryOutput, error)

CreateDirectoryWithContext is the same as CreateDirectory with the addition of the ability to pass a context and additional request options.

See CreateDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateLogSubscription Uses

func (c *DirectoryService) CreateLogSubscription(input *CreateLogSubscriptionInput) (*CreateLogSubscriptionOutput, error)

CreateLogSubscription API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateLogSubscription for usage and error information.

Returned Error Codes:

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeInsufficientPermissionsException "InsufficientPermissionsException"
The account does not have sufficient permission to perform the operation.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CreateLogSubscriptionRequest Uses

func (c *DirectoryService) CreateLogSubscriptionRequest(input *CreateLogSubscriptionInput) (req *request.Request, output *CreateLogSubscriptionOutput)

CreateLogSubscriptionRequest generates a "aws/request.Request" representing the client's request for the CreateLogSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateLogSubscription for more information on using the CreateLogSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateLogSubscriptionRequest method.
req, resp := client.CreateLogSubscriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateLogSubscriptionWithContext Uses

func (c *DirectoryService) CreateLogSubscriptionWithContext(ctx aws.Context, input *CreateLogSubscriptionInput, opts ...request.Option) (*CreateLogSubscriptionOutput, error)

CreateLogSubscriptionWithContext is the same as CreateLogSubscription with the addition of the ability to pass a context and additional request options.

See CreateLogSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateMicrosoftAD Uses

func (c *DirectoryService) CreateMicrosoftAD(input *CreateMicrosoftADInput) (*CreateMicrosoftADOutput, error)

CreateMicrosoftAD API operation for AWS Directory Service.

Creates an AWS Managed Microsoft AD directory.

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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateMicrosoftAD for usage and error information.

Returned Error Codes:

* ErrCodeDirectoryLimitExceededException "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.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

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

func (*DirectoryService) CreateMicrosoftADRequest Uses

func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInput) (req *request.Request, output *CreateMicrosoftADOutput)

CreateMicrosoftADRequest generates a "aws/request.Request" representing the client's request for the CreateMicrosoftAD operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMicrosoftAD for more information on using the CreateMicrosoftAD API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMicrosoftADRequest method.
req, resp := client.CreateMicrosoftADRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateMicrosoftADWithContext Uses

func (c *DirectoryService) CreateMicrosoftADWithContext(ctx aws.Context, input *CreateMicrosoftADInput, opts ...request.Option) (*CreateMicrosoftADOutput, error)

CreateMicrosoftADWithContext is the same as CreateMicrosoftAD with the addition of the ability to pass a context and additional request options.

See CreateMicrosoftAD for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateSnapshot Uses

func (c *DirectoryService) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error)

CreateSnapshot 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateSnapshot for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeSnapshotLimitExceededException "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.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) CreateSnapshotRequest Uses

func (c *DirectoryService) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput)

CreateSnapshotRequest generates a "aws/request.Request" representing the client's request for the CreateSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSnapshot for more information on using the CreateSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSnapshotRequest method.
req, resp := client.CreateSnapshotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateSnapshotWithContext Uses

func (c *DirectoryService) CreateSnapshotWithContext(ctx aws.Context, input *CreateSnapshotInput, opts ...request.Option) (*CreateSnapshotOutput, error)

CreateSnapshotWithContext is the same as CreateSnapshot with the addition of the ability to pass a context and additional request options.

See CreateSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) CreateTrust Uses

func (c *DirectoryService) CreateTrust(input *CreateTrustInput) (*CreateTrustOutput, error)

CreateTrust 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation CreateTrust for usage and error information.

Returned Error Codes:

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

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

func (*DirectoryService) CreateTrustRequest Uses

func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) (req *request.Request, output *CreateTrustOutput)

CreateTrustRequest generates a "aws/request.Request" representing the client's request for the CreateTrust operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateTrust for more information on using the CreateTrust API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateTrustRequest method.
req, resp := client.CreateTrustRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) CreateTrustWithContext Uses

func (c *DirectoryService) CreateTrustWithContext(ctx aws.Context, input *CreateTrustInput, opts ...request.Option) (*CreateTrustOutput, error)

CreateTrustWithContext is the same as CreateTrust with the addition of the ability to pass a context and additional request options.

See CreateTrust for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DeleteConditionalForwarder Uses

func (c *DirectoryService) DeleteConditionalForwarder(input *DeleteConditionalForwarderInput) (*DeleteConditionalForwarderOutput, error)

DeleteConditionalForwarder API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DeleteConditionalForwarder for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DeleteConditionalForwarderRequest Uses

func (c *DirectoryService) DeleteConditionalForwarderRequest(input *DeleteConditionalForwarderInput) (req *request.Request, output *DeleteConditionalForwarderOutput)

DeleteConditionalForwarderRequest generates a "aws/request.Request" representing the client's request for the DeleteConditionalForwarder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConditionalForwarder for more information on using the DeleteConditionalForwarder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConditionalForwarderRequest method.
req, resp := client.DeleteConditionalForwarderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DeleteConditionalForwarderWithContext Uses

func (c *DirectoryService) DeleteConditionalForwarderWithContext(ctx aws.Context, input *DeleteConditionalForwarderInput, opts ...request.Option) (*DeleteConditionalForwarderOutput, error)

DeleteConditionalForwarderWithContext is the same as DeleteConditionalForwarder with the addition of the ability to pass a context and additional request options.

See DeleteConditionalForwarder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DeleteDirectory Uses

func (c *DirectoryService) DeleteDirectory(input *DeleteDirectoryInput) (*DeleteDirectoryOutput, error)

DeleteDirectory 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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DeleteDirectory for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DeleteDirectoryRequest Uses

func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) (req *request.Request, output *DeleteDirectoryOutput)

DeleteDirectoryRequest generates a "aws/request.Request" representing the client's request for the DeleteDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDirectory for more information on using the DeleteDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDirectoryRequest method.
req, resp := client.DeleteDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DeleteDirectoryWithContext Uses

func (c *DirectoryService) DeleteDirectoryWithContext(ctx aws.Context, input *DeleteDirectoryInput, opts ...request.Option) (*DeleteDirectoryOutput, error)

DeleteDirectoryWithContext is the same as DeleteDirectory with the addition of the ability to pass a context and additional request options.

See DeleteDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DeleteLogSubscription Uses

func (c *DirectoryService) DeleteLogSubscription(input *DeleteLogSubscriptionInput) (*DeleteLogSubscriptionOutput, error)

DeleteLogSubscription API operation for AWS Directory Service.

Deletes the specified log subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DeleteLogSubscription for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DeleteLogSubscriptionRequest Uses

func (c *DirectoryService) DeleteLogSubscriptionRequest(input *DeleteLogSubscriptionInput) (req *request.Request, output *DeleteLogSubscriptionOutput)

DeleteLogSubscriptionRequest generates a "aws/request.Request" representing the client's request for the DeleteLogSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteLogSubscription for more information on using the DeleteLogSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteLogSubscriptionRequest method.
req, resp := client.DeleteLogSubscriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DeleteLogSubscriptionWithContext Uses

func (c *DirectoryService) DeleteLogSubscriptionWithContext(ctx aws.Context, input *DeleteLogSubscriptionInput, opts ...request.Option) (*DeleteLogSubscriptionOutput, error)

DeleteLogSubscriptionWithContext is the same as DeleteLogSubscription with the addition of the ability to pass a context and additional request options.

See DeleteLogSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DeleteSnapshot Uses

func (c *DirectoryService) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error)

DeleteSnapshot API operation for AWS Directory Service.

Deletes a directory snapshot.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DeleteSnapshot for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DeleteSnapshotRequest Uses

func (c *DirectoryService) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput)

DeleteSnapshotRequest generates a "aws/request.Request" representing the client's request for the DeleteSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSnapshot for more information on using the DeleteSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSnapshotRequest method.
req, resp := client.DeleteSnapshotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DeleteSnapshotWithContext Uses

func (c *DirectoryService) DeleteSnapshotWithContext(ctx aws.Context, input *DeleteSnapshotInput, opts ...request.Option) (*DeleteSnapshotOutput, error)

DeleteSnapshotWithContext is the same as DeleteSnapshot with the addition of the ability to pass a context and additional request options.

See DeleteSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DeleteTrust Uses

func (c *DirectoryService) DeleteTrust(input *DeleteTrustInput) (*DeleteTrustOutput, error)

DeleteTrust API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DeleteTrust for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

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

func (*DirectoryService) DeleteTrustRequest Uses

func (c *DirectoryService) DeleteTrustRequest(input *DeleteTrustInput) (req *request.Request, output *DeleteTrustOutput)

DeleteTrustRequest generates a "aws/request.Request" representing the client's request for the DeleteTrust operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTrust for more information on using the DeleteTrust API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTrustRequest method.
req, resp := client.DeleteTrustRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DeleteTrustWithContext Uses

func (c *DirectoryService) DeleteTrustWithContext(ctx aws.Context, input *DeleteTrustInput, opts ...request.Option) (*DeleteTrustOutput, error)

DeleteTrustWithContext is the same as DeleteTrust with the addition of the ability to pass a context and additional request options.

See DeleteTrust for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DeregisterEventTopic Uses

func (c *DirectoryService) DeregisterEventTopic(input *DeregisterEventTopicInput) (*DeregisterEventTopicOutput, error)

DeregisterEventTopic API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DeregisterEventTopic for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DeregisterEventTopicRequest Uses

func (c *DirectoryService) DeregisterEventTopicRequest(input *DeregisterEventTopicInput) (req *request.Request, output *DeregisterEventTopicOutput)

DeregisterEventTopicRequest generates a "aws/request.Request" representing the client's request for the DeregisterEventTopic operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterEventTopic for more information on using the DeregisterEventTopic API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterEventTopicRequest method.
req, resp := client.DeregisterEventTopicRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DeregisterEventTopicWithContext Uses

func (c *DirectoryService) DeregisterEventTopicWithContext(ctx aws.Context, input *DeregisterEventTopicInput, opts ...request.Option) (*DeregisterEventTopicOutput, error)

DeregisterEventTopicWithContext is the same as DeregisterEventTopic with the addition of the ability to pass a context and additional request options.

See DeregisterEventTopic for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeConditionalForwarders Uses

func (c *DirectoryService) DescribeConditionalForwarders(input *DescribeConditionalForwardersInput) (*DescribeConditionalForwardersOutput, error)

DescribeConditionalForwarders 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeConditionalForwarders for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DescribeConditionalForwardersRequest Uses

func (c *DirectoryService) DescribeConditionalForwardersRequest(input *DescribeConditionalForwardersInput) (req *request.Request, output *DescribeConditionalForwardersOutput)

DescribeConditionalForwardersRequest generates a "aws/request.Request" representing the client's request for the DescribeConditionalForwarders operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConditionalForwarders for more information on using the DescribeConditionalForwarders API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConditionalForwardersRequest method.
req, resp := client.DescribeConditionalForwardersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeConditionalForwardersWithContext Uses

func (c *DirectoryService) DescribeConditionalForwardersWithContext(ctx aws.Context, input *DescribeConditionalForwardersInput, opts ...request.Option) (*DescribeConditionalForwardersOutput, error)

DescribeConditionalForwardersWithContext is the same as DescribeConditionalForwarders with the addition of the ability to pass a context and additional request options.

See DescribeConditionalForwarders for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeDirectories Uses

func (c *DirectoryService) DescribeDirectories(input *DescribeDirectoriesInput) (*DescribeDirectoriesOutput, error)

DescribeDirectories 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeDirectories for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DescribeDirectoriesRequest Uses

func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectoriesInput) (req *request.Request, output *DescribeDirectoriesOutput)

DescribeDirectoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeDirectories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDirectories for more information on using the DescribeDirectories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDirectoriesRequest method.
req, resp := client.DescribeDirectoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeDirectoriesWithContext Uses

func (c *DirectoryService) DescribeDirectoriesWithContext(ctx aws.Context, input *DescribeDirectoriesInput, opts ...request.Option) (*DescribeDirectoriesOutput, error)

DescribeDirectoriesWithContext is the same as DescribeDirectories with the addition of the ability to pass a context and additional request options.

See DescribeDirectories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeDomainControllers Uses

func (c *DirectoryService) DescribeDomainControllers(input *DescribeDomainControllersInput) (*DescribeDomainControllersOutput, error)

DescribeDomainControllers API operation for AWS Directory Service.

Provides information about any domain controllers in your directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeDomainControllers for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

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

func (*DirectoryService) DescribeDomainControllersPages Uses

func (c *DirectoryService) DescribeDomainControllersPages(input *DescribeDomainControllersInput, fn func(*DescribeDomainControllersOutput, bool) bool) error

DescribeDomainControllersPages iterates over the pages of a DescribeDomainControllers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeDomainControllers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a DescribeDomainControllers operation.
pageNum := 0
err := client.DescribeDomainControllersPages(params,
    func(page *directoryservice.DescribeDomainControllersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DirectoryService) DescribeDomainControllersPagesWithContext Uses

func (c *DirectoryService) DescribeDomainControllersPagesWithContext(ctx aws.Context, input *DescribeDomainControllersInput, fn func(*DescribeDomainControllersOutput, bool) bool, opts ...request.Option) error

DescribeDomainControllersPagesWithContext same as DescribeDomainControllersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeDomainControllersRequest Uses

func (c *DirectoryService) DescribeDomainControllersRequest(input *DescribeDomainControllersInput) (req *request.Request, output *DescribeDomainControllersOutput)

DescribeDomainControllersRequest generates a "aws/request.Request" representing the client's request for the DescribeDomainControllers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDomainControllers for more information on using the DescribeDomainControllers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDomainControllersRequest method.
req, resp := client.DescribeDomainControllersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeDomainControllersWithContext Uses

func (c *DirectoryService) DescribeDomainControllersWithContext(ctx aws.Context, input *DescribeDomainControllersInput, opts ...request.Option) (*DescribeDomainControllersOutput, error)

DescribeDomainControllersWithContext is the same as DescribeDomainControllers with the addition of the ability to pass a context and additional request options.

See DescribeDomainControllers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeEventTopics Uses

func (c *DirectoryService) DescribeEventTopics(input *DescribeEventTopicsInput) (*DescribeEventTopicsOutput, error)

DescribeEventTopics 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeEventTopics for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DescribeEventTopicsRequest Uses

func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopicsInput) (req *request.Request, output *DescribeEventTopicsOutput)

DescribeEventTopicsRequest generates a "aws/request.Request" representing the client's request for the DescribeEventTopics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEventTopics for more information on using the DescribeEventTopics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventTopicsRequest method.
req, resp := client.DescribeEventTopicsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeEventTopicsWithContext Uses

func (c *DirectoryService) DescribeEventTopicsWithContext(ctx aws.Context, input *DescribeEventTopicsInput, opts ...request.Option) (*DescribeEventTopicsOutput, error)

DescribeEventTopicsWithContext is the same as DescribeEventTopics with the addition of the ability to pass a context and additional request options.

See DescribeEventTopics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeSharedDirectories Uses

func (c *DirectoryService) DescribeSharedDirectories(input *DescribeSharedDirectoriesInput) (*DescribeSharedDirectoriesOutput, error)

DescribeSharedDirectories API operation for AWS Directory Service.

Returns the shared directories in your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeSharedDirectories for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DescribeSharedDirectoriesRequest Uses

func (c *DirectoryService) DescribeSharedDirectoriesRequest(input *DescribeSharedDirectoriesInput) (req *request.Request, output *DescribeSharedDirectoriesOutput)

DescribeSharedDirectoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeSharedDirectories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSharedDirectories for more information on using the DescribeSharedDirectories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSharedDirectoriesRequest method.
req, resp := client.DescribeSharedDirectoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeSharedDirectoriesWithContext Uses

func (c *DirectoryService) DescribeSharedDirectoriesWithContext(ctx aws.Context, input *DescribeSharedDirectoriesInput, opts ...request.Option) (*DescribeSharedDirectoriesOutput, error)

DescribeSharedDirectoriesWithContext is the same as DescribeSharedDirectories with the addition of the ability to pass a context and additional request options.

See DescribeSharedDirectories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeSnapshots Uses

func (c *DirectoryService) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error)

DescribeSnapshots 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeSnapshots for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DescribeSnapshotsRequest Uses

func (c *DirectoryService) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput)

DescribeSnapshotsRequest generates a "aws/request.Request" representing the client's request for the DescribeSnapshots operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSnapshots for more information on using the DescribeSnapshots API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSnapshotsRequest method.
req, resp := client.DescribeSnapshotsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeSnapshotsWithContext Uses

func (c *DirectoryService) DescribeSnapshotsWithContext(ctx aws.Context, input *DescribeSnapshotsInput, opts ...request.Option) (*DescribeSnapshotsOutput, error)

DescribeSnapshotsWithContext is the same as DescribeSnapshots with the addition of the ability to pass a context and additional request options.

See DescribeSnapshots for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DescribeTrusts Uses

func (c *DirectoryService) DescribeTrusts(input *DescribeTrustsInput) (*DescribeTrustsOutput, error)

DescribeTrusts 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DescribeTrusts for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

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

func (*DirectoryService) DescribeTrustsRequest Uses

func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) (req *request.Request, output *DescribeTrustsOutput)

DescribeTrustsRequest generates a "aws/request.Request" representing the client's request for the DescribeTrusts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeTrusts for more information on using the DescribeTrusts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeTrustsRequest method.
req, resp := client.DescribeTrustsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DescribeTrustsWithContext Uses

func (c *DirectoryService) DescribeTrustsWithContext(ctx aws.Context, input *DescribeTrustsInput, opts ...request.Option) (*DescribeTrustsOutput, error)

DescribeTrustsWithContext is the same as DescribeTrusts with the addition of the ability to pass a context and additional request options.

See DescribeTrusts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DisableRadius Uses

func (c *DirectoryService) DisableRadius(input *DisableRadiusInput) (*DisableRadiusOutput, error)

DisableRadius 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DisableRadius for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DisableRadiusRequest Uses

func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req *request.Request, output *DisableRadiusOutput)

DisableRadiusRequest generates a "aws/request.Request" representing the client's request for the DisableRadius operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableRadius for more information on using the DisableRadius API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableRadiusRequest method.
req, resp := client.DisableRadiusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DisableRadiusWithContext Uses

func (c *DirectoryService) DisableRadiusWithContext(ctx aws.Context, input *DisableRadiusInput, opts ...request.Option) (*DisableRadiusOutput, error)

DisableRadiusWithContext is the same as DisableRadius with the addition of the ability to pass a context and additional request options.

See DisableRadius for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) DisableSso Uses

func (c *DirectoryService) DisableSso(input *DisableSsoInput) (*DisableSsoOutput, error)

DisableSso API operation for AWS Directory Service.

Disables single-sign on for a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation DisableSso for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInsufficientPermissionsException "InsufficientPermissionsException"
The account does not have sufficient permission to perform the operation.

* ErrCodeAuthenticationFailedException "AuthenticationFailedException"
An authentication error occurred.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) DisableSsoRequest Uses

func (c *DirectoryService) DisableSsoRequest(input *DisableSsoInput) (req *request.Request, output *DisableSsoOutput)

DisableSsoRequest generates a "aws/request.Request" representing the client's request for the DisableSso operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableSso for more information on using the DisableSso API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableSsoRequest method.
req, resp := client.DisableSsoRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) DisableSsoWithContext Uses

func (c *DirectoryService) DisableSsoWithContext(ctx aws.Context, input *DisableSsoInput, opts ...request.Option) (*DisableSsoOutput, error)

DisableSsoWithContext is the same as DisableSso with the addition of the ability to pass a context and additional request options.

See DisableSso for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) EnableRadius Uses

func (c *DirectoryService) EnableRadius(input *EnableRadiusInput) (*EnableRadiusOutput, error)

EnableRadius 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation EnableRadius for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
The specified entity already exists.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) EnableRadiusRequest Uses

func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *request.Request, output *EnableRadiusOutput)

EnableRadiusRequest generates a "aws/request.Request" representing the client's request for the EnableRadius operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableRadius for more information on using the EnableRadius API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableRadiusRequest method.
req, resp := client.EnableRadiusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) EnableRadiusWithContext Uses

func (c *DirectoryService) EnableRadiusWithContext(ctx aws.Context, input *EnableRadiusInput, opts ...request.Option) (*EnableRadiusOutput, error)

EnableRadiusWithContext is the same as EnableRadius with the addition of the ability to pass a context and additional request options.

See EnableRadius for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) EnableSso Uses

func (c *DirectoryService) EnableSso(input *EnableSsoInput) (*EnableSsoOutput, error)

EnableSso API operation for AWS Directory Service.

Enables single sign-on for a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation EnableSso for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInsufficientPermissionsException "InsufficientPermissionsException"
The account does not have sufficient permission to perform the operation.

* ErrCodeAuthenticationFailedException "AuthenticationFailedException"
An authentication error occurred.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) EnableSsoRequest Uses

func (c *DirectoryService) EnableSsoRequest(input *EnableSsoInput) (req *request.Request, output *EnableSsoOutput)

EnableSsoRequest generates a "aws/request.Request" representing the client's request for the EnableSso operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableSso for more information on using the EnableSso API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableSsoRequest method.
req, resp := client.EnableSsoRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) EnableSsoWithContext Uses

func (c *DirectoryService) EnableSsoWithContext(ctx aws.Context, input *EnableSsoInput, opts ...request.Option) (*EnableSsoOutput, error)

EnableSsoWithContext is the same as EnableSso with the addition of the ability to pass a context and additional request options.

See EnableSso for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) GetDirectoryLimits Uses

func (c *DirectoryService) GetDirectoryLimits(input *GetDirectoryLimitsInput) (*GetDirectoryLimitsOutput, error)

GetDirectoryLimits API operation for AWS Directory Service.

Obtains directory limit information for the current region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation GetDirectoryLimits for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) GetDirectoryLimitsRequest Uses

func (c *DirectoryService) GetDirectoryLimitsRequest(input *GetDirectoryLimitsInput) (req *request.Request, output *GetDirectoryLimitsOutput)

GetDirectoryLimitsRequest generates a "aws/request.Request" representing the client's request for the GetDirectoryLimits operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDirectoryLimits for more information on using the GetDirectoryLimits API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDirectoryLimitsRequest method.
req, resp := client.GetDirectoryLimitsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) GetDirectoryLimitsWithContext Uses

func (c *DirectoryService) GetDirectoryLimitsWithContext(ctx aws.Context, input *GetDirectoryLimitsInput, opts ...request.Option) (*GetDirectoryLimitsOutput, error)

GetDirectoryLimitsWithContext is the same as GetDirectoryLimits with the addition of the ability to pass a context and additional request options.

See GetDirectoryLimits for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) GetSnapshotLimits Uses

func (c *DirectoryService) GetSnapshotLimits(input *GetSnapshotLimitsInput) (*GetSnapshotLimitsOutput, error)

GetSnapshotLimits API operation for AWS Directory Service.

Obtains the manual snapshot limits for a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation GetSnapshotLimits for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) GetSnapshotLimitsRequest Uses

func (c *DirectoryService) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInput) (req *request.Request, output *GetSnapshotLimitsOutput)

GetSnapshotLimitsRequest generates a "aws/request.Request" representing the client's request for the GetSnapshotLimits operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSnapshotLimits for more information on using the GetSnapshotLimits API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSnapshotLimitsRequest method.
req, resp := client.GetSnapshotLimitsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) GetSnapshotLimitsWithContext Uses

func (c *DirectoryService) GetSnapshotLimitsWithContext(ctx aws.Context, input *GetSnapshotLimitsInput, opts ...request.Option) (*GetSnapshotLimitsOutput, error)

GetSnapshotLimitsWithContext is the same as GetSnapshotLimits with the addition of the ability to pass a context and additional request options.

See GetSnapshotLimits for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ListIpRoutes Uses

func (c *DirectoryService) ListIpRoutes(input *ListIpRoutesInput) (*ListIpRoutesOutput, error)

ListIpRoutes API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ListIpRoutes for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ListIpRoutesRequest Uses

func (c *DirectoryService) ListIpRoutesRequest(input *ListIpRoutesInput) (req *request.Request, output *ListIpRoutesOutput)

ListIpRoutesRequest generates a "aws/request.Request" representing the client's request for the ListIpRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListIpRoutes for more information on using the ListIpRoutes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListIpRoutesRequest method.
req, resp := client.ListIpRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ListIpRoutesWithContext Uses

func (c *DirectoryService) ListIpRoutesWithContext(ctx aws.Context, input *ListIpRoutesInput, opts ...request.Option) (*ListIpRoutesOutput, error)

ListIpRoutesWithContext is the same as ListIpRoutes with the addition of the ability to pass a context and additional request options.

See ListIpRoutes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ListLogSubscriptions Uses

func (c *DirectoryService) ListLogSubscriptions(input *ListLogSubscriptionsInput) (*ListLogSubscriptionsOutput, error)

ListLogSubscriptions API operation for AWS Directory Service.

Lists the active log subscriptions for the AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ListLogSubscriptions for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ListLogSubscriptionsRequest Uses

func (c *DirectoryService) ListLogSubscriptionsRequest(input *ListLogSubscriptionsInput) (req *request.Request, output *ListLogSubscriptionsOutput)

ListLogSubscriptionsRequest generates a "aws/request.Request" representing the client's request for the ListLogSubscriptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListLogSubscriptions for more information on using the ListLogSubscriptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListLogSubscriptionsRequest method.
req, resp := client.ListLogSubscriptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ListLogSubscriptionsWithContext Uses

func (c *DirectoryService) ListLogSubscriptionsWithContext(ctx aws.Context, input *ListLogSubscriptionsInput, opts ...request.Option) (*ListLogSubscriptionsOutput, error)

ListLogSubscriptionsWithContext is the same as ListLogSubscriptions with the addition of the ability to pass a context and additional request options.

See ListLogSubscriptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ListSchemaExtensions Uses

func (c *DirectoryService) ListSchemaExtensions(input *ListSchemaExtensionsInput) (*ListSchemaExtensionsOutput, error)

ListSchemaExtensions API operation for AWS Directory Service.

Lists all schema extensions applied to a Microsoft AD Directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ListSchemaExtensions for usage and error information.

Returned Error Codes:

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ListSchemaExtensionsRequest Uses

func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensionsInput) (req *request.Request, output *ListSchemaExtensionsOutput)

ListSchemaExtensionsRequest generates a "aws/request.Request" representing the client's request for the ListSchemaExtensions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSchemaExtensions for more information on using the ListSchemaExtensions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSchemaExtensionsRequest method.
req, resp := client.ListSchemaExtensionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ListSchemaExtensionsWithContext Uses

func (c *DirectoryService) ListSchemaExtensionsWithContext(ctx aws.Context, input *ListSchemaExtensionsInput, opts ...request.Option) (*ListSchemaExtensionsOutput, error)

ListSchemaExtensionsWithContext is the same as ListSchemaExtensions with the addition of the ability to pass a context and additional request options.

See ListSchemaExtensions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ListTagsForResource Uses

func (c *DirectoryService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Directory Service.

Lists all tags on a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The NextToken value is not valid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ListTagsForResourceRequest Uses

func (c *DirectoryService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ListTagsForResourceWithContext Uses

func (c *DirectoryService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) RegisterEventTopic Uses

func (c *DirectoryService) RegisterEventTopic(input *RegisterEventTopicInput) (*RegisterEventTopicOutput, error)

RegisterEventTopic 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation RegisterEventTopic for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) RegisterEventTopicRequest Uses

func (c *DirectoryService) RegisterEventTopicRequest(input *RegisterEventTopicInput) (req *request.Request, output *RegisterEventTopicOutput)

RegisterEventTopicRequest generates a "aws/request.Request" representing the client's request for the RegisterEventTopic operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterEventTopic for more information on using the RegisterEventTopic API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterEventTopicRequest method.
req, resp := client.RegisterEventTopicRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) RegisterEventTopicWithContext Uses

func (c *DirectoryService) RegisterEventTopicWithContext(ctx aws.Context, input *RegisterEventTopicInput, opts ...request.Option) (*RegisterEventTopicOutput, error)

RegisterEventTopicWithContext is the same as RegisterEventTopic with the addition of the ability to pass a context and additional request options.

See RegisterEventTopic for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) RejectSharedDirectory Uses

func (c *DirectoryService) RejectSharedDirectory(input *RejectSharedDirectoryInput) (*RejectSharedDirectoryOutput, error)

RejectSharedDirectory API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation RejectSharedDirectory for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryAlreadySharedException "DirectoryAlreadySharedException"
The specified directory has already been shared with this AWS account.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) RejectSharedDirectoryRequest Uses

func (c *DirectoryService) RejectSharedDirectoryRequest(input *RejectSharedDirectoryInput) (req *request.Request, output *RejectSharedDirectoryOutput)

RejectSharedDirectoryRequest generates a "aws/request.Request" representing the client's request for the RejectSharedDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RejectSharedDirectory for more information on using the RejectSharedDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RejectSharedDirectoryRequest method.
req, resp := client.RejectSharedDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) RejectSharedDirectoryWithContext Uses

func (c *DirectoryService) RejectSharedDirectoryWithContext(ctx aws.Context, input *RejectSharedDirectoryInput, opts ...request.Option) (*RejectSharedDirectoryOutput, error)

RejectSharedDirectoryWithContext is the same as RejectSharedDirectory with the addition of the ability to pass a context and additional request options.

See RejectSharedDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) RemoveIpRoutes Uses

func (c *DirectoryService) RemoveIpRoutes(input *RemoveIpRoutesInput) (*RemoveIpRoutesOutput, error)

RemoveIpRoutes API operation for AWS Directory Service.

Removes IP address blocks from a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation RemoveIpRoutes for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) RemoveIpRoutesRequest Uses

func (c *DirectoryService) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) (req *request.Request, output *RemoveIpRoutesOutput)

RemoveIpRoutesRequest generates a "aws/request.Request" representing the client's request for the RemoveIpRoutes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveIpRoutes for more information on using the RemoveIpRoutes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveIpRoutesRequest method.
req, resp := client.RemoveIpRoutesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) RemoveIpRoutesWithContext Uses

func (c *DirectoryService) RemoveIpRoutesWithContext(ctx aws.Context, input *RemoveIpRoutesInput, opts ...request.Option) (*RemoveIpRoutesOutput, error)

RemoveIpRoutesWithContext is the same as RemoveIpRoutes with the addition of the ability to pass a context and additional request options.

See RemoveIpRoutes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) RemoveTagsFromResource Uses

func (c *DirectoryService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResource API operation for AWS Directory Service.

Removes tags from a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation RemoveTagsFromResource for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) RemoveTagsFromResourceRequest Uses

func (c *DirectoryService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)

RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveTagsFromResource for more information on using the RemoveTagsFromResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveTagsFromResourceRequest method.
req, resp := client.RemoveTagsFromResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) RemoveTagsFromResourceWithContext Uses

func (c *DirectoryService) RemoveTagsFromResourceWithContext(ctx aws.Context, input *RemoveTagsFromResourceInput, opts ...request.Option) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResourceWithContext is the same as RemoveTagsFromResource with the addition of the ability to pass a context and additional request options.

See RemoveTagsFromResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ResetUserPassword Uses

func (c *DirectoryService) ResetUserPassword(input *ResetUserPasswordInput) (*ResetUserPasswordOutput, error)

ResetUserPassword API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ResetUserPassword for usage and error information.

Returned Error Codes:

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeUserDoesNotExistException "UserDoesNotExistException"
The user provided a username that does not exist in your directory.

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

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ResetUserPasswordRequest Uses

func (c *DirectoryService) ResetUserPasswordRequest(input *ResetUserPasswordInput) (req *request.Request, output *ResetUserPasswordOutput)

ResetUserPasswordRequest generates a "aws/request.Request" representing the client's request for the ResetUserPassword operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetUserPassword for more information on using the ResetUserPassword API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetUserPasswordRequest method.
req, resp := client.ResetUserPasswordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ResetUserPasswordWithContext Uses

func (c *DirectoryService) ResetUserPasswordWithContext(ctx aws.Context, input *ResetUserPasswordInput, opts ...request.Option) (*ResetUserPasswordOutput, error)

ResetUserPasswordWithContext is the same as ResetUserPassword with the addition of the ability to pass a context and additional request options.

See ResetUserPassword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) RestoreFromSnapshot Uses

func (c *DirectoryService) RestoreFromSnapshot(input *RestoreFromSnapshotInput) (*RestoreFromSnapshotOutput, error)

RestoreFromSnapshot 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation RestoreFromSnapshot for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) RestoreFromSnapshotRequest Uses

func (c *DirectoryService) RestoreFromSnapshotRequest(input *RestoreFromSnapshotInput) (req *request.Request, output *RestoreFromSnapshotOutput)

RestoreFromSnapshotRequest generates a "aws/request.Request" representing the client's request for the RestoreFromSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RestoreFromSnapshot for more information on using the RestoreFromSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RestoreFromSnapshotRequest method.
req, resp := client.RestoreFromSnapshotRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) RestoreFromSnapshotWithContext Uses

func (c *DirectoryService) RestoreFromSnapshotWithContext(ctx aws.Context, input *RestoreFromSnapshotInput, opts ...request.Option) (*RestoreFromSnapshotOutput, error)

RestoreFromSnapshotWithContext is the same as RestoreFromSnapshot with the addition of the ability to pass a context and additional request options.

See RestoreFromSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) ShareDirectory Uses

func (c *DirectoryService) ShareDirectory(input *ShareDirectoryInput) (*ShareDirectoryOutput, error)

ShareDirectory 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation ShareDirectory for usage and error information.

Returned Error Codes:

* ErrCodeDirectoryAlreadySharedException "DirectoryAlreadySharedException"
The specified directory has already been shared with this AWS account.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidTargetException "InvalidTargetException"
The specified shared target is not valid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

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

* ErrCodeOrganizationsException "OrganizationsException"
Exception encountered while trying to access your AWS organization.

* ErrCodeAccessDeniedException "AccessDeniedException"
You do not have sufficient access to perform this action.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) ShareDirectoryRequest Uses

func (c *DirectoryService) ShareDirectoryRequest(input *ShareDirectoryInput) (req *request.Request, output *ShareDirectoryOutput)

ShareDirectoryRequest generates a "aws/request.Request" representing the client's request for the ShareDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ShareDirectory for more information on using the ShareDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ShareDirectoryRequest method.
req, resp := client.ShareDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) ShareDirectoryWithContext Uses

func (c *DirectoryService) ShareDirectoryWithContext(ctx aws.Context, input *ShareDirectoryInput, opts ...request.Option) (*ShareDirectoryOutput, error)

ShareDirectoryWithContext is the same as ShareDirectory with the addition of the ability to pass a context and additional request options.

See ShareDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) StartSchemaExtension Uses

func (c *DirectoryService) StartSchemaExtension(input *StartSchemaExtensionInput) (*StartSchemaExtensionOutput, error)

StartSchemaExtension API operation for AWS Directory Service.

Applies a schema extension to a Microsoft AD directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation StartSchemaExtension for usage and error information.

Returned Error Codes:

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeSnapshotLimitExceededException "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.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) StartSchemaExtensionRequest Uses

func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) (req *request.Request, output *StartSchemaExtensionOutput)

StartSchemaExtensionRequest generates a "aws/request.Request" representing the client's request for the StartSchemaExtension operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartSchemaExtension for more information on using the StartSchemaExtension API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartSchemaExtensionRequest method.
req, resp := client.StartSchemaExtensionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) StartSchemaExtensionWithContext Uses

func (c *DirectoryService) StartSchemaExtensionWithContext(ctx aws.Context, input *StartSchemaExtensionInput, opts ...request.Option) (*StartSchemaExtensionOutput, error)

StartSchemaExtensionWithContext is the same as StartSchemaExtension with the addition of the ability to pass a context and additional request options.

See StartSchemaExtension for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) UnshareDirectory Uses

func (c *DirectoryService) UnshareDirectory(input *UnshareDirectoryInput) (*UnshareDirectoryOutput, error)

UnshareDirectory API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation UnshareDirectory for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidTargetException "InvalidTargetException"
The specified shared target is not valid.

* ErrCodeDirectoryNotSharedException "DirectoryNotSharedException"
The specified directory has not been shared with this AWS account.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) UnshareDirectoryRequest Uses

func (c *DirectoryService) UnshareDirectoryRequest(input *UnshareDirectoryInput) (req *request.Request, output *UnshareDirectoryOutput)

UnshareDirectoryRequest generates a "aws/request.Request" representing the client's request for the UnshareDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UnshareDirectory for more information on using the UnshareDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UnshareDirectoryRequest method.
req, resp := client.UnshareDirectoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) UnshareDirectoryWithContext Uses

func (c *DirectoryService) UnshareDirectoryWithContext(ctx aws.Context, input *UnshareDirectoryInput, opts ...request.Option) (*UnshareDirectoryOutput, error)

UnshareDirectoryWithContext is the same as UnshareDirectory with the addition of the ability to pass a context and additional request options.

See UnshareDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) UpdateConditionalForwarder Uses

func (c *DirectoryService) UpdateConditionalForwarder(input *UpdateConditionalForwarderInput) (*UpdateConditionalForwarderOutput, error)

UpdateConditionalForwarder API operation for AWS Directory Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation UpdateConditionalForwarder for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) UpdateConditionalForwarderRequest Uses

func (c *DirectoryService) UpdateConditionalForwarderRequest(input *UpdateConditionalForwarderInput) (req *request.Request, output *UpdateConditionalForwarderOutput)

UpdateConditionalForwarderRequest generates a "aws/request.Request" representing the client's request for the UpdateConditionalForwarder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateConditionalForwarder for more information on using the UpdateConditionalForwarder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateConditionalForwarderRequest method.
req, resp := client.UpdateConditionalForwarderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) UpdateConditionalForwarderWithContext Uses

func (c *DirectoryService) UpdateConditionalForwarderWithContext(ctx aws.Context, input *UpdateConditionalForwarderInput, opts ...request.Option) (*UpdateConditionalForwarderOutput, error)

UpdateConditionalForwarderWithContext is the same as UpdateConditionalForwarder with the addition of the ability to pass a context and additional request options.

See UpdateConditionalForwarder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) UpdateNumberOfDomainControllers Uses

func (c *DirectoryService) UpdateNumberOfDomainControllers(input *UpdateNumberOfDomainControllersInput) (*UpdateNumberOfDomainControllersOutput, error)

UpdateNumberOfDomainControllers 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation UpdateNumberOfDomainControllers for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
The specified directory is unavailable or could not be found.

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

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) UpdateNumberOfDomainControllersRequest Uses

func (c *DirectoryService) UpdateNumberOfDomainControllersRequest(input *UpdateNumberOfDomainControllersInput) (req *request.Request, output *UpdateNumberOfDomainControllersOutput)

UpdateNumberOfDomainControllersRequest generates a "aws/request.Request" representing the client's request for the UpdateNumberOfDomainControllers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateNumberOfDomainControllers for more information on using the UpdateNumberOfDomainControllers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateNumberOfDomainControllersRequest method.
req, resp := client.UpdateNumberOfDomainControllersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) UpdateNumberOfDomainControllersWithContext Uses

func (c *DirectoryService) UpdateNumberOfDomainControllersWithContext(ctx aws.Context, input *UpdateNumberOfDomainControllersInput, opts ...request.Option) (*UpdateNumberOfDomainControllersOutput, error)

UpdateNumberOfDomainControllersWithContext is the same as UpdateNumberOfDomainControllers with the addition of the ability to pass a context and additional request options.

See UpdateNumberOfDomainControllers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) UpdateRadius Uses

func (c *DirectoryService) UpdateRadius(input *UpdateRadiusInput) (*UpdateRadiusOutput, error)

UpdateRadius 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation UpdateRadius for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) UpdateRadiusRequest Uses

func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *request.Request, output *UpdateRadiusOutput)

UpdateRadiusRequest generates a "aws/request.Request" representing the client's request for the UpdateRadius operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRadius for more information on using the UpdateRadius API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRadiusRequest method.
req, resp := client.UpdateRadiusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) UpdateRadiusWithContext Uses

func (c *DirectoryService) UpdateRadiusWithContext(ctx aws.Context, input *UpdateRadiusInput, opts ...request.Option) (*UpdateRadiusOutput, error)

UpdateRadiusWithContext is the same as UpdateRadius with the addition of the ability to pass a context and additional request options.

See UpdateRadius for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) UpdateTrust Uses

func (c *DirectoryService) UpdateTrust(input *UpdateTrustInput) (*UpdateTrustOutput, error)

UpdateTrust 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation UpdateTrust for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

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

func (*DirectoryService) UpdateTrustRequest Uses

func (c *DirectoryService) UpdateTrustRequest(input *UpdateTrustInput) (req *request.Request, output *UpdateTrustOutput)

UpdateTrustRequest generates a "aws/request.Request" representing the client's request for the UpdateTrust operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateTrust for more information on using the UpdateTrust API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateTrustRequest method.
req, resp := client.UpdateTrustRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) UpdateTrustWithContext Uses

func (c *DirectoryService) UpdateTrustWithContext(ctx aws.Context, input *UpdateTrustInput, opts ...request.Option) (*UpdateTrustOutput, error)

UpdateTrustWithContext is the same as UpdateTrust with the addition of the ability to pass a context and additional request options.

See UpdateTrust for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DirectoryService) VerifyTrust Uses

func (c *DirectoryService) VerifyTrust(input *VerifyTrustInput) (*VerifyTrustOutput, error)

VerifyTrust 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Directory Service's API operation VerifyTrust for usage and error information.

Returned Error Codes:

* ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
The specified entity could not be found.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters are not valid.

* ErrCodeClientException "ClientException"
A client exception has occurred.

* ErrCodeServiceException "ServiceException"
An exception has occurred in AWS Directory Service.

* ErrCodeUnsupportedOperationException "UnsupportedOperationException"
The operation is not supported.

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

func (*DirectoryService) VerifyTrustRequest Uses

func (c *DirectoryService) VerifyTrustRequest(input *VerifyTrustInput) (req *request.Request, output *VerifyTrustOutput)

VerifyTrustRequest generates a "aws/request.Request" representing the client's request for the VerifyTrust operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See VerifyTrust for more information on using the VerifyTrust API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the VerifyTrustRequest method.
req, resp := client.VerifyTrustRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*DirectoryService) VerifyTrustWithContext Uses

func (c *DirectoryService) VerifyTrustWithContext(ctx aws.Context, input *VerifyTrustInput, opts ...request.Option) (*VerifyTrustOutput, error)

VerifyTrustWithContext is the same as VerifyTrust with the addition of the ability to pass a context and additional request options.

See VerifyTrust for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type DirectoryVpcSettings Uses

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) GoString Uses

func (s DirectoryVpcSettings) GoString() string

GoString returns the string representation

func (*DirectoryVpcSettings) SetSubnetIds Uses

func (s *DirectoryVpcSettings) SetSubnetIds(v []*string) *DirectoryVpcSettings

SetSubnetIds sets the SubnetIds field's value.

func (*DirectoryVpcSettings) SetVpcId Uses

func (s *DirectoryVpcSettings) SetVpcId(v string) *DirectoryVpcSettings

SetVpcId sets the VpcId field's value.

func (DirectoryVpcSettings) String Uses

func (s DirectoryVpcSettings) String() string

String returns the string representation

func (*DirectoryVpcSettings) Validate Uses

func (s *DirectoryVpcSettings) Validate() error

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

type DirectoryVpcSettingsDescription Uses

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) GoString Uses

func (s DirectoryVpcSettingsDescription) GoString() string

GoString returns the string representation

func (*DirectoryVpcSettingsDescription) SetAvailabilityZones Uses

func (s *DirectoryVpcSettingsDescription) SetAvailabilityZones(v []*string) *DirectoryVpcSettingsDescription

SetAvailabilityZones sets the AvailabilityZones field's value.

func (*DirectoryVpcSettingsDescription) SetSecurityGroupId Uses

func (s *DirectoryVpcSettingsDescription) SetSecurityGroupId(v string) *DirectoryVpcSettingsDescription

SetSecurityGroupId sets the SecurityGroupId field's value.

func (*DirectoryVpcSettingsDescription) SetSubnetIds Uses

func (s *DirectoryVpcSettingsDescription) SetSubnetIds(v []*string) *DirectoryVpcSettingsDescription

SetSubnetIds sets the SubnetIds field's value.

func (*DirectoryVpcSettingsDescription) SetVpcId Uses

func (s *DirectoryVpcSettingsDescription) SetVpcId(v string) *DirectoryVpcSettingsDescription

SetVpcId sets the VpcId field's value.

func (DirectoryVpcSettingsDescription) String Uses

func (s DirectoryVpcSettingsDescription) String() string

String returns the string representation

type DisableRadiusInput Uses

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) GoString Uses

func (s DisableRadiusInput) GoString() string

GoString returns the string representation

func (*DisableRadiusInput) SetDirectoryId Uses

func (s *DisableRadiusInput) SetDirectoryId(v string) *DisableRadiusInput

SetDirectoryId sets the DirectoryId field's value.

func (DisableRadiusInput) String Uses

func (s DisableRadiusInput) String() string

String returns the string representation

func (*DisableRadiusInput) Validate Uses

func (s *DisableRadiusInput) Validate() error

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

type DisableRadiusOutput Uses

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

Contains the results of the DisableRadius operation.

func (DisableRadiusOutput) GoString Uses

func (s DisableRadiusOutput) GoString() string

GoString returns the string representation

func (DisableRadiusOutput) String Uses

func (s DisableRadiusOutput) String() string

String returns the string representation

type DisableSsoInput Uses

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) GoString Uses

func (s DisableSsoInput) GoString() string

GoString returns the string representation

func (*DisableSsoInput) SetDirectoryId Uses

func (s *DisableSsoInput) SetDirectoryId(v string) *DisableSsoInput

SetDirectoryId sets the DirectoryId field's value.

func (*DisableSsoInput) SetPassword Uses

func (s *DisableSsoInput) SetPassword(v string) *DisableSsoInput

SetPassword sets the Password field's value.

func (*DisableSsoInput) SetUserName Uses

func (s *DisableSsoInput) SetUserName(v string) *DisableSsoInput

SetUserName sets the UserName field's value.

func (DisableSsoInput) String Uses

func (s DisableSsoInput) String() string

String returns the string representation

func (*DisableSsoInput) Validate Uses

func (s *DisableSsoInput) Validate() error

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

type DisableSsoOutput Uses

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

Contains the results of the DisableSso operation.

func (DisableSsoOutput) GoString Uses

func (s DisableSsoOutput) GoString() string

GoString returns the string representation

func (DisableSsoOutput) String Uses

func (s DisableSsoOutput) String() string

String returns the string representation

type DomainController Uses

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 *string `type:"string" enum:"DomainControllerStatus"`

    // 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) GoString Uses

func (s DomainController) GoString() string

GoString returns the string representation

func (*DomainController) SetAvailabilityZone Uses

func (s *DomainController) SetAvailabilityZone(v string) *DomainController

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*DomainController) SetDirectoryId Uses

func (s *DomainController) SetDirectoryId(v string) *DomainController

SetDirectoryId sets the DirectoryId field's value.

func (*DomainController) SetDnsIpAddr Uses

func (s *DomainController) SetDnsIpAddr(v string) *DomainController

SetDnsIpAddr sets the DnsIpAddr field's value.

func (*DomainController) SetDomainControllerId Uses

func (s *DomainController) SetDomainControllerId(v string) *DomainController

SetDomainControllerId sets the DomainControllerId field's value.

func (*DomainController) SetLaunchTime Uses

func (s *DomainController) SetLaunchTime(v time.Time) *DomainController

SetLaunchTime sets the LaunchTime field's value.

func (*DomainController) SetStatus Uses

func (s *DomainController) SetStatus(v string) *DomainController

SetStatus sets the Status field's value.

func (*DomainController) SetStatusLastUpdatedDateTime Uses

func (s *DomainController) SetStatusLastUpdatedDateTime(v time.Time) *DomainController

SetStatusLastUpdatedDateTime sets the StatusLastUpdatedDateTime field's value.

func (*DomainController) SetStatusReason Uses

func (s *DomainController) SetStatusReason(v string) *DomainController

SetStatusReason sets the StatusReason field's value.

func (*DomainController) SetSubnetId Uses

func (s *DomainController) SetSubnetId(v string) *DomainController

SetSubnetId sets the SubnetId field's value.

func (*DomainController) SetVpcId Uses

func (s *DomainController) SetVpcId(v string) *DomainController

SetVpcId sets the VpcId field's value.

func (DomainController) String Uses

func (s DomainController) String() string

String returns the string representation

type EnableRadiusInput Uses

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) GoString Uses

func (s EnableRadiusInput) GoString() string

GoString returns the string representation

func (*EnableRadiusInput) SetDirectoryId Uses

func (s *EnableRadiusInput) SetDirectoryId(v string) *EnableRadiusInput

SetDirectoryId sets the DirectoryId field's value.

func (*EnableRadiusInput) SetRadiusSettings Uses

func (s *EnableRadiusInput) SetRadiusSettings(v *RadiusSettings) *EnableRadiusInput

SetRadiusSettings sets the RadiusSettings field's value.

func (EnableRadiusInput) String Uses

func (s EnableRadiusInput) String() string

String returns the string representation

func (*EnableRadiusInput) Validate Uses

func (s *EnableRadiusInput) Validate() error

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

type EnableRadiusOutput Uses

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

Contains the results of the EnableRadius operation.

func (EnableRadiusOutput) GoString Uses

func (s EnableRadiusOutput) GoString() string

GoString returns the string representation

func (EnableRadiusOutput) String Uses

func (s EnableRadiusOutput) String() string

String returns the string representation

type EnableSsoInput Uses

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) GoString Uses

func (s EnableSsoInput) GoString() string

GoString returns the string representation

func (*EnableSsoInput) SetDirectoryId Uses

func (s *EnableSsoInput) SetDirectoryId(v string) *EnableSsoInput

SetDirectoryId sets the DirectoryId field's value.

func (*EnableSsoInput) SetPassword Uses

func (s *EnableSsoInput) SetPassword(v string) *EnableSsoInput

SetPassword sets the Password field's value.

func (*EnableSsoInput) SetUserName Uses

func (s *EnableSsoInput) SetUserName(v string) *EnableSsoInput

SetUserName sets the UserName field's value.

func (EnableSsoInput) String Uses

func (s EnableSsoInput) String() string

String returns the string representation

func (*EnableSsoInput) Validate Uses

func (s *EnableSsoInput) Validate() error

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

type EnableSsoOutput Uses

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

Contains the results of the EnableSso operation.

func (EnableSsoOutput) GoString Uses

func (s EnableSsoOutput) GoString() string

GoString returns the string representation

func (EnableSsoOutput) String Uses

func (s EnableSsoOutput) String() string

String returns the string representation

type EventTopic Uses

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 *string `type:"string" enum:"TopicStatus"`

    // 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) GoString Uses

func (s EventTopic) GoString() string

GoString returns the string representation

func (*EventTopic) SetCreatedDateTime Uses

func (s *EventTopic) SetCreatedDateTime(v time.Time) *EventTopic

SetCreatedDateTime sets the CreatedDateTime field's value.

func (*EventTopic) SetDirectoryId Uses

func (s *EventTopic) SetDirectoryId(v string) *EventTopic

SetDirectoryId sets the DirectoryId field's value.

func (*EventTopic) SetStatus Uses

func (s *EventTopic) SetStatus(v string) *EventTopic

SetStatus sets the Status field's value.

func (*EventTopic) SetTopicArn Uses

func (s *EventTopic) SetTopicArn(v string) *EventTopic

SetTopicArn sets the TopicArn field's value.

func (*EventTopic) SetTopicName Uses

func (s *EventTopic) SetTopicName(v string) *EventTopic

SetTopicName sets the TopicName field's value.

func (EventTopic) String Uses

func (s EventTopic) String() string

String returns the string representation

type GetDirectoryLimitsInput Uses

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

Contains the inputs for the GetDirectoryLimits operation.

func (GetDirectoryLimitsInput) GoString Uses

func (s GetDirectoryLimitsInput) GoString() string

GoString returns the string representation

func (GetDirectoryLimitsInput) String Uses

func (s GetDirectoryLimitsInput) String() string

String returns the string representation

type GetDirectoryLimitsOutput Uses

type GetDirectoryLimitsOutput struct {

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

Contains the results of the GetDirectoryLimits operation.

func (GetDirectoryLimitsOutput) GoString Uses

func (s GetDirectoryLimitsOutput) GoString() string

GoString returns the string representation

func (*GetDirectoryLimitsOutput) SetDirectoryLimits Uses

func (s *GetDirectoryLimitsOutput) SetDirectoryLimits(v *DirectoryLimits) *GetDirectoryLimitsOutput

SetDirectoryLimits sets the DirectoryLimits field's value.

func (GetDirectoryLimitsOutput) String Uses

func (s GetDirectoryLimitsOutput) String() string

String returns the string representation

type GetSnapshotLimitsInput Uses

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) GoString Uses

func (s GetSnapshotLimitsInput) GoString() string

GoString returns the string representation

func (*GetSnapshotLimitsInput) SetDirectoryId Uses

func (s *GetSnapshotLimitsInput) SetDirectoryId(v string) *GetSnapshotLimitsInput

SetDirectoryId sets the DirectoryId field's value.

func (GetSnapshotLimitsInput) String Uses

func (s GetSnapshotLimitsInput) String() string

String returns the string representation

func (*GetSnapshotLimitsInput) Validate Uses

func (s *GetSnapshotLimitsInput) Validate() error

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

type GetSnapshotLimitsOutput Uses

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) GoString Uses

func (s GetSnapshotLimitsOutput) GoString() string

GoString returns the string representation

func (*GetSnapshotLimitsOutput) SetSnapshotLimits Uses

func (s *GetSnapshotLimitsOutput) SetSnapshotLimits(v *SnapshotLimits) *GetSnapshotLimitsOutput

SetSnapshotLimits sets the SnapshotLimits field's value.

func (GetSnapshotLimitsOutput) String Uses

func (s GetSnapshotLimitsOutput) String() string

String returns the string representation

type IpRoute Uses

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) GoString Uses

func (s IpRoute) GoString() string

GoString returns the string representation

func (*IpRoute) SetCidrIp Uses

func (s *IpRoute) SetCidrIp(v string) *IpRoute

SetCidrIp sets the CidrIp field's value.

func (*IpRoute) SetDescription Uses

func (s *IpRoute) SetDescription(v string) *IpRoute

SetDescription sets the Description field's value.

func (IpRoute) String Uses

func (s IpRoute) String() string

String returns the string representation

type IpRouteInfo Uses

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 *string `type:"string" enum:"IpRouteStatusMsg"`

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

Information about one or more IP address blocks.

func (IpRouteInfo) GoString Uses

func (s IpRouteInfo) GoString() string

GoString returns the string representation

func (*IpRouteInfo) SetAddedDateTime Uses

func (s *IpRouteInfo) SetAddedDateTime(v time.Time) *IpRouteInfo

SetAddedDateTime sets the AddedDateTime field's value.

func (*IpRouteInfo) SetCidrIp Uses

func (s *IpRouteInfo) SetCidrIp(v string) *IpRouteInfo

SetCidrIp sets the CidrIp field's value.

func (*IpRouteInfo) SetDescription Uses

func (s *IpRouteInfo) SetDescription(v string) *IpRouteInfo

SetDescription sets the Description field's value.

func (*IpRouteInfo) SetDirectoryId Uses

func (s *IpRouteInfo) SetDirectoryId(v string) *IpRouteInfo

SetDirectoryId sets the DirectoryId field's value.

func (*IpRouteInfo) SetIpRouteStatusMsg Uses

func (s *IpRouteInfo) SetIpRouteStatusMsg(v string) *IpRouteInfo

SetIpRouteStatusMsg sets the IpRouteStatusMsg field's value.

func (*IpRouteInfo) SetIpRouteStatusReason Uses

func (s *IpRouteInfo) SetIpRouteStatusReason(v string) *IpRouteInfo

SetIpRouteStatusReason sets the IpRouteStatusReason field's value.

func (IpRouteInfo) String Uses

func (s IpRouteInfo) String() string

String returns the string representation

type ListIpRoutesInput Uses

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) GoString Uses

func (s ListIpRoutesInput) GoString() string

GoString returns the string representation

func (*ListIpRoutesInput) SetDirectoryId Uses

func (s *ListIpRoutesInput) SetDirectoryId(v string) *ListIpRoutesInput

SetDirectoryId sets the DirectoryId field's value.

func (*ListIpRoutesInput) SetLimit Uses

func (s *ListIpRoutesInput) SetLimit(v int64) *ListIpRoutesInput

SetLimit sets the Limit field's value.

func (*ListIpRoutesInput) SetNextToken Uses

func (s *ListIpRoutesInput) SetNextToken(v string) *ListIpRoutesInput

SetNextToken sets the NextToken field's value.

func (ListIpRoutesInput) String Uses

func (s ListIpRoutesInput) String() string

String returns the string representation

func (*ListIpRoutesInput) Validate Uses

func (s *ListIpRoutesInput) Validate() error

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

type ListIpRoutesOutput Uses

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) GoString Uses

func (s ListIpRoutesOutput) GoString() string

GoString returns the string representation

func (*ListIpRoutesOutput) SetIpRoutesInfo Uses

func (s *ListIpRoutesOutput) SetIpRoutesInfo(v []*IpRouteInfo) *ListIpRoutesOutput

SetIpRoutesInfo sets the IpRoutesInfo field's value.

func (*ListIpRoutesOutput) SetNextToken Uses

func (s *ListIpRoutesOutput) SetNextToken(v string) *ListIpRoutesOutput

SetNextToken sets the NextToken field's value.

func (ListIpRoutesOutput) String Uses

func (s ListIpRoutesOutput) String() string

String returns the string representation

type ListLogSubscriptionsInput Uses

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) GoString Uses

func (s ListLogSubscriptionsInput) GoString() string

GoString returns the string representation

func (*ListLogSubscriptionsInput) SetDirectoryId Uses

func (s *ListLogSubscriptionsInput) SetDirectoryId(v string) *ListLogSubscriptionsInput

SetDirectoryId sets the DirectoryId field's value.

func (*ListLogSubscriptionsInput) SetLimit Uses

func (s *ListLogSubscriptionsInput) SetLimit(v int64) *ListLogSubscriptionsInput

SetLimit sets the Limit field's value.

func (*ListLogSubscriptionsInput) SetNextToken Uses

func (s *ListLogSubscriptionsInput) SetNextToken(v string) *ListLogSubscriptionsInput

SetNextToken sets the NextToken field's value.

func (ListLogSubscriptionsInput) String Uses

func (s ListLogSubscriptionsInput) String() string

String returns the string representation

type ListLogSubscriptionsOutput Uses

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) GoString Uses

func (s ListLogSubscriptionsOutput) GoString() string

GoString returns the string representation

func (*ListLogSubscriptionsOutput) SetLogSubscriptions Uses

func (s *ListLogSubscriptionsOutput) SetLogSubscriptions(v []*LogSubscription) *ListLogSubscriptionsOutput

SetLogSubscriptions sets the LogSubscriptions field's value.

func (*ListLogSubscriptionsOutput) SetNextToken Uses

func (s *ListLogSubscriptionsOutput) SetNextToken(v string) *ListLogSubscriptionsOutput

SetNextToken sets the NextToken field's value.

func (ListLogSubscriptionsOutput) String Uses

func (s ListLogSubscriptionsOutput) String() string

String returns the string representation

type ListSchemaExtensionsInput Uses

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) GoString Uses

func (s ListSchemaExtensionsInput) GoString() string

GoString returns the string representation

func (*ListSchemaExtensionsInput) SetDirectoryId Uses

func (s *ListSchemaExtensionsInput) SetDirectoryId(v string) *ListSchemaExtensionsInput

SetDirectoryId sets the DirectoryId field's value.

func (*ListSchemaExtensionsInput) SetLimit Uses

func (s *ListSchemaExtensionsInput) SetLimit(v int64) *ListSchemaExtensionsInput

SetLimit sets the Limit field's value.

func (*ListSchemaExtensionsInput) SetNextToken Uses

func (s *ListSchemaExtensionsInput) SetNextToken(v string) *ListSchemaExtensionsInput

SetNextToken sets the NextToken field's value.

func (ListSchemaExtensionsInput) String Uses

func (s ListSchemaExtensionsInput) String() string

String returns the string representation

func (*ListSchemaExtensionsInput) Validate Uses

func (s *ListSchemaExtensionsInput) Validate() error

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

type ListSchemaExtensionsOutput Uses

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) GoString Uses

func (s ListSchemaExtensionsOutput) GoString() string

GoString returns the string representation

func (*ListSchemaExtensionsOutput) SetNextToken Uses

func (s *ListSchemaExtensionsOutput) SetNextToken(v string) *ListSchemaExtensionsOutput

SetNextToken sets the NextToken field's value.

func (*ListSchemaExtensionsOutput) SetSchemaExtensionsInfo Uses

func (s *ListSchemaExtensionsOutput) SetSchemaExtensionsInfo(v []*SchemaExtensionInfo) *ListSchemaExtensionsOutput

SetSchemaExtensionsInfo sets the SchemaExtensionsInfo field's value.

func (ListSchemaExtensionsOutput) String Uses

func (s ListSchemaExtensionsOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

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) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetLimit Uses

func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput

SetLimit sets the Limit field's value.

func (*ListTagsForResourceInput) SetNextToken Uses

func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceInput) SetResourceId Uses

func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput

SetResourceId sets the ResourceId field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

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) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetNextToken Uses

func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type LogSubscription Uses

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.