package guardduty
import "github.com/aws/aws-sdk-go-v2/service/guardduty"
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 use 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 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) MarshalFields(e protocol.FieldEncoder) error
- func (s AcceptInvitationInput) String() string
- func (s *AcceptInvitationInput) Validate() error
- type AcceptInvitationOutput
- func (s AcceptInvitationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s AcceptInvitationOutput) String() string
- type AcceptInvitationRequest
- type AcceptInvitationResponse
- type AccessKeyDetails
- func (s AccessKeyDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s AccessKeyDetails) String() string
- type AccountDetail
- func (s AccountDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s AccountDetail) String() string
- func (s *AccountDetail) Validate() error
- type Action
- type ArchiveFindingsInput
- func (s ArchiveFindingsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ArchiveFindingsInput) String() string
- func (s *ArchiveFindingsInput) Validate() error
- type ArchiveFindingsOutput
- func (s ArchiveFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ArchiveFindingsOutput) String() string
- type ArchiveFindingsRequest
- type ArchiveFindingsResponse
- type AwsApiCallAction
- func (s AwsApiCallAction) MarshalFields(e protocol.FieldEncoder) error
- func (s AwsApiCallAction) String() string
- type City
- type Client
- func New(config aws.Config) *Client
- func (c *Client) AcceptInvitationRequest(input *AcceptInvitationInput) AcceptInvitationRequest
- func (c *Client) ArchiveFindingsRequest(input *ArchiveFindingsInput) ArchiveFindingsRequest
- func (c *Client) CreateDetectorRequest(input *CreateDetectorInput) CreateDetectorRequest
- func (c *Client) CreateFilterRequest(input *CreateFilterInput) CreateFilterRequest
- func (c *Client) CreateIPSetRequest(input *CreateIPSetInput) CreateIPSetRequest
- func (c *Client) CreateMembersRequest(input *CreateMembersInput) CreateMembersRequest
- func (c *Client) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) CreateSampleFindingsRequest
- func (c *Client) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) CreateThreatIntelSetRequest
- func (c *Client) DeclineInvitationsRequest(input *DeclineInvitationsInput) DeclineInvitationsRequest
- func (c *Client) DeleteDetectorRequest(input *DeleteDetectorInput) DeleteDetectorRequest
- func (c *Client) DeleteFilterRequest(input *DeleteFilterInput) DeleteFilterRequest
- func (c *Client) DeleteIPSetRequest(input *DeleteIPSetInput) DeleteIPSetRequest
- func (c *Client) DeleteInvitationsRequest(input *DeleteInvitationsInput) DeleteInvitationsRequest
- func (c *Client) DeleteMembersRequest(input *DeleteMembersInput) DeleteMembersRequest
- func (c *Client) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) DeleteThreatIntelSetRequest
- func (c *Client) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest
- func (c *Client) DisassociateMembersRequest(input *DisassociateMembersInput) DisassociateMembersRequest
- func (c *Client) GetDetectorRequest(input *GetDetectorInput) GetDetectorRequest
- func (c *Client) GetFilterRequest(input *GetFilterInput) GetFilterRequest
- func (c *Client) GetFindingsRequest(input *GetFindingsInput) GetFindingsRequest
- func (c *Client) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInput) GetFindingsStatisticsRequest
- func (c *Client) GetIPSetRequest(input *GetIPSetInput) GetIPSetRequest
- func (c *Client) GetInvitationsCountRequest(input *GetInvitationsCountInput) GetInvitationsCountRequest
- func (c *Client) GetMasterAccountRequest(input *GetMasterAccountInput) GetMasterAccountRequest
- func (c *Client) GetMembersRequest(input *GetMembersInput) GetMembersRequest
- func (c *Client) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) GetThreatIntelSetRequest
- func (c *Client) InviteMembersRequest(input *InviteMembersInput) InviteMembersRequest
- func (c *Client) ListDetectorsRequest(input *ListDetectorsInput) ListDetectorsRequest
- func (c *Client) ListFiltersRequest(input *ListFiltersInput) ListFiltersRequest
- func (c *Client) ListFindingsRequest(input *ListFindingsInput) ListFindingsRequest
- func (c *Client) ListIPSetsRequest(input *ListIPSetsInput) ListIPSetsRequest
- func (c *Client) ListInvitationsRequest(input *ListInvitationsInput) ListInvitationsRequest
- func (c *Client) ListMembersRequest(input *ListMembersInput) ListMembersRequest
- func (c *Client) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) ListThreatIntelSetsRequest
- func (c *Client) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) StartMonitoringMembersRequest
- func (c *Client) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) StopMonitoringMembersRequest
- func (c *Client) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) UnarchiveFindingsRequest
- func (c *Client) UpdateDetectorRequest(input *UpdateDetectorInput) UpdateDetectorRequest
- func (c *Client) UpdateFilterRequest(input *UpdateFilterInput) UpdateFilterRequest
- func (c *Client) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) UpdateFindingsFeedbackRequest
- func (c *Client) UpdateIPSetRequest(input *UpdateIPSetInput) UpdateIPSetRequest
- func (c *Client) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput) UpdateThreatIntelSetRequest
- type Condition
- type Country
- type CreateDetectorInput
- func (s CreateDetectorInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateDetectorInput) String() string
- func (s *CreateDetectorInput) Validate() error
- type CreateDetectorOutput
- func (s CreateDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateDetectorOutput) String() string
- type CreateDetectorRequest
- type CreateDetectorResponse
- type CreateFilterInput
- func (s CreateFilterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateFilterInput) String() string
- func (s *CreateFilterInput) Validate() error
- type CreateFilterOutput
- func (s CreateFilterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateFilterOutput) String() string
- type CreateFilterRequest
- type CreateFilterResponse
- type CreateIPSetInput
- func (s CreateIPSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateIPSetInput) String() string
- func (s *CreateIPSetInput) Validate() error
- type CreateIPSetOutput
- func (s CreateIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateIPSetOutput) String() string
- type CreateIPSetRequest
- type CreateIPSetResponse
- type CreateMembersInput
- func (s CreateMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateMembersInput) String() string
- func (s *CreateMembersInput) Validate() error
- type CreateMembersOutput
- func (s CreateMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateMembersOutput) String() string
- type CreateMembersRequest
- type CreateMembersResponse
- type CreateSampleFindingsInput
- func (s CreateSampleFindingsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateSampleFindingsInput) String() string
- func (s *CreateSampleFindingsInput) Validate() error
- type CreateSampleFindingsOutput
- func (s CreateSampleFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateSampleFindingsOutput) String() string
- type CreateSampleFindingsRequest
- type CreateSampleFindingsResponse
- type CreateThreatIntelSetInput
- func (s CreateThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateThreatIntelSetInput) String() string
- func (s *CreateThreatIntelSetInput) Validate() error
- type CreateThreatIntelSetOutput
- func (s CreateThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateThreatIntelSetOutput) String() string
- type CreateThreatIntelSetRequest
- type CreateThreatIntelSetResponse
- type DeclineInvitationsInput
- func (s DeclineInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeclineInvitationsInput) String() string
- func (s *DeclineInvitationsInput) Validate() error
- type DeclineInvitationsOutput
- func (s DeclineInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeclineInvitationsOutput) String() string
- type DeclineInvitationsRequest
- type DeclineInvitationsResponse
- type DeleteDetectorInput
- func (s DeleteDetectorInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteDetectorInput) String() string
- func (s *DeleteDetectorInput) Validate() error
- type DeleteDetectorOutput
- func (s DeleteDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteDetectorOutput) String() string
- type DeleteDetectorRequest
- type DeleteDetectorResponse
- type DeleteFilterInput
- func (s DeleteFilterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteFilterInput) String() string
- func (s *DeleteFilterInput) Validate() error
- type DeleteFilterOutput
- func (s DeleteFilterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteFilterOutput) String() string
- type DeleteFilterRequest
- type DeleteFilterResponse
- type DeleteIPSetInput
- func (s DeleteIPSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteIPSetInput) String() string
- func (s *DeleteIPSetInput) Validate() error
- type DeleteIPSetOutput
- func (s DeleteIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteIPSetOutput) String() string
- type DeleteIPSetRequest
- type DeleteIPSetResponse
- type DeleteInvitationsInput
- func (s DeleteInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteInvitationsInput) String() string
- func (s *DeleteInvitationsInput) Validate() error
- type DeleteInvitationsOutput
- func (s DeleteInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteInvitationsOutput) String() string
- type DeleteInvitationsRequest
- type DeleteInvitationsResponse
- type DeleteMembersInput
- func (s DeleteMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteMembersInput) String() string
- func (s *DeleteMembersInput) Validate() error
- type DeleteMembersOutput
- func (s DeleteMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteMembersOutput) String() string
- type DeleteMembersRequest
- type DeleteMembersResponse
- type DeleteThreatIntelSetInput
- func (s DeleteThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteThreatIntelSetInput) String() string
- func (s *DeleteThreatIntelSetInput) Validate() error
- type DeleteThreatIntelSetOutput
- func (s DeleteThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteThreatIntelSetOutput) String() string
- type DeleteThreatIntelSetRequest
- type DeleteThreatIntelSetResponse
- type DetectorStatus
- func (enum DetectorStatus) MarshalValue() (string, error)
- func (enum DetectorStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type DisassociateFromMasterAccountInput
- func (s DisassociateFromMasterAccountInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateFromMasterAccountInput) String() string
- func (s *DisassociateFromMasterAccountInput) Validate() error
- type DisassociateFromMasterAccountOutput
- func (s DisassociateFromMasterAccountOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateFromMasterAccountOutput) String() string
- type DisassociateFromMasterAccountRequest
- type DisassociateFromMasterAccountResponse
- type DisassociateMembersInput
- func (s DisassociateMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateMembersInput) String() string
- func (s *DisassociateMembersInput) Validate() error
- type DisassociateMembersOutput
- func (s DisassociateMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateMembersOutput) String() string
- type DisassociateMembersRequest
- type DisassociateMembersResponse
- type DnsRequestAction
- func (s DnsRequestAction) MarshalFields(e protocol.FieldEncoder) error
- func (s DnsRequestAction) String() string
- type DomainDetails
- func (s DomainDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s DomainDetails) String() string
- type Feedback
- func (enum Feedback) MarshalValue() (string, error)
- func (enum Feedback) MarshalValueBuf(b []byte) ([]byte, error)
- type FilterAction
- func (enum FilterAction) MarshalValue() (string, error)
- func (enum FilterAction) MarshalValueBuf(b []byte) ([]byte, error)
- type Finding
- type FindingCriteria
- func (s FindingCriteria) MarshalFields(e protocol.FieldEncoder) error
- func (s FindingCriteria) String() string
- type FindingPublishingFrequency
- func (enum FindingPublishingFrequency) MarshalValue() (string, error)
- func (enum FindingPublishingFrequency) MarshalValueBuf(b []byte) ([]byte, error)
- type FindingStatisticType
- func (enum FindingStatisticType) MarshalValue() (string, error)
- func (enum FindingStatisticType) MarshalValueBuf(b []byte) ([]byte, error)
- type FindingStatistics
- func (s FindingStatistics) MarshalFields(e protocol.FieldEncoder) error
- func (s FindingStatistics) String() string
- type GeoLocation
- func (s GeoLocation) MarshalFields(e protocol.FieldEncoder) error
- func (s GeoLocation) String() string
- type GetDetectorInput
- func (s GetDetectorInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDetectorInput) String() string
- func (s *GetDetectorInput) Validate() error
- type GetDetectorOutput
- func (s GetDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDetectorOutput) String() string
- type GetDetectorRequest
- type GetDetectorResponse
- type GetFilterInput
- func (s GetFilterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFilterInput) String() string
- func (s *GetFilterInput) Validate() error
- type GetFilterOutput
- func (s GetFilterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFilterOutput) String() string
- type GetFilterRequest
- type GetFilterResponse
- type GetFindingsInput
- func (s GetFindingsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFindingsInput) String() string
- func (s *GetFindingsInput) Validate() error
- type GetFindingsOutput
- func (s GetFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFindingsOutput) String() string
- type GetFindingsRequest
- type GetFindingsResponse
- type GetFindingsStatisticsInput
- func (s GetFindingsStatisticsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFindingsStatisticsInput) String() string
- func (s *GetFindingsStatisticsInput) Validate() error
- type GetFindingsStatisticsOutput
- func (s GetFindingsStatisticsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFindingsStatisticsOutput) String() string
- type GetFindingsStatisticsRequest
- type GetFindingsStatisticsResponse
- type GetIPSetInput
- func (s GetIPSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetIPSetInput) String() string
- func (s *GetIPSetInput) Validate() error
- type GetIPSetOutput
- func (s GetIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetIPSetOutput) String() string
- type GetIPSetRequest
- type GetIPSetResponse
- type GetInvitationsCountInput
- func (s GetInvitationsCountInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetInvitationsCountInput) String() string
- type GetInvitationsCountOutput
- func (s GetInvitationsCountOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetInvitationsCountOutput) String() string
- type GetInvitationsCountRequest
- type GetInvitationsCountResponse
- type GetMasterAccountInput
- func (s GetMasterAccountInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetMasterAccountInput) String() string
- func (s *GetMasterAccountInput) Validate() error
- type GetMasterAccountOutput
- func (s GetMasterAccountOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetMasterAccountOutput) String() string
- type GetMasterAccountRequest
- type GetMasterAccountResponse
- type GetMembersInput
- func (s GetMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetMembersInput) String() string
- func (s *GetMembersInput) Validate() error
- type GetMembersOutput
- func (s GetMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetMembersOutput) String() string
- type GetMembersRequest
- type GetMembersResponse
- type GetThreatIntelSetInput
- func (s GetThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetThreatIntelSetInput) String() string
- func (s *GetThreatIntelSetInput) Validate() error
- type GetThreatIntelSetOutput
- func (s GetThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetThreatIntelSetOutput) String() string
- type GetThreatIntelSetRequest
- type GetThreatIntelSetResponse
- type IamInstanceProfile
- func (s IamInstanceProfile) MarshalFields(e protocol.FieldEncoder) error
- func (s IamInstanceProfile) String() string
- type InstanceDetails
- func (s InstanceDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s InstanceDetails) String() string
- type Invitation
- func (s Invitation) MarshalFields(e protocol.FieldEncoder) error
- func (s Invitation) String() string
- type InviteMembersInput
- func (s InviteMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s InviteMembersInput) String() string
- func (s *InviteMembersInput) Validate() error
- type InviteMembersOutput
- func (s InviteMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s InviteMembersOutput) String() string
- type InviteMembersRequest
- type InviteMembersResponse
- type IpSetFormat
- func (enum IpSetFormat) MarshalValue() (string, error)
- func (enum IpSetFormat) MarshalValueBuf(b []byte) ([]byte, error)
- type IpSetStatus
- func (enum IpSetStatus) MarshalValue() (string, error)
- func (enum IpSetStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ListDetectorsInput
- func (s ListDetectorsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListDetectorsInput) String() string
- func (s *ListDetectorsInput) Validate() error
- type ListDetectorsOutput
- func (s ListDetectorsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListDetectorsOutput) String() string
- type ListDetectorsPaginator
- func NewListDetectorsPaginator(req ListDetectorsRequest) ListDetectorsPaginator
- func (p *ListDetectorsPaginator) CurrentPage() *ListDetectorsOutput
- type ListDetectorsRequest
- type ListDetectorsResponse
- type ListFiltersInput
- func (s ListFiltersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListFiltersInput) String() string
- func (s *ListFiltersInput) Validate() error
- type ListFiltersOutput
- func (s ListFiltersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListFiltersOutput) String() string
- type ListFiltersPaginator
- func NewListFiltersPaginator(req ListFiltersRequest) ListFiltersPaginator
- func (p *ListFiltersPaginator) CurrentPage() *ListFiltersOutput
- type ListFiltersRequest
- type ListFiltersResponse
- type ListFindingsInput
- func (s ListFindingsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListFindingsInput) String() string
- func (s *ListFindingsInput) Validate() error
- type ListFindingsOutput
- func (s ListFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListFindingsOutput) String() string
- type ListFindingsPaginator
- func NewListFindingsPaginator(req ListFindingsRequest) ListFindingsPaginator
- func (p *ListFindingsPaginator) CurrentPage() *ListFindingsOutput
- type ListFindingsRequest
- type ListFindingsResponse
- type ListIPSetsInput
- func (s ListIPSetsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListIPSetsInput) String() string
- func (s *ListIPSetsInput) Validate() error
- type ListIPSetsOutput
- func (s ListIPSetsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListIPSetsOutput) String() string
- type ListIPSetsPaginator
- func NewListIPSetsPaginator(req ListIPSetsRequest) ListIPSetsPaginator
- func (p *ListIPSetsPaginator) CurrentPage() *ListIPSetsOutput
- type ListIPSetsRequest
- type ListIPSetsResponse
- type ListInvitationsInput
- func (s ListInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListInvitationsInput) String() string
- func (s *ListInvitationsInput) Validate() error
- type ListInvitationsOutput
- func (s ListInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListInvitationsOutput) String() string
- type ListInvitationsPaginator
- func NewListInvitationsPaginator(req ListInvitationsRequest) ListInvitationsPaginator
- func (p *ListInvitationsPaginator) CurrentPage() *ListInvitationsOutput
- type ListInvitationsRequest
- type ListInvitationsResponse
- type ListMembersInput
- func (s ListMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListMembersInput) String() string
- func (s *ListMembersInput) Validate() error
- type ListMembersOutput
- func (s ListMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListMembersOutput) String() string
- type ListMembersPaginator
- func NewListMembersPaginator(req ListMembersRequest) ListMembersPaginator
- func (p *ListMembersPaginator) CurrentPage() *ListMembersOutput
- type ListMembersRequest
- type ListMembersResponse
- type ListThreatIntelSetsInput
- func (s ListThreatIntelSetsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListThreatIntelSetsInput) String() string
- func (s *ListThreatIntelSetsInput) Validate() error
- type ListThreatIntelSetsOutput
- func (s ListThreatIntelSetsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListThreatIntelSetsOutput) String() string
- type ListThreatIntelSetsPaginator
- func NewListThreatIntelSetsPaginator(req ListThreatIntelSetsRequest) ListThreatIntelSetsPaginator
- func (p *ListThreatIntelSetsPaginator) CurrentPage() *ListThreatIntelSetsOutput
- type ListThreatIntelSetsRequest
- type ListThreatIntelSetsResponse
- type LocalPortDetails
- func (s LocalPortDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s LocalPortDetails) String() string
- type Master
- type Member
- type NetworkConnectionAction
- func (s NetworkConnectionAction) MarshalFields(e protocol.FieldEncoder) error
- func (s NetworkConnectionAction) String() string
- type NetworkInterface
- func (s NetworkInterface) MarshalFields(e protocol.FieldEncoder) error
- func (s NetworkInterface) String() string
- type OrderBy
- func (enum OrderBy) MarshalValue() (string, error)
- func (enum OrderBy) MarshalValueBuf(b []byte) ([]byte, error)
- type Organization
- func (s Organization) MarshalFields(e protocol.FieldEncoder) error
- func (s Organization) String() string
- type PortProbeAction
- func (s PortProbeAction) MarshalFields(e protocol.FieldEncoder) error
- func (s PortProbeAction) String() string
- type PortProbeDetail
- func (s PortProbeDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s PortProbeDetail) String() string
- type PrivateIpAddressDetails
- func (s PrivateIpAddressDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s PrivateIpAddressDetails) String() string
- type ProductCode
- func (s ProductCode) MarshalFields(e protocol.FieldEncoder) error
- func (s ProductCode) String() string
- type RemoteIpDetails
- func (s RemoteIpDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s RemoteIpDetails) String() string
- type RemotePortDetails
- func (s RemotePortDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s RemotePortDetails) String() string
- type Resource
- type SecurityGroup
- func (s SecurityGroup) MarshalFields(e protocol.FieldEncoder) error
- func (s SecurityGroup) String() string
- type Service
- type SortCriteria
- func (s SortCriteria) MarshalFields(e protocol.FieldEncoder) error
- func (s SortCriteria) String() string
- type StartMonitoringMembersInput
- func (s StartMonitoringMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartMonitoringMembersInput) String() string
- func (s *StartMonitoringMembersInput) Validate() error
- type StartMonitoringMembersOutput
- func (s StartMonitoringMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartMonitoringMembersOutput) String() string
- type StartMonitoringMembersRequest
- type StartMonitoringMembersResponse
- type StopMonitoringMembersInput
- func (s StopMonitoringMembersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StopMonitoringMembersInput) String() string
- func (s *StopMonitoringMembersInput) Validate() error
- type StopMonitoringMembersOutput
- func (s StopMonitoringMembersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StopMonitoringMembersOutput) String() string
- type StopMonitoringMembersRequest
- type StopMonitoringMembersResponse
- type Tag
- type ThreatIntelSetFormat
- func (enum ThreatIntelSetFormat) MarshalValue() (string, error)
- func (enum ThreatIntelSetFormat) MarshalValueBuf(b []byte) ([]byte, error)
- type ThreatIntelSetStatus
- func (enum ThreatIntelSetStatus) MarshalValue() (string, error)
- func (enum ThreatIntelSetStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type UnarchiveFindingsInput
- func (s UnarchiveFindingsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UnarchiveFindingsInput) String() string
- func (s *UnarchiveFindingsInput) Validate() error
- type UnarchiveFindingsOutput
- func (s UnarchiveFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UnarchiveFindingsOutput) String() string
- type UnarchiveFindingsRequest
- type UnarchiveFindingsResponse
- type UnprocessedAccount
- func (s UnprocessedAccount) MarshalFields(e protocol.FieldEncoder) error
- func (s UnprocessedAccount) String() string
- type UpdateDetectorInput
- func (s UpdateDetectorInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDetectorInput) String() string
- func (s *UpdateDetectorInput) Validate() error
- type UpdateDetectorOutput
- func (s UpdateDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDetectorOutput) String() string
- type UpdateDetectorRequest
- type UpdateDetectorResponse
- type UpdateFilterInput
- func (s UpdateFilterInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateFilterInput) String() string
- func (s *UpdateFilterInput) Validate() error
- type UpdateFilterOutput
- func (s UpdateFilterOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateFilterOutput) String() string
- type UpdateFilterRequest
- type UpdateFilterResponse
- type UpdateFindingsFeedbackInput
- func (s UpdateFindingsFeedbackInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateFindingsFeedbackInput) String() string
- func (s *UpdateFindingsFeedbackInput) Validate() error
- type UpdateFindingsFeedbackOutput
- func (s UpdateFindingsFeedbackOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateFindingsFeedbackOutput) String() string
- type UpdateFindingsFeedbackRequest
- type UpdateFindingsFeedbackResponse
- type UpdateIPSetInput
- func (s UpdateIPSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateIPSetInput) String() string
- func (s *UpdateIPSetInput) Validate() error
- type UpdateIPSetOutput
- func (s UpdateIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateIPSetOutput) String() string
- type UpdateIPSetRequest
- type UpdateIPSetResponse
- type UpdateThreatIntelSetInput
- func (s UpdateThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateThreatIntelSetInput) String() string
- func (s *UpdateThreatIntelSetInput) Validate() error
- type UpdateThreatIntelSetOutput
- func (s UpdateThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateThreatIntelSetOutput) String() string
- type UpdateThreatIntelSetRequest
- type UpdateThreatIntelSetResponse
Constants ¶
const ( ServiceName = "Amazon GuardDuty" // Service's name ServiceID = "GuardDuty" // Service's identifier EndpointsID = "guardduty" // Service's Endpoint identifier )
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" )
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 is a required field InvitationId *string `locationName:"invitationId" type:"string" required:"true"` // The account ID of the master GuardDuty account whose invitation you're accepting. // // MasterId is a required field MasterId *string `locationName:"masterId" type:"string" required:"true"` // contains filtered or unexported fields }
AcceptInvitation request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationRequest
func (AcceptInvitationInput) MarshalFields ¶
func (s AcceptInvitationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationResponse
func (AcceptInvitationOutput) MarshalFields ¶
func (s AcceptInvitationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AcceptInvitationOutput) String ¶
func (s AcceptInvitationOutput) String() string
String returns the string representation
type AcceptInvitationRequest ¶
type AcceptInvitationRequest struct { *aws.Request Input *AcceptInvitationInput Copy func(*AcceptInvitationInput) AcceptInvitationRequest }
AcceptInvitationRequest is the request type for the AcceptInvitation API operation.
func (AcceptInvitationRequest) Send ¶
func (r AcceptInvitationRequest) Send(ctx context.Context) (*AcceptInvitationResponse, error)
Send marshals and sends the AcceptInvitation API request.
type AcceptInvitationResponse ¶
type AcceptInvitationResponse struct { *AcceptInvitationOutput // contains filtered or unexported fields }
AcceptInvitationResponse is the response type for the AcceptInvitation API operation.
func (*AcceptInvitationResponse) SDKResponseMetdata ¶
func (r *AcceptInvitationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptInvitation request.
type AccessKeyDetails ¶
type AccessKeyDetails struct { // Access key ID of the user. AccessKeyId *string `locationName:"accessKeyId" type:"string"` // The principal ID of the user. PrincipalId *string `locationName:"principalId" type:"string"` // The name of the user. UserName *string `locationName:"userName" type:"string"` // The type of the user. UserType *string `locationName:"userType" type:"string"` // contains filtered or unexported fields }
The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessKeyDetails
func (AccessKeyDetails) MarshalFields ¶
func (s AccessKeyDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AccessKeyDetails) String ¶
func (s AccessKeyDetails) String() string
String returns the string representation
type AccountDetail ¶
type AccountDetail struct { // Member account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` // Member account's email address. // // Email is a required field Email *string `locationName:"email" type:"string" required:"true"` // contains filtered or unexported fields }
An object containing the member's accountId and email address. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountDetail
func (AccountDetail) MarshalFields ¶
func (s AccountDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AccountDetail) String ¶
func (s AccountDetail) String() string
String returns the string representation
func (*AccountDetail) Validate ¶
func (s *AccountDetail) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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"` // Information about the PORT_PROBE action described in this finding. PortProbeAction *PortProbeAction `locationName:"portProbeAction" type:"structure"` // contains filtered or unexported fields }
Information about the activity described in a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action
func (Action) MarshalFields ¶
func (s Action) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Action) String ¶
String returns the string representation
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 is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // contains filtered or unexported fields }
Archive Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsRequest
func (ArchiveFindingsInput) MarshalFields ¶
func (s ArchiveFindingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsResponse
func (ArchiveFindingsOutput) MarshalFields ¶
func (s ArchiveFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ArchiveFindingsOutput) String ¶
func (s ArchiveFindingsOutput) String() string
String returns the string representation
type ArchiveFindingsRequest ¶
type ArchiveFindingsRequest struct { *aws.Request Input *ArchiveFindingsInput Copy func(*ArchiveFindingsInput) ArchiveFindingsRequest }
ArchiveFindingsRequest is the request type for the ArchiveFindings API operation.
func (ArchiveFindingsRequest) Send ¶
func (r ArchiveFindingsRequest) Send(ctx context.Context) (*ArchiveFindingsResponse, error)
Send marshals and sends the ArchiveFindings API request.
type ArchiveFindingsResponse ¶
type ArchiveFindingsResponse struct { *ArchiveFindingsOutput // contains filtered or unexported fields }
ArchiveFindingsResponse is the response type for the ArchiveFindings API operation.
func (*ArchiveFindingsResponse) SDKResponseMetdata ¶
func (r *ArchiveFindingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ArchiveFindings request.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AwsApiCallAction
func (AwsApiCallAction) MarshalFields ¶
func (s AwsApiCallAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/City
func (City) MarshalFields ¶
func (s City) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (City) String ¶
String returns the string representation
type Client ¶
Client provides the API operation methods for making requests to Amazon GuardDuty. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := guardduty.New(myConfig)
func (*Client) AcceptInvitationRequest ¶
func (c *Client) AcceptInvitationRequest(input *AcceptInvitationInput) AcceptInvitationRequest
AcceptInvitationRequest returns a request value for making API operation for Amazon GuardDuty.
Accepts the invitation to be monitored by a master GuardDuty account.
// Example sending a request using AcceptInvitationRequest. req := client.AcceptInvitationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation
func (*Client) ArchiveFindingsRequest ¶
func (c *Client) ArchiveFindingsRequest(input *ArchiveFindingsInput) ArchiveFindingsRequest
ArchiveFindingsRequest returns a request value for making API operation for Amazon GuardDuty.
Archives Amazon GuardDuty findings specified by the list of finding IDs.
// Example sending a request using ArchiveFindingsRequest. req := client.ArchiveFindingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings
func (*Client) CreateDetectorRequest ¶
func (c *Client) CreateDetectorRequest(input *CreateDetectorInput) CreateDetectorRequest
CreateDetectorRequest returns a request value for making 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.
// Example sending a request using CreateDetectorRequest. req := client.CreateDetectorRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector
func (*Client) CreateFilterRequest ¶
func (c *Client) CreateFilterRequest(input *CreateFilterInput) CreateFilterRequest
CreateFilterRequest returns a request value for making API operation for Amazon GuardDuty.
Creates a filter using the specified finding criteria.
// Example sending a request using CreateFilterRequest. req := client.CreateFilterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilter
func (*Client) CreateIPSetRequest ¶
func (c *Client) CreateIPSetRequest(input *CreateIPSetInput) CreateIPSetRequest
CreateIPSetRequest returns a request value for making 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.
// Example sending a request using CreateIPSetRequest. req := client.CreateIPSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet
func (*Client) CreateMembersRequest ¶
func (c *Client) CreateMembersRequest(input *CreateMembersInput) CreateMembersRequest
CreateMembersRequest returns a request value for making 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.
// Example sending a request using CreateMembersRequest. req := client.CreateMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers
func (*Client) CreateSampleFindingsRequest ¶
func (c *Client) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) CreateSampleFindingsRequest
CreateSampleFindingsRequest returns a request value for making 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.
// Example sending a request using CreateSampleFindingsRequest. req := client.CreateSampleFindingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings
func (*Client) CreateThreatIntelSetRequest ¶
func (c *Client) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) CreateThreatIntelSetRequest
CreateThreatIntelSetRequest returns a request value for making API operation for Amazon GuardDuty.
Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets.
// Example sending a request using CreateThreatIntelSetRequest. req := client.CreateThreatIntelSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet
func (*Client) DeclineInvitationsRequest ¶
func (c *Client) DeclineInvitationsRequest(input *DeclineInvitationsInput) DeclineInvitationsRequest
DeclineInvitationsRequest returns a request value for making API operation for Amazon GuardDuty.
Declines invitations sent to the current member account by AWS account specified by their account IDs.
// Example sending a request using DeclineInvitationsRequest. req := client.DeclineInvitationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations
func (*Client) DeleteDetectorRequest ¶
func (c *Client) DeleteDetectorRequest(input *DeleteDetectorInput) DeleteDetectorRequest
DeleteDetectorRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes a Amazon GuardDuty detector specified by the detector ID.
// Example sending a request using DeleteDetectorRequest. req := client.DeleteDetectorRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector
func (*Client) DeleteFilterRequest ¶
func (c *Client) DeleteFilterRequest(input *DeleteFilterInput) DeleteFilterRequest
DeleteFilterRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes the filter specified by the filter name.
// Example sending a request using DeleteFilterRequest. req := client.DeleteFilterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilter
func (*Client) DeleteIPSetRequest ¶
func (c *Client) DeleteIPSetRequest(input *DeleteIPSetInput) DeleteIPSetRequest
DeleteIPSetRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes the IPSet specified by the IPSet ID.
// Example sending a request using DeleteIPSetRequest. req := client.DeleteIPSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet
func (*Client) DeleteInvitationsRequest ¶
func (c *Client) DeleteInvitationsRequest(input *DeleteInvitationsInput) DeleteInvitationsRequest
DeleteInvitationsRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
// Example sending a request using DeleteInvitationsRequest. req := client.DeleteInvitationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations
func (*Client) DeleteMembersRequest ¶
func (c *Client) DeleteMembersRequest(input *DeleteMembersInput) DeleteMembersRequest
DeleteMembersRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
// Example sending a request using DeleteMembersRequest. req := client.DeleteMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers
func (*Client) DeleteThreatIntelSetRequest ¶
func (c *Client) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) DeleteThreatIntelSetRequest
DeleteThreatIntelSetRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
// Example sending a request using DeleteThreatIntelSetRequest. req := client.DeleteThreatIntelSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet
func (*Client) DisassociateFromMasterAccountRequest ¶
func (c *Client) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest
DisassociateFromMasterAccountRequest returns a request value for making API operation for Amazon GuardDuty.
Disassociates the current GuardDuty member account from its master account.
// Example sending a request using DisassociateFromMasterAccountRequest. req := client.DisassociateFromMasterAccountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount
func (*Client) DisassociateMembersRequest ¶
func (c *Client) DisassociateMembersRequest(input *DisassociateMembersInput) DisassociateMembersRequest
DisassociateMembersRequest returns a request value for making API operation for Amazon GuardDuty.
Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
// Example sending a request using DisassociateMembersRequest. req := client.DisassociateMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers
func (*Client) GetDetectorRequest ¶
func (c *Client) GetDetectorRequest(input *GetDetectorInput) GetDetectorRequest
GetDetectorRequest returns a request value for making API operation for Amazon GuardDuty.
Retrieves an Amazon GuardDuty detector specified by the detectorId.
// Example sending a request using GetDetectorRequest. req := client.GetDetectorRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector
func (*Client) GetFilterRequest ¶
func (c *Client) GetFilterRequest(input *GetFilterInput) GetFilterRequest
GetFilterRequest returns a request value for making API operation for Amazon GuardDuty.
Returns the details of the filter specified by the filter name.
// Example sending a request using GetFilterRequest. req := client.GetFilterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilter
func (*Client) GetFindingsRequest ¶
func (c *Client) GetFindingsRequest(input *GetFindingsInput) GetFindingsRequest
GetFindingsRequest returns a request value for making API operation for Amazon GuardDuty.
Describes Amazon GuardDuty findings specified by finding IDs.
// Example sending a request using GetFindingsRequest. req := client.GetFindingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings
func (*Client) GetFindingsStatisticsRequest ¶
func (c *Client) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInput) GetFindingsStatisticsRequest
GetFindingsStatisticsRequest returns a request value for making API operation for Amazon GuardDuty.
Lists Amazon GuardDuty findings' statistics for the specified detector ID.
// Example sending a request using GetFindingsStatisticsRequest. req := client.GetFindingsStatisticsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics
func (*Client) GetIPSetRequest ¶
func (c *Client) GetIPSetRequest(input *GetIPSetInput) GetIPSetRequest
GetIPSetRequest returns a request value for making API operation for Amazon GuardDuty.
Retrieves the IPSet specified by the IPSet ID.
// Example sending a request using GetIPSetRequest. req := client.GetIPSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet
func (*Client) GetInvitationsCountRequest ¶
func (c *Client) GetInvitationsCountRequest(input *GetInvitationsCountInput) GetInvitationsCountRequest
GetInvitationsCountRequest returns a request value for making 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.
// Example sending a request using GetInvitationsCountRequest. req := client.GetInvitationsCountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount
func (*Client) GetMasterAccountRequest ¶
func (c *Client) GetMasterAccountRequest(input *GetMasterAccountInput) GetMasterAccountRequest
GetMasterAccountRequest returns a request value for making API operation for Amazon GuardDuty.
Provides the details for the GuardDuty master account to the current GuardDuty member account.
// Example sending a request using GetMasterAccountRequest. req := client.GetMasterAccountRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount
func (*Client) GetMembersRequest ¶
func (c *Client) GetMembersRequest(input *GetMembersInput) GetMembersRequest
GetMembersRequest returns a request value for making API operation for Amazon GuardDuty.
Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
// Example sending a request using GetMembersRequest. req := client.GetMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers
func (*Client) GetThreatIntelSetRequest ¶
func (c *Client) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) GetThreatIntelSetRequest
GetThreatIntelSetRequest returns a request value for making API operation for Amazon GuardDuty.
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
// Example sending a request using GetThreatIntelSetRequest. req := client.GetThreatIntelSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet
func (*Client) InviteMembersRequest ¶
func (c *Client) InviteMembersRequest(input *InviteMembersInput) InviteMembersRequest
InviteMembersRequest returns a request value for making 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.
// Example sending a request using InviteMembersRequest. req := client.InviteMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers
func (*Client) ListDetectorsRequest ¶
func (c *Client) ListDetectorsRequest(input *ListDetectorsInput) ListDetectorsRequest
ListDetectorsRequest returns a request value for making API operation for Amazon GuardDuty.
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
// Example sending a request using ListDetectorsRequest. req := client.ListDetectorsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors
func (*Client) ListFiltersRequest ¶
func (c *Client) ListFiltersRequest(input *ListFiltersInput) ListFiltersRequest
ListFiltersRequest returns a request value for making API operation for Amazon GuardDuty.
Returns a paginated list of the current filters.
// Example sending a request using ListFiltersRequest. req := client.ListFiltersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFilters
func (*Client) ListFindingsRequest ¶
func (c *Client) ListFindingsRequest(input *ListFindingsInput) ListFindingsRequest
ListFindingsRequest returns a request value for making API operation for Amazon GuardDuty.
Lists Amazon GuardDuty findings for the specified detector ID.
// Example sending a request using ListFindingsRequest. req := client.ListFindingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings
func (*Client) ListIPSetsRequest ¶
func (c *Client) ListIPSetsRequest(input *ListIPSetsInput) ListIPSetsRequest
ListIPSetsRequest returns a request value for making API operation for Amazon GuardDuty.
Lists the IPSets of the GuardDuty service specified by the detector ID.
// Example sending a request using ListIPSetsRequest. req := client.ListIPSetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets
func (*Client) ListInvitationsRequest ¶
func (c *Client) ListInvitationsRequest(input *ListInvitationsInput) ListInvitationsRequest
ListInvitationsRequest returns a request value for making API operation for Amazon GuardDuty.
Lists all GuardDuty membership invitations that were sent to the current AWS account.
// Example sending a request using ListInvitationsRequest. req := client.ListInvitationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations
func (*Client) ListMembersRequest ¶
func (c *Client) ListMembersRequest(input *ListMembersInput) ListMembersRequest
ListMembersRequest returns a request value for making API operation for Amazon GuardDuty.
Lists details about all member accounts for the current GuardDuty master account.
// Example sending a request using ListMembersRequest. req := client.ListMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers
func (*Client) ListThreatIntelSetsRequest ¶
func (c *Client) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) ListThreatIntelSetsRequest
ListThreatIntelSetsRequest returns a request value for making API operation for Amazon GuardDuty.
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
// Example sending a request using ListThreatIntelSetsRequest. req := client.ListThreatIntelSetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets
func (*Client) StartMonitoringMembersRequest ¶
func (c *Client) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) StartMonitoringMembersRequest
StartMonitoringMembersRequest returns a request value for making 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.
// Example sending a request using StartMonitoringMembersRequest. req := client.StartMonitoringMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers
func (*Client) StopMonitoringMembersRequest ¶
func (c *Client) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) StopMonitoringMembersRequest
StopMonitoringMembersRequest returns a request value for making 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.
// Example sending a request using StopMonitoringMembersRequest. req := client.StopMonitoringMembersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers
func (*Client) UnarchiveFindingsRequest ¶
func (c *Client) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) UnarchiveFindingsRequest
UnarchiveFindingsRequest returns a request value for making API operation for Amazon GuardDuty.
Unarchives Amazon GuardDuty findings specified by the list of finding IDs.
// Example sending a request using UnarchiveFindingsRequest. req := client.UnarchiveFindingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings
func (*Client) UpdateDetectorRequest ¶
func (c *Client) UpdateDetectorRequest(input *UpdateDetectorInput) UpdateDetectorRequest
UpdateDetectorRequest returns a request value for making API operation for Amazon GuardDuty.
Updates an Amazon GuardDuty detector specified by the detectorId.
// Example sending a request using UpdateDetectorRequest. req := client.UpdateDetectorRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector
func (*Client) UpdateFilterRequest ¶
func (c *Client) UpdateFilterRequest(input *UpdateFilterInput) UpdateFilterRequest
UpdateFilterRequest returns a request value for making API operation for Amazon GuardDuty.
Updates the filter specified by the filter name.
// Example sending a request using UpdateFilterRequest. req := client.UpdateFilterRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilter
func (*Client) UpdateFindingsFeedbackRequest ¶
func (c *Client) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) UpdateFindingsFeedbackRequest
UpdateFindingsFeedbackRequest returns a request value for making API operation for Amazon GuardDuty.
Marks specified Amazon GuardDuty findings as useful or not useful.
// Example sending a request using UpdateFindingsFeedbackRequest. req := client.UpdateFindingsFeedbackRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback
func (*Client) UpdateIPSetRequest ¶
func (c *Client) UpdateIPSetRequest(input *UpdateIPSetInput) UpdateIPSetRequest
UpdateIPSetRequest returns a request value for making API operation for Amazon GuardDuty.
Updates the IPSet specified by the IPSet ID.
// Example sending a request using UpdateIPSetRequest. req := client.UpdateIPSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet
func (*Client) UpdateThreatIntelSetRequest ¶
func (c *Client) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput) UpdateThreatIntelSetRequest
UpdateThreatIntelSetRequest returns a request value for making API operation for Amazon GuardDuty.
Updates the ThreatIntelSet specified by ThreatIntelSet ID.
// Example sending a request using UpdateThreatIntelSetRequest. req := client.UpdateThreatIntelSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition
func (Condition) MarshalFields ¶
func (s Condition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Condition) String ¶
String returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Country
func (Country) MarshalFields ¶
func (s Country) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Country) String ¶
String returns the string representation
type CreateDetectorInput ¶
type CreateDetectorInput struct { // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // A boolean value that specifies whether the detector is to be enabled. // // Enable is a required field Enable *bool `locationName:"enable" type:"boolean" required:"true"` // A enum value that specifies how frequently customer got Finding updates published. FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"` // contains filtered or unexported fields }
Create Detector Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest
func (CreateDetectorInput) MarshalFields ¶
func (s CreateDetectorInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDetectorInput) String ¶
func (s CreateDetectorInput) String() string
String returns the string representation
func (*CreateDetectorInput) Validate ¶
func (s *CreateDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse
func (CreateDetectorOutput) MarshalFields ¶
func (s CreateDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDetectorOutput) String ¶
func (s CreateDetectorOutput) String() string
String returns the string representation
type CreateDetectorRequest ¶
type CreateDetectorRequest struct { *aws.Request Input *CreateDetectorInput Copy func(*CreateDetectorInput) CreateDetectorRequest }
CreateDetectorRequest is the request type for the CreateDetector API operation.
func (CreateDetectorRequest) Send ¶
func (r CreateDetectorRequest) Send(ctx context.Context) (*CreateDetectorResponse, error)
Send marshals and sends the CreateDetector API request.
type CreateDetectorResponse ¶
type CreateDetectorResponse struct { *CreateDetectorOutput // contains filtered or unexported fields }
CreateDetectorResponse is the response type for the CreateDetector API operation.
func (*CreateDetectorResponse) SDKResponseMetdata ¶
func (r *CreateDetectorResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDetector request.
type CreateFilterInput ¶
type CreateFilterInput struct { // Specifies the action that is to be applied to the findings that match the // filter. Action FilterAction `locationName:"action" type:"string" enum:"true"` // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // The description of the filter. Description *string `locationName:"description" type:"string"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // Represents the criteria to be used in the filter for querying findings. // // FindingCriteria is a required field FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"` // The name of the filter. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank *int64 `locationName:"rank" type:"integer"` // contains filtered or unexported fields }
CreateFilter request object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilterRequest
func (CreateFilterInput) MarshalFields ¶
func (s CreateFilterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateFilterInput) String ¶
func (s CreateFilterInput) String() string
String returns the string representation
func (*CreateFilterInput) Validate ¶
func (s *CreateFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFilterOutput ¶
type CreateFilterOutput struct { // The name of the successfully created filter. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
CreateFilter response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilterResponse
func (CreateFilterOutput) MarshalFields ¶
func (s CreateFilterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateFilterOutput) String ¶
func (s CreateFilterOutput) String() string
String returns the string representation
type CreateFilterRequest ¶
type CreateFilterRequest struct { *aws.Request Input *CreateFilterInput Copy func(*CreateFilterInput) CreateFilterRequest }
CreateFilterRequest is the request type for the CreateFilter API operation.
func (CreateFilterRequest) Send ¶
func (r CreateFilterRequest) Send(ctx context.Context) (*CreateFilterResponse, error)
Send marshals and sends the CreateFilter API request.
type CreateFilterResponse ¶
type CreateFilterResponse struct { *CreateFilterOutput // contains filtered or unexported fields }
CreateFilterResponse is the response type for the CreateFilter API operation.
func (*CreateFilterResponse) SDKResponseMetdata ¶
func (r *CreateFilterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateFilter request.
type CreateIPSetInput ¶
type CreateIPSetInput struct { // A boolean value that indicates whether GuardDuty is to start using the uploaded // IPSet. // // Activate is a required field Activate *bool `locationName:"activate" type:"boolean" required:"true"` // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // 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 is a required field Format IpSetFormat `locationName:"format" type:"string" required:"true" enum:"true"` // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) // // Location is a required field Location *string `locationName:"location" type:"string" required:"true"` // The user friendly name to identify the IPSet. This name is displayed in all // findings that are triggered by activity that involves IP addresses included // in this IPSet. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Create IP Set Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest
func (CreateIPSetInput) MarshalFields ¶
func (s CreateIPSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetResponse
func (CreateIPSetOutput) MarshalFields ¶
func (s CreateIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateIPSetOutput) String ¶
func (s CreateIPSetOutput) String() string
String returns the string representation
type CreateIPSetRequest ¶
type CreateIPSetRequest struct { *aws.Request Input *CreateIPSetInput Copy func(*CreateIPSetInput) CreateIPSetRequest }
CreateIPSetRequest is the request type for the CreateIPSet API operation.
func (CreateIPSetRequest) Send ¶
func (r CreateIPSetRequest) Send(ctx context.Context) (*CreateIPSetResponse, error)
Send marshals and sends the CreateIPSet API request.
type CreateIPSetResponse ¶
type CreateIPSetResponse struct { *CreateIPSetOutput // contains filtered or unexported fields }
CreateIPSetResponse is the response type for the CreateIPSet API operation.
func (*CreateIPSetResponse) SDKResponseMetdata ¶
func (r *CreateIPSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateIPSet request.
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 is a required field AccountDetails []AccountDetail `locationName:"accountDetails" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
CreateMembers body Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersRequest
func (CreateMembersInput) MarshalFields ¶
func (s CreateMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersResponse
func (CreateMembersOutput) MarshalFields ¶
func (s CreateMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateMembersOutput) String ¶
func (s CreateMembersOutput) String() string
String returns the string representation
type CreateMembersRequest ¶
type CreateMembersRequest struct { *aws.Request Input *CreateMembersInput Copy func(*CreateMembersInput) CreateMembersRequest }
CreateMembersRequest is the request type for the CreateMembers API operation.
func (CreateMembersRequest) Send ¶
func (r CreateMembersRequest) Send(ctx context.Context) (*CreateMembersResponse, error)
Send marshals and sends the CreateMembers API request.
type CreateMembersResponse ¶
type CreateMembersResponse struct { *CreateMembersOutput // contains filtered or unexported fields }
CreateMembersResponse is the response type for the CreateMembers API operation.
func (*CreateMembersResponse) SDKResponseMetdata ¶
func (r *CreateMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateMembers request.
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 Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsRequest
func (CreateSampleFindingsInput) MarshalFields ¶
func (s CreateSampleFindingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsResponse
func (CreateSampleFindingsOutput) MarshalFields ¶
func (s CreateSampleFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSampleFindingsOutput) String ¶
func (s CreateSampleFindingsOutput) String() string
String returns the string representation
type CreateSampleFindingsRequest ¶
type CreateSampleFindingsRequest struct { *aws.Request Input *CreateSampleFindingsInput Copy func(*CreateSampleFindingsInput) CreateSampleFindingsRequest }
CreateSampleFindingsRequest is the request type for the CreateSampleFindings API operation.
func (CreateSampleFindingsRequest) Send ¶
func (r CreateSampleFindingsRequest) Send(ctx context.Context) (*CreateSampleFindingsResponse, error)
Send marshals and sends the CreateSampleFindings API request.
type CreateSampleFindingsResponse ¶
type CreateSampleFindingsResponse struct { *CreateSampleFindingsOutput // contains filtered or unexported fields }
CreateSampleFindingsResponse is the response type for the CreateSampleFindings API operation.
func (*CreateSampleFindingsResponse) SDKResponseMetdata ¶
func (r *CreateSampleFindingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSampleFindings request.
type CreateThreatIntelSetInput ¶
type CreateThreatIntelSetInput struct { // A boolean value that indicates whether GuardDuty is to start using the uploaded // ThreatIntelSet. // // Activate is a required field Activate *bool `locationName:"activate" type:"boolean" required:"true"` // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // 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 is a required field Format ThreatIntelSetFormat `locationName:"format" type:"string" required:"true" enum:"true"` // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). // // Location is a required field Location *string `locationName:"location" type:"string" required:"true"` // A user-friendly ThreatIntelSet name that is displayed in all finding generated // by activity that involves IP addresses included in this ThreatIntelSet. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Create Threat Intel Set Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetRequest
func (CreateThreatIntelSetInput) MarshalFields ¶
func (s CreateThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetResponse
func (CreateThreatIntelSetOutput) MarshalFields ¶
func (s CreateThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThreatIntelSetOutput) String ¶
func (s CreateThreatIntelSetOutput) String() string
String returns the string representation
type CreateThreatIntelSetRequest ¶
type CreateThreatIntelSetRequest struct { *aws.Request Input *CreateThreatIntelSetInput Copy func(*CreateThreatIntelSetInput) CreateThreatIntelSetRequest }
CreateThreatIntelSetRequest is the request type for the CreateThreatIntelSet API operation.
func (CreateThreatIntelSetRequest) Send ¶
func (r CreateThreatIntelSetRequest) Send(ctx context.Context) (*CreateThreatIntelSetResponse, error)
Send marshals and sends the CreateThreatIntelSet API request.
type CreateThreatIntelSetResponse ¶
type CreateThreatIntelSetResponse struct { *CreateThreatIntelSetOutput // contains filtered or unexported fields }
CreateThreatIntelSetResponse is the response type for the CreateThreatIntelSet API operation.
func (*CreateThreatIntelSetResponse) SDKResponseMetdata ¶
func (r *CreateThreatIntelSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateThreatIntelSet request.
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 is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // contains filtered or unexported fields }
DeclineInvitations request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsRequest
func (DeclineInvitationsInput) MarshalFields ¶
func (s DeclineInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeclineInvitationsInput) String ¶
func (s DeclineInvitationsInput) String() string
String returns the string representation
func (*DeclineInvitationsInput) Validate ¶
func (s *DeclineInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsResponse
func (DeclineInvitationsOutput) MarshalFields ¶
func (s DeclineInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeclineInvitationsOutput) String ¶
func (s DeclineInvitationsOutput) String() string
String returns the string representation
type DeclineInvitationsRequest ¶
type DeclineInvitationsRequest struct { *aws.Request Input *DeclineInvitationsInput Copy func(*DeclineInvitationsInput) DeclineInvitationsRequest }
DeclineInvitationsRequest is the request type for the DeclineInvitations API operation.
func (DeclineInvitationsRequest) Send ¶
func (r DeclineInvitationsRequest) Send(ctx context.Context) (*DeclineInvitationsResponse, error)
Send marshals and sends the DeclineInvitations API request.
type DeclineInvitationsResponse ¶
type DeclineInvitationsResponse struct { *DeclineInvitationsOutput // contains filtered or unexported fields }
DeclineInvitationsResponse is the response type for the DeclineInvitations API operation.
func (*DeclineInvitationsResponse) SDKResponseMetdata ¶
func (r *DeclineInvitationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeclineInvitations request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorRequest
func (DeleteDetectorInput) MarshalFields ¶
func (s DeleteDetectorInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorResponse
func (DeleteDetectorOutput) MarshalFields ¶
func (s DeleteDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDetectorOutput) String ¶
func (s DeleteDetectorOutput) String() string
String returns the string representation
type DeleteDetectorRequest ¶
type DeleteDetectorRequest struct { *aws.Request Input *DeleteDetectorInput Copy func(*DeleteDetectorInput) DeleteDetectorRequest }
DeleteDetectorRequest is the request type for the DeleteDetector API operation.
func (DeleteDetectorRequest) Send ¶
func (r DeleteDetectorRequest) Send(ctx context.Context) (*DeleteDetectorResponse, error)
Send marshals and sends the DeleteDetector API request.
type DeleteDetectorResponse ¶
type DeleteDetectorResponse struct { *DeleteDetectorOutput // contains filtered or unexported fields }
DeleteDetectorResponse is the response type for the DeleteDetector API operation.
func (*DeleteDetectorResponse) SDKResponseMetdata ¶
func (r *DeleteDetectorResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDetector request.
type DeleteFilterInput ¶
type DeleteFilterInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // FilterName is a required field FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilterRequest
func (DeleteFilterInput) MarshalFields ¶
func (s DeleteFilterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteFilterInput) String ¶
func (s DeleteFilterInput) String() string
String returns the string representation
func (*DeleteFilterInput) Validate ¶
func (s *DeleteFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFilterOutput ¶
type DeleteFilterOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilterResponse
func (DeleteFilterOutput) MarshalFields ¶
func (s DeleteFilterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteFilterOutput) String ¶
func (s DeleteFilterOutput) String() string
String returns the string representation
type DeleteFilterRequest ¶
type DeleteFilterRequest struct { *aws.Request Input *DeleteFilterInput Copy func(*DeleteFilterInput) DeleteFilterRequest }
DeleteFilterRequest is the request type for the DeleteFilter API operation.
func (DeleteFilterRequest) Send ¶
func (r DeleteFilterRequest) Send(ctx context.Context) (*DeleteFilterResponse, error)
Send marshals and sends the DeleteFilter API request.
type DeleteFilterResponse ¶
type DeleteFilterResponse struct { *DeleteFilterOutput // contains filtered or unexported fields }
DeleteFilterResponse is the response type for the DeleteFilter API operation.
func (*DeleteFilterResponse) SDKResponseMetdata ¶
func (r *DeleteFilterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteFilter request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetRequest
func (DeleteIPSetInput) MarshalFields ¶
func (s DeleteIPSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetResponse
func (DeleteIPSetOutput) MarshalFields ¶
func (s DeleteIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteIPSetOutput) String ¶
func (s DeleteIPSetOutput) String() string
String returns the string representation
type DeleteIPSetRequest ¶
type DeleteIPSetRequest struct { *aws.Request Input *DeleteIPSetInput Copy func(*DeleteIPSetInput) DeleteIPSetRequest }
DeleteIPSetRequest is the request type for the DeleteIPSet API operation.
func (DeleteIPSetRequest) Send ¶
func (r DeleteIPSetRequest) Send(ctx context.Context) (*DeleteIPSetResponse, error)
Send marshals and sends the DeleteIPSet API request.
type DeleteIPSetResponse ¶
type DeleteIPSetResponse struct { *DeleteIPSetOutput // contains filtered or unexported fields }
DeleteIPSetResponse is the response type for the DeleteIPSet API operation.
func (*DeleteIPSetResponse) SDKResponseMetdata ¶
func (r *DeleteIPSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteIPSet request.
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 is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // contains filtered or unexported fields }
DeleteInvitations request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsRequest
func (DeleteInvitationsInput) MarshalFields ¶
func (s DeleteInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteInvitationsInput) String ¶
func (s DeleteInvitationsInput) String() string
String returns the string representation
func (*DeleteInvitationsInput) Validate ¶
func (s *DeleteInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsResponse
func (DeleteInvitationsOutput) MarshalFields ¶
func (s DeleteInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteInvitationsOutput) String ¶
func (s DeleteInvitationsOutput) String() string
String returns the string representation
type DeleteInvitationsRequest ¶
type DeleteInvitationsRequest struct { *aws.Request Input *DeleteInvitationsInput Copy func(*DeleteInvitationsInput) DeleteInvitationsRequest }
DeleteInvitationsRequest is the request type for the DeleteInvitations API operation.
func (DeleteInvitationsRequest) Send ¶
func (r DeleteInvitationsRequest) Send(ctx context.Context) (*DeleteInvitationsResponse, error)
Send marshals and sends the DeleteInvitations API request.
type DeleteInvitationsResponse ¶
type DeleteInvitationsResponse struct { *DeleteInvitationsOutput // contains filtered or unexported fields }
DeleteInvitationsResponse is the response type for the DeleteInvitations API operation.
func (*DeleteInvitationsResponse) SDKResponseMetdata ¶
func (r *DeleteInvitationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteInvitations request.
type DeleteMembersInput ¶
type DeleteMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to delete. // // AccountIds is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
DeleteMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersRequest
func (DeleteMembersInput) MarshalFields ¶
func (s DeleteMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersResponse
func (DeleteMembersOutput) MarshalFields ¶
func (s DeleteMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteMembersOutput) String ¶
func (s DeleteMembersOutput) String() string
String returns the string representation
type DeleteMembersRequest ¶
type DeleteMembersRequest struct { *aws.Request Input *DeleteMembersInput Copy func(*DeleteMembersInput) DeleteMembersRequest }
DeleteMembersRequest is the request type for the DeleteMembers API operation.
func (DeleteMembersRequest) Send ¶
func (r DeleteMembersRequest) Send(ctx context.Context) (*DeleteMembersResponse, error)
Send marshals and sends the DeleteMembers API request.
type DeleteMembersResponse ¶
type DeleteMembersResponse struct { *DeleteMembersOutput // contains filtered or unexported fields }
DeleteMembersResponse is the response type for the DeleteMembers API operation.
func (*DeleteMembersResponse) SDKResponseMetdata ¶
func (r *DeleteMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteMembers request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetRequest
func (DeleteThreatIntelSetInput) MarshalFields ¶
func (s DeleteThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetResponse
func (DeleteThreatIntelSetOutput) MarshalFields ¶
func (s DeleteThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteThreatIntelSetOutput) String ¶
func (s DeleteThreatIntelSetOutput) String() string
String returns the string representation
type DeleteThreatIntelSetRequest ¶
type DeleteThreatIntelSetRequest struct { *aws.Request Input *DeleteThreatIntelSetInput Copy func(*DeleteThreatIntelSetInput) DeleteThreatIntelSetRequest }
DeleteThreatIntelSetRequest is the request type for the DeleteThreatIntelSet API operation.
func (DeleteThreatIntelSetRequest) Send ¶
func (r DeleteThreatIntelSetRequest) Send(ctx context.Context) (*DeleteThreatIntelSetResponse, error)
Send marshals and sends the DeleteThreatIntelSet API request.
type DeleteThreatIntelSetResponse ¶
type DeleteThreatIntelSetResponse struct { *DeleteThreatIntelSetOutput // contains filtered or unexported fields }
DeleteThreatIntelSetResponse is the response type for the DeleteThreatIntelSet API operation.
func (*DeleteThreatIntelSetResponse) SDKResponseMetdata ¶
func (r *DeleteThreatIntelSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteThreatIntelSet request.
type DetectorStatus ¶
type DetectorStatus string
The status of detector.
const ( DetectorStatusEnabled DetectorStatus = "ENABLED" DetectorStatusDisabled DetectorStatus = "DISABLED" )
Enum values for DetectorStatus
func (DetectorStatus) MarshalValue ¶
func (enum DetectorStatus) MarshalValue() (string, error)
func (DetectorStatus) MarshalValueBuf ¶
func (enum DetectorStatus) MarshalValueBuf(b []byte) ([]byte, error)
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountRequest
func (DisassociateFromMasterAccountInput) MarshalFields ¶
func (s DisassociateFromMasterAccountInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountResponse
func (DisassociateFromMasterAccountOutput) MarshalFields ¶
func (s DisassociateFromMasterAccountOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateFromMasterAccountOutput) String ¶
func (s DisassociateFromMasterAccountOutput) String() string
String returns the string representation
type DisassociateFromMasterAccountRequest ¶
type DisassociateFromMasterAccountRequest struct { *aws.Request Input *DisassociateFromMasterAccountInput Copy func(*DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest }
DisassociateFromMasterAccountRequest is the request type for the DisassociateFromMasterAccount API operation.
func (DisassociateFromMasterAccountRequest) Send ¶
func (r DisassociateFromMasterAccountRequest) Send(ctx context.Context) (*DisassociateFromMasterAccountResponse, error)
Send marshals and sends the DisassociateFromMasterAccount API request.
type DisassociateFromMasterAccountResponse ¶
type DisassociateFromMasterAccountResponse struct { *DisassociateFromMasterAccountOutput // contains filtered or unexported fields }
DisassociateFromMasterAccountResponse is the response type for the DisassociateFromMasterAccount API operation.
func (*DisassociateFromMasterAccountResponse) SDKResponseMetdata ¶
func (r *DisassociateFromMasterAccountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateFromMasterAccount request.
type DisassociateMembersInput ¶
type DisassociateMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to disassociate // from master. // // AccountIds is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
DisassociateMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersRequest
func (DisassociateMembersInput) MarshalFields ¶
func (s DisassociateMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersResponse
func (DisassociateMembersOutput) MarshalFields ¶
func (s DisassociateMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateMembersOutput) String ¶
func (s DisassociateMembersOutput) String() string
String returns the string representation
type DisassociateMembersRequest ¶
type DisassociateMembersRequest struct { *aws.Request Input *DisassociateMembersInput Copy func(*DisassociateMembersInput) DisassociateMembersRequest }
DisassociateMembersRequest is the request type for the DisassociateMembers API operation.
func (DisassociateMembersRequest) Send ¶
func (r DisassociateMembersRequest) Send(ctx context.Context) (*DisassociateMembersResponse, error)
Send marshals and sends the DisassociateMembers API request.
type DisassociateMembersResponse ¶
type DisassociateMembersResponse struct { *DisassociateMembersOutput // contains filtered or unexported fields }
DisassociateMembersResponse is the response type for the DisassociateMembers API operation.
func (*DisassociateMembersResponse) SDKResponseMetdata ¶
func (r *DisassociateMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateMembers request.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DnsRequestAction
func (DnsRequestAction) MarshalFields ¶
func (s DnsRequestAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DomainDetails
func (DomainDetails) MarshalFields ¶
func (s DomainDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DomainDetails) String ¶
func (s DomainDetails) String() string
String returns the string representation
type Feedback ¶
type Feedback string
Finding Feedback Value
Enum values for Feedback
func (Feedback) MarshalValue ¶
func (Feedback) MarshalValueBuf ¶
type FilterAction ¶
type FilterAction string
The action associated with a filter.
const ( FilterActionNoop FilterAction = "NOOP" FilterActionArchive FilterAction = "ARCHIVE" )
Enum values for FilterAction
func (FilterAction) MarshalValue ¶
func (enum FilterAction) MarshalValue() (string, error)
func (FilterAction) MarshalValueBuf ¶
func (enum FilterAction) MarshalValueBuf(b []byte) ([]byte, error)
type Finding ¶
type Finding struct { // AWS account ID where the activity occurred that prompted GuardDuty to generate // a finding. // // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` // The ARN of a finding described by the action. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The confidence level of a finding. Confidence *float64 `locationName:"confidence" type:"double"` // The time stamp at which a finding was generated. // // CreatedAt is a required field CreatedAt *string `locationName:"createdAt" type:"string" required:"true"` // The description of a finding. Description *string `locationName:"description" type:"string"` // The identifier that corresponds to a finding described by the action. // // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // 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 is a required field Region *string `locationName:"region" type:"string" required:"true"` // The AWS resource associated with the activity that prompted GuardDuty to // generate a finding. // // Resource is a required field Resource *Resource `locationName:"resource" type:"structure" required:"true"` // Findings' schema version. // // SchemaVersion is a required field SchemaVersion *string `locationName:"schemaVersion" type:"string" required:"true"` // Additional information assigned to the generated finding by GuardDuty. Service *Service `locationName:"service" type:"structure"` // The severity of a finding. // // Severity is a required field Severity *float64 `locationName:"severity" type:"double" required:"true"` // The title of a finding. Title *string `locationName:"title" type:"string"` // The type of a finding described by the action. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true"` // The time stamp at which a finding was last updated. // // UpdatedAt is a required field UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"` // contains filtered or unexported fields }
Representation of a abnormal or suspicious activity. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Finding
func (Finding) MarshalFields ¶
func (s Finding) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Finding) String ¶
String returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingCriteria
func (FindingCriteria) MarshalFields ¶
func (s FindingCriteria) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FindingCriteria) String ¶
func (s FindingCriteria) String() string
String returns the string representation
type FindingPublishingFrequency ¶
type FindingPublishingFrequency string
A enum value that specifies how frequently customer got Finding updates published.
const ( FindingPublishingFrequencyFifteenMinutes FindingPublishingFrequency = "FIFTEEN_MINUTES" FindingPublishingFrequencyOneHour FindingPublishingFrequency = "ONE_HOUR" FindingPublishingFrequencySixHours FindingPublishingFrequency = "SIX_HOURS" )
Enum values for FindingPublishingFrequency
func (FindingPublishingFrequency) MarshalValue ¶
func (enum FindingPublishingFrequency) MarshalValue() (string, error)
func (FindingPublishingFrequency) MarshalValueBuf ¶
func (enum FindingPublishingFrequency) MarshalValueBuf(b []byte) ([]byte, error)
type FindingStatisticType ¶
type FindingStatisticType string
The types of finding statistics.
const ( FindingStatisticTypeCountBySeverity FindingStatisticType = "COUNT_BY_SEVERITY" )
Enum values for FindingStatisticType
func (FindingStatisticType) MarshalValue ¶
func (enum FindingStatisticType) MarshalValue() (string, error)
func (FindingStatisticType) MarshalValueBuf ¶
func (enum FindingStatisticType) MarshalValueBuf(b []byte) ([]byte, error)
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics
func (FindingStatistics) MarshalFields ¶
func (s FindingStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GeoLocation
func (GeoLocation) MarshalFields ¶
func (s GeoLocation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorRequest
func (GetDetectorInput) MarshalFields ¶
func (s GetDetectorInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` // A enum value that specifies how frequently customer got Finding updates published. FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"` // Customer serviceRole name or ARN for accessing customer resources ServiceRole *string `locationName:"serviceRole" type:"string"` // The status of detector. Status DetectorStatus `locationName:"status" type:"string" enum:"true"` // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse
func (GetDetectorOutput) MarshalFields ¶
func (s GetDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDetectorOutput) String ¶
func (s GetDetectorOutput) String() string
String returns the string representation
type GetDetectorRequest ¶
type GetDetectorRequest struct { *aws.Request Input *GetDetectorInput Copy func(*GetDetectorInput) GetDetectorRequest }
GetDetectorRequest is the request type for the GetDetector API operation.
func (GetDetectorRequest) Send ¶
func (r GetDetectorRequest) Send(ctx context.Context) (*GetDetectorResponse, error)
Send marshals and sends the GetDetector API request.
type GetDetectorResponse ¶
type GetDetectorResponse struct { *GetDetectorOutput // contains filtered or unexported fields }
GetDetectorResponse is the response type for the GetDetector API operation.
func (*GetDetectorResponse) SDKResponseMetdata ¶
func (r *GetDetectorResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDetector request.
type GetFilterInput ¶
type GetFilterInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // FilterName is a required field FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilterRequest
func (GetFilterInput) MarshalFields ¶
func (s GetFilterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFilterInput) String ¶
func (s GetFilterInput) String() string
String returns the string representation
func (*GetFilterInput) Validate ¶
func (s *GetFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFilterOutput ¶
type GetFilterOutput struct { // Specifies the action that is to be applied to the findings that match the // filter. Action FilterAction `locationName:"action" type:"string" enum:"true"` // The description of the filter. Description *string `locationName:"description" type:"string"` // Represents the criteria to be used in the filter for querying findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` // The name of the filter. Name *string `locationName:"name" type:"string"` // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank *int64 `locationName:"rank" type:"integer"` // contains filtered or unexported fields }
GetFilter response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilterResponse
func (GetFilterOutput) MarshalFields ¶
func (s GetFilterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFilterOutput) String ¶
func (s GetFilterOutput) String() string
String returns the string representation
type GetFilterRequest ¶
type GetFilterRequest struct { *aws.Request Input *GetFilterInput Copy func(*GetFilterInput) GetFilterRequest }
GetFilterRequest is the request type for the GetFilter API operation.
func (GetFilterRequest) Send ¶
func (r GetFilterRequest) Send(ctx context.Context) (*GetFilterResponse, error)
Send marshals and sends the GetFilter API request.
type GetFilterResponse ¶
type GetFilterResponse struct { *GetFilterOutput // contains filtered or unexported fields }
GetFilterResponse is the response type for the GetFilter API operation.
func (*GetFilterResponse) SDKResponseMetdata ¶
func (r *GetFilterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetFilter request.
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 is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // Represents the criteria used for sorting findings. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
Get Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsRequest
func (GetFindingsInput) MarshalFields ¶
func (s GetFindingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsResponse
func (GetFindingsOutput) MarshalFields ¶
func (s GetFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFindingsOutput) String ¶
func (s GetFindingsOutput) String() string
String returns the string representation
type GetFindingsRequest ¶
type GetFindingsRequest struct { *aws.Request Input *GetFindingsInput Copy func(*GetFindingsInput) GetFindingsRequest }
GetFindingsRequest is the request type for the GetFindings API operation.
func (GetFindingsRequest) Send ¶
func (r GetFindingsRequest) Send(ctx context.Context) (*GetFindingsResponse, error)
Send marshals and sends the GetFindings API request.
type GetFindingsResponse ¶
type GetFindingsResponse struct { *GetFindingsOutput // contains filtered or unexported fields }
GetFindingsResponse is the response type for the GetFindings API operation.
func (*GetFindingsResponse) SDKResponseMetdata ¶
func (r *GetFindingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetFindings request.
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 is a required field FindingStatisticTypes []FindingStatisticType `locationName:"findingStatisticTypes" type:"list" required:"true"` // contains filtered or unexported fields }
Get Findings Statistics Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest
func (GetFindingsStatisticsInput) MarshalFields ¶
func (s GetFindingsStatisticsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse
func (GetFindingsStatisticsOutput) MarshalFields ¶
func (s GetFindingsStatisticsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFindingsStatisticsOutput) String ¶
func (s GetFindingsStatisticsOutput) String() string
String returns the string representation
type GetFindingsStatisticsRequest ¶
type GetFindingsStatisticsRequest struct { *aws.Request Input *GetFindingsStatisticsInput Copy func(*GetFindingsStatisticsInput) GetFindingsStatisticsRequest }
GetFindingsStatisticsRequest is the request type for the GetFindingsStatistics API operation.
func (GetFindingsStatisticsRequest) Send ¶
func (r GetFindingsStatisticsRequest) Send(ctx context.Context) (*GetFindingsStatisticsResponse, error)
Send marshals and sends the GetFindingsStatistics API request.
type GetFindingsStatisticsResponse ¶
type GetFindingsStatisticsResponse struct { *GetFindingsStatisticsOutput // contains filtered or unexported fields }
GetFindingsStatisticsResponse is the response type for the GetFindingsStatistics API operation.
func (*GetFindingsStatisticsResponse) SDKResponseMetdata ¶
func (r *GetFindingsStatisticsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetFindingsStatistics request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetRequest
func (GetIPSetInput) MarshalFields ¶
func (s GetIPSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 IpSetFormat `locationName:"format" type:"string" enum:"true"` // 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 IpSetStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
GetIPSet response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse
func (GetIPSetOutput) MarshalFields ¶
func (s GetIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIPSetOutput) String ¶
func (s GetIPSetOutput) String() string
String returns the string representation
type GetIPSetRequest ¶
type GetIPSetRequest struct { *aws.Request Input *GetIPSetInput Copy func(*GetIPSetInput) GetIPSetRequest }
GetIPSetRequest is the request type for the GetIPSet API operation.
func (GetIPSetRequest) Send ¶
func (r GetIPSetRequest) Send(ctx context.Context) (*GetIPSetResponse, error)
Send marshals and sends the GetIPSet API request.
type GetIPSetResponse ¶
type GetIPSetResponse struct { *GetIPSetOutput // contains filtered or unexported fields }
GetIPSetResponse is the response type for the GetIPSet API operation.
func (*GetIPSetResponse) SDKResponseMetdata ¶
func (r *GetIPSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetIPSet request.
type GetInvitationsCountInput ¶
type GetInvitationsCountInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountRequest
func (GetInvitationsCountInput) MarshalFields ¶
func (s GetInvitationsCountInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountResponse
func (GetInvitationsCountOutput) MarshalFields ¶
func (s GetInvitationsCountOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetInvitationsCountOutput) String ¶
func (s GetInvitationsCountOutput) String() string
String returns the string representation
type GetInvitationsCountRequest ¶
type GetInvitationsCountRequest struct { *aws.Request Input *GetInvitationsCountInput Copy func(*GetInvitationsCountInput) GetInvitationsCountRequest }
GetInvitationsCountRequest is the request type for the GetInvitationsCount API operation.
func (GetInvitationsCountRequest) Send ¶
func (r GetInvitationsCountRequest) Send(ctx context.Context) (*GetInvitationsCountResponse, error)
Send marshals and sends the GetInvitationsCount API request.
type GetInvitationsCountResponse ¶
type GetInvitationsCountResponse struct { *GetInvitationsCountOutput // contains filtered or unexported fields }
GetInvitationsCountResponse is the response type for the GetInvitationsCount API operation.
func (*GetInvitationsCountResponse) SDKResponseMetdata ¶
func (r *GetInvitationsCountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetInvitationsCount request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountRequest
func (GetMasterAccountInput) MarshalFields ¶
func (s GetMasterAccountInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountResponse
func (GetMasterAccountOutput) MarshalFields ¶
func (s GetMasterAccountOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetMasterAccountOutput) String ¶
func (s GetMasterAccountOutput) String() string
String returns the string representation
type GetMasterAccountRequest ¶
type GetMasterAccountRequest struct { *aws.Request Input *GetMasterAccountInput Copy func(*GetMasterAccountInput) GetMasterAccountRequest }
GetMasterAccountRequest is the request type for the GetMasterAccount API operation.
func (GetMasterAccountRequest) Send ¶
func (r GetMasterAccountRequest) Send(ctx context.Context) (*GetMasterAccountResponse, error)
Send marshals and sends the GetMasterAccount API request.
type GetMasterAccountResponse ¶
type GetMasterAccountResponse struct { *GetMasterAccountOutput // contains filtered or unexported fields }
GetMasterAccountResponse is the response type for the GetMasterAccount API operation.
func (*GetMasterAccountResponse) SDKResponseMetdata ¶
func (r *GetMasterAccountResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetMasterAccount request.
type GetMembersInput ¶
type GetMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to describe. // // AccountIds is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
GetMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersRequest
func (GetMembersInput) MarshalFields ¶
func (s GetMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersResponse
func (GetMembersOutput) MarshalFields ¶
func (s GetMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetMembersOutput) String ¶
func (s GetMembersOutput) String() string
String returns the string representation
type GetMembersRequest ¶
type GetMembersRequest struct { *aws.Request Input *GetMembersInput Copy func(*GetMembersInput) GetMembersRequest }
GetMembersRequest is the request type for the GetMembers API operation.
func (GetMembersRequest) Send ¶
func (r GetMembersRequest) Send(ctx context.Context) (*GetMembersResponse, error)
Send marshals and sends the GetMembers API request.
type GetMembersResponse ¶
type GetMembersResponse struct { *GetMembersOutput // contains filtered or unexported fields }
GetMembersResponse is the response type for the GetMembers API operation.
func (*GetMembersResponse) SDKResponseMetdata ¶
func (r *GetMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetMembers request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetRequest
func (GetThreatIntelSetInput) MarshalFields ¶
func (s GetThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 ThreatIntelSetFormat `locationName:"format" type:"string" enum:"true"` // 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 ThreatIntelSetStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
GetThreatIntelSet response object Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse
func (GetThreatIntelSetOutput) MarshalFields ¶
func (s GetThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetThreatIntelSetOutput) String ¶
func (s GetThreatIntelSetOutput) String() string
String returns the string representation
type GetThreatIntelSetRequest ¶
type GetThreatIntelSetRequest struct { *aws.Request Input *GetThreatIntelSetInput Copy func(*GetThreatIntelSetInput) GetThreatIntelSetRequest }
GetThreatIntelSetRequest is the request type for the GetThreatIntelSet API operation.
func (GetThreatIntelSetRequest) Send ¶
func (r GetThreatIntelSetRequest) Send(ctx context.Context) (*GetThreatIntelSetResponse, error)
Send marshals and sends the GetThreatIntelSet API request.
type GetThreatIntelSetResponse ¶
type GetThreatIntelSetResponse struct { *GetThreatIntelSetOutput // contains filtered or unexported fields }
GetThreatIntelSetResponse is the response type for the GetThreatIntelSet API operation.
func (*GetThreatIntelSetResponse) SDKResponseMetdata ¶
func (r *GetThreatIntelSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetThreatIntelSet request.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfile
func (IamInstanceProfile) MarshalFields ¶
func (s IamInstanceProfile) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 description of the EC2 instance. ImageDescription *string `locationName:"imageDescription" type:"string"` // The image ID of the EC2 instance. ImageId *string `locationName:"imageId" type:"string"` // The ID of the EC2 instance. InstanceId *string `locationName:"instanceId" type:"string"` // The state of the EC2 instance. InstanceState *string `locationName:"instanceState" type:"string"` // The type of the EC2 instance. InstanceType *string `locationName:"instanceType" type:"string"` // The launch time of the EC2 instance. LaunchTime *string `locationName:"launchTime" type:"string"` // The network interface information of the EC2 instance. NetworkInterfaces []NetworkInterface `locationName:"networkInterfaces" type:"list"` // The platform of the EC2 instance. Platform *string `locationName:"platform" type:"string"` // The product code of the EC2 instance. ProductCodes []ProductCode `locationName:"productCodes" type:"list"` // The tags of the EC2 instance. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InstanceDetails
func (InstanceDetails) MarshalFields ¶
func (s InstanceDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Invitation
func (Invitation) MarshalFields ¶
func (s Invitation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // A boolean value that specifies whether you want to disable email notification // to the accounts that you’re inviting to GuardDuty as members. DisableEmailNotification *bool `locationName:"disableEmailNotification" type:"boolean"` // The invitation message that you want to send to the accounts that you’re // inviting to GuardDuty as members. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
InviteMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest
func (InviteMembersInput) MarshalFields ¶
func (s InviteMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersResponse
func (InviteMembersOutput) MarshalFields ¶
func (s InviteMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InviteMembersOutput) String ¶
func (s InviteMembersOutput) String() string
String returns the string representation
type InviteMembersRequest ¶
type InviteMembersRequest struct { *aws.Request Input *InviteMembersInput Copy func(*InviteMembersInput) InviteMembersRequest }
InviteMembersRequest is the request type for the InviteMembers API operation.
func (InviteMembersRequest) Send ¶
func (r InviteMembersRequest) Send(ctx context.Context) (*InviteMembersResponse, error)
Send marshals and sends the InviteMembers API request.
type InviteMembersResponse ¶
type InviteMembersResponse struct { *InviteMembersOutput // contains filtered or unexported fields }
InviteMembersResponse is the response type for the InviteMembers API operation.
func (*InviteMembersResponse) SDKResponseMetdata ¶
func (r *InviteMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the InviteMembers request.
type IpSetFormat ¶
type IpSetFormat string
The format of the ipSet.
const ( IpSetFormatTxt IpSetFormat = "TXT" IpSetFormatStix IpSetFormat = "STIX" IpSetFormatOtxCsv IpSetFormat = "OTX_CSV" IpSetFormatAlienVault IpSetFormat = "ALIEN_VAULT" IpSetFormatProofPoint IpSetFormat = "PROOF_POINT" IpSetFormatFireEye IpSetFormat = "FIRE_EYE" )
Enum values for IpSetFormat
func (IpSetFormat) MarshalValue ¶
func (enum IpSetFormat) MarshalValue() (string, error)
func (IpSetFormat) MarshalValueBuf ¶
func (enum IpSetFormat) MarshalValueBuf(b []byte) ([]byte, error)
type IpSetStatus ¶
type IpSetStatus string
The status of ipSet file uploaded.
const ( IpSetStatusInactive IpSetStatus = "INACTIVE" IpSetStatusActivating IpSetStatus = "ACTIVATING" IpSetStatusActive IpSetStatus = "ACTIVE" IpSetStatusDeactivating IpSetStatus = "DEACTIVATING" IpSetStatusError IpSetStatus = "ERROR" IpSetStatusDeletePending IpSetStatus = "DELETE_PENDING" IpSetStatusDeleted IpSetStatus = "DELETED" )
Enum values for IpSetStatus
func (IpSetStatus) MarshalValue ¶
func (enum IpSetStatus) MarshalValue() (string, error)
func (IpSetStatus) MarshalValueBuf ¶
func (enum IpSetStatus) MarshalValueBuf(b []byte) ([]byte, error)
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsRequest
func (ListDetectorsInput) MarshalFields ¶
func (s ListDetectorsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsResponse
func (ListDetectorsOutput) MarshalFields ¶
func (s ListDetectorsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDetectorsOutput) String ¶
func (s ListDetectorsOutput) String() string
String returns the string representation
type ListDetectorsPaginator ¶
ListDetectorsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDetectorsPaginator ¶
func NewListDetectorsPaginator(req ListDetectorsRequest) ListDetectorsPaginator
NewListDetectorsRequestPaginator returns a paginator for ListDetectors. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDetectorsRequest(input) p := guardduty.NewListDetectorsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDetectorsPaginator) CurrentPage ¶
func (p *ListDetectorsPaginator) CurrentPage() *ListDetectorsOutput
type ListDetectorsRequest ¶
type ListDetectorsRequest struct { *aws.Request Input *ListDetectorsInput Copy func(*ListDetectorsInput) ListDetectorsRequest }
ListDetectorsRequest is the request type for the ListDetectors API operation.
func (ListDetectorsRequest) Send ¶
func (r ListDetectorsRequest) Send(ctx context.Context) (*ListDetectorsResponse, error)
Send marshals and sends the ListDetectors API request.
type ListDetectorsResponse ¶
type ListDetectorsResponse struct { *ListDetectorsOutput // contains filtered or unexported fields }
ListDetectorsResponse is the response type for the ListDetectors API operation.
func (*ListDetectorsResponse) SDKResponseMetdata ¶
func (r *ListDetectorsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDetectors request.
type ListFiltersInput ¶
type ListFiltersInput 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFiltersRequest
func (ListFiltersInput) MarshalFields ¶
func (s ListFiltersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFiltersInput) String ¶
func (s ListFiltersInput) String() string
String returns the string representation
func (*ListFiltersInput) Validate ¶
func (s *ListFiltersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFiltersOutput ¶
type ListFiltersOutput struct { // A list of filter names FilterNames []string `locationName:"filterNames" 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 }
ListFilters response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFiltersResponse
func (ListFiltersOutput) MarshalFields ¶
func (s ListFiltersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFiltersOutput) String ¶
func (s ListFiltersOutput) String() string
String returns the string representation
type ListFiltersPaginator ¶
ListFiltersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListFiltersPaginator ¶
func NewListFiltersPaginator(req ListFiltersRequest) ListFiltersPaginator
NewListFiltersRequestPaginator returns a paginator for ListFilters. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListFiltersRequest(input) p := guardduty.NewListFiltersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListFiltersPaginator) CurrentPage ¶
func (p *ListFiltersPaginator) CurrentPage() *ListFiltersOutput
type ListFiltersRequest ¶
type ListFiltersRequest struct { *aws.Request Input *ListFiltersInput Copy func(*ListFiltersInput) ListFiltersRequest }
ListFiltersRequest is the request type for the ListFilters API operation.
func (ListFiltersRequest) Send ¶
func (r ListFiltersRequest) Send(ctx context.Context) (*ListFiltersResponse, error)
Send marshals and sends the ListFilters API request.
type ListFiltersResponse ¶
type ListFiltersResponse struct { *ListFiltersOutput // contains filtered or unexported fields }
ListFiltersResponse is the response type for the ListFilters API operation.
func (*ListFiltersResponse) SDKResponseMetdata ¶
func (r *ListFiltersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListFilters request.
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 Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsRequest
func (ListFindingsInput) MarshalFields ¶
func (s ListFindingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsResponse
func (ListFindingsOutput) MarshalFields ¶
func (s ListFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFindingsOutput) String ¶
func (s ListFindingsOutput) String() string
String returns the string representation
type ListFindingsPaginator ¶
ListFindingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListFindingsPaginator ¶
func NewListFindingsPaginator(req ListFindingsRequest) ListFindingsPaginator
NewListFindingsRequestPaginator returns a paginator for ListFindings. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListFindingsRequest(input) p := guardduty.NewListFindingsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListFindingsPaginator) CurrentPage ¶
func (p *ListFindingsPaginator) CurrentPage() *ListFindingsOutput
type ListFindingsRequest ¶
type ListFindingsRequest struct { *aws.Request Input *ListFindingsInput Copy func(*ListFindingsInput) ListFindingsRequest }
ListFindingsRequest is the request type for the ListFindings API operation.
func (ListFindingsRequest) Send ¶
func (r ListFindingsRequest) Send(ctx context.Context) (*ListFindingsResponse, error)
Send marshals and sends the ListFindings API request.
type ListFindingsResponse ¶
type ListFindingsResponse struct { *ListFindingsOutput // contains filtered or unexported fields }
ListFindingsResponse is the response type for the ListFindings API operation.
func (*ListFindingsResponse) SDKResponseMetdata ¶
func (r *ListFindingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListFindings request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsRequest
func (ListIPSetsInput) MarshalFields ¶
func (s ListIPSetsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsResponse
func (ListIPSetsOutput) MarshalFields ¶
func (s ListIPSetsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListIPSetsOutput) String ¶
func (s ListIPSetsOutput) String() string
String returns the string representation
type ListIPSetsPaginator ¶
ListIPSetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListIPSetsPaginator ¶
func NewListIPSetsPaginator(req ListIPSetsRequest) ListIPSetsPaginator
NewListIPSetsRequestPaginator returns a paginator for ListIPSets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListIPSetsRequest(input) p := guardduty.NewListIPSetsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListIPSetsPaginator) CurrentPage ¶
func (p *ListIPSetsPaginator) CurrentPage() *ListIPSetsOutput
type ListIPSetsRequest ¶
type ListIPSetsRequest struct { *aws.Request Input *ListIPSetsInput Copy func(*ListIPSetsInput) ListIPSetsRequest }
ListIPSetsRequest is the request type for the ListIPSets API operation.
func (ListIPSetsRequest) Send ¶
func (r ListIPSetsRequest) Send(ctx context.Context) (*ListIPSetsResponse, error)
Send marshals and sends the ListIPSets API request.
type ListIPSetsResponse ¶
type ListIPSetsResponse struct { *ListIPSetsOutput // contains filtered or unexported fields }
ListIPSetsResponse is the response type for the ListIPSets API operation.
func (*ListIPSetsResponse) SDKResponseMetdata ¶
func (r *ListIPSetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListIPSets request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsRequest
func (ListInvitationsInput) MarshalFields ¶
func (s ListInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsResponse
func (ListInvitationsOutput) MarshalFields ¶
func (s ListInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListInvitationsOutput) String ¶
func (s ListInvitationsOutput) String() string
String returns the string representation
type ListInvitationsPaginator ¶
ListInvitationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListInvitationsPaginator ¶
func NewListInvitationsPaginator(req ListInvitationsRequest) ListInvitationsPaginator
NewListInvitationsRequestPaginator returns a paginator for ListInvitations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListInvitationsRequest(input) p := guardduty.NewListInvitationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListInvitationsPaginator) CurrentPage ¶
func (p *ListInvitationsPaginator) CurrentPage() *ListInvitationsOutput
type ListInvitationsRequest ¶
type ListInvitationsRequest struct { *aws.Request Input *ListInvitationsInput Copy func(*ListInvitationsInput) ListInvitationsRequest }
ListInvitationsRequest is the request type for the ListInvitations API operation.
func (ListInvitationsRequest) Send ¶
func (r ListInvitationsRequest) Send(ctx context.Context) (*ListInvitationsResponse, error)
Send marshals and sends the ListInvitations API request.
type ListInvitationsResponse ¶
type ListInvitationsResponse struct { *ListInvitationsOutput // contains filtered or unexported fields }
ListInvitationsResponse is the response type for the ListInvitations API operation.
func (*ListInvitationsResponse) SDKResponseMetdata ¶
func (r *ListInvitationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListInvitations request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest
func (ListMembersInput) MarshalFields ¶
func (s ListMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersResponse
func (ListMembersOutput) MarshalFields ¶
func (s ListMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListMembersOutput) String ¶
func (s ListMembersOutput) String() string
String returns the string representation
type ListMembersPaginator ¶
ListMembersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListMembersPaginator ¶
func NewListMembersPaginator(req ListMembersRequest) ListMembersPaginator
NewListMembersRequestPaginator returns a paginator for ListMembers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListMembersRequest(input) p := guardduty.NewListMembersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListMembersPaginator) CurrentPage ¶
func (p *ListMembersPaginator) CurrentPage() *ListMembersOutput
type ListMembersRequest ¶
type ListMembersRequest struct { *aws.Request Input *ListMembersInput Copy func(*ListMembersInput) ListMembersRequest }
ListMembersRequest is the request type for the ListMembers API operation.
func (ListMembersRequest) Send ¶
func (r ListMembersRequest) Send(ctx context.Context) (*ListMembersResponse, error)
Send marshals and sends the ListMembers API request.
type ListMembersResponse ¶
type ListMembersResponse struct { *ListMembersOutput // contains filtered or unexported fields }
ListMembersResponse is the response type for the ListMembers API operation.
func (*ListMembersResponse) SDKResponseMetdata ¶
func (r *ListMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListMembers request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsRequest
func (ListThreatIntelSetsInput) MarshalFields ¶
func (s ListThreatIntelSetsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsResponse
func (ListThreatIntelSetsOutput) MarshalFields ¶
func (s ListThreatIntelSetsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThreatIntelSetsOutput) String ¶
func (s ListThreatIntelSetsOutput) String() string
String returns the string representation
type ListThreatIntelSetsPaginator ¶
ListThreatIntelSetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListThreatIntelSetsPaginator ¶
func NewListThreatIntelSetsPaginator(req ListThreatIntelSetsRequest) ListThreatIntelSetsPaginator
NewListThreatIntelSetsRequestPaginator returns a paginator for ListThreatIntelSets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListThreatIntelSetsRequest(input) p := guardduty.NewListThreatIntelSetsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListThreatIntelSetsPaginator) CurrentPage ¶
func (p *ListThreatIntelSetsPaginator) CurrentPage() *ListThreatIntelSetsOutput
type ListThreatIntelSetsRequest ¶
type ListThreatIntelSetsRequest struct { *aws.Request Input *ListThreatIntelSetsInput Copy func(*ListThreatIntelSetsInput) ListThreatIntelSetsRequest }
ListThreatIntelSetsRequest is the request type for the ListThreatIntelSets API operation.
func (ListThreatIntelSetsRequest) Send ¶
func (r ListThreatIntelSetsRequest) Send(ctx context.Context) (*ListThreatIntelSetsResponse, error)
Send marshals and sends the ListThreatIntelSets API request.
type ListThreatIntelSetsResponse ¶
type ListThreatIntelSetsResponse struct { *ListThreatIntelSetsOutput // contains filtered or unexported fields }
ListThreatIntelSetsResponse is the response type for the ListThreatIntelSets API operation.
func (*ListThreatIntelSetsResponse) SDKResponseMetdata ¶
func (r *ListThreatIntelSetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListThreatIntelSets request.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LocalPortDetails
func (LocalPortDetails) MarshalFields ¶
func (s LocalPortDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Master
func (Master) MarshalFields ¶
func (s Master) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Master) String ¶
String returns the string representation
type Member ¶
type Member struct { // AWS account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` // The unique identifier for a detector. DetectorId *string `locationName:"detectorId" type:"string"` // Member account's email address. // // Email is a required field Email *string `locationName:"email" type:"string" required:"true"` // Timestamp at which the invitation was sent InvitedAt *string `locationName:"invitedAt" type:"string"` // The master account ID. // // MasterId is a required field MasterId *string `locationName:"masterId" type:"string" required:"true"` // The status of the relationship between the member and the master. // // RelationshipStatus is a required field RelationshipStatus *string `locationName:"relationshipStatus" type:"string" required:"true"` // The first time a resource was created. The format will be ISO-8601. // // UpdatedAt is a required field UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"` // contains filtered or unexported fields }
Contains details about the member account. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Member
func (Member) MarshalFields ¶
func (s Member) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Member) String ¶
String returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkConnectionAction
func (NetworkConnectionAction) MarshalFields ¶
func (s NetworkConnectionAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` // The ID of the network interface NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // Private DNS name of the EC2 instance. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // Private IP address of the EC2 instance. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // Other private IP address information of the EC2 instance. PrivateIpAddresses []PrivateIpAddressDetails `locationName:"privateIpAddresses" type:"list"` // Public DNS name of the EC2 instance. PublicDnsName *string `locationName:"publicDnsName" type:"string"` // Public IP address of the EC2 instance. PublicIp *string `locationName:"publicIp" type:"string"` // Security groups associated with the EC2 instance. SecurityGroups []SecurityGroup `locationName:"securityGroups" type:"list"` // The subnet ID of the EC2 instance. SubnetId *string `locationName:"subnetId" type:"string"` // The VPC ID of the EC2 instance. VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
The network interface information of the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkInterface
func (NetworkInterface) MarshalFields ¶
func (s NetworkInterface) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NetworkInterface) String ¶
func (s NetworkInterface) String() string
String returns the string representation
type OrderBy ¶
type OrderBy string
Enum values for OrderBy
func (OrderBy) MarshalValue ¶
func (OrderBy) MarshalValueBuf ¶
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization
func (Organization) MarshalFields ¶
func (s Organization) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Organization) String ¶
func (s Organization) String() string
String returns the string representation
type PortProbeAction ¶
type PortProbeAction struct { // Port probe blocked information. Blocked *bool `locationName:"blocked" type:"boolean"` // A list of port probe details objects. PortProbeDetails []PortProbeDetail `locationName:"portProbeDetails" type:"list"` // contains filtered or unexported fields }
Information about the PORT_PROBE action described in this finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PortProbeAction
func (PortProbeAction) MarshalFields ¶
func (s PortProbeAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PortProbeAction) String ¶
func (s PortProbeAction) String() string
String returns the string representation
type PortProbeDetail ¶
type PortProbeDetail struct { // Local port information of the connection. LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"` // Remote IP information of the connection. RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` // contains filtered or unexported fields }
Details about the port probe finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PortProbeDetail
func (PortProbeDetail) MarshalFields ¶
func (s PortProbeDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PortProbeDetail) String ¶
func (s PortProbeDetail) 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails
func (PrivateIpAddressDetails) MarshalFields ¶
func (s PrivateIpAddressDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProductCode
func (ProductCode) MarshalFields ¶
func (s ProductCode) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteIpDetails
func (RemoteIpDetails) MarshalFields ¶
func (s RemoteIpDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemotePortDetails
func (RemotePortDetails) MarshalFields ¶
func (s RemotePortDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RemotePortDetails) String ¶
func (s RemotePortDetails) String() string
String returns the string representation
type Resource ¶
type Resource struct { // The IAM access key details (IAM user information) of a user that engaged // in the activity that prompted GuardDuty to generate a finding. AccessKeyDetails *AccessKeyDetails `locationName:"accessKeyDetails" type:"structure"` // The information about the EC2 instance associated with the activity that // prompted GuardDuty to generate a finding. InstanceDetails *InstanceDetails `locationName:"instanceDetails" type:"structure"` // The type of the AWS resource. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
The AWS resource associated with the activity that prompted GuardDuty to generate a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource
func (Resource) MarshalFields ¶
func (s Resource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Resource) String ¶
String returns the string representation
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SecurityGroup
func (SecurityGroup) MarshalFields ¶
func (s SecurityGroup) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service
func (Service) MarshalFields ¶
func (s Service) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Service) String ¶
String returns the string representation
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 OrderBy `locationName:"orderBy" type:"string" enum:"true"` // contains filtered or unexported fields }
Represents the criteria used for sorting findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SortCriteria
func (SortCriteria) MarshalFields ¶
func (s SortCriteria) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
StartMonitoringMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersRequest
func (StartMonitoringMembersInput) MarshalFields ¶
func (s StartMonitoringMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersResponse
func (StartMonitoringMembersOutput) MarshalFields ¶
func (s StartMonitoringMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartMonitoringMembersOutput) String ¶
func (s StartMonitoringMembersOutput) String() string
String returns the string representation
type StartMonitoringMembersRequest ¶
type StartMonitoringMembersRequest struct { *aws.Request Input *StartMonitoringMembersInput Copy func(*StartMonitoringMembersInput) StartMonitoringMembersRequest }
StartMonitoringMembersRequest is the request type for the StartMonitoringMembers API operation.
func (StartMonitoringMembersRequest) Send ¶
func (r StartMonitoringMembersRequest) Send(ctx context.Context) (*StartMonitoringMembersResponse, error)
Send marshals and sends the StartMonitoringMembers API request.
type StartMonitoringMembersResponse ¶
type StartMonitoringMembersResponse struct { *StartMonitoringMembersOutput // contains filtered or unexported fields }
StartMonitoringMembersResponse is the response type for the StartMonitoringMembers API operation.
func (*StartMonitoringMembersResponse) SDKResponseMetdata ¶
func (r *StartMonitoringMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartMonitoringMembers request.
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 is a required field AccountIds []string `locationName:"accountIds" type:"list" required:"true"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // contains filtered or unexported fields }
StopMonitoringMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersRequest
func (StopMonitoringMembersInput) MarshalFields ¶
func (s StopMonitoringMembersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersResponse
func (StopMonitoringMembersOutput) MarshalFields ¶
func (s StopMonitoringMembersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopMonitoringMembersOutput) String ¶
func (s StopMonitoringMembersOutput) String() string
String returns the string representation
type StopMonitoringMembersRequest ¶
type StopMonitoringMembersRequest struct { *aws.Request Input *StopMonitoringMembersInput Copy func(*StopMonitoringMembersInput) StopMonitoringMembersRequest }
StopMonitoringMembersRequest is the request type for the StopMonitoringMembers API operation.
func (StopMonitoringMembersRequest) Send ¶
func (r StopMonitoringMembersRequest) Send(ctx context.Context) (*StopMonitoringMembersResponse, error)
Send marshals and sends the StopMonitoringMembers API request.
type StopMonitoringMembersResponse ¶
type StopMonitoringMembersResponse struct { *StopMonitoringMembersOutput // contains filtered or unexported fields }
StopMonitoringMembersResponse is the response type for the StopMonitoringMembers API operation.
func (*StopMonitoringMembersResponse) SDKResponseMetdata ¶
func (r *StopMonitoringMembersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopMonitoringMembers request.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Tag
func (Tag) MarshalFields ¶
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Tag) String ¶
String returns the string representation
type ThreatIntelSetFormat ¶
type ThreatIntelSetFormat string
The format of the threatIntelSet.
const ( ThreatIntelSetFormatTxt ThreatIntelSetFormat = "TXT" ThreatIntelSetFormatStix ThreatIntelSetFormat = "STIX" ThreatIntelSetFormatOtxCsv ThreatIntelSetFormat = "OTX_CSV" ThreatIntelSetFormatAlienVault ThreatIntelSetFormat = "ALIEN_VAULT" ThreatIntelSetFormatProofPoint ThreatIntelSetFormat = "PROOF_POINT" ThreatIntelSetFormatFireEye ThreatIntelSetFormat = "FIRE_EYE" )
Enum values for ThreatIntelSetFormat
func (ThreatIntelSetFormat) MarshalValue ¶
func (enum ThreatIntelSetFormat) MarshalValue() (string, error)
func (ThreatIntelSetFormat) MarshalValueBuf ¶
func (enum ThreatIntelSetFormat) MarshalValueBuf(b []byte) ([]byte, error)
type ThreatIntelSetStatus ¶
type ThreatIntelSetStatus string
The status of threatIntelSet file uploaded.
const ( ThreatIntelSetStatusInactive ThreatIntelSetStatus = "INACTIVE" ThreatIntelSetStatusActivating ThreatIntelSetStatus = "ACTIVATING" ThreatIntelSetStatusActive ThreatIntelSetStatus = "ACTIVE" ThreatIntelSetStatusDeactivating ThreatIntelSetStatus = "DEACTIVATING" ThreatIntelSetStatusError ThreatIntelSetStatus = "ERROR" ThreatIntelSetStatusDeletePending ThreatIntelSetStatus = "DELETE_PENDING" ThreatIntelSetStatusDeleted ThreatIntelSetStatus = "DELETED" )
Enum values for ThreatIntelSetStatus
func (ThreatIntelSetStatus) MarshalValue ¶
func (enum ThreatIntelSetStatus) MarshalValue() (string, error)
func (ThreatIntelSetStatus) MarshalValueBuf ¶
func (enum ThreatIntelSetStatus) MarshalValueBuf(b []byte) ([]byte, error)
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 is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // contains filtered or unexported fields }
Unrchive Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsRequest
func (UnarchiveFindingsInput) MarshalFields ¶
func (s UnarchiveFindingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsResponse
func (UnarchiveFindingsOutput) MarshalFields ¶
func (s UnarchiveFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UnarchiveFindingsOutput) String ¶
func (s UnarchiveFindingsOutput) String() string
String returns the string representation
type UnarchiveFindingsRequest ¶
type UnarchiveFindingsRequest struct { *aws.Request Input *UnarchiveFindingsInput Copy func(*UnarchiveFindingsInput) UnarchiveFindingsRequest }
UnarchiveFindingsRequest is the request type for the UnarchiveFindings API operation.
func (UnarchiveFindingsRequest) Send ¶
func (r UnarchiveFindingsRequest) Send(ctx context.Context) (*UnarchiveFindingsResponse, error)
Send marshals and sends the UnarchiveFindings API request.
type UnarchiveFindingsResponse ¶
type UnarchiveFindingsResponse struct { *UnarchiveFindingsOutput // contains filtered or unexported fields }
UnarchiveFindingsResponse is the response type for the UnarchiveFindings API operation.
func (*UnarchiveFindingsResponse) SDKResponseMetdata ¶
func (r *UnarchiveFindingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UnarchiveFindings request.
type UnprocessedAccount ¶
type UnprocessedAccount struct { // AWS Account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` // A reason why the account hasn't been processed. // // Result is a required field Result *string `locationName:"result" type:"string" required:"true"` // contains filtered or unexported fields }
An object containing the unprocessed account and a result string explaining why it was unprocessed. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount
func (UnprocessedAccount) MarshalFields ¶
func (s UnprocessedAccount) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` // A enum value that specifies how frequently customer got Finding updates published. FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"` // contains filtered or unexported fields }
Update Detector Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest
func (UpdateDetectorInput) MarshalFields ¶
func (s UpdateDetectorInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorResponse
func (UpdateDetectorOutput) MarshalFields ¶
func (s UpdateDetectorOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDetectorOutput) String ¶
func (s UpdateDetectorOutput) String() string
String returns the string representation
type UpdateDetectorRequest ¶
type UpdateDetectorRequest struct { *aws.Request Input *UpdateDetectorInput Copy func(*UpdateDetectorInput) UpdateDetectorRequest }
UpdateDetectorRequest is the request type for the UpdateDetector API operation.
func (UpdateDetectorRequest) Send ¶
func (r UpdateDetectorRequest) Send(ctx context.Context) (*UpdateDetectorResponse, error)
Send marshals and sends the UpdateDetector API request.
type UpdateDetectorResponse ¶
type UpdateDetectorResponse struct { *UpdateDetectorOutput // contains filtered or unexported fields }
UpdateDetectorResponse is the response type for the UpdateDetector API operation.
func (*UpdateDetectorResponse) SDKResponseMetdata ¶
func (r *UpdateDetectorResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDetector request.
type UpdateFilterInput ¶
type UpdateFilterInput struct { // Specifies the action that is to be applied to the findings that match the // filter. Action FilterAction `locationName:"action" type:"string" enum:"true"` // The description of the filter. Description *string `locationName:"description" type:"string"` // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` // FilterName is a required field FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"` // Represents the criteria to be used in the filter for querying findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank *int64 `locationName:"rank" type:"integer"` // contains filtered or unexported fields }
UpdateFilter request object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilterRequest
func (UpdateFilterInput) MarshalFields ¶
func (s UpdateFilterInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFilterInput) String ¶
func (s UpdateFilterInput) String() string
String returns the string representation
func (*UpdateFilterInput) Validate ¶
func (s *UpdateFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFilterOutput ¶
type UpdateFilterOutput struct { // The name of the filter. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
UpdateFilter response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilterResponse
func (UpdateFilterOutput) MarshalFields ¶
func (s UpdateFilterOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFilterOutput) String ¶
func (s UpdateFilterOutput) String() string
String returns the string representation
type UpdateFilterRequest ¶
type UpdateFilterRequest struct { *aws.Request Input *UpdateFilterInput Copy func(*UpdateFilterInput) UpdateFilterRequest }
UpdateFilterRequest is the request type for the UpdateFilter API operation.
func (UpdateFilterRequest) Send ¶
func (r UpdateFilterRequest) Send(ctx context.Context) (*UpdateFilterResponse, error)
Send marshals and sends the UpdateFilter API request.
type UpdateFilterResponse ¶
type UpdateFilterResponse struct { *UpdateFilterOutput // contains filtered or unexported fields }
UpdateFilterResponse is the response type for the UpdateFilter API operation.
func (*UpdateFilterResponse) SDKResponseMetdata ¶
func (r *UpdateFilterResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateFilter request.
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 is a required field Feedback Feedback `locationName:"feedback" type:"string" required:"true" enum:"true"` // IDs of the findings that you want to mark as useful or not useful. // // FindingIds is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // contains filtered or unexported fields }
Update findings feedback body Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackRequest
func (UpdateFindingsFeedbackInput) MarshalFields ¶
func (s UpdateFindingsFeedbackInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackResponse
func (UpdateFindingsFeedbackOutput) MarshalFields ¶
func (s UpdateFindingsFeedbackOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFindingsFeedbackOutput) String ¶
func (s UpdateFindingsFeedbackOutput) String() string
String returns the string representation
type UpdateFindingsFeedbackRequest ¶
type UpdateFindingsFeedbackRequest struct { *aws.Request Input *UpdateFindingsFeedbackInput Copy func(*UpdateFindingsFeedbackInput) UpdateFindingsFeedbackRequest }
UpdateFindingsFeedbackRequest is the request type for the UpdateFindingsFeedback API operation.
func (UpdateFindingsFeedbackRequest) Send ¶
func (r UpdateFindingsFeedbackRequest) Send(ctx context.Context) (*UpdateFindingsFeedbackResponse, error)
Send marshals and sends the UpdateFindingsFeedback API request.
type UpdateFindingsFeedbackResponse ¶
type UpdateFindingsFeedbackResponse struct { *UpdateFindingsFeedbackOutput // contains filtered or unexported fields }
UpdateFindingsFeedbackResponse is the response type for the UpdateFindingsFeedback API operation.
func (*UpdateFindingsFeedbackResponse) SDKResponseMetdata ¶
func (r *UpdateFindingsFeedbackResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateFindingsFeedback request.
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 Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetRequest
func (UpdateIPSetInput) MarshalFields ¶
func (s UpdateIPSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetResponse
func (UpdateIPSetOutput) MarshalFields ¶
func (s UpdateIPSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateIPSetOutput) String ¶
func (s UpdateIPSetOutput) String() string
String returns the string representation
type UpdateIPSetRequest ¶
type UpdateIPSetRequest struct { *aws.Request Input *UpdateIPSetInput Copy func(*UpdateIPSetInput) UpdateIPSetRequest }
UpdateIPSetRequest is the request type for the UpdateIPSet API operation.
func (UpdateIPSetRequest) Send ¶
func (r UpdateIPSetRequest) Send(ctx context.Context) (*UpdateIPSetResponse, error)
Send marshals and sends the UpdateIPSet API request.
type UpdateIPSetResponse ¶
type UpdateIPSetResponse struct { *UpdateIPSetOutput // contains filtered or unexported fields }
UpdateIPSetResponse is the response type for the UpdateIPSet API operation.
func (*UpdateIPSetResponse) SDKResponseMetdata ¶
func (r *UpdateIPSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateIPSet request.
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 Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetRequest
func (UpdateThreatIntelSetInput) MarshalFields ¶
func (s UpdateThreatIntelSetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetResponse
func (UpdateThreatIntelSetOutput) MarshalFields ¶
func (s UpdateThreatIntelSetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateThreatIntelSetOutput) String ¶
func (s UpdateThreatIntelSetOutput) String() string
String returns the string representation
type UpdateThreatIntelSetRequest ¶
type UpdateThreatIntelSetRequest struct { *aws.Request Input *UpdateThreatIntelSetInput Copy func(*UpdateThreatIntelSetInput) UpdateThreatIntelSetRequest }
UpdateThreatIntelSetRequest is the request type for the UpdateThreatIntelSet API operation.
func (UpdateThreatIntelSetRequest) Send ¶
func (r UpdateThreatIntelSetRequest) Send(ctx context.Context) (*UpdateThreatIntelSetResponse, error)
Send marshals and sends the UpdateThreatIntelSet API request.
type UpdateThreatIntelSetResponse ¶
type UpdateThreatIntelSetResponse struct { *UpdateThreatIntelSetOutput // contains filtered or unexported fields }
UpdateThreatIntelSetResponse is the response type for the UpdateThreatIntelSet API operation.
func (*UpdateThreatIntelSetResponse) SDKResponseMetdata ¶
func (r *UpdateThreatIntelSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateThreatIntelSet request.
Source Files ¶
api_client.go api_doc.go api_enums.go api_errors.go api_op_AcceptInvitation.go api_op_ArchiveFindings.go api_op_CreateDetector.go api_op_CreateFilter.go api_op_CreateIPSet.go api_op_CreateMembers.go api_op_CreateSampleFindings.go api_op_CreateThreatIntelSet.go api_op_DeclineInvitations.go api_op_DeleteDetector.go api_op_DeleteFilter.go api_op_DeleteIPSet.go api_op_DeleteInvitations.go api_op_DeleteMembers.go api_op_DeleteThreatIntelSet.go api_op_DisassociateFromMasterAccount.go api_op_DisassociateMembers.go api_op_GetDetector.go api_op_GetFilter.go api_op_GetFindings.go api_op_GetFindingsStatistics.go api_op_GetIPSet.go api_op_GetInvitationsCount.go api_op_GetMasterAccount.go api_op_GetMembers.go api_op_GetThreatIntelSet.go api_op_InviteMembers.go api_op_ListDetectors.go api_op_ListFilters.go api_op_ListFindings.go api_op_ListIPSets.go api_op_ListInvitations.go api_op_ListMembers.go api_op_ListThreatIntelSets.go api_op_StartMonitoringMembers.go api_op_StopMonitoringMembers.go api_op_UnarchiveFindings.go api_op_UpdateDetector.go api_op_UpdateFilter.go api_op_UpdateFindingsFeedback.go api_op_UpdateIPSet.go api_op_UpdateThreatIntelSet.go api_types.go
Directories ¶
Path | Synopsis |
---|---|
service/guardduty/guarddutyiface | Package guarddutyiface provides an interface to enable mocking the Amazon GuardDuty service client for testing your code. |
- Version
- v0.9.0
- Published
- May 28, 2019
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 50 seconds ago –
Tools for package owners.