Documentation ¶
Overview ¶
Package guardduty provides the client and types for making API requests to Amazon GuardDuty.
Assess, monitor, manage, and remediate security issues across your AWS infrastructure, applications, and data.
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 ¶
- Constants
- type AcceptInvitationInput
- func (s AcceptInvitationInput) GoString() string
- func (s *AcceptInvitationInput) SetDetectorId(v string) *AcceptInvitationInput
- func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput
- func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput
- func (s AcceptInvitationInput) String() string
- func (s *AcceptInvitationInput) Validate() error
- type AcceptInvitationOutput
- type AccountDetail
- type Action
- func (s Action) GoString() string
- func (s *Action) SetActionType(v string) *Action
- func (s *Action) SetAwsApiCallAction(v *AwsApiCallAction) *Action
- func (s *Action) SetDnsRequestAction(v *DnsRequestAction) *Action
- func (s *Action) SetNetworkConnectionAction(v *NetworkConnectionAction) *Action
- func (s Action) String() string
- type ArchiveFindingsInput
- type ArchiveFindingsOutput
- type AwsApiCallAction
- func (s AwsApiCallAction) GoString() string
- func (s *AwsApiCallAction) SetApi(v string) *AwsApiCallAction
- func (s *AwsApiCallAction) SetCallerType(v string) *AwsApiCallAction
- func (s *AwsApiCallAction) SetDomainDetails(v *DomainDetails) *AwsApiCallAction
- func (s *AwsApiCallAction) SetRemoteIpDetails(v *RemoteIpDetails) *AwsApiCallAction
- func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction
- func (s AwsApiCallAction) String() string
- type City
- type Condition
- func (s Condition) GoString() string
- func (s *Condition) SetEq(v []*string) *Condition
- func (s *Condition) SetGt(v int64) *Condition
- func (s *Condition) SetGte(v int64) *Condition
- func (s *Condition) SetLt(v int64) *Condition
- func (s *Condition) SetLte(v int64) *Condition
- func (s *Condition) SetNeq(v []*string) *Condition
- func (s Condition) String() string
- type Country
- type CreateDetectorInput
- type CreateDetectorOutput
- type CreateIPSetInput
- func (s CreateIPSetInput) GoString() string
- func (s *CreateIPSetInput) SetActivate(v bool) *CreateIPSetInput
- func (s *CreateIPSetInput) SetDetectorId(v string) *CreateIPSetInput
- func (s *CreateIPSetInput) SetFormat(v string) *CreateIPSetInput
- func (s *CreateIPSetInput) SetLocation(v string) *CreateIPSetInput
- func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput
- func (s CreateIPSetInput) String() string
- func (s *CreateIPSetInput) Validate() error
- type CreateIPSetOutput
- type CreateMembersInput
- type CreateMembersOutput
- type CreateSampleFindingsInput
- func (s CreateSampleFindingsInput) GoString() string
- func (s *CreateSampleFindingsInput) SetDetectorId(v string) *CreateSampleFindingsInput
- func (s *CreateSampleFindingsInput) SetFindingTypes(v []*string) *CreateSampleFindingsInput
- func (s CreateSampleFindingsInput) String() string
- func (s *CreateSampleFindingsInput) Validate() error
- type CreateSampleFindingsOutput
- type CreateThreatIntelSetInput
- func (s CreateThreatIntelSetInput) GoString() string
- func (s *CreateThreatIntelSetInput) SetActivate(v bool) *CreateThreatIntelSetInput
- func (s *CreateThreatIntelSetInput) SetDetectorId(v string) *CreateThreatIntelSetInput
- func (s *CreateThreatIntelSetInput) SetFormat(v string) *CreateThreatIntelSetInput
- func (s *CreateThreatIntelSetInput) SetLocation(v string) *CreateThreatIntelSetInput
- func (s *CreateThreatIntelSetInput) SetName(v string) *CreateThreatIntelSetInput
- func (s CreateThreatIntelSetInput) String() string
- func (s *CreateThreatIntelSetInput) Validate() error
- type CreateThreatIntelSetOutput
- type DeclineInvitationsInput
- type DeclineInvitationsOutput
- type DeleteDetectorInput
- type DeleteDetectorOutput
- type DeleteIPSetInput
- type DeleteIPSetOutput
- type DeleteInvitationsInput
- type DeleteInvitationsOutput
- type DeleteMembersInput
- type DeleteMembersOutput
- type DeleteThreatIntelSetInput
- func (s DeleteThreatIntelSetInput) GoString() string
- func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput
- func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput
- func (s DeleteThreatIntelSetInput) String() string
- func (s *DeleteThreatIntelSetInput) Validate() error
- type DeleteThreatIntelSetOutput
- type DisassociateFromMasterAccountInput
- type DisassociateFromMasterAccountOutput
- type DisassociateMembersInput
- func (s DisassociateMembersInput) GoString() string
- func (s *DisassociateMembersInput) SetAccountIds(v []*string) *DisassociateMembersInput
- func (s *DisassociateMembersInput) SetDetectorId(v string) *DisassociateMembersInput
- func (s DisassociateMembersInput) String() string
- func (s *DisassociateMembersInput) Validate() error
- type DisassociateMembersOutput
- type DnsRequestAction
- type DomainDetails
- type Finding
- func (s Finding) GoString() string
- func (s *Finding) SetAccountId(v string) *Finding
- func (s *Finding) SetArn(v string) *Finding
- func (s *Finding) SetConfidence(v float64) *Finding
- func (s *Finding) SetCreatedAt(v string) *Finding
- func (s *Finding) SetDescription(v string) *Finding
- func (s *Finding) SetId(v string) *Finding
- func (s *Finding) SetPartition(v string) *Finding
- func (s *Finding) SetRegion(v string) *Finding
- func (s *Finding) SetResource(v *Resource) *Finding
- func (s *Finding) SetSchemaVersion(v string) *Finding
- func (s *Finding) SetService(v *Service) *Finding
- func (s *Finding) SetSeverity(v float64) *Finding
- func (s *Finding) SetTitle(v string) *Finding
- func (s *Finding) SetType(v string) *Finding
- func (s *Finding) SetUpdatedAt(v string) *Finding
- func (s Finding) String() string
- type FindingCriteria
- type FindingStatistics
- type GeoLocation
- type GetDetectorInput
- type GetDetectorOutput
- func (s GetDetectorOutput) GoString() string
- func (s *GetDetectorOutput) SetCreatedAt(v string) *GetDetectorOutput
- func (s *GetDetectorOutput) SetServiceRole(v string) *GetDetectorOutput
- func (s *GetDetectorOutput) SetStatus(v string) *GetDetectorOutput
- func (s *GetDetectorOutput) SetUpdatedAt(v string) *GetDetectorOutput
- func (s GetDetectorOutput) String() string
- type GetFindingsInput
- func (s GetFindingsInput) GoString() string
- func (s *GetFindingsInput) SetDetectorId(v string) *GetFindingsInput
- func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput
- func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput
- func (s GetFindingsInput) String() string
- func (s *GetFindingsInput) Validate() error
- type GetFindingsOutput
- type GetFindingsStatisticsInput
- func (s GetFindingsStatisticsInput) GoString() string
- func (s *GetFindingsStatisticsInput) SetDetectorId(v string) *GetFindingsStatisticsInput
- func (s *GetFindingsStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingsStatisticsInput
- func (s *GetFindingsStatisticsInput) SetFindingStatisticTypes(v []*string) *GetFindingsStatisticsInput
- func (s GetFindingsStatisticsInput) String() string
- func (s *GetFindingsStatisticsInput) Validate() error
- type GetFindingsStatisticsOutput
- type GetIPSetInput
- type GetIPSetOutput
- func (s GetIPSetOutput) GoString() string
- func (s *GetIPSetOutput) SetFormat(v string) *GetIPSetOutput
- func (s *GetIPSetOutput) SetLocation(v string) *GetIPSetOutput
- func (s *GetIPSetOutput) SetName(v string) *GetIPSetOutput
- func (s *GetIPSetOutput) SetStatus(v string) *GetIPSetOutput
- func (s GetIPSetOutput) String() string
- type GetInvitationsCountInput
- type GetInvitationsCountOutput
- type GetMasterAccountInput
- type GetMasterAccountOutput
- type GetMembersInput
- type GetMembersOutput
- type GetThreatIntelSetInput
- func (s GetThreatIntelSetInput) GoString() string
- func (s *GetThreatIntelSetInput) SetDetectorId(v string) *GetThreatIntelSetInput
- func (s *GetThreatIntelSetInput) SetThreatIntelSetId(v string) *GetThreatIntelSetInput
- func (s GetThreatIntelSetInput) String() string
- func (s *GetThreatIntelSetInput) Validate() error
- type GetThreatIntelSetOutput
- func (s GetThreatIntelSetOutput) GoString() string
- func (s *GetThreatIntelSetOutput) SetFormat(v string) *GetThreatIntelSetOutput
- func (s *GetThreatIntelSetOutput) SetLocation(v string) *GetThreatIntelSetOutput
- func (s *GetThreatIntelSetOutput) SetName(v string) *GetThreatIntelSetOutput
- func (s *GetThreatIntelSetOutput) SetStatus(v string) *GetThreatIntelSetOutput
- func (s GetThreatIntelSetOutput) String() string
- type GuardDuty
- func (c *GuardDuty) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error)
- func (c *GuardDuty) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput)
- func (c *GuardDuty) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error)
- func (c *GuardDuty) ArchiveFindings(input *ArchiveFindingsInput) (*ArchiveFindingsOutput, error)
- func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *request.Request, output *ArchiveFindingsOutput)
- func (c *GuardDuty) ArchiveFindingsWithContext(ctx aws.Context, input *ArchiveFindingsInput, opts ...request.Option) (*ArchiveFindingsOutput, error)
- func (c *GuardDuty) CreateDetector(input *CreateDetectorInput) (*CreateDetectorOutput, error)
- func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *request.Request, output *CreateDetectorOutput)
- func (c *GuardDuty) CreateDetectorWithContext(ctx aws.Context, input *CreateDetectorInput, opts ...request.Option) (*CreateDetectorOutput, error)
- func (c *GuardDuty) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error)
- func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput)
- func (c *GuardDuty) CreateIPSetWithContext(ctx aws.Context, input *CreateIPSetInput, opts ...request.Option) (*CreateIPSetOutput, error)
- func (c *GuardDuty) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error)
- func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput)
- func (c *GuardDuty) CreateMembersWithContext(ctx aws.Context, input *CreateMembersInput, opts ...request.Option) (*CreateMembersOutput, error)
- func (c *GuardDuty) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error)
- func (c *GuardDuty) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput)
- func (c *GuardDuty) CreateSampleFindingsWithContext(ctx aws.Context, input *CreateSampleFindingsInput, opts ...request.Option) (*CreateSampleFindingsOutput, error)
- func (c *GuardDuty) CreateThreatIntelSet(input *CreateThreatIntelSetInput) (*CreateThreatIntelSetOutput, error)
- func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) (req *request.Request, output *CreateThreatIntelSetOutput)
- func (c *GuardDuty) CreateThreatIntelSetWithContext(ctx aws.Context, input *CreateThreatIntelSetInput, opts ...request.Option) (*CreateThreatIntelSetOutput, error)
- func (c *GuardDuty) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error)
- func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput)
- func (c *GuardDuty) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error)
- func (c *GuardDuty) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error)
- func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput)
- func (c *GuardDuty) DeleteDetectorWithContext(ctx aws.Context, input *DeleteDetectorInput, opts ...request.Option) (*DeleteDetectorOutput, error)
- func (c *GuardDuty) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error)
- func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput)
- func (c *GuardDuty) DeleteIPSetWithContext(ctx aws.Context, input *DeleteIPSetInput, opts ...request.Option) (*DeleteIPSetOutput, error)
- func (c *GuardDuty) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error)
- func (c *GuardDuty) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput)
- func (c *GuardDuty) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error)
- func (c *GuardDuty) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error)
- func (c *GuardDuty) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput)
- func (c *GuardDuty) DeleteMembersWithContext(ctx aws.Context, input *DeleteMembersInput, opts ...request.Option) (*DeleteMembersOutput, error)
- func (c *GuardDuty) DeleteThreatIntelSet(input *DeleteThreatIntelSetInput) (*DeleteThreatIntelSetOutput, error)
- func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) (req *request.Request, output *DeleteThreatIntelSetOutput)
- func (c *GuardDuty) DeleteThreatIntelSetWithContext(ctx aws.Context, input *DeleteThreatIntelSetInput, opts ...request.Option) (*DeleteThreatIntelSetOutput, error)
- func (c *GuardDuty) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error)
- func (c *GuardDuty) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput)
- func (c *GuardDuty) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, ...) (*DisassociateFromMasterAccountOutput, error)
- func (c *GuardDuty) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error)
- func (c *GuardDuty) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput)
- func (c *GuardDuty) DisassociateMembersWithContext(ctx aws.Context, input *DisassociateMembersInput, opts ...request.Option) (*DisassociateMembersOutput, error)
- func (c *GuardDuty) GetDetector(input *GetDetectorInput) (*GetDetectorOutput, error)
- func (c *GuardDuty) GetDetectorRequest(input *GetDetectorInput) (req *request.Request, output *GetDetectorOutput)
- func (c *GuardDuty) GetDetectorWithContext(ctx aws.Context, input *GetDetectorInput, opts ...request.Option) (*GetDetectorOutput, error)
- func (c *GuardDuty) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error)
- func (c *GuardDuty) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput)
- func (c *GuardDuty) GetFindingsStatistics(input *GetFindingsStatisticsInput) (*GetFindingsStatisticsOutput, error)
- func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInput) (req *request.Request, output *GetFindingsStatisticsOutput)
- func (c *GuardDuty) GetFindingsStatisticsWithContext(ctx aws.Context, input *GetFindingsStatisticsInput, opts ...request.Option) (*GetFindingsStatisticsOutput, error)
- func (c *GuardDuty) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error)
- func (c *GuardDuty) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error)
- func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput)
- func (c *GuardDuty) GetIPSetWithContext(ctx aws.Context, input *GetIPSetInput, opts ...request.Option) (*GetIPSetOutput, error)
- func (c *GuardDuty) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error)
- func (c *GuardDuty) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput)
- func (c *GuardDuty) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error)
- func (c *GuardDuty) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error)
- func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput)
- func (c *GuardDuty) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error)
- func (c *GuardDuty) GetMembers(input *GetMembersInput) (*GetMembersOutput, error)
- func (c *GuardDuty) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput)
- func (c *GuardDuty) GetMembersWithContext(ctx aws.Context, input *GetMembersInput, opts ...request.Option) (*GetMembersOutput, error)
- func (c *GuardDuty) GetThreatIntelSet(input *GetThreatIntelSetInput) (*GetThreatIntelSetOutput, error)
- func (c *GuardDuty) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) (req *request.Request, output *GetThreatIntelSetOutput)
- func (c *GuardDuty) GetThreatIntelSetWithContext(ctx aws.Context, input *GetThreatIntelSetInput, opts ...request.Option) (*GetThreatIntelSetOutput, error)
- func (c *GuardDuty) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error)
- func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput)
- func (c *GuardDuty) InviteMembersWithContext(ctx aws.Context, input *InviteMembersInput, opts ...request.Option) (*InviteMembersOutput, error)
- func (c *GuardDuty) ListDetectors(input *ListDetectorsInput) (*ListDetectorsOutput, error)
- func (c *GuardDuty) ListDetectorsPages(input *ListDetectorsInput, fn func(*ListDetectorsOutput, bool) bool) error
- func (c *GuardDuty) ListDetectorsPagesWithContext(ctx aws.Context, input *ListDetectorsInput, ...) error
- func (c *GuardDuty) ListDetectorsRequest(input *ListDetectorsInput) (req *request.Request, output *ListDetectorsOutput)
- func (c *GuardDuty) ListDetectorsWithContext(ctx aws.Context, input *ListDetectorsInput, opts ...request.Option) (*ListDetectorsOutput, error)
- func (c *GuardDuty) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error)
- func (c *GuardDuty) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error
- func (c *GuardDuty) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, ...) error
- func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput)
- func (c *GuardDuty) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error)
- func (c *GuardDuty) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error)
- func (c *GuardDuty) ListIPSetsPages(input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool) error
- func (c *GuardDuty) ListIPSetsPagesWithContext(ctx aws.Context, input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool, ...) error
- func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput)
- func (c *GuardDuty) ListIPSetsWithContext(ctx aws.Context, input *ListIPSetsInput, opts ...request.Option) (*ListIPSetsOutput, error)
- func (c *GuardDuty) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)
- func (c *GuardDuty) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error
- func (c *GuardDuty) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, ...) error
- func (c *GuardDuty) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)
- func (c *GuardDuty) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)
- func (c *GuardDuty) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)
- func (c *GuardDuty) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error
- func (c *GuardDuty) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, ...) error
- func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)
- func (c *GuardDuty) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)
- func (c *GuardDuty) ListThreatIntelSets(input *ListThreatIntelSetsInput) (*ListThreatIntelSetsOutput, error)
- func (c *GuardDuty) ListThreatIntelSetsPages(input *ListThreatIntelSetsInput, ...) error
- func (c *GuardDuty) ListThreatIntelSetsPagesWithContext(ctx aws.Context, input *ListThreatIntelSetsInput, ...) error
- func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) (req *request.Request, output *ListThreatIntelSetsOutput)
- func (c *GuardDuty) ListThreatIntelSetsWithContext(ctx aws.Context, input *ListThreatIntelSetsInput, opts ...request.Option) (*ListThreatIntelSetsOutput, error)
- func (c *GuardDuty) StartMonitoringMembers(input *StartMonitoringMembersInput) (*StartMonitoringMembersOutput, error)
- func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) (req *request.Request, output *StartMonitoringMembersOutput)
- func (c *GuardDuty) StartMonitoringMembersWithContext(ctx aws.Context, input *StartMonitoringMembersInput, opts ...request.Option) (*StartMonitoringMembersOutput, error)
- func (c *GuardDuty) StopMonitoringMembers(input *StopMonitoringMembersInput) (*StopMonitoringMembersOutput, error)
- func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) (req *request.Request, output *StopMonitoringMembersOutput)
- func (c *GuardDuty) StopMonitoringMembersWithContext(ctx aws.Context, input *StopMonitoringMembersInput, opts ...request.Option) (*StopMonitoringMembersOutput, error)
- func (c *GuardDuty) UnarchiveFindings(input *UnarchiveFindingsInput) (*UnarchiveFindingsOutput, error)
- func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) (req *request.Request, output *UnarchiveFindingsOutput)
- func (c *GuardDuty) UnarchiveFindingsWithContext(ctx aws.Context, input *UnarchiveFindingsInput, opts ...request.Option) (*UnarchiveFindingsOutput, error)
- func (c *GuardDuty) UpdateDetector(input *UpdateDetectorInput) (*UpdateDetectorOutput, error)
- func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *request.Request, output *UpdateDetectorOutput)
- func (c *GuardDuty) UpdateDetectorWithContext(ctx aws.Context, input *UpdateDetectorInput, opts ...request.Option) (*UpdateDetectorOutput, error)
- func (c *GuardDuty) UpdateFindingsFeedback(input *UpdateFindingsFeedbackInput) (*UpdateFindingsFeedbackOutput, error)
- func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) (req *request.Request, output *UpdateFindingsFeedbackOutput)
- func (c *GuardDuty) UpdateFindingsFeedbackWithContext(ctx aws.Context, input *UpdateFindingsFeedbackInput, opts ...request.Option) (*UpdateFindingsFeedbackOutput, error)
- func (c *GuardDuty) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error)
- func (c *GuardDuty) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput)
- func (c *GuardDuty) UpdateIPSetWithContext(ctx aws.Context, input *UpdateIPSetInput, opts ...request.Option) (*UpdateIPSetOutput, error)
- func (c *GuardDuty) UpdateThreatIntelSet(input *UpdateThreatIntelSetInput) (*UpdateThreatIntelSetOutput, error)
- func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput) (req *request.Request, output *UpdateThreatIntelSetOutput)
- func (c *GuardDuty) UpdateThreatIntelSetWithContext(ctx aws.Context, input *UpdateThreatIntelSetInput, opts ...request.Option) (*UpdateThreatIntelSetOutput, error)
- type IamInstanceProfile
- type InstanceDetails
- func (s InstanceDetails) GoString() string
- func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails
- func (s *InstanceDetails) SetIamInstanceProfile(v *IamInstanceProfile) *InstanceDetails
- func (s *InstanceDetails) SetImageId(v string) *InstanceDetails
- func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails
- func (s *InstanceDetails) SetInstanceState(v string) *InstanceDetails
- func (s *InstanceDetails) SetInstanceType(v string) *InstanceDetails
- func (s *InstanceDetails) SetLaunchTime(v string) *InstanceDetails
- func (s *InstanceDetails) SetNetworkInterfaces(v []*NetworkInterface) *InstanceDetails
- func (s *InstanceDetails) SetPlatform(v string) *InstanceDetails
- func (s *InstanceDetails) SetProductCodes(v []*ProductCode) *InstanceDetails
- func (s *InstanceDetails) SetTags(v []*Tag) *InstanceDetails
- func (s InstanceDetails) String() string
- type Invitation
- func (s Invitation) GoString() string
- func (s *Invitation) SetAccountId(v string) *Invitation
- func (s *Invitation) SetInvitationId(v string) *Invitation
- func (s *Invitation) SetInvitedAt(v string) *Invitation
- func (s *Invitation) SetRelationshipStatus(v string) *Invitation
- func (s Invitation) String() string
- type InviteMembersInput
- func (s InviteMembersInput) GoString() string
- func (s *InviteMembersInput) SetAccountIds(v []*string) *InviteMembersInput
- func (s *InviteMembersInput) SetDetectorId(v string) *InviteMembersInput
- func (s *InviteMembersInput) SetMessage(v string) *InviteMembersInput
- func (s InviteMembersInput) String() string
- func (s *InviteMembersInput) Validate() error
- type InviteMembersOutput
- type ListDetectorsInput
- type ListDetectorsOutput
- type ListFindingsInput
- func (s ListFindingsInput) GoString() string
- func (s *ListFindingsInput) SetDetectorId(v string) *ListFindingsInput
- func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput
- func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput
- func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput
- func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput
- func (s ListFindingsInput) String() string
- func (s *ListFindingsInput) Validate() error
- type ListFindingsOutput
- type ListIPSetsInput
- func (s ListIPSetsInput) GoString() string
- func (s *ListIPSetsInput) SetDetectorId(v string) *ListIPSetsInput
- func (s *ListIPSetsInput) SetMaxResults(v int64) *ListIPSetsInput
- func (s *ListIPSetsInput) SetNextToken(v string) *ListIPSetsInput
- func (s ListIPSetsInput) String() string
- func (s *ListIPSetsInput) Validate() error
- type ListIPSetsOutput
- type ListInvitationsInput
- type ListInvitationsOutput
- type ListMembersInput
- func (s ListMembersInput) GoString() string
- func (s *ListMembersInput) SetDetectorId(v string) *ListMembersInput
- func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
- func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
- func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput
- func (s ListMembersInput) String() string
- func (s *ListMembersInput) Validate() error
- type ListMembersOutput
- type ListThreatIntelSetsInput
- func (s ListThreatIntelSetsInput) GoString() string
- func (s *ListThreatIntelSetsInput) SetDetectorId(v string) *ListThreatIntelSetsInput
- func (s *ListThreatIntelSetsInput) SetMaxResults(v int64) *ListThreatIntelSetsInput
- func (s *ListThreatIntelSetsInput) SetNextToken(v string) *ListThreatIntelSetsInput
- func (s ListThreatIntelSetsInput) String() string
- func (s *ListThreatIntelSetsInput) Validate() error
- type ListThreatIntelSetsOutput
- type LocalPortDetails
- type Master
- type Member
- func (s Member) GoString() string
- func (s *Member) SetAccountId(v string) *Member
- func (s *Member) SetDetectorId(v string) *Member
- func (s *Member) SetEmail(v string) *Member
- func (s *Member) SetInvitedAt(v string) *Member
- func (s *Member) SetMasterId(v string) *Member
- func (s *Member) SetRelationshipStatus(v string) *Member
- func (s *Member) SetUpdatedAt(v string) *Member
- func (s Member) String() string
- type NetworkConnectionAction
- func (s NetworkConnectionAction) GoString() string
- func (s *NetworkConnectionAction) SetBlocked(v bool) *NetworkConnectionAction
- func (s *NetworkConnectionAction) SetConnectionDirection(v string) *NetworkConnectionAction
- func (s *NetworkConnectionAction) SetLocalPortDetails(v *LocalPortDetails) *NetworkConnectionAction
- func (s *NetworkConnectionAction) SetProtocol(v string) *NetworkConnectionAction
- func (s *NetworkConnectionAction) SetRemoteIpDetails(v *RemoteIpDetails) *NetworkConnectionAction
- func (s *NetworkConnectionAction) SetRemotePortDetails(v *RemotePortDetails) *NetworkConnectionAction
- func (s NetworkConnectionAction) String() string
- type NetworkInterface
- func (s NetworkInterface) GoString() string
- func (s *NetworkInterface) SetIpv6Addresses(v []*string) *NetworkInterface
- func (s *NetworkInterface) SetPrivateDnsName(v string) *NetworkInterface
- func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface
- func (s *NetworkInterface) SetPrivateIpAddresses(v []*PrivateIpAddressDetails) *NetworkInterface
- func (s *NetworkInterface) SetPublicDnsName(v string) *NetworkInterface
- func (s *NetworkInterface) SetPublicIp(v string) *NetworkInterface
- func (s *NetworkInterface) SetSecurityGroups(v []*SecurityGroup) *NetworkInterface
- func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface
- func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface
- func (s NetworkInterface) String() string
- type Organization
- type PrivateIpAddressDetails
- type ProductCode
- type RemoteIpDetails
- func (s RemoteIpDetails) GoString() string
- func (s *RemoteIpDetails) SetCity(v *City) *RemoteIpDetails
- func (s *RemoteIpDetails) SetCountry(v *Country) *RemoteIpDetails
- func (s *RemoteIpDetails) SetGeoLocation(v *GeoLocation) *RemoteIpDetails
- func (s *RemoteIpDetails) SetIpAddressV4(v string) *RemoteIpDetails
- func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails
- func (s RemoteIpDetails) String() string
- type RemotePortDetails
- type Resource
- type SecurityGroup
- type Service
- func (s Service) GoString() string
- func (s *Service) SetAction(v *Action) *Service
- func (s *Service) SetArchived(v bool) *Service
- func (s *Service) SetCount(v int64) *Service
- func (s *Service) SetDetectorId(v string) *Service
- func (s *Service) SetEventFirstSeen(v string) *Service
- func (s *Service) SetEventLastSeen(v string) *Service
- func (s *Service) SetResourceRole(v string) *Service
- func (s *Service) SetServiceName(v string) *Service
- func (s *Service) SetUserFeedback(v string) *Service
- func (s Service) String() string
- type SortCriteria
- type StartMonitoringMembersInput
- func (s StartMonitoringMembersInput) GoString() string
- func (s *StartMonitoringMembersInput) SetAccountIds(v []*string) *StartMonitoringMembersInput
- func (s *StartMonitoringMembersInput) SetDetectorId(v string) *StartMonitoringMembersInput
- func (s StartMonitoringMembersInput) String() string
- func (s *StartMonitoringMembersInput) Validate() error
- type StartMonitoringMembersOutput
- type StopMonitoringMembersInput
- func (s StopMonitoringMembersInput) GoString() string
- func (s *StopMonitoringMembersInput) SetAccountIds(v []*string) *StopMonitoringMembersInput
- func (s *StopMonitoringMembersInput) SetDetectorId(v string) *StopMonitoringMembersInput
- func (s StopMonitoringMembersInput) String() string
- func (s *StopMonitoringMembersInput) Validate() error
- type StopMonitoringMembersOutput
- type Tag
- type UnarchiveFindingsInput
- func (s UnarchiveFindingsInput) GoString() string
- func (s *UnarchiveFindingsInput) SetDetectorId(v string) *UnarchiveFindingsInput
- func (s *UnarchiveFindingsInput) SetFindingIds(v []*string) *UnarchiveFindingsInput
- func (s UnarchiveFindingsInput) String() string
- func (s *UnarchiveFindingsInput) Validate() error
- type UnarchiveFindingsOutput
- type UnprocessedAccount
- type UpdateDetectorInput
- type UpdateDetectorOutput
- type UpdateFindingsFeedbackInput
- func (s UpdateFindingsFeedbackInput) GoString() string
- func (s *UpdateFindingsFeedbackInput) SetComments(v string) *UpdateFindingsFeedbackInput
- func (s *UpdateFindingsFeedbackInput) SetDetectorId(v string) *UpdateFindingsFeedbackInput
- func (s *UpdateFindingsFeedbackInput) SetFeedback(v string) *UpdateFindingsFeedbackInput
- func (s *UpdateFindingsFeedbackInput) SetFindingIds(v []*string) *UpdateFindingsFeedbackInput
- func (s UpdateFindingsFeedbackInput) String() string
- func (s *UpdateFindingsFeedbackInput) Validate() error
- type UpdateFindingsFeedbackOutput
- type UpdateIPSetInput
- func (s UpdateIPSetInput) GoString() string
- func (s *UpdateIPSetInput) SetActivate(v bool) *UpdateIPSetInput
- func (s *UpdateIPSetInput) SetDetectorId(v string) *UpdateIPSetInput
- func (s *UpdateIPSetInput) SetIpSetId(v string) *UpdateIPSetInput
- func (s *UpdateIPSetInput) SetLocation(v string) *UpdateIPSetInput
- func (s *UpdateIPSetInput) SetName(v string) *UpdateIPSetInput
- func (s UpdateIPSetInput) String() string
- func (s *UpdateIPSetInput) Validate() error
- type UpdateIPSetOutput
- type UpdateThreatIntelSetInput
- func (s UpdateThreatIntelSetInput) GoString() string
- func (s *UpdateThreatIntelSetInput) SetActivate(v bool) *UpdateThreatIntelSetInput
- func (s *UpdateThreatIntelSetInput) SetDetectorId(v string) *UpdateThreatIntelSetInput
- func (s *UpdateThreatIntelSetInput) SetLocation(v string) *UpdateThreatIntelSetInput
- func (s *UpdateThreatIntelSetInput) SetName(v string) *UpdateThreatIntelSetInput
- func (s *UpdateThreatIntelSetInput) SetThreatIntelSetId(v string) *UpdateThreatIntelSetInput
- func (s UpdateThreatIntelSetInput) String() string
- func (s *UpdateThreatIntelSetInput) Validate() error
- type UpdateThreatIntelSetOutput
Constants ¶
const ( // DetectorStatusEnabled is a DetectorStatus enum value DetectorStatusEnabled = "ENABLED" // DetectorStatusDisabled is a DetectorStatus enum value DetectorStatusDisabled = "DISABLED" )
The status of detector.
const ( // FeedbackUseful is a Feedback enum value FeedbackUseful = "USEFUL" // FeedbackNotUseful is a Feedback enum value FeedbackNotUseful = "NOT_USEFUL" )
Finding Feedback Value
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" )
The format of the ipSet.
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" )
The status of ipSet file uploaded.
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" )
The format of the threatIntelSet.
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" )
The status of threatIntelSet file uploaded.
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // Error response object. ErrCodeBadRequestException = "BadRequestException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // Error response object. ErrCodeInternalServerErrorException = "InternalServerErrorException" )
const ( ServiceName = "guardduty" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
const (
// FindingStatisticTypeCountBySeverity is a FindingStatisticType enum value
FindingStatisticTypeCountBySeverity = "COUNT_BY_SEVERITY"
)
The types of finding statistics.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptInvitationInput ¶
type AcceptInvitationInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // This value is used to validate the master account to the member account. InvitationId *string `locationName:"invitationId" type:"string"` // The account ID of the master GuardDuty account whose invitation you're accepting. MasterId *string `locationName:"masterId" type:"string"` // contains filtered or unexported fields }
AcceptInvitation request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationRequest
func (AcceptInvitationInput) GoString ¶
func (s AcceptInvitationInput) GoString() string
GoString returns the string representation
func (*AcceptInvitationInput) SetDetectorId ¶
func (s *AcceptInvitationInput) SetDetectorId(v string) *AcceptInvitationInput
SetDetectorId sets the DetectorId field's value.
func (*AcceptInvitationInput) SetInvitationId ¶
func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput
SetInvitationId sets the InvitationId field's value.
func (*AcceptInvitationInput) SetMasterId ¶
func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput
SetMasterId sets the MasterId field's value.
func (AcceptInvitationInput) String ¶
func (s AcceptInvitationInput) String() string
String returns the string representation
func (*AcceptInvitationInput) Validate ¶
func (s *AcceptInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptInvitationOutput ¶
type AcceptInvitationOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationResponse
func (AcceptInvitationOutput) GoString ¶
func (s AcceptInvitationOutput) GoString() string
GoString returns the string representation
func (AcceptInvitationOutput) String ¶
func (s AcceptInvitationOutput) String() string
String returns the string representation
type AccountDetail ¶
type AccountDetail struct { // Member account ID. AccountId *string `locationName:"accountId" type:"string"` // Member account's email address. Email *string `locationName:"email" type:"string"` // contains filtered or unexported fields }
An object containing the member's accountId and email address. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountDetail
func (AccountDetail) GoString ¶
func (s AccountDetail) GoString() string
GoString returns the string representation
func (*AccountDetail) SetAccountId ¶
func (s *AccountDetail) SetAccountId(v string) *AccountDetail
SetAccountId sets the AccountId field's value.
func (*AccountDetail) SetEmail ¶
func (s *AccountDetail) SetEmail(v string) *AccountDetail
SetEmail sets the Email field's value.
func (AccountDetail) String ¶
func (s AccountDetail) String() string
String returns the string representation
type Action ¶
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"` // contains filtered or unexported fields }
Information about the activity described in a finding. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action
func (*Action) SetActionType ¶
SetActionType sets the ActionType field's value.
func (*Action) SetAwsApiCallAction ¶
func (s *Action) SetAwsApiCallAction(v *AwsApiCallAction) *Action
SetAwsApiCallAction sets the AwsApiCallAction field's value.
func (*Action) SetDnsRequestAction ¶
func (s *Action) SetDnsRequestAction(v *DnsRequestAction) *Action
SetDnsRequestAction sets the DnsRequestAction field's value.
func (*Action) SetNetworkConnectionAction ¶
func (s *Action) SetNetworkConnectionAction(v *NetworkConnectionAction) *Action
SetNetworkConnectionAction sets the NetworkConnectionAction field's value.
type ArchiveFindingsInput ¶
type ArchiveFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // IDs of the findings that you want to archive. FindingIds []*string `locationName:"findingIds" type:"list"` // contains filtered or unexported fields }
Archive Findings Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsRequest
func (ArchiveFindingsInput) GoString ¶
func (s ArchiveFindingsInput) GoString() string
GoString returns the string representation
func (*ArchiveFindingsInput) SetDetectorId ¶
func (s *ArchiveFindingsInput) SetDetectorId(v string) *ArchiveFindingsInput
SetDetectorId sets the DetectorId field's value.
func (*ArchiveFindingsInput) SetFindingIds ¶
func (s *ArchiveFindingsInput) SetFindingIds(v []*string) *ArchiveFindingsInput
SetFindingIds sets the FindingIds field's value.
func (ArchiveFindingsInput) String ¶
func (s ArchiveFindingsInput) String() string
String returns the string representation
func (*ArchiveFindingsInput) Validate ¶
func (s *ArchiveFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ArchiveFindingsOutput ¶
type ArchiveFindingsOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsResponse
func (ArchiveFindingsOutput) GoString ¶
func (s ArchiveFindingsOutput) GoString() string
GoString returns the string representation
func (ArchiveFindingsOutput) String ¶
func (s ArchiveFindingsOutput) String() string
String returns the string representation
type AwsApiCallAction ¶
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 }
Information about the AWS_API_CALL action described in this finding. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AwsApiCallAction
func (AwsApiCallAction) GoString ¶
func (s AwsApiCallAction) GoString() string
GoString returns the string representation
func (*AwsApiCallAction) SetApi ¶
func (s *AwsApiCallAction) SetApi(v string) *AwsApiCallAction
SetApi sets the Api field's value.
func (*AwsApiCallAction) SetCallerType ¶
func (s *AwsApiCallAction) SetCallerType(v string) *AwsApiCallAction
SetCallerType sets the CallerType field's value.
func (*AwsApiCallAction) SetDomainDetails ¶
func (s *AwsApiCallAction) SetDomainDetails(v *DomainDetails) *AwsApiCallAction
SetDomainDetails sets the DomainDetails field's value.
func (*AwsApiCallAction) SetRemoteIpDetails ¶
func (s *AwsApiCallAction) SetRemoteIpDetails(v *RemoteIpDetails) *AwsApiCallAction
SetRemoteIpDetails sets the RemoteIpDetails field's value.
func (*AwsApiCallAction) SetServiceName ¶
func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction
SetServiceName sets the ServiceName field's value.
func (AwsApiCallAction) String ¶
func (s AwsApiCallAction) String() string
String returns the string representation
type City ¶
type City struct { // City name of the remote IP address. CityName *string `locationName:"cityName" type:"string"` // contains filtered or unexported fields }
City information of the remote IP address. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/City
func (*City) SetCityName ¶
SetCityName sets the CityName field's value.
type Condition ¶
type Condition struct { // Represents the equal condition to be applied to a single field when querying // for findings. Eq []*string `locationName:"eq" type:"list"` // Represents the greater than condition to be applied to a single field when // querying for findings. Gt *int64 `locationName:"gt" type:"integer"` // Represents the greater than equal condition to be applied to a single field // when querying for findings. Gte *int64 `locationName:"gte" type:"integer"` // Represents the less than condition to be applied to a single field when querying // for findings. Lt *int64 `locationName:"lt" type:"integer"` // Represents the less than equal condition to be applied to a single field // when querying for findings. Lte *int64 `locationName:"lte" type:"integer"` // Represents the not equal condition to be applied to a single field when querying // for findings. Neq []*string `locationName:"neq" type:"list"` // contains filtered or unexported fields }
Finding attribute (for example, accountId) for which conditions and values must be specified when querying findings. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition
type Country ¶
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 }
Country information of the remote IP address. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Country
func (*Country) SetCountryCode ¶
SetCountryCode sets the CountryCode field's value.
func (*Country) SetCountryName ¶
SetCountryName sets the CountryName field's value.
type CreateDetectorInput ¶
type CreateDetectorInput struct { // A boolean value that specifies whether the detector is to be enabled. Enable *bool `locationName:"enable" type:"boolean"` // contains filtered or unexported fields }
Create Detector Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest
func (CreateDetectorInput) GoString ¶
func (s CreateDetectorInput) GoString() string
GoString returns the string representation
func (*CreateDetectorInput) SetEnable ¶
func (s *CreateDetectorInput) SetEnable(v bool) *CreateDetectorInput
SetEnable sets the Enable field's value.
func (CreateDetectorInput) String ¶
func (s CreateDetectorInput) String() string
String returns the string representation
type CreateDetectorOutput ¶
type CreateDetectorOutput struct { // The unique ID of the created detector. DetectorId *string `locationName:"detectorId" type:"string"` // contains filtered or unexported fields }
CreateDetector response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse
func (CreateDetectorOutput) GoString ¶
func (s CreateDetectorOutput) GoString() string
GoString returns the string representation
func (*CreateDetectorOutput) SetDetectorId ¶
func (s *CreateDetectorOutput) SetDetectorId(v string) *CreateDetectorOutput
SetDetectorId sets the DetectorId field's value.
func (CreateDetectorOutput) String ¶
func (s CreateDetectorOutput) String() string
String returns the string representation
type CreateIPSetInput ¶
type CreateIPSetInput struct { // A boolean value that indicates whether GuardDuty is to start using the uploaded // IPSet. Activate *bool `locationName:"activate" type:"boolean"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // The format of the file that contains the IPSet. Format *string `locationName:"format" type:"string" 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 *string `locationName:"location" type:"string"` // 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 *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Create IP Set Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest
func (CreateIPSetInput) GoString ¶
func (s CreateIPSetInput) GoString() string
GoString returns the string representation
func (*CreateIPSetInput) SetActivate ¶
func (s *CreateIPSetInput) SetActivate(v bool) *CreateIPSetInput
SetActivate sets the Activate field's value.
func (*CreateIPSetInput) SetDetectorId ¶
func (s *CreateIPSetInput) SetDetectorId(v string) *CreateIPSetInput
SetDetectorId sets the DetectorId field's value.
func (*CreateIPSetInput) SetFormat ¶
func (s *CreateIPSetInput) SetFormat(v string) *CreateIPSetInput
SetFormat sets the Format field's value.
func (*CreateIPSetInput) SetLocation ¶
func (s *CreateIPSetInput) SetLocation(v string) *CreateIPSetInput
SetLocation sets the Location field's value.
func (*CreateIPSetInput) SetName ¶
func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput
SetName sets the Name field's value.
func (CreateIPSetInput) String ¶
func (s CreateIPSetInput) String() string
String returns the string representation
func (*CreateIPSetInput) Validate ¶
func (s *CreateIPSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateIPSetOutput ¶
type CreateIPSetOutput struct { // The unique identifier for an IP Set IpSetId *string `locationName:"ipSetId" type:"string"` // contains filtered or unexported fields }
CreateIPSet response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetResponse
func (CreateIPSetOutput) GoString ¶
func (s CreateIPSetOutput) GoString() string
GoString returns the string representation
func (*CreateIPSetOutput) SetIpSetId ¶
func (s *CreateIPSetOutput) SetIpSetId(v string) *CreateIPSetOutput
SetIpSetId sets the IpSetId field's value.
func (CreateIPSetOutput) String ¶
func (s CreateIPSetOutput) String() string
String returns the string representation
type CreateMembersInput ¶
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 []*AccountDetail `locationName:"accountDetails" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
CreateMembers body See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersRequest
func (CreateMembersInput) GoString ¶
func (s CreateMembersInput) GoString() string
GoString returns the string representation
func (*CreateMembersInput) SetAccountDetails ¶
func (s *CreateMembersInput) SetAccountDetails(v []*AccountDetail) *CreateMembersInput
SetAccountDetails sets the AccountDetails field's value.
func (*CreateMembersInput) SetDetectorId ¶
func (s *CreateMembersInput) SetDetectorId(v string) *CreateMembersInput
SetDetectorId sets the DetectorId field's value.
func (CreateMembersInput) String ¶
func (s CreateMembersInput) String() string
String returns the string representation
func (*CreateMembersInput) Validate ¶
func (s *CreateMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMembersOutput ¶
type CreateMembersOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
CreateMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersResponse
func (CreateMembersOutput) GoString ¶
func (s CreateMembersOutput) GoString() string
GoString returns the string representation
func (*CreateMembersOutput) SetUnprocessedAccounts ¶
func (s *CreateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (CreateMembersOutput) String ¶
func (s CreateMembersOutput) String() string
String returns the string representation
type CreateSampleFindingsInput ¶
type CreateSampleFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // Types of sample findings that you want to generate. FindingTypes []*string `locationName:"findingTypes" type:"list"` // contains filtered or unexported fields }
Create Sample Findings Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsRequest
func (CreateSampleFindingsInput) GoString ¶
func (s CreateSampleFindingsInput) GoString() string
GoString returns the string representation
func (*CreateSampleFindingsInput) SetDetectorId ¶
func (s *CreateSampleFindingsInput) SetDetectorId(v string) *CreateSampleFindingsInput
SetDetectorId sets the DetectorId field's value.
func (*CreateSampleFindingsInput) SetFindingTypes ¶
func (s *CreateSampleFindingsInput) SetFindingTypes(v []*string) *CreateSampleFindingsInput
SetFindingTypes sets the FindingTypes field's value.
func (CreateSampleFindingsInput) String ¶
func (s CreateSampleFindingsInput) String() string
String returns the string representation
func (*CreateSampleFindingsInput) Validate ¶
func (s *CreateSampleFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSampleFindingsOutput ¶
type CreateSampleFindingsOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsResponse
func (CreateSampleFindingsOutput) GoString ¶
func (s CreateSampleFindingsOutput) GoString() string
GoString returns the string representation
func (CreateSampleFindingsOutput) String ¶
func (s CreateSampleFindingsOutput) String() string
String returns the string representation
type CreateThreatIntelSetInput ¶
type CreateThreatIntelSetInput struct { // A boolean value that indicates whether GuardDuty is to start using the uploaded // ThreatIntelSet. Activate *bool `locationName:"activate" type:"boolean"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // The format of the file that contains the ThreatIntelSet. Format *string `locationName:"format" type:"string" 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 *string `locationName:"location" type:"string"` // A user-friendly ThreatIntelSet name that is displayed in all finding generated // by activity that involves IP addresses included in this ThreatIntelSet. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Create Threat Intel Set Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetRequest
func (CreateThreatIntelSetInput) GoString ¶
func (s CreateThreatIntelSetInput) GoString() string
GoString returns the string representation
func (*CreateThreatIntelSetInput) SetActivate ¶
func (s *CreateThreatIntelSetInput) SetActivate(v bool) *CreateThreatIntelSetInput
SetActivate sets the Activate field's value.
func (*CreateThreatIntelSetInput) SetDetectorId ¶
func (s *CreateThreatIntelSetInput) SetDetectorId(v string) *CreateThreatIntelSetInput
SetDetectorId sets the DetectorId field's value.
func (*CreateThreatIntelSetInput) SetFormat ¶
func (s *CreateThreatIntelSetInput) SetFormat(v string) *CreateThreatIntelSetInput
SetFormat sets the Format field's value.
func (*CreateThreatIntelSetInput) SetLocation ¶
func (s *CreateThreatIntelSetInput) SetLocation(v string) *CreateThreatIntelSetInput
SetLocation sets the Location field's value.
func (*CreateThreatIntelSetInput) SetName ¶
func (s *CreateThreatIntelSetInput) SetName(v string) *CreateThreatIntelSetInput
SetName sets the Name field's value.
func (CreateThreatIntelSetInput) String ¶
func (s CreateThreatIntelSetInput) String() string
String returns the string representation
func (*CreateThreatIntelSetInput) Validate ¶
func (s *CreateThreatIntelSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateThreatIntelSetOutput ¶
type CreateThreatIntelSetOutput struct { // The unique identifier for an threat intel set ThreatIntelSetId *string `locationName:"threatIntelSetId" type:"string"` // contains filtered or unexported fields }
CreateThreatIntelSet response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetResponse
func (CreateThreatIntelSetOutput) GoString ¶
func (s CreateThreatIntelSetOutput) GoString() string
GoString returns the string representation
func (*CreateThreatIntelSetOutput) SetThreatIntelSetId ¶
func (s *CreateThreatIntelSetOutput) SetThreatIntelSetId(v string) *CreateThreatIntelSetOutput
SetThreatIntelSetId sets the ThreatIntelSetId field's value.
func (CreateThreatIntelSetOutput) String ¶
func (s CreateThreatIntelSetOutput) String() string
String returns the string representation
type DeclineInvitationsInput ¶
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 []*string `locationName:"accountIds" type:"list"` // contains filtered or unexported fields }
DeclineInvitations request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsRequest
func (DeclineInvitationsInput) GoString ¶
func (s DeclineInvitationsInput) GoString() string
GoString returns the string representation
func (*DeclineInvitationsInput) SetAccountIds ¶
func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput
SetAccountIds sets the AccountIds field's value.
func (DeclineInvitationsInput) String ¶
func (s DeclineInvitationsInput) String() string
String returns the string representation
type DeclineInvitationsOutput ¶
type DeclineInvitationsOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
DeclineInvitations response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsResponse
func (DeclineInvitationsOutput) GoString ¶
func (s DeclineInvitationsOutput) GoString() string
GoString returns the string representation
func (*DeclineInvitationsOutput) SetUnprocessedAccounts ¶
func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeclineInvitationsOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (DeclineInvitationsOutput) String ¶
func (s DeclineInvitationsOutput) String() string
String returns the string representation
type DeleteDetectorInput ¶
type DeleteDetectorInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorRequest
func (DeleteDetectorInput) GoString ¶
func (s DeleteDetectorInput) GoString() string
GoString returns the string representation
func (*DeleteDetectorInput) SetDetectorId ¶
func (s *DeleteDetectorInput) SetDetectorId(v string) *DeleteDetectorInput
SetDetectorId sets the DetectorId field's value.
func (DeleteDetectorInput) String ¶
func (s DeleteDetectorInput) String() string
String returns the string representation
func (*DeleteDetectorInput) Validate ¶
func (s *DeleteDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDetectorOutput ¶
type DeleteDetectorOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorResponse
func (DeleteDetectorOutput) GoString ¶
func (s DeleteDetectorOutput) GoString() string
GoString returns the string representation
func (DeleteDetectorOutput) String ¶
func (s DeleteDetectorOutput) String() string
String returns the string representation
type DeleteIPSetInput ¶
type DeleteIPSetInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // IpSetId is a required field IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetRequest
func (DeleteIPSetInput) GoString ¶
func (s DeleteIPSetInput) GoString() string
GoString returns the string representation
func (*DeleteIPSetInput) SetDetectorId ¶
func (s *DeleteIPSetInput) SetDetectorId(v string) *DeleteIPSetInput
SetDetectorId sets the DetectorId field's value.
func (*DeleteIPSetInput) SetIpSetId ¶
func (s *DeleteIPSetInput) SetIpSetId(v string) *DeleteIPSetInput
SetIpSetId sets the IpSetId field's value.
func (DeleteIPSetInput) String ¶
func (s DeleteIPSetInput) String() string
String returns the string representation
func (*DeleteIPSetInput) Validate ¶
func (s *DeleteIPSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteIPSetOutput ¶
type DeleteIPSetOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetResponse
func (DeleteIPSetOutput) GoString ¶
func (s DeleteIPSetOutput) GoString() string
GoString returns the string representation
func (DeleteIPSetOutput) String ¶
func (s DeleteIPSetOutput) String() string
String returns the string representation
type DeleteInvitationsInput ¶
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 []*string `locationName:"accountIds" type:"list"` // contains filtered or unexported fields }
DeleteInvitations request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsRequest
func (DeleteInvitationsInput) GoString ¶
func (s DeleteInvitationsInput) GoString() string
GoString returns the string representation
func (*DeleteInvitationsInput) SetAccountIds ¶
func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput
SetAccountIds sets the AccountIds field's value.
func (DeleteInvitationsInput) String ¶
func (s DeleteInvitationsInput) String() string
String returns the string representation
type DeleteInvitationsOutput ¶
type DeleteInvitationsOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
DeleteInvitations response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsResponse
func (DeleteInvitationsOutput) GoString ¶
func (s DeleteInvitationsOutput) GoString() string
GoString returns the string representation
func (*DeleteInvitationsOutput) SetUnprocessedAccounts ¶
func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteInvitationsOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (DeleteInvitationsOutput) String ¶
func (s DeleteInvitationsOutput) String() string
String returns the string representation
type DeleteMembersInput ¶
type DeleteMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to delete. AccountIds []*string `locationName:"accountIds" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
DeleteMembers request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersRequest
func (DeleteMembersInput) GoString ¶
func (s DeleteMembersInput) GoString() string
GoString returns the string representation
func (*DeleteMembersInput) SetAccountIds ¶
func (s *DeleteMembersInput) SetAccountIds(v []*string) *DeleteMembersInput
SetAccountIds sets the AccountIds field's value.
func (*DeleteMembersInput) SetDetectorId ¶
func (s *DeleteMembersInput) SetDetectorId(v string) *DeleteMembersInput
SetDetectorId sets the DetectorId field's value.
func (DeleteMembersInput) String ¶
func (s DeleteMembersInput) String() string
String returns the string representation
func (*DeleteMembersInput) Validate ¶
func (s *DeleteMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMembersOutput ¶
type DeleteMembersOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
DeleteMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersResponse
func (DeleteMembersOutput) GoString ¶
func (s DeleteMembersOutput) GoString() string
GoString returns the string representation
func (*DeleteMembersOutput) SetUnprocessedAccounts ¶
func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (DeleteMembersOutput) String ¶
func (s DeleteMembersOutput) String() string
String returns the string representation
type DeleteThreatIntelSetInput ¶
type DeleteThreatIntelSetInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetRequest
func (DeleteThreatIntelSetInput) GoString ¶
func (s DeleteThreatIntelSetInput) GoString() string
GoString returns the string representation
func (*DeleteThreatIntelSetInput) SetDetectorId ¶
func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput
SetDetectorId sets the DetectorId field's value.
func (*DeleteThreatIntelSetInput) SetThreatIntelSetId ¶
func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput
SetThreatIntelSetId sets the ThreatIntelSetId field's value.
func (DeleteThreatIntelSetInput) String ¶
func (s DeleteThreatIntelSetInput) String() string
String returns the string representation
func (*DeleteThreatIntelSetInput) Validate ¶
func (s *DeleteThreatIntelSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteThreatIntelSetOutput ¶
type DeleteThreatIntelSetOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetResponse
func (DeleteThreatIntelSetOutput) GoString ¶
func (s DeleteThreatIntelSetOutput) GoString() string
GoString returns the string representation
func (DeleteThreatIntelSetOutput) String ¶
func (s DeleteThreatIntelSetOutput) String() string
String returns the string representation
type DisassociateFromMasterAccountInput ¶
type DisassociateFromMasterAccountInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountRequest
func (DisassociateFromMasterAccountInput) GoString ¶
func (s DisassociateFromMasterAccountInput) GoString() string
GoString returns the string representation
func (*DisassociateFromMasterAccountInput) SetDetectorId ¶
func (s *DisassociateFromMasterAccountInput) SetDetectorId(v string) *DisassociateFromMasterAccountInput
SetDetectorId sets the DetectorId field's value.
func (DisassociateFromMasterAccountInput) String ¶
func (s DisassociateFromMasterAccountInput) String() string
String returns the string representation
func (*DisassociateFromMasterAccountInput) Validate ¶
func (s *DisassociateFromMasterAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateFromMasterAccountOutput ¶
type DisassociateFromMasterAccountOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountResponse
func (DisassociateFromMasterAccountOutput) GoString ¶
func (s DisassociateFromMasterAccountOutput) GoString() string
GoString returns the string representation
func (DisassociateFromMasterAccountOutput) String ¶
func (s DisassociateFromMasterAccountOutput) String() string
String returns the string representation
type DisassociateMembersInput ¶
type DisassociateMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to disassociate // from master. AccountIds []*string `locationName:"accountIds" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
DisassociateMembers request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersRequest
func (DisassociateMembersInput) GoString ¶
func (s DisassociateMembersInput) GoString() string
GoString returns the string representation
func (*DisassociateMembersInput) SetAccountIds ¶
func (s *DisassociateMembersInput) SetAccountIds(v []*string) *DisassociateMembersInput
SetAccountIds sets the AccountIds field's value.
func (*DisassociateMembersInput) SetDetectorId ¶
func (s *DisassociateMembersInput) SetDetectorId(v string) *DisassociateMembersInput
SetDetectorId sets the DetectorId field's value.
func (DisassociateMembersInput) String ¶
func (s DisassociateMembersInput) String() string
String returns the string representation
func (*DisassociateMembersInput) Validate ¶
func (s *DisassociateMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateMembersOutput ¶
type DisassociateMembersOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
DisassociateMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersResponse
func (DisassociateMembersOutput) GoString ¶
func (s DisassociateMembersOutput) GoString() string
GoString returns the string representation
func (*DisassociateMembersOutput) SetUnprocessedAccounts ¶
func (s *DisassociateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DisassociateMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (DisassociateMembersOutput) String ¶
func (s DisassociateMembersOutput) String() string
String returns the string representation
type DnsRequestAction ¶
type DnsRequestAction struct { // Domain information for the DNS request. Domain *string `locationName:"domain" type:"string"` // contains filtered or unexported fields }
Information about the DNS_REQUEST action described in this finding. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DnsRequestAction
func (DnsRequestAction) GoString ¶
func (s DnsRequestAction) GoString() string
GoString returns the string representation
func (*DnsRequestAction) SetDomain ¶
func (s *DnsRequestAction) SetDomain(v string) *DnsRequestAction
SetDomain sets the Domain field's value.
func (DnsRequestAction) String ¶
func (s DnsRequestAction) String() string
String returns the string representation
type DomainDetails ¶
type DomainDetails struct {
// contains filtered or unexported fields
}
Domain information for the AWS API call. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DomainDetails
func (DomainDetails) GoString ¶
func (s DomainDetails) GoString() string
GoString returns the string representation
func (DomainDetails) String ¶
func (s DomainDetails) String() string
String returns the string representation
type Finding ¶
type Finding struct { // AWS account ID where the activity occurred that prompted GuardDuty to generate // a finding. AccountId *string `locationName:"accountId" type:"string"` // The ARN of a finding described by the action. Arn *string `locationName:"arn" type:"string"` // The confidence level of a finding. Confidence *float64 `locationName:"confidence" type:"double"` // The time stamp at which a finding was generated. CreatedAt *string `locationName:"createdAt" type:"string"` // The description of a finding. Description *string `locationName:"description" type:"string"` // The identifier that corresponds to a finding described by the action. Id *string `locationName:"id" type:"string"` // The AWS resource partition. Partition *string `locationName:"partition" type:"string"` // The AWS region where the activity occurred that prompted GuardDuty to generate // a finding. Region *string `locationName:"region" type:"string"` // The AWS resource associated with the activity that prompted GuardDuty to // generate a finding. Resource *Resource `locationName:"resource" type:"structure"` // Findings' schema version. SchemaVersion *string `locationName:"schemaVersion" type:"string"` // Additional information assigned to the generated finding by GuardDuty. Service *Service `locationName:"service" type:"structure"` // The severity of a finding. Severity *float64 `locationName:"severity" type:"double"` // The title of a finding. Title *string `locationName:"title" type:"string"` // The type of a finding described by the action. Type *string `locationName:"type" type:"string"` // The time stamp at which a finding was last updated. UpdatedAt *string `locationName:"updatedAt" type:"string"` // contains filtered or unexported fields }
Representation of a abnormal or suspicious activity. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Finding
func (*Finding) SetAccountId ¶
SetAccountId sets the AccountId field's value.
func (*Finding) SetConfidence ¶
SetConfidence sets the Confidence field's value.
func (*Finding) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Finding) SetDescription ¶
SetDescription sets the Description field's value.
func (*Finding) SetPartition ¶
SetPartition sets the Partition field's value.
func (*Finding) SetResource ¶
SetResource sets the Resource field's value.
func (*Finding) SetSchemaVersion ¶
SetSchemaVersion sets the SchemaVersion field's value.
func (*Finding) SetService ¶
SetService sets the Service field's value.
func (*Finding) SetSeverity ¶
SetSeverity sets the Severity field's value.
func (*Finding) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field's value.
type FindingCriteria ¶
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 }
Represents the criteria used for querying findings. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingCriteria
func (FindingCriteria) GoString ¶
func (s FindingCriteria) GoString() string
GoString returns the string representation
func (*FindingCriteria) SetCriterion ¶
func (s *FindingCriteria) SetCriterion(v map[string]*Condition) *FindingCriteria
SetCriterion sets the Criterion field's value.
func (FindingCriteria) String ¶
func (s FindingCriteria) String() string
String returns the string representation
type FindingStatistics ¶
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 }
Finding statistics object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics
func (FindingStatistics) GoString ¶
func (s FindingStatistics) GoString() string
GoString returns the string representation
func (*FindingStatistics) SetCountBySeverity ¶
func (s *FindingStatistics) SetCountBySeverity(v map[string]*int64) *FindingStatistics
SetCountBySeverity sets the CountBySeverity field's value.
func (FindingStatistics) String ¶
func (s FindingStatistics) String() string
String returns the string representation
type GeoLocation ¶
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 }
Location information of the remote IP address. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GeoLocation
func (GeoLocation) GoString ¶
func (s GeoLocation) GoString() string
GoString returns the string representation
func (*GeoLocation) SetLat ¶
func (s *GeoLocation) SetLat(v float64) *GeoLocation
SetLat sets the Lat field's value.
func (*GeoLocation) SetLon ¶
func (s *GeoLocation) SetLon(v float64) *GeoLocation
SetLon sets the Lon field's value.
func (GeoLocation) String ¶
func (s GeoLocation) String() string
String returns the string representation
type GetDetectorInput ¶
type GetDetectorInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorRequest
func (GetDetectorInput) GoString ¶
func (s GetDetectorInput) GoString() string
GoString returns the string representation
func (*GetDetectorInput) SetDetectorId ¶
func (s *GetDetectorInput) SetDetectorId(v string) *GetDetectorInput
SetDetectorId sets the DetectorId field's value.
func (GetDetectorInput) String ¶
func (s GetDetectorInput) String() string
String returns the string representation
func (*GetDetectorInput) Validate ¶
func (s *GetDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDetectorOutput ¶
type GetDetectorOutput struct { // The first time a resource was created. The format will be ISO-8601. CreatedAt *string `locationName:"createdAt" type:"string"` // Customer serviceRole name or ARN for accessing customer resources ServiceRole *string `locationName:"serviceRole" type:"string"` // The status of detector. Status *string `locationName:"status" type:"string" enum:"DetectorStatus"` // The first time a resource was created. The format will be ISO-8601. UpdatedAt *string `locationName:"updatedAt" type:"string"` // contains filtered or unexported fields }
GetDetector response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse
func (GetDetectorOutput) GoString ¶
func (s GetDetectorOutput) GoString() string
GoString returns the string representation
func (*GetDetectorOutput) SetCreatedAt ¶
func (s *GetDetectorOutput) SetCreatedAt(v string) *GetDetectorOutput
SetCreatedAt sets the CreatedAt field's value.
func (*GetDetectorOutput) SetServiceRole ¶
func (s *GetDetectorOutput) SetServiceRole(v string) *GetDetectorOutput
SetServiceRole sets the ServiceRole field's value.
func (*GetDetectorOutput) SetStatus ¶
func (s *GetDetectorOutput) SetStatus(v string) *GetDetectorOutput
SetStatus sets the Status field's value.
func (*GetDetectorOutput) SetUpdatedAt ¶
func (s *GetDetectorOutput) SetUpdatedAt(v string) *GetDetectorOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (GetDetectorOutput) String ¶
func (s GetDetectorOutput) String() string
String returns the string representation
type GetFindingsInput ¶
type GetFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // IDs of the findings that you want to retrieve. FindingIds []*string `locationName:"findingIds" type:"list"` // Represents the criteria used for sorting findings. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Get Findings Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsRequest
func (GetFindingsInput) GoString ¶
func (s GetFindingsInput) GoString() string
GoString returns the string representation
func (*GetFindingsInput) SetDetectorId ¶
func (s *GetFindingsInput) SetDetectorId(v string) *GetFindingsInput
SetDetectorId sets the DetectorId field's value.
func (*GetFindingsInput) SetFindingIds ¶
func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput
SetFindingIds sets the FindingIds field's value.
func (*GetFindingsInput) SetSortCriteria ¶
func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput
SetSortCriteria sets the SortCriteria field's value.
func (GetFindingsInput) String ¶
func (s GetFindingsInput) String() string
String returns the string representation
func (*GetFindingsInput) Validate ¶
func (s *GetFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFindingsOutput ¶
type GetFindingsOutput struct { // A list of findings. Findings []*Finding `locationName:"findings" type:"list"` // contains filtered or unexported fields }
GetFindings response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsResponse
func (GetFindingsOutput) GoString ¶
func (s GetFindingsOutput) GoString() string
GoString returns the string representation
func (*GetFindingsOutput) SetFindings ¶
func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput
SetFindings sets the Findings field's value.
func (GetFindingsOutput) String ¶
func (s GetFindingsOutput) String() string
String returns the string representation
type GetFindingsStatisticsInput ¶
type GetFindingsStatisticsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // Represents the criteria used for querying findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` // Types of finding statistics to retrieve. FindingStatisticTypes []*string `locationName:"findingStatisticTypes" type:"list"` // contains filtered or unexported fields }
Get Findings Statistics Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest
func (GetFindingsStatisticsInput) GoString ¶
func (s GetFindingsStatisticsInput) GoString() string
GoString returns the string representation
func (*GetFindingsStatisticsInput) SetDetectorId ¶
func (s *GetFindingsStatisticsInput) SetDetectorId(v string) *GetFindingsStatisticsInput
SetDetectorId sets the DetectorId field's value.
func (*GetFindingsStatisticsInput) SetFindingCriteria ¶
func (s *GetFindingsStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingsStatisticsInput
SetFindingCriteria sets the FindingCriteria field's value.
func (*GetFindingsStatisticsInput) SetFindingStatisticTypes ¶
func (s *GetFindingsStatisticsInput) SetFindingStatisticTypes(v []*string) *GetFindingsStatisticsInput
SetFindingStatisticTypes sets the FindingStatisticTypes field's value.
func (GetFindingsStatisticsInput) String ¶
func (s GetFindingsStatisticsInput) String() string
String returns the string representation
func (*GetFindingsStatisticsInput) Validate ¶
func (s *GetFindingsStatisticsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFindingsStatisticsOutput ¶
type GetFindingsStatisticsOutput struct { // Finding statistics object. FindingStatistics *FindingStatistics `locationName:"findingStatistics" type:"structure"` // contains filtered or unexported fields }
GetFindingsStatistics response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse
func (GetFindingsStatisticsOutput) GoString ¶
func (s GetFindingsStatisticsOutput) GoString() string
GoString returns the string representation
func (*GetFindingsStatisticsOutput) SetFindingStatistics ¶
func (s *GetFindingsStatisticsOutput) SetFindingStatistics(v *FindingStatistics) *GetFindingsStatisticsOutput
SetFindingStatistics sets the FindingStatistics field's value.
func (GetFindingsStatisticsOutput) String ¶
func (s GetFindingsStatisticsOutput) String() string
String returns the string representation
type GetIPSetInput ¶
type GetIPSetInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // IpSetId is a required field IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetRequest
func (GetIPSetInput) GoString ¶
func (s GetIPSetInput) GoString() string
GoString returns the string representation
func (*GetIPSetInput) SetDetectorId ¶
func (s *GetIPSetInput) SetDetectorId(v string) *GetIPSetInput
SetDetectorId sets the DetectorId field's value.
func (*GetIPSetInput) SetIpSetId ¶
func (s *GetIPSetInput) SetIpSetId(v string) *GetIPSetInput
SetIpSetId sets the IpSetId field's value.
func (GetIPSetInput) String ¶
func (s GetIPSetInput) String() string
String returns the string representation
func (*GetIPSetInput) Validate ¶
func (s *GetIPSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIPSetOutput ¶
type GetIPSetOutput struct { // The format of the file that contains the IPSet. Format *string `locationName:"format" type:"string" 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 *string `locationName:"location" type:"string"` // 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 *string `locationName:"name" type:"string"` // The status of ipSet file uploaded. Status *string `locationName:"status" type:"string" enum:"IpSetStatus"` // contains filtered or unexported fields }
GetIPSet response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse
func (GetIPSetOutput) GoString ¶
func (s GetIPSetOutput) GoString() string
GoString returns the string representation
func (*GetIPSetOutput) SetFormat ¶
func (s *GetIPSetOutput) SetFormat(v string) *GetIPSetOutput
SetFormat sets the Format field's value.
func (*GetIPSetOutput) SetLocation ¶
func (s *GetIPSetOutput) SetLocation(v string) *GetIPSetOutput
SetLocation sets the Location field's value.
func (*GetIPSetOutput) SetName ¶
func (s *GetIPSetOutput) SetName(v string) *GetIPSetOutput
SetName sets the Name field's value.
func (*GetIPSetOutput) SetStatus ¶
func (s *GetIPSetOutput) SetStatus(v string) *GetIPSetOutput
SetStatus sets the Status field's value.
func (GetIPSetOutput) String ¶
func (s GetIPSetOutput) String() string
String returns the string representation
type GetInvitationsCountInput ¶
type GetInvitationsCountInput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountRequest
func (GetInvitationsCountInput) GoString ¶
func (s GetInvitationsCountInput) GoString() string
GoString returns the string representation
func (GetInvitationsCountInput) String ¶
func (s GetInvitationsCountInput) String() string
String returns the string representation
type GetInvitationsCountOutput ¶
type GetInvitationsCountOutput struct { // The number of received invitations. InvitationsCount *int64 `locationName:"invitationsCount" type:"integer"` // contains filtered or unexported fields }
GetInvitationsCount response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountResponse
func (GetInvitationsCountOutput) GoString ¶
func (s GetInvitationsCountOutput) GoString() string
GoString returns the string representation
func (*GetInvitationsCountOutput) SetInvitationsCount ¶
func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput
SetInvitationsCount sets the InvitationsCount field's value.
func (GetInvitationsCountOutput) String ¶
func (s GetInvitationsCountOutput) String() string
String returns the string representation
type GetMasterAccountInput ¶
type GetMasterAccountInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountRequest
func (GetMasterAccountInput) GoString ¶
func (s GetMasterAccountInput) GoString() string
GoString returns the string representation
func (*GetMasterAccountInput) SetDetectorId ¶
func (s *GetMasterAccountInput) SetDetectorId(v string) *GetMasterAccountInput
SetDetectorId sets the DetectorId field's value.
func (GetMasterAccountInput) String ¶
func (s GetMasterAccountInput) String() string
String returns the string representation
func (*GetMasterAccountInput) Validate ¶
func (s *GetMasterAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMasterAccountOutput ¶
type GetMasterAccountOutput struct { // Contains details about the master account. Master *Master `locationName:"master" type:"structure"` // contains filtered or unexported fields }
GetMasterAccount response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountResponse
func (GetMasterAccountOutput) GoString ¶
func (s GetMasterAccountOutput) GoString() string
GoString returns the string representation
func (*GetMasterAccountOutput) SetMaster ¶
func (s *GetMasterAccountOutput) SetMaster(v *Master) *GetMasterAccountOutput
SetMaster sets the Master field's value.
func (GetMasterAccountOutput) String ¶
func (s GetMasterAccountOutput) String() string
String returns the string representation
type GetMembersInput ¶
type GetMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to describe. AccountIds []*string `locationName:"accountIds" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
GetMembers request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersRequest
func (GetMembersInput) GoString ¶
func (s GetMembersInput) GoString() string
GoString returns the string representation
func (*GetMembersInput) SetAccountIds ¶
func (s *GetMembersInput) SetAccountIds(v []*string) *GetMembersInput
SetAccountIds sets the AccountIds field's value.
func (*GetMembersInput) SetDetectorId ¶
func (s *GetMembersInput) SetDetectorId(v string) *GetMembersInput
SetDetectorId sets the DetectorId field's value.
func (GetMembersInput) String ¶
func (s GetMembersInput) String() string
String returns the string representation
func (*GetMembersInput) Validate ¶
func (s *GetMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMembersOutput ¶
type GetMembersOutput struct { // A list of member descriptions. Members []*Member `locationName:"members" type:"list"` // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
GetMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersResponse
func (GetMembersOutput) GoString ¶
func (s GetMembersOutput) GoString() string
GoString returns the string representation
func (*GetMembersOutput) SetMembers ¶
func (s *GetMembersOutput) SetMembers(v []*Member) *GetMembersOutput
SetMembers sets the Members field's value.
func (*GetMembersOutput) SetUnprocessedAccounts ¶
func (s *GetMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *GetMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (GetMembersOutput) String ¶
func (s GetMembersOutput) String() string
String returns the string representation
type GetThreatIntelSetInput ¶
type GetThreatIntelSetInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetRequest
func (GetThreatIntelSetInput) GoString ¶
func (s GetThreatIntelSetInput) GoString() string
GoString returns the string representation
func (*GetThreatIntelSetInput) SetDetectorId ¶
func (s *GetThreatIntelSetInput) SetDetectorId(v string) *GetThreatIntelSetInput
SetDetectorId sets the DetectorId field's value.
func (*GetThreatIntelSetInput) SetThreatIntelSetId ¶
func (s *GetThreatIntelSetInput) SetThreatIntelSetId(v string) *GetThreatIntelSetInput
SetThreatIntelSetId sets the ThreatIntelSetId field's value.
func (GetThreatIntelSetInput) String ¶
func (s GetThreatIntelSetInput) String() string
String returns the string representation
func (*GetThreatIntelSetInput) Validate ¶
func (s *GetThreatIntelSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetThreatIntelSetOutput ¶
type GetThreatIntelSetOutput struct { // The format of the threatIntelSet. Format *string `locationName:"format" type:"string" 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 *string `locationName:"location" type:"string"` // A user-friendly ThreatIntelSet name that is displayed in all finding generated // by activity that involves IP addresses included in this ThreatIntelSet. Name *string `locationName:"name" type:"string"` // The status of threatIntelSet file uploaded. Status *string `locationName:"status" type:"string" enum:"ThreatIntelSetStatus"` // contains filtered or unexported fields }
GetThreatIntelSet response object See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse
func (GetThreatIntelSetOutput) GoString ¶
func (s GetThreatIntelSetOutput) GoString() string
GoString returns the string representation
func (*GetThreatIntelSetOutput) SetFormat ¶
func (s *GetThreatIntelSetOutput) SetFormat(v string) *GetThreatIntelSetOutput
SetFormat sets the Format field's value.
func (*GetThreatIntelSetOutput) SetLocation ¶
func (s *GetThreatIntelSetOutput) SetLocation(v string) *GetThreatIntelSetOutput
SetLocation sets the Location field's value.
func (*GetThreatIntelSetOutput) SetName ¶
func (s *GetThreatIntelSetOutput) SetName(v string) *GetThreatIntelSetOutput
SetName sets the Name field's value.
func (*GetThreatIntelSetOutput) SetStatus ¶
func (s *GetThreatIntelSetOutput) SetStatus(v string) *GetThreatIntelSetOutput
SetStatus sets the Status field's value.
func (GetThreatIntelSetOutput) String ¶
func (s GetThreatIntelSetOutput) String() string
String returns the string representation
type GuardDuty ¶
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation
func (*GuardDuty) AcceptInvitationRequest ¶
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 complets successfuly.
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 ¶
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 ¶
func (c *GuardDuty) ArchiveFindings(input *ArchiveFindingsInput) (*ArchiveFindingsOutput, error)
ArchiveFindings API operation for Amazon GuardDuty.
Archives 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 ArchiveFindings for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings
func (*GuardDuty) ArchiveFindingsRequest ¶
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 complets successfuly.
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 ¶
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 ¶
func (c *GuardDuty) CreateDetector(input *CreateDetectorInput) (*CreateDetectorOutput, error)
CreateDetector API operation for Amazon GuardDuty.
Creates a single Amazon GuardDuty detector. A detector is an object that represents the GuardDuty service. A detector must be created in order for GuardDuty to become operational.
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector
func (*GuardDuty) CreateDetectorRequest ¶
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 complets successfuly.
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 ¶
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) CreateIPSet ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet
func (*GuardDuty) CreateIPSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers
func (*GuardDuty) CreateMembersRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings
func (*GuardDuty) CreateSampleFindingsRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet
func (*GuardDuty) CreateThreatIntelSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations
func (*GuardDuty) DeclineInvitationsRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector
func (*GuardDuty) DeleteDetectorRequest ¶
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 complets successfuly.
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 ¶
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) DeleteIPSet ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet
func (*GuardDuty) DeleteIPSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations
func (*GuardDuty) DeleteInvitationsRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers
func (*GuardDuty) DeleteMembersRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet
func (*GuardDuty) DeleteThreatIntelSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount
func (*GuardDuty) DisassociateFromMasterAccountRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers
func (*GuardDuty) DisassociateMembersRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector
func (*GuardDuty) GetDetectorRequest ¶
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 complets successfuly.
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 ¶
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) GetFindings ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings
func (*GuardDuty) GetFindingsRequest ¶
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 complets successfuly.
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics
func (*GuardDuty) GetFindingsStatisticsRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet
func (*GuardDuty) GetIPSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount
func (*GuardDuty) GetInvitationsCountRequest ¶
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 complets successfuly.
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 ¶
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 ¶
func (c *GuardDuty) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error)
GetMasterAccount API operation for Amazon GuardDuty.
Provides the details for the GuardDuty master account to 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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount
func (*GuardDuty) GetMasterAccountRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers
func (*GuardDuty) GetMembersRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet
func (*GuardDuty) GetThreatIntelSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers
func (*GuardDuty) InviteMembersRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors
func (*GuardDuty) ListDetectorsPages ¶
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 *ListDetectorsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*GuardDuty) ListDetectorsPagesWithContext ¶
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 ¶
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 complets successfuly.
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 ¶
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) ListFindings ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings
func (*GuardDuty) ListFindingsPages ¶
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 *ListFindingsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*GuardDuty) ListFindingsPagesWithContext ¶
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 ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets
func (*GuardDuty) ListIPSetsPages ¶
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 *ListIPSetsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*GuardDuty) ListIPSetsPagesWithContext ¶
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 ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations
func (*GuardDuty) ListInvitationsPages ¶
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 *ListInvitationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*GuardDuty) ListInvitationsPagesWithContext ¶
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 ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers
func (*GuardDuty) ListMembersPages ¶
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 *ListMembersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*GuardDuty) ListMembersPagesWithContext ¶
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 ¶
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 complets successfuly.
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 ¶
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) ListThreatIntelSets ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets
func (*GuardDuty) ListThreatIntelSetsPages ¶
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 *ListThreatIntelSetsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*GuardDuty) ListThreatIntelSetsPagesWithContext ¶
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 ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers
func (*GuardDuty) StartMonitoringMembersRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers
func (*GuardDuty) StopMonitoringMembersRequest ¶
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 complets successfuly.
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 ¶
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) UnarchiveFindings ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings
func (*GuardDuty) UnarchiveFindingsRequest ¶
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 complets successfuly.
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 ¶
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) UpdateDetector ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector
func (*GuardDuty) UpdateDetectorRequest ¶
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 complets successfuly.
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 ¶
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) UpdateFindingsFeedback ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback
func (*GuardDuty) UpdateFindingsFeedbackRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet
func (*GuardDuty) UpdateIPSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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" Error response object.
ErrCodeInternalServerErrorException "InternalServerErrorException" Error response object.
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet
func (*GuardDuty) UpdateThreatIntelSetRequest ¶
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 complets successfuly.
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 ¶
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 ¶
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 }
The profile information of the EC2 instance. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfile
func (IamInstanceProfile) GoString ¶
func (s IamInstanceProfile) GoString() string
GoString returns the string representation
func (*IamInstanceProfile) SetArn ¶
func (s *IamInstanceProfile) SetArn(v string) *IamInstanceProfile
SetArn sets the Arn field's value.
func (*IamInstanceProfile) SetId ¶
func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile
SetId sets the Id field's value.
func (IamInstanceProfile) String ¶
func (s IamInstanceProfile) String() string
String returns the string representation
type InstanceDetails ¶
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 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 }
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InstanceDetails
func (InstanceDetails) GoString ¶
func (s InstanceDetails) GoString() string
GoString returns the string representation
func (*InstanceDetails) SetAvailabilityZone ¶
func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*InstanceDetails) SetIamInstanceProfile ¶
func (s *InstanceDetails) SetIamInstanceProfile(v *IamInstanceProfile) *InstanceDetails
SetIamInstanceProfile sets the IamInstanceProfile field's value.
func (*InstanceDetails) SetImageId ¶
func (s *InstanceDetails) SetImageId(v string) *InstanceDetails
SetImageId sets the ImageId field's value.
func (*InstanceDetails) SetInstanceId ¶
func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails
SetInstanceId sets the InstanceId field's value.
func (*InstanceDetails) SetInstanceState ¶
func (s *InstanceDetails) SetInstanceState(v string) *InstanceDetails
SetInstanceState sets the InstanceState field's value.
func (*InstanceDetails) SetInstanceType ¶
func (s *InstanceDetails) SetInstanceType(v string) *InstanceDetails
SetInstanceType sets the InstanceType field's value.
func (*InstanceDetails) SetLaunchTime ¶
func (s *InstanceDetails) SetLaunchTime(v string) *InstanceDetails
SetLaunchTime sets the LaunchTime field's value.
func (*InstanceDetails) SetNetworkInterfaces ¶
func (s *InstanceDetails) SetNetworkInterfaces(v []*NetworkInterface) *InstanceDetails
SetNetworkInterfaces sets the NetworkInterfaces field's value.
func (*InstanceDetails) SetPlatform ¶
func (s *InstanceDetails) SetPlatform(v string) *InstanceDetails
SetPlatform sets the Platform field's value.
func (*InstanceDetails) SetProductCodes ¶
func (s *InstanceDetails) SetProductCodes(v []*ProductCode) *InstanceDetails
SetProductCodes sets the ProductCodes field's value.
func (*InstanceDetails) SetTags ¶
func (s *InstanceDetails) SetTags(v []*Tag) *InstanceDetails
SetTags sets the Tags field's value.
func (InstanceDetails) String ¶
func (s InstanceDetails) String() string
String returns the string representation
type Invitation ¶
type Invitation struct { // Inviter account ID AccountId *string `locationName:"accountId" 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 }
Invitation from an AWS account to become the current account's master. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Invitation
func (Invitation) GoString ¶
func (s Invitation) GoString() string
GoString returns the string representation
func (*Invitation) SetAccountId ¶
func (s *Invitation) SetAccountId(v string) *Invitation
SetAccountId sets the AccountId field's value.
func (*Invitation) SetInvitationId ¶
func (s *Invitation) SetInvitationId(v string) *Invitation
SetInvitationId sets the InvitationId field's value.
func (*Invitation) SetInvitedAt ¶
func (s *Invitation) SetInvitedAt(v string) *Invitation
SetInvitedAt sets the InvitedAt field's value.
func (*Invitation) SetRelationshipStatus ¶
func (s *Invitation) SetRelationshipStatus(v string) *Invitation
SetRelationshipStatus sets the RelationshipStatus field's value.
func (Invitation) String ¶
func (s Invitation) String() string
String returns the string representation
type InviteMembersInput ¶
type InviteMembersInput struct { // A list of account IDs of the accounts that you want to invite to GuardDuty // as members. AccountIds []*string `locationName:"accountIds" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // 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 }
InviteMembers request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest
func (InviteMembersInput) GoString ¶
func (s InviteMembersInput) GoString() string
GoString returns the string representation
func (*InviteMembersInput) SetAccountIds ¶
func (s *InviteMembersInput) SetAccountIds(v []*string) *InviteMembersInput
SetAccountIds sets the AccountIds field's value.
func (*InviteMembersInput) SetDetectorId ¶
func (s *InviteMembersInput) SetDetectorId(v string) *InviteMembersInput
SetDetectorId sets the DetectorId field's value.
func (*InviteMembersInput) SetMessage ¶
func (s *InviteMembersInput) SetMessage(v string) *InviteMembersInput
SetMessage sets the Message field's value.
func (InviteMembersInput) String ¶
func (s InviteMembersInput) String() string
String returns the string representation
func (*InviteMembersInput) Validate ¶
func (s *InviteMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InviteMembersOutput ¶
type InviteMembersOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
InviteMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersResponse
func (InviteMembersOutput) GoString ¶
func (s InviteMembersOutput) GoString() string
GoString returns the string representation
func (*InviteMembersOutput) SetUnprocessedAccounts ¶
func (s *InviteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *InviteMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (InviteMembersOutput) String ¶
func (s InviteMembersOutput) String() string
String returns the string representation
type ListDetectorsInput ¶
type ListDetectorsInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsRequest
func (ListDetectorsInput) GoString ¶
func (s ListDetectorsInput) GoString() string
GoString returns the string representation
func (*ListDetectorsInput) SetMaxResults ¶
func (s *ListDetectorsInput) SetMaxResults(v int64) *ListDetectorsInput
SetMaxResults sets the MaxResults field's value.
func (*ListDetectorsInput) SetNextToken ¶
func (s *ListDetectorsInput) SetNextToken(v string) *ListDetectorsInput
SetNextToken sets the NextToken field's value.
func (ListDetectorsInput) String ¶
func (s ListDetectorsInput) String() string
String returns the string representation
func (*ListDetectorsInput) Validate ¶
func (s *ListDetectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDetectorsOutput ¶
type ListDetectorsOutput struct { // A list of detector Ids. DetectorIds []*string `locationName:"detectorIds" type:"list"` // 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"` // contains filtered or unexported fields }
ListDetectors response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsResponse
func (ListDetectorsOutput) GoString ¶
func (s ListDetectorsOutput) GoString() string
GoString returns the string representation
func (*ListDetectorsOutput) SetDetectorIds ¶
func (s *ListDetectorsOutput) SetDetectorIds(v []*string) *ListDetectorsOutput
SetDetectorIds sets the DetectorIds field's value.
func (*ListDetectorsOutput) SetNextToken ¶
func (s *ListDetectorsOutput) SetNextToken(v string) *ListDetectorsOutput
SetNextToken sets the NextToken field's value.
func (ListDetectorsOutput) String ¶
func (s ListDetectorsOutput) String() string
String returns the string representation
type ListFindingsInput ¶
type ListFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" 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 ListFindings 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 }
List Findings Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsRequest
func (ListFindingsInput) GoString ¶
func (s ListFindingsInput) GoString() string
GoString returns the string representation
func (*ListFindingsInput) SetDetectorId ¶
func (s *ListFindingsInput) SetDetectorId(v string) *ListFindingsInput
SetDetectorId sets the DetectorId field's value.
func (*ListFindingsInput) SetFindingCriteria ¶
func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput
SetFindingCriteria sets the FindingCriteria field's value.
func (*ListFindingsInput) SetMaxResults ¶
func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput
SetMaxResults sets the MaxResults field's value.
func (*ListFindingsInput) SetNextToken ¶
func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput
SetNextToken sets the NextToken field's value.
func (*ListFindingsInput) SetSortCriteria ¶
func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput
SetSortCriteria sets the SortCriteria field's value.
func (ListFindingsInput) String ¶
func (s ListFindingsInput) String() string
String returns the string representation
func (*ListFindingsInput) Validate ¶
func (s *ListFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFindingsOutput ¶
type ListFindingsOutput struct { // The list of the Findings. FindingIds []*string `locationName:"findingIds" type:"list"` // 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"` // contains filtered or unexported fields }
ListFindings response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsResponse
func (ListFindingsOutput) GoString ¶
func (s ListFindingsOutput) GoString() string
GoString returns the string representation
func (*ListFindingsOutput) SetFindingIds ¶
func (s *ListFindingsOutput) SetFindingIds(v []*string) *ListFindingsOutput
SetFindingIds sets the FindingIds field's value.
func (*ListFindingsOutput) SetNextToken ¶
func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput
SetNextToken sets the NextToken field's value.
func (ListFindingsOutput) String ¶
func (s ListFindingsOutput) String() string
String returns the string representation
type ListIPSetsInput ¶
type ListIPSetsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items that you // want in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsRequest
func (ListIPSetsInput) GoString ¶
func (s ListIPSetsInput) GoString() string
GoString returns the string representation
func (*ListIPSetsInput) SetDetectorId ¶
func (s *ListIPSetsInput) SetDetectorId(v string) *ListIPSetsInput
SetDetectorId sets the DetectorId field's value.
func (*ListIPSetsInput) SetMaxResults ¶
func (s *ListIPSetsInput) SetMaxResults(v int64) *ListIPSetsInput
SetMaxResults sets the MaxResults field's value.
func (*ListIPSetsInput) SetNextToken ¶
func (s *ListIPSetsInput) SetNextToken(v string) *ListIPSetsInput
SetNextToken sets the NextToken field's value.
func (ListIPSetsInput) String ¶
func (s ListIPSetsInput) String() string
String returns the string representation
func (*ListIPSetsInput) Validate ¶
func (s *ListIPSetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListIPSetsOutput ¶
type ListIPSetsOutput struct { // A list of the IP set IDs IpSetIds []*string `locationName:"ipSetIds" type:"list"` // 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"` // contains filtered or unexported fields }
ListIPSets response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsResponse
func (ListIPSetsOutput) GoString ¶
func (s ListIPSetsOutput) GoString() string
GoString returns the string representation
func (*ListIPSetsOutput) SetIpSetIds ¶
func (s *ListIPSetsOutput) SetIpSetIds(v []*string) *ListIPSetsOutput
SetIpSetIds sets the IpSetIds field's value.
func (*ListIPSetsOutput) SetNextToken ¶
func (s *ListIPSetsOutput) SetNextToken(v string) *ListIPSetsOutput
SetNextToken sets the NextToken field's value.
func (ListIPSetsOutput) String ¶
func (s ListIPSetsOutput) String() string
String returns the string representation
type ListInvitationsInput ¶
type ListInvitationsInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsRequest
func (ListInvitationsInput) GoString ¶
func (s ListInvitationsInput) GoString() string
GoString returns the string representation
func (*ListInvitationsInput) SetMaxResults ¶
func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListInvitationsInput) SetNextToken ¶
func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput
SetNextToken sets the NextToken field's value.
func (ListInvitationsInput) String ¶
func (s ListInvitationsInput) String() string
String returns the string representation
func (*ListInvitationsInput) Validate ¶
func (s *ListInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInvitationsOutput ¶
type ListInvitationsOutput struct { // A list of invitation descriptions. Invitations []*Invitation `locationName:"invitations" type:"list"` // 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"` // contains filtered or unexported fields }
ListInvitations response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsResponse
func (ListInvitationsOutput) GoString ¶
func (s ListInvitationsOutput) GoString() string
GoString returns the string representation
func (*ListInvitationsOutput) SetInvitations ¶
func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput
SetInvitations sets the Invitations field's value.
func (*ListInvitationsOutput) SetNextToken ¶
func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput
SetNextToken sets the NextToken field's value.
func (ListInvitationsOutput) String ¶
func (s ListInvitationsOutput) String() string
String returns the string representation
type ListMembersInput ¶
type ListMembersInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items that you // want in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest
func (ListMembersInput) GoString ¶
func (s ListMembersInput) GoString() string
GoString returns the string representation
func (*ListMembersInput) SetDetectorId ¶
func (s *ListMembersInput) SetDetectorId(v string) *ListMembersInput
SetDetectorId sets the DetectorId field's value.
func (*ListMembersInput) SetMaxResults ¶
func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
SetMaxResults sets the MaxResults field's value.
func (*ListMembersInput) SetNextToken ¶
func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
SetNextToken sets the NextToken field's value.
func (*ListMembersInput) SetOnlyAssociated ¶
func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput
SetOnlyAssociated sets the OnlyAssociated field's value.
func (ListMembersInput) String ¶
func (s ListMembersInput) String() string
String returns the string representation
func (*ListMembersInput) Validate ¶
func (s *ListMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMembersOutput ¶
type ListMembersOutput struct { // A list of member descriptions. Members []*Member `locationName:"members" type:"list"` // 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"` // contains filtered or unexported fields }
ListMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersResponse
func (ListMembersOutput) GoString ¶
func (s ListMembersOutput) GoString() string
GoString returns the string representation
func (*ListMembersOutput) SetMembers ¶
func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput
SetMembers sets the Members field's value.
func (*ListMembersOutput) SetNextToken ¶
func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput
SetNextToken sets the NextToken field's value.
func (ListMembersOutput) String ¶
func (s ListMembersOutput) String() string
String returns the string representation
type ListThreatIntelSetsInput ¶
type ListThreatIntelSetsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items that you // want in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsRequest
func (ListThreatIntelSetsInput) GoString ¶
func (s ListThreatIntelSetsInput) GoString() string
GoString returns the string representation
func (*ListThreatIntelSetsInput) SetDetectorId ¶
func (s *ListThreatIntelSetsInput) SetDetectorId(v string) *ListThreatIntelSetsInput
SetDetectorId sets the DetectorId field's value.
func (*ListThreatIntelSetsInput) SetMaxResults ¶
func (s *ListThreatIntelSetsInput) SetMaxResults(v int64) *ListThreatIntelSetsInput
SetMaxResults sets the MaxResults field's value.
func (*ListThreatIntelSetsInput) SetNextToken ¶
func (s *ListThreatIntelSetsInput) SetNextToken(v string) *ListThreatIntelSetsInput
SetNextToken sets the NextToken field's value.
func (ListThreatIntelSetsInput) String ¶
func (s ListThreatIntelSetsInput) String() string
String returns the string representation
func (*ListThreatIntelSetsInput) Validate ¶
func (s *ListThreatIntelSetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThreatIntelSetsOutput ¶
type ListThreatIntelSetsOutput struct { // 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"` // The list of the threat intel set IDs ThreatIntelSetIds []*string `locationName:"threatIntelSetIds" type:"list"` // contains filtered or unexported fields }
ListThreatIntelSets response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsResponse
func (ListThreatIntelSetsOutput) GoString ¶
func (s ListThreatIntelSetsOutput) GoString() string
GoString returns the string representation
func (*ListThreatIntelSetsOutput) SetNextToken ¶
func (s *ListThreatIntelSetsOutput) SetNextToken(v string) *ListThreatIntelSetsOutput
SetNextToken sets the NextToken field's value.
func (*ListThreatIntelSetsOutput) SetThreatIntelSetIds ¶
func (s *ListThreatIntelSetsOutput) SetThreatIntelSetIds(v []*string) *ListThreatIntelSetsOutput
SetThreatIntelSetIds sets the ThreatIntelSetIds field's value.
func (ListThreatIntelSetsOutput) String ¶
func (s ListThreatIntelSetsOutput) String() string
String returns the string representation
type LocalPortDetails ¶
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 }
Local port information of the connection. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LocalPortDetails
func (LocalPortDetails) GoString ¶
func (s LocalPortDetails) GoString() string
GoString returns the string representation
func (*LocalPortDetails) SetPort ¶
func (s *LocalPortDetails) SetPort(v int64) *LocalPortDetails
SetPort sets the Port field's value.
func (*LocalPortDetails) SetPortName ¶
func (s *LocalPortDetails) SetPortName(v string) *LocalPortDetails
SetPortName sets the PortName field's value.
func (LocalPortDetails) String ¶
func (s LocalPortDetails) String() string
String returns the string representation
type Master ¶
type Master struct { // Master account ID AccountId *string `locationName:"accountId" 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 details about the master account. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Master
func (*Master) SetAccountId ¶
SetAccountId sets the AccountId field's value.
func (*Master) SetInvitationId ¶
SetInvitationId sets the InvitationId field's value.
func (*Master) SetInvitedAt ¶
SetInvitedAt sets the InvitedAt field's value.
func (*Master) SetRelationshipStatus ¶
SetRelationshipStatus sets the RelationshipStatus field's value.
type Member ¶
type Member struct { // AWS account ID. AccountId *string `locationName:"accountId" type:"string"` // The unique identifier for a detector. DetectorId *string `locationName:"detectorId" type:"string"` // Member account's email address. Email *string `locationName:"email" type:"string"` // Timestamp at which the invitation was sent InvitedAt *string `locationName:"invitedAt" type:"string"` // The master account ID. MasterId *string `locationName:"masterId" type:"string"` // The status of the relationship between the member and the master. RelationshipStatus *string `locationName:"relationshipStatus" type:"string"` // The first time a resource was created. The format will be ISO-8601. UpdatedAt *string `locationName:"updatedAt" type:"string"` // contains filtered or unexported fields }
Contains details about the member account. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Member
func (*Member) SetAccountId ¶
SetAccountId sets the AccountId field's value.
func (*Member) SetDetectorId ¶
SetDetectorId sets the DetectorId field's value.
func (*Member) SetInvitedAt ¶
SetInvitedAt sets the InvitedAt field's value.
func (*Member) SetMasterId ¶
SetMasterId sets the MasterId field's value.
func (*Member) SetRelationshipStatus ¶
SetRelationshipStatus sets the RelationshipStatus field's value.
func (*Member) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field's value.
type NetworkConnectionAction ¶
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 }
Information about the NETWORK_CONNECTION action described in this finding. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkConnectionAction
func (NetworkConnectionAction) GoString ¶
func (s NetworkConnectionAction) GoString() string
GoString returns the string representation
func (*NetworkConnectionAction) SetBlocked ¶
func (s *NetworkConnectionAction) SetBlocked(v bool) *NetworkConnectionAction
SetBlocked sets the Blocked field's value.
func (*NetworkConnectionAction) SetConnectionDirection ¶
func (s *NetworkConnectionAction) SetConnectionDirection(v string) *NetworkConnectionAction
SetConnectionDirection sets the ConnectionDirection field's value.
func (*NetworkConnectionAction) SetLocalPortDetails ¶
func (s *NetworkConnectionAction) SetLocalPortDetails(v *LocalPortDetails) *NetworkConnectionAction
SetLocalPortDetails sets the LocalPortDetails field's value.
func (*NetworkConnectionAction) SetProtocol ¶
func (s *NetworkConnectionAction) SetProtocol(v string) *NetworkConnectionAction
SetProtocol sets the Protocol field's value.
func (*NetworkConnectionAction) SetRemoteIpDetails ¶
func (s *NetworkConnectionAction) SetRemoteIpDetails(v *RemoteIpDetails) *NetworkConnectionAction
SetRemoteIpDetails sets the RemoteIpDetails field's value.
func (*NetworkConnectionAction) SetRemotePortDetails ¶
func (s *NetworkConnectionAction) SetRemotePortDetails(v *RemotePortDetails) *NetworkConnectionAction
SetRemotePortDetails sets the RemotePortDetails field's value.
func (NetworkConnectionAction) String ¶
func (s NetworkConnectionAction) String() string
String returns the string representation
type NetworkInterface ¶
type NetworkInterface struct { // A list of EC2 instance IPv6 address information. Ipv6Addresses []*string `locationName:"ipv6Addresses" type:"list"` // 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 }
The network interface information of the EC2 instance. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkInterface
func (NetworkInterface) GoString ¶
func (s NetworkInterface) GoString() string
GoString returns the string representation
func (*NetworkInterface) SetIpv6Addresses ¶
func (s *NetworkInterface) SetIpv6Addresses(v []*string) *NetworkInterface
SetIpv6Addresses sets the Ipv6Addresses field's value.
func (*NetworkInterface) SetPrivateDnsName ¶
func (s *NetworkInterface) SetPrivateDnsName(v string) *NetworkInterface
SetPrivateDnsName sets the PrivateDnsName field's value.
func (*NetworkInterface) SetPrivateIpAddress ¶
func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface
SetPrivateIpAddress sets the PrivateIpAddress field's value.
func (*NetworkInterface) SetPrivateIpAddresses ¶
func (s *NetworkInterface) SetPrivateIpAddresses(v []*PrivateIpAddressDetails) *NetworkInterface
SetPrivateIpAddresses sets the PrivateIpAddresses field's value.
func (*NetworkInterface) SetPublicDnsName ¶
func (s *NetworkInterface) SetPublicDnsName(v string) *NetworkInterface
SetPublicDnsName sets the PublicDnsName field's value.
func (*NetworkInterface) SetPublicIp ¶
func (s *NetworkInterface) SetPublicIp(v string) *NetworkInterface
SetPublicIp sets the PublicIp field's value.
func (*NetworkInterface) SetSecurityGroups ¶
func (s *NetworkInterface) SetSecurityGroups(v []*SecurityGroup) *NetworkInterface
SetSecurityGroups sets the SecurityGroups field's value.
func (*NetworkInterface) SetSubnetId ¶
func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface
SetSubnetId sets the SubnetId field's value.
func (*NetworkInterface) SetVpcId ¶
func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface
SetVpcId sets the VpcId field's value.
func (NetworkInterface) String ¶
func (s NetworkInterface) String() string
String returns the string representation
type Organization ¶
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 }
ISP Organization information of the remote IP address. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization
func (Organization) GoString ¶
func (s Organization) GoString() string
GoString returns the string representation
func (*Organization) SetAsn ¶
func (s *Organization) SetAsn(v string) *Organization
SetAsn sets the Asn field's value.
func (*Organization) SetAsnOrg ¶
func (s *Organization) SetAsnOrg(v string) *Organization
SetAsnOrg sets the AsnOrg field's value.
func (*Organization) SetIsp ¶
func (s *Organization) SetIsp(v string) *Organization
SetIsp sets the Isp field's value.
func (*Organization) SetOrg ¶
func (s *Organization) SetOrg(v string) *Organization
SetOrg sets the Org field's value.
func (Organization) String ¶
func (s Organization) String() string
String returns the string representation
type PrivateIpAddressDetails ¶
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 }
Other private IP address information of the EC2 instance. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails
func (PrivateIpAddressDetails) GoString ¶
func (s PrivateIpAddressDetails) GoString() string
GoString returns the string representation
func (*PrivateIpAddressDetails) SetPrivateDnsName ¶
func (s *PrivateIpAddressDetails) SetPrivateDnsName(v string) *PrivateIpAddressDetails
SetPrivateDnsName sets the PrivateDnsName field's value.
func (*PrivateIpAddressDetails) SetPrivateIpAddress ¶
func (s *PrivateIpAddressDetails) SetPrivateIpAddress(v string) *PrivateIpAddressDetails
SetPrivateIpAddress sets the PrivateIpAddress field's value.
func (PrivateIpAddressDetails) String ¶
func (s PrivateIpAddressDetails) String() string
String returns the string representation
type ProductCode ¶
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 }
The product code of the EC2 instance. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProductCode
func (ProductCode) GoString ¶
func (s ProductCode) GoString() string
GoString returns the string representation
func (*ProductCode) SetCode ¶
func (s *ProductCode) SetCode(v string) *ProductCode
SetCode sets the Code field's value.
func (*ProductCode) SetProductType ¶
func (s *ProductCode) SetProductType(v string) *ProductCode
SetProductType sets the ProductType field's value.
func (ProductCode) String ¶
func (s ProductCode) String() string
String returns the string representation
type RemoteIpDetails ¶
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 }
Remote IP information of the connection. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteIpDetails
func (RemoteIpDetails) GoString ¶
func (s RemoteIpDetails) GoString() string
GoString returns the string representation
func (*RemoteIpDetails) SetCity ¶
func (s *RemoteIpDetails) SetCity(v *City) *RemoteIpDetails
SetCity sets the City field's value.
func (*RemoteIpDetails) SetCountry ¶
func (s *RemoteIpDetails) SetCountry(v *Country) *RemoteIpDetails
SetCountry sets the Country field's value.
func (*RemoteIpDetails) SetGeoLocation ¶
func (s *RemoteIpDetails) SetGeoLocation(v *GeoLocation) *RemoteIpDetails
SetGeoLocation sets the GeoLocation field's value.
func (*RemoteIpDetails) SetIpAddressV4 ¶
func (s *RemoteIpDetails) SetIpAddressV4(v string) *RemoteIpDetails
SetIpAddressV4 sets the IpAddressV4 field's value.
func (*RemoteIpDetails) SetOrganization ¶
func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails
SetOrganization sets the Organization field's value.
func (RemoteIpDetails) String ¶
func (s RemoteIpDetails) String() string
String returns the string representation
type RemotePortDetails ¶
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 }
Remote port information of the connection. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemotePortDetails
func (RemotePortDetails) GoString ¶
func (s RemotePortDetails) GoString() string
GoString returns the string representation
func (*RemotePortDetails) SetPort ¶
func (s *RemotePortDetails) SetPort(v int64) *RemotePortDetails
SetPort sets the Port field's value.
func (*RemotePortDetails) SetPortName ¶
func (s *RemotePortDetails) SetPortName(v string) *RemotePortDetails
SetPortName sets the PortName field's value.
func (RemotePortDetails) String ¶
func (s RemotePortDetails) String() string
String returns the string representation
type Resource ¶
type Resource struct { // 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 }
The AWS resource associated with the activity that prompted GuardDuty to generate a finding. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource
func (*Resource) SetInstanceDetails ¶
func (s *Resource) SetInstanceDetails(v *InstanceDetails) *Resource
SetInstanceDetails sets the InstanceDetails field's value.
func (*Resource) SetResourceType ¶
SetResourceType sets the ResourceType field's value.
type SecurityGroup ¶
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 }
Security groups associated with the EC2 instance. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SecurityGroup
func (SecurityGroup) GoString ¶
func (s SecurityGroup) GoString() string
GoString returns the string representation
func (*SecurityGroup) SetGroupId ¶
func (s *SecurityGroup) SetGroupId(v string) *SecurityGroup
SetGroupId sets the GroupId field's value.
func (*SecurityGroup) SetGroupName ¶
func (s *SecurityGroup) SetGroupName(v string) *SecurityGroup
SetGroupName sets the GroupName field's value.
func (SecurityGroup) String ¶
func (s SecurityGroup) String() string
String returns the string representation
type Service ¶
type Service struct { // Information about the activity described in a finding. Action *Action `locationName:"action" type:"structure"` // Indicates whether this finding is archived. Archived *bool `locationName:"archived" type:"boolean"` // Total count of the occurrences of this finding type. Count *int64 `locationName:"count" type:"integer"` // Detector ID for the GuardDuty service. DetectorId *string `locationName:"detectorId" type:"string"` // First seen timestamp of the activity that prompted GuardDuty to generate // this finding. EventFirstSeen *string `locationName:"eventFirstSeen" type:"string"` // Last seen timestamp of the activity that prompted GuardDuty to generate this // finding. EventLastSeen *string `locationName:"eventLastSeen" type:"string"` // Resource role information for this finding. ResourceRole *string `locationName:"resourceRole" type:"string"` // The name of the AWS service (GuardDuty) that generated a finding. ServiceName *string `locationName:"serviceName" type:"string"` // Feedback left about the finding. UserFeedback *string `locationName:"userFeedback" type:"string"` // contains filtered or unexported fields }
Additional information assigned to the generated finding by GuardDuty. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service
func (*Service) SetArchived ¶
SetArchived sets the Archived field's value.
func (*Service) SetDetectorId ¶
SetDetectorId sets the DetectorId field's value.
func (*Service) SetEventFirstSeen ¶
SetEventFirstSeen sets the EventFirstSeen field's value.
func (*Service) SetEventLastSeen ¶
SetEventLastSeen sets the EventLastSeen field's value.
func (*Service) SetResourceRole ¶
SetResourceRole sets the ResourceRole field's value.
func (*Service) SetServiceName ¶
SetServiceName sets the ServiceName field's value.
func (*Service) SetUserFeedback ¶
SetUserFeedback sets the UserFeedback field's value.
type SortCriteria ¶
type SortCriteria struct { // Represents the finding attribute (for example, accountId) by which to sort // findings. AttributeName *string `locationName:"attributeName" type:"string"` // Order by which the sorted findings are to be displayed. OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` // contains filtered or unexported fields }
Represents the criteria used for sorting findings. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SortCriteria
func (SortCriteria) GoString ¶
func (s SortCriteria) GoString() string
GoString returns the string representation
func (*SortCriteria) SetAttributeName ¶
func (s *SortCriteria) SetAttributeName(v string) *SortCriteria
SetAttributeName sets the AttributeName field's value.
func (*SortCriteria) SetOrderBy ¶
func (s *SortCriteria) SetOrderBy(v string) *SortCriteria
SetOrderBy sets the OrderBy field's value.
func (SortCriteria) String ¶
func (s SortCriteria) String() string
String returns the string representation
type StartMonitoringMembersInput ¶
type StartMonitoringMembersInput struct { // A list of account IDs of the GuardDuty member accounts whose findings you // want the master account to monitor. AccountIds []*string `locationName:"accountIds" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
StartMonitoringMembers request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersRequest
func (StartMonitoringMembersInput) GoString ¶
func (s StartMonitoringMembersInput) GoString() string
GoString returns the string representation
func (*StartMonitoringMembersInput) SetAccountIds ¶
func (s *StartMonitoringMembersInput) SetAccountIds(v []*string) *StartMonitoringMembersInput
SetAccountIds sets the AccountIds field's value.
func (*StartMonitoringMembersInput) SetDetectorId ¶
func (s *StartMonitoringMembersInput) SetDetectorId(v string) *StartMonitoringMembersInput
SetDetectorId sets the DetectorId field's value.
func (StartMonitoringMembersInput) String ¶
func (s StartMonitoringMembersInput) String() string
String returns the string representation
func (*StartMonitoringMembersInput) Validate ¶
func (s *StartMonitoringMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartMonitoringMembersOutput ¶
type StartMonitoringMembersOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
StartMonitoringMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersResponse
func (StartMonitoringMembersOutput) GoString ¶
func (s StartMonitoringMembersOutput) GoString() string
GoString returns the string representation
func (*StartMonitoringMembersOutput) SetUnprocessedAccounts ¶
func (s *StartMonitoringMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *StartMonitoringMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (StartMonitoringMembersOutput) String ¶
func (s StartMonitoringMembersOutput) String() string
String returns the string representation
type StopMonitoringMembersInput ¶
type StopMonitoringMembersInput struct { // A list of account IDs of the GuardDuty member accounts whose findings you // want the master account to stop monitoring. AccountIds []*string `locationName:"accountIds" type:"list"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
StopMonitoringMembers request body. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersRequest
func (StopMonitoringMembersInput) GoString ¶
func (s StopMonitoringMembersInput) GoString() string
GoString returns the string representation
func (*StopMonitoringMembersInput) SetAccountIds ¶
func (s *StopMonitoringMembersInput) SetAccountIds(v []*string) *StopMonitoringMembersInput
SetAccountIds sets the AccountIds field's value.
func (*StopMonitoringMembersInput) SetDetectorId ¶
func (s *StopMonitoringMembersInput) SetDetectorId(v string) *StopMonitoringMembersInput
SetDetectorId sets the DetectorId field's value.
func (StopMonitoringMembersInput) String ¶
func (s StopMonitoringMembersInput) String() string
String returns the string representation
func (*StopMonitoringMembersInput) Validate ¶
func (s *StopMonitoringMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopMonitoringMembersOutput ¶
type StopMonitoringMembersOutput struct { // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` // contains filtered or unexported fields }
StopMonitoringMembers response object. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersResponse
func (StopMonitoringMembersOutput) GoString ¶
func (s StopMonitoringMembersOutput) GoString() string
GoString returns the string representation
func (*StopMonitoringMembersOutput) SetUnprocessedAccounts ¶
func (s *StopMonitoringMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *StopMonitoringMembersOutput
SetUnprocessedAccounts sets the UnprocessedAccounts field's value.
func (StopMonitoringMembersOutput) String ¶
func (s StopMonitoringMembersOutput) String() string
String returns the string representation
type Tag ¶
type Tag struct { // EC2 instance tag key. Key *string `locationName:"key" type:"string"` // EC2 instance tag value. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
A tag of the EC2 instance. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Tag
type UnarchiveFindingsInput ¶
type UnarchiveFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // IDs of the findings that you want to unarchive. FindingIds []*string `locationName:"findingIds" type:"list"` // contains filtered or unexported fields }
Unrchive Findings Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsRequest
func (UnarchiveFindingsInput) GoString ¶
func (s UnarchiveFindingsInput) GoString() string
GoString returns the string representation
func (*UnarchiveFindingsInput) SetDetectorId ¶
func (s *UnarchiveFindingsInput) SetDetectorId(v string) *UnarchiveFindingsInput
SetDetectorId sets the DetectorId field's value.
func (*UnarchiveFindingsInput) SetFindingIds ¶
func (s *UnarchiveFindingsInput) SetFindingIds(v []*string) *UnarchiveFindingsInput
SetFindingIds sets the FindingIds field's value.
func (UnarchiveFindingsInput) String ¶
func (s UnarchiveFindingsInput) String() string
String returns the string representation
func (*UnarchiveFindingsInput) Validate ¶
func (s *UnarchiveFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnarchiveFindingsOutput ¶
type UnarchiveFindingsOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsResponse
func (UnarchiveFindingsOutput) GoString ¶
func (s UnarchiveFindingsOutput) GoString() string
GoString returns the string representation
func (UnarchiveFindingsOutput) String ¶
func (s UnarchiveFindingsOutput) String() string
String returns the string representation
type UnprocessedAccount ¶
type UnprocessedAccount struct { // AWS Account ID. AccountId *string `locationName:"accountId" type:"string"` // A reason why the account hasn't been processed. Result *string `locationName:"result" type:"string"` // contains filtered or unexported fields }
An object containing the unprocessed account and a result string explaining why it was unprocessed. See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount
func (UnprocessedAccount) GoString ¶
func (s UnprocessedAccount) GoString() string
GoString returns the string representation
func (*UnprocessedAccount) SetAccountId ¶
func (s *UnprocessedAccount) SetAccountId(v string) *UnprocessedAccount
SetAccountId sets the AccountId field's value.
func (*UnprocessedAccount) SetResult ¶
func (s *UnprocessedAccount) SetResult(v string) *UnprocessedAccount
SetResult sets the Result field's value.
func (UnprocessedAccount) String ¶
func (s UnprocessedAccount) String() string
String returns the string representation
type UpdateDetectorInput ¶
type UpdateDetectorInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // Updated boolean value for the detector that specifies whether the detector // is enabled. Enable *bool `locationName:"enable" type:"boolean"` // contains filtered or unexported fields }
Update Detector Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest
func (UpdateDetectorInput) GoString ¶
func (s UpdateDetectorInput) GoString() string
GoString returns the string representation
func (*UpdateDetectorInput) SetDetectorId ¶
func (s *UpdateDetectorInput) SetDetectorId(v string) *UpdateDetectorInput
SetDetectorId sets the DetectorId field's value.
func (*UpdateDetectorInput) SetEnable ¶
func (s *UpdateDetectorInput) SetEnable(v bool) *UpdateDetectorInput
SetEnable sets the Enable field's value.
func (UpdateDetectorInput) String ¶
func (s UpdateDetectorInput) String() string
String returns the string representation
func (*UpdateDetectorInput) Validate ¶
func (s *UpdateDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDetectorOutput ¶
type UpdateDetectorOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorResponse
func (UpdateDetectorOutput) GoString ¶
func (s UpdateDetectorOutput) GoString() string
GoString returns the string representation
func (UpdateDetectorOutput) String ¶
func (s UpdateDetectorOutput) String() string
String returns the string representation
type UpdateFindingsFeedbackInput ¶
type UpdateFindingsFeedbackInput struct { // Additional feedback about the GuardDuty findings. Comments *string `locationName:"comments" type:"string"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // Valid values: USEFUL | NOT_USEFUL Feedback *string `locationName:"feedback" type:"string" enum:"Feedback"` // IDs of the findings that you want to mark as useful or not useful. FindingIds []*string `locationName:"findingIds" type:"list"` // contains filtered or unexported fields }
Update findings feedback body See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackRequest
func (UpdateFindingsFeedbackInput) GoString ¶
func (s UpdateFindingsFeedbackInput) GoString() string
GoString returns the string representation
func (*UpdateFindingsFeedbackInput) SetComments ¶
func (s *UpdateFindingsFeedbackInput) SetComments(v string) *UpdateFindingsFeedbackInput
SetComments sets the Comments field's value.
func (*UpdateFindingsFeedbackInput) SetDetectorId ¶
func (s *UpdateFindingsFeedbackInput) SetDetectorId(v string) *UpdateFindingsFeedbackInput
SetDetectorId sets the DetectorId field's value.
func (*UpdateFindingsFeedbackInput) SetFeedback ¶
func (s *UpdateFindingsFeedbackInput) SetFeedback(v string) *UpdateFindingsFeedbackInput
SetFeedback sets the Feedback field's value.
func (*UpdateFindingsFeedbackInput) SetFindingIds ¶
func (s *UpdateFindingsFeedbackInput) SetFindingIds(v []*string) *UpdateFindingsFeedbackInput
SetFindingIds sets the FindingIds field's value.
func (UpdateFindingsFeedbackInput) String ¶
func (s UpdateFindingsFeedbackInput) String() string
String returns the string representation
func (*UpdateFindingsFeedbackInput) Validate ¶
func (s *UpdateFindingsFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFindingsFeedbackOutput ¶
type UpdateFindingsFeedbackOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackResponse
func (UpdateFindingsFeedbackOutput) GoString ¶
func (s UpdateFindingsFeedbackOutput) GoString() string
GoString returns the string representation
func (UpdateFindingsFeedbackOutput) String ¶
func (s UpdateFindingsFeedbackOutput) String() string
String returns the string representation
type UpdateIPSetInput ¶
type UpdateIPSetInput struct { // The updated boolean value that specifies whether the IPSet is active or not. Activate *bool `locationName:"activate" type:"boolean"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // IpSetId is a required field IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` // The updated URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). Location *string `locationName:"location" type:"string"` // The unique ID that specifies the IPSet that you want to update. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Update IP Set Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetRequest
func (UpdateIPSetInput) GoString ¶
func (s UpdateIPSetInput) GoString() string
GoString returns the string representation
func (*UpdateIPSetInput) SetActivate ¶
func (s *UpdateIPSetInput) SetActivate(v bool) *UpdateIPSetInput
SetActivate sets the Activate field's value.
func (*UpdateIPSetInput) SetDetectorId ¶
func (s *UpdateIPSetInput) SetDetectorId(v string) *UpdateIPSetInput
SetDetectorId sets the DetectorId field's value.
func (*UpdateIPSetInput) SetIpSetId ¶
func (s *UpdateIPSetInput) SetIpSetId(v string) *UpdateIPSetInput
SetIpSetId sets the IpSetId field's value.
func (*UpdateIPSetInput) SetLocation ¶
func (s *UpdateIPSetInput) SetLocation(v string) *UpdateIPSetInput
SetLocation sets the Location field's value.
func (*UpdateIPSetInput) SetName ¶
func (s *UpdateIPSetInput) SetName(v string) *UpdateIPSetInput
SetName sets the Name field's value.
func (UpdateIPSetInput) String ¶
func (s UpdateIPSetInput) String() string
String returns the string representation
func (*UpdateIPSetInput) Validate ¶
func (s *UpdateIPSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateIPSetOutput ¶
type UpdateIPSetOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetResponse
func (UpdateIPSetOutput) GoString ¶
func (s UpdateIPSetOutput) GoString() string
GoString returns the string representation
func (UpdateIPSetOutput) String ¶
func (s UpdateIPSetOutput) String() string
String returns the string representation
type UpdateThreatIntelSetInput ¶
type UpdateThreatIntelSetInput struct { // The updated boolean value that specifies whether the ThreateIntelSet is active // or not. Activate *bool `locationName:"activate" type:"boolean"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // The updated URI of the file that contains the ThreateIntelSet. For example // (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) Location *string `locationName:"location" type:"string"` // The unique ID that specifies the ThreatIntelSet that you want to update. Name *string `locationName:"name" type:"string"` // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
Update Threat Intel Set Request See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetRequest
func (UpdateThreatIntelSetInput) GoString ¶
func (s UpdateThreatIntelSetInput) GoString() string
GoString returns the string representation
func (*UpdateThreatIntelSetInput) SetActivate ¶
func (s *UpdateThreatIntelSetInput) SetActivate(v bool) *UpdateThreatIntelSetInput
SetActivate sets the Activate field's value.
func (*UpdateThreatIntelSetInput) SetDetectorId ¶
func (s *UpdateThreatIntelSetInput) SetDetectorId(v string) *UpdateThreatIntelSetInput
SetDetectorId sets the DetectorId field's value.
func (*UpdateThreatIntelSetInput) SetLocation ¶
func (s *UpdateThreatIntelSetInput) SetLocation(v string) *UpdateThreatIntelSetInput
SetLocation sets the Location field's value.
func (*UpdateThreatIntelSetInput) SetName ¶
func (s *UpdateThreatIntelSetInput) SetName(v string) *UpdateThreatIntelSetInput
SetName sets the Name field's value.
func (*UpdateThreatIntelSetInput) SetThreatIntelSetId ¶
func (s *UpdateThreatIntelSetInput) SetThreatIntelSetId(v string) *UpdateThreatIntelSetInput
SetThreatIntelSetId sets the ThreatIntelSetId field's value.
func (UpdateThreatIntelSetInput) String ¶
func (s UpdateThreatIntelSetInput) String() string
String returns the string representation
func (*UpdateThreatIntelSetInput) Validate ¶
func (s *UpdateThreatIntelSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateThreatIntelSetOutput ¶
type UpdateThreatIntelSetOutput struct {
// contains filtered or unexported fields
}
See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetResponse
func (UpdateThreatIntelSetOutput) GoString ¶
func (s UpdateThreatIntelSetOutput) GoString() string
GoString returns the string representation
func (UpdateThreatIntelSetOutput) String ¶
func (s UpdateThreatIntelSetOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package guarddutyiface provides an interface to enable mocking the Amazon GuardDuty service client for testing your code.
|
Package guarddutyiface provides an interface to enable mocking the Amazon GuardDuty service client for testing your code. |