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

package guardduty

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

Package guardduty provides the client and types for making API requests to Amazon GuardDuty.

Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses threat intelligence feeds, such as lists of malicious IPs and domains, and machine learning to identify unexpected and potentially unauthorized and malicious activity within your AWS environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect compromised EC2 instances serving malware or mining bitcoin. It also monitors AWS account access behavior for signs of compromise, such as unauthorized infrastructure deployments, like instances deployed in a region that has never been used, or unusual API calls, like a password policy change to reduce password strength. GuardDuty informs you of the status of your AWS environment by producing security findings that you can view in the GuardDuty console or through Amazon CloudWatch events. For more information, see Amazon GuardDuty User Guide (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html).

See https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28 for more information on this service.

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

Using the Client

To contact Amazon GuardDuty 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 Amazon GuardDuty client GuardDuty for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/guardduty/#New

Index

Package Files

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

Constants

const (
    // DetectorStatusEnabled is a DetectorStatus enum value
    DetectorStatusEnabled = "ENABLED"

    // DetectorStatusDisabled is a DetectorStatus enum value
    DetectorStatusDisabled = "DISABLED"
)
const (
    // FeedbackUseful is a Feedback enum value
    FeedbackUseful = "USEFUL"

    // FeedbackNotUseful is a Feedback enum value
    FeedbackNotUseful = "NOT_USEFUL"
)
const (
    // FilterActionNoop is a FilterAction enum value
    FilterActionNoop = "NOOP"

    // FilterActionArchive is a FilterAction enum value
    FilterActionArchive = "ARCHIVE"
)
const (
    // FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value
    FindingPublishingFrequencyFifteenMinutes = "FIFTEEN_MINUTES"

    // FindingPublishingFrequencyOneHour is a FindingPublishingFrequency enum value
    FindingPublishingFrequencyOneHour = "ONE_HOUR"

    // FindingPublishingFrequencySixHours is a FindingPublishingFrequency enum value
    FindingPublishingFrequencySixHours = "SIX_HOURS"
)
const (
    // IpSetFormatTxt is a IpSetFormat enum value
    IpSetFormatTxt = "TXT"

    // IpSetFormatStix is a IpSetFormat enum value
    IpSetFormatStix = "STIX"

    // IpSetFormatOtxCsv is a IpSetFormat enum value
    IpSetFormatOtxCsv = "OTX_CSV"

    // IpSetFormatAlienVault is a IpSetFormat enum value
    IpSetFormatAlienVault = "ALIEN_VAULT"

    // IpSetFormatProofPoint is a IpSetFormat enum value
    IpSetFormatProofPoint = "PROOF_POINT"

    // IpSetFormatFireEye is a IpSetFormat enum value
    IpSetFormatFireEye = "FIRE_EYE"
)
const (
    // IpSetStatusInactive is a IpSetStatus enum value
    IpSetStatusInactive = "INACTIVE"

    // IpSetStatusActivating is a IpSetStatus enum value
    IpSetStatusActivating = "ACTIVATING"

    // IpSetStatusActive is a IpSetStatus enum value
    IpSetStatusActive = "ACTIVE"

    // IpSetStatusDeactivating is a IpSetStatus enum value
    IpSetStatusDeactivating = "DEACTIVATING"

    // IpSetStatusError is a IpSetStatus enum value
    IpSetStatusError = "ERROR"

    // IpSetStatusDeletePending is a IpSetStatus enum value
    IpSetStatusDeletePending = "DELETE_PENDING"

    // IpSetStatusDeleted is a IpSetStatus enum value
    IpSetStatusDeleted = "DELETED"
)
const (
    // OrderByAsc is a OrderBy enum value
    OrderByAsc = "ASC"

    // OrderByDesc is a OrderBy enum value
    OrderByDesc = "DESC"
)
const (
    // ThreatIntelSetFormatTxt is a ThreatIntelSetFormat enum value
    ThreatIntelSetFormatTxt = "TXT"

    // ThreatIntelSetFormatStix is a ThreatIntelSetFormat enum value
    ThreatIntelSetFormatStix = "STIX"

    // ThreatIntelSetFormatOtxCsv is a ThreatIntelSetFormat enum value
    ThreatIntelSetFormatOtxCsv = "OTX_CSV"

    // ThreatIntelSetFormatAlienVault is a ThreatIntelSetFormat enum value
    ThreatIntelSetFormatAlienVault = "ALIEN_VAULT"

    // ThreatIntelSetFormatProofPoint is a ThreatIntelSetFormat enum value
    ThreatIntelSetFormatProofPoint = "PROOF_POINT"

    // ThreatIntelSetFormatFireEye is a ThreatIntelSetFormat enum value
    ThreatIntelSetFormatFireEye = "FIRE_EYE"
)
const (
    // ThreatIntelSetStatusInactive is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusInactive = "INACTIVE"

    // ThreatIntelSetStatusActivating is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusActivating = "ACTIVATING"

    // ThreatIntelSetStatusActive is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusActive = "ACTIVE"

    // ThreatIntelSetStatusDeactivating is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusDeactivating = "DEACTIVATING"

    // ThreatIntelSetStatusError is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusError = "ERROR"

    // ThreatIntelSetStatusDeletePending is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusDeletePending = "DELETE_PENDING"

    // ThreatIntelSetStatusDeleted is a ThreatIntelSetStatus enum value
    ThreatIntelSetStatusDeleted = "DELETED"
)
const (

    // ErrCodeBadRequestException for service response error code
    // "BadRequestException".
    //
    // Bad request exception object.
    ErrCodeBadRequestException = "BadRequestException"

    // ErrCodeInternalServerErrorException for service response error code
    // "InternalServerErrorException".
    //
    // Internal server error exception object.
    ErrCodeInternalServerErrorException = "InternalServerErrorException"
)
const (
    ServiceName = "guardduty" // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "GuardDuty" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // FindingStatisticTypeCountBySeverity is a FindingStatisticType enum value
    FindingStatisticTypeCountBySeverity = "COUNT_BY_SEVERITY"
)

type AcceptInvitationInput Uses

type AcceptInvitationInput struct {

    // The unique ID of the detector of the GuardDuty member account.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // This value is used to validate the master account to the member account.
    //
    // InvitationId is a required field
    InvitationId *string `locationName:"invitationId" type:"string" required:"true"`

    // The account ID of the master GuardDuty account whose invitation you're accepting.
    //
    // MasterId is a required field
    MasterId *string `locationName:"masterId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AcceptInvitationInput) GoString Uses

func (s AcceptInvitationInput) GoString() string

GoString returns the string representation

func (*AcceptInvitationInput) SetDetectorId Uses

func (s *AcceptInvitationInput) SetDetectorId(v string) *AcceptInvitationInput

SetDetectorId sets the DetectorId field's value.

func (*AcceptInvitationInput) SetInvitationId Uses

func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput

SetInvitationId sets the InvitationId field's value.

func (*AcceptInvitationInput) SetMasterId Uses

func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput

SetMasterId sets the MasterId field's value.

func (AcceptInvitationInput) String Uses

func (s AcceptInvitationInput) String() string

String returns the string representation

func (*AcceptInvitationInput) Validate Uses

func (s *AcceptInvitationInput) Validate() error

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

type AcceptInvitationOutput Uses

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

func (AcceptInvitationOutput) GoString Uses

func (s AcceptInvitationOutput) GoString() string

GoString returns the string representation

func (AcceptInvitationOutput) String Uses

func (s AcceptInvitationOutput) String() string

String returns the string representation

type AccessKeyDetails Uses

type AccessKeyDetails struct {

    // Access key ID of the user.
    AccessKeyId *string `locationName:"accessKeyId" type:"string"`

    // The principal ID of the user.
    PrincipalId *string `locationName:"principalId" type:"string"`

    // The name of the user.
    UserName *string `locationName:"userName" type:"string"`

    // The type of the user.
    UserType *string `locationName:"userType" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the access keys.

func (AccessKeyDetails) GoString Uses

func (s AccessKeyDetails) GoString() string

GoString returns the string representation

func (*AccessKeyDetails) SetAccessKeyId Uses

func (s *AccessKeyDetails) SetAccessKeyId(v string) *AccessKeyDetails

SetAccessKeyId sets the AccessKeyId field's value.

func (*AccessKeyDetails) SetPrincipalId Uses

func (s *AccessKeyDetails) SetPrincipalId(v string) *AccessKeyDetails

SetPrincipalId sets the PrincipalId field's value.

func (*AccessKeyDetails) SetUserName Uses

func (s *AccessKeyDetails) SetUserName(v string) *AccessKeyDetails

SetUserName sets the UserName field's value.

func (*AccessKeyDetails) SetUserType Uses

func (s *AccessKeyDetails) SetUserType(v string) *AccessKeyDetails

SetUserType sets the UserType field's value.

func (AccessKeyDetails) String Uses

func (s AccessKeyDetails) String() string

String returns the string representation

type AccountDetail Uses

type AccountDetail struct {

    // Member account ID.
    //
    // AccountId is a required field
    AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

    // Member account's email address.
    //
    // Email is a required field
    Email *string `locationName:"email" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about the account.

func (AccountDetail) GoString Uses

func (s AccountDetail) GoString() string

GoString returns the string representation

func (*AccountDetail) SetAccountId Uses

func (s *AccountDetail) SetAccountId(v string) *AccountDetail

SetAccountId sets the AccountId field's value.

func (*AccountDetail) SetEmail Uses

func (s *AccountDetail) SetEmail(v string) *AccountDetail

SetEmail sets the Email field's value.

func (AccountDetail) String Uses

func (s AccountDetail) String() string

String returns the string representation

func (*AccountDetail) Validate Uses

func (s *AccountDetail) Validate() error

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

type Action Uses

type Action struct {

    // GuardDuty Finding activity type.
    ActionType *string `locationName:"actionType" type:"string"`

    // Information about the AWS_API_CALL action described in this finding.
    AwsApiCallAction *AwsApiCallAction `locationName:"awsApiCallAction" type:"structure"`

    // Information about the DNS_REQUEST action described in this finding.
    DnsRequestAction *DnsRequestAction `locationName:"dnsRequestAction" type:"structure"`

    // Information about the NETWORK_CONNECTION action described in this finding.
    NetworkConnectionAction *NetworkConnectionAction `locationName:"networkConnectionAction" type:"structure"`

    // Information about the PORT_PROBE action described in this finding.
    PortProbeAction *PortProbeAction `locationName:"portProbeAction" type:"structure"`
    // contains filtered or unexported fields
}

Contains information about action.

func (Action) GoString Uses

func (s Action) GoString() string

GoString returns the string representation

func (*Action) SetActionType Uses

func (s *Action) SetActionType(v string) *Action

SetActionType sets the ActionType field's value.

func (*Action) SetAwsApiCallAction Uses

func (s *Action) SetAwsApiCallAction(v *AwsApiCallAction) *Action

SetAwsApiCallAction sets the AwsApiCallAction field's value.

func (*Action) SetDnsRequestAction Uses

func (s *Action) SetDnsRequestAction(v *DnsRequestAction) *Action

SetDnsRequestAction sets the DnsRequestAction field's value.

func (*Action) SetNetworkConnectionAction Uses

func (s *Action) SetNetworkConnectionAction(v *NetworkConnectionAction) *Action

SetNetworkConnectionAction sets the NetworkConnectionAction field's value.

func (*Action) SetPortProbeAction Uses

func (s *Action) SetPortProbeAction(v *PortProbeAction) *Action

SetPortProbeAction sets the PortProbeAction field's value.

func (Action) String Uses

func (s Action) String() string

String returns the string representation

type ArchiveFindingsInput Uses

type ArchiveFindingsInput struct {

    // The ID of the detector that specifies the GuardDuty service whose findings
    // you want to archive.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // IDs of the findings that you want to archive.
    //
    // FindingIds is a required field
    FindingIds []*string `locationName:"findingIds" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (ArchiveFindingsInput) GoString Uses

func (s ArchiveFindingsInput) GoString() string

GoString returns the string representation

func (*ArchiveFindingsInput) SetDetectorId Uses

func (s *ArchiveFindingsInput) SetDetectorId(v string) *ArchiveFindingsInput

SetDetectorId sets the DetectorId field's value.

func (*ArchiveFindingsInput) SetFindingIds Uses

func (s *ArchiveFindingsInput) SetFindingIds(v []*string) *ArchiveFindingsInput

SetFindingIds sets the FindingIds field's value.

func (ArchiveFindingsInput) String Uses

func (s ArchiveFindingsInput) String() string

String returns the string representation

func (*ArchiveFindingsInput) Validate Uses

func (s *ArchiveFindingsInput) Validate() error

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

type ArchiveFindingsOutput Uses

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

func (ArchiveFindingsOutput) GoString Uses

func (s ArchiveFindingsOutput) GoString() string

GoString returns the string representation

func (ArchiveFindingsOutput) String Uses

func (s ArchiveFindingsOutput) String() string

String returns the string representation

type AwsApiCallAction Uses

type AwsApiCallAction struct {

    // AWS API name.
    Api *string `locationName:"api" type:"string"`

    // AWS API caller type.
    CallerType *string `locationName:"callerType" type:"string"`

    // Domain information for the AWS API call.
    DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"`

    // Remote IP information of the connection.
    RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"`

    // AWS service name whose API was invoked.
    ServiceName *string `locationName:"serviceName" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the API operation.

func (AwsApiCallAction) GoString Uses

func (s AwsApiCallAction) GoString() string

GoString returns the string representation

func (*AwsApiCallAction) SetApi Uses

func (s *AwsApiCallAction) SetApi(v string) *AwsApiCallAction

SetApi sets the Api field's value.

func (*AwsApiCallAction) SetCallerType Uses

func (s *AwsApiCallAction) SetCallerType(v string) *AwsApiCallAction

SetCallerType sets the CallerType field's value.

func (*AwsApiCallAction) SetDomainDetails Uses

func (s *AwsApiCallAction) SetDomainDetails(v *DomainDetails) *AwsApiCallAction

SetDomainDetails sets the DomainDetails field's value.

func (*AwsApiCallAction) SetRemoteIpDetails Uses

func (s *AwsApiCallAction) SetRemoteIpDetails(v *RemoteIpDetails) *AwsApiCallAction

SetRemoteIpDetails sets the RemoteIpDetails field's value.

func (*AwsApiCallAction) SetServiceName Uses

func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction

SetServiceName sets the ServiceName field's value.

func (AwsApiCallAction) String Uses

func (s AwsApiCallAction) String() string

String returns the string representation

type City Uses

type City struct {

    // City name of the remote IP address.
    CityName *string `locationName:"cityName" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the city associated with the IP address.

func (City) GoString Uses

func (s City) GoString() string

GoString returns the string representation

func (*City) SetCityName Uses

func (s *City) SetCityName(v string) *City

SetCityName sets the CityName field's value.

func (City) String Uses

func (s City) String() string

String returns the string representation

type Condition Uses

type Condition struct {

    // Deprecated. Represents the equal condition to be applied to a single field
    // when querying for findings.
    //
    // Deprecated: Eq has been deprecated
    Eq  []*string `locationName:"eq" deprecated:"true" type:"list"`

    // Represents an equal condition to be applied to a single field when querying
    // for findings.
    Equals []*string `locationName:"equals" type:"list"`

    // Represents a greater than condition to be applied to a single field when
    // querying for findings.
    GreaterThan *int64 `locationName:"greaterThan" type:"long"`

    // Represents a greater than equal condition to be applied to a single field
    // when querying for findings.
    GreaterThanOrEqual *int64 `locationName:"greaterThanOrEqual" type:"long"`

    // Deprecated. Represents a greater than condition to be applied to a single
    // field when querying for findings.
    //
    // Deprecated: Gt has been deprecated
    Gt  *int64 `locationName:"gt" deprecated:"true" type:"integer"`

    // Deprecated. Represents a greater than equal condition to be applied to a
    // single field when querying for findings.
    //
    // Deprecated: Gte has been deprecated
    Gte *int64 `locationName:"gte" deprecated:"true" type:"integer"`

    // Represents a less than condition to be applied to a single field when querying
    // for findings.
    LessThan *int64 `locationName:"lessThan" type:"long"`

    // Represents a less than equal condition to be applied to a single field when
    // querying for findings.
    LessThanOrEqual *int64 `locationName:"lessThanOrEqual" type:"long"`

    // Deprecated. Represents a less than condition to be applied to a single field
    // when querying for findings.
    //
    // Deprecated: Lt has been deprecated
    Lt  *int64 `locationName:"lt" deprecated:"true" type:"integer"`

    // Deprecated. Represents a less than equal condition to be applied to a single
    // field when querying for findings.
    //
    // Deprecated: Lte has been deprecated
    Lte *int64 `locationName:"lte" deprecated:"true" type:"integer"`

    // Deprecated. Represents the not equal condition to be applied to a single
    // field when querying for findings.
    //
    // Deprecated: Neq has been deprecated
    Neq []*string `locationName:"neq" deprecated:"true" type:"list"`

    // Represents an not equal condition to be applied to a single field when querying
    // for findings.
    NotEquals []*string `locationName:"notEquals" type:"list"`
    // contains filtered or unexported fields
}

Contains information about the condition.

func (Condition) GoString Uses

func (s Condition) GoString() string

GoString returns the string representation

func (*Condition) SetEq Uses

func (s *Condition) SetEq(v []*string) *Condition

SetEq sets the Eq field's value.

func (*Condition) SetEquals Uses

func (s *Condition) SetEquals(v []*string) *Condition

SetEquals sets the Equals field's value.

func (*Condition) SetGreaterThan Uses

func (s *Condition) SetGreaterThan(v int64) *Condition

SetGreaterThan sets the GreaterThan field's value.

func (*Condition) SetGreaterThanOrEqual Uses

func (s *Condition) SetGreaterThanOrEqual(v int64) *Condition

SetGreaterThanOrEqual sets the GreaterThanOrEqual field's value.

func (*Condition) SetGt Uses

func (s *Condition) SetGt(v int64) *Condition

SetGt sets the Gt field's value.

func (*Condition) SetGte Uses

func (s *Condition) SetGte(v int64) *Condition

SetGte sets the Gte field's value.

func (*Condition) SetLessThan Uses

func (s *Condition) SetLessThan(v int64) *Condition

SetLessThan sets the LessThan field's value.

func (*Condition) SetLessThanOrEqual Uses

func (s *Condition) SetLessThanOrEqual(v int64) *Condition

SetLessThanOrEqual sets the LessThanOrEqual field's value.

func (*Condition) SetLt Uses

func (s *Condition) SetLt(v int64) *Condition

SetLt sets the Lt field's value.

func (*Condition) SetLte Uses

func (s *Condition) SetLte(v int64) *Condition

SetLte sets the Lte field's value.

func (*Condition) SetNeq Uses

func (s *Condition) SetNeq(v []*string) *Condition

SetNeq sets the Neq field's value.

func (*Condition) SetNotEquals Uses

func (s *Condition) SetNotEquals(v []*string) *Condition

SetNotEquals sets the NotEquals field's value.

func (Condition) String Uses

func (s Condition) String() string

String returns the string representation

type Country Uses

type Country struct {

    // Country code of the remote IP address.
    CountryCode *string `locationName:"countryCode" type:"string"`

    // Country name of the remote IP address.
    CountryName *string `locationName:"countryName" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the country.

func (Country) GoString Uses

func (s Country) GoString() string

GoString returns the string representation

func (*Country) SetCountryCode Uses

func (s *Country) SetCountryCode(v string) *Country

SetCountryCode sets the CountryCode field's value.

func (*Country) SetCountryName Uses

func (s *Country) SetCountryName(v string) *Country

SetCountryName sets the CountryName field's value.

func (Country) String Uses

func (s Country) String() string

String returns the string representation

type CreateDetectorInput Uses

type CreateDetectorInput struct {

    // The idempotency token for the create request.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // A boolean value that specifies whether the detector is to be enabled.
    //
    // Enable is a required field
    Enable *bool `locationName:"enable" type:"boolean" required:"true"`

    // A enum value that specifies how frequently customer got Finding updates published.
    FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`

    // The tags to be added to a new detector resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (CreateDetectorInput) GoString Uses

func (s CreateDetectorInput) GoString() string

GoString returns the string representation

func (*CreateDetectorInput) SetClientToken Uses

func (s *CreateDetectorInput) SetClientToken(v string) *CreateDetectorInput

SetClientToken sets the ClientToken field's value.

func (*CreateDetectorInput) SetEnable Uses

func (s *CreateDetectorInput) SetEnable(v bool) *CreateDetectorInput

SetEnable sets the Enable field's value.

func (*CreateDetectorInput) SetFindingPublishingFrequency Uses

func (s *CreateDetectorInput) SetFindingPublishingFrequency(v string) *CreateDetectorInput

SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.

func (*CreateDetectorInput) SetTags Uses

func (s *CreateDetectorInput) SetTags(v map[string]*string) *CreateDetectorInput

SetTags sets the Tags field's value.

func (CreateDetectorInput) String Uses

func (s CreateDetectorInput) String() string

String returns the string representation

func (*CreateDetectorInput) Validate Uses

func (s *CreateDetectorInput) Validate() error

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

type CreateDetectorOutput Uses

type CreateDetectorOutput struct {

    // The unique ID of the created detector.
    DetectorId *string `locationName:"detectorId" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (CreateDetectorOutput) GoString Uses

func (s CreateDetectorOutput) GoString() string

GoString returns the string representation

func (*CreateDetectorOutput) SetDetectorId Uses

func (s *CreateDetectorOutput) SetDetectorId(v string) *CreateDetectorOutput

SetDetectorId sets the DetectorId field's value.

func (CreateDetectorOutput) String Uses

func (s CreateDetectorOutput) String() string

String returns the string representation

type CreateFilterInput Uses

type CreateFilterInput struct {

    // Specifies the action that is to be applied to the findings that match the
    // filter.
    Action *string `locationName:"action" min:"1" type:"string" enum:"FilterAction"`

    // The idempotency token for the create request.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The description of the filter.
    Description *string `locationName:"description" type:"string"`

    // The unique ID of the detector of the GuardDuty account for which you want
    // to create a filter.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // Represents the criteria to be used in the filter for querying findings.
    //
    // FindingCriteria is a required field
    FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"`

    // The name of the filter.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"3" type:"string" required:"true"`

    // Specifies the position of the filter in the list of current filters. Also
    // specifies the order in which this filter is applied to the findings.
    Rank *int64 `locationName:"rank" min:"1" type:"integer"`

    // The tags to be added to a new filter resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (CreateFilterInput) GoString Uses

func (s CreateFilterInput) GoString() string

GoString returns the string representation

func (*CreateFilterInput) SetAction Uses

func (s *CreateFilterInput) SetAction(v string) *CreateFilterInput

SetAction sets the Action field's value.

func (*CreateFilterInput) SetClientToken Uses

func (s *CreateFilterInput) SetClientToken(v string) *CreateFilterInput

SetClientToken sets the ClientToken field's value.

func (*CreateFilterInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateFilterInput) SetDetectorId Uses

func (s *CreateFilterInput) SetDetectorId(v string) *CreateFilterInput

SetDetectorId sets the DetectorId field's value.

func (*CreateFilterInput) SetFindingCriteria Uses

func (s *CreateFilterInput) SetFindingCriteria(v *FindingCriteria) *CreateFilterInput

SetFindingCriteria sets the FindingCriteria field's value.

func (*CreateFilterInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateFilterInput) SetRank Uses

func (s *CreateFilterInput) SetRank(v int64) *CreateFilterInput

SetRank sets the Rank field's value.

func (*CreateFilterInput) SetTags Uses

func (s *CreateFilterInput) SetTags(v map[string]*string) *CreateFilterInput

SetTags sets the Tags field's value.

func (CreateFilterInput) String Uses

func (s CreateFilterInput) String() string

String returns the string representation

func (*CreateFilterInput) Validate Uses

func (s *CreateFilterInput) Validate() error

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

type CreateFilterOutput Uses

type CreateFilterOutput struct {

    // The name of the successfully created filter.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"3" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateFilterOutput) GoString Uses

func (s CreateFilterOutput) GoString() string

GoString returns the string representation

func (*CreateFilterOutput) SetName Uses

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

SetName sets the Name field's value.

func (CreateFilterOutput) String Uses

func (s CreateFilterOutput) String() string

String returns the string representation

type CreateIPSetInput Uses

type CreateIPSetInput struct {

    // A boolean value that indicates whether GuardDuty is to start using the uploaded
    // IPSet.
    //
    // Activate is a required field
    Activate *bool `locationName:"activate" type:"boolean" required:"true"`

    // The idempotency token for the create request.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The unique ID of the detector of the GuardDuty account for which you want
    // to create an IPSet.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The format of the file that contains the IPSet.
    //
    // Format is a required field
    Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"IpSetFormat"`

    // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
    //
    // Location is a required field
    Location *string `locationName:"location" min:"1" type:"string" required:"true"`

    // The user friendly name to identify the IPSet. This name is displayed in all
    // findings that are triggered by activity that involves IP addresses included
    // in this IPSet.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The tags to be added to a new IP set resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (CreateIPSetInput) GoString Uses

func (s CreateIPSetInput) GoString() string

GoString returns the string representation

func (*CreateIPSetInput) SetActivate Uses

func (s *CreateIPSetInput) SetActivate(v bool) *CreateIPSetInput

SetActivate sets the Activate field's value.

func (*CreateIPSetInput) SetClientToken Uses

func (s *CreateIPSetInput) SetClientToken(v string) *CreateIPSetInput

SetClientToken sets the ClientToken field's value.

func (*CreateIPSetInput) SetDetectorId Uses

func (s *CreateIPSetInput) SetDetectorId(v string) *CreateIPSetInput

SetDetectorId sets the DetectorId field's value.

func (*CreateIPSetInput) SetFormat Uses

func (s *CreateIPSetInput) SetFormat(v string) *CreateIPSetInput

SetFormat sets the Format field's value.

func (*CreateIPSetInput) SetLocation Uses

func (s *CreateIPSetInput) SetLocation(v string) *CreateIPSetInput

SetLocation sets the Location field's value.

func (*CreateIPSetInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateIPSetInput) SetTags Uses

func (s *CreateIPSetInput) SetTags(v map[string]*string) *CreateIPSetInput

SetTags sets the Tags field's value.

func (CreateIPSetInput) String Uses

func (s CreateIPSetInput) String() string

String returns the string representation

func (*CreateIPSetInput) Validate Uses

func (s *CreateIPSetInput) Validate() error

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

type CreateIPSetOutput Uses

type CreateIPSetOutput struct {

    // The ID of the IPSet resource.
    //
    // IpSetId is a required field
    IpSetId *string `locationName:"ipSetId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateIPSetOutput) GoString Uses

func (s CreateIPSetOutput) GoString() string

GoString returns the string representation

func (*CreateIPSetOutput) SetIpSetId Uses

func (s *CreateIPSetOutput) SetIpSetId(v string) *CreateIPSetOutput

SetIpSetId sets the IpSetId field's value.

func (CreateIPSetOutput) String Uses

func (s CreateIPSetOutput) String() string

String returns the string representation

type CreateMembersInput Uses

type CreateMembersInput struct {

    // A list of account ID and email address pairs of the accounts that you want
    // to associate with the master GuardDuty account.
    //
    // AccountDetails is a required field
    AccountDetails []*AccountDetail `locationName:"accountDetails" min:"1" type:"list" required:"true"`

    // The unique ID of the detector of the GuardDuty account with which you want
    // to associate member accounts.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateMembersInput) GoString Uses

func (s CreateMembersInput) GoString() string

GoString returns the string representation

func (*CreateMembersInput) SetAccountDetails Uses

func (s *CreateMembersInput) SetAccountDetails(v []*AccountDetail) *CreateMembersInput

SetAccountDetails sets the AccountDetails field's value.

func (*CreateMembersInput) SetDetectorId Uses

func (s *CreateMembersInput) SetDetectorId(v string) *CreateMembersInput

SetDetectorId sets the DetectorId field's value.

func (CreateMembersInput) String Uses

func (s CreateMembersInput) String() string

String returns the string representation

func (*CreateMembersInput) Validate Uses

func (s *CreateMembersInput) Validate() error

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

type CreateMembersOutput Uses

type CreateMembersOutput struct {

    // A list of objects containing the unprocessed account and a result string
    // explaining why it was unprocessed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (CreateMembersOutput) GoString Uses

func (s CreateMembersOutput) GoString() string

GoString returns the string representation

func (*CreateMembersOutput) SetUnprocessedAccounts Uses

func (s *CreateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (CreateMembersOutput) String Uses

func (s CreateMembersOutput) String() string

String returns the string representation

type CreateSampleFindingsInput Uses

type CreateSampleFindingsInput struct {

    // The ID of the detector to create sample findings for.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // Types of sample findings that you want to generate.
    FindingTypes []*string `locationName:"findingTypes" type:"list"`
    // contains filtered or unexported fields
}

func (CreateSampleFindingsInput) GoString Uses

func (s CreateSampleFindingsInput) GoString() string

GoString returns the string representation

func (*CreateSampleFindingsInput) SetDetectorId Uses

func (s *CreateSampleFindingsInput) SetDetectorId(v string) *CreateSampleFindingsInput

SetDetectorId sets the DetectorId field's value.

func (*CreateSampleFindingsInput) SetFindingTypes Uses

func (s *CreateSampleFindingsInput) SetFindingTypes(v []*string) *CreateSampleFindingsInput

SetFindingTypes sets the FindingTypes field's value.

func (CreateSampleFindingsInput) String Uses

func (s CreateSampleFindingsInput) String() string

String returns the string representation

func (*CreateSampleFindingsInput) Validate Uses

func (s *CreateSampleFindingsInput) Validate() error

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

type CreateSampleFindingsOutput Uses

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

func (CreateSampleFindingsOutput) GoString Uses

func (s CreateSampleFindingsOutput) GoString() string

GoString returns the string representation

func (CreateSampleFindingsOutput) String Uses

func (s CreateSampleFindingsOutput) String() string

String returns the string representation

type CreateThreatIntelSetInput Uses

type CreateThreatIntelSetInput struct {

    // A boolean value that indicates whether GuardDuty is to start using the uploaded
    // ThreatIntelSet.
    //
    // Activate is a required field
    Activate *bool `locationName:"activate" type:"boolean" required:"true"`

    // The idempotency token for the create request.
    ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

    // The unique ID of the detector of the GuardDuty account for which you want
    // to create a threatIntelSet.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The format of the file that contains the ThreatIntelSet.
    //
    // Format is a required field
    Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"ThreatIntelSetFormat"`

    // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
    //
    // Location is a required field
    Location *string `locationName:"location" min:"1" type:"string" required:"true"`

    // A user-friendly ThreatIntelSet name that is displayed in all finding generated
    // by activity that involves IP addresses included in this ThreatIntelSet.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The tags to be added to a new Threat List resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (CreateThreatIntelSetInput) GoString Uses

func (s CreateThreatIntelSetInput) GoString() string

GoString returns the string representation

func (*CreateThreatIntelSetInput) SetActivate Uses

func (s *CreateThreatIntelSetInput) SetActivate(v bool) *CreateThreatIntelSetInput

SetActivate sets the Activate field's value.

func (*CreateThreatIntelSetInput) SetClientToken Uses

func (s *CreateThreatIntelSetInput) SetClientToken(v string) *CreateThreatIntelSetInput

SetClientToken sets the ClientToken field's value.

func (*CreateThreatIntelSetInput) SetDetectorId Uses

func (s *CreateThreatIntelSetInput) SetDetectorId(v string) *CreateThreatIntelSetInput

SetDetectorId sets the DetectorId field's value.

func (*CreateThreatIntelSetInput) SetFormat Uses

func (s *CreateThreatIntelSetInput) SetFormat(v string) *CreateThreatIntelSetInput

SetFormat sets the Format field's value.

func (*CreateThreatIntelSetInput) SetLocation Uses

func (s *CreateThreatIntelSetInput) SetLocation(v string) *CreateThreatIntelSetInput

SetLocation sets the Location field's value.

func (*CreateThreatIntelSetInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateThreatIntelSetInput) SetTags Uses

func (s *CreateThreatIntelSetInput) SetTags(v map[string]*string) *CreateThreatIntelSetInput

SetTags sets the Tags field's value.

func (CreateThreatIntelSetInput) String Uses

func (s CreateThreatIntelSetInput) String() string

String returns the string representation

func (*CreateThreatIntelSetInput) Validate Uses

func (s *CreateThreatIntelSetInput) Validate() error

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

type CreateThreatIntelSetOutput Uses

type CreateThreatIntelSetOutput struct {

    // The ID of the ThreatIntelSet resource.
    //
    // ThreatIntelSetId is a required field
    ThreatIntelSetId *string `locationName:"threatIntelSetId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateThreatIntelSetOutput) GoString Uses

func (s CreateThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (*CreateThreatIntelSetOutput) SetThreatIntelSetId Uses

func (s *CreateThreatIntelSetOutput) SetThreatIntelSetId(v string) *CreateThreatIntelSetOutput

SetThreatIntelSetId sets the ThreatIntelSetId field's value.

func (CreateThreatIntelSetOutput) String Uses

func (s CreateThreatIntelSetOutput) String() string

String returns the string representation

type DeclineInvitationsInput Uses

type DeclineInvitationsInput struct {

    // A list of account IDs of the AWS accounts that sent invitations to the current
    // member account that you want to decline invitations from.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeclineInvitationsInput) GoString Uses

func (s DeclineInvitationsInput) GoString() string

GoString returns the string representation

func (*DeclineInvitationsInput) SetAccountIds Uses

func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput

SetAccountIds sets the AccountIds field's value.

func (DeclineInvitationsInput) String Uses

func (s DeclineInvitationsInput) String() string

String returns the string representation

func (*DeclineInvitationsInput) Validate Uses

func (s *DeclineInvitationsInput) Validate() error

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

type DeclineInvitationsOutput Uses

type DeclineInvitationsOutput struct {

    // A list of objects containing the unprocessed account and a result string
    // explaining why it was unprocessed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeclineInvitationsOutput) GoString Uses

func (s DeclineInvitationsOutput) GoString() string

GoString returns the string representation

func (*DeclineInvitationsOutput) SetUnprocessedAccounts Uses

func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeclineInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeclineInvitationsOutput) String Uses

func (s DeclineInvitationsOutput) String() string

String returns the string representation

type DeleteDetectorInput Uses

type DeleteDetectorInput struct {

    // The unique ID of the detector that you want to delete.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteDetectorInput) GoString Uses

func (s DeleteDetectorInput) GoString() string

GoString returns the string representation

func (*DeleteDetectorInput) SetDetectorId Uses

func (s *DeleteDetectorInput) SetDetectorId(v string) *DeleteDetectorInput

SetDetectorId sets the DetectorId field's value.

func (DeleteDetectorInput) String Uses

func (s DeleteDetectorInput) String() string

String returns the string representation

func (*DeleteDetectorInput) Validate Uses

func (s *DeleteDetectorInput) Validate() error

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

type DeleteDetectorOutput Uses

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

func (DeleteDetectorOutput) GoString Uses

func (s DeleteDetectorOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorOutput) String Uses

func (s DeleteDetectorOutput) String() string

String returns the string representation

type DeleteFilterInput Uses

type DeleteFilterInput struct {

    // The unique ID of the detector the filter is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The name of the filter you want to delete.
    //
    // FilterName is a required field
    FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFilterInput) GoString Uses

func (s DeleteFilterInput) GoString() string

GoString returns the string representation

func (*DeleteFilterInput) SetDetectorId Uses

func (s *DeleteFilterInput) SetDetectorId(v string) *DeleteFilterInput

SetDetectorId sets the DetectorId field's value.

func (*DeleteFilterInput) SetFilterName Uses

func (s *DeleteFilterInput) SetFilterName(v string) *DeleteFilterInput

SetFilterName sets the FilterName field's value.

func (DeleteFilterInput) String Uses

func (s DeleteFilterInput) String() string

String returns the string representation

func (*DeleteFilterInput) Validate Uses

func (s *DeleteFilterInput) Validate() error

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

type DeleteFilterOutput Uses

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

func (DeleteFilterOutput) GoString Uses

func (s DeleteFilterOutput) GoString() string

GoString returns the string representation

func (DeleteFilterOutput) String Uses

func (s DeleteFilterOutput) String() string

String returns the string representation

type DeleteIPSetInput Uses

type DeleteIPSetInput struct {

    // The unique ID of the detector the ipSet is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The unique ID of the ipSet you want to delete.
    //
    // IpSetId is a required field
    IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteIPSetInput) GoString Uses

func (s DeleteIPSetInput) GoString() string

GoString returns the string representation

func (*DeleteIPSetInput) SetDetectorId Uses

func (s *DeleteIPSetInput) SetDetectorId(v string) *DeleteIPSetInput

SetDetectorId sets the DetectorId field's value.

func (*DeleteIPSetInput) SetIpSetId Uses

func (s *DeleteIPSetInput) SetIpSetId(v string) *DeleteIPSetInput

SetIpSetId sets the IpSetId field's value.

func (DeleteIPSetInput) String Uses

func (s DeleteIPSetInput) String() string

String returns the string representation

func (*DeleteIPSetInput) Validate Uses

func (s *DeleteIPSetInput) Validate() error

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

type DeleteIPSetOutput Uses

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

func (DeleteIPSetOutput) GoString Uses

func (s DeleteIPSetOutput) GoString() string

GoString returns the string representation

func (DeleteIPSetOutput) String Uses

func (s DeleteIPSetOutput) String() string

String returns the string representation

type DeleteInvitationsInput Uses

type DeleteInvitationsInput struct {

    // A list of account IDs of the AWS accounts that sent invitations to the current
    // member account that you want to delete invitations from.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteInvitationsInput) GoString Uses

func (s DeleteInvitationsInput) GoString() string

GoString returns the string representation

func (*DeleteInvitationsInput) SetAccountIds Uses

func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput

SetAccountIds sets the AccountIds field's value.

func (DeleteInvitationsInput) String Uses

func (s DeleteInvitationsInput) String() string

String returns the string representation

func (*DeleteInvitationsInput) Validate Uses

func (s *DeleteInvitationsInput) Validate() error

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

type DeleteInvitationsOutput Uses

type DeleteInvitationsOutput struct {

    // A list of objects containing the unprocessed account and a result string
    // explaining why it was unprocessed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteInvitationsOutput) GoString Uses

func (s DeleteInvitationsOutput) GoString() string

GoString returns the string representation

func (*DeleteInvitationsOutput) SetUnprocessedAccounts Uses

func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeleteInvitationsOutput) String Uses

func (s DeleteInvitationsOutput) String() string

String returns the string representation

type DeleteMembersInput Uses

type DeleteMembersInput struct {

    // A list of account IDs of the GuardDuty member accounts that you want to delete.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`

    // The unique ID of the detector of the GuardDuty account whose members you
    // want to delete.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteMembersInput) GoString Uses

func (s DeleteMembersInput) GoString() string

GoString returns the string representation

func (*DeleteMembersInput) SetAccountIds Uses

func (s *DeleteMembersInput) SetAccountIds(v []*string) *DeleteMembersInput

SetAccountIds sets the AccountIds field's value.

func (*DeleteMembersInput) SetDetectorId Uses

func (s *DeleteMembersInput) SetDetectorId(v string) *DeleteMembersInput

SetDetectorId sets the DetectorId field's value.

func (DeleteMembersInput) String Uses

func (s DeleteMembersInput) String() string

String returns the string representation

func (*DeleteMembersInput) Validate Uses

func (s *DeleteMembersInput) Validate() error

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

type DeleteMembersOutput Uses

type DeleteMembersOutput struct {

    // The accounts that could not be processed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteMembersOutput) GoString Uses

func (s DeleteMembersOutput) GoString() string

GoString returns the string representation

func (*DeleteMembersOutput) SetUnprocessedAccounts Uses

func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeleteMembersOutput) String Uses

func (s DeleteMembersOutput) String() string

String returns the string representation

type DeleteThreatIntelSetInput Uses

type DeleteThreatIntelSetInput struct {

    // The unique ID of the detector the threatIntelSet is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The unique ID of the threatIntelSet you want to delete.
    //
    // ThreatIntelSetId is a required field
    ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteThreatIntelSetInput) GoString Uses

func (s DeleteThreatIntelSetInput) GoString() string

GoString returns the string representation

func (*DeleteThreatIntelSetInput) SetDetectorId Uses

func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput

SetDetectorId sets the DetectorId field's value.

func (*DeleteThreatIntelSetInput) SetThreatIntelSetId Uses

func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput

SetThreatIntelSetId sets the ThreatIntelSetId field's value.

func (DeleteThreatIntelSetInput) String Uses

func (s DeleteThreatIntelSetInput) String() string

String returns the string representation

func (*DeleteThreatIntelSetInput) Validate Uses

func (s *DeleteThreatIntelSetInput) Validate() error

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

type DeleteThreatIntelSetOutput Uses

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

func (DeleteThreatIntelSetOutput) GoString Uses

func (s DeleteThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (DeleteThreatIntelSetOutput) String Uses

func (s DeleteThreatIntelSetOutput) String() string

String returns the string representation

type DisassociateFromMasterAccountInput Uses

type DisassociateFromMasterAccountInput struct {

    // The unique ID of the detector of the GuardDuty member account.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateFromMasterAccountInput) GoString Uses

func (s DisassociateFromMasterAccountInput) GoString() string

GoString returns the string representation

func (*DisassociateFromMasterAccountInput) SetDetectorId Uses

func (s *DisassociateFromMasterAccountInput) SetDetectorId(v string) *DisassociateFromMasterAccountInput

SetDetectorId sets the DetectorId field's value.

func (DisassociateFromMasterAccountInput) String Uses

func (s DisassociateFromMasterAccountInput) String() string

String returns the string representation

func (*DisassociateFromMasterAccountInput) Validate Uses

func (s *DisassociateFromMasterAccountInput) Validate() error

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

type DisassociateFromMasterAccountOutput Uses

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

func (DisassociateFromMasterAccountOutput) GoString Uses

func (s DisassociateFromMasterAccountOutput) GoString() string

GoString returns the string representation

func (DisassociateFromMasterAccountOutput) String Uses

func (s DisassociateFromMasterAccountOutput) String() string

String returns the string representation

type DisassociateMembersInput Uses

type DisassociateMembersInput struct {

    // A list of account IDs of the GuardDuty member accounts that you want to disassociate
    // from master.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`

    // The unique ID of the detector of the GuardDuty account whose members you
    // want to disassociate from master.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateMembersInput) GoString Uses

func (s DisassociateMembersInput) GoString() string

GoString returns the string representation

func (*DisassociateMembersInput) SetAccountIds Uses

func (s *DisassociateMembersInput) SetAccountIds(v []*string) *DisassociateMembersInput

SetAccountIds sets the AccountIds field's value.

func (*DisassociateMembersInput) SetDetectorId Uses

func (s *DisassociateMembersInput) SetDetectorId(v string) *DisassociateMembersInput

SetDetectorId sets the DetectorId field's value.

func (DisassociateMembersInput) String Uses

func (s DisassociateMembersInput) String() string

String returns the string representation

func (*DisassociateMembersInput) Validate Uses

func (s *DisassociateMembersInput) Validate() error

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

type DisassociateMembersOutput Uses

type DisassociateMembersOutput struct {

    // A list of objects containing the unprocessed account and a result string
    // explaining why it was unprocessed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateMembersOutput) GoString Uses

func (s DisassociateMembersOutput) GoString() string

GoString returns the string representation

func (*DisassociateMembersOutput) SetUnprocessedAccounts Uses

func (s *DisassociateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DisassociateMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DisassociateMembersOutput) String Uses

func (s DisassociateMembersOutput) String() string

String returns the string representation

type DnsRequestAction Uses

type DnsRequestAction struct {

    // Domain information for the DNS request.
    Domain *string `locationName:"domain" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the DNS request.

func (DnsRequestAction) GoString Uses

func (s DnsRequestAction) GoString() string

GoString returns the string representation

func (*DnsRequestAction) SetDomain Uses

func (s *DnsRequestAction) SetDomain(v string) *DnsRequestAction

SetDomain sets the Domain field's value.

func (DnsRequestAction) String Uses

func (s DnsRequestAction) String() string

String returns the string representation

type DomainDetails Uses

type DomainDetails struct {

    // Domain information for the AWS API call.
    Domain *string `locationName:"domain" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the domain.

func (DomainDetails) GoString Uses

func (s DomainDetails) GoString() string

GoString returns the string representation

func (*DomainDetails) SetDomain Uses

func (s *DomainDetails) SetDomain(v string) *DomainDetails

SetDomain sets the Domain field's value.

func (DomainDetails) String Uses

func (s DomainDetails) String() string

String returns the string representation

type Evidence Uses

type Evidence struct {

    // A list of threat intelligence details related to the evidence.
    ThreatIntelligenceDetails []*ThreatIntelligenceDetail `locationName:"threatIntelligenceDetails" type:"list"`
    // contains filtered or unexported fields
}

Contains information about the reason that the finding was generated.

func (Evidence) GoString Uses

func (s Evidence) GoString() string

GoString returns the string representation

func (*Evidence) SetThreatIntelligenceDetails Uses

func (s *Evidence) SetThreatIntelligenceDetails(v []*ThreatIntelligenceDetail) *Evidence

SetThreatIntelligenceDetails sets the ThreatIntelligenceDetails field's value.

func (Evidence) String Uses

func (s Evidence) String() string

String returns the string representation

type Finding Uses

type Finding struct {

    // The ID of the account in which the finding was generated.
    //
    // AccountId is a required field
    AccountId *string `locationName:"accountId" type:"string" required:"true"`

    // The ARN for the finding.
    //
    // Arn is a required field
    Arn *string `locationName:"arn" type:"string" required:"true"`

    // The confidence score for the finding.
    Confidence *float64 `locationName:"confidence" type:"double"`

    // The time and date at which the finding was created.
    //
    // CreatedAt is a required field
    CreatedAt *string `locationName:"createdAt" type:"string" required:"true"`

    // The description of the finding.
    Description *string `locationName:"description" type:"string"`

    // The ID of the finding.
    //
    // Id is a required field
    Id  *string `locationName:"id" type:"string" required:"true"`

    // The partition associated with the finding.
    Partition *string `locationName:"partition" type:"string"`

    // The Region in which the finding was generated.
    //
    // Region is a required field
    Region *string `locationName:"region" type:"string" required:"true"`

    // Contains information about the resource.
    //
    // Resource is a required field
    Resource *Resource `locationName:"resource" type:"structure" required:"true"`

    // The version of the schema used for the finding.
    //
    // SchemaVersion is a required field
    SchemaVersion *string `locationName:"schemaVersion" type:"string" required:"true"`

    // Contains information about the service.
    Service *Service `locationName:"service" type:"structure"`

    // The severity of the finding.
    //
    // Severity is a required field
    Severity *float64 `locationName:"severity" type:"double" required:"true"`

    // The title for the finding.
    Title *string `locationName:"title" type:"string"`

    // The type of the finding.
    //
    // Type is a required field
    Type *string `locationName:"type" min:"1" type:"string" required:"true"`

    // The time and date at which the finding was laste updated.
    //
    // UpdatedAt is a required field
    UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about the finding.

func (Finding) GoString Uses

func (s Finding) GoString() string

GoString returns the string representation

func (*Finding) SetAccountId Uses

func (s *Finding) SetAccountId(v string) *Finding

SetAccountId sets the AccountId field's value.

func (*Finding) SetArn Uses

func (s *Finding) SetArn(v string) *Finding

SetArn sets the Arn field's value.

func (*Finding) SetConfidence Uses

func (s *Finding) SetConfidence(v float64) *Finding

SetConfidence sets the Confidence field's value.

func (*Finding) SetCreatedAt Uses

func (s *Finding) SetCreatedAt(v string) *Finding

SetCreatedAt sets the CreatedAt field's value.

func (*Finding) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Finding) SetId Uses

func (s *Finding) SetId(v string) *Finding

SetId sets the Id field's value.

func (*Finding) SetPartition Uses

func (s *Finding) SetPartition(v string) *Finding

SetPartition sets the Partition field's value.

func (*Finding) SetRegion Uses

func (s *Finding) SetRegion(v string) *Finding

SetRegion sets the Region field's value.

func (*Finding) SetResource Uses

func (s *Finding) SetResource(v *Resource) *Finding

SetResource sets the Resource field's value.

func (*Finding) SetSchemaVersion Uses

func (s *Finding) SetSchemaVersion(v string) *Finding

SetSchemaVersion sets the SchemaVersion field's value.

func (*Finding) SetService Uses

func (s *Finding) SetService(v *Service) *Finding

SetService sets the Service field's value.

func (*Finding) SetSeverity Uses

func (s *Finding) SetSeverity(v float64) *Finding

SetSeverity sets the Severity field's value.

func (*Finding) SetTitle Uses

func (s *Finding) SetTitle(v string) *Finding

SetTitle sets the Title field's value.

func (*Finding) SetType Uses

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

SetType sets the Type field's value.

func (*Finding) SetUpdatedAt Uses

func (s *Finding) SetUpdatedAt(v string) *Finding

SetUpdatedAt sets the UpdatedAt field's value.

func (Finding) String Uses

func (s Finding) String() string

String returns the string representation

type FindingCriteria Uses

type FindingCriteria struct {

    // Represents a map of finding properties that match specified conditions and
    // values when querying findings.
    Criterion map[string]*Condition `locationName:"criterion" type:"map"`
    // contains filtered or unexported fields
}

Contains finding criteria information.

func (FindingCriteria) GoString Uses

func (s FindingCriteria) GoString() string

GoString returns the string representation

func (*FindingCriteria) SetCriterion Uses

func (s *FindingCriteria) SetCriterion(v map[string]*Condition) *FindingCriteria

SetCriterion sets the Criterion field's value.

func (FindingCriteria) String Uses

func (s FindingCriteria) String() string

String returns the string representation

type FindingStatistics Uses

type FindingStatistics struct {

    // Represents a map of severity to count statistic for a set of findings
    CountBySeverity map[string]*int64 `locationName:"countBySeverity" type:"map"`
    // contains filtered or unexported fields
}

Contains information about finding statistics.

func (FindingStatistics) GoString Uses

func (s FindingStatistics) GoString() string

GoString returns the string representation

func (*FindingStatistics) SetCountBySeverity Uses

func (s *FindingStatistics) SetCountBySeverity(v map[string]*int64) *FindingStatistics

SetCountBySeverity sets the CountBySeverity field's value.

func (FindingStatistics) String Uses

func (s FindingStatistics) String() string

String returns the string representation

type GeoLocation Uses

type GeoLocation struct {

    // Latitude information of remote IP address.
    Lat *float64 `locationName:"lat" type:"double"`

    // Longitude information of remote IP address.
    Lon *float64 `locationName:"lon" type:"double"`
    // contains filtered or unexported fields
}

Contains information about the

func (GeoLocation) GoString Uses

func (s GeoLocation) GoString() string

GoString returns the string representation

func (*GeoLocation) SetLat Uses

func (s *GeoLocation) SetLat(v float64) *GeoLocation

SetLat sets the Lat field's value.

func (*GeoLocation) SetLon Uses

func (s *GeoLocation) SetLon(v float64) *GeoLocation

SetLon sets the Lon field's value.

func (GeoLocation) String Uses

func (s GeoLocation) String() string

String returns the string representation

type GetDetectorInput Uses

type GetDetectorInput struct {

    // The unique ID of the detector that you want to get.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetDetectorInput) GoString Uses

func (s GetDetectorInput) GoString() string

GoString returns the string representation

func (*GetDetectorInput) SetDetectorId Uses

func (s *GetDetectorInput) SetDetectorId(v string) *GetDetectorInput

SetDetectorId sets the DetectorId field's value.

func (GetDetectorInput) String Uses

func (s GetDetectorInput) String() string

String returns the string representation

func (*GetDetectorInput) Validate Uses

func (s *GetDetectorInput) Validate() error

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

type GetDetectorOutput Uses

type GetDetectorOutput struct {

    // Detector creation timestamp.
    CreatedAt *string `locationName:"createdAt" type:"string"`

    // Finding publishing frequency.
    FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"`

    // The GuardDuty service role.
    //
    // ServiceRole is a required field
    ServiceRole *string `locationName:"serviceRole" type:"string" required:"true"`

    // The detector status.
    //
    // Status is a required field
    Status *string `locationName:"status" min:"1" type:"string" required:"true" enum:"DetectorStatus"`

    // The tags of the detector resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`

    // Detector last update timestamp.
    UpdatedAt *string `locationName:"updatedAt" type:"string"`
    // contains filtered or unexported fields
}

func (GetDetectorOutput) GoString Uses

func (s GetDetectorOutput) GoString() string

GoString returns the string representation

func (*GetDetectorOutput) SetCreatedAt Uses

func (s *GetDetectorOutput) SetCreatedAt(v string) *GetDetectorOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetDetectorOutput) SetFindingPublishingFrequency Uses

func (s *GetDetectorOutput) SetFindingPublishingFrequency(v string) *GetDetectorOutput

SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value.

func (*GetDetectorOutput) SetServiceRole Uses

func (s *GetDetectorOutput) SetServiceRole(v string) *GetDetectorOutput

SetServiceRole sets the ServiceRole field's value.

func (*GetDetectorOutput) SetStatus Uses

func (s *GetDetectorOutput) SetStatus(v string) *GetDetectorOutput

SetStatus sets the Status field's value.

func (*GetDetectorOutput) SetTags Uses

func (s *GetDetectorOutput) SetTags(v map[string]*string) *GetDetectorOutput

SetTags sets the Tags field's value.

func (*GetDetectorOutput) SetUpdatedAt Uses

func (s *GetDetectorOutput) SetUpdatedAt(v string) *GetDetectorOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (GetDetectorOutput) String Uses

func (s GetDetectorOutput) String() string

String returns the string representation

type GetFilterInput Uses

type GetFilterInput struct {

    // The unique ID of the detector the filter is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The name of the filter you want to get.
    //
    // FilterName is a required field
    FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetFilterInput) GoString Uses

func (s GetFilterInput) GoString() string

GoString returns the string representation

func (*GetFilterInput) SetDetectorId Uses

func (s *GetFilterInput) SetDetectorId(v string) *GetFilterInput

SetDetectorId sets the DetectorId field's value.

func (*GetFilterInput) SetFilterName Uses

func (s *GetFilterInput) SetFilterName(v string) *GetFilterInput

SetFilterName sets the FilterName field's value.

func (GetFilterInput) String Uses

func (s GetFilterInput) String() string

String returns the string representation

func (*GetFilterInput) Validate Uses

func (s *GetFilterInput) Validate() error

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

type GetFilterOutput Uses

type GetFilterOutput struct {

    // Specifies the action that is to be applied to the findings that match the
    // filter.
    //
    // Action is a required field
    Action *string `locationName:"action" min:"1" type:"string" required:"true" enum:"FilterAction"`

    // The description of the filter.
    Description *string `locationName:"description" type:"string"`

    // Represents the criteria to be used in the filter for querying findings.
    //
    // FindingCriteria is a required field
    FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"`

    // The name of the filter.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"3" type:"string" required:"true"`

    // Specifies the position of the filter in the list of current filters. Also
    // specifies the order in which this filter is applied to the findings.
    Rank *int64 `locationName:"rank" min:"1" type:"integer"`

    // The tags of the filter resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (GetFilterOutput) GoString Uses

func (s GetFilterOutput) GoString() string

GoString returns the string representation

func (*GetFilterOutput) SetAction Uses

func (s *GetFilterOutput) SetAction(v string) *GetFilterOutput

SetAction sets the Action field's value.

func (*GetFilterOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*GetFilterOutput) SetFindingCriteria Uses

func (s *GetFilterOutput) SetFindingCriteria(v *FindingCriteria) *GetFilterOutput

SetFindingCriteria sets the FindingCriteria field's value.

func (*GetFilterOutput) SetName Uses

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

SetName sets the Name field's value.

func (*GetFilterOutput) SetRank Uses

func (s *GetFilterOutput) SetRank(v int64) *GetFilterOutput

SetRank sets the Rank field's value.

func (*GetFilterOutput) SetTags Uses

func (s *GetFilterOutput) SetTags(v map[string]*string) *GetFilterOutput

SetTags sets the Tags field's value.

func (GetFilterOutput) String Uses

func (s GetFilterOutput) String() string

String returns the string representation

type GetFindingsInput Uses

type GetFindingsInput struct {

    // The ID of the detector that specifies the GuardDuty service whose findings
    // you want to retrieve.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // IDs of the findings that you want to retrieve.
    //
    // FindingIds is a required field
    FindingIds []*string `locationName:"findingIds" type:"list" required:"true"`

    // Represents the criteria used for sorting findings.
    SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
    // contains filtered or unexported fields
}

func (GetFindingsInput) GoString Uses

func (s GetFindingsInput) GoString() string

GoString returns the string representation

func (*GetFindingsInput) SetDetectorId Uses

func (s *GetFindingsInput) SetDetectorId(v string) *GetFindingsInput

SetDetectorId sets the DetectorId field's value.

func (*GetFindingsInput) SetFindingIds Uses

func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput

SetFindingIds sets the FindingIds field's value.

func (*GetFindingsInput) SetSortCriteria Uses

func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput

SetSortCriteria sets the SortCriteria field's value.

func (GetFindingsInput) String Uses

func (s GetFindingsInput) String() string

String returns the string representation

func (*GetFindingsInput) Validate Uses

func (s *GetFindingsInput) Validate() error

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

type GetFindingsOutput Uses

type GetFindingsOutput struct {

    // A list of findings.
    //
    // Findings is a required field
    Findings []*Finding `locationName:"findings" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (GetFindingsOutput) GoString Uses

func (s GetFindingsOutput) GoString() string

GoString returns the string representation

func (*GetFindingsOutput) SetFindings Uses

func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput

SetFindings sets the Findings field's value.

func (GetFindingsOutput) String Uses

func (s GetFindingsOutput) String() string

String returns the string representation

type GetFindingsStatisticsInput Uses

type GetFindingsStatisticsInput struct {

    // The ID of the detector that specifies the GuardDuty service whose findings'
    // statistics you want to retrieve.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // Represents the criteria used for querying findings.
    FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`

    // Types of finding statistics to retrieve.
    //
    // FindingStatisticTypes is a required field
    FindingStatisticTypes []*string `locationName:"findingStatisticTypes" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (GetFindingsStatisticsInput) GoString Uses

func (s GetFindingsStatisticsInput) GoString() string

GoString returns the string representation

func (*GetFindingsStatisticsInput) SetDetectorId Uses

func (s *GetFindingsStatisticsInput) SetDetectorId(v string) *GetFindingsStatisticsInput

SetDetectorId sets the DetectorId field's value.

func (*GetFindingsStatisticsInput) SetFindingCriteria Uses

func (s *GetFindingsStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingsStatisticsInput

SetFindingCriteria sets the FindingCriteria field's value.

func (*GetFindingsStatisticsInput) SetFindingStatisticTypes Uses

func (s *GetFindingsStatisticsInput) SetFindingStatisticTypes(v []*string) *GetFindingsStatisticsInput

SetFindingStatisticTypes sets the FindingStatisticTypes field's value.

func (GetFindingsStatisticsInput) String Uses

func (s GetFindingsStatisticsInput) String() string

String returns the string representation

func (*GetFindingsStatisticsInput) Validate Uses

func (s *GetFindingsStatisticsInput) Validate() error

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

type GetFindingsStatisticsOutput Uses

type GetFindingsStatisticsOutput struct {

    // Finding statistics object.
    //
    // FindingStatistics is a required field
    FindingStatistics *FindingStatistics `locationName:"findingStatistics" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetFindingsStatisticsOutput) GoString Uses

func (s GetFindingsStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetFindingsStatisticsOutput) SetFindingStatistics Uses

func (s *GetFindingsStatisticsOutput) SetFindingStatistics(v *FindingStatistics) *GetFindingsStatisticsOutput

SetFindingStatistics sets the FindingStatistics field's value.

func (GetFindingsStatisticsOutput) String Uses

func (s GetFindingsStatisticsOutput) String() string

String returns the string representation

type GetIPSetInput Uses

type GetIPSetInput struct {

    // The unique ID of the detector the ipSet is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The unique ID of the ipSet you want to get.
    //
    // IpSetId is a required field
    IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetIPSetInput) GoString Uses

func (s GetIPSetInput) GoString() string

GoString returns the string representation

func (*GetIPSetInput) SetDetectorId Uses

func (s *GetIPSetInput) SetDetectorId(v string) *GetIPSetInput

SetDetectorId sets the DetectorId field's value.

func (*GetIPSetInput) SetIpSetId Uses

func (s *GetIPSetInput) SetIpSetId(v string) *GetIPSetInput

SetIpSetId sets the IpSetId field's value.

func (GetIPSetInput) String Uses

func (s GetIPSetInput) String() string

String returns the string representation

func (*GetIPSetInput) Validate Uses

func (s *GetIPSetInput) Validate() error

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

type GetIPSetOutput Uses

type GetIPSetOutput struct {

    // The format of the file that contains the IPSet.
    //
    // Format is a required field
    Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"IpSetFormat"`

    // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
    //
    // Location is a required field
    Location *string `locationName:"location" min:"1" type:"string" required:"true"`

    // The user friendly name to identify the IPSet. This name is displayed in all
    // findings that are triggered by activity that involves IP addresses included
    // in this IPSet.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The status of ipSet file uploaded.
    //
    // Status is a required field
    Status *string `locationName:"status" min:"1" type:"string" required:"true" enum:"IpSetStatus"`

    // The tags of the IP set resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (GetIPSetOutput) GoString Uses

func (s GetIPSetOutput) GoString() string

GoString returns the string representation

func (*GetIPSetOutput) SetFormat Uses

func (s *GetIPSetOutput) SetFormat(v string) *GetIPSetOutput

SetFormat sets the Format field's value.

func (*GetIPSetOutput) SetLocation Uses

func (s *GetIPSetOutput) SetLocation(v string) *GetIPSetOutput

SetLocation sets the Location field's value.

func (*GetIPSetOutput) SetName Uses

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

SetName sets the Name field's value.

func (*GetIPSetOutput) SetStatus Uses

func (s *GetIPSetOutput) SetStatus(v string) *GetIPSetOutput

SetStatus sets the Status field's value.

func (*GetIPSetOutput) SetTags Uses

func (s *GetIPSetOutput) SetTags(v map[string]*string) *GetIPSetOutput

SetTags sets the Tags field's value.

func (GetIPSetOutput) String Uses

func (s GetIPSetOutput) String() string

String returns the string representation

type GetInvitationsCountInput Uses

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

func (GetInvitationsCountInput) GoString Uses

func (s GetInvitationsCountInput) GoString() string

GoString returns the string representation

func (GetInvitationsCountInput) String Uses

func (s GetInvitationsCountInput) String() string

String returns the string representation

type GetInvitationsCountOutput Uses

type GetInvitationsCountOutput struct {

    // The number of received invitations.
    InvitationsCount *int64 `locationName:"invitationsCount" type:"integer"`
    // contains filtered or unexported fields
}

func (GetInvitationsCountOutput) GoString Uses

func (s GetInvitationsCountOutput) GoString() string

GoString returns the string representation

func (*GetInvitationsCountOutput) SetInvitationsCount Uses

func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput

SetInvitationsCount sets the InvitationsCount field's value.

func (GetInvitationsCountOutput) String Uses

func (s GetInvitationsCountOutput) String() string

String returns the string representation

type GetMasterAccountInput Uses

type GetMasterAccountInput struct {

    // The unique ID of the detector of the GuardDuty member account.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMasterAccountInput) GoString Uses

func (s GetMasterAccountInput) GoString() string

GoString returns the string representation

func (*GetMasterAccountInput) SetDetectorId Uses

func (s *GetMasterAccountInput) SetDetectorId(v string) *GetMasterAccountInput

SetDetectorId sets the DetectorId field's value.

func (GetMasterAccountInput) String Uses

func (s GetMasterAccountInput) String() string

String returns the string representation

func (*GetMasterAccountInput) Validate Uses

func (s *GetMasterAccountInput) Validate() error

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

type GetMasterAccountOutput Uses

type GetMasterAccountOutput struct {

    // Master account details.
    //
    // Master is a required field
    Master *Master `locationName:"master" type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetMasterAccountOutput) GoString Uses

func (s GetMasterAccountOutput) GoString() string

GoString returns the string representation

func (*GetMasterAccountOutput) SetMaster Uses

func (s *GetMasterAccountOutput) SetMaster(v *Master) *GetMasterAccountOutput

SetMaster sets the Master field's value.

func (GetMasterAccountOutput) String Uses

func (s GetMasterAccountOutput) String() string

String returns the string representation

type GetMembersInput Uses

type GetMembersInput struct {

    // A list of account IDs of the GuardDuty member accounts that you want to describe.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`

    // The unique ID of the detector of the GuardDuty account whose members you
    // want to retrieve.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetMembersInput) GoString Uses

func (s GetMembersInput) GoString() string

GoString returns the string representation

func (*GetMembersInput) SetAccountIds Uses

func (s *GetMembersInput) SetAccountIds(v []*string) *GetMembersInput

SetAccountIds sets the AccountIds field's value.

func (*GetMembersInput) SetDetectorId Uses

func (s *GetMembersInput) SetDetectorId(v string) *GetMembersInput

SetDetectorId sets the DetectorId field's value.

func (GetMembersInput) String Uses

func (s GetMembersInput) String() string

String returns the string representation

func (*GetMembersInput) Validate Uses

func (s *GetMembersInput) Validate() error

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

type GetMembersOutput Uses

type GetMembersOutput struct {

    // A list of members.
    //
    // Members is a required field
    Members []*Member `locationName:"members" type:"list" required:"true"`

    // A list of objects containing the unprocessed account and a result string
    // explaining why it was unprocessed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (GetMembersOutput) GoString Uses

func (s GetMembersOutput) GoString() string

GoString returns the string representation

func (*GetMembersOutput) SetMembers Uses

func (s *GetMembersOutput) SetMembers(v []*Member) *GetMembersOutput

SetMembers sets the Members field's value.

func (*GetMembersOutput) SetUnprocessedAccounts Uses

func (s *GetMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *GetMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (GetMembersOutput) String Uses

func (s GetMembersOutput) String() string

String returns the string representation

type GetThreatIntelSetInput Uses

type GetThreatIntelSetInput struct {

    // The unique ID of the detector the threatIntelSet is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // The unique ID of the threatIntelSet you want to get.
    //
    // ThreatIntelSetId is a required field
    ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetThreatIntelSetInput) GoString Uses

func (s GetThreatIntelSetInput) GoString() string

GoString returns the string representation

func (*GetThreatIntelSetInput) SetDetectorId Uses

func (s *GetThreatIntelSetInput) SetDetectorId(v string) *GetThreatIntelSetInput

SetDetectorId sets the DetectorId field's value.

func (*GetThreatIntelSetInput) SetThreatIntelSetId Uses

func (s *GetThreatIntelSetInput) SetThreatIntelSetId(v string) *GetThreatIntelSetInput

SetThreatIntelSetId sets the ThreatIntelSetId field's value.

func (GetThreatIntelSetInput) String Uses

func (s GetThreatIntelSetInput) String() string

String returns the string representation

func (*GetThreatIntelSetInput) Validate Uses

func (s *GetThreatIntelSetInput) Validate() error

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

type GetThreatIntelSetOutput Uses

type GetThreatIntelSetOutput struct {

    // The format of the threatIntelSet.
    //
    // Format is a required field
    Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"ThreatIntelSetFormat"`

    // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
    //
    // Location is a required field
    Location *string `locationName:"location" min:"1" type:"string" required:"true"`

    // A user-friendly ThreatIntelSet name that is displayed in all finding generated
    // by activity that involves IP addresses included in this ThreatIntelSet.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The status of threatIntelSet file uploaded.
    //
    // Status is a required field
    Status *string `locationName:"status" min:"1" type:"string" required:"true" enum:"ThreatIntelSetStatus"`

    // The tags of the Threat List resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (GetThreatIntelSetOutput) GoString Uses

func (s GetThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (*GetThreatIntelSetOutput) SetFormat Uses

func (s *GetThreatIntelSetOutput) SetFormat(v string) *GetThreatIntelSetOutput

SetFormat sets the Format field's value.

func (*GetThreatIntelSetOutput) SetLocation Uses

func (s *GetThreatIntelSetOutput) SetLocation(v string) *GetThreatIntelSetOutput

SetLocation sets the Location field's value.

func (*GetThreatIntelSetOutput) SetName Uses

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

SetName sets the Name field's value.

func (*GetThreatIntelSetOutput) SetStatus Uses

func (s *GetThreatIntelSetOutput) SetStatus(v string) *GetThreatIntelSetOutput

SetStatus sets the Status field's value.

func (*GetThreatIntelSetOutput) SetTags Uses

func (s *GetThreatIntelSetOutput) SetTags(v map[string]*string) *GetThreatIntelSetOutput

SetTags sets the Tags field's value.

func (GetThreatIntelSetOutput) String Uses

func (s GetThreatIntelSetOutput) String() string

String returns the string representation

type GuardDuty Uses

type GuardDuty struct {
    *client.Client
}

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

GuardDuty 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) *GuardDuty

New creates a new instance of the GuardDuty 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 GuardDuty client from just a session.
svc := guardduty.New(mySession)

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

func (*GuardDuty) AcceptInvitation Uses

func (c *GuardDuty) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error)

AcceptInvitation API operation for Amazon GuardDuty.

Accepts the invitation to be monitored by a master GuardDuty 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 Amazon GuardDuty's API operation AcceptInvitation for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation

func (*GuardDuty) AcceptInvitationRequest Uses

func (c *GuardDuty) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput)

AcceptInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptInvitation 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 AcceptInvitation for more information on using the AcceptInvitation 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 AcceptInvitationRequest method.
req, resp := client.AcceptInvitationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation

func (*GuardDuty) AcceptInvitationWithContext Uses

func (c *GuardDuty) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error)

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

See AcceptInvitation 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 (*GuardDuty) ArchiveFindings Uses

func (c *GuardDuty) ArchiveFindings(input *ArchiveFindingsInput) (*ArchiveFindingsOutput, error)

ArchiveFindings API operation for Amazon GuardDuty.

Archives GuardDuty findings specified by the list of finding IDs.

Only the master account can archive findings. Member accounts do not have permission to archive findings from their 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 Amazon GuardDuty's API operation ArchiveFindings for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings

func (*GuardDuty) ArchiveFindingsRequest Uses

func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *request.Request, output *ArchiveFindingsOutput)

ArchiveFindingsRequest generates a "aws/request.Request" representing the client's request for the ArchiveFindings 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 ArchiveFindings for more information on using the ArchiveFindings 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 ArchiveFindingsRequest method.
req, resp := client.ArchiveFindingsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings

func (*GuardDuty) ArchiveFindingsWithContext Uses

func (c *GuardDuty) ArchiveFindingsWithContext(ctx aws.Context, input *ArchiveFindingsInput, opts ...request.Option) (*ArchiveFindingsOutput, error)

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

See ArchiveFindings 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 (*GuardDuty) CreateDetector Uses

func (c *GuardDuty) CreateDetector(input *CreateDetectorInput) (*CreateDetectorOutput, error)

CreateDetector API operation for Amazon GuardDuty.

Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each region that you enable the service. You can have only one detector per account per 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 Amazon GuardDuty's API operation CreateDetector for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector

func (*GuardDuty) CreateDetectorRequest Uses

func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *request.Request, output *CreateDetectorOutput)

CreateDetectorRequest generates a "aws/request.Request" representing the client's request for the CreateDetector 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 CreateDetector for more information on using the CreateDetector 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 CreateDetectorRequest method.
req, resp := client.CreateDetectorRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector

func (*GuardDuty) CreateDetectorWithContext Uses

func (c *GuardDuty) CreateDetectorWithContext(ctx aws.Context, input *CreateDetectorInput, opts ...request.Option) (*CreateDetectorOutput, error)

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

See CreateDetector 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 (*GuardDuty) CreateFilter Uses

func (c *GuardDuty) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error)

CreateFilter API operation for Amazon GuardDuty.

Creates a filter using the specified finding criteria.

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 Amazon GuardDuty's API operation CreateFilter for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilter

func (*GuardDuty) CreateFilterRequest Uses

func (c *GuardDuty) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput)

CreateFilterRequest generates a "aws/request.Request" representing the client's request for the CreateFilter 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 CreateFilter for more information on using the CreateFilter 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 CreateFilterRequest method.
req, resp := client.CreateFilterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilter

func (*GuardDuty) CreateFilterWithContext Uses

func (c *GuardDuty) CreateFilterWithContext(ctx aws.Context, input *CreateFilterInput, opts ...request.Option) (*CreateFilterOutput, error)

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

See CreateFilter 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 (*GuardDuty) CreateIPSet Uses

func (c *GuardDuty) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error)

CreateIPSet API operation for Amazon GuardDuty.

Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with AWS infrastructure and applications.

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 Amazon GuardDuty's API operation CreateIPSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet

func (*GuardDuty) CreateIPSetRequest Uses

func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput)

CreateIPSetRequest generates a "aws/request.Request" representing the client's request for the CreateIPSet 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 CreateIPSet for more information on using the CreateIPSet 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 CreateIPSetRequest method.
req, resp := client.CreateIPSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet

func (*GuardDuty) CreateIPSetWithContext Uses

func (c *GuardDuty) CreateIPSetWithContext(ctx aws.Context, input *CreateIPSetInput, opts ...request.Option) (*CreateIPSetOutput, error)

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

See CreateIPSet 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 (*GuardDuty) CreateMembers Uses

func (c *GuardDuty) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error)

CreateMembers API operation for Amazon GuardDuty.

Creates member accounts of the current AWS account by specifying a list of AWS account IDs. The current AWS account can then invite these members to manage GuardDuty in their 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 Amazon GuardDuty's API operation CreateMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers

func (*GuardDuty) CreateMembersRequest Uses

func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput)

CreateMembersRequest generates a "aws/request.Request" representing the client's request for the CreateMembers 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 CreateMembers for more information on using the CreateMembers 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 CreateMembersRequest method.
req, resp := client.CreateMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers

func (*GuardDuty) CreateMembersWithContext Uses

func (c *GuardDuty) CreateMembersWithContext(ctx aws.Context, input *CreateMembersInput, opts ...request.Option) (*CreateMembersOutput, error)

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

See CreateMembers 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 (*GuardDuty) CreateSampleFindings Uses

func (c *GuardDuty) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error)

CreateSampleFindings API operation for Amazon GuardDuty.

Generates example findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes, the API generates example findings of all supported finding types.

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 Amazon GuardDuty's API operation CreateSampleFindings for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings

func (*GuardDuty) CreateSampleFindingsRequest Uses

func (c *GuardDuty) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput)

CreateSampleFindingsRequest generates a "aws/request.Request" representing the client's request for the CreateSampleFindings 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 CreateSampleFindings for more information on using the CreateSampleFindings 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 CreateSampleFindingsRequest method.
req, resp := client.CreateSampleFindingsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings

func (*GuardDuty) CreateSampleFindingsWithContext Uses

func (c *GuardDuty) CreateSampleFindingsWithContext(ctx aws.Context, input *CreateSampleFindingsInput, opts ...request.Option) (*CreateSampleFindingsOutput, error)

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

See CreateSampleFindings 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 (*GuardDuty) CreateThreatIntelSet Uses

func (c *GuardDuty) CreateThreatIntelSet(input *CreateThreatIntelSetInput) (*CreateThreatIntelSetOutput, error)

CreateThreatIntelSet API operation for Amazon GuardDuty.

Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets.

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 Amazon GuardDuty's API operation CreateThreatIntelSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet

func (*GuardDuty) CreateThreatIntelSetRequest Uses

func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) (req *request.Request, output *CreateThreatIntelSetOutput)

CreateThreatIntelSetRequest generates a "aws/request.Request" representing the client's request for the CreateThreatIntelSet 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 CreateThreatIntelSet for more information on using the CreateThreatIntelSet 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 CreateThreatIntelSetRequest method.
req, resp := client.CreateThreatIntelSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet

func (*GuardDuty) CreateThreatIntelSetWithContext Uses

func (c *GuardDuty) CreateThreatIntelSetWithContext(ctx aws.Context, input *CreateThreatIntelSetInput, opts ...request.Option) (*CreateThreatIntelSetOutput, error)

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

See CreateThreatIntelSet 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 (*GuardDuty) DeclineInvitations Uses

func (c *GuardDuty) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error)

DeclineInvitations API operation for Amazon GuardDuty.

Declines invitations sent to the current member account by AWS account specified by their account IDs.

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 Amazon GuardDuty's API operation DeclineInvitations for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations

func (*GuardDuty) DeclineInvitationsRequest Uses

func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput)

DeclineInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeclineInvitations 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 DeclineInvitations for more information on using the DeclineInvitations 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 DeclineInvitationsRequest method.
req, resp := client.DeclineInvitationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations

func (*GuardDuty) DeclineInvitationsWithContext Uses

func (c *GuardDuty) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error)

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

See DeclineInvitations 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 (*GuardDuty) DeleteDetector Uses

func (c *GuardDuty) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error)

DeleteDetector API operation for Amazon GuardDuty.

Deletes a Amazon GuardDuty detector specified by the detector 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 Amazon GuardDuty's API operation DeleteDetector for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector

func (*GuardDuty) DeleteDetectorRequest Uses

func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput)

DeleteDetectorRequest generates a "aws/request.Request" representing the client's request for the DeleteDetector 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 DeleteDetector for more information on using the DeleteDetector 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 DeleteDetectorRequest method.
req, resp := client.DeleteDetectorRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector

func (*GuardDuty) DeleteDetectorWithContext Uses

func (c *GuardDuty) DeleteDetectorWithContext(ctx aws.Context, input *DeleteDetectorInput, opts ...request.Option) (*DeleteDetectorOutput, error)

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

See DeleteDetector 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 (*GuardDuty) DeleteFilter Uses

func (c *GuardDuty) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error)

DeleteFilter API operation for Amazon GuardDuty.

Deletes the filter specified by the filter name.

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 Amazon GuardDuty's API operation DeleteFilter for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilter

func (*GuardDuty) DeleteFilterRequest Uses

func (c *GuardDuty) DeleteFilterRequest(input *DeleteFilterInput) (req *request.Request, output *DeleteFilterOutput)

DeleteFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteFilter 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 DeleteFilter for more information on using the DeleteFilter 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 DeleteFilterRequest method.
req, resp := client.DeleteFilterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilter

func (*GuardDuty) DeleteFilterWithContext Uses

func (c *GuardDuty) DeleteFilterWithContext(ctx aws.Context, input *DeleteFilterInput, opts ...request.Option) (*DeleteFilterOutput, error)

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

See DeleteFilter 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 (*GuardDuty) DeleteIPSet Uses

func (c *GuardDuty) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error)

DeleteIPSet API operation for Amazon GuardDuty.

Deletes the IPSet specified by the IPSet 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 Amazon GuardDuty's API operation DeleteIPSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet

func (*GuardDuty) DeleteIPSetRequest Uses

func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput)

DeleteIPSetRequest generates a "aws/request.Request" representing the client's request for the DeleteIPSet 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 DeleteIPSet for more information on using the DeleteIPSet 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 DeleteIPSetRequest method.
req, resp := client.DeleteIPSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet

func (*GuardDuty) DeleteIPSetWithContext Uses

func (c *GuardDuty) DeleteIPSetWithContext(ctx aws.Context, input *DeleteIPSetInput, opts ...request.Option) (*DeleteIPSetOutput, error)

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

See DeleteIPSet 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 (*GuardDuty) DeleteInvitations Uses

func (c *GuardDuty) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error)

DeleteInvitations API operation for Amazon GuardDuty.

Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.

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 Amazon GuardDuty's API operation DeleteInvitations for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations

func (*GuardDuty) DeleteInvitationsRequest Uses

func (c *GuardDuty) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput)

DeleteInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeleteInvitations 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 DeleteInvitations for more information on using the DeleteInvitations 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 DeleteInvitationsRequest method.
req, resp := client.DeleteInvitationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations

func (*GuardDuty) DeleteInvitationsWithContext Uses

func (c *GuardDuty) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error)

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

See DeleteInvitations 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 (*GuardDuty) DeleteMembers Uses

func (c *GuardDuty) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error)

DeleteMembers API operation for Amazon GuardDuty.

Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.

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 Amazon GuardDuty's API operation DeleteMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers

func (*GuardDuty) DeleteMembersRequest Uses

func (c *GuardDuty) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput)

DeleteMembersRequest generates a "aws/request.Request" representing the client's request for the DeleteMembers 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 DeleteMembers for more information on using the DeleteMembers 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 DeleteMembersRequest method.
req, resp := client.DeleteMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers

func (*GuardDuty) DeleteMembersWithContext Uses

func (c *GuardDuty) DeleteMembersWithContext(ctx aws.Context, input *DeleteMembersInput, opts ...request.Option) (*DeleteMembersOutput, error)

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

See DeleteMembers 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 (*GuardDuty) DeleteThreatIntelSet Uses

func (c *GuardDuty) DeleteThreatIntelSet(input *DeleteThreatIntelSetInput) (*DeleteThreatIntelSetOutput, error)

DeleteThreatIntelSet API operation for Amazon GuardDuty.

Deletes ThreatIntelSet specified by the ThreatIntelSet 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 Amazon GuardDuty's API operation DeleteThreatIntelSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet

func (*GuardDuty) DeleteThreatIntelSetRequest Uses

func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) (req *request.Request, output *DeleteThreatIntelSetOutput)

DeleteThreatIntelSetRequest generates a "aws/request.Request" representing the client's request for the DeleteThreatIntelSet 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 DeleteThreatIntelSet for more information on using the DeleteThreatIntelSet 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 DeleteThreatIntelSetRequest method.
req, resp := client.DeleteThreatIntelSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet

func (*GuardDuty) DeleteThreatIntelSetWithContext Uses

func (c *GuardDuty) DeleteThreatIntelSetWithContext(ctx aws.Context, input *DeleteThreatIntelSetInput, opts ...request.Option) (*DeleteThreatIntelSetOutput, error)

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

See DeleteThreatIntelSet 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 (*GuardDuty) DisassociateFromMasterAccount Uses

func (c *GuardDuty) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error)

DisassociateFromMasterAccount API operation for Amazon GuardDuty.

Disassociates the current GuardDuty member account from its master 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 Amazon GuardDuty's API operation DisassociateFromMasterAccount for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount

func (*GuardDuty) DisassociateFromMasterAccountRequest Uses

func (c *GuardDuty) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput)

DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateFromMasterAccount 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 DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount 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 DisassociateFromMasterAccountRequest method.
req, resp := client.DisassociateFromMasterAccountRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount

func (*GuardDuty) DisassociateFromMasterAccountWithContext Uses

func (c *GuardDuty) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error)

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

See DisassociateFromMasterAccount 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 (*GuardDuty) DisassociateMembers Uses

func (c *GuardDuty) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error)

DisassociateMembers API operation for Amazon GuardDuty.

Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.

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 Amazon GuardDuty's API operation DisassociateMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers

func (*GuardDuty) DisassociateMembersRequest Uses

func (c *GuardDuty) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput)

DisassociateMembersRequest generates a "aws/request.Request" representing the client's request for the DisassociateMembers 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 DisassociateMembers for more information on using the DisassociateMembers 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 DisassociateMembersRequest method.
req, resp := client.DisassociateMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers

func (*GuardDuty) DisassociateMembersWithContext Uses

func (c *GuardDuty) DisassociateMembersWithContext(ctx aws.Context, input *DisassociateMembersInput, opts ...request.Option) (*DisassociateMembersOutput, error)

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

See DisassociateMembers 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 (*GuardDuty) GetDetector Uses

func (c *GuardDuty) GetDetector(input *GetDetectorInput) (*GetDetectorOutput, error)

GetDetector API operation for Amazon GuardDuty.

Retrieves an Amazon GuardDuty detector specified by the detectorId.

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 Amazon GuardDuty's API operation GetDetector for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector

func (*GuardDuty) GetDetectorRequest Uses

func (c *GuardDuty) GetDetectorRequest(input *GetDetectorInput) (req *request.Request, output *GetDetectorOutput)

GetDetectorRequest generates a "aws/request.Request" representing the client's request for the GetDetector 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 GetDetector for more information on using the GetDetector 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 GetDetectorRequest method.
req, resp := client.GetDetectorRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector

func (*GuardDuty) GetDetectorWithContext Uses

func (c *GuardDuty) GetDetectorWithContext(ctx aws.Context, input *GetDetectorInput, opts ...request.Option) (*GetDetectorOutput, error)

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

See GetDetector 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 (*GuardDuty) GetFilter Uses

func (c *GuardDuty) GetFilter(input *GetFilterInput) (*GetFilterOutput, error)

GetFilter API operation for Amazon GuardDuty.

Returns the details of the filter specified by the filter name.

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 Amazon GuardDuty's API operation GetFilter for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilter

func (*GuardDuty) GetFilterRequest Uses

func (c *GuardDuty) GetFilterRequest(input *GetFilterInput) (req *request.Request, output *GetFilterOutput)

GetFilterRequest generates a "aws/request.Request" representing the client's request for the GetFilter 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 GetFilter for more information on using the GetFilter 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 GetFilterRequest method.
req, resp := client.GetFilterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilter

func (*GuardDuty) GetFilterWithContext Uses

func (c *GuardDuty) GetFilterWithContext(ctx aws.Context, input *GetFilterInput, opts ...request.Option) (*GetFilterOutput, error)

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

See GetFilter 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 (*GuardDuty) GetFindings Uses

func (c *GuardDuty) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error)

GetFindings API operation for Amazon GuardDuty.

Describes Amazon GuardDuty findings specified by finding IDs.

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 Amazon GuardDuty's API operation GetFindings for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings

func (*GuardDuty) GetFindingsRequest Uses

func (c *GuardDuty) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput)

GetFindingsRequest generates a "aws/request.Request" representing the client's request for the GetFindings 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 GetFindings for more information on using the GetFindings 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 GetFindingsRequest method.
req, resp := client.GetFindingsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings

func (*GuardDuty) GetFindingsStatistics Uses

func (c *GuardDuty) GetFindingsStatistics(input *GetFindingsStatisticsInput) (*GetFindingsStatisticsOutput, error)

GetFindingsStatistics API operation for Amazon GuardDuty.

Lists Amazon GuardDuty findings' statistics for the specified detector 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 Amazon GuardDuty's API operation GetFindingsStatistics for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics

func (*GuardDuty) GetFindingsStatisticsRequest Uses

func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInput) (req *request.Request, output *GetFindingsStatisticsOutput)

GetFindingsStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetFindingsStatistics 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 GetFindingsStatistics for more information on using the GetFindingsStatistics 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 GetFindingsStatisticsRequest method.
req, resp := client.GetFindingsStatisticsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics

func (*GuardDuty) GetFindingsStatisticsWithContext Uses

func (c *GuardDuty) GetFindingsStatisticsWithContext(ctx aws.Context, input *GetFindingsStatisticsInput, opts ...request.Option) (*GetFindingsStatisticsOutput, error)

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

See GetFindingsStatistics 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 (*GuardDuty) GetFindingsWithContext Uses

func (c *GuardDuty) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error)

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

See GetFindings 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 (*GuardDuty) GetIPSet Uses

func (c *GuardDuty) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error)

GetIPSet API operation for Amazon GuardDuty.

Retrieves the IPSet specified by the IPSet 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 Amazon GuardDuty's API operation GetIPSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet

func (*GuardDuty) GetIPSetRequest Uses

func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput)

GetIPSetRequest generates a "aws/request.Request" representing the client's request for the GetIPSet 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 GetIPSet for more information on using the GetIPSet 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 GetIPSetRequest method.
req, resp := client.GetIPSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet

func (*GuardDuty) GetIPSetWithContext Uses

func (c *GuardDuty) GetIPSetWithContext(ctx aws.Context, input *GetIPSetInput, opts ...request.Option) (*GetIPSetOutput, error)

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

See GetIPSet 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 (*GuardDuty) GetInvitationsCount Uses

func (c *GuardDuty) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error)

GetInvitationsCount API operation for Amazon GuardDuty.

Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.

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 Amazon GuardDuty's API operation GetInvitationsCount for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount

func (*GuardDuty) GetInvitationsCountRequest Uses

func (c *GuardDuty) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput)

GetInvitationsCountRequest generates a "aws/request.Request" representing the client's request for the GetInvitationsCount 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 GetInvitationsCount for more information on using the GetInvitationsCount 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 GetInvitationsCountRequest method.
req, resp := client.GetInvitationsCountRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount

func (*GuardDuty) GetInvitationsCountWithContext Uses

func (c *GuardDuty) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error)

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

See GetInvitationsCount 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 (*GuardDuty) GetMasterAccount Uses

func (c *GuardDuty) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error)

GetMasterAccount API operation for Amazon GuardDuty.

Provides the details for the GuardDuty master account associated with the current GuardDuty member 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 Amazon GuardDuty's API operation GetMasterAccount for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount

func (*GuardDuty) GetMasterAccountRequest Uses

func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput)

GetMasterAccountRequest generates a "aws/request.Request" representing the client's request for the GetMasterAccount 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 GetMasterAccount for more information on using the GetMasterAccount 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 GetMasterAccountRequest method.
req, resp := client.GetMasterAccountRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount

func (*GuardDuty) GetMasterAccountWithContext Uses

func (c *GuardDuty) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error)

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

See GetMasterAccount 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 (*GuardDuty) GetMembers Uses

func (c *GuardDuty) GetMembers(input *GetMembersInput) (*GetMembersOutput, error)

GetMembers API operation for Amazon GuardDuty.

Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.

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 Amazon GuardDuty's API operation GetMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers

func (*GuardDuty) GetMembersRequest Uses

func (c *GuardDuty) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput)

GetMembersRequest generates a "aws/request.Request" representing the client's request for the GetMembers 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 GetMembers for more information on using the GetMembers 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 GetMembersRequest method.
req, resp := client.GetMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers

func (*GuardDuty) GetMembersWithContext Uses

func (c *GuardDuty) GetMembersWithContext(ctx aws.Context, input *GetMembersInput, opts ...request.Option) (*GetMembersOutput, error)

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

See GetMembers 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 (*GuardDuty) GetThreatIntelSet Uses

func (c *GuardDuty) GetThreatIntelSet(input *GetThreatIntelSetInput) (*GetThreatIntelSetOutput, error)

GetThreatIntelSet API operation for Amazon GuardDuty.

Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet 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 Amazon GuardDuty's API operation GetThreatIntelSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet

func (*GuardDuty) GetThreatIntelSetRequest Uses

func (c *GuardDuty) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) (req *request.Request, output *GetThreatIntelSetOutput)

GetThreatIntelSetRequest generates a "aws/request.Request" representing the client's request for the GetThreatIntelSet 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 GetThreatIntelSet for more information on using the GetThreatIntelSet 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 GetThreatIntelSetRequest method.
req, resp := client.GetThreatIntelSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet

func (*GuardDuty) GetThreatIntelSetWithContext Uses

func (c *GuardDuty) GetThreatIntelSetWithContext(ctx aws.Context, input *GetThreatIntelSetInput, opts ...request.Option) (*GetThreatIntelSetOutput, error)

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

See GetThreatIntelSet 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 (*GuardDuty) InviteMembers Uses

func (c *GuardDuty) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error)

InviteMembers API operation for Amazon GuardDuty.

Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master 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 Amazon GuardDuty's API operation InviteMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers

func (*GuardDuty) InviteMembersRequest Uses

func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput)

InviteMembersRequest generates a "aws/request.Request" representing the client's request for the InviteMembers 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 InviteMembers for more information on using the InviteMembers 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 InviteMembersRequest method.
req, resp := client.InviteMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers

func (*GuardDuty) InviteMembersWithContext Uses

func (c *GuardDuty) InviteMembersWithContext(ctx aws.Context, input *InviteMembersInput, opts ...request.Option) (*InviteMembersOutput, error)

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

See InviteMembers 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 (*GuardDuty) ListDetectors Uses

func (c *GuardDuty) ListDetectors(input *ListDetectorsInput) (*ListDetectorsOutput, error)

ListDetectors API operation for Amazon GuardDuty.

Lists detectorIds of all the existing Amazon GuardDuty detector resources.

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 Amazon GuardDuty's API operation ListDetectors for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors

func (*GuardDuty) ListDetectorsPages Uses

func (c *GuardDuty) ListDetectorsPages(input *ListDetectorsInput, fn func(*ListDetectorsOutput, bool) bool) error

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

See ListDetectors 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 ListDetectors operation.
pageNum := 0
err := client.ListDetectorsPages(params,
    func(page *guardduty.ListDetectorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListDetectorsPagesWithContext Uses

func (c *GuardDuty) ListDetectorsPagesWithContext(ctx aws.Context, input *ListDetectorsInput, fn func(*ListDetectorsOutput, bool) bool, opts ...request.Option) error

ListDetectorsPagesWithContext same as ListDetectorsPages 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 (*GuardDuty) ListDetectorsRequest Uses

func (c *GuardDuty) ListDetectorsRequest(input *ListDetectorsInput) (req *request.Request, output *ListDetectorsOutput)

ListDetectorsRequest generates a "aws/request.Request" representing the client's request for the ListDetectors 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 ListDetectors for more information on using the ListDetectors 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 ListDetectorsRequest method.
req, resp := client.ListDetectorsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors

func (*GuardDuty) ListDetectorsWithContext Uses

func (c *GuardDuty) ListDetectorsWithContext(ctx aws.Context, input *ListDetectorsInput, opts ...request.Option) (*ListDetectorsOutput, error)

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

See ListDetectors 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 (*GuardDuty) ListFilters Uses

func (c *GuardDuty) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error)

ListFilters API operation for Amazon GuardDuty.

Returns a paginated list of the current filters.

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 Amazon GuardDuty's API operation ListFilters for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFilters

func (*GuardDuty) ListFiltersPages Uses

func (c *GuardDuty) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error

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

See ListFilters 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 ListFilters operation.
pageNum := 0
err := client.ListFiltersPages(params,
    func(page *guardduty.ListFiltersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListFiltersPagesWithContext Uses

func (c *GuardDuty) ListFiltersPagesWithContext(ctx aws.Context, input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool, opts ...request.Option) error

ListFiltersPagesWithContext same as ListFiltersPages 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 (*GuardDuty) ListFiltersRequest Uses

func (c *GuardDuty) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput)

ListFiltersRequest generates a "aws/request.Request" representing the client's request for the ListFilters 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 ListFilters for more information on using the ListFilters 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 ListFiltersRequest method.
req, resp := client.ListFiltersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFilters

func (*GuardDuty) ListFiltersWithContext Uses

func (c *GuardDuty) ListFiltersWithContext(ctx aws.Context, input *ListFiltersInput, opts ...request.Option) (*ListFiltersOutput, error)

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

See ListFilters 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 (*GuardDuty) ListFindings Uses

func (c *GuardDuty) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)

ListFindings API operation for Amazon GuardDuty.

Lists Amazon GuardDuty findings for the specified detector 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 Amazon GuardDuty's API operation ListFindings for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings

func (*GuardDuty) ListFindingsPages Uses

func (c *GuardDuty) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error

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

See ListFindings 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 ListFindings operation.
pageNum := 0
err := client.ListFindingsPages(params,
    func(page *guardduty.ListFindingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListFindingsPagesWithContext Uses

func (c *GuardDuty) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error

ListFindingsPagesWithContext same as ListFindingsPages 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 (*GuardDuty) ListFindingsRequest Uses

func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)

ListFindingsRequest generates a "aws/request.Request" representing the client's request for the ListFindings 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 ListFindings for more information on using the ListFindings 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 ListFindingsRequest method.
req, resp := client.ListFindingsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings

func (*GuardDuty) ListFindingsWithContext Uses

func (c *GuardDuty) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)

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

See ListFindings 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 (*GuardDuty) ListIPSets Uses

func (c *GuardDuty) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error)

ListIPSets API operation for Amazon GuardDuty.

Lists the IPSets of the GuardDuty service specified by the detector 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 Amazon GuardDuty's API operation ListIPSets for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets

func (*GuardDuty) ListIPSetsPages Uses

func (c *GuardDuty) ListIPSetsPages(input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool) error

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

See ListIPSets 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 ListIPSets operation.
pageNum := 0
err := client.ListIPSetsPages(params,
    func(page *guardduty.ListIPSetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListIPSetsPagesWithContext Uses

func (c *GuardDuty) ListIPSetsPagesWithContext(ctx aws.Context, input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool, opts ...request.Option) error

ListIPSetsPagesWithContext same as ListIPSetsPages 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 (*GuardDuty) ListIPSetsRequest Uses

func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput)

ListIPSetsRequest generates a "aws/request.Request" representing the client's request for the ListIPSets 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 ListIPSets for more information on using the ListIPSets 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 ListIPSetsRequest method.
req, resp := client.ListIPSetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets

func (*GuardDuty) ListIPSetsWithContext Uses

func (c *GuardDuty) ListIPSetsWithContext(ctx aws.Context, input *ListIPSetsInput, opts ...request.Option) (*ListIPSetsOutput, error)

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

See ListIPSets 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 (*GuardDuty) ListInvitations Uses

func (c *GuardDuty) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)

ListInvitations API operation for Amazon GuardDuty.

Lists all GuardDuty membership invitations that were sent to the current 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 Amazon GuardDuty's API operation ListInvitations for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations

func (*GuardDuty) ListInvitationsPages Uses

func (c *GuardDuty) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error

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

See ListInvitations 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 ListInvitations operation.
pageNum := 0
err := client.ListInvitationsPages(params,
    func(page *guardduty.ListInvitationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListInvitationsPagesWithContext Uses

func (c *GuardDuty) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error

ListInvitationsPagesWithContext same as ListInvitationsPages 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 (*GuardDuty) ListInvitationsRequest Uses

func (c *GuardDuty) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)

ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations 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 ListInvitations for more information on using the ListInvitations 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 ListInvitationsRequest method.
req, resp := client.ListInvitationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations

func (*GuardDuty) ListInvitationsWithContext Uses

func (c *GuardDuty) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)

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

See ListInvitations 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 (*GuardDuty) ListMembers Uses

func (c *GuardDuty) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for Amazon GuardDuty.

Lists details about all member accounts for the current GuardDuty master 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 Amazon GuardDuty's API operation ListMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers

func (*GuardDuty) ListMembersPages Uses

func (c *GuardDuty) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error

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

See ListMembers 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 ListMembers operation.
pageNum := 0
err := client.ListMembersPages(params,
    func(page *guardduty.ListMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListMembersPagesWithContext Uses

func (c *GuardDuty) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error

ListMembersPagesWithContext same as ListMembersPages 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 (*GuardDuty) ListMembersRequest Uses

func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers 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 ListMembers for more information on using the ListMembers 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 ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers

func (*GuardDuty) ListMembersWithContext Uses

func (c *GuardDuty) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)

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

See ListMembers 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 (*GuardDuty) ListTagsForResource Uses

func (c *GuardDuty) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon GuardDuty.

Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given 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 Amazon GuardDuty's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListTagsForResource

func (*GuardDuty) ListTagsForResourceRequest Uses

func (c *GuardDuty) 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/guardduty-2017-11-28/ListTagsForResource

func (*GuardDuty) ListTagsForResourceWithContext Uses

func (c *GuardDuty) 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 (*GuardDuty) ListThreatIntelSets Uses

func (c *GuardDuty) ListThreatIntelSets(input *ListThreatIntelSetsInput) (*ListThreatIntelSetsOutput, error)

ListThreatIntelSets API operation for Amazon GuardDuty.

Lists the ThreatIntelSets of the GuardDuty service specified by the detector 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 Amazon GuardDuty's API operation ListThreatIntelSets for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets

func (*GuardDuty) ListThreatIntelSetsPages Uses

func (c *GuardDuty) ListThreatIntelSetsPages(input *ListThreatIntelSetsInput, fn func(*ListThreatIntelSetsOutput, bool) bool) error

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

See ListThreatIntelSets 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 ListThreatIntelSets operation.
pageNum := 0
err := client.ListThreatIntelSetsPages(params,
    func(page *guardduty.ListThreatIntelSetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GuardDuty) ListThreatIntelSetsPagesWithContext Uses

func (c *GuardDuty) ListThreatIntelSetsPagesWithContext(ctx aws.Context, input *ListThreatIntelSetsInput, fn func(*ListThreatIntelSetsOutput, bool) bool, opts ...request.Option) error

ListThreatIntelSetsPagesWithContext same as ListThreatIntelSetsPages 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 (*GuardDuty) ListThreatIntelSetsRequest Uses

func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) (req *request.Request, output *ListThreatIntelSetsOutput)

ListThreatIntelSetsRequest generates a "aws/request.Request" representing the client's request for the ListThreatIntelSets 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 ListThreatIntelSets for more information on using the ListThreatIntelSets 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 ListThreatIntelSetsRequest method.
req, resp := client.ListThreatIntelSetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets

func (*GuardDuty) ListThreatIntelSetsWithContext Uses

func (c *GuardDuty) ListThreatIntelSetsWithContext(ctx aws.Context, input *ListThreatIntelSetsInput, opts ...request.Option) (*ListThreatIntelSetsOutput, error)

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

See ListThreatIntelSets 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 (*GuardDuty) StartMonitoringMembers Uses

func (c *GuardDuty) StartMonitoringMembers(input *StartMonitoringMembersInput) (*StartMonitoringMembersOutput, error)

StartMonitoringMembers API operation for Amazon GuardDuty.

Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs. A master GuardDuty account can run this command after disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers.

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 Amazon GuardDuty's API operation StartMonitoringMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers

func (*GuardDuty) StartMonitoringMembersRequest Uses

func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) (req *request.Request, output *StartMonitoringMembersOutput)

StartMonitoringMembersRequest generates a "aws/request.Request" representing the client's request for the StartMonitoringMembers 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 StartMonitoringMembers for more information on using the StartMonitoringMembers 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 StartMonitoringMembersRequest method.
req, resp := client.StartMonitoringMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers

func (*GuardDuty) StartMonitoringMembersWithContext Uses

func (c *GuardDuty) StartMonitoringMembersWithContext(ctx aws.Context, input *StartMonitoringMembersInput, opts ...request.Option) (*StartMonitoringMembersOutput, error)

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

See StartMonitoringMembers 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 (*GuardDuty) StopMonitoringMembers Uses

func (c *GuardDuty) StopMonitoringMembers(input *StopMonitoringMembersInput) (*StopMonitoringMembersOutput, error)

StopMonitoringMembers API operation for Amazon GuardDuty.

Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs. After running this command, a master GuardDuty account can run StartMonitoringMembers to re-enable GuardDuty to monitor these members’ findings.

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 Amazon GuardDuty's API operation StopMonitoringMembers for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers

func (*GuardDuty) StopMonitoringMembersRequest Uses

func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) (req *request.Request, output *StopMonitoringMembersOutput)

StopMonitoringMembersRequest generates a "aws/request.Request" representing the client's request for the StopMonitoringMembers 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 StopMonitoringMembers for more information on using the StopMonitoringMembers 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 StopMonitoringMembersRequest method.
req, resp := client.StopMonitoringMembersRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers

func (*GuardDuty) StopMonitoringMembersWithContext Uses

func (c *GuardDuty) StopMonitoringMembersWithContext(ctx aws.Context, input *StopMonitoringMembersInput, opts ...request.Option) (*StopMonitoringMembersOutput, error)

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

See StopMonitoringMembers 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 (*GuardDuty) TagResource Uses

func (c *GuardDuty) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon GuardDuty.

Adds tags to a 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 Amazon GuardDuty's API operation TagResource for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/TagResource

func (*GuardDuty) TagResourceRequest Uses

func (c *GuardDuty) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/TagResource

func (*GuardDuty) TagResourceWithContext Uses

func (c *GuardDuty) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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 (*GuardDuty) UnarchiveFindings Uses

func (c *GuardDuty) UnarchiveFindings(input *UnarchiveFindingsInput) (*UnarchiveFindingsOutput, error)

UnarchiveFindings API operation for Amazon GuardDuty.

Unarchives Amazon GuardDuty findings specified by the list of finding IDs.

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 Amazon GuardDuty's API operation UnarchiveFindings for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings

func (*GuardDuty) UnarchiveFindingsRequest Uses

func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) (req *request.Request, output *UnarchiveFindingsOutput)

UnarchiveFindingsRequest generates a "aws/request.Request" representing the client's request for the UnarchiveFindings 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 UnarchiveFindings for more information on using the UnarchiveFindings 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 UnarchiveFindingsRequest method.
req, resp := client.UnarchiveFindingsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings

func (*GuardDuty) UnarchiveFindingsWithContext Uses

func (c *GuardDuty) UnarchiveFindingsWithContext(ctx aws.Context, input *UnarchiveFindingsInput, opts ...request.Option) (*UnarchiveFindingsOutput, error)

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

See UnarchiveFindings 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 (*GuardDuty) UntagResource Uses

func (c *GuardDuty) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon GuardDuty.

Removes tags from a 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 Amazon GuardDuty's API operation UntagResource for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UntagResource

func (*GuardDuty) UntagResourceRequest Uses

func (c *GuardDuty) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UntagResource

func (*GuardDuty) UntagResourceWithContext Uses

func (c *GuardDuty) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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 (*GuardDuty) UpdateDetector Uses

func (c *GuardDuty) UpdateDetector(input *UpdateDetectorInput) (*UpdateDetectorOutput, error)

UpdateDetector API operation for Amazon GuardDuty.

Updates an Amazon GuardDuty detector specified by the detectorId.

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 Amazon GuardDuty's API operation UpdateDetector for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector

func (*GuardDuty) UpdateDetectorRequest Uses

func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *request.Request, output *UpdateDetectorOutput)

UpdateDetectorRequest generates a "aws/request.Request" representing the client's request for the UpdateDetector 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 UpdateDetector for more information on using the UpdateDetector 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 UpdateDetectorRequest method.
req, resp := client.UpdateDetectorRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector

func (*GuardDuty) UpdateDetectorWithContext Uses

func (c *GuardDuty) UpdateDetectorWithContext(ctx aws.Context, input *UpdateDetectorInput, opts ...request.Option) (*UpdateDetectorOutput, error)

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

See UpdateDetector 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 (*GuardDuty) UpdateFilter Uses

func (c *GuardDuty) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error)

UpdateFilter API operation for Amazon GuardDuty.

Updates the filter specified by the filter name.

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 Amazon GuardDuty's API operation UpdateFilter for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilter

func (*GuardDuty) UpdateFilterRequest Uses

func (c *GuardDuty) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput)

UpdateFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateFilter 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 UpdateFilter for more information on using the UpdateFilter 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 UpdateFilterRequest method.
req, resp := client.UpdateFilterRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilter

func (*GuardDuty) UpdateFilterWithContext Uses

func (c *GuardDuty) UpdateFilterWithContext(ctx aws.Context, input *UpdateFilterInput, opts ...request.Option) (*UpdateFilterOutput, error)

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

See UpdateFilter 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 (*GuardDuty) UpdateFindingsFeedback Uses

func (c *GuardDuty) UpdateFindingsFeedback(input *UpdateFindingsFeedbackInput) (*UpdateFindingsFeedbackOutput, error)

UpdateFindingsFeedback API operation for Amazon GuardDuty.

Marks specified Amazon GuardDuty findings as useful or not useful.

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 Amazon GuardDuty's API operation UpdateFindingsFeedback for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback

func (*GuardDuty) UpdateFindingsFeedbackRequest Uses

func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) (req *request.Request, output *UpdateFindingsFeedbackOutput)

UpdateFindingsFeedbackRequest generates a "aws/request.Request" representing the client's request for the UpdateFindingsFeedback 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 UpdateFindingsFeedback for more information on using the UpdateFindingsFeedback 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 UpdateFindingsFeedbackRequest method.
req, resp := client.UpdateFindingsFeedbackRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback

func (*GuardDuty) UpdateFindingsFeedbackWithContext Uses

func (c *GuardDuty) UpdateFindingsFeedbackWithContext(ctx aws.Context, input *UpdateFindingsFeedbackInput, opts ...request.Option) (*UpdateFindingsFeedbackOutput, error)

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

See UpdateFindingsFeedback 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 (*GuardDuty) UpdateIPSet Uses

func (c *GuardDuty) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error)

UpdateIPSet API operation for Amazon GuardDuty.

Updates the IPSet specified by the IPSet 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 Amazon GuardDuty's API operation UpdateIPSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet

func (*GuardDuty) UpdateIPSetRequest Uses

func (c *GuardDuty) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput)

UpdateIPSetRequest generates a "aws/request.Request" representing the client's request for the UpdateIPSet 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 UpdateIPSet for more information on using the UpdateIPSet 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 UpdateIPSetRequest method.
req, resp := client.UpdateIPSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet

func (*GuardDuty) UpdateIPSetWithContext Uses

func (c *GuardDuty) UpdateIPSetWithContext(ctx aws.Context, input *UpdateIPSetInput, opts ...request.Option) (*UpdateIPSetOutput, error)

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

See UpdateIPSet 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 (*GuardDuty) UpdateThreatIntelSet Uses

func (c *GuardDuty) UpdateThreatIntelSet(input *UpdateThreatIntelSetInput) (*UpdateThreatIntelSetOutput, error)

UpdateThreatIntelSet API operation for Amazon GuardDuty.

Updates the ThreatIntelSet specified by ThreatIntelSet 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 Amazon GuardDuty's API operation UpdateThreatIntelSet for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Bad request exception object.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Internal server error exception object.

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet

func (*GuardDuty) UpdateThreatIntelSetRequest Uses

func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput) (req *request.Request, output *UpdateThreatIntelSetOutput)

UpdateThreatIntelSetRequest generates a "aws/request.Request" representing the client's request for the UpdateThreatIntelSet 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 UpdateThreatIntelSet for more information on using the UpdateThreatIntelSet 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 UpdateThreatIntelSetRequest method.
req, resp := client.UpdateThreatIntelSetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet

func (*GuardDuty) UpdateThreatIntelSetWithContext Uses

func (c *GuardDuty) UpdateThreatIntelSetWithContext(ctx aws.Context, input *UpdateThreatIntelSetInput, opts ...request.Option) (*UpdateThreatIntelSetOutput, error)

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

See UpdateThreatIntelSet 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 IamInstanceProfile Uses

type IamInstanceProfile struct {

    // AWS EC2 instance profile ARN.
    Arn *string `locationName:"arn" type:"string"`

    // AWS EC2 instance profile ID.
    Id  *string `locationName:"id" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the instance profile.

func (IamInstanceProfile) GoString Uses

func (s IamInstanceProfile) GoString() string

GoString returns the string representation

func (*IamInstanceProfile) SetArn Uses

func (s *IamInstanceProfile) SetArn(v string) *IamInstanceProfile

SetArn sets the Arn field's value.

func (*IamInstanceProfile) SetId Uses

func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile

SetId sets the Id field's value.

func (IamInstanceProfile) String Uses

func (s IamInstanceProfile) String() string

String returns the string representation

type InstanceDetails Uses

type InstanceDetails struct {

    // The availability zone of the EC2 instance.
    AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

    // The profile information of the EC2 instance.
    IamInstanceProfile *IamInstanceProfile `locationName:"iamInstanceProfile" type:"structure"`

    // The image description of the EC2 instance.
    ImageDescription *string `locationName:"imageDescription" type:"string"`

    // The image ID of the EC2 instance.
    ImageId *string `locationName:"imageId" type:"string"`

    // The ID of the EC2 instance.
    InstanceId *string `locationName:"instanceId" type:"string"`

    // The state of the EC2 instance.
    InstanceState *string `locationName:"instanceState" type:"string"`

    // The type of the EC2 instance.
    InstanceType *string `locationName:"instanceType" type:"string"`

    // The launch time of the EC2 instance.
    LaunchTime *string `locationName:"launchTime" type:"string"`

    // The network interface information of the EC2 instance.
    NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"`

    // The platform of the EC2 instance.
    Platform *string `locationName:"platform" type:"string"`

    // The product code of the EC2 instance.
    ProductCodes []*ProductCode `locationName:"productCodes" type:"list"`

    // The tags of the EC2 instance.
    Tags []*Tag `locationName:"tags" type:"list"`
    // contains filtered or unexported fields
}

Contains information about the details of an instance.

func (InstanceDetails) GoString Uses

func (s InstanceDetails) GoString() string

GoString returns the string representation

func (*InstanceDetails) SetAvailabilityZone Uses

func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*InstanceDetails) SetIamInstanceProfile Uses

func (s *InstanceDetails) SetIamInstanceProfile(v *IamInstanceProfile) *InstanceDetails

SetIamInstanceProfile sets the IamInstanceProfile field's value.

func (*InstanceDetails) SetImageDescription Uses

func (s *InstanceDetails) SetImageDescription(v string) *InstanceDetails

SetImageDescription sets the ImageDescription field's value.

func (*InstanceDetails) SetImageId Uses

func (s *InstanceDetails) SetImageId(v string) *InstanceDetails

SetImageId sets the ImageId field's value.

func (*InstanceDetails) SetInstanceId Uses

func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails

SetInstanceId sets the InstanceId field's value.

func (*InstanceDetails) SetInstanceState Uses

func (s *InstanceDetails) SetInstanceState(v string) *InstanceDetails

SetInstanceState sets the InstanceState field's value.

func (*InstanceDetails) SetInstanceType Uses

func (s *InstanceDetails) SetInstanceType(v string) *InstanceDetails

SetInstanceType sets the InstanceType field's value.

func (*InstanceDetails) SetLaunchTime Uses

func (s *InstanceDetails) SetLaunchTime(v string) *InstanceDetails

SetLaunchTime sets the LaunchTime field's value.

func (*InstanceDetails) SetNetworkInterfaces Uses

func (s *InstanceDetails) SetNetworkInterfaces(v []*NetworkInterface) *InstanceDetails

SetNetworkInterfaces sets the NetworkInterfaces field's value.

func (*InstanceDetails) SetPlatform Uses

func (s *InstanceDetails) SetPlatform(v string) *InstanceDetails

SetPlatform sets the Platform field's value.

func (*InstanceDetails) SetProductCodes Uses

func (s *InstanceDetails) SetProductCodes(v []*ProductCode) *InstanceDetails

SetProductCodes sets the ProductCodes field's value.

func (*InstanceDetails) SetTags Uses

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

SetTags sets the Tags field's value.

func (InstanceDetails) String Uses

func (s InstanceDetails) String() string

String returns the string representation

type Invitation Uses

type Invitation struct {

    // Inviter account ID
    AccountId *string `locationName:"accountId" min:"12" type:"string"`

    // This value is used to validate the inviter account to the member account.
    InvitationId *string `locationName:"invitationId" type:"string"`

    // Timestamp at which the invitation was sent
    InvitedAt *string `locationName:"invitedAt" type:"string"`

    // The status of the relationship between the inviter and invitee accounts.
    RelationshipStatus *string `locationName:"relationshipStatus" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the invitation.

func (Invitation) GoString Uses

func (s Invitation) GoString() string

GoString returns the string representation

func (*Invitation) SetAccountId Uses

func (s *Invitation) SetAccountId(v string) *Invitation

SetAccountId sets the AccountId field's value.

func (*Invitation) SetInvitationId Uses

func (s *Invitation) SetInvitationId(v string) *Invitation

SetInvitationId sets the InvitationId field's value.

func (*Invitation) SetInvitedAt Uses

func (s *Invitation) SetInvitedAt(v string) *Invitation

SetInvitedAt sets the InvitedAt field's value.

func (*Invitation) SetRelationshipStatus Uses

func (s *Invitation) SetRelationshipStatus(v string) *Invitation

SetRelationshipStatus sets the RelationshipStatus field's value.

func (Invitation) String Uses

func (s Invitation) String() string

String returns the string representation

type InviteMembersInput Uses

type InviteMembersInput struct {

    // A list of account IDs of the accounts that you want to invite to GuardDuty
    // as members.
    //
    // AccountIds is a required field
    AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`

    // The unique ID of the detector of the GuardDuty account with which you want
    // to invite members.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // A boolean value that specifies whether you want to disable email notification
    // to the accounts that you’re inviting to GuardDuty as members.
    DisableEmailNotification *bool `locationName:"disableEmailNotification" type:"boolean"`

    // The invitation message that you want to send to the accounts that you’re
    // inviting to GuardDuty as members.
    Message *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

func (InviteMembersInput) GoString Uses

func (s InviteMembersInput) GoString() string

GoString returns the string representation

func (*InviteMembersInput) SetAccountIds Uses

func (s *InviteMembersInput) SetAccountIds(v []*string) *InviteMembersInput

SetAccountIds sets the AccountIds field's value.

func (*InviteMembersInput) SetDetectorId Uses

func (s *InviteMembersInput) SetDetectorId(v string) *InviteMembersInput

SetDetectorId sets the DetectorId field's value.

func (*InviteMembersInput) SetDisableEmailNotification Uses

func (s *InviteMembersInput) SetDisableEmailNotification(v bool) *InviteMembersInput

SetDisableEmailNotification sets the DisableEmailNotification field's value.

func (*InviteMembersInput) SetMessage Uses

func (s *InviteMembersInput) SetMessage(v string) *InviteMembersInput

SetMessage sets the Message field's value.

func (InviteMembersInput) String Uses

func (s InviteMembersInput) String() string

String returns the string representation

func (*InviteMembersInput) Validate Uses

func (s *InviteMembersInput) Validate() error

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

type InviteMembersOutput Uses

type InviteMembersOutput struct {

    // A list of objects containing the unprocessed account and a result string
    // explaining why it was unprocessed.
    //
    // UnprocessedAccounts is a required field
    UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (InviteMembersOutput) GoString Uses

func (s InviteMembersOutput) GoString() string

GoString returns the string representation

func (*InviteMembersOutput) SetUnprocessedAccounts Uses

func (s *InviteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *InviteMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (InviteMembersOutput) String Uses

func (s InviteMembersOutput) String() string

String returns the string representation

type ListDetectorsInput Uses

type ListDetectorsInput struct {

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDetectorsInput) GoString Uses

func (s ListDetectorsInput) GoString() string

GoString returns the string representation

func (*ListDetectorsInput) SetMaxResults Uses

func (s *ListDetectorsInput) SetMaxResults(v int64) *ListDetectorsInput

SetMaxResults sets the MaxResults field's value.

func (*ListDetectorsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDetectorsInput) String Uses

func (s ListDetectorsInput) String() string

String returns the string representation

func (*ListDetectorsInput) Validate Uses

func (s *ListDetectorsInput) Validate() error

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

type ListDetectorsOutput Uses

type ListDetectorsOutput struct {

    // A list of detector Ids.
    //
    // DetectorIds is a required field
    DetectorIds []*string `locationName:"detectorIds" type:"list" required:"true"`

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListDetectorsOutput) GoString Uses

func (s ListDetectorsOutput) GoString() string

GoString returns the string representation

func (*ListDetectorsOutput) SetDetectorIds Uses

func (s *ListDetectorsOutput) SetDetectorIds(v []*string) *ListDetectorsOutput

SetDetectorIds sets the DetectorIds field's value.

func (*ListDetectorsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDetectorsOutput) String Uses

func (s ListDetectorsOutput) String() string

String returns the string representation

type ListFiltersInput Uses

type ListFiltersInput struct {

    // The unique ID of the detector the filter is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFiltersInput) GoString Uses

func (s ListFiltersInput) GoString() string

GoString returns the string representation

func (*ListFiltersInput) SetDetectorId Uses

func (s *ListFiltersInput) SetDetectorId(v string) *ListFiltersInput

SetDetectorId sets the DetectorId field's value.

func (*ListFiltersInput) SetMaxResults Uses

func (s *ListFiltersInput) SetMaxResults(v int64) *ListFiltersInput

SetMaxResults sets the MaxResults field's value.

func (*ListFiltersInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFiltersInput) String Uses

func (s ListFiltersInput) String() string

String returns the string representation

func (*ListFiltersInput) Validate Uses

func (s *ListFiltersInput) Validate() error

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

type ListFiltersOutput Uses

type ListFiltersOutput struct {

    // A list of filter names
    //
    // FilterNames is a required field
    FilterNames []*string `locationName:"filterNames" type:"list" required:"true"`

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFiltersOutput) GoString Uses

func (s ListFiltersOutput) GoString() string

GoString returns the string representation

func (*ListFiltersOutput) SetFilterNames Uses

func (s *ListFiltersOutput) SetFilterNames(v []*string) *ListFiltersOutput

SetFilterNames sets the FilterNames field's value.

func (*ListFiltersOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFiltersOutput) String Uses

func (s ListFiltersOutput) String() string

String returns the string representation

type ListFindingsInput Uses

type ListFindingsInput struct {

    // The ID of the detector that specifies the GuardDuty service whose findings
    // you want to list.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // Represents the criteria used for querying findings.
    FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"`

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Represents the criteria used for sorting findings.
    SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"`
    // contains filtered or unexported fields
}

func (ListFindingsInput) GoString Uses

func (s ListFindingsInput) GoString() string

GoString returns the string representation

func (*ListFindingsInput) SetDetectorId Uses

func (s *ListFindingsInput) SetDetectorId(v string) *ListFindingsInput

SetDetectorId sets the DetectorId field's value.

func (*ListFindingsInput) SetFindingCriteria Uses

func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput

SetFindingCriteria sets the FindingCriteria field's value.

func (*ListFindingsInput) SetMaxResults Uses

func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListFindingsInput) SetSortCriteria Uses

func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput

SetSortCriteria sets the SortCriteria field's value.

func (ListFindingsInput) String Uses

func (s ListFindingsInput) String() string

String returns the string representation

func (*ListFindingsInput) Validate Uses

func (s *ListFindingsInput) Validate() error

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

type ListFindingsOutput Uses

type ListFindingsOutput struct {

    // The IDs of the findings you are listing.
    //
    // FindingIds is a required field
    FindingIds []*string `locationName:"findingIds" type:"list" required:"true"`

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListFindingsOutput) GoString Uses

func (s ListFindingsOutput) GoString() string

GoString returns the string representation

func (*ListFindingsOutput) SetFindingIds Uses

func (s *ListFindingsOutput) SetFindingIds(v []*string) *ListFindingsOutput

SetFindingIds sets the FindingIds field's value.

func (*ListFindingsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFindingsOutput) String Uses

func (s ListFindingsOutput) String() string

String returns the string representation

type ListIPSetsInput Uses

type ListIPSetsInput struct {

    // The unique ID of the detector the ipSet is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListIPSetsInput) GoString Uses

func (s ListIPSetsInput) GoString() string

GoString returns the string representation

func (*ListIPSetsInput) SetDetectorId Uses

func (s *ListIPSetsInput) SetDetectorId(v string) *ListIPSetsInput

SetDetectorId sets the DetectorId field's value.

func (*ListIPSetsInput) SetMaxResults Uses

func (s *ListIPSetsInput) SetMaxResults(v int64) *ListIPSetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListIPSetsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListIPSetsInput) String Uses

func (s ListIPSetsInput) String() string

String returns the string representation

func (*ListIPSetsInput) Validate Uses

func (s *ListIPSetsInput) Validate() error

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

type ListIPSetsOutput Uses

type ListIPSetsOutput struct {

    // The IDs of the IPSet resources.
    //
    // IpSetIds is a required field
    IpSetIds []*string `locationName:"ipSetIds" type:"list" required:"true"`

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListIPSetsOutput) GoString Uses

func (s ListIPSetsOutput) GoString() string

GoString returns the string representation

func (*ListIPSetsOutput) SetIpSetIds Uses

func (s *ListIPSetsOutput) SetIpSetIds(v []*string) *ListIPSetsOutput

SetIpSetIds sets the IpSetIds field's value.

func (*ListIPSetsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListIPSetsOutput) String Uses

func (s ListIPSetsOutput) String() string

String returns the string representation

type ListInvitationsInput Uses

type ListInvitationsInput struct {

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListInvitationsInput) GoString Uses

func (s ListInvitationsInput) GoString() string

GoString returns the string representation

func (*ListInvitationsInput) SetMaxResults Uses

func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListInvitationsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListInvitationsInput) String Uses

func (s ListInvitationsInput) String() string

String returns the string representation

func (*ListInvitationsInput) Validate Uses

func (s *ListInvitationsInput) Validate() error

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

type ListInvitationsOutput Uses

type ListInvitationsOutput struct {

    // A list of invitation descriptions.
    Invitations []*Invitation `locationName:"invitations" type:"list"`

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListInvitationsOutput) GoString Uses

func (s ListInvitationsOutput) GoString() string

GoString returns the string representation

func (*ListInvitationsOutput) SetInvitations Uses

func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput

SetInvitations sets the Invitations field's value.

func (*ListInvitationsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListInvitationsOutput) String Uses

func (s ListInvitationsOutput) String() string

String returns the string representation

type ListMembersInput Uses

type ListMembersInput struct {

    // The unique ID of the detector the member is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

    // Specifies whether to only return associated members or to return all members
    // (including members which haven't been invited yet or have been disassociated).
    OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"`
    // contains filtered or unexported fields
}

func (ListMembersInput) GoString Uses

func (s ListMembersInput) GoString() string

GoString returns the string representation

func (*ListMembersInput) SetDetectorId Uses

func (s *ListMembersInput) SetDetectorId(v string) *ListMembersInput

SetDetectorId sets the DetectorId field's value.

func (*ListMembersInput) SetMaxResults Uses

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListMembersInput) SetOnlyAssociated Uses

func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput

SetOnlyAssociated sets the OnlyAssociated field's value.

func (ListMembersInput) String Uses

func (s ListMembersInput) String() string

String returns the string representation

func (*ListMembersInput) Validate Uses

func (s *ListMembersInput) Validate() error

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

type ListMembersOutput Uses

type ListMembersOutput struct {

    // A list of members.
    Members []*Member `locationName:"members" type:"list"`

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListMembersOutput) GoString Uses

func (s ListMembersOutput) GoString() string

GoString returns the string representation

func (*ListMembersOutput) SetMembers Uses

func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput

SetMembers sets the Members field's value.

func (*ListMembersOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String Uses

func (s ListMembersOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

    // The Amazon Resource Name (ARN) for the given GuardDuty resource
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" 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) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn 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 {

    // The tags associated with the resource.
    Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListThreatIntelSetsInput Uses

type ListThreatIntelSetsInput struct {

    // The unique ID of the detector the threatIntelSet is associated with.
    //
    // DetectorId is a required field
    DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"`

    // You can use this parameter to indicate the maximum number of items you want
    // in the response. The default value is 50. The maximum value is 50.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // You can use this parameter when paginating results. Set the value of this
    // parameter to null on your first call to the list action. For subsequent calls
    // to the action fill nextToken in the request with the value of NextToken from
    // the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListThreatIntelSetsInput) GoString Uses

func (s ListThreatIntelSetsInput) GoString() string

GoString returns the string representation

func (*ListThreatIntelSetsInput) SetDetectorId Uses

func (s *ListThreatIntelSetsInput) SetDetectorId(v string) *ListThreatIntelSetsInput

SetDetectorId sets the DetectorId field's value.

func (*ListThreatIntelSetsInput) SetMaxResults Uses

func (s *ListThreatIntelSetsInput) SetMaxResults(v int64) *ListThreatIntelSetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListThreatIntelSetsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListThreatIntelSetsInput) String Uses

func (s ListThreatIntelSetsInput) String() string

String returns the string representation

func (*ListThreatIntelSetsInput) Validate Uses

func (s *ListThreatIntelSetsInput) Validate() error

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

type ListThreatIntelSetsOutput Uses

type ListThreatIntelSetsOutput struct {

    // Pagination parameter to be used on the next list operation to retrieve more
    // items.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The IDs of the ThreatIntelSet resources.
    //
    // ThreatIntelSetIds is a required field
    ThreatIntelSetIds []*string `locationName:"threatIntelSetIds" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (ListThreatIntelSetsOutput) GoString Uses

func (s ListThreatIntelSetsOutput) GoString() string

GoString returns the string representation

func (*ListThreatIntelSetsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListThreatIntelSetsOutput) SetThreatIntelSetIds Uses

func (s *ListThreatIntelSetsOutput) SetThreatIntelSetIds(v []*string) *ListThreatIntelSetsOutput

SetThreatIntelSetIds sets the ThreatIntelSetIds field's value.

func (ListThreatIntelSetsOutput) String Uses

func (s ListThreatIntelSetsOutput) String() string

String returns the string representation

type LocalPortDetails Uses

type LocalPortDetails struct {

    // Port number of the local connection.
    Port *int64 `locationName:"port" type:"integer"`

    // Port name of the local connection.
    PortName *string `locationName:"portName" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the port for the local connection.

func (LocalPortDetails) GoString Uses

func (s LocalPortDetails) GoString() string

GoString returns the string representation

func (*LocalPortDetails) SetPort Uses

func (s *LocalPortDetails) SetPort(v int64) *LocalPortDetails

SetPort sets the Port field's value.

func (*LocalPortDetails) SetPortName Uses

func (s *LocalPortDetails) SetPortName(v string) *LocalPortDetails

SetPortName sets the PortName field's value.

func (LocalPortDetails) String Uses

func (s LocalPortDetails) String() string

String returns the string representation

type Master Uses

type Master struct {

    // The ID of the account used as the Master account.
    AccountId *string `locationName:"accountId" min:"12" type:"string"`

    // This value is used to validate the master account to the member account.
    InvitationId *string `locationName:"invitationId" type:"string"`

    // Timestamp at which the invitation was sent.
    InvitedAt *string `locationName:"invitedAt" type:"string"`

    // The status of the relationship between the master and member accounts.
    RelationshipStatus *string `locationName:"relationshipStatus" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the Master account and invitation.

func (Master) GoString Uses

func (s Master) GoString() string

GoString returns the string representation

func (*Master) SetAccountId Uses

func (s *Master) SetAccountId(v string) *Master

SetAccountId sets the AccountId field's value.

func (*Master) SetInvitationId Uses

func (s *Master) SetInvitationId(v string) *Master

SetInvitationId sets the InvitationId field's value.

func (*Master) SetInvitedAt Uses

func (s *Master) SetInvitedAt(v string) *Master

SetInvitedAt sets the InvitedAt field's value.

func (*Master) SetRelationshipStatus Uses

func (s *Master) SetRelationshipStatus(v string) *Master

SetRelationshipStatus sets the RelationshipStatus field's value.

func (Master) String Uses

func (s Master) String() string

String returns the string representation

type Member Uses

type Member struct {

    // Member account ID.
    //
    // AccountId is a required field
    AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`

    // Member account's detector ID.
    DetectorId *string `locationName:"detectorId" min:"1" type:"string"`

    // Member account's email address.
    //
    // Email is a required field
    Email *string `locationName:"email" min:"1" type:"string" required:"true"`

    // Timestamp at which the invitation was sent
    InvitedAt *string `locationName:"invitedAt" type:"string"`

    // Master account ID.
    //
    // MasterId is a required field
    MasterId *string `locationName:"masterId" type:"string" required:"true"`

    // The status of the relationship between the member and the master.
    //
    // RelationshipStatus is a required field
    RelationshipStatus *string `locationName:"relationshipStatus" type:"string" required:"true"`

    // Member last updated timestamp.
    //
    // UpdatedAt is a required field
    UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Continas information about the member account

func (Member) GoString Uses

func (s Member) GoString() string

GoString returns the string representation

func (*Member) SetAccountId Uses

func (s *Member) SetAccountId(v string) *Member

SetAccountId sets the AccountId field's value.

func (*Member) SetDetectorId Uses

func (s *Member) SetDetectorId(v string) *Member

SetDetectorId sets the DetectorId field's value.

func (*Member) SetEmail Uses

func (s *Member) SetEmail(v string) *Member

SetEmail sets the Email field's value.

func (*Member) SetInvitedAt Uses

func (s *Member) SetInvitedAt(v string) *Member

SetInvitedAt sets the InvitedAt field's value.

func (*Member) SetMasterId Uses

func (s *Member) SetMasterId(v string) *Member

SetMasterId sets the MasterId field's value.

func (*Member) SetRelationshipStatus Uses

func (s *Member) SetRelationshipStatus(v string) *Member

SetRelationshipStatus sets the RelationshipStatus field's value.

func (*Member) SetUpdatedAt Uses

func (s *Member) SetUpdatedAt(v string) *Member

SetUpdatedAt sets the UpdatedAt field's value.

func (Member) String Uses

func (s Member) String() string

String returns the string representation

type NetworkConnectionAction Uses

type NetworkConnectionAction struct {

    // Network connection blocked information.
    Blocked *bool `locationName:"blocked" type:"boolean"`

    // Network connection direction.
    ConnectionDirection *string `locationName:"connectionDirection" type:"string"`

    // Local port information of the connection.
    LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"`

    // Network connection protocol.
    Protocol *string `locationName:"protocol" type:"string"`

    // Remote IP information of the connection.
    RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"`

    // Remote port information of the connection.
    RemotePortDetails *RemotePortDetails `locationName:"remotePortDetails" type:"structure"`
    // contains filtered or unexported fields
}

Contains information about the network connection.

func (NetworkConnectionAction) GoString Uses

func (s NetworkConnectionAction) GoString() string

GoString returns the string representation

func (*NetworkConnectionAction) SetBlocked Uses

func (s *NetworkConnectionAction) SetBlocked(v bool) *NetworkConnectionAction

SetBlocked sets the Blocked field's value.

func (*NetworkConnectionAction) SetConnectionDirection Uses

func (s *NetworkConnectionAction) SetConnectionDirection(v string) *NetworkConnectionAction

SetConnectionDirection sets the ConnectionDirection field's value.

func (*NetworkConnectionAction) SetLocalPortDetails Uses

func (s *NetworkConnectionAction) SetLocalPortDetails(v *LocalPortDetails) *NetworkConnectionAction

SetLocalPortDetails sets the LocalPortDetails field's value.

func (*NetworkConnectionAction) SetProtocol Uses

func (s *NetworkConnectionAction) SetProtocol(v string) *NetworkConnectionAction

SetProtocol sets the Protocol field's value.

func (*NetworkConnectionAction) SetRemoteIpDetails Uses

func (s *NetworkConnectionAction) SetRemoteIpDetails(v *RemoteIpDetails) *NetworkConnectionAction

SetRemoteIpDetails sets the RemoteIpDetails field's value.

func (*NetworkConnectionAction) SetRemotePortDetails Uses

func (s *NetworkConnectionAction) SetRemotePortDetails(v *RemotePortDetails) *NetworkConnectionAction

SetRemotePortDetails sets the RemotePortDetails field's value.

func (NetworkConnectionAction) String Uses

func (s NetworkConnectionAction) String() string

String returns the string representation

type NetworkInterface Uses

type NetworkInterface struct {

    // A list of EC2 instance IPv6 address information.
    Ipv6Addresses []*string `locationName:"ipv6Addresses" type:"list"`

    // The ID of the network interface
    NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"`

    // Private DNS name of the EC2 instance.
    PrivateDnsName *string `locationName:"privateDnsName" type:"string"`

    // Private IP address of the EC2 instance.
    PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"`

    // Other private IP address information of the EC2 instance.
    PrivateIpAddresses []*PrivateIpAddressDetails `locationName:"privateIpAddresses" type:"list"`

    // Public DNS name of the EC2 instance.
    PublicDnsName *string `locationName:"publicDnsName" type:"string"`

    // Public IP address of the EC2 instance.
    PublicIp *string `locationName:"publicIp" type:"string"`

    // Security groups associated with the EC2 instance.
    SecurityGroups []*SecurityGroup `locationName:"securityGroups" type:"list"`

    // The subnet ID of the EC2 instance.
    SubnetId *string `locationName:"subnetId" type:"string"`

    // The VPC ID of the EC2 instance.
    VpcId *string `locationName:"vpcId" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the network interface.

func (NetworkInterface) GoString Uses

func (s NetworkInterface) GoString() string

GoString returns the string representation

func (*NetworkInterface) SetIpv6Addresses Uses

func (s *NetworkInterface) SetIpv6Addresses(v []*string) *NetworkInterface

SetIpv6Addresses sets the Ipv6Addresses field's value.

func (*NetworkInterface) SetNetworkInterfaceId Uses

func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*NetworkInterface) SetPrivateDnsName Uses

func (s *NetworkInterface) SetPrivateDnsName(v string) *NetworkInterface

SetPrivateDnsName sets the PrivateDnsName field's value.

func (*NetworkInterface) SetPrivateIpAddress Uses

func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface

SetPrivateIpAddress sets the PrivateIpAddress field's value.

func (*NetworkInterface) SetPrivateIpAddresses Uses

func (s *NetworkInterface) SetPrivateIpAddresses(v []*PrivateIpAddressDetails) *NetworkInterface

SetPrivateIpAddresses sets the PrivateIpAddresses field's value.

func (*NetworkInterface) SetPublicDnsName Uses

func (s *NetworkInterface) SetPublicDnsName(v string) *NetworkInterface

SetPublicDnsName sets the PublicDnsName field's value.

func (*NetworkInterface) SetPublicIp Uses

func (s *NetworkInterface) SetPublicIp(v string) *NetworkInterface

SetPublicIp sets the PublicIp field's value.

func (*NetworkInterface) SetSecurityGroups Uses

func (s *NetworkInterface) SetSecurityGroups(v []*SecurityGroup) *NetworkInterface

SetSecurityGroups sets the SecurityGroups field's value.

func (*NetworkInterface) SetSubnetId Uses

func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface

SetSubnetId sets the SubnetId field's value.

func (*NetworkInterface) SetVpcId Uses

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

SetVpcId sets the VpcId field's value.

func (NetworkInterface) String Uses

func (s NetworkInterface) String() string

String returns the string representation

type Organization Uses

type Organization struct {

    // Autonomous system number of the internet provider of the remote IP address.
    Asn *string `locationName:"asn" type:"string"`

    // Organization that registered this ASN.
    AsnOrg *string `locationName:"asnOrg" type:"string"`

    // ISP information for the internet provider.
    Isp *string `locationName:"isp" type:"string"`

    // Name of the internet provider.
    Org *string `locationName:"org" type:"string"`
    // contains filtered or unexported fields
}

Continas information about the organization.

func (Organization) GoString Uses

func (s Organization) GoString() string

GoString returns the string representation

func (*Organization) SetAsn Uses

func (s *Organization) SetAsn(v string) *Organization

SetAsn sets the Asn field's value.

func (*Organization) SetAsnOrg Uses

func (s *Organization) SetAsnOrg(v string) *Organization

SetAsnOrg sets the AsnOrg field's value.

func (*Organization) SetIsp Uses

func (s *Organization) SetIsp(v string) *Organization

SetIsp sets the Isp field's value.

func (*Organization) SetOrg Uses

func (s *Organization) SetOrg(v string) *Organization

SetOrg sets the Org field's value.

func (Organization) String Uses

func (s Organization) String() string

String returns the string representation

type PortProbeAction Uses

type PortProbeAction struct {

    // Port probe blocked information.
    Blocked *bool `locationName:"blocked" type:"boolean"`

    // A list of port probe details objects.
    PortProbeDetails []*PortProbeDetail `locationName:"portProbeDetails" type:"list"`
    // contains filtered or unexported fields
}

Contains information about the port probe.

func (PortProbeAction) GoString Uses

func (s PortProbeAction) GoString() string

GoString returns the string representation

func (*PortProbeAction) SetBlocked Uses

func (s *PortProbeAction) SetBlocked(v bool) *PortProbeAction

SetBlocked sets the Blocked field's value.

func (*PortProbeAction) SetPortProbeDetails Uses

func (s *PortProbeAction) SetPortProbeDetails(v []*PortProbeDetail) *PortProbeAction

SetPortProbeDetails sets the PortProbeDetails field's value.

func (PortProbeAction) String Uses

func (s PortProbeAction) String() string

String returns the string representation

type PortProbeDetail Uses

type PortProbeDetail struct {

    // Local port information of the connection.
    LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"`

    // Remote IP information of the connection.
    RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"`
    // contains filtered or unexported fields
}

Contains information about the port probe details.

func (PortProbeDetail) GoString Uses

func (s PortProbeDetail) GoString() string

GoString returns the string representation

func (*PortProbeDetail) SetLocalPortDetails Uses

func (s *PortProbeDetail) SetLocalPortDetails(v *LocalPortDetails) *PortProbeDetail

SetLocalPortDetails sets the LocalPortDetails field's value.

func (*PortProbeDetail) SetRemoteIpDetails Uses

func (s *PortProbeDetail) SetRemoteIpDetails(v *RemoteIpDetails) *PortProbeDetail

SetRemoteIpDetails sets the RemoteIpDetails field's value.

func (PortProbeDetail) String Uses

func (s PortProbeDetail) String() string

String returns the string representation

type PrivateIpAddressDetails Uses

type PrivateIpAddressDetails struct {

    // Private DNS name of the EC2 instance.
    PrivateDnsName *string `locationName:"privateDnsName" type:"string"`

    // Private IP address of the EC2 instance.
    PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the private IP address.

func (PrivateIpAddressDetails) GoString Uses

func (s PrivateIpAddressDetails) GoString() string

GoString returns the string representation

func (*PrivateIpAddressDetails) SetPrivateDnsName Uses

func (s *PrivateIpAddressDetails) SetPrivateDnsName(v string) *PrivateIpAddressDetails

SetPrivateDnsName sets the PrivateDnsName field's value.

func (*PrivateIpAddressDetails) SetPrivateIpAddress Uses

func (s *PrivateIpAddressDetails) SetPrivateIpAddress(v string) *PrivateIpAddressDetails

SetPrivateIpAddress sets the PrivateIpAddress field's value.

func (PrivateIpAddressDetails) String Uses

func (s PrivateIpAddressDetails) String() string

String returns the string representation

type ProductCode Uses

type ProductCode struct {

    // Product code information.
    Code *string `locationName:"code" type:"string"`

    // Product code type.
    ProductType *string `locationName:"productType" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the product code.

func (ProductCode) GoString Uses

func (s ProductCode) GoString() string

GoString returns the string representation

func (*ProductCode) SetCode Uses

func (s *ProductCode) SetCode(v string) *ProductCode

SetCode sets the Code field's value.

func (*ProductCode) SetProductType Uses

func (s *ProductCode) SetProductType(v string) *ProductCode

SetProductType sets the ProductType field's value.

func (ProductCode) String Uses

func (s ProductCode) String() string

String returns the string representation

type RemoteIpDetails Uses

type RemoteIpDetails struct {

    // City information of the remote IP address.
    City *City `locationName:"city" type:"structure"`

    // Country code of the remote IP address.
    Country *Country `locationName:"country" type:"structure"`

    // Location information of the remote IP address.
    GeoLocation *GeoLocation `locationName:"geoLocation" type:"structure"`

    // IPV4 remote address of the connection.
    IpAddressV4 *string `locationName:"ipAddressV4" type:"string"`

    // ISP Organization information of the remote IP address.
    Organization *Organization `locationName:"organization" type:"structure"`
    // contains filtered or unexported fields
}

Continas information about the remote IP address.

func (RemoteIpDetails) GoString Uses

func (s RemoteIpDetails) GoString() string

GoString returns the string representation

func (*RemoteIpDetails) SetCity Uses

func (s *RemoteIpDetails) SetCity(v *City) *RemoteIpDetails

SetCity sets the City field's value.

func (*RemoteIpDetails) SetCountry Uses

func (s *RemoteIpDetails) SetCountry(v *Country) *RemoteIpDetails

SetCountry sets the Country field's value.

func (*RemoteIpDetails) SetGeoLocation Uses

func (s *RemoteIpDetails) SetGeoLocation(v *GeoLocation) *RemoteIpDetails

SetGeoLocation sets the GeoLocation field's value.

func (*RemoteIpDetails) SetIpAddressV4 Uses

func (s *RemoteIpDetails) SetIpAddressV4(v string) *RemoteIpDetails

SetIpAddressV4 sets the IpAddressV4 field's value.

func (*RemoteIpDetails) SetOrganization Uses

func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails

SetOrganization sets the Organization field's value.

func (RemoteIpDetails) String Uses

func (s RemoteIpDetails) String() string

String returns the string representation

type RemotePortDetails Uses

type RemotePortDetails struct {

    // Port number of the remote connection.
    Port *int64 `locationName:"port" type:"integer"`

    // Port name of the remote connection.
    PortName *string `locationName:"portName" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the remote port.

func (RemotePortDetails) GoString Uses

func (s RemotePortDetails) GoString() string

GoString returns the string representation

func (*RemotePortDetails) SetPort Uses

func (s *RemotePortDetails) SetPort(v int64) *RemotePortDetails

SetPort sets the Port field's value.

func (*RemotePortDetails) SetPortName Uses

func (s *RemotePortDetails) SetPortName(v string) *RemotePortDetails

SetPortName sets the PortName field's value.

func (RemotePortDetails) String Uses

func (s RemotePortDetails) String() string

String returns the string representation

type Resource Uses

type Resource struct {

    // The IAM access key details (IAM user information) of a user that engaged
    // in the activity that prompted GuardDuty to generate a finding.
    AccessKeyDetails *AccessKeyDetails `locationName:"accessKeyDetails" type:"structure"`

    // The information about the EC2 instance associated with the activity that
    // prompted GuardDuty to generate a finding.
    InstanceDetails *InstanceDetails `locationName:"instanceDetails" type:"structure"`

    // The type of the AWS resource.
    ResourceType *string `locationName:"resourceType" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the resource.

func (Resource) GoString Uses

func (s Resource) GoString() string

GoString returns the string representation

func (*Resource) SetAccessKeyDetails Uses

func (s *Resource) SetAccessKeyDetails(v *AccessKeyDetails) *Resource

SetAccessKeyDetails sets the AccessKeyDetails field's value.

func (*Resource) SetInstanceDetails Uses

func (s *Resource) SetInstanceDetails(v *InstanceDetails) *Resource

SetInstanceDetails sets the InstanceDetails field's value.

func (*Resource) SetResourceType Uses

func (s *Resource) SetResourceType(v string) *Resource

SetResourceType sets the ResourceType field's value.

func (Resource) String Uses

func (s Resource) String() string

String returns the string representation

type SecurityGroup Uses

type SecurityGroup struct {

    // EC2 instance's security group ID.
    GroupId *string `locationName:"groupId" type:"string"`

    // EC2 instance's security group name.
    GroupName *string `locationName:"groupName" type:"string"`
    // contains filtered or unexported fields
}

Contains information about the security group.

func (SecurityGroup) GoString Uses

func (s SecurityGroup) GoString() string

GoString returns the string representation

func (*SecurityGroup) SetGroupId Uses

func (s *SecurityGroup) SetGroupId(v string) *SecurityGroup

SetGroupId sets the GroupId field's value.

func (*SecurityGroup) SetGroupName Uses

func (s *SecurityGroup) SetGroupName(v string) *SecurityGroup

SetGroupName sets the GroupName field's value.