guardduty

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 53

Documentation

Overview

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

View Source
const (
	ServiceName = "Amazon GuardDuty" // Service's name
	ServiceID   = "GuardDuty"        // Service's identifier
	EndpointsID = "guardduty"        // Service's Endpoint identifier
)
View Source
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"
)

Variables

This section is empty.

Functions

This section is empty.

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the AcceptInvitation API request.

type AcceptInvitationResponse added in v0.9.0

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

AcceptInvitationResponse is the response type for the AcceptInvitation API operation.

func (*AcceptInvitationResponse) SDKResponseMetdata added in v0.9.0

func (r *AcceptInvitationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptInvitation request.

type AccessKeyDetails added in v0.3.0

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 added in v0.3.0

func (s AccessKeyDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AccessKeyDetails) String added in v0.3.0

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 added in v0.3.0

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 added in v0.4.0

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 added in v0.3.0

func (s Action) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Action) String

func (s Action) String() 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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the ArchiveFindings API request.

type ArchiveFindingsResponse added in v0.9.0

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

ArchiveFindingsResponse is the response type for the ArchiveFindings API operation.

func (*ArchiveFindingsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

func (s City) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (City) String

func (s City) String() string

String returns the string representation

type Client added in v0.9.0

type Client struct {
	*aws.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

func New(config aws.Config) *Client

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.17.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.17.0

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 added in v0.9.0

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 added in v0.17.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.17.0

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 added in v0.10.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.10.0

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 added in v0.9.0

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 added in v0.10.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.17.0

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 added in v0.9.0

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 added in v0.3.0

func (s Condition) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Condition) String

func (s Condition) String() 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 added in v0.3.0

func (s Country) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Country) String

func (s Country) String() 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 added in v0.3.0

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 added in v0.6.0

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 added in v0.3.0

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

Send marshals and sends the CreateDetector API request.

type CreateDetectorResponse added in v0.9.0

type CreateDetectorResponse struct {
	*CreateDetectorOutput
	// contains filtered or unexported fields
}

CreateDetectorResponse is the response type for the CreateDetector API operation.

func (*CreateDetectorResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDetector request.

type CreateFilterInput added in v0.4.0

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 added in v0.4.0

func (s CreateFilterInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateFilterInput) String added in v0.4.0

func (s CreateFilterInput) String() string

String returns the string representation

func (*CreateFilterInput) Validate added in v0.4.0

func (s *CreateFilterInput) Validate() error

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

type CreateFilterOutput added in v0.4.0

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 added in v0.4.0

func (s CreateFilterOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateFilterOutput) String added in v0.4.0

func (s CreateFilterOutput) String() string

String returns the string representation

type CreateFilterRequest added in v0.4.0

type CreateFilterRequest struct {
	*aws.Request
	Input *CreateFilterInput
	Copy  func(*CreateFilterInput) CreateFilterRequest
}

CreateFilterRequest is the request type for the CreateFilter API operation.

func (CreateFilterRequest) Send added in v0.4.0

Send marshals and sends the CreateFilter API request.

type CreateFilterResponse added in v0.9.0

type CreateFilterResponse struct {
	*CreateFilterOutput
	// contains filtered or unexported fields
}

CreateFilterResponse is the response type for the CreateFilter API operation.

func (*CreateFilterResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the CreateIPSet API request.

type CreateIPSetResponse added in v0.9.0

type CreateIPSetResponse struct {
	*CreateIPSetOutput
	// contains filtered or unexported fields
}

CreateIPSetResponse is the response type for the CreateIPSet API operation.

func (*CreateIPSetResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the CreateMembers API request.

type CreateMembersResponse added in v0.9.0

type CreateMembersResponse struct {
	*CreateMembersOutput
	// contains filtered or unexported fields
}

CreateMembersResponse is the response type for the CreateMembers API operation.

func (*CreateMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateMembers request.

type CreatePublishingDestinationInput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePublishingDestinationInput) String added in v0.17.0

String returns the string representation

func (*CreatePublishingDestinationInput) Validate added in v0.17.0

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

type CreatePublishingDestinationOutput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePublishingDestinationOutput) String added in v0.17.0

String returns the string representation

type CreatePublishingDestinationRequest added in v0.17.0

type CreatePublishingDestinationRequest struct {
	*aws.Request
	Input *CreatePublishingDestinationInput
	Copy  func(*CreatePublishingDestinationInput) CreatePublishingDestinationRequest
}

CreatePublishingDestinationRequest is the request type for the CreatePublishingDestination API operation.

func (CreatePublishingDestinationRequest) Send added in v0.17.0

Send marshals and sends the CreatePublishingDestination API request.

type CreatePublishingDestinationResponse added in v0.17.0

type CreatePublishingDestinationResponse struct {
	*CreatePublishingDestinationOutput
	// contains filtered or unexported fields
}

CreatePublishingDestinationResponse is the response type for the CreatePublishingDestination API operation.

func (*CreatePublishingDestinationResponse) SDKResponseMetdata added in v0.17.0

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 added in v0.3.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSampleFindingsOutput) 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

Send marshals and sends the CreateSampleFindings API request.

type CreateSampleFindingsResponse added in v0.9.0

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

CreateSampleFindingsResponse is the response type for the CreateSampleFindings API operation.

func (*CreateSampleFindingsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThreatIntelSetOutput) 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

Send marshals and sends the CreateThreatIntelSet API request.

type CreateThreatIntelSetResponse added in v0.9.0

type CreateThreatIntelSetResponse struct {
	*CreateThreatIntelSetOutput
	// contains filtered or unexported fields
}

CreateThreatIntelSetResponse is the response type for the CreateThreatIntelSet API operation.

func (*CreateThreatIntelSetResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.6.0

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 added in v0.3.0

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

Send marshals and sends the DeclineInvitations API request.

type DeclineInvitationsResponse added in v0.9.0

type DeclineInvitationsResponse struct {
	*DeclineInvitationsOutput
	// contains filtered or unexported fields
}

DeclineInvitationsResponse is the response type for the DeclineInvitations API operation.

func (*DeclineInvitationsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the DeleteDetector API request.

type DeleteDetectorResponse added in v0.9.0

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

DeleteDetectorResponse is the response type for the DeleteDetector API operation.

func (*DeleteDetectorResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDetector request.

type DeleteFilterInput added in v0.4.0

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 added in v0.4.0

func (s DeleteFilterInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteFilterInput) String added in v0.4.0

func (s DeleteFilterInput) String() string

String returns the string representation

func (*DeleteFilterInput) Validate added in v0.4.0

func (s *DeleteFilterInput) Validate() error

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

type DeleteFilterOutput added in v0.4.0

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

func (DeleteFilterOutput) MarshalFields added in v0.4.0

func (s DeleteFilterOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteFilterOutput) String added in v0.4.0

func (s DeleteFilterOutput) String() string

String returns the string representation

type DeleteFilterRequest added in v0.4.0

type DeleteFilterRequest struct {
	*aws.Request
	Input *DeleteFilterInput
	Copy  func(*DeleteFilterInput) DeleteFilterRequest
}

DeleteFilterRequest is the request type for the DeleteFilter API operation.

func (DeleteFilterRequest) Send added in v0.4.0

Send marshals and sends the DeleteFilter API request.

type DeleteFilterResponse added in v0.9.0

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

DeleteFilterResponse is the response type for the DeleteFilter API operation.

func (*DeleteFilterResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the DeleteIPSet API request.

type DeleteIPSetResponse added in v0.9.0

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

DeleteIPSetResponse is the response type for the DeleteIPSet API operation.

func (*DeleteIPSetResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.6.0

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 added in v0.3.0

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

Send marshals and sends the DeleteInvitations API request.

type DeleteInvitationsResponse added in v0.9.0

type DeleteInvitationsResponse struct {
	*DeleteInvitationsOutput
	// contains filtered or unexported fields
}

DeleteInvitationsResponse is the response type for the DeleteInvitations API operation.

func (*DeleteInvitationsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the DeleteMembers API request.

type DeleteMembersResponse added in v0.9.0

type DeleteMembersResponse struct {
	*DeleteMembersOutput
	// contains filtered or unexported fields
}

DeleteMembersResponse is the response type for the DeleteMembers API operation.

func (*DeleteMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteMembers request.

type DeletePublishingDestinationInput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePublishingDestinationInput) String added in v0.17.0

String returns the string representation

func (*DeletePublishingDestinationInput) Validate added in v0.17.0

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

type DeletePublishingDestinationOutput added in v0.17.0

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

func (DeletePublishingDestinationOutput) MarshalFields added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePublishingDestinationOutput) String added in v0.17.0

String returns the string representation

type DeletePublishingDestinationRequest added in v0.17.0

type DeletePublishingDestinationRequest struct {
	*aws.Request
	Input *DeletePublishingDestinationInput
	Copy  func(*DeletePublishingDestinationInput) DeletePublishingDestinationRequest
}

DeletePublishingDestinationRequest is the request type for the DeletePublishingDestination API operation.

func (DeletePublishingDestinationRequest) Send added in v0.17.0

Send marshals and sends the DeletePublishingDestination API request.

type DeletePublishingDestinationResponse added in v0.17.0

type DeletePublishingDestinationResponse struct {
	*DeletePublishingDestinationOutput
	// contains filtered or unexported fields
}

DeletePublishingDestinationResponse is the response type for the DeletePublishingDestination API operation.

func (*DeletePublishingDestinationResponse) SDKResponseMetdata added in v0.17.0

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 added in v0.3.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThreatIntelSetOutput) 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

Send marshals and sends the DeleteThreatIntelSet API request.

type DeleteThreatIntelSetResponse added in v0.9.0

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

DeleteThreatIntelSetResponse is the response type for the DeleteThreatIntelSet API operation.

func (*DeleteThreatIntelSetResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteThreatIntelSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteThreatIntelSet request.

type DescribePublishingDestinationInput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribePublishingDestinationInput) String added in v0.17.0

String returns the string representation

func (*DescribePublishingDestinationInput) Validate added in v0.17.0

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

type DescribePublishingDestinationOutput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribePublishingDestinationOutput) String added in v0.17.0

String returns the string representation

type DescribePublishingDestinationRequest added in v0.17.0

type DescribePublishingDestinationRequest struct {
	*aws.Request
	Input *DescribePublishingDestinationInput
	Copy  func(*DescribePublishingDestinationInput) DescribePublishingDestinationRequest
}

DescribePublishingDestinationRequest is the request type for the DescribePublishingDestination API operation.

func (DescribePublishingDestinationRequest) Send added in v0.17.0

Send marshals and sends the DescribePublishingDestination API request.

type DescribePublishingDestinationResponse added in v0.17.0

type DescribePublishingDestinationResponse struct {
	*DescribePublishingDestinationOutput
	// contains filtered or unexported fields
}

DescribePublishingDestinationResponse is the response type for the DescribePublishingDestination API operation.

func (*DescribePublishingDestinationResponse) SDKResponseMetdata added in v0.17.0

func (r *DescribePublishingDestinationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribePublishingDestination request.

type Destination added in v0.17.0

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 added in v0.17.0

func (s Destination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Destination) String added in v0.17.0

func (s Destination) String() string

String returns the string representation

type DestinationProperties added in v0.17.0

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 added in v0.17.0

func (s DestinationProperties) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DestinationProperties) String added in v0.17.0

func (s DestinationProperties) String() string

String returns the string representation

type DestinationType added in v0.17.0

type DestinationType string
const (
	DestinationTypeS3 DestinationType = "S3"
)

Enum values for DestinationType

func (DestinationType) MarshalValue added in v0.17.0

func (enum DestinationType) MarshalValue() (string, error)

func (DestinationType) MarshalValueBuf added in v0.17.0

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 added in v0.3.0

func (enum DetectorStatus) MarshalValue() (string, error)

func (DetectorStatus) MarshalValueBuf added in v0.3.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateFromMasterAccountInput) String

String returns the string representation

func (*DisassociateFromMasterAccountInput) Validate

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateFromMasterAccountOutput) 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

Send marshals and sends the DisassociateFromMasterAccount API request.

type DisassociateFromMasterAccountResponse added in v0.9.0

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

DisassociateFromMasterAccountResponse is the response type for the DisassociateFromMasterAccount API operation.

func (*DisassociateFromMasterAccountResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the DisassociateMembers API request.

type DisassociateMembersResponse added in v0.9.0

type DisassociateMembersResponse struct {
	*DisassociateMembersOutput
	// contains filtered or unexported fields
}

DisassociateMembersResponse is the response type for the DisassociateMembers API operation.

func (*DisassociateMembersResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.11.0

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 added in v0.11.0

func (s Evidence) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Evidence) String added in v0.11.0

func (s Evidence) String() string

String returns the string representation

type Feedback

type Feedback string
const (
	FeedbackUseful    Feedback = "USEFUL"
	FeedbackNotUseful Feedback = "NOT_USEFUL"
)

Enum values for Feedback

func (Feedback) MarshalValue added in v0.3.0

func (enum Feedback) MarshalValue() (string, error)

func (Feedback) MarshalValueBuf added in v0.3.0

func (enum Feedback) MarshalValueBuf(b []byte) ([]byte, error)

type FilterAction added in v0.4.0

type FilterAction string
const (
	FilterActionNoop    FilterAction = "NOOP"
	FilterActionArchive FilterAction = "ARCHIVE"
)

Enum values for FilterAction

func (FilterAction) MarshalValue added in v0.4.0

func (enum FilterAction) MarshalValue() (string, error)

func (FilterAction) MarshalValueBuf added in v0.4.0

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 added in v0.3.0

func (s Finding) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Finding) String

func (s Finding) String() 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 added in v0.3.0

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 added in v0.6.0

type FindingPublishingFrequency string
const (
	FindingPublishingFrequencyFifteenMinutes FindingPublishingFrequency = "FIFTEEN_MINUTES"
	FindingPublishingFrequencyOneHour        FindingPublishingFrequency = "ONE_HOUR"
	FindingPublishingFrequencySixHours       FindingPublishingFrequency = "SIX_HOURS"
)

Enum values for FindingPublishingFrequency

func (FindingPublishingFrequency) MarshalValue added in v0.6.0

func (enum FindingPublishingFrequency) MarshalValue() (string, error)

func (FindingPublishingFrequency) MarshalValueBuf added in v0.6.0

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 added in v0.3.0

func (enum FindingStatisticType) MarshalValue() (string, error)

func (FindingStatisticType) MarshalValueBuf added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetDetector API request.

type GetDetectorResponse added in v0.9.0

type GetDetectorResponse struct {
	*GetDetectorOutput
	// contains filtered or unexported fields
}

GetDetectorResponse is the response type for the GetDetector API operation.

func (*GetDetectorResponse) SDKResponseMetdata added in v0.9.0

func (r *GetDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDetector request.

type GetFilterInput added in v0.4.0

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 added in v0.4.0

func (s GetFilterInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFilterInput) String added in v0.4.0

func (s GetFilterInput) String() string

String returns the string representation

func (*GetFilterInput) Validate added in v0.4.0

func (s *GetFilterInput) Validate() error

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

type GetFilterOutput added in v0.4.0

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 added in v0.4.0

func (s GetFilterOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFilterOutput) String added in v0.4.0

func (s GetFilterOutput) String() string

String returns the string representation

type GetFilterRequest added in v0.4.0

type GetFilterRequest struct {
	*aws.Request
	Input *GetFilterInput
	Copy  func(*GetFilterInput) GetFilterRequest
}

GetFilterRequest is the request type for the GetFilter API operation.

func (GetFilterRequest) Send added in v0.4.0

Send marshals and sends the GetFilter API request.

type GetFilterResponse added in v0.9.0

type GetFilterResponse struct {
	*GetFilterOutput
	// contains filtered or unexported fields
}

GetFilterResponse is the response type for the GetFilter API operation.

func (*GetFilterResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetFindings API request.

type GetFindingsResponse added in v0.9.0

type GetFindingsResponse struct {
	*GetFindingsOutput
	// contains filtered or unexported fields
}

GetFindingsResponse is the response type for the GetFindings API operation.

func (*GetFindingsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsStatisticsInput) 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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsStatisticsOutput) 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

Send marshals and sends the GetFindingsStatistics API request.

type GetFindingsStatisticsResponse added in v0.9.0

type GetFindingsStatisticsResponse struct {
	*GetFindingsStatisticsOutput
	// contains filtered or unexported fields
}

GetFindingsStatisticsResponse is the response type for the GetFindingsStatistics API operation.

func (*GetFindingsStatisticsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetIPSet API request.

type GetIPSetResponse added in v0.9.0

type GetIPSetResponse struct {
	*GetIPSetOutput
	// contains filtered or unexported fields
}

GetIPSetResponse is the response type for the GetIPSet API operation.

func (*GetIPSetResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetInvitationsCount API request.

type GetInvitationsCountResponse added in v0.9.0

type GetInvitationsCountResponse struct {
	*GetInvitationsCountOutput
	// contains filtered or unexported fields
}

GetInvitationsCountResponse is the response type for the GetInvitationsCount API operation.

func (*GetInvitationsCountResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetMasterAccount API request.

type GetMasterAccountResponse added in v0.9.0

type GetMasterAccountResponse struct {
	*GetMasterAccountOutput
	// contains filtered or unexported fields
}

GetMasterAccountResponse is the response type for the GetMasterAccount API operation.

func (*GetMasterAccountResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetMembers API request.

type GetMembersResponse added in v0.9.0

type GetMembersResponse struct {
	*GetMembersOutput
	// contains filtered or unexported fields
}

GetMembersResponse is the response type for the GetMembers API operation.

func (*GetMembersResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the GetThreatIntelSet API request.

type GetThreatIntelSetResponse added in v0.9.0

type GetThreatIntelSetResponse struct {
	*GetThreatIntelSetOutput
	// contains filtered or unexported fields
}

GetThreatIntelSetResponse is the response type for the GetThreatIntelSet API operation.

func (*GetThreatIntelSetResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to AWS
	// Outposts instances.
	OutpostArn *string `locationName:"outpostArn" type:"string"`

	// 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 added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the InviteMembers API request.

type InviteMembersResponse added in v0.9.0

type InviteMembersResponse struct {
	*InviteMembersOutput
	// contains filtered or unexported fields
}

InviteMembersResponse is the response type for the InviteMembers API operation.

func (*InviteMembersResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

func (enum IpSetFormat) MarshalValue() (string, error)

func (IpSetFormat) MarshalValueBuf added in v0.3.0

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 added in v0.3.0

func (enum IpSetStatus) MarshalValue() (string, error)

func (IpSetStatus) MarshalValueBuf added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.9.0

type ListDetectorsPaginator struct {
	aws.Pager
}

ListDetectorsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDetectorsPaginator added in v0.9.0

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 added in v0.9.0

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

Send marshals and sends the ListDetectors API request.

type ListDetectorsResponse added in v0.9.0

type ListDetectorsResponse struct {
	*ListDetectorsOutput
	// contains filtered or unexported fields
}

ListDetectorsResponse is the response type for the ListDetectors API operation.

func (*ListDetectorsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListDetectorsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDetectors request.

type ListFiltersInput added in v0.4.0

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 added in v0.4.0

func (s ListFiltersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFiltersInput) String added in v0.4.0

func (s ListFiltersInput) String() string

String returns the string representation

func (*ListFiltersInput) Validate added in v0.4.0

func (s *ListFiltersInput) Validate() error

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

type ListFiltersOutput added in v0.4.0

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 added in v0.4.0

func (s ListFiltersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFiltersOutput) String added in v0.4.0

func (s ListFiltersOutput) String() string

String returns the string representation

type ListFiltersPaginator added in v0.9.0

type ListFiltersPaginator struct {
	aws.Pager
}

ListFiltersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListFiltersPaginator added in v0.9.0

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 added in v0.9.0

func (p *ListFiltersPaginator) CurrentPage() *ListFiltersOutput

type ListFiltersRequest added in v0.4.0

type ListFiltersRequest struct {
	*aws.Request
	Input *ListFiltersInput
	Copy  func(*ListFiltersInput) ListFiltersRequest
}

ListFiltersRequest is the request type for the ListFilters API operation.

func (ListFiltersRequest) Send added in v0.4.0

Send marshals and sends the ListFilters API request.

type ListFiltersResponse added in v0.9.0

type ListFiltersResponse struct {
	*ListFiltersOutput
	// contains filtered or unexported fields
}

ListFiltersResponse is the response type for the ListFilters API operation.

func (*ListFiltersResponse) SDKResponseMetdata added in v0.9.0

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.outpostArn
	//
	//    * 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.localIpDetails.ipAddressV4
	//
	//    * 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 added in v0.3.0

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 added in v0.3.0

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 added in v0.9.0

type ListFindingsPaginator struct {
	aws.Pager
}

ListFindingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListFindingsPaginator added in v0.9.0

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 added in v0.9.0

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

Send marshals and sends the ListFindings API request.

type ListFindingsResponse added in v0.9.0

type ListFindingsResponse struct {
	*ListFindingsOutput
	// contains filtered or unexported fields
}

ListFindingsResponse is the response type for the ListFindings API operation.

func (*ListFindingsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.9.0

type ListIPSetsPaginator struct {
	aws.Pager
}

ListIPSetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListIPSetsPaginator added in v0.9.0

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 added in v0.9.0

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

Send marshals and sends the ListIPSets API request.

type ListIPSetsResponse added in v0.9.0

type ListIPSetsResponse struct {
	*ListIPSetsOutput
	// contains filtered or unexported fields
}

ListIPSetsResponse is the response type for the ListIPSets API operation.

func (*ListIPSetsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.9.0

type ListInvitationsPaginator struct {
	aws.Pager
}

ListInvitationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListInvitationsPaginator added in v0.9.0

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 added in v0.9.0

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

Send marshals and sends the ListInvitations API request.

type ListInvitationsResponse added in v0.9.0

type ListInvitationsResponse struct {
	*ListInvitationsOutput
	// contains filtered or unexported fields
}

ListInvitationsResponse is the response type for the ListInvitations API operation.

func (*ListInvitationsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.9.0

type ListMembersPaginator struct {
	aws.Pager
}

ListMembersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListMembersPaginator added in v0.9.0

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 added in v0.9.0

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

Send marshals and sends the ListMembers API request.

type ListMembersResponse added in v0.9.0

type ListMembersResponse struct {
	*ListMembersOutput
	// contains filtered or unexported fields
}

ListMembersResponse is the response type for the ListMembers API operation.

func (*ListMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *ListMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListMembers request.

type ListPublishingDestinationsInput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPublishingDestinationsInput) String added in v0.17.0

String returns the string representation

func (*ListPublishingDestinationsInput) Validate added in v0.17.0

func (s *ListPublishingDestinationsInput) Validate() error

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

type ListPublishingDestinationsOutput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPublishingDestinationsOutput) String added in v0.17.0

String returns the string representation

type ListPublishingDestinationsPaginator added in v0.17.0

type ListPublishingDestinationsPaginator struct {
	aws.Pager
}

ListPublishingDestinationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListPublishingDestinationsPaginator added in v0.17.0

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 added in v0.17.0

type ListPublishingDestinationsRequest added in v0.17.0

type ListPublishingDestinationsRequest struct {
	*aws.Request
	Input *ListPublishingDestinationsInput
	Copy  func(*ListPublishingDestinationsInput) ListPublishingDestinationsRequest
}

ListPublishingDestinationsRequest is the request type for the ListPublishingDestinations API operation.

func (ListPublishingDestinationsRequest) Send added in v0.17.0

Send marshals and sends the ListPublishingDestinations API request.

type ListPublishingDestinationsResponse added in v0.17.0

type ListPublishingDestinationsResponse struct {
	*ListPublishingDestinationsOutput
	// contains filtered or unexported fields
}

ListPublishingDestinationsResponse is the response type for the ListPublishingDestinations API operation.

func (*ListPublishingDestinationsResponse) SDKResponseMetdata added in v0.17.0

func (r *ListPublishingDestinationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPublishingDestinations request.

type ListTagsForResourceInput added in v0.10.0

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 added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String added in v0.10.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.10.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.10.0

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 added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String added in v0.10.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.10.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.10.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.10.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.10.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.9.0

type ListThreatIntelSetsPaginator struct {
	aws.Pager
}

ListThreatIntelSetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListThreatIntelSetsPaginator added in v0.9.0

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 added in v0.9.0

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

Send marshals and sends the ListThreatIntelSets API request.

type ListThreatIntelSetsResponse added in v0.9.0

type ListThreatIntelSetsResponse struct {
	*ListThreatIntelSetsOutput
	// contains filtered or unexported fields
}

ListThreatIntelSetsResponse is the response type for the ListThreatIntelSets API operation.

func (*ListThreatIntelSetsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListThreatIntelSetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThreatIntelSets request.

type LocalIpDetails added in v0.20.0

type LocalIpDetails struct {

	// IPV4 remote address of the connection.
	IpAddressV4 *string `locationName:"ipAddressV4" type:"string"`
	// contains filtered or unexported fields
}

Contains information about the local IP address of the connection.

func (LocalIpDetails) MarshalFields added in v0.20.0

func (s LocalIpDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LocalIpDetails) String added in v0.20.0

func (s LocalIpDetails) String() string

String returns the string representation

type LocalPortDetails

type LocalPortDetails struct {

	// Port number of the local connection.
	Port *int64 `locationName:"port" type:"integer"`

	// Port name of the local connection.
	PortName *string `locationName:"portName" type:"string"`
	// contains filtered or unexported fields
}

Contains information about the port for the local connection.

func (LocalPortDetails) MarshalFields added in v0.3.0

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 added in v0.3.0

func (s Master) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Master) String

func (s Master) String() 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 added in v0.3.0

func (s Member) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Member) String

func (s Member) String() 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 IP information of the connection.
	LocalIpDetails *LocalIpDetails `locationName:"localIpDetails" type:"structure"`

	// 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 added in v0.3.0

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 added in v0.3.0

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
const (
	OrderByAsc  OrderBy = "ASC"
	OrderByDesc OrderBy = "DESC"
)

Enum values for OrderBy

func (OrderBy) MarshalValue added in v0.3.0

func (enum OrderBy) MarshalValue() (string, error)

func (OrderBy) MarshalValueBuf added in v0.3.0

func (enum OrderBy) MarshalValueBuf(b []byte) ([]byte, error)

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

func (s PortProbeAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PortProbeAction) String added in v0.3.0

func (s PortProbeAction) String() string

String returns the string representation

type PortProbeDetail added in v0.3.0

type PortProbeDetail struct {

	// Local IP information of the connection.
	LocalIpDetails *LocalIpDetails `locationName:"localIpDetails" type:"structure"`

	// 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 added in v0.3.0

func (s PortProbeDetail) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PortProbeDetail) String added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.17.0

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 added in v0.17.0

func (enum PublishingStatus) MarshalValue() (string, error)

func (PublishingStatus) MarshalValueBuf added in v0.17.0

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 added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

func (s Resource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Resource) String

func (s Resource) String() 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 added in v0.3.0

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 added in v0.3.0

func (s Service) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Service) String

func (s Service) String() 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 added in v0.3.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartMonitoringMembersInput) 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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartMonitoringMembersOutput) 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

Send marshals and sends the StartMonitoringMembers API request.

type StartMonitoringMembersResponse added in v0.9.0

type StartMonitoringMembersResponse struct {
	*StartMonitoringMembersOutput
	// contains filtered or unexported fields
}

StartMonitoringMembersResponse is the response type for the StartMonitoringMembers API operation.

func (*StartMonitoringMembersResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopMonitoringMembersInput) 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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopMonitoringMembersOutput) 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

Send marshals and sends the StopMonitoringMembers API request.

type StopMonitoringMembersResponse added in v0.9.0

type StopMonitoringMembersResponse struct {
	*StopMonitoringMembersOutput
	// contains filtered or unexported fields
}

StopMonitoringMembersResponse is the response type for the StopMonitoringMembers API operation.

func (*StopMonitoringMembersResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

func (s Tag) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput added in v0.10.0

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 added in v0.10.0

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String added in v0.10.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.10.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.10.0

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

func (TagResourceOutput) MarshalFields added in v0.10.0

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String added in v0.10.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.10.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.10.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.10.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.10.0

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 added in v0.3.0

func (enum ThreatIntelSetFormat) MarshalValue() (string, error)

func (ThreatIntelSetFormat) MarshalValueBuf added in v0.3.0

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 added in v0.3.0

func (enum ThreatIntelSetStatus) MarshalValue() (string, error)

func (ThreatIntelSetStatus) MarshalValueBuf added in v0.3.0

func (enum ThreatIntelSetStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ThreatIntelligenceDetail added in v0.11.0

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 added in v0.11.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThreatIntelligenceDetail) String added in v0.11.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the UnarchiveFindings API request.

type UnarchiveFindingsResponse added in v0.9.0

type UnarchiveFindingsResponse struct {
	*UnarchiveFindingsOutput
	// contains filtered or unexported fields
}

UnarchiveFindingsResponse is the response type for the UnarchiveFindings API operation.

func (*UnarchiveFindingsResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.10.0

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 added in v0.10.0

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String added in v0.10.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.10.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.10.0

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

func (UntagResourceOutput) MarshalFields added in v0.10.0

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String added in v0.10.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.10.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.10.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.10.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.10.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the UpdateDetector API request.

type UpdateDetectorResponse added in v0.9.0

type UpdateDetectorResponse struct {
	*UpdateDetectorOutput
	// contains filtered or unexported fields
}

UpdateDetectorResponse is the response type for the UpdateDetector API operation.

func (*UpdateDetectorResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateDetectorResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDetector request.

type UpdateFilterInput added in v0.4.0

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 added in v0.4.0

func (s UpdateFilterInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFilterInput) String added in v0.4.0

func (s UpdateFilterInput) String() string

String returns the string representation

func (*UpdateFilterInput) Validate added in v0.4.0

func (s *UpdateFilterInput) Validate() error

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

type UpdateFilterOutput added in v0.4.0

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 added in v0.4.0

func (s UpdateFilterOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFilterOutput) String added in v0.4.0

func (s UpdateFilterOutput) String() string

String returns the string representation

type UpdateFilterRequest added in v0.4.0

type UpdateFilterRequest struct {
	*aws.Request
	Input *UpdateFilterInput
	Copy  func(*UpdateFilterInput) UpdateFilterRequest
}

UpdateFilterRequest is the request type for the UpdateFilter API operation.

func (UpdateFilterRequest) Send added in v0.4.0

Send marshals and sends the UpdateFilter API request.

type UpdateFilterResponse added in v0.9.0

type UpdateFilterResponse struct {
	*UpdateFilterOutput
	// contains filtered or unexported fields
}

UpdateFilterResponse is the response type for the UpdateFilter API operation.

func (*UpdateFilterResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFindingsFeedbackInput) 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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFindingsFeedbackOutput) 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

Send marshals and sends the UpdateFindingsFeedback API request.

type UpdateFindingsFeedbackResponse added in v0.9.0

type UpdateFindingsFeedbackResponse struct {
	*UpdateFindingsFeedbackOutput
	// contains filtered or unexported fields
}

UpdateFindingsFeedbackResponse is the response type for the UpdateFindingsFeedback API operation.

func (*UpdateFindingsFeedbackResponse) SDKResponseMetdata added in v0.9.0

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 added in v0.3.0

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 added in v0.3.0

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

Send marshals and sends the UpdateIPSet API request.

type UpdateIPSetResponse added in v0.9.0

type UpdateIPSetResponse struct {
	*UpdateIPSetOutput
	// contains filtered or unexported fields
}

UpdateIPSetResponse is the response type for the UpdateIPSet API operation.

func (*UpdateIPSetResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateIPSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateIPSet request.

type UpdatePublishingDestinationInput added in v0.17.0

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 added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdatePublishingDestinationInput) String added in v0.17.0

String returns the string representation

func (*UpdatePublishingDestinationInput) Validate added in v0.17.0

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

type UpdatePublishingDestinationOutput added in v0.17.0

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

func (UpdatePublishingDestinationOutput) MarshalFields added in v0.17.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdatePublishingDestinationOutput) String added in v0.17.0

String returns the string representation

type UpdatePublishingDestinationRequest added in v0.17.0

type UpdatePublishingDestinationRequest struct {
	*aws.Request
	Input *UpdatePublishingDestinationInput
	Copy  func(*UpdatePublishingDestinationInput) UpdatePublishingDestinationRequest
}

UpdatePublishingDestinationRequest is the request type for the UpdatePublishingDestination API operation.

func (UpdatePublishingDestinationRequest) Send added in v0.17.0

Send marshals and sends the UpdatePublishingDestination API request.

type UpdatePublishingDestinationResponse added in v0.17.0

type UpdatePublishingDestinationResponse struct {
	*UpdatePublishingDestinationOutput
	// contains filtered or unexported fields
}

UpdatePublishingDestinationResponse is the response type for the UpdatePublishingDestination API operation.

func (*UpdatePublishingDestinationResponse) SDKResponseMetdata added in v0.17.0

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 added in v0.3.0

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 added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThreatIntelSetOutput) 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

Send marshals and sends the UpdateThreatIntelSet API request.

type UpdateThreatIntelSetResponse added in v0.9.0

type UpdateThreatIntelSetResponse struct {
	*UpdateThreatIntelSetOutput
	// contains filtered or unexported fields
}

UpdateThreatIntelSetResponse is the response type for the UpdateThreatIntelSet API operation.

func (*UpdateThreatIntelSetResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateThreatIntelSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateThreatIntelSet request.

Directories

Path Synopsis
Package guarddutyiface provides an interface to enable mocking the Amazon GuardDuty service client for testing your code.
Package guarddutyiface provides an interface to enable mocking the Amazon GuardDuty service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL