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.
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses threat intelligence feeds, such as lists of malicious IPs and domains, and machine learning to identify unexpected and potentially unauthorized and malicious activity within your AWS environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect compromised EC2 instances serving malware or mining bitcoin. It also monitors AWS account access behavior for signs of compromise, such as unauthorized infrastructure deployments, like instances deployed in a region that has never been used, or unusual API calls, like a password policy change to reduce password strength. GuardDuty informs you of the status of your AWS environment by producing security findings that you can view in the GuardDuty console or through Amazon CloudWatch events. For more information, see Amazon GuardDuty User Guide (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html).
See https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28 for more information on this service.
See guardduty package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/guardduty/
Using the Client
To 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) CreatePublishingDestinationRequest(input *CreatePublishingDestinationInput) CreatePublishingDestinationRequest
- 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) DeletePublishingDestinationRequest(input *DeletePublishingDestinationInput) DeletePublishingDestinationRequest
- func (c *Client) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) DeleteThreatIntelSetRequest
- func (c *Client) DescribePublishingDestinationRequest(input *DescribePublishingDestinationInput) DescribePublishingDestinationRequest
- 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) ListPublishingDestinationsRequest(input *ListPublishingDestinationsInput) ListPublishingDestinationsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) ListThreatIntelSetsRequest
- func (c *Client) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) StartMonitoringMembersRequest
- func (c *Client) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) StopMonitoringMembersRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) UnarchiveFindingsRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- 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) UpdatePublishingDestinationRequest(input *UpdatePublishingDestinationInput) UpdatePublishingDestinationRequest
- 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 CreatePublishingDestinationInput
- func (s CreatePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreatePublishingDestinationInput) String() string
- func (s *CreatePublishingDestinationInput) Validate() error
- type CreatePublishingDestinationOutput
- func (s CreatePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreatePublishingDestinationOutput) String() string
- type CreatePublishingDestinationRequest
- type CreatePublishingDestinationResponse
- 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 DeletePublishingDestinationInput
- func (s DeletePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeletePublishingDestinationInput) String() string
- func (s *DeletePublishingDestinationInput) Validate() error
- type DeletePublishingDestinationOutput
- func (s DeletePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeletePublishingDestinationOutput) String() string
- type DeletePublishingDestinationRequest
- type DeletePublishingDestinationResponse
- 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 DescribePublishingDestinationInput
- func (s DescribePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribePublishingDestinationInput) String() string
- func (s *DescribePublishingDestinationInput) Validate() error
- type DescribePublishingDestinationOutput
- func (s DescribePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribePublishingDestinationOutput) String() string
- type DescribePublishingDestinationRequest
- type DescribePublishingDestinationResponse
- type Destination
- func (s Destination) MarshalFields(e protocol.FieldEncoder) error
- func (s Destination) String() string
- type DestinationProperties
- func (s DestinationProperties) MarshalFields(e protocol.FieldEncoder) error
- func (s DestinationProperties) String() string
- type DestinationType
- func (enum DestinationType) MarshalValue() (string, error)
- func (enum DestinationType) MarshalValueBuf(b []byte) ([]byte, error)
- 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 Evidence
- 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 ListPublishingDestinationsInput
- func (s ListPublishingDestinationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPublishingDestinationsInput) String() string
- func (s *ListPublishingDestinationsInput) Validate() error
- type ListPublishingDestinationsOutput
- func (s ListPublishingDestinationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPublishingDestinationsOutput) String() string
- type ListPublishingDestinationsPaginator
- func NewListPublishingDestinationsPaginator(req ListPublishingDestinationsRequest) ListPublishingDestinationsPaginator
- func (p *ListPublishingDestinationsPaginator) CurrentPage() *ListPublishingDestinationsOutput
- type ListPublishingDestinationsRequest
- type ListPublishingDestinationsResponse
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- 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 PublishingStatus
- func (enum PublishingStatus) MarshalValue() (string, error)
- func (enum PublishingStatus) MarshalValueBuf(b []byte) ([]byte, error)
- 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 TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- 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 ThreatIntelligenceDetail
- func (s ThreatIntelligenceDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s ThreatIntelligenceDetail) String() string
- 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 UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- 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 UpdatePublishingDestinationInput
- func (s UpdatePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdatePublishingDestinationInput) String() string
- func (s *UpdatePublishingDestinationInput) Validate() error
- type UpdatePublishingDestinationOutput
- func (s UpdatePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdatePublishingDestinationOutput) String() string
- type UpdatePublishingDestinationRequest
- type UpdatePublishingDestinationResponse
- 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". // // Bad request exception object. ErrCodeBadRequestException = "BadRequestException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // // Internal server error exception object. ErrCodeInternalServerErrorException = "InternalServerErrorException" )
Types ¶
type AcceptInvitationInput ¶
type AcceptInvitationInput struct { // The unique ID of the detector of the GuardDuty member account. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // This value is used to validate the master account to the member account. // // InvitationId is a required field InvitationId *string `locationName:"invitationId" type:"string" required:"true"` // The account ID of the master GuardDuty account whose invitation you're accepting. // // MasterId is a required field MasterId *string `locationName:"masterId" type:"string" required:"true"` // contains filtered or unexported fields }
func (AcceptInvitationInput) 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
}
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 }
Contains information about the access keys.
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" min:"12" type:"string" required:"true"` // Member account's email address. // // Email is a required field Email *string `locationName:"email" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Contains information about the account.
func (AccountDetail) 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 }
Contains information about 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 { // The ID of the detector that specifies the GuardDuty service whose findings // you want to archive. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // IDs of the findings that you want to archive. // // FindingIds is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (ArchiveFindingsInput) 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
}
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 }
Contains information about the API operation.
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 }
Contains information about the city associated with the IP address.
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 GuardDuty findings specified by the list of finding IDs.
Only the master account can archive findings. Member accounts do not have permission to archive findings from their accounts.
// 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 a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each region that you enable the service. You can have only one detector per account per region.
// 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, called Trusted IP list in the consoler user interface. An IPSet is a list IP addresses trusted for secure communication with AWS infrastructure and applications. GuardDuty does not generate findings for IP addresses included in IPSets. Only users from the master account can use this operation.
// 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) CreatePublishingDestinationRequest ¶
func (c *Client) CreatePublishingDestinationRequest(input *CreatePublishingDestinationInput) CreatePublishingDestinationRequest
CreatePublishingDestinationRequest returns a request value for making API operation for Amazon GuardDuty.
Creates a publishing destination to send findings to. The resource to send findings to must exist before you use this operation.
// Example sending a request using CreatePublishingDestinationRequest. req := client.CreatePublishingDestinationRequest(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/CreatePublishingDestination
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. Only users of the master account can use this operation.
// 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 ipSetId. IPSets are called Trusted IP lists in the console user interface.
// 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) DeletePublishingDestinationRequest ¶
func (c *Client) DeletePublishingDestinationRequest(input *DeletePublishingDestinationInput) DeletePublishingDestinationRequest
DeletePublishingDestinationRequest returns a request value for making API operation for Amazon GuardDuty.
Deletes the publishing definition with the specified destinationId.
// Example sending a request using DeletePublishingDestinationRequest. req := client.DeletePublishingDestinationRequest(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/DeletePublishingDestination
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) DescribePublishingDestinationRequest ¶
func (c *Client) DescribePublishingDestinationRequest(input *DescribePublishingDestinationInput) DescribePublishingDestinationRequest
DescribePublishingDestinationRequest returns a request value for making API operation for Amazon GuardDuty.
Returns information about the publishing destination specified by the provided destinationId.
// Example sending a request using DescribePublishingDestinationRequest. req := client.DescribePublishingDestinationRequest(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/DescribePublishingDestination
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 ipSetId.
// 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 associated with 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. If you use this operation from a member account, the IPSets returned are the IPSets from the associated master account.
// 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) ListPublishingDestinationsRequest ¶
func (c *Client) ListPublishingDestinationsRequest(input *ListPublishingDestinationsInput) ListPublishingDestinationsRequest
ListPublishingDestinationsRequest returns a request value for making API operation for Amazon GuardDuty.
Returns a list of publishing destinations associated with the specified dectectorId.
// Example sending a request using ListPublishingDestinationsRequest. req := client.ListPublishingDestinationsRequest(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/ListPublishingDestinations
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Amazon GuardDuty.
Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource..
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(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/ListTagsForResource
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. If you use this operation from a member account, the ThreatIntelSets associated with the master account are returned.
// 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.
Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.
// 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.
Stops GuardDuty monitoring for the specified member accounnts. Use the StartMonitoringMembers to restart monitoring for those accounts.
// 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) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for Amazon GuardDuty.
Adds tags to a resource.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(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/TagResource
func (*Client) UnarchiveFindingsRequest ¶
func (c *Client) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) UnarchiveFindingsRequest
UnarchiveFindingsRequest returns a request value for making API operation for Amazon GuardDuty.
Unarchives GuardDuty findings specified by the findingIds.
// 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) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for Amazon GuardDuty.
Removes tags from a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(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/UntagResource
func (*Client) UpdateDetectorRequest ¶
func (c *Client) UpdateDetectorRequest(input *UpdateDetectorInput) UpdateDetectorRequest
UpdateDetectorRequest returns a request value for making API operation for Amazon GuardDuty.
Updates the 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 the specified 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) UpdatePublishingDestinationRequest ¶
func (c *Client) UpdatePublishingDestinationRequest(input *UpdatePublishingDestinationInput) UpdatePublishingDestinationRequest
UpdatePublishingDestinationRequest returns a request value for making API operation for Amazon GuardDuty.
Updates information about the publishing destination specified by the destinationId.
// Example sending a request using UpdatePublishingDestinationRequest. req := client.UpdatePublishingDestinationRequest(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/UpdatePublishingDestination
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" deprecated:"true" type:"list"` // Represents an equal condition to be applied to a single field when querying // for findings. Equals []string `locationName:"equals" type:"list"` // Represents a greater than condition to be applied to a single field when // querying for findings. GreaterThan *int64 `locationName:"greaterThan" type:"long"` // Represents a greater than equal condition to be applied to a single field // when querying for findings. GreaterThanOrEqual *int64 `locationName:"greaterThanOrEqual" type:"long"` // Represents a greater than condition to be applied to a single field when // querying for findings. Gt *int64 `locationName:"gt" deprecated:"true" type:"integer"` // Represents a greater than equal condition to be applied to a single field // when querying for findings. Gte *int64 `locationName:"gte" deprecated:"true" type:"integer"` // Represents a less than condition to be applied to a single field when querying // for findings. LessThan *int64 `locationName:"lessThan" type:"long"` // Represents a less than equal condition to be applied to a single field when // querying for findings. LessThanOrEqual *int64 `locationName:"lessThanOrEqual" type:"long"` // Represents a less than condition to be applied to a single field when querying // for findings. Lt *int64 `locationName:"lt" deprecated:"true" type:"integer"` // Represents a less than equal condition to be applied to a single field when // querying for findings. Lte *int64 `locationName:"lte" deprecated:"true" type:"integer"` // Represents the not equal condition to be applied to a single field when querying // for findings. Neq []string `locationName:"neq" deprecated:"true" type:"list"` // Represents an not equal condition to be applied to a single field when querying // for findings. NotEquals []string `locationName:"notEquals" type:"list"` // contains filtered or unexported fields }
Contains information about the condition.
func (Condition) 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 }
Contains information about the country in which the remote IP address is located.
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"` // The tags to be added to a new detector resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateDetectorInput) 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" min:"1" type:"string"` // contains filtered or unexported fields }
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" min:"1" 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"` // The unique ID of the detector of the GuardDuty account for which you want // to create a filter. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // Represents the criteria to be used in the filter for querying findings. // // FindingCriteria is a required field FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"` // The name of the filter. // // Name is a required field Name *string `locationName:"name" min:"3" type:"string" required:"true"` // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank *int64 `locationName:"rank" min:"1" type:"integer"` // The tags to be added to a new filter resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateFilterInput) 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 is a required field Name *string `locationName:"name" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
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"` // The unique ID of the detector of the GuardDuty account for which you want // to create an IPSet. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The format of the file that contains the IPSet. // // Format is a required field Format IpSetFormat `locationName:"format" min:"1" 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" min:"1" type:"string" required:"true"` // The user friendly name to identify the IPSet. This name is displayed in all // findings that are triggered by activity that involves IP addresses included // in this IPSet. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The tags to be added to a new IP set resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateIPSetInput) 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 ID of the IPSet resource. // // IpSetId is a required field IpSetId *string `locationName:"ipSetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateIPSetOutput) 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" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account with which you want // to associate member accounts. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateMembersInput) 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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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 CreatePublishingDestinationInput ¶
type CreatePublishingDestinationInput struct { // The idempotency token for the request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` // Properties of the publishing destination, including the ARNs for the destination // and the KMS key used for encryption. // // DestinationProperties is a required field DestinationProperties *DestinationProperties `locationName:"destinationProperties" type:"structure" required:"true"` // The type of resource for the publishing destination. Currently only S3 is // supported. // // DestinationType is a required field DestinationType DestinationType `locationName:"destinationType" min:"1" type:"string" required:"true" enum:"true"` // The ID of the GuardDuty detector associated with the publishing destination. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreatePublishingDestinationInput) MarshalFields ¶
func (s CreatePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePublishingDestinationInput) String ¶
func (s CreatePublishingDestinationInput) String() string
String returns the string representation
func (*CreatePublishingDestinationInput) Validate ¶
func (s *CreatePublishingDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePublishingDestinationOutput ¶
type CreatePublishingDestinationOutput struct { // The ID of the publishing destination created. // // DestinationId is a required field DestinationId *string `locationName:"destinationId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreatePublishingDestinationOutput) MarshalFields ¶
func (s CreatePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePublishingDestinationOutput) String ¶
func (s CreatePublishingDestinationOutput) String() string
String returns the string representation
type CreatePublishingDestinationRequest ¶
type CreatePublishingDestinationRequest struct { *aws.Request Input *CreatePublishingDestinationInput Copy func(*CreatePublishingDestinationInput) CreatePublishingDestinationRequest }
CreatePublishingDestinationRequest is the request type for the CreatePublishingDestination API operation.
func (CreatePublishingDestinationRequest) Send ¶
func (r CreatePublishingDestinationRequest) Send(ctx context.Context) (*CreatePublishingDestinationResponse, error)
Send marshals and sends the CreatePublishingDestination API request.
type CreatePublishingDestinationResponse ¶
type CreatePublishingDestinationResponse struct { *CreatePublishingDestinationOutput // contains filtered or unexported fields }
CreatePublishingDestinationResponse is the response type for the CreatePublishingDestination API operation.
func (*CreatePublishingDestinationResponse) SDKResponseMetdata ¶
func (r *CreatePublishingDestinationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreatePublishingDestination request.
type CreateSampleFindingsInput ¶
type CreateSampleFindingsInput struct { // The ID of the detector to create sample findings for. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // Types of sample findings to generate. FindingTypes []string `locationName:"findingTypes" type:"list"` // contains filtered or unexported fields }
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
}
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"` // The unique ID of the detector of the GuardDuty account for which you want // to create a threatIntelSet. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The format of the file that contains the ThreatIntelSet. // // Format is a required field Format ThreatIntelSetFormat `locationName:"format" min:"1" 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" min:"1" type:"string" required:"true"` // A user-friendly ThreatIntelSet name that is displayed in all finding generated // by activity that involves IP addresses included in this ThreatIntelSet. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The tags to be added to a new Threat List resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateThreatIntelSetInput) 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 ID of the ThreatIntelSet resource. // // ThreatIntelSetId is a required field ThreatIntelSetId *string `locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateThreatIntelSetOutput) 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" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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 { // The unique ID of the detector that you want to delete. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteDetectorInput) 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
}
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 { // The unique ID of the detector the filter is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The name of the filter you want to delete. // // FilterName is a required field FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteFilterInput) 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
}
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 { // The unique ID of the detector associated with the IPSet. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The unique ID of the IPSet to delete. // // IpSetId is a required field IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` // contains filtered or unexported fields }
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
}
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" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account whose members you // want to delete. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteMembersInput) 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 { // The accounts that could not be processed. // // UnprocessedAccounts is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
func (DeleteMembersOutput) 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 DeletePublishingDestinationInput ¶
type DeletePublishingDestinationInput struct { // The ID of the publishing destination to delete. // // DestinationId is a required field DestinationId *string `location:"uri" locationName:"destinationId" type:"string" required:"true"` // The unique ID of the detector associated with the publishing destination // to delete. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeletePublishingDestinationInput) MarshalFields ¶
func (s DeletePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePublishingDestinationInput) String ¶
func (s DeletePublishingDestinationInput) String() string
String returns the string representation
func (*DeletePublishingDestinationInput) Validate ¶
func (s *DeletePublishingDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePublishingDestinationOutput ¶
type DeletePublishingDestinationOutput struct {
// contains filtered or unexported fields
}
func (DeletePublishingDestinationOutput) MarshalFields ¶
func (s DeletePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePublishingDestinationOutput) String ¶
func (s DeletePublishingDestinationOutput) String() string
String returns the string representation
type DeletePublishingDestinationRequest ¶
type DeletePublishingDestinationRequest struct { *aws.Request Input *DeletePublishingDestinationInput Copy func(*DeletePublishingDestinationInput) DeletePublishingDestinationRequest }
DeletePublishingDestinationRequest is the request type for the DeletePublishingDestination API operation.
func (DeletePublishingDestinationRequest) Send ¶
func (r DeletePublishingDestinationRequest) Send(ctx context.Context) (*DeletePublishingDestinationResponse, error)
Send marshals and sends the DeletePublishingDestination API request.
type DeletePublishingDestinationResponse ¶
type DeletePublishingDestinationResponse struct { *DeletePublishingDestinationOutput // contains filtered or unexported fields }
DeletePublishingDestinationResponse is the response type for the DeletePublishingDestination API operation.
func (*DeletePublishingDestinationResponse) SDKResponseMetdata ¶
func (r *DeletePublishingDestinationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeletePublishingDestination request.
type DeleteThreatIntelSetInput ¶
type DeleteThreatIntelSetInput struct { // The unique ID of the detector the threatIntelSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The unique ID of the threatIntelSet you want to delete. // // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteThreatIntelSetInput) 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
}
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 DescribePublishingDestinationInput ¶
type DescribePublishingDestinationInput struct { // The ID of the publishing destination to retrieve. // // DestinationId is a required field DestinationId *string `location:"uri" locationName:"destinationId" type:"string" required:"true"` // The unique ID of the detector associated with the publishing destination // to retrieve. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribePublishingDestinationInput) MarshalFields ¶
func (s DescribePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribePublishingDestinationInput) String ¶
func (s DescribePublishingDestinationInput) String() string
String returns the string representation
func (*DescribePublishingDestinationInput) Validate ¶
func (s *DescribePublishingDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribePublishingDestinationOutput ¶
type DescribePublishingDestinationOutput struct { // The ID of the publishing destination. // // DestinationId is a required field DestinationId *string `locationName:"destinationId" type:"string" required:"true"` // A DestinationProperties object that includes the DestinationArn and KmsKeyArn // of the publishing destination. // // DestinationProperties is a required field DestinationProperties *DestinationProperties `locationName:"destinationProperties" type:"structure" required:"true"` // The type of the publishing destination. Currently, only S3 is supported. // // DestinationType is a required field DestinationType DestinationType `locationName:"destinationType" min:"1" type:"string" required:"true" enum:"true"` // The time, in epoch millisecond format, at which GuardDuty was first unable // to publish findings to the destination. // // PublishingFailureStartTimestamp is a required field PublishingFailureStartTimestamp *int64 `locationName:"publishingFailureStartTimestamp" type:"long" required:"true"` // The status of the publishing destination. // // Status is a required field Status PublishingStatus `locationName:"status" min:"1" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (DescribePublishingDestinationOutput) MarshalFields ¶
func (s DescribePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribePublishingDestinationOutput) String ¶
func (s DescribePublishingDestinationOutput) String() string
String returns the string representation
type DescribePublishingDestinationRequest ¶
type DescribePublishingDestinationRequest struct { *aws.Request Input *DescribePublishingDestinationInput Copy func(*DescribePublishingDestinationInput) DescribePublishingDestinationRequest }
DescribePublishingDestinationRequest is the request type for the DescribePublishingDestination API operation.
func (DescribePublishingDestinationRequest) Send ¶
func (r DescribePublishingDestinationRequest) Send(ctx context.Context) (*DescribePublishingDestinationResponse, error)
Send marshals and sends the DescribePublishingDestination API request.
type DescribePublishingDestinationResponse ¶
type DescribePublishingDestinationResponse struct { *DescribePublishingDestinationOutput // contains filtered or unexported fields }
DescribePublishingDestinationResponse is the response type for the DescribePublishingDestination API operation.
func (*DescribePublishingDestinationResponse) SDKResponseMetdata ¶
func (r *DescribePublishingDestinationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribePublishingDestination request.
type Destination ¶
type Destination struct { // The unique ID of the publishing destination. // // DestinationId is a required field DestinationId *string `locationName:"destinationId" type:"string" required:"true"` // The type of resource used for the publishing destination. Currently, only // S3 is supported. // // DestinationType is a required field DestinationType DestinationType `locationName:"destinationType" min:"1" type:"string" required:"true" enum:"true"` // The status of the publishing destination. // // Status is a required field Status PublishingStatus `locationName:"status" min:"1" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Contains information about a publishing destination, including the ID, type, and status.
func (Destination) MarshalFields ¶
func (s Destination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Destination) String ¶
func (s Destination) String() string
String returns the string representation
type DestinationProperties ¶
type DestinationProperties struct { // The ARN of the resource to publish to. DestinationArn *string `locationName:"destinationArn" type:"string"` // The ARN of the KMS key to use for encryption. KmsKeyArn *string `locationName:"kmsKeyArn" type:"string"` // contains filtered or unexported fields }
Contains the ARN of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.
func (DestinationProperties) MarshalFields ¶
func (s DestinationProperties) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DestinationProperties) String ¶
func (s DestinationProperties) String() string
String returns the string representation
type DestinationType ¶
type DestinationType string
const ( DestinationTypeS3 DestinationType = "S3" )
Enum values for DestinationType
func (DestinationType) MarshalValue ¶
func (enum DestinationType) MarshalValue() (string, error)
func (DestinationType) MarshalValueBuf ¶
func (enum DestinationType) MarshalValueBuf(b []byte) ([]byte, error)
type DetectorStatus ¶
type DetectorStatus string
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 { // The unique ID of the detector of the GuardDuty member account. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateFromMasterAccountInput) 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
}
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" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account whose members you // want to disassociate from master. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateMembersInput) 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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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 API request. Domain *string `locationName:"domain" type:"string"` // contains filtered or unexported fields }
Contains information about the DNS_REQUEST action described in this finding.
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 { // Domain information for the AWS API call. Domain *string `locationName:"domain" type:"string"` // contains filtered or unexported fields }
Contains information about the domain.
func (DomainDetails) 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 Evidence ¶
type Evidence struct { // A list of threat intelligence details related to the evidence. ThreatIntelligenceDetails []ThreatIntelligenceDetail `locationName:"threatIntelligenceDetails" type:"list"` // contains filtered or unexported fields }
Contains information about the reason that the finding was generated.
func (Evidence) MarshalFields ¶
func (s Evidence) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Evidence) String ¶
String returns the string representation
type Feedback ¶
type Feedback string
Enum values for Feedback
func (Feedback) MarshalValue ¶
func (Feedback) MarshalValueBuf ¶
type FilterAction ¶
type FilterAction string
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 { // The ID of the account in which the finding was generated. // // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` // The ARN for the finding. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The confidence score for the finding. Confidence *float64 `locationName:"confidence" type:"double"` // The time and date at which the finding was created. // // CreatedAt is a required field CreatedAt *string `locationName:"createdAt" type:"string" required:"true"` // The description of the finding. Description *string `locationName:"description" type:"string"` // The ID of the finding. // // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // The partition associated with the finding. Partition *string `locationName:"partition" type:"string"` // The Region in which the finding was generated. // // Region is a required field Region *string `locationName:"region" type:"string" required:"true"` // Contains information about the 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"` // The version of the schema used for the finding. // // SchemaVersion is a required field SchemaVersion *string `locationName:"schemaVersion" type:"string" required:"true"` // Contains additional information about the generated finding. Service *Service `locationName:"service" type:"structure"` // The severity of the finding. // // Severity is a required field Severity *float64 `locationName:"severity" type:"double" required:"true"` // The title for the finding. Title *string `locationName:"title" type:"string"` // The type of the finding. // // Type is a required field Type *string `locationName:"type" min:"1" type:"string" required:"true"` // The time and date at which the finding was laste updated. // // UpdatedAt is a required field UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"` // contains filtered or unexported fields }
Contains information about the finding, which is generated when abnormal or suspicious activity is detected.
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 }
Contains information about the criteria used for querying findings.
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
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
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 }
Contains information about finding statistics.
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 }
Contains information about the location of the remote IP address.
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 { // The unique ID of the detector that you want to get. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetDetectorInput) 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 { // Detector creation timestamp. CreatedAt *string `locationName:"createdAt" type:"string"` // Finding publishing frequency. FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"` // The GuardDuty service role. // // ServiceRole is a required field ServiceRole *string `locationName:"serviceRole" type:"string" required:"true"` // The detector status. // // Status is a required field Status DetectorStatus `locationName:"status" min:"1" type:"string" required:"true" enum:"true"` // The tags of the detector resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // Detector last update timestamp. UpdatedAt *string `locationName:"updatedAt" type:"string"` // contains filtered or unexported fields }
func (GetDetectorOutput) 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 { // The unique ID of the detector the filter is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The name of the filter you want to get. // // FilterName is a required field FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFilterInput) 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 is a required field Action FilterAction `locationName:"action" min:"1" type:"string" required:"true" 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 is a required field FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"` // The name of the filter. // // Name is a required field Name *string `locationName:"name" min:"3" type:"string" required:"true"` // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank *int64 `locationName:"rank" min:"1" type:"integer"` // The tags of the filter resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (GetFilterOutput) 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 { // The ID of the detector that specifies the GuardDuty service whose findings // you want to retrieve. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // IDs of the findings that you want to retrieve. // // FindingIds is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // Represents the criteria used for sorting findings. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
func (GetFindingsInput) 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 is a required field Findings []Finding `locationName:"findings" type:"list" required:"true"` // contains filtered or unexported fields }
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 { // The ID of the detector that specifies the GuardDuty service whose findings' // statistics you want to retrieve. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // Represents the criteria used for querying findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` // Types of finding statistics to retrieve. // // FindingStatisticTypes is a required field FindingStatisticTypes []FindingStatisticType `locationName:"findingStatisticTypes" type:"list" required:"true"` // contains filtered or unexported fields }
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 is a required field FindingStatistics *FindingStatistics `locationName:"findingStatistics" type:"structure" required:"true"` // contains filtered or unexported fields }
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 { // The unique ID of the detector the ipSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The unique ID of the IPSet to retrieve. // // IpSetId is a required field IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` // contains filtered or unexported fields }
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 is a required field Format IpSetFormat `locationName:"format" min:"1" 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" min:"1" type:"string" required:"true"` // The user friendly name for the IPSet. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of ipSet file uploaded. // // Status is a required field Status IpSetStatus `locationName:"status" min:"1" type:"string" required:"true" enum:"true"` // The tags of the IP set resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
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
}
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 }
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 { // The unique ID of the detector of the GuardDuty member account. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetMasterAccountInput) 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 { // Master account details. // // Master is a required field Master *Master `locationName:"master" type:"structure" required:"true"` // contains filtered or unexported fields }
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" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account whose members you // want to retrieve. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetMembersInput) 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 members. // // Members is a required field Members []Member `locationName:"members" type:"list" required:"true"` // A list of objects containing the unprocessed account and a result string // explaining why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
func (GetMembersOutput) 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 { // The unique ID of the detector the threatIntelSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The unique ID of the threatIntelSet you want to get. // // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetThreatIntelSetInput) 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 is a required field Format ThreatIntelSetFormat `locationName:"format" min:"1" 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" min:"1" type:"string" required:"true"` // A user-friendly ThreatIntelSet name that is displayed in all finding generated // by activity that involves IP addresses included in this ThreatIntelSet. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of threatIntelSet file uploaded. // // Status is a required field Status ThreatIntelSetStatus `locationName:"status" min:"1" type:"string" required:"true" enum:"true"` // The tags of the Threat List resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
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 }
Contains information about the EC2 instance profile.
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 }
Contains information about the details of an instance.
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 { // The ID of the account from which the invitations was sent. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The ID of the invitation. This value is used to validate the inviter account // to the member account. InvitationId *string `locationName:"invitationId" type:"string"` // Timestamp at which the invitation was sent. InvitedAt *string `locationName:"invitedAt" type:"string"` // The status of the relationship between the inviter and invitee accounts. RelationshipStatus *string `locationName:"relationshipStatus" type:"string"` // contains filtered or unexported fields }
Contains information about the invitation to become a member account.
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" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account with which you want // to invite members. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // A boolean value that specifies whether you want to disable email notification // to the accounts that you’re inviting to GuardDuty as members. DisableEmailNotification *bool `locationName:"disableEmailNotification" type:"boolean"` // The invitation message that you want to send to the accounts that you’re // inviting to GuardDuty as members. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (InviteMembersInput) 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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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
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
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 you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls // to the action fill nextToken in the request with the value of NextToken from // the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListDetectorsInput) 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 is a required field DetectorIds []string `locationName:"detectorIds" type:"list" required:"true"` // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListDetectorsOutput) 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 { // The unique ID of the detector the filter is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls // to the action fill nextToken in the request with the value of NextToken from // the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListFiltersInput) 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 is a required field FilterNames []string `locationName:"filterNames" type:"list" required:"true"` // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListFiltersOutput) 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 { // The ID of the detector that specifies the GuardDuty service whose findings // you want to list. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // Represents the criteria used for querying findings. Valid values include: // // * JSON field name // // * accountId // // * region // // * confidence // // * id // // * resource.accessKeyDetails.accessKeyId // // * resource.accessKeyDetails.principalId // // * resource.accessKeyDetails.userName // // * resource.accessKeyDetails.userType // // * resource.instanceDetails.iamInstanceProfile.id // // * resource.instanceDetails.imageId // // * resource.instanceDetails.instanceId // // * resource.instanceDetails.networkInterfaces.ipv6Addresses // // * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress // // * resource.instanceDetails.networkInterfaces.publicDnsName // // * resource.instanceDetails.networkInterfaces.publicIp // // * resource.instanceDetails.networkInterfaces.securityGroups.groupId // // * resource.instanceDetails.networkInterfaces.securityGroups.groupName // // * resource.instanceDetails.networkInterfaces.subnetId // // * resource.instanceDetails.networkInterfaces.vpcId // // * resource.instanceDetails.tags.key // // * resource.instanceDetails.tags.value // // * resource.resourceType // // * service.action.actionType // // * service.action.awsApiCallAction.api // // * service.action.awsApiCallAction.callerType // // * service.action.awsApiCallAction.remoteIpDetails.city.cityName // // * service.action.awsApiCallAction.remoteIpDetails.country.countryName // // * service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 // // * service.action.awsApiCallAction.remoteIpDetails.organization.asn // // * service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg // // * service.action.awsApiCallAction.serviceName // // * service.action.dnsRequestAction.domain // // * service.action.networkConnectionAction.blocked // // * service.action.networkConnectionAction.connectionDirection // // * service.action.networkConnectionAction.localPortDetails.port // // * service.action.networkConnectionAction.protocol // // * service.action.networkConnectionAction.remoteIpDetails.city.cityName // // * service.action.networkConnectionAction.remoteIpDetails.country.countryName // // * service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 // // * service.action.networkConnectionAction.remoteIpDetails.organization.asn // // * service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg // // * service.action.networkConnectionAction.remotePortDetails.port // // * service.additionalInfo.threatListName // // * service.archived When this attribute is set to 'true', only archived // findings are listed. When it's set to 'false', only unarchived findings // are listed. When this attribute is not set, all existing findings are // listed. // // * service.resourceRole // // * severity // // * type // // * updatedAt Type: Timestamp in Unix Epoch millisecond format: 1486685375000 FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` // You can use this parameter to indicate the maximum number of items you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls // to the action fill nextToken in the request with the value of NextToken from // the previous response to continue listing data. NextToken *string `locationName:"nextToken" type:"string"` // Represents the criteria used for sorting findings. SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` // contains filtered or unexported fields }
func (ListFindingsInput) 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 IDs of the findings you are listing. // // FindingIds is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListFindingsOutput) 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 { // The unique ID of the detector the ipSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls // to the action fill nextToken in the request with the value of NextToken from // the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListIPSetsInput) 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 { // The IDs of the IPSet resources. // // IpSetIds is a required field IpSetIds []string `locationName:"ipSetIds" type:"list" required:"true"` // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListIPSetsOutput) 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 you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls // to the action fill nextToken in the request with the value of NextToken from // the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListInvitationsInput) 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"` // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListInvitationsOutput) 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 { // The unique ID of the detector the member is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls // to the action fill nextToken in the request with the value of NextToken from // the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // Specifies whether to only return associated members or to return all members // (including members which haven't been invited yet or have been disassociated). OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"` // contains filtered or unexported fields }
func (ListMembersInput) 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 members. Members []Member `locationName:"members" type:"list"` // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListMembersOutput) 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 ListPublishingDestinationsInput ¶
type ListPublishingDestinationsInput struct { // The ID of the detector to retrieve publishing destinations for. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // A token to use for paginating results returned in the repsonse. Set the value // of this parameter to null for the first request to a list action. For subsequent // calls, use the NextToken value returned from the previous request to continue // listing results after the first page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListPublishingDestinationsInput) MarshalFields ¶
func (s ListPublishingDestinationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPublishingDestinationsInput) String ¶
func (s ListPublishingDestinationsInput) String() string
String returns the string representation
func (*ListPublishingDestinationsInput) Validate ¶
func (s *ListPublishingDestinationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPublishingDestinationsOutput ¶
type ListPublishingDestinationsOutput struct { // A Destinations obect that includes information about each publishing destination // returned. // // Destinations is a required field Destinations []Destination `locationName:"destinations" type:"list" required:"true"` // A token to use for paginating results returned in the repsonse. Set the value // of this parameter to null for the first request to a list action. For subsequent // calls, use the NextToken value returned from the previous request to continue // listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListPublishingDestinationsOutput) MarshalFields ¶
func (s ListPublishingDestinationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPublishingDestinationsOutput) String ¶
func (s ListPublishingDestinationsOutput) String() string
String returns the string representation
type ListPublishingDestinationsPaginator ¶
ListPublishingDestinationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListPublishingDestinationsPaginator ¶
func NewListPublishingDestinationsPaginator(req ListPublishingDestinationsRequest) ListPublishingDestinationsPaginator
NewListPublishingDestinationsRequestPaginator returns a paginator for ListPublishingDestinations. 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.ListPublishingDestinationsRequest(input) p := guardduty.NewListPublishingDestinationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListPublishingDestinationsPaginator) CurrentPage ¶
func (p *ListPublishingDestinationsPaginator) CurrentPage() *ListPublishingDestinationsOutput
type ListPublishingDestinationsRequest ¶
type ListPublishingDestinationsRequest struct { *aws.Request Input *ListPublishingDestinationsInput Copy func(*ListPublishingDestinationsInput) ListPublishingDestinationsRequest }
ListPublishingDestinationsRequest is the request type for the ListPublishingDestinations API operation.
func (ListPublishingDestinationsRequest) Send ¶
func (r ListPublishingDestinationsRequest) Send(ctx context.Context) (*ListPublishingDestinationsResponse, error)
Send marshals and sends the ListPublishingDestinations API request.
type ListPublishingDestinationsResponse ¶
type ListPublishingDestinationsResponse struct { *ListPublishingDestinationsOutput // contains filtered or unexported fields }
ListPublishingDestinationsResponse is the response type for the ListPublishingDestinations API operation.
func (*ListPublishingDestinationsResponse) SDKResponseMetdata ¶
func (r *ListPublishingDestinationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListPublishingDestinations request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the given GuardDuty resource // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags associated with the resource. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ListThreatIntelSetsInput ¶
type ListThreatIntelSetsInput struct { // The unique ID of the detector the threatIntelSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // You can use this parameter to indicate the maximum number of items you want // in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter to paginate results in the response. Set the value // of this parameter to null on your first call to the list action. For subsequent // calls to the action fill nextToken in the request with the value of NextToken // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListThreatIntelSetsInput) 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 { // Pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string `locationName:"nextToken" type:"string"` // The IDs of the ThreatIntelSet resources. // // ThreatIntelSetIds is a required field ThreatIntelSetIds []string `locationName:"threatIntelSetIds" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListThreatIntelSetsOutput) 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 }
Contains information about the port for the local connection.
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 { // The ID of the account used as the Master account. AccountId *string `locationName:"accountId" min:"12" type:"string"` // This value is used to validate the master account to the member account. InvitationId *string `locationName:"invitationId" type:"string"` // Timestamp at which the invitation was sent. InvitedAt *string `locationName:"invitedAt" type:"string"` // The status of the relationship between the master and member accounts. RelationshipStatus *string `locationName:"relationshipStatus" type:"string"` // contains filtered or unexported fields }
Contains information about the Master account and invitation.
func (Master) 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 { // Member account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` // Member account's detector ID. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` // Member account's email address. // // Email is a required field Email *string `locationName:"email" min:"1" type:"string" required:"true"` // Timestamp at which the invitation was sent InvitedAt *string `locationName:"invitedAt" type:"string"` // Master account ID. // // MasterId is a required field MasterId *string `locationName:"masterId" type:"string" required:"true"` // The status of the relationship between the member and the master. // // RelationshipStatus is a required field RelationshipStatus *string `locationName:"relationshipStatus" type:"string" required:"true"` // Member last updated timestamp. // // UpdatedAt is a required field UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"` // contains filtered or unexported fields }
Continas information about the member account
func (Member) 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 }
Contains information about the NETWORK_CONNECTION action described in the finding.
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 }
Contains information about the network interface of the Ec2 instance.
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 }
Continas information about the ISP organization of the remote IP address.
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 }
Contains information about the PORT_PROBE action described in the finding.
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 }
Contains information about the port probe details.
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 }
Contains other private IP address information of the EC2 instance.
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 }
Contains information about the product code for the Ec2 instance.
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 PublishingStatus ¶
type PublishingStatus string
const ( PublishingStatusPendingVerification PublishingStatus = "PENDING_VERIFICATION" PublishingStatusPublishing PublishingStatus = "PUBLISHING" PublishingStatusUnableToPublishFixDestinationProperty PublishingStatus = "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" PublishingStatusStopped PublishingStatus = "STOPPED" )
Enum values for PublishingStatus
func (PublishingStatus) MarshalValue ¶
func (enum PublishingStatus) MarshalValue() (string, error)
func (PublishingStatus) MarshalValueBuf ¶
func (enum PublishingStatus) MarshalValueBuf(b []byte) ([]byte, error)
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 }
Continas information about the remote IP address of the connection.
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 }
Contains information about the remote port.
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 }
Contains information about the AWS resource associated with the activity that prompted GuardDuty to generate a finding.
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 }
Contains information about the security groups associated with the EC2 instance.
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" min:"1" 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"` // An evidence object associated with the service. Evidence *Evidence `locationName:"evidence" type:"structure"` // 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 }
Contains additional information about the generated finding.
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 }
Contains information about the criteria used for sorting findings.
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 to start monitoring. // // AccountIds is a required field AccountIds []string `locationName:"accountIds" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty master account associated // with the member accounts to monitor. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account that you want to stop // from monitor members' findings. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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 is a required field UnprocessedAccounts []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` // contains filtered or unexported fields }
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 }
Contains information about a tag associated with the Ec2 instance.
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 TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag // to. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tags to be added to a resource. // // Tags is a required field Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type ThreatIntelSetFormat ¶
type ThreatIntelSetFormat string
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
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 ThreatIntelligenceDetail ¶
type ThreatIntelligenceDetail struct { // The name of the threat intelligence list that triggered the finding. ThreatListName *string `locationName:"threatListName" type:"string"` // A list of names of the threats in the threat intelligence list that triggered // the finding. ThreatNames []string `locationName:"threatNames" type:"list"` // contains filtered or unexported fields }
An instance of a threat intelligence detail that constitutes evidence for the finding.
func (ThreatIntelligenceDetail) MarshalFields ¶
func (s ThreatIntelligenceDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThreatIntelligenceDetail) String ¶
func (s ThreatIntelligenceDetail) String() string
String returns the string representation
type UnarchiveFindingsInput ¶
type UnarchiveFindingsInput struct { // The ID of the detector associated with the findings to unarchive. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // IDs of the findings to unarchive. // // FindingIds is a required field FindingIds []string `locationName:"findingIds" type:"list" required:"true"` // contains filtered or unexported fields }
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
}
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" min:"12" 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 }
Contains information about the accounts that were not processed.
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 UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) for the resource to remove tags from. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tag keys to remove from the resource. // // TagKeys is a required field TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateDetectorInput ¶
type UpdateDetectorInput struct { // The unique ID of the detector to update. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // Specifies whether the detector is enabled or not enabled. Enable *bool `locationName:"enable" type:"boolean"` // A enum value that specifies how frequently findings are exported, such as // to CloudWatch Events. FindingPublishingFrequency FindingPublishingFrequency `locationName:"findingPublishingFrequency" type:"string" enum:"true"` // contains filtered or unexported fields }
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
}
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" min:"1" type:"string" enum:"true"` // The description of the filter. Description *string `locationName:"description" type:"string"` // The unique ID of the detector that specifies the GuardDuty service where // you want to update a filter. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The name of the filter. // // 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" min:"1" type:"integer"` // contains filtered or unexported fields }
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 is a required field Name *string `locationName:"name" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
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"` // The ID of the detector associated with the findings to update feedback for. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The feedback for the finding. // // 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 }
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
}
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"` // The detectorID that specifies the GuardDuty service whose IPSet you want // to update. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // The unique ID that specifies the IPSet that you want to update. // // 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" min:"1" type:"string"` // The unique ID that specifies the IPSet that you want to update. Name *string `locationName:"name" min:"1" type:"string"` // contains filtered or unexported fields }
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
}
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 UpdatePublishingDestinationInput ¶
type UpdatePublishingDestinationInput struct { // The ID of the detector associated with the publishing destinations to update. // // DestinationId is a required field DestinationId *string `location:"uri" locationName:"destinationId" type:"string" required:"true"` // A DestinationProperties object that includes the DestinationArn and KmsKeyArn // of the publishing destination. DestinationProperties *DestinationProperties `locationName:"destinationProperties" type:"structure"` // The ID of the // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdatePublishingDestinationInput) MarshalFields ¶
func (s UpdatePublishingDestinationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdatePublishingDestinationInput) String ¶
func (s UpdatePublishingDestinationInput) String() string
String returns the string representation
func (*UpdatePublishingDestinationInput) Validate ¶
func (s *UpdatePublishingDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdatePublishingDestinationOutput ¶
type UpdatePublishingDestinationOutput struct {
// contains filtered or unexported fields
}
func (UpdatePublishingDestinationOutput) MarshalFields ¶
func (s UpdatePublishingDestinationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdatePublishingDestinationOutput) String ¶
func (s UpdatePublishingDestinationOutput) String() string
String returns the string representation
type UpdatePublishingDestinationRequest ¶
type UpdatePublishingDestinationRequest struct { *aws.Request Input *UpdatePublishingDestinationInput Copy func(*UpdatePublishingDestinationInput) UpdatePublishingDestinationRequest }
UpdatePublishingDestinationRequest is the request type for the UpdatePublishingDestination API operation.
func (UpdatePublishingDestinationRequest) Send ¶
func (r UpdatePublishingDestinationRequest) Send(ctx context.Context) (*UpdatePublishingDestinationResponse, error)
Send marshals and sends the UpdatePublishingDestination API request.
type UpdatePublishingDestinationResponse ¶
type UpdatePublishingDestinationResponse struct { *UpdatePublishingDestinationOutput // contains filtered or unexported fields }
UpdatePublishingDestinationResponse is the response type for the UpdatePublishingDestination API operation.
func (*UpdatePublishingDestinationResponse) SDKResponseMetdata ¶
func (r *UpdatePublishingDestinationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdatePublishingDestination 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"` // The detectorID that specifies the GuardDuty service whose ThreatIntelSet // you want to update. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" 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" min:"1" type:"string"` // The unique ID that specifies the ThreatIntelSet that you want to update. Name *string `locationName:"name" min:"1" type:"string"` // The unique ID that specifies the ThreatIntelSet that you want to update. // // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` // contains filtered or unexported fields }
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
}
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_CreatePublishingDestination.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_DeletePublishingDestination.go api_op_DeleteThreatIntelSet.go api_op_DescribePublishingDestination.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_ListPublishingDestinations.go api_op_ListTagsForResource.go api_op_ListThreatIntelSets.go api_op_StartMonitoringMembers.go api_op_StopMonitoringMembers.go api_op_TagResource.go api_op_UnarchiveFindings.go api_op_UntagResource.go api_op_UpdateDetector.go api_op_UpdateFilter.go api_op_UpdateFindingsFeedback.go api_op_UpdateIPSet.go api_op_UpdatePublishingDestination.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.17.0
- Published
- Nov 21, 2019
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 2 minutes ago –
Tools for package owners.