Documentation
¶
Index ¶
- type AcceptAction
- type AccessDeniedException
- type ActionFailurePolicy
- type AddHeaderAction
- type AddonInstance
- type AddonSubscription
- type Analysis
- type Archive
- type ArchiveAction
- type ArchiveBooleanEmailAttribute
- type ArchiveBooleanExpression
- type ArchiveBooleanOperator
- type ArchiveBooleanToEvaluate
- type ArchiveBooleanToEvaluateMemberAttribute
- type ArchiveFilterCondition
- type ArchiveFilterConditionMemberBooleanExpression
- type ArchiveFilterConditionMemberStringExpression
- type ArchiveFilters
- type ArchiveRetention
- type ArchiveRetentionMemberRetentionPeriod
- type ArchiveState
- type ArchiveStringEmailAttribute
- type ArchiveStringExpression
- type ArchiveStringOperator
- type ArchiveStringToEvaluate
- type ArchiveStringToEvaluateMemberAttribute
- type ConflictException
- type DeliverToMailboxAction
- type DropAction
- type ExportDestinationConfiguration
- type ExportDestinationConfigurationMemberS3
- type ExportState
- type ExportStatus
- type ExportSummary
- type IngressAnalysis
- type IngressBooleanExpression
- type IngressBooleanOperator
- type IngressBooleanToEvaluate
- type IngressBooleanToEvaluateMemberAnalysis
- type IngressIpOperator
- type IngressIpToEvaluate
- type IngressIpToEvaluateMemberAttribute
- type IngressIpv4Attribute
- type IngressIpv4Expression
- type IngressPoint
- type IngressPointAuthConfiguration
- type IngressPointConfiguration
- type IngressPointConfigurationMemberSecretArn
- type IngressPointConfigurationMemberSmtpPassword
- type IngressPointPasswordConfiguration
- type IngressPointStatus
- type IngressPointStatusToUpdate
- type IngressPointType
- type IngressStringEmailAttribute
- type IngressStringExpression
- type IngressStringOperator
- type IngressStringToEvaluate
- type IngressStringToEvaluateMemberAttribute
- type IngressTlsAttribute
- type IngressTlsProtocolAttribute
- type IngressTlsProtocolExpression
- type IngressTlsProtocolOperator
- type IngressTlsProtocolToEvaluate
- type IngressTlsProtocolToEvaluateMemberAttribute
- type MailFrom
- type MessageBody
- type NoAuthentication
- type PolicyCondition
- type PolicyConditionMemberBooleanExpression
- type PolicyConditionMemberIpExpression
- type PolicyConditionMemberStringExpression
- type PolicyConditionMemberTlsExpression
- type PolicyStatement
- type Relay
- type RelayAction
- type RelayAuthentication
- type RelayAuthenticationMemberNoAuthentication
- type RelayAuthenticationMemberSecretArn
- type ReplaceRecipientAction
- type ResourceNotFoundException
- type RetentionPeriod
- type Row
- type Rule
- type RuleAction
- type RuleActionMemberAddHeader
- type RuleActionMemberArchive
- type RuleActionMemberDeliverToMailbox
- type RuleActionMemberDrop
- type RuleActionMemberRelay
- type RuleActionMemberReplaceRecipient
- type RuleActionMemberSend
- type RuleActionMemberWriteToS3
- type RuleBooleanEmailAttribute
- type RuleBooleanExpression
- type RuleBooleanOperator
- type RuleBooleanToEvaluate
- type RuleBooleanToEvaluateMemberAttribute
- type RuleCondition
- type RuleConditionMemberBooleanExpression
- type RuleConditionMemberDmarcExpression
- type RuleConditionMemberIpExpression
- type RuleConditionMemberNumberExpression
- type RuleConditionMemberStringExpression
- type RuleConditionMemberVerdictExpression
- type RuleDmarcExpression
- type RuleDmarcOperator
- type RuleDmarcPolicy
- type RuleIpEmailAttribute
- type RuleIpExpression
- type RuleIpOperator
- type RuleIpToEvaluate
- type RuleIpToEvaluateMemberAttribute
- type RuleNumberEmailAttribute
- type RuleNumberExpression
- type RuleNumberOperator
- type RuleNumberToEvaluate
- type RuleNumberToEvaluateMemberAttribute
- type RuleSet
- type RuleStringEmailAttribute
- type RuleStringExpression
- type RuleStringOperator
- type RuleStringToEvaluate
- type RuleStringToEvaluateMemberAttribute
- type RuleVerdict
- type RuleVerdictAttribute
- type RuleVerdictExpression
- type RuleVerdictOperator
- type RuleVerdictToEvaluate
- type RuleVerdictToEvaluateMemberAnalysis
- type RuleVerdictToEvaluateMemberAttribute
- type S3Action
- type S3ExportDestinationConfiguration
- type SearchState
- type SearchStatus
- type SearchSummary
- type SendAction
- type ServiceQuotaExceededException
- type Tag
- type ThrottlingException
- type TrafficPolicy
- type UnknownUnionMember
- type ValidationException
Examples ¶
- ArchiveBooleanToEvaluate (OutputUsage)
- ArchiveFilterCondition (OutputUsage)
- ArchiveRetention (OutputUsage)
- ArchiveStringToEvaluate (OutputUsage)
- ExportDestinationConfiguration (OutputUsage)
- IngressBooleanToEvaluate (OutputUsage)
- IngressIpToEvaluate (OutputUsage)
- IngressPointConfiguration (OutputUsage)
- IngressStringToEvaluate (OutputUsage)
- IngressTlsProtocolToEvaluate (OutputUsage)
- PolicyCondition (OutputUsage)
- RelayAuthentication (OutputUsage)
- RuleAction (OutputUsage)
- RuleBooleanToEvaluate (OutputUsage)
- RuleCondition (OutputUsage)
- RuleIpToEvaluate (OutputUsage)
- RuleNumberToEvaluate (OutputUsage)
- RuleStringToEvaluate (OutputUsage)
- RuleVerdictToEvaluate (OutputUsage)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptAction ¶
type AcceptAction string
const ( AcceptActionAllow AcceptAction = "ALLOW" AcceptActionDeny AcceptAction = "DENY" )
Enum values for AcceptAction
func (AcceptAction) Values ¶
func (AcceptAction) Values() []AcceptAction
Values returns all known values for AcceptAction. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Occurs when a user is denied access to a specific resource or action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type ActionFailurePolicy ¶
type ActionFailurePolicy string
const ( ActionFailurePolicyContinue ActionFailurePolicy = "CONTINUE" ActionFailurePolicyDrop ActionFailurePolicy = "DROP" )
Enum values for ActionFailurePolicy
func (ActionFailurePolicy) Values ¶
func (ActionFailurePolicy) Values() []ActionFailurePolicy
Values returns all known values for ActionFailurePolicy. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type AddHeaderAction ¶
type AddHeaderAction struct { // The name of the header to add to an email. The header must be prefixed with // "X-". Headers are added regardless of whether the header name pre-existed in the // email. // // This member is required. HeaderName *string // The value of the header to add to the email. // // This member is required. HeaderValue *string // contains filtered or unexported fields }
The action to add a header to a message. When executed, this action will add the given header to the message.
type AddonInstance ¶
type AddonInstance struct { // The Amazon Resource Name (ARN) of the Add On instance. AddonInstanceArn *string // The unique ID of the Add On instance. AddonInstanceId *string // The name of the Add On for the instance. AddonName *string // The subscription ID for the instance. AddonSubscriptionId *string // The timestamp of when the Add On instance was created. CreatedTimestamp *time.Time // contains filtered or unexported fields }
An Add On instance represents a specific configuration of an Add On.
type AddonSubscription ¶
type AddonSubscription struct { // The name of the Add On. AddonName *string // The Amazon Resource Name (ARN) of the Add On subscription. AddonSubscriptionArn *string // The unique ID of the Add On subscription. AddonSubscriptionId *string // The timestamp of when the Add On subscription was created. CreatedTimestamp *time.Time // contains filtered or unexported fields }
A subscription for an Add On representing the acceptance of its terms of use and additional pricing.
type Analysis ¶
type Analysis struct { // The Amazon Resource Name (ARN) of an Add On. // // This member is required. Analyzer *string // The returned value from an Add On. // // This member is required. ResultField *string // contains filtered or unexported fields }
The result of an analysis can be used in conditions to trigger actions. Analyses can inspect the email content and report a certain aspect of the email.
type Archive ¶
type Archive struct { // The unique identifier of the archive. // // This member is required. ArchiveId *string // The unique name assigned to the archive. ArchiveName *string // The current state of the archive: // // - ACTIVE – The archive is ready and available for use. // // - PENDING_DELETION – The archive has been marked for deletion and will be // permanently deleted in 30 days. No further modifications can be made in this // state. ArchiveState ArchiveState // The timestamp of when the archive was last updated. LastUpdatedTimestamp *time.Time // contains filtered or unexported fields }
An archive resource for storing and retaining emails.
type ArchiveAction ¶
type ArchiveAction struct { // The identifier of the archive to send the email to. // // This member is required. TargetArchive *string // A policy that states what to do in the case of failure. The action will fail if // there are configuration errors. For example, the specified archive has been // deleted. ActionFailurePolicy ActionFailurePolicy // contains filtered or unexported fields }
The action to archive the email by delivering the email to an Amazon SES archive.
type ArchiveBooleanEmailAttribute ¶
type ArchiveBooleanEmailAttribute string
const (
ArchiveBooleanEmailAttributeHasAttachments ArchiveBooleanEmailAttribute = "HAS_ATTACHMENTS"
)
Enum values for ArchiveBooleanEmailAttribute
func (ArchiveBooleanEmailAttribute) Values ¶
func (ArchiveBooleanEmailAttribute) Values() []ArchiveBooleanEmailAttribute
Values returns all known values for ArchiveBooleanEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ArchiveBooleanExpression ¶
type ArchiveBooleanExpression struct { // The email attribute value to evaluate. // // This member is required. Evaluate ArchiveBooleanToEvaluate // The boolean operator to use for evaluation. // // This member is required. Operator ArchiveBooleanOperator // contains filtered or unexported fields }
A boolean expression to evaluate email attribute values.
type ArchiveBooleanOperator ¶
type ArchiveBooleanOperator string
const ( ArchiveBooleanOperatorIsTrue ArchiveBooleanOperator = "IS_TRUE" ArchiveBooleanOperatorIsFalse ArchiveBooleanOperator = "IS_FALSE" )
Enum values for ArchiveBooleanOperator
func (ArchiveBooleanOperator) Values ¶
func (ArchiveBooleanOperator) Values() []ArchiveBooleanOperator
Values returns all known values for ArchiveBooleanOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ArchiveBooleanToEvaluate ¶
type ArchiveBooleanToEvaluate interface {
// contains filtered or unexported methods
}
The attribute to evaluate in a boolean expression.
The following types satisfy this interface:
ArchiveBooleanToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.ArchiveBooleanToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.ArchiveBooleanToEvaluateMemberAttribute: _ = v.Value // Value is types.ArchiveBooleanEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type ArchiveBooleanToEvaluateMemberAttribute ¶
type ArchiveBooleanToEvaluateMemberAttribute struct { Value ArchiveBooleanEmailAttribute // contains filtered or unexported fields }
The name of the email attribute to evaluate.
type ArchiveFilterCondition ¶
type ArchiveFilterCondition interface {
// contains filtered or unexported methods
}
A filter condition used to include or exclude emails when exporting from or searching an archive.
The following types satisfy this interface:
ArchiveFilterConditionMemberBooleanExpression ArchiveFilterConditionMemberStringExpression
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.ArchiveFilterCondition // type switches can be used to check the union value switch v := union.(type) { case *types.ArchiveFilterConditionMemberBooleanExpression: _ = v.Value // Value is types.ArchiveBooleanExpression case *types.ArchiveFilterConditionMemberStringExpression: _ = v.Value // Value is types.ArchiveStringExpression case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type ArchiveFilterConditionMemberBooleanExpression ¶
type ArchiveFilterConditionMemberBooleanExpression struct { Value ArchiveBooleanExpression // contains filtered or unexported fields }
A boolean expression to evaluate against email attributes.
type ArchiveFilterConditionMemberStringExpression ¶
type ArchiveFilterConditionMemberStringExpression struct { Value ArchiveStringExpression // contains filtered or unexported fields }
A string expression to evaluate against email attributes.
type ArchiveFilters ¶
type ArchiveFilters struct { // The filter conditions for emails to include. Include []ArchiveFilterCondition // The filter conditions for emails to exclude. Unless []ArchiveFilterCondition // contains filtered or unexported fields }
A set of filter conditions to include and/or exclude emails.
type ArchiveRetention ¶
type ArchiveRetention interface {
// contains filtered or unexported methods
}
The retention policy for an email archive that specifies how long emails are kept before being automatically deleted.
The following types satisfy this interface:
ArchiveRetentionMemberRetentionPeriod
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.ArchiveRetention // type switches can be used to check the union value switch v := union.(type) { case *types.ArchiveRetentionMemberRetentionPeriod: _ = v.Value // Value is types.RetentionPeriod case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type ArchiveRetentionMemberRetentionPeriod ¶
type ArchiveRetentionMemberRetentionPeriod struct { Value RetentionPeriod // contains filtered or unexported fields }
The enum value sets the period for retaining emails in an archive.
type ArchiveState ¶
type ArchiveState string
const ( ArchiveStateActive ArchiveState = "ACTIVE" ArchiveStatePendingDeletion ArchiveState = "PENDING_DELETION" )
Enum values for ArchiveState
func (ArchiveState) Values ¶
func (ArchiveState) Values() []ArchiveState
Values returns all known values for ArchiveState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ArchiveStringEmailAttribute ¶
type ArchiveStringEmailAttribute string
const ( ArchiveStringEmailAttributeTo ArchiveStringEmailAttribute = "TO" ArchiveStringEmailAttributeFrom ArchiveStringEmailAttribute = "FROM" ArchiveStringEmailAttributeCc ArchiveStringEmailAttribute = "CC" ArchiveStringEmailAttributeSubject ArchiveStringEmailAttribute = "SUBJECT" )
Enum values for ArchiveStringEmailAttribute
func (ArchiveStringEmailAttribute) Values ¶
func (ArchiveStringEmailAttribute) Values() []ArchiveStringEmailAttribute
Values returns all known values for ArchiveStringEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ArchiveStringExpression ¶
type ArchiveStringExpression struct { // The attribute of the email to evaluate. // // This member is required. Evaluate ArchiveStringToEvaluate // The operator to use when evaluating the string values. // // This member is required. Operator ArchiveStringOperator // The list of string values to evaluate the email attribute against. // // This member is required. Values []string // contains filtered or unexported fields }
A string expression to evaluate an email attribute value against one or more string values.
type ArchiveStringOperator ¶
type ArchiveStringOperator string
const (
ArchiveStringOperatorContains ArchiveStringOperator = "CONTAINS"
)
Enum values for ArchiveStringOperator
func (ArchiveStringOperator) Values ¶
func (ArchiveStringOperator) Values() []ArchiveStringOperator
Values returns all known values for ArchiveStringOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ArchiveStringToEvaluate ¶
type ArchiveStringToEvaluate interface {
// contains filtered or unexported methods
}
Specifies the email attribute to evaluate in a string expression.
The following types satisfy this interface:
ArchiveStringToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.ArchiveStringToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.ArchiveStringToEvaluateMemberAttribute: _ = v.Value // Value is types.ArchiveStringEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type ArchiveStringToEvaluateMemberAttribute ¶
type ArchiveStringToEvaluateMemberAttribute struct { Value ArchiveStringEmailAttribute // contains filtered or unexported fields }
The name of the email attribute to evaluate.
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The request configuration has conflicts. For details, see the accompanying error message.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type DeliverToMailboxAction ¶
type DeliverToMailboxAction struct { // The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email // to. // // This member is required. MailboxArn *string // The Amazon Resource Name (ARN) of an IAM role to use to execute this action. // The role must have access to the workmail:DeliverToMailbox API. // // This member is required. RoleArn *string // A policy that states what to do in the case of failure. The action will fail if // there are configuration errors. For example, the mailbox ARN is no longer valid. ActionFailurePolicy ActionFailurePolicy // contains filtered or unexported fields }
This action to delivers an email to a mailbox.
type DropAction ¶
type DropAction struct {
// contains filtered or unexported fields
}
This action causes processing to stop and the email to be dropped. If the action applies only to certain recipients, only those recipients are dropped, and processing continues for other recipients.
type ExportDestinationConfiguration ¶
type ExportDestinationConfiguration interface {
// contains filtered or unexported methods
}
The destination configuration for delivering exported email data.
The following types satisfy this interface:
ExportDestinationConfigurationMemberS3
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.ExportDestinationConfiguration // type switches can be used to check the union value switch v := union.(type) { case *types.ExportDestinationConfigurationMemberS3: _ = v.Value // Value is types.S3ExportDestinationConfiguration case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type ExportDestinationConfigurationMemberS3 ¶
type ExportDestinationConfigurationMemberS3 struct { Value S3ExportDestinationConfiguration // contains filtered or unexported fields }
Configuration for delivering to an Amazon S3 bucket.
type ExportState ¶
type ExportState string
const ( ExportStateQueued ExportState = "QUEUED" ExportStatePreprocessing ExportState = "PREPROCESSING" ExportStateProcessing ExportState = "PROCESSING" ExportStateCompleted ExportState = "COMPLETED" ExportStateFailed ExportState = "FAILED" ExportStateCancelled ExportState = "CANCELLED" )
Enum values for ExportState
func (ExportState) Values ¶
func (ExportState) Values() []ExportState
Values returns all known values for ExportState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ExportStatus ¶
type ExportStatus struct { // The timestamp of when the export job completed (if finished). CompletionTimestamp *time.Time // An error message if the export job failed. ErrorMessage *string // The current state of the export job. State ExportState // The timestamp of when the export job was submitted. SubmissionTimestamp *time.Time // contains filtered or unexported fields }
The current status of an archive export job.
type ExportSummary ¶
type ExportSummary struct { // The unique identifier of the export job. ExportId *string // The current status of the export job. Status *ExportStatus // contains filtered or unexported fields }
Summary statuses of an archive export job.
type IngressAnalysis ¶
type IngressAnalysis struct { // The Amazon Resource Name (ARN) of an Add On. // // This member is required. Analyzer *string // The returned value from an Add On. // // This member is required. ResultField *string // contains filtered or unexported fields }
The Add On ARN and its returned value that is evaluated in a policy statement's conditional expression to either deny or block the incoming email.
type IngressBooleanExpression ¶
type IngressBooleanExpression struct { // The operand on which to perform a boolean condition operation. // // This member is required. Evaluate IngressBooleanToEvaluate // The matching operator for a boolean condition expression. // // This member is required. Operator IngressBooleanOperator // contains filtered or unexported fields }
The structure for a boolean condition matching on the incoming mail.
type IngressBooleanOperator ¶
type IngressBooleanOperator string
const ( IngressBooleanOperatorIsTrue IngressBooleanOperator = "IS_TRUE" IngressBooleanOperatorIsFalse IngressBooleanOperator = "IS_FALSE" )
Enum values for IngressBooleanOperator
func (IngressBooleanOperator) Values ¶
func (IngressBooleanOperator) Values() []IngressBooleanOperator
Values returns all known values for IngressBooleanOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressBooleanToEvaluate ¶
type IngressBooleanToEvaluate interface {
// contains filtered or unexported methods
}
The union type representing the allowed types of operands for a boolean condition.
The following types satisfy this interface:
IngressBooleanToEvaluateMemberAnalysis
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.IngressBooleanToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.IngressBooleanToEvaluateMemberAnalysis: _ = v.Value // Value is types.IngressAnalysis case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type IngressBooleanToEvaluateMemberAnalysis ¶
type IngressBooleanToEvaluateMemberAnalysis struct { Value IngressAnalysis // contains filtered or unexported fields }
The structure type for a boolean condition stating the Add On ARN and its returned value.
type IngressIpOperator ¶
type IngressIpOperator string
const ( IngressIpOperatorCidrMatches IngressIpOperator = "CIDR_MATCHES" IngressIpOperatorNotCidrMatches IngressIpOperator = "NOT_CIDR_MATCHES" )
Enum values for IngressIpOperator
func (IngressIpOperator) Values ¶
func (IngressIpOperator) Values() []IngressIpOperator
Values returns all known values for IngressIpOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressIpToEvaluate ¶
type IngressIpToEvaluate interface {
// contains filtered or unexported methods
}
The structure for an IP based condition matching on the incoming mail.
The following types satisfy this interface:
IngressIpToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.IngressIpToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.IngressIpToEvaluateMemberAttribute: _ = v.Value // Value is types.IngressIpv4Attribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type IngressIpToEvaluateMemberAttribute ¶
type IngressIpToEvaluateMemberAttribute struct { Value IngressIpv4Attribute // contains filtered or unexported fields }
An enum type representing the allowed attribute types for an IP condition.
type IngressIpv4Attribute ¶
type IngressIpv4Attribute string
const (
IngressIpv4AttributeSenderIp IngressIpv4Attribute = "SENDER_IP"
)
Enum values for IngressIpv4Attribute
func (IngressIpv4Attribute) Values ¶
func (IngressIpv4Attribute) Values() []IngressIpv4Attribute
Values returns all known values for IngressIpv4Attribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressIpv4Expression ¶
type IngressIpv4Expression struct { // The left hand side argument of an IP condition expression. // // This member is required. Evaluate IngressIpToEvaluate // The matching operator for an IP condition expression. // // This member is required. Operator IngressIpOperator // The right hand side argument of an IP condition expression. // // This member is required. Values []string // contains filtered or unexported fields }
The union type representing the allowed types for the left hand side of an IP condition.
type IngressPoint ¶
type IngressPoint struct { // The identifier of the ingress endpoint resource. // // This member is required. IngressPointId *string // A user friendly name for the ingress endpoint resource. // // This member is required. IngressPointName *string // The status of the ingress endpoint resource. // // This member is required. Status IngressPointStatus // The type of ingress endpoint resource. // // This member is required. Type IngressPointType // The DNS A Record that identifies your ingress endpoint. Configure your DNS // Mail Exchange (MX) record with this value to route emails to Mail Manager. ARecord *string // contains filtered or unexported fields }
The structure of an ingress endpoint resource.
type IngressPointAuthConfiguration ¶
type IngressPointAuthConfiguration struct { // The ingress endpoint password configuration for the ingress endpoint resource. IngressPointPasswordConfiguration *IngressPointPasswordConfiguration // The ingress endpoint SecretsManager::Secret ARN configuration for the ingress // endpoint resource. SecretArn *string // contains filtered or unexported fields }
The authentication configuration for the ingress endpoint resource.
type IngressPointConfiguration ¶
type IngressPointConfiguration interface {
// contains filtered or unexported methods
}
The configuration of the ingress endpoint resource.
The following types satisfy this interface:
IngressPointConfigurationMemberSecretArn IngressPointConfigurationMemberSmtpPassword
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.IngressPointConfiguration // type switches can be used to check the union value switch v := union.(type) { case *types.IngressPointConfigurationMemberSecretArn: _ = v.Value // Value is string case *types.IngressPointConfigurationMemberSmtpPassword: _ = v.Value // Value is string case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type IngressPointConfigurationMemberSecretArn ¶
type IngressPointConfigurationMemberSecretArn struct { Value string // contains filtered or unexported fields }
The SecretsManager::Secret ARN of the ingress endpoint resource.
type IngressPointConfigurationMemberSmtpPassword ¶
type IngressPointConfigurationMemberSmtpPassword struct { Value string // contains filtered or unexported fields }
The password of the ingress endpoint resource.
type IngressPointPasswordConfiguration ¶
type IngressPointPasswordConfiguration struct { // The previous password expiry timestamp of the ingress endpoint resource. PreviousSmtpPasswordExpiryTimestamp *time.Time // The previous password version of the ingress endpoint resource. PreviousSmtpPasswordVersion *string // The current password expiry timestamp of the ingress endpoint resource. SmtpPasswordVersion *string // contains filtered or unexported fields }
The password configuration of the ingress endpoint resource.
type IngressPointStatus ¶
type IngressPointStatus string
const ( IngressPointStatusProvisioning IngressPointStatus = "PROVISIONING" IngressPointStatusDeprovisioning IngressPointStatus = "DEPROVISIONING" IngressPointStatusUpdating IngressPointStatus = "UPDATING" IngressPointStatusActive IngressPointStatus = "ACTIVE" IngressPointStatusClosed IngressPointStatus = "CLOSED" IngressPointStatusFailed IngressPointStatus = "FAILED" )
Enum values for IngressPointStatus
func (IngressPointStatus) Values ¶
func (IngressPointStatus) Values() []IngressPointStatus
Values returns all known values for IngressPointStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressPointStatusToUpdate ¶
type IngressPointStatusToUpdate string
const ( IngressPointStatusToUpdateActive IngressPointStatusToUpdate = "ACTIVE" IngressPointStatusToUpdateClosed IngressPointStatusToUpdate = "CLOSED" )
Enum values for IngressPointStatusToUpdate
func (IngressPointStatusToUpdate) Values ¶
func (IngressPointStatusToUpdate) Values() []IngressPointStatusToUpdate
Values returns all known values for IngressPointStatusToUpdate. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressPointType ¶
type IngressPointType string
const ( IngressPointTypeOpen IngressPointType = "OPEN" IngressPointTypeAuth IngressPointType = "AUTH" )
Enum values for IngressPointType
func (IngressPointType) Values ¶
func (IngressPointType) Values() []IngressPointType
Values returns all known values for IngressPointType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressStringEmailAttribute ¶
type IngressStringEmailAttribute string
const (
IngressStringEmailAttributeRecipient IngressStringEmailAttribute = "RECIPIENT"
)
Enum values for IngressStringEmailAttribute
func (IngressStringEmailAttribute) Values ¶
func (IngressStringEmailAttribute) Values() []IngressStringEmailAttribute
Values returns all known values for IngressStringEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressStringExpression ¶
type IngressStringExpression struct { // The left hand side argument of a string condition expression. // // This member is required. Evaluate IngressStringToEvaluate // The matching operator for a string condition expression. // // This member is required. Operator IngressStringOperator // The right hand side argument of a string condition expression. // // This member is required. Values []string // contains filtered or unexported fields }
The structure for a string based condition matching on the incoming mail.
type IngressStringOperator ¶
type IngressStringOperator string
const ( IngressStringOperatorEquals IngressStringOperator = "EQUALS" IngressStringOperatorNotEquals IngressStringOperator = "NOT_EQUALS" IngressStringOperatorStartsWith IngressStringOperator = "STARTS_WITH" IngressStringOperatorEndsWith IngressStringOperator = "ENDS_WITH" IngressStringOperatorContains IngressStringOperator = "CONTAINS" )
Enum values for IngressStringOperator
func (IngressStringOperator) Values ¶
func (IngressStringOperator) Values() []IngressStringOperator
Values returns all known values for IngressStringOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressStringToEvaluate ¶
type IngressStringToEvaluate interface {
// contains filtered or unexported methods
}
The union type representing the allowed types for the left hand side of a string condition.
The following types satisfy this interface:
IngressStringToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.IngressStringToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.IngressStringToEvaluateMemberAttribute: _ = v.Value // Value is types.IngressStringEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type IngressStringToEvaluateMemberAttribute ¶
type IngressStringToEvaluateMemberAttribute struct { Value IngressStringEmailAttribute // contains filtered or unexported fields }
The enum type representing the allowed attribute types for a string condition.
type IngressTlsAttribute ¶
type IngressTlsAttribute string
const (
IngressTlsAttributeTlsProtocol IngressTlsAttribute = "TLS_PROTOCOL"
)
Enum values for IngressTlsAttribute
func (IngressTlsAttribute) Values ¶
func (IngressTlsAttribute) Values() []IngressTlsAttribute
Values returns all known values for IngressTlsAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressTlsProtocolAttribute ¶
type IngressTlsProtocolAttribute string
const ( IngressTlsProtocolAttributeTls12 IngressTlsProtocolAttribute = "TLS1_2" IngressTlsProtocolAttributeTls13 IngressTlsProtocolAttribute = "TLS1_3" )
Enum values for IngressTlsProtocolAttribute
func (IngressTlsProtocolAttribute) Values ¶
func (IngressTlsProtocolAttribute) Values() []IngressTlsProtocolAttribute
Values returns all known values for IngressTlsProtocolAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressTlsProtocolExpression ¶
type IngressTlsProtocolExpression struct { // The left hand side argument of a TLS condition expression. // // This member is required. Evaluate IngressTlsProtocolToEvaluate // The matching operator for a TLS condition expression. // // This member is required. Operator IngressTlsProtocolOperator // The right hand side argument of a TLS condition expression. // // This member is required. Value IngressTlsProtocolAttribute // contains filtered or unexported fields }
The structure for a TLS related condition matching on the incoming mail.
type IngressTlsProtocolOperator ¶
type IngressTlsProtocolOperator string
const ( IngressTlsProtocolOperatorMinimumTlsVersion IngressTlsProtocolOperator = "MINIMUM_TLS_VERSION" IngressTlsProtocolOperatorIs IngressTlsProtocolOperator = "IS" )
Enum values for IngressTlsProtocolOperator
func (IngressTlsProtocolOperator) Values ¶
func (IngressTlsProtocolOperator) Values() []IngressTlsProtocolOperator
Values returns all known values for IngressTlsProtocolOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IngressTlsProtocolToEvaluate ¶
type IngressTlsProtocolToEvaluate interface {
// contains filtered or unexported methods
}
The union type representing the allowed types for the left hand side of a TLS condition.
The following types satisfy this interface:
IngressTlsProtocolToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.IngressTlsProtocolToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.IngressTlsProtocolToEvaluateMemberAttribute: _ = v.Value // Value is types.IngressTlsAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type IngressTlsProtocolToEvaluateMemberAttribute ¶
type IngressTlsProtocolToEvaluateMemberAttribute struct { Value IngressTlsAttribute // contains filtered or unexported fields }
The enum type representing the allowed attribute types for the TLS condition.
type MessageBody ¶
type MessageBody struct { // The HTML body content of the message. Html *string // A flag indicating if the email was malformed. MessageMalformed *bool // The plain text body content of the message. Text *string // contains filtered or unexported fields }
The textual body content of an email message.
type NoAuthentication ¶
type NoAuthentication struct {
// contains filtered or unexported fields
}
Explicitly indicate that the relay destination server does not require SMTP credential authentication.
type PolicyCondition ¶
type PolicyCondition interface {
// contains filtered or unexported methods
}
The email traffic filtering conditions which are contained in a traffic policy resource.
The following types satisfy this interface:
PolicyConditionMemberBooleanExpression PolicyConditionMemberIpExpression PolicyConditionMemberStringExpression PolicyConditionMemberTlsExpression
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.PolicyCondition // type switches can be used to check the union value switch v := union.(type) { case *types.PolicyConditionMemberBooleanExpression: _ = v.Value // Value is types.IngressBooleanExpression case *types.PolicyConditionMemberIpExpression: _ = v.Value // Value is types.IngressIpv4Expression case *types.PolicyConditionMemberStringExpression: _ = v.Value // Value is types.IngressStringExpression case *types.PolicyConditionMemberTlsExpression: _ = v.Value // Value is types.IngressTlsProtocolExpression case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type PolicyConditionMemberBooleanExpression ¶
type PolicyConditionMemberBooleanExpression struct { Value IngressBooleanExpression // contains filtered or unexported fields }
This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
type PolicyConditionMemberIpExpression ¶
type PolicyConditionMemberIpExpression struct { Value IngressIpv4Expression // contains filtered or unexported fields }
This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
type PolicyConditionMemberStringExpression ¶
type PolicyConditionMemberStringExpression struct { Value IngressStringExpression // contains filtered or unexported fields }
This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
type PolicyConditionMemberTlsExpression ¶
type PolicyConditionMemberTlsExpression struct { Value IngressTlsProtocolExpression // contains filtered or unexported fields }
This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
type PolicyStatement ¶
type PolicyStatement struct { // The action that informs a traffic policy resource to either allow or block the // email if it matches a condition in the policy statement. // // This member is required. Action AcceptAction // The list of conditions to apply to incoming messages for filtering email // traffic. // // This member is required. Conditions []PolicyCondition // contains filtered or unexported fields }
The structure containing traffic policy conditions and actions.
type Relay ¶
type Relay struct { // The timestamp of when the relay was last modified. LastModifiedTimestamp *time.Time // The unique relay identifier. RelayId *string // The unique relay name. RelayName *string // contains filtered or unexported fields }
The relay resource that can be used as a rule to relay receiving emails to the destination relay server.
type RelayAction ¶
type RelayAction struct { // The identifier of the relay resource to be used when relaying an email. // // This member is required. Relay *string // A policy that states what to do in the case of failure. The action will fail if // there are configuration errors. For example, the specified relay has been // deleted. ActionFailurePolicy ActionFailurePolicy // This action specifies whether to preserve or replace original mail from address // while relaying received emails to a destination server. MailFrom MailFrom // contains filtered or unexported fields }
The action relays the email via SMTP to another specific SMTP server.
type RelayAuthentication ¶
type RelayAuthentication interface {
// contains filtered or unexported methods
}
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored, or specify an empty NoAuthentication structure if the relay destination server does not require SMTP credential authentication.
The following types satisfy this interface:
RelayAuthenticationMemberNoAuthentication RelayAuthenticationMemberSecretArn
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RelayAuthentication // type switches can be used to check the union value switch v := union.(type) { case *types.RelayAuthenticationMemberNoAuthentication: _ = v.Value // Value is types.NoAuthentication case *types.RelayAuthenticationMemberSecretArn: _ = v.Value // Value is string case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RelayAuthenticationMemberNoAuthentication ¶
type RelayAuthenticationMemberNoAuthentication struct { Value NoAuthentication // contains filtered or unexported fields }
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
type RelayAuthenticationMemberSecretArn ¶
type RelayAuthenticationMemberSecretArn struct { Value string // contains filtered or unexported fields }
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
type ReplaceRecipientAction ¶
type ReplaceRecipientAction struct { // This action specifies the replacement recipient email addresses to insert. ReplaceWith []string // contains filtered or unexported fields }
This action replaces the email envelope recipients with the given list of recipients. If the condition of this action applies only to a subset of recipients, only those recipients are replaced with the recipients specified in the action. The message contents and headers are unaffected by this action, only the envelope recipients are updated.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Occurs when a requested resource is not found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type RetentionPeriod ¶
type RetentionPeriod string
const ( RetentionPeriodThreeMonths RetentionPeriod = "THREE_MONTHS" RetentionPeriodSixMonths RetentionPeriod = "SIX_MONTHS" RetentionPeriodNineMonths RetentionPeriod = "NINE_MONTHS" RetentionPeriodOneYear RetentionPeriod = "ONE_YEAR" RetentionPeriodEighteenMonths RetentionPeriod = "EIGHTEEN_MONTHS" RetentionPeriodTwoYears RetentionPeriod = "TWO_YEARS" RetentionPeriodThirtyMonths RetentionPeriod = "THIRTY_MONTHS" RetentionPeriodThreeYears RetentionPeriod = "THREE_YEARS" RetentionPeriodFourYears RetentionPeriod = "FOUR_YEARS" RetentionPeriodFiveYears RetentionPeriod = "FIVE_YEARS" RetentionPeriodSixYears RetentionPeriod = "SIX_YEARS" RetentionPeriodSevenYears RetentionPeriod = "SEVEN_YEARS" RetentionPeriodEightYears RetentionPeriod = "EIGHT_YEARS" RetentionPeriodNineYears RetentionPeriod = "NINE_YEARS" RetentionPeriodTenYears RetentionPeriod = "TEN_YEARS" RetentionPeriodPermanent RetentionPeriod = "PERMANENT" )
Enum values for RetentionPeriod
func (RetentionPeriod) Values ¶
func (RetentionPeriod) Values() []RetentionPeriod
Values returns all known values for RetentionPeriod. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Row ¶
type Row struct { // The unique identifier of the archived message. ArchivedMessageId *string // The email addresses in the CC header. Cc *string // The date the email was sent. Date *string // The email address of the sender. From *string // A flag indicating if the email has attachments. HasAttachments *bool // The email message ID this is a reply to. InReplyTo *string // The unique message ID of the email. MessageId *string // The received headers from the email delivery path. ReceivedHeaders []string // The timestamp of when the email was received. ReceivedTimestamp *time.Time // The subject header value of the email. Subject *string // The email addresses in the To header. To *string // The user agent that sent the email. XMailer *string // The original user agent that sent the email. XOriginalMailer *string // The priority level of the email. XPriority *string // contains filtered or unexported fields }
A result row containing metadata for an archived email message.
type Rule ¶
type Rule struct { // The list of actions to execute when the conditions match the incoming email, // and none of the "unless conditions" match. // // This member is required. Actions []RuleAction // The conditions of this rule. All conditions must match the email for the // actions to be executed. An empty list of conditions means that all emails match, // but are still subject to any "unless conditions" Conditions []RuleCondition // The user-friendly name of the rule. Name *string // The "unless conditions" of this rule. None of the conditions can match the // email for the actions to be executed. If any of these conditions do match the // email, then the actions are not executed. Unless []RuleCondition // contains filtered or unexported fields }
A rule contains conditions, "unless conditions" and actions. For each envelope recipient of an email, if all conditions match and none of the "unless conditions" match, then all of the actions are executed sequentially. If no conditions are provided, the rule always applies and the actions are implicitly executed. If only "unless conditions" are provided, the rule applies if the email does not match the evaluation of the "unless conditions".
type RuleAction ¶
type RuleAction interface {
// contains filtered or unexported methods
}
The action for a rule to take. Only one of the contained actions can be set.
The following types satisfy this interface:
RuleActionMemberAddHeader RuleActionMemberArchive RuleActionMemberDeliverToMailbox RuleActionMemberDrop RuleActionMemberRelay RuleActionMemberReplaceRecipient RuleActionMemberSend RuleActionMemberWriteToS3
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleAction // type switches can be used to check the union value switch v := union.(type) { case *types.RuleActionMemberAddHeader: _ = v.Value // Value is types.AddHeaderAction case *types.RuleActionMemberArchive: _ = v.Value // Value is types.ArchiveAction case *types.RuleActionMemberDeliverToMailbox: _ = v.Value // Value is types.DeliverToMailboxAction case *types.RuleActionMemberDrop: _ = v.Value // Value is types.DropAction case *types.RuleActionMemberRelay: _ = v.Value // Value is types.RelayAction case *types.RuleActionMemberReplaceRecipient: _ = v.Value // Value is types.ReplaceRecipientAction case *types.RuleActionMemberSend: _ = v.Value // Value is types.SendAction case *types.RuleActionMemberWriteToS3: _ = v.Value // Value is types.S3Action case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleActionMemberAddHeader ¶
type RuleActionMemberAddHeader struct { Value AddHeaderAction // contains filtered or unexported fields }
This action adds a header. This can be used to add arbitrary email headers.
type RuleActionMemberArchive ¶
type RuleActionMemberArchive struct { Value ArchiveAction // contains filtered or unexported fields }
This action archives the email. This can be used to deliver an email to an archive.
type RuleActionMemberDeliverToMailbox ¶
type RuleActionMemberDeliverToMailbox struct { Value DeliverToMailboxAction // contains filtered or unexported fields }
This action delivers an email to a WorkMail mailbox.
type RuleActionMemberDrop ¶
type RuleActionMemberDrop struct { Value DropAction // contains filtered or unexported fields }
This action terminates the evaluation of rules in the rule set.
type RuleActionMemberRelay ¶
type RuleActionMemberRelay struct { Value RelayAction // contains filtered or unexported fields }
This action relays the email to another SMTP server.
type RuleActionMemberReplaceRecipient ¶
type RuleActionMemberReplaceRecipient struct { Value ReplaceRecipientAction // contains filtered or unexported fields }
The action replaces certain or all recipients with a different set of recipients.
type RuleActionMemberSend ¶
type RuleActionMemberSend struct { Value SendAction // contains filtered or unexported fields }
This action sends the email to the internet.
type RuleActionMemberWriteToS3 ¶
type RuleActionMemberWriteToS3 struct { Value S3Action // contains filtered or unexported fields }
This action writes the MIME content of the email to an S3 bucket.
type RuleBooleanEmailAttribute ¶
type RuleBooleanEmailAttribute string
const ( RuleBooleanEmailAttributeReadReceiptRequested RuleBooleanEmailAttribute = "READ_RECEIPT_REQUESTED" RuleBooleanEmailAttributeTls RuleBooleanEmailAttribute = "TLS" RuleBooleanEmailAttributeTlsWrapped RuleBooleanEmailAttribute = "TLS_WRAPPED" )
Enum values for RuleBooleanEmailAttribute
func (RuleBooleanEmailAttribute) Values ¶
func (RuleBooleanEmailAttribute) Values() []RuleBooleanEmailAttribute
Values returns all known values for RuleBooleanEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleBooleanExpression ¶
type RuleBooleanExpression struct { // The operand on which to perform a boolean condition operation. // // This member is required. Evaluate RuleBooleanToEvaluate // The matching operator for a boolean condition expression. // // This member is required. Operator RuleBooleanOperator // contains filtered or unexported fields }
A boolean expression to be used in a rule condition.
type RuleBooleanOperator ¶
type RuleBooleanOperator string
const ( RuleBooleanOperatorIsTrue RuleBooleanOperator = "IS_TRUE" RuleBooleanOperatorIsFalse RuleBooleanOperator = "IS_FALSE" )
Enum values for RuleBooleanOperator
func (RuleBooleanOperator) Values ¶
func (RuleBooleanOperator) Values() []RuleBooleanOperator
Values returns all known values for RuleBooleanOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleBooleanToEvaluate ¶
type RuleBooleanToEvaluate interface {
// contains filtered or unexported methods
}
The union type representing the allowed types of operands for a boolean condition.
The following types satisfy this interface:
RuleBooleanToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleBooleanToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.RuleBooleanToEvaluateMemberAttribute: _ = v.Value // Value is types.RuleBooleanEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleBooleanToEvaluateMemberAttribute ¶
type RuleBooleanToEvaluateMemberAttribute struct { Value RuleBooleanEmailAttribute // contains filtered or unexported fields }
The boolean type representing the allowed attribute types for an email.
type RuleCondition ¶
type RuleCondition interface {
// contains filtered or unexported methods
}
The conditional expression used to evaluate an email for determining if a rule action should be taken.
The following types satisfy this interface:
RuleConditionMemberBooleanExpression RuleConditionMemberDmarcExpression RuleConditionMemberIpExpression RuleConditionMemberNumberExpression RuleConditionMemberStringExpression RuleConditionMemberVerdictExpression
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleCondition // type switches can be used to check the union value switch v := union.(type) { case *types.RuleConditionMemberBooleanExpression: _ = v.Value // Value is types.RuleBooleanExpression case *types.RuleConditionMemberDmarcExpression: _ = v.Value // Value is types.RuleDmarcExpression case *types.RuleConditionMemberIpExpression: _ = v.Value // Value is types.RuleIpExpression case *types.RuleConditionMemberNumberExpression: _ = v.Value // Value is types.RuleNumberExpression case *types.RuleConditionMemberStringExpression: _ = v.Value // Value is types.RuleStringExpression case *types.RuleConditionMemberVerdictExpression: _ = v.Value // Value is types.RuleVerdictExpression case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleConditionMemberBooleanExpression ¶
type RuleConditionMemberBooleanExpression struct { Value RuleBooleanExpression // contains filtered or unexported fields }
The condition applies to a boolean expression passed in this field.
type RuleConditionMemberDmarcExpression ¶
type RuleConditionMemberDmarcExpression struct { Value RuleDmarcExpression // contains filtered or unexported fields }
The condition applies to a DMARC policy expression passed in this field.
type RuleConditionMemberIpExpression ¶
type RuleConditionMemberIpExpression struct { Value RuleIpExpression // contains filtered or unexported fields }
The condition applies to an IP address expression passed in this field.
type RuleConditionMemberNumberExpression ¶
type RuleConditionMemberNumberExpression struct { Value RuleNumberExpression // contains filtered or unexported fields }
The condition applies to a number expression passed in this field.
type RuleConditionMemberStringExpression ¶
type RuleConditionMemberStringExpression struct { Value RuleStringExpression // contains filtered or unexported fields }
The condition applies to a string expression passed in this field.
type RuleConditionMemberVerdictExpression ¶
type RuleConditionMemberVerdictExpression struct { Value RuleVerdictExpression // contains filtered or unexported fields }
The condition applies to a verdict expression passed in this field.
type RuleDmarcExpression ¶
type RuleDmarcExpression struct { // The operator to apply to the DMARC policy of the incoming email. // // This member is required. Operator RuleDmarcOperator // The values to use for the given DMARC policy operator. For the operator EQUALS, // if multiple values are given, they are evaluated as an OR. That is, if any of // the given values match, the condition is deemed to match. For the operator // NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, // only if the email's DMARC policy is not equal to any of the given values, then // the condition is deemed to match. // // This member is required. Values []RuleDmarcPolicy // contains filtered or unexported fields }
A DMARC policy expression. The condition matches if the given DMARC policy matches that of the incoming email.
type RuleDmarcOperator ¶
type RuleDmarcOperator string
const ( RuleDmarcOperatorEquals RuleDmarcOperator = "EQUALS" RuleDmarcOperatorNotEquals RuleDmarcOperator = "NOT_EQUALS" )
Enum values for RuleDmarcOperator
func (RuleDmarcOperator) Values ¶
func (RuleDmarcOperator) Values() []RuleDmarcOperator
Values returns all known values for RuleDmarcOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleDmarcPolicy ¶
type RuleDmarcPolicy string
const ( RuleDmarcPolicyNone RuleDmarcPolicy = "NONE" RuleDmarcPolicyQuarantine RuleDmarcPolicy = "QUARANTINE" RuleDmarcPolicyReject RuleDmarcPolicy = "REJECT" )
Enum values for RuleDmarcPolicy
func (RuleDmarcPolicy) Values ¶
func (RuleDmarcPolicy) Values() []RuleDmarcPolicy
Values returns all known values for RuleDmarcPolicy. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleIpEmailAttribute ¶
type RuleIpEmailAttribute string
const (
RuleIpEmailAttributeSourceIp RuleIpEmailAttribute = "SOURCE_IP"
)
Enum values for RuleIpEmailAttribute
func (RuleIpEmailAttribute) Values ¶
func (RuleIpEmailAttribute) Values() []RuleIpEmailAttribute
Values returns all known values for RuleIpEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleIpExpression ¶
type RuleIpExpression struct { // The IP address to evaluate in this condition. // // This member is required. Evaluate RuleIpToEvaluate // The operator to evaluate the IP address. // // This member is required. Operator RuleIpOperator // The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the // email's IP address. For the operator CIDR_MATCHES, if multiple values are given, // they are evaluated as an OR. That is, if the IP address is contained within any // of the given CIDR ranges, the condition is deemed to match. For // NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to // match if the IP address is not contained in any of the given CIDR ranges. // // This member is required. Values []string // contains filtered or unexported fields }
An IP address expression matching certain IP addresses within a given range of IP addresses.
type RuleIpOperator ¶
type RuleIpOperator string
const ( RuleIpOperatorCidrMatches RuleIpOperator = "CIDR_MATCHES" RuleIpOperatorNotCidrMatches RuleIpOperator = "NOT_CIDR_MATCHES" )
Enum values for RuleIpOperator
func (RuleIpOperator) Values ¶
func (RuleIpOperator) Values() []RuleIpOperator
Values returns all known values for RuleIpOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleIpToEvaluate ¶
type RuleIpToEvaluate interface {
// contains filtered or unexported methods
}
The IP address to evaluate for this condition.
The following types satisfy this interface:
RuleIpToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleIpToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.RuleIpToEvaluateMemberAttribute: _ = v.Value // Value is types.RuleIpEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleIpToEvaluateMemberAttribute ¶
type RuleIpToEvaluateMemberAttribute struct { Value RuleIpEmailAttribute // contains filtered or unexported fields }
The attribute of the email to evaluate.
type RuleNumberEmailAttribute ¶
type RuleNumberEmailAttribute string
const (
RuleNumberEmailAttributeMessageSize RuleNumberEmailAttribute = "MESSAGE_SIZE"
)
Enum values for RuleNumberEmailAttribute
func (RuleNumberEmailAttribute) Values ¶
func (RuleNumberEmailAttribute) Values() []RuleNumberEmailAttribute
Values returns all known values for RuleNumberEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleNumberExpression ¶
type RuleNumberExpression struct { // The number to evaluate in a numeric condition expression. // // This member is required. Evaluate RuleNumberToEvaluate // The operator for a numeric condition expression. // // This member is required. Operator RuleNumberOperator // The value to evaluate in a numeric condition expression. // // This member is required. Value *float64 // contains filtered or unexported fields }
A number expression to match numeric conditions with integers from the incoming email.
type RuleNumberOperator ¶
type RuleNumberOperator string
const ( RuleNumberOperatorEquals RuleNumberOperator = "EQUALS" RuleNumberOperatorNotEquals RuleNumberOperator = "NOT_EQUALS" RuleNumberOperatorLessThan RuleNumberOperator = "LESS_THAN" RuleNumberOperatorGreaterThan RuleNumberOperator = "GREATER_THAN" RuleNumberOperatorLessThanOrEqual RuleNumberOperator = "LESS_THAN_OR_EQUAL" RuleNumberOperatorGreaterThanOrEqual RuleNumberOperator = "GREATER_THAN_OR_EQUAL" )
Enum values for RuleNumberOperator
func (RuleNumberOperator) Values ¶
func (RuleNumberOperator) Values() []RuleNumberOperator
Values returns all known values for RuleNumberOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleNumberToEvaluate ¶
type RuleNumberToEvaluate interface {
// contains filtered or unexported methods
}
The number to evaluate in a numeric condition expression.
The following types satisfy this interface:
RuleNumberToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleNumberToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.RuleNumberToEvaluateMemberAttribute: _ = v.Value // Value is types.RuleNumberEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleNumberToEvaluateMemberAttribute ¶
type RuleNumberToEvaluateMemberAttribute struct { Value RuleNumberEmailAttribute // contains filtered or unexported fields }
An email attribute that is used as the number to evaluate.
type RuleSet ¶
type RuleSet struct { // The last modification date of the rule set. LastModificationDate *time.Time // The identifier of the rule set. RuleSetId *string // A user-friendly name for the rule set. RuleSetName *string // contains filtered or unexported fields }
A rule set contains a list of rules that are evaluated in order. Each rule is evaluated sequentially for each email.
type RuleStringEmailAttribute ¶
type RuleStringEmailAttribute string
const ( RuleStringEmailAttributeMailFrom RuleStringEmailAttribute = "MAIL_FROM" RuleStringEmailAttributeHelo RuleStringEmailAttribute = "HELO" RuleStringEmailAttributeRecipient RuleStringEmailAttribute = "RECIPIENT" RuleStringEmailAttributeSender RuleStringEmailAttribute = "SENDER" RuleStringEmailAttributeFrom RuleStringEmailAttribute = "FROM" RuleStringEmailAttributeSubject RuleStringEmailAttribute = "SUBJECT" RuleStringEmailAttributeTo RuleStringEmailAttribute = "TO" RuleStringEmailAttributeCc RuleStringEmailAttribute = "CC" )
Enum values for RuleStringEmailAttribute
func (RuleStringEmailAttribute) Values ¶
func (RuleStringEmailAttribute) Values() []RuleStringEmailAttribute
Values returns all known values for RuleStringEmailAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleStringExpression ¶
type RuleStringExpression struct { // The string to evaluate in a string condition expression. // // This member is required. Evaluate RuleStringToEvaluate // The matching operator for a string condition expression. // // This member is required. Operator RuleStringOperator // The string(s) to be evaluated in a string condition expression. For all // operators, except for NOT_EQUALS, if multiple values are given, the values are // processed as an OR. That is, if any of the values match the email's string using // the given operator, the condition is deemed to match. However, for NOT_EQUALS, // the condition is only deemed to match if none of the given strings match the // email's string. // // This member is required. Values []string // contains filtered or unexported fields }
A string expression is evaluated against strings or substrings of the email.
type RuleStringOperator ¶
type RuleStringOperator string
const ( RuleStringOperatorEquals RuleStringOperator = "EQUALS" RuleStringOperatorNotEquals RuleStringOperator = "NOT_EQUALS" RuleStringOperatorStartsWith RuleStringOperator = "STARTS_WITH" RuleStringOperatorEndsWith RuleStringOperator = "ENDS_WITH" RuleStringOperatorContains RuleStringOperator = "CONTAINS" )
Enum values for RuleStringOperator
func (RuleStringOperator) Values ¶
func (RuleStringOperator) Values() []RuleStringOperator
Values returns all known values for RuleStringOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleStringToEvaluate ¶
type RuleStringToEvaluate interface {
// contains filtered or unexported methods
}
The string to evaluate in a string condition expression.
The following types satisfy this interface:
RuleStringToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleStringToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.RuleStringToEvaluateMemberAttribute: _ = v.Value // Value is types.RuleStringEmailAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleStringToEvaluateMemberAttribute ¶
type RuleStringToEvaluateMemberAttribute struct { Value RuleStringEmailAttribute // contains filtered or unexported fields }
The email attribute to evaluate in a string condition expression.
type RuleVerdict ¶
type RuleVerdict string
const ( RuleVerdictPass RuleVerdict = "PASS" RuleVerdictFail RuleVerdict = "FAIL" RuleVerdictGray RuleVerdict = "GRAY" RuleVerdictProcessingFailed RuleVerdict = "PROCESSING_FAILED" )
Enum values for RuleVerdict
func (RuleVerdict) Values ¶
func (RuleVerdict) Values() []RuleVerdict
Values returns all known values for RuleVerdict. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleVerdictAttribute ¶
type RuleVerdictAttribute string
const ( RuleVerdictAttributeSpf RuleVerdictAttribute = "SPF" RuleVerdictAttributeDkim RuleVerdictAttribute = "DKIM" )
Enum values for RuleVerdictAttribute
func (RuleVerdictAttribute) Values ¶
func (RuleVerdictAttribute) Values() []RuleVerdictAttribute
Values returns all known values for RuleVerdictAttribute. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleVerdictExpression ¶
type RuleVerdictExpression struct { // The verdict to evaluate in a verdict condition expression. // // This member is required. Evaluate RuleVerdictToEvaluate // The matching operator for a verdict condition expression. // // This member is required. Operator RuleVerdictOperator // The values to match with the email's verdict using the given operator. For the // EQUALS operator, if multiple values are given, the condition is deemed to match // if any of the given verdicts match that of the email. For the NOT_EQUALS // operator, if multiple values are given, the condition is deemed to match of none // of the given verdicts match the verdict of the email. // // This member is required. Values []RuleVerdict // contains filtered or unexported fields }
A verdict expression is evaluated against verdicts of the email.
type RuleVerdictOperator ¶
type RuleVerdictOperator string
const ( RuleVerdictOperatorEquals RuleVerdictOperator = "EQUALS" RuleVerdictOperatorNotEquals RuleVerdictOperator = "NOT_EQUALS" )
Enum values for RuleVerdictOperator
func (RuleVerdictOperator) Values ¶
func (RuleVerdictOperator) Values() []RuleVerdictOperator
Values returns all known values for RuleVerdictOperator. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RuleVerdictToEvaluate ¶
type RuleVerdictToEvaluate interface {
// contains filtered or unexported methods
}
The verdict to evaluate in a verdict condition expression.
The following types satisfy this interface:
RuleVerdictToEvaluateMemberAnalysis RuleVerdictToEvaluateMemberAttribute
Example (OutputUsage) ¶
package main import ( "e.coding.net/g-nnjn4981/aito/aws-sdk-go-v2/service/mailmanager/types" "fmt" ) func main() { var union types.RuleVerdictToEvaluate // type switches can be used to check the union value switch v := union.(type) { case *types.RuleVerdictToEvaluateMemberAnalysis: _ = v.Value // Value is types.Analysis case *types.RuleVerdictToEvaluateMemberAttribute: _ = v.Value // Value is types.RuleVerdictAttribute case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type RuleVerdictToEvaluateMemberAnalysis ¶
type RuleVerdictToEvaluateMemberAnalysis struct { Value Analysis // contains filtered or unexported fields }
The Add On ARN and its returned value to evaluate in a verdict condition expression.
type RuleVerdictToEvaluateMemberAttribute ¶
type RuleVerdictToEvaluateMemberAttribute struct { Value RuleVerdictAttribute // contains filtered or unexported fields }
The email verdict attribute to evaluate in a string verdict expression.
type S3Action ¶
type S3Action struct { // The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. This // role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey // APIs for the given bucket. // // This member is required. RoleArn *string // The bucket name of the S3 bucket to write to. // // This member is required. S3Bucket *string // A policy that states what to do in the case of failure. The action will fail if // there are configuration errors. For example, the specified the bucket has been // deleted. ActionFailurePolicy ActionFailurePolicy // The S3 prefix to use for the write to the s3 bucket. S3Prefix *string // The KMS Key ID to use to encrypt the message in S3. S3SseKmsKeyId *string // contains filtered or unexported fields }
Writes the MIME content of the email to an S3 bucket.
type S3ExportDestinationConfiguration ¶
type S3ExportDestinationConfiguration struct { // The S3 location to deliver the exported email data. S3Location *string // contains filtered or unexported fields }
The configuration for exporting email data to an Amazon S3 bucket.
type SearchState ¶
type SearchState string
const ( SearchStateQueued SearchState = "QUEUED" SearchStateRunning SearchState = "RUNNING" SearchStateCompleted SearchState = "COMPLETED" SearchStateFailed SearchState = "FAILED" SearchStateCancelled SearchState = "CANCELLED" )
Enum values for SearchState
func (SearchState) Values ¶
func (SearchState) Values() []SearchState
Values returns all known values for SearchState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type SearchStatus ¶
type SearchStatus struct { // The timestamp of when the search completed (if finished). CompletionTimestamp *time.Time // An error message if the search failed. ErrorMessage *string // The current state of the search job. State SearchState // The timestamp of when the search was submitted. SubmissionTimestamp *time.Time // contains filtered or unexported fields }
The current status of an archive search job.
type SearchSummary ¶
type SearchSummary struct { // The unique identifier of the search job. SearchId *string // The current status of the search job. Status *SearchStatus // contains filtered or unexported fields }
Summary details of an archive search job.
type SendAction ¶
type SendAction struct { // The Amazon Resource Name (ARN) of the role to use for this action. This role // must have access to the ses:SendRawEmail API. // // This member is required. RoleArn *string // A policy that states what to do in the case of failure. The action will fail if // there are configuration errors. For example, the caller does not have the // permissions to call the sendRawEmail API. ActionFailurePolicy ActionFailurePolicy // contains filtered or unexported fields }
Sends the email to the internet using the ses:SendRawEmail API.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Occurs when an operation exceeds a predefined service quota or limit.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type Tag ¶
type Tag struct { // The key of the key-value tag. // // This member is required. Key *string // The value of the key-value tag. // // This member is required. Value *string // contains filtered or unexported fields }
A key-value pair (the value is optional), that you can define and assign to Amazon Web Services resources.
type ThrottlingException ¶
type ThrottlingException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type TrafficPolicy ¶
type TrafficPolicy struct { // Default action instructs the traffic policy to either Allow or Deny (block) // messages that fall outside of (or not addressed by) the conditions of your // policy statements // // This member is required. DefaultAction AcceptAction // The identifier of the traffic policy resource. // // This member is required. TrafficPolicyId *string // A user-friendly name of the traffic policy resource. // // This member is required. TrafficPolicyName *string // contains filtered or unexported fields }
The structure of a traffic policy resource which is a container for policy statements.
type UnknownUnionMember ¶
type UnknownUnionMember struct { Tag string Value []byte // contains filtered or unexported fields }
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The request validation has failed. For details, see the accompanying error message.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string