guardduty

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

Assess, monitor, manage, and remediate security issues across your AWS infrastructure, applications, and data.

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

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

Using the Client

To Amazon GuardDuty with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon GuardDuty client GuardDuty for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/guardduty/#New

Index

Constants

View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Error response object.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	//
	// Error response object.
	ErrCodeInternalServerErrorException = "InternalServerErrorException"
)
View Source
const (
	ServiceName = "guardduty" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptInvitationInput

type AcceptInvitationInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

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

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

AcceptInvitation request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationRequest

func (AcceptInvitationInput) GoString

func (s AcceptInvitationInput) GoString() string

GoString returns the string representation

func (AcceptInvitationInput) 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationResponse

func (AcceptInvitationOutput) GoString

func (s AcceptInvitationOutput) GoString() string

GoString returns the string representation

func (AcceptInvitationOutput) MarshalFields added in v0.3.0

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

func (AcceptInvitationOutput) SDKResponseMetadata

func (s AcceptInvitationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the AcceptInvitation API operation.

func (AcceptInvitationRequest) Send

Send marshals and sends the AcceptInvitation API 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
}

The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessKeyDetails

func (AccessKeyDetails) GoString added in v0.3.0

func (s AccessKeyDetails) GoString() string

GoString returns the string representation

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 *string `locationName:"accountId" type:"string"`

	// Member account's email address.
	Email *string `locationName:"email" type:"string"`
	// contains filtered or unexported fields
}

An object containing the member's accountId and email address. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountDetail

func (AccountDetail) GoString

func (s AccountDetail) GoString() string

GoString returns the string representation

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

type Action

type Action struct {

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

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

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

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

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

Information about the activity described in a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action

func (Action) GoString

func (s Action) GoString() string

GoString returns the string representation

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 {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

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

Archive Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsRequest

func (ArchiveFindingsInput) GoString

func (s ArchiveFindingsInput) GoString() string

GoString returns the string representation

func (ArchiveFindingsInput) 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsResponse

func (ArchiveFindingsOutput) GoString

func (s ArchiveFindingsOutput) GoString() string

GoString returns the string representation

func (ArchiveFindingsOutput) 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) SDKResponseMetadata

func (s ArchiveFindingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ArchiveFindings API operation.

func (ArchiveFindingsRequest) Send

Send marshals and sends the ArchiveFindings API request.

type AwsApiCallAction

type AwsApiCallAction struct {

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

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

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

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

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

Information about the AWS_API_CALL action described in this finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AwsApiCallAction

func (AwsApiCallAction) GoString

func (s AwsApiCallAction) GoString() string

GoString returns the string representation

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
}

City information of the remote IP address. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/City

func (City) GoString

func (s City) GoString() string

GoString returns the string representation

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 Condition

type Condition struct {

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

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

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

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

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

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

Finding attribute (for example, accountId) for which conditions and values must be specified when querying findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition

func (Condition) GoString

func (s Condition) GoString() string

GoString returns the string representation

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
}

Country information of the remote IP address. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Country

func (Country) GoString

func (s Country) GoString() string

GoString returns the string representation

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 {

	// A boolean value that specifies whether the detector is to be enabled.
	Enable *bool `locationName:"enable" type:"boolean"`
	// contains filtered or unexported fields
}

Create Detector Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest

func (CreateDetectorInput) GoString

func (s CreateDetectorInput) GoString() string

GoString returns the string representation

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

type CreateDetectorOutput

type CreateDetectorOutput struct {

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

CreateDetector response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse

func (CreateDetectorOutput) GoString

func (s CreateDetectorOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s CreateDetectorOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateDetector API operation.

func (CreateDetectorRequest) Send

Send marshals and sends the CreateDetector API request.

type CreateIPSetInput

type CreateIPSetInput struct {

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

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// The format of the file that contains the IPSet.
	Format IpSetFormat `locationName:"format" type:"string" enum:"true"`

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

	// The user friendly name to identify the IPSet. This name is displayed in all
	// findings that are triggered by activity that involves IP addresses included
	// in this IPSet.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Create IP Set Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest

func (CreateIPSetInput) GoString

func (s CreateIPSetInput) GoString() string

GoString returns the string representation

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 unique identifier for an IP Set
	IpSetId *string `locationName:"ipSetId" type:"string"`
	// contains filtered or unexported fields
}

CreateIPSet response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetResponse

func (CreateIPSetOutput) GoString

func (s CreateIPSetOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s CreateIPSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateIPSet API operation.

func (CreateIPSetRequest) Send

Send marshals and sends the CreateIPSet API 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 []AccountDetail `locationName:"accountDetails" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

CreateMembers body Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersRequest

func (CreateMembersInput) GoString

func (s CreateMembersInput) GoString() string

GoString returns the string representation

func (CreateMembersInput) 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 []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
	// contains filtered or unexported fields
}

CreateMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersResponse

func (CreateMembersOutput) GoString

func (s CreateMembersOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s CreateMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateMembers API operation.

func (CreateMembersRequest) Send

Send marshals and sends the CreateMembers API request.

type CreateSampleFindingsInput

type CreateSampleFindingsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

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

Create Sample Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsRequest

func (CreateSampleFindingsInput) GoString

func (s CreateSampleFindingsInput) GoString() string

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsResponse

func (CreateSampleFindingsOutput) GoString

func (s CreateSampleFindingsOutput) GoString() string

GoString returns the string representation

func (CreateSampleFindingsOutput) MarshalFields added in v0.3.0

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

func (CreateSampleFindingsOutput) SDKResponseMetadata

func (s CreateSampleFindingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateSampleFindingsOutput) String

String returns the string representation

type CreateSampleFindingsRequest

type CreateSampleFindingsRequest struct {
	*aws.Request
	Input *CreateSampleFindingsInput
	Copy  func(*CreateSampleFindingsInput) CreateSampleFindingsRequest
}

CreateSampleFindingsRequest is a API request type for the CreateSampleFindings API operation.

func (CreateSampleFindingsRequest) Send

Send marshals and sends the CreateSampleFindings API request.

type CreateThreatIntelSetInput

type CreateThreatIntelSetInput struct {

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

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// The format of the file that contains the ThreatIntelSet.
	Format ThreatIntelSetFormat `locationName:"format" type:"string" enum:"true"`

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

	// A user-friendly ThreatIntelSet name that is displayed in all finding generated
	// by activity that involves IP addresses included in this ThreatIntelSet.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Create Threat Intel Set Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetRequest

func (CreateThreatIntelSetInput) GoString

func (s CreateThreatIntelSetInput) GoString() string

GoString returns the string representation

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 unique identifier for an threat intel set
	ThreatIntelSetId *string `locationName:"threatIntelSetId" type:"string"`
	// contains filtered or unexported fields
}

CreateThreatIntelSet response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetResponse

func (CreateThreatIntelSetOutput) GoString

func (s CreateThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (CreateThreatIntelSetOutput) MarshalFields added in v0.3.0

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

func (CreateThreatIntelSetOutput) SDKResponseMetadata

func (s CreateThreatIntelSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateThreatIntelSetOutput) String

String returns the string representation

type CreateThreatIntelSetRequest

type CreateThreatIntelSetRequest struct {
	*aws.Request
	Input *CreateThreatIntelSetInput
	Copy  func(*CreateThreatIntelSetInput) CreateThreatIntelSetRequest
}

CreateThreatIntelSetRequest is a API request type for the CreateThreatIntelSet API operation.

func (CreateThreatIntelSetRequest) Send

Send marshals and sends the CreateThreatIntelSet API 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 []string `locationName:"accountIds" type:"list"`
	// contains filtered or unexported fields
}

DeclineInvitations request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsRequest

func (DeclineInvitationsInput) GoString

func (s DeclineInvitationsInput) GoString() string

GoString returns the string representation

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

type DeclineInvitationsOutput

type DeclineInvitationsOutput struct {

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

DeclineInvitations response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsResponse

func (DeclineInvitationsOutput) GoString

func (s DeclineInvitationsOutput) GoString() string

GoString returns the string representation

func (DeclineInvitationsOutput) MarshalFields added in v0.3.0

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

func (DeclineInvitationsOutput) SDKResponseMetadata

func (s DeclineInvitationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeclineInvitations API operation.

func (DeclineInvitationsRequest) Send

Send marshals and sends the DeclineInvitations API request.

type DeleteDetectorInput

type DeleteDetectorInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorRequest

func (DeleteDetectorInput) GoString

func (s DeleteDetectorInput) GoString() string

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorResponse

func (DeleteDetectorOutput) GoString

func (s DeleteDetectorOutput) GoString() string

GoString returns the string representation

func (DeleteDetectorOutput) 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) SDKResponseMetadata

func (s DeleteDetectorOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteDetector API operation.

func (DeleteDetectorRequest) Send

Send marshals and sends the DeleteDetector API request.

type DeleteIPSetInput

type DeleteIPSetInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// IpSetId is a required field
	IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetRequest

func (DeleteIPSetInput) GoString

func (s DeleteIPSetInput) GoString() string

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetResponse

func (DeleteIPSetOutput) GoString

func (s DeleteIPSetOutput) GoString() string

GoString returns the string representation

func (DeleteIPSetOutput) 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) SDKResponseMetadata

func (s DeleteIPSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteIPSet API operation.

func (DeleteIPSetRequest) Send

Send marshals and sends the DeleteIPSet API 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 []string `locationName:"accountIds" type:"list"`
	// contains filtered or unexported fields
}

DeleteInvitations request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsRequest

func (DeleteInvitationsInput) GoString

func (s DeleteInvitationsInput) GoString() string

GoString returns the string representation

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

type DeleteInvitationsOutput

type DeleteInvitationsOutput struct {

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

DeleteInvitations response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsResponse

func (DeleteInvitationsOutput) GoString

func (s DeleteInvitationsOutput) GoString() string

GoString returns the string representation

func (DeleteInvitationsOutput) MarshalFields added in v0.3.0

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

func (DeleteInvitationsOutput) SDKResponseMetadata

func (s DeleteInvitationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteInvitations API operation.

func (DeleteInvitationsRequest) Send

Send marshals and sends the DeleteInvitations API request.

type DeleteMembersInput

type DeleteMembersInput struct {

	// A list of account IDs of the GuardDuty member accounts that you want to delete.
	AccountIds []string `locationName:"accountIds" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

DeleteMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersRequest

func (DeleteMembersInput) GoString

func (s DeleteMembersInput) GoString() string

GoString returns the string representation

func (DeleteMembersInput) 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 {

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

DeleteMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersResponse

func (DeleteMembersOutput) GoString

func (s DeleteMembersOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s DeleteMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteMembers API operation.

func (DeleteMembersRequest) Send

Send marshals and sends the DeleteMembers API request.

type DeleteThreatIntelSetInput

type DeleteThreatIntelSetInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// ThreatIntelSetId is a required field
	ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetRequest

func (DeleteThreatIntelSetInput) GoString

func (s DeleteThreatIntelSetInput) GoString() string

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetResponse

func (DeleteThreatIntelSetOutput) GoString

func (s DeleteThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (DeleteThreatIntelSetOutput) MarshalFields added in v0.3.0

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

func (DeleteThreatIntelSetOutput) SDKResponseMetadata

func (s DeleteThreatIntelSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteThreatIntelSetOutput) String

String returns the string representation

type DeleteThreatIntelSetRequest

type DeleteThreatIntelSetRequest struct {
	*aws.Request
	Input *DeleteThreatIntelSetInput
	Copy  func(*DeleteThreatIntelSetInput) DeleteThreatIntelSetRequest
}

DeleteThreatIntelSetRequest is a API request type for the DeleteThreatIntelSet API operation.

func (DeleteThreatIntelSetRequest) Send

Send marshals and sends the DeleteThreatIntelSet API request.

type DetectorStatus

type DetectorStatus string

The status of detector.

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 {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountRequest

func (DisassociateFromMasterAccountInput) GoString

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountResponse

func (DisassociateFromMasterAccountOutput) GoString

GoString returns the string representation

func (DisassociateFromMasterAccountOutput) MarshalFields added in v0.3.0

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

func (DisassociateFromMasterAccountOutput) SDKResponseMetadata

func (s DisassociateFromMasterAccountOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DisassociateFromMasterAccountOutput) String

String returns the string representation

type DisassociateFromMasterAccountRequest

type DisassociateFromMasterAccountRequest struct {
	*aws.Request
	Input *DisassociateFromMasterAccountInput
	Copy  func(*DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest
}

DisassociateFromMasterAccountRequest is a API request type for the DisassociateFromMasterAccount API operation.

func (DisassociateFromMasterAccountRequest) Send

Send marshals and sends the DisassociateFromMasterAccount API request.

type DisassociateMembersInput

type DisassociateMembersInput struct {

	// A list of account IDs of the GuardDuty member accounts that you want to disassociate
	// from master.
	AccountIds []string `locationName:"accountIds" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

DisassociateMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersRequest

func (DisassociateMembersInput) GoString

func (s DisassociateMembersInput) GoString() string

GoString returns the string representation

func (DisassociateMembersInput) 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 []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
	// contains filtered or unexported fields
}

DisassociateMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersResponse

func (DisassociateMembersOutput) GoString

func (s DisassociateMembersOutput) GoString() string

GoString returns the string representation

func (DisassociateMembersOutput) MarshalFields added in v0.3.0

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

func (DisassociateMembersOutput) SDKResponseMetadata

func (s DisassociateMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DisassociateMembers API operation.

func (DisassociateMembersRequest) Send

Send marshals and sends the DisassociateMembers API request.

type DnsRequestAction

type DnsRequestAction struct {

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

Information about the DNS_REQUEST action described in this finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DnsRequestAction

func (DnsRequestAction) GoString

func (s DnsRequestAction) GoString() string

GoString returns the string representation

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 {
	// contains filtered or unexported fields
}

Domain information for the AWS API call. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DomainDetails

func (DomainDetails) GoString

func (s DomainDetails) GoString() string

GoString returns the string representation

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 Feedback

type Feedback string

Finding Feedback Value

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 Finding

type Finding struct {

	// AWS account ID where the activity occurred that prompted GuardDuty to generate
	// a finding.
	AccountId *string `locationName:"accountId" type:"string"`

	// The ARN of a finding described by the action.
	Arn *string `locationName:"arn" type:"string"`

	// The confidence level of a finding.
	Confidence *float64 `locationName:"confidence" type:"double"`

	// The time stamp at which a finding was generated.
	CreatedAt *string `locationName:"createdAt" type:"string"`

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

	// The identifier that corresponds to a finding described by the action.
	Id *string `locationName:"id" type:"string"`

	// The AWS resource partition.
	Partition *string `locationName:"partition" type:"string"`

	// The AWS region where the activity occurred that prompted GuardDuty to generate
	// a finding.
	Region *string `locationName:"region" type:"string"`

	// The AWS resource associated with the activity that prompted GuardDuty to
	// generate a finding.
	Resource *Resource `locationName:"resource" type:"structure"`

	// Findings' schema version.
	SchemaVersion *string `locationName:"schemaVersion" type:"string"`

	// Additional information assigned to the generated finding by GuardDuty.
	Service *Service `locationName:"service" type:"structure"`

	// The severity of a finding.
	Severity *float64 `locationName:"severity" type:"double"`

	// The title of a finding.
	Title *string `locationName:"title" type:"string"`

	// The type of a finding described by the action.
	Type *string `locationName:"type" type:"string"`

	// The time stamp at which a finding was last updated.
	UpdatedAt *string `locationName:"updatedAt" type:"string"`
	// contains filtered or unexported fields
}

Representation of a abnormal or suspicious activity. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Finding

func (Finding) GoString

func (s Finding) GoString() string

GoString returns the string representation

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
}

Represents the criteria used for querying findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingCriteria

func (FindingCriteria) GoString

func (s FindingCriteria) GoString() string

GoString returns the string representation

func (FindingCriteria) 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 FindingStatisticType

type FindingStatisticType string

The types of finding statistics.

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
}

Finding statistics object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics

func (FindingStatistics) GoString

func (s FindingStatistics) GoString() string

GoString returns the string representation

func (FindingStatistics) 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
}

Location information of the remote IP address. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GeoLocation

func (GeoLocation) GoString

func (s GeoLocation) GoString() string

GoString returns the string representation

func (GeoLocation) 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 {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorRequest

func (GetDetectorInput) GoString

func (s GetDetectorInput) GoString() string

GoString returns the string representation

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 {

	// The first time a resource was created. The format will be ISO-8601.
	CreatedAt *string `locationName:"createdAt" type:"string"`

	// Customer serviceRole name or ARN for accessing customer resources
	ServiceRole *string `locationName:"serviceRole" type:"string"`

	// The status of detector.
	Status DetectorStatus `locationName:"status" type:"string" enum:"true"`

	// The first time a resource was created. The format will be ISO-8601.
	UpdatedAt *string `locationName:"updatedAt" type:"string"`
	// contains filtered or unexported fields
}

GetDetector response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse

func (GetDetectorOutput) GoString

func (s GetDetectorOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s GetDetectorOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetDetector API operation.

func (GetDetectorRequest) Send

Send marshals and sends the GetDetector API request.

type GetFindingsInput

type GetFindingsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// IDs of the findings that you want to retrieve.
	FindingIds []string `locationName:"findingIds" type:"list"`

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

Get Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsRequest

func (GetFindingsInput) GoString

func (s GetFindingsInput) GoString() string

GoString returns the string representation

func (GetFindingsInput) 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 []Finding `locationName:"findings" type:"list"`
	// contains filtered or unexported fields
}

GetFindings response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsResponse

func (GetFindingsOutput) GoString

func (s GetFindingsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s GetFindingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetFindings API operation.

func (GetFindingsRequest) Send

Send marshals and sends the GetFindings API request.

type GetFindingsStatisticsInput

type GetFindingsStatisticsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

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

	// Types of finding statistics to retrieve.
	FindingStatisticTypes []FindingStatisticType `locationName:"findingStatisticTypes" type:"list"`
	// contains filtered or unexported fields
}

Get Findings Statistics Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest

func (GetFindingsStatisticsInput) GoString

func (s GetFindingsStatisticsInput) GoString() string

GoString returns the string representation

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 *FindingStatistics `locationName:"findingStatistics" type:"structure"`
	// contains filtered or unexported fields
}

GetFindingsStatistics response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse

func (GetFindingsStatisticsOutput) GoString

func (s GetFindingsStatisticsOutput) GoString() string

GoString returns the string representation

func (GetFindingsStatisticsOutput) MarshalFields added in v0.3.0

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

func (GetFindingsStatisticsOutput) SDKResponseMetadata

func (s GetFindingsStatisticsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetFindingsStatisticsOutput) String

String returns the string representation

type GetFindingsStatisticsRequest

type GetFindingsStatisticsRequest struct {
	*aws.Request
	Input *GetFindingsStatisticsInput
	Copy  func(*GetFindingsStatisticsInput) GetFindingsStatisticsRequest
}

GetFindingsStatisticsRequest is a API request type for the GetFindingsStatistics API operation.

func (GetFindingsStatisticsRequest) Send

Send marshals and sends the GetFindingsStatistics API request.

type GetIPSetInput

type GetIPSetInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// IpSetId is a required field
	IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetRequest

func (GetIPSetInput) GoString

func (s GetIPSetInput) GoString() string

GoString returns the string representation

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 IpSetFormat `locationName:"format" type:"string" enum:"true"`

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

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

	// The status of ipSet file uploaded.
	Status IpSetStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

GetIPSet response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse

func (GetIPSetOutput) GoString

func (s GetIPSetOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s GetIPSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetIPSet API operation.

func (GetIPSetRequest) Send

func (r GetIPSetRequest) Send() (*GetIPSetOutput, error)

Send marshals and sends the GetIPSet API request.

type GetInvitationsCountInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountRequest

func (GetInvitationsCountInput) GoString

func (s GetInvitationsCountInput) GoString() string

GoString returns the string representation

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
}

GetInvitationsCount response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountResponse

func (GetInvitationsCountOutput) GoString

func (s GetInvitationsCountOutput) GoString() string

GoString returns the string representation

func (GetInvitationsCountOutput) MarshalFields added in v0.3.0

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

func (GetInvitationsCountOutput) SDKResponseMetadata

func (s GetInvitationsCountOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetInvitationsCount API operation.

func (GetInvitationsCountRequest) Send

Send marshals and sends the GetInvitationsCount API request.

type GetMasterAccountInput

type GetMasterAccountInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountRequest

func (GetMasterAccountInput) GoString

func (s GetMasterAccountInput) GoString() string

GoString returns the string representation

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 {

	// Contains details about the master account.
	Master *Master `locationName:"master" type:"structure"`
	// contains filtered or unexported fields
}

GetMasterAccount response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountResponse

func (GetMasterAccountOutput) GoString

func (s GetMasterAccountOutput) GoString() string

GoString returns the string representation

func (GetMasterAccountOutput) MarshalFields added in v0.3.0

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

func (GetMasterAccountOutput) SDKResponseMetadata

func (s GetMasterAccountOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetMasterAccount API operation.

func (GetMasterAccountRequest) Send

Send marshals and sends the GetMasterAccount API request.

type GetMembersInput

type GetMembersInput struct {

	// A list of account IDs of the GuardDuty member accounts that you want to describe.
	AccountIds []string `locationName:"accountIds" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

GetMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersRequest

func (GetMembersInput) GoString

func (s GetMembersInput) GoString() string

GoString returns the string representation

func (GetMembersInput) 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 member descriptions.
	Members []Member `locationName:"members" type:"list"`

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

GetMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersResponse

func (GetMembersOutput) GoString

func (s GetMembersOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s GetMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetMembers API operation.

func (GetMembersRequest) Send

Send marshals and sends the GetMembers API request.

type GetThreatIntelSetInput

type GetThreatIntelSetInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// ThreatIntelSetId is a required field
	ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetRequest

func (GetThreatIntelSetInput) GoString

func (s GetThreatIntelSetInput) GoString() string

GoString returns the string representation

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 ThreatIntelSetFormat `locationName:"format" type:"string" enum:"true"`

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

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

	// The status of threatIntelSet file uploaded.
	Status ThreatIntelSetStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

GetThreatIntelSet response object Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse

func (GetThreatIntelSetOutput) GoString

func (s GetThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (GetThreatIntelSetOutput) MarshalFields added in v0.3.0

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

func (GetThreatIntelSetOutput) SDKResponseMetadata

func (s GetThreatIntelSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetThreatIntelSet API operation.

func (GetThreatIntelSetRequest) Send

Send marshals and sends the GetThreatIntelSet API request.

type GuardDuty

type GuardDuty struct {
	*aws.Client
}

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

GuardDuty methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *GuardDuty

New creates a new instance of the GuardDuty client with a config.

Example:

// Create a GuardDuty client from just a config.
svc := guardduty.New(myConfig)

func (*GuardDuty) AcceptInvitationRequest

func (c *GuardDuty) 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 the AcceptInvitationRequest method.
req := client.AcceptInvitationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ArchiveFindingsRequest

func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) ArchiveFindingsRequest

ArchiveFindingsRequest returns a request value for making API operation for Amazon GuardDuty.

Archives Amazon GuardDuty findings specified by the list of finding IDs.

// Example sending a request using the ArchiveFindingsRequest method.
req := client.ArchiveFindingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) CreateDetectorRequest

func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) CreateDetectorRequest

CreateDetectorRequest returns a request value for making API operation for Amazon GuardDuty.

Creates a single Amazon GuardDuty detector. A detector is an object that represents the GuardDuty service. A detector must be created in order for GuardDuty to become operational.

// Example sending a request using the CreateDetectorRequest method.
req := client.CreateDetectorRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) CreateIPSetRequest

func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) CreateIPSetRequest

CreateIPSetRequest returns a request value for making API operation for Amazon GuardDuty.

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

// Example sending a request using the CreateIPSetRequest method.
req := client.CreateIPSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) CreateMembersRequest

func (c *GuardDuty) 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 the CreateMembersRequest method.
req := client.CreateMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) CreateSampleFindingsRequest

func (c *GuardDuty) 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 the CreateSampleFindingsRequest method.
req := client.CreateSampleFindingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) CreateThreatIntelSetRequest

func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) CreateThreatIntelSetRequest

CreateThreatIntelSetRequest returns a request value for making API operation for Amazon GuardDuty.

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

// Example sending a request using the CreateThreatIntelSetRequest method.
req := client.CreateThreatIntelSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DeclineInvitationsRequest

func (c *GuardDuty) 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 the DeclineInvitationsRequest method.
req := client.DeclineInvitationsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DeleteDetectorRequest

func (c *GuardDuty) 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 the DeleteDetectorRequest method.
req := client.DeleteDetectorRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DeleteIPSetRequest

func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) DeleteIPSetRequest

DeleteIPSetRequest returns a request value for making API operation for Amazon GuardDuty.

Deletes the IPSet specified by the IPSet ID.

// Example sending a request using the DeleteIPSetRequest method.
req := client.DeleteIPSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DeleteInvitationsRequest

func (c *GuardDuty) 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 the DeleteInvitationsRequest method.
req := client.DeleteInvitationsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DeleteMembersRequest

func (c *GuardDuty) 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 the DeleteMembersRequest method.
req := client.DeleteMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DeleteThreatIntelSetRequest

func (c *GuardDuty) 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 the DeleteThreatIntelSetRequest method.
req := client.DeleteThreatIntelSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DisassociateFromMasterAccountRequest

func (c *GuardDuty) 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 the DisassociateFromMasterAccountRequest method.
req := client.DisassociateFromMasterAccountRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) DisassociateMembersRequest

func (c *GuardDuty) 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 the DisassociateMembersRequest method.
req := client.DisassociateMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetDetectorRequest

func (c *GuardDuty) 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 the GetDetectorRequest method.
req := client.GetDetectorRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetFindingsRequest

func (c *GuardDuty) 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 the GetFindingsRequest method.
req := client.GetFindingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetFindingsStatisticsRequest

func (c *GuardDuty) 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 the GetFindingsStatisticsRequest method.
req := client.GetFindingsStatisticsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetIPSetRequest

func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) GetIPSetRequest

GetIPSetRequest returns a request value for making API operation for Amazon GuardDuty.

Retrieves the IPSet specified by the IPSet ID.

// Example sending a request using the GetIPSetRequest method.
req := client.GetIPSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetInvitationsCountRequest

func (c *GuardDuty) 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 the GetInvitationsCountRequest method.
req := client.GetInvitationsCountRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetMasterAccountRequest

func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) GetMasterAccountRequest

GetMasterAccountRequest returns a request value for making API operation for Amazon GuardDuty.

Provides the details for the GuardDuty master account to the current GuardDuty member account.

// Example sending a request using the GetMasterAccountRequest method.
req := client.GetMasterAccountRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetMembersRequest

func (c *GuardDuty) 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 the GetMembersRequest method.
req := client.GetMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) GetThreatIntelSetRequest

func (c *GuardDuty) 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 the GetThreatIntelSetRequest method.
req := client.GetThreatIntelSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) InviteMembersRequest

func (c *GuardDuty) 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 the InviteMembersRequest method.
req := client.InviteMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ListDetectorsRequest

func (c *GuardDuty) 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 the ListDetectorsRequest method.
req := client.ListDetectorsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ListFindingsRequest

func (c *GuardDuty) 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 the ListFindingsRequest method.
req := client.ListFindingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ListIPSetsRequest

func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) ListIPSetsRequest

ListIPSetsRequest returns a request value for making API operation for Amazon GuardDuty.

Lists the IPSets of the GuardDuty service specified by the detector ID.

// Example sending a request using the ListIPSetsRequest method.
req := client.ListIPSetsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ListInvitationsRequest

func (c *GuardDuty) 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 the ListInvitationsRequest method.
req := client.ListInvitationsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ListMembersRequest

func (c *GuardDuty) 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 the ListMembersRequest method.
req := client.ListMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) ListThreatIntelSetsRequest

func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) ListThreatIntelSetsRequest

ListThreatIntelSetsRequest returns a request value for making API operation for Amazon GuardDuty.

Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.

// Example sending a request using the ListThreatIntelSetsRequest method.
req := client.ListThreatIntelSetsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) StartMonitoringMembersRequest

func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) StartMonitoringMembersRequest

StartMonitoringMembersRequest returns a request value for making API operation for Amazon GuardDuty.

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

// Example sending a request using the StartMonitoringMembersRequest method.
req := client.StartMonitoringMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) StopMonitoringMembersRequest

func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) StopMonitoringMembersRequest

StopMonitoringMembersRequest returns a request value for making API operation for Amazon GuardDuty.

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

// Example sending a request using the StopMonitoringMembersRequest method.
req := client.StopMonitoringMembersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*GuardDuty) UnarchiveFindingsRequest

func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) UnarchiveFindingsRequest

UnarchiveFindingsRequest returns a request value for making API operation for Amazon GuardDuty.

Unarchives Amazon GuardDuty findings specified by the list of finding IDs.

// Example sending a request using the UnarchiveFindingsRequest method.
req := client.UnarchiveFindingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings

func (*GuardDuty) UpdateDetectorRequest

func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) UpdateDetectorRequest

UpdateDetectorRequest returns a request value for making API operation for Amazon GuardDuty.

Updates an Amazon GuardDuty detector specified by the detectorId.

// Example sending a request using the UpdateDetectorRequest method.
req := client.UpdateDetectorRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector

func (*GuardDuty) UpdateFindingsFeedbackRequest

func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) UpdateFindingsFeedbackRequest

UpdateFindingsFeedbackRequest returns a request value for making API operation for Amazon GuardDuty.

Marks specified Amazon GuardDuty findings as useful or not useful.

// Example sending a request using the UpdateFindingsFeedbackRequest method.
req := client.UpdateFindingsFeedbackRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback

func (*GuardDuty) UpdateIPSetRequest

func (c *GuardDuty) 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 the UpdateIPSetRequest method.
req := client.UpdateIPSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet

func (*GuardDuty) UpdateThreatIntelSetRequest

func (c *GuardDuty) 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 the UpdateThreatIntelSetRequest method.
req := client.UpdateThreatIntelSetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet

type IamInstanceProfile

type IamInstanceProfile struct {

	// AWS EC2 instance profile ARN.
	Arn *string `locationName:"arn" type:"string"`

	// AWS EC2 instance profile ID.
	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

The profile information of the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfile

func (IamInstanceProfile) GoString

func (s IamInstanceProfile) GoString() string

GoString returns the string representation

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 ID of the EC2 instance.
	ImageId *string `locationName:"imageId" type:"string"`

	// The ID of the EC2 instance.
	InstanceId *string `locationName:"instanceId" type:"string"`

	// The state of the EC2 instance.
	InstanceState *string `locationName:"instanceState" type:"string"`

	// The type of the EC2 instance.
	InstanceType *string `locationName:"instanceType" type:"string"`

	// The launch time of the EC2 instance.
	LaunchTime *string `locationName:"launchTime" type:"string"`

	// The network interface information of the EC2 instance.
	NetworkInterfaces []NetworkInterface `locationName:"networkInterfaces" type:"list"`

	// The platform of the EC2 instance.
	Platform *string `locationName:"platform" type:"string"`

	// The product code of the EC2 instance.
	ProductCodes []ProductCode `locationName:"productCodes" type:"list"`

	// The tags of the EC2 instance.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InstanceDetails

func (InstanceDetails) GoString

func (s InstanceDetails) GoString() string

GoString returns the string representation

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 {

	// Inviter account ID
	AccountId *string `locationName:"accountId" type:"string"`

	// This value is used to validate the inviter account to the member account.
	InvitationId *string `locationName:"invitationId" type:"string"`

	// Timestamp at which the invitation was sent
	InvitedAt *string `locationName:"invitedAt" type:"string"`

	// The status of the relationship between the inviter and invitee accounts.
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string"`
	// contains filtered or unexported fields
}

Invitation from an AWS account to become the current account's master. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Invitation

func (Invitation) GoString

func (s Invitation) GoString() string

GoString returns the string representation

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 []string `locationName:"accountIds" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// The invitation message that you want to send to the accounts that you're
	// inviting to GuardDuty as members.
	Message *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

InviteMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest

func (InviteMembersInput) GoString

func (s InviteMembersInput) GoString() string

GoString returns the string representation

func (InviteMembersInput) 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 []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
	// contains filtered or unexported fields
}

InviteMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersResponse

func (InviteMembersOutput) GoString

func (s InviteMembersOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s InviteMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the InviteMembers API operation.

func (InviteMembersRequest) Send

Send marshals and sends the InviteMembers API request.

type IpSetFormat

type IpSetFormat string

The format of the ipSet.

const (
	IpSetFormatTxt        IpSetFormat = "TXT"
	IpSetFormatStix       IpSetFormat = "STIX"
	IpSetFormatOtxCsv     IpSetFormat = "OTX_CSV"
	IpSetFormatAlienVault IpSetFormat = "ALIEN_VAULT"
	IpSetFormatProofPoint IpSetFormat = "PROOF_POINT"
	IpSetFormatFireEye    IpSetFormat = "FIRE_EYE"
)

Enum values for IpSetFormat

func (IpSetFormat) MarshalValue 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

The status of ipSet file uploaded.

const (
	IpSetStatusInactive      IpSetStatus = "INACTIVE"
	IpSetStatusActivating    IpSetStatus = "ACTIVATING"
	IpSetStatusActive        IpSetStatus = "ACTIVE"
	IpSetStatusDeactivating  IpSetStatus = "DEACTIVATING"
	IpSetStatusError         IpSetStatus = "ERROR"
	IpSetStatusDeletePending IpSetStatus = "DELETE_PENDING"
	IpSetStatusDeleted       IpSetStatus = "DELETED"
)

Enum values for IpSetStatus

func (IpSetStatus) MarshalValue 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 that you
	// want in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsRequest

func (ListDetectorsInput) GoString

func (s ListDetectorsInput) GoString() string

GoString returns the string representation

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 []string `locationName:"detectorIds" type:"list"`

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the list action. For subsequent calls
	// to the action fill nextToken in the request with the value of NextToken from
	// the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

ListDetectors response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsResponse

func (ListDetectorsOutput) GoString

func (s ListDetectorsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListDetectorsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListDetectorsOutput) String

func (s ListDetectorsOutput) String() string

String returns the string representation

type ListDetectorsPager added in v0.3.0

type ListDetectorsPager struct {
	aws.Pager
}

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

func (*ListDetectorsPager) CurrentPage added in v0.3.0

func (p *ListDetectorsPager) CurrentPage() *ListDetectorsOutput

type ListDetectorsRequest

type ListDetectorsRequest struct {
	*aws.Request
	Input *ListDetectorsInput
	Copy  func(*ListDetectorsInput) ListDetectorsRequest
}

ListDetectorsRequest is a API request type for the ListDetectors API operation.

func (*ListDetectorsRequest) Paginate added in v0.3.0

func (p *ListDetectorsRequest) Paginate(opts ...aws.Option) ListDetectorsPager

Paginate pages iterates over the pages of a ListDetectorsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListDetectors operation.
		req := client.ListDetectorsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListDetectorsRequest) Send

Send marshals and sends the ListDetectors API request.

type ListFindingsInput

type ListFindingsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

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

	// You can use this parameter to indicate the maximum number of items you want
	// in the response. The default value is 50. The maximum value is 50.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the ListFindings action. For subsequent
	// calls to the action fill nextToken in the request with the value of nextToken
	// from the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`

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

List Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsRequest

func (ListFindingsInput) GoString

func (s ListFindingsInput) GoString() string

GoString returns the string representation

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 list of the Findings.
	FindingIds []string `locationName:"findingIds" type:"list"`

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the list action. For subsequent calls
	// to the action fill nextToken in the request with the value of NextToken from
	// the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

ListFindings response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsResponse

func (ListFindingsOutput) GoString

func (s ListFindingsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListFindingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListFindingsOutput) String

func (s ListFindingsOutput) String() string

String returns the string representation

type ListFindingsPager added in v0.3.0

type ListFindingsPager struct {
	aws.Pager
}

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

func (*ListFindingsPager) CurrentPage added in v0.3.0

func (p *ListFindingsPager) CurrentPage() *ListFindingsOutput

type ListFindingsRequest

type ListFindingsRequest struct {
	*aws.Request
	Input *ListFindingsInput
	Copy  func(*ListFindingsInput) ListFindingsRequest
}

ListFindingsRequest is a API request type for the ListFindings API operation.

func (*ListFindingsRequest) Paginate added in v0.3.0

func (p *ListFindingsRequest) Paginate(opts ...aws.Option) ListFindingsPager

Paginate pages iterates over the pages of a ListFindingsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListFindings operation.
		req := client.ListFindingsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListFindingsRequest) Send

Send marshals and sends the ListFindings API request.

type ListIPSetsInput

type ListIPSetsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// You can use this parameter to indicate the maximum number of items that you
	// want in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsRequest

func (ListIPSetsInput) GoString

func (s ListIPSetsInput) GoString() string

GoString returns the string representation

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 {

	// A list of the IP set IDs
	IpSetIds []string `locationName:"ipSetIds" type:"list"`

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the list action. For subsequent calls
	// to the action fill nextToken in the request with the value of NextToken from
	// the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

ListIPSets response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsResponse

func (ListIPSetsOutput) GoString

func (s ListIPSetsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListIPSetsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListIPSetsOutput) String

func (s ListIPSetsOutput) String() string

String returns the string representation

type ListIPSetsPager added in v0.3.0

type ListIPSetsPager struct {
	aws.Pager
}

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

func (*ListIPSetsPager) CurrentPage added in v0.3.0

func (p *ListIPSetsPager) CurrentPage() *ListIPSetsOutput

type ListIPSetsRequest

type ListIPSetsRequest struct {
	*aws.Request
	Input *ListIPSetsInput
	Copy  func(*ListIPSetsInput) ListIPSetsRequest
}

ListIPSetsRequest is a API request type for the ListIPSets API operation.

func (*ListIPSetsRequest) Paginate added in v0.3.0

func (p *ListIPSetsRequest) Paginate(opts ...aws.Option) ListIPSetsPager

Paginate pages iterates over the pages of a ListIPSetsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListIPSets operation.
		req := client.ListIPSetsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListIPSetsRequest) Send

Send marshals and sends the ListIPSets API request.

type ListInvitationsInput

type ListInvitationsInput struct {

	// You can use this parameter to indicate the maximum number of items that you
	// want in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsRequest

func (ListInvitationsInput) GoString

func (s ListInvitationsInput) GoString() string

GoString returns the string representation

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"`

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the list action. For subsequent calls
	// to the action fill nextToken in the request with the value of NextToken from
	// the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

ListInvitations response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsResponse

func (ListInvitationsOutput) GoString

func (s ListInvitationsOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListInvitationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation

type ListInvitationsPager added in v0.3.0

type ListInvitationsPager struct {
	aws.Pager
}

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

func (*ListInvitationsPager) CurrentPage added in v0.3.0

func (p *ListInvitationsPager) CurrentPage() *ListInvitationsOutput

type ListInvitationsRequest

type ListInvitationsRequest struct {
	*aws.Request
	Input *ListInvitationsInput
	Copy  func(*ListInvitationsInput) ListInvitationsRequest
}

ListInvitationsRequest is a API request type for the ListInvitations API operation.

func (*ListInvitationsRequest) Paginate added in v0.3.0

Paginate pages iterates over the pages of a ListInvitationsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListInvitations operation.
		req := client.ListInvitationsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListInvitationsRequest) Send

Send marshals and sends the ListInvitations API request.

type ListMembersInput

type ListMembersInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// You can use this parameter to indicate the maximum number of items that you
	// want in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest

func (ListMembersInput) GoString

func (s ListMembersInput) GoString() string

GoString returns the string representation

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 member descriptions.
	Members []Member `locationName:"members" type:"list"`

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the list action. For subsequent calls
	// to the action fill nextToken in the request with the value of NextToken from
	// the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

ListMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersResponse

func (ListMembersOutput) GoString

func (s ListMembersOutput) GoString() string

GoString returns the string representation

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) SDKResponseMetadata

func (s ListMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation

type ListMembersPager added in v0.3.0

type ListMembersPager struct {
	aws.Pager
}

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

func (*ListMembersPager) CurrentPage added in v0.3.0

func (p *ListMembersPager) CurrentPage() *ListMembersOutput

type ListMembersRequest

type ListMembersRequest struct {
	*aws.Request
	Input *ListMembersInput
	Copy  func(*ListMembersInput) ListMembersRequest
}

ListMembersRequest is a API request type for the ListMembers API operation.

func (*ListMembersRequest) Paginate added in v0.3.0

func (p *ListMembersRequest) Paginate(opts ...aws.Option) ListMembersPager

Paginate pages iterates over the pages of a ListMembersRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListMembers operation.
		req := client.ListMembersRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListMembersRequest) Send

Send marshals and sends the ListMembers API request.

type ListThreatIntelSetsInput

type ListThreatIntelSetsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// You can use this parameter to indicate the maximum number of items that you
	// want in the response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsRequest

func (ListThreatIntelSetsInput) GoString

func (s ListThreatIntelSetsInput) GoString() string

GoString returns the string representation

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 {

	// You can use this parameter when paginating results. Set the value of this
	// parameter to null on your first call to the list action. For subsequent calls
	// to the action fill nextToken in the request with the value of NextToken from
	// the previous response to continue listing data.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of the threat intel set IDs
	ThreatIntelSetIds []string `locationName:"threatIntelSetIds" type:"list"`
	// contains filtered or unexported fields
}

ListThreatIntelSets response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsResponse

func (ListThreatIntelSetsOutput) GoString

func (s ListThreatIntelSetsOutput) GoString() string

GoString returns the string representation

func (ListThreatIntelSetsOutput) MarshalFields added in v0.3.0

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

func (ListThreatIntelSetsOutput) SDKResponseMetadata

func (s ListThreatIntelSetsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListThreatIntelSetsOutput) String

func (s ListThreatIntelSetsOutput) String() string

String returns the string representation

type ListThreatIntelSetsPager added in v0.3.0

type ListThreatIntelSetsPager struct {
	aws.Pager
}

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

func (*ListThreatIntelSetsPager) CurrentPage added in v0.3.0

type ListThreatIntelSetsRequest

type ListThreatIntelSetsRequest struct {
	*aws.Request
	Input *ListThreatIntelSetsInput
	Copy  func(*ListThreatIntelSetsInput) ListThreatIntelSetsRequest
}

ListThreatIntelSetsRequest is a API request type for the ListThreatIntelSets API operation.

func (*ListThreatIntelSetsRequest) Paginate added in v0.3.0

Paginate pages iterates over the pages of a ListThreatIntelSetsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListThreatIntelSets operation.
		req := client.ListThreatIntelSetsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListThreatIntelSetsRequest) Send

Send marshals and sends the ListThreatIntelSets API request.

type LocalPortDetails

type LocalPortDetails struct {

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

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

Local port information of the connection. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LocalPortDetails

func (LocalPortDetails) GoString

func (s LocalPortDetails) GoString() string

GoString returns the string representation

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 {

	// Master account ID
	AccountId *string `locationName:"accountId" type:"string"`

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

	// Timestamp at which the invitation was sent
	InvitedAt *string `locationName:"invitedAt" type:"string"`

	// The status of the relationship between the master and member accounts.
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string"`
	// contains filtered or unexported fields
}

Contains details about the master account. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Master

func (Master) GoString

func (s Master) GoString() string

GoString returns the string representation

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 {

	// AWS account ID.
	AccountId *string `locationName:"accountId" type:"string"`

	// The unique identifier for a detector.
	DetectorId *string `locationName:"detectorId" type:"string"`

	// Member account's email address.
	Email *string `locationName:"email" type:"string"`

	// Timestamp at which the invitation was sent
	InvitedAt *string `locationName:"invitedAt" type:"string"`

	// The master account ID.
	MasterId *string `locationName:"masterId" type:"string"`

	// The status of the relationship between the member and the master.
	RelationshipStatus *string `locationName:"relationshipStatus" type:"string"`

	// The first time a resource was created. The format will be ISO-8601.
	UpdatedAt *string `locationName:"updatedAt" type:"string"`
	// contains filtered or unexported fields
}

Contains details about the member account. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Member

func (Member) GoString

func (s Member) GoString() string

GoString returns the string representation

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 port information of the connection.
	LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"`

	// Network connection protocol.
	Protocol *string `locationName:"protocol" type:"string"`

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

	// Remote port information of the connection.
	RemotePortDetails *RemotePortDetails `locationName:"remotePortDetails" type:"structure"`
	// contains filtered or unexported fields
}

Information about the NETWORK_CONNECTION action described in this finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkConnectionAction

func (NetworkConnectionAction) GoString

func (s NetworkConnectionAction) GoString() string

GoString returns the string representation

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"`

	// Private DNS name of the EC2 instance.
	PrivateDnsName *string `locationName:"privateDnsName" type:"string"`

	// Private IP address of the EC2 instance.
	PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"`

	// Other private IP address information of the EC2 instance.
	PrivateIpAddresses []PrivateIpAddressDetails `locationName:"privateIpAddresses" type:"list"`

	// Public DNS name of the EC2 instance.
	PublicDnsName *string `locationName:"publicDnsName" type:"string"`

	// Public IP address of the EC2 instance.
	PublicIp *string `locationName:"publicIp" type:"string"`

	// Security groups associated with the EC2 instance.
	SecurityGroups []SecurityGroup `locationName:"securityGroups" type:"list"`

	// The subnet ID of the EC2 instance.
	SubnetId *string `locationName:"subnetId" type:"string"`

	// The VPC ID of the EC2 instance.
	VpcId *string `locationName:"vpcId" type:"string"`
	// contains filtered or unexported fields
}

The network interface information of the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkInterface

func (NetworkInterface) GoString

func (s NetworkInterface) GoString() string

GoString returns the string representation

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
}

ISP Organization information of the remote IP address. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization

func (Organization) GoString

func (s Organization) GoString() string

GoString returns the string representation

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
}

Information about the PORT_PROBE action described in this finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PortProbeAction

func (PortProbeAction) GoString added in v0.3.0

func (s PortProbeAction) GoString() string

GoString returns the string representation

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 port information of the connection.
	LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"`

	// Remote IP information of the connection.
	RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"`
	// contains filtered or unexported fields
}

Details about the port probe finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PortProbeDetail

func (PortProbeDetail) GoString added in v0.3.0

func (s PortProbeDetail) GoString() string

GoString returns the string representation

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
}

Other private IP address information of the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails

func (PrivateIpAddressDetails) GoString

func (s PrivateIpAddressDetails) GoString() string

GoString returns the string representation

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
}

The product code of the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProductCode

func (ProductCode) GoString

func (s ProductCode) GoString() string

GoString returns the string representation

func (ProductCode) 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 RemoteIpDetails

type RemoteIpDetails struct {

	// City information of the remote IP address.
	City *City `locationName:"city" type:"structure"`

	// Country code of the remote IP address.
	Country *Country `locationName:"country" type:"structure"`

	// Location information of the remote IP address.
	GeoLocation *GeoLocation `locationName:"geoLocation" type:"structure"`

	// IPV4 remote address of the connection.
	IpAddressV4 *string `locationName:"ipAddressV4" type:"string"`

	// ISP Organization information of the remote IP address.
	Organization *Organization `locationName:"organization" type:"structure"`
	// contains filtered or unexported fields
}

Remote IP information of the connection. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteIpDetails

func (RemoteIpDetails) GoString

func (s RemoteIpDetails) GoString() string

GoString returns the string representation

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
}

Remote port information of the connection. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemotePortDetails

func (RemotePortDetails) GoString

func (s RemotePortDetails) GoString() string

GoString returns the string representation

func (RemotePortDetails) 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
}

The AWS resource associated with the activity that prompted GuardDuty to generate a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation

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
}

Security groups associated with the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SecurityGroup

func (SecurityGroup) GoString

func (s SecurityGroup) GoString() string

GoString returns the string representation

func (SecurityGroup) 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" type:"string"`

	// First seen timestamp of the activity that prompted GuardDuty to generate
	// this finding.
	EventFirstSeen *string `locationName:"eventFirstSeen" type:"string"`

	// Last seen timestamp of the activity that prompted GuardDuty to generate this
	// finding.
	EventLastSeen *string `locationName:"eventLastSeen" type:"string"`

	// Resource role information for this finding.
	ResourceRole *string `locationName:"resourceRole" type:"string"`

	// The name of the AWS service (GuardDuty) that generated a finding.
	ServiceName *string `locationName:"serviceName" type:"string"`

	// Feedback left about the finding.
	UserFeedback *string `locationName:"userFeedback" type:"string"`
	// contains filtered or unexported fields
}

Additional information assigned to the generated finding by GuardDuty. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service

func (Service) GoString

func (s Service) GoString() string

GoString returns the string representation

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
}

Represents the criteria used for sorting findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SortCriteria

func (SortCriteria) GoString

func (s SortCriteria) GoString() string

GoString returns the string representation

func (SortCriteria) 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 whose findings you
	// want the master account to monitor.
	AccountIds []string `locationName:"accountIds" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

StartMonitoringMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersRequest

func (StartMonitoringMembersInput) GoString

func (s StartMonitoringMembersInput) GoString() string

GoString returns the string representation

func (StartMonitoringMembersInput) 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 []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
	// contains filtered or unexported fields
}

StartMonitoringMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersResponse

func (StartMonitoringMembersOutput) GoString

func (s StartMonitoringMembersOutput) GoString() string

GoString returns the string representation

func (StartMonitoringMembersOutput) MarshalFields added in v0.3.0

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

func (StartMonitoringMembersOutput) SDKResponseMetadata

func (s StartMonitoringMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartMonitoringMembersOutput) String

String returns the string representation

type StartMonitoringMembersRequest

type StartMonitoringMembersRequest struct {
	*aws.Request
	Input *StartMonitoringMembersInput
	Copy  func(*StartMonitoringMembersInput) StartMonitoringMembersRequest
}

StartMonitoringMembersRequest is a API request type for the StartMonitoringMembers API operation.

func (StartMonitoringMembersRequest) Send

Send marshals and sends the StartMonitoringMembers API 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 []string `locationName:"accountIds" type:"list"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

StopMonitoringMembers request body. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersRequest

func (StopMonitoringMembersInput) GoString

func (s StopMonitoringMembersInput) GoString() string

GoString returns the string representation

func (StopMonitoringMembersInput) 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 []UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"`
	// contains filtered or unexported fields
}

StopMonitoringMembers response object. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersResponse

func (StopMonitoringMembersOutput) GoString

func (s StopMonitoringMembersOutput) GoString() string

GoString returns the string representation

func (StopMonitoringMembersOutput) MarshalFields added in v0.3.0

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

func (StopMonitoringMembersOutput) SDKResponseMetadata

func (s StopMonitoringMembersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopMonitoringMembersOutput) String

String returns the string representation

type StopMonitoringMembersRequest

type StopMonitoringMembersRequest struct {
	*aws.Request
	Input *StopMonitoringMembersInput
	Copy  func(*StopMonitoringMembersInput) StopMonitoringMembersRequest
}

StopMonitoringMembersRequest is a API request type for the StopMonitoringMembers API operation.

func (StopMonitoringMembersRequest) Send

Send marshals and sends the StopMonitoringMembers API request.

type Tag

type Tag struct {

	// EC2 instance tag key.
	Key *string `locationName:"key" type:"string"`

	// EC2 instance tag value.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

A tag of the EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

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 ThreatIntelSetFormat

type ThreatIntelSetFormat string

The format of the threatIntelSet.

const (
	ThreatIntelSetFormatTxt        ThreatIntelSetFormat = "TXT"
	ThreatIntelSetFormatStix       ThreatIntelSetFormat = "STIX"
	ThreatIntelSetFormatOtxCsv     ThreatIntelSetFormat = "OTX_CSV"
	ThreatIntelSetFormatAlienVault ThreatIntelSetFormat = "ALIEN_VAULT"
	ThreatIntelSetFormatProofPoint ThreatIntelSetFormat = "PROOF_POINT"
	ThreatIntelSetFormatFireEye    ThreatIntelSetFormat = "FIRE_EYE"
)

Enum values for ThreatIntelSetFormat

func (ThreatIntelSetFormat) MarshalValue 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

The status of threatIntelSet file uploaded.

const (
	ThreatIntelSetStatusInactive      ThreatIntelSetStatus = "INACTIVE"
	ThreatIntelSetStatusActivating    ThreatIntelSetStatus = "ACTIVATING"
	ThreatIntelSetStatusActive        ThreatIntelSetStatus = "ACTIVE"
	ThreatIntelSetStatusDeactivating  ThreatIntelSetStatus = "DEACTIVATING"
	ThreatIntelSetStatusError         ThreatIntelSetStatus = "ERROR"
	ThreatIntelSetStatusDeletePending ThreatIntelSetStatus = "DELETE_PENDING"
	ThreatIntelSetStatusDeleted       ThreatIntelSetStatus = "DELETED"
)

Enum values for ThreatIntelSetStatus

func (ThreatIntelSetStatus) MarshalValue 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 UnarchiveFindingsInput

type UnarchiveFindingsInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// IDs of the findings that you want to unarchive.
	FindingIds []string `locationName:"findingIds" type:"list"`
	// contains filtered or unexported fields
}

Unrchive Findings Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsRequest

func (UnarchiveFindingsInput) GoString

func (s UnarchiveFindingsInput) GoString() string

GoString returns the string representation

func (UnarchiveFindingsInput) 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsResponse

func (UnarchiveFindingsOutput) GoString

func (s UnarchiveFindingsOutput) GoString() string

GoString returns the string representation

func (UnarchiveFindingsOutput) MarshalFields added in v0.3.0

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

func (UnarchiveFindingsOutput) SDKResponseMetadata

func (s UnarchiveFindingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UnarchiveFindings API operation.

func (UnarchiveFindingsRequest) Send

Send marshals and sends the UnarchiveFindings API request.

type UnprocessedAccount

type UnprocessedAccount struct {

	// AWS Account ID.
	AccountId *string `locationName:"accountId" type:"string"`

	// A reason why the account hasn't been processed.
	Result *string `locationName:"result" type:"string"`
	// contains filtered or unexported fields
}

An object containing the unprocessed account and a result string explaining why it was unprocessed. Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount

func (UnprocessedAccount) GoString

func (s UnprocessedAccount) GoString() string

GoString returns the string representation

func (UnprocessedAccount) 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 UpdateDetectorInput

type UpdateDetectorInput struct {

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// Updated boolean value for the detector that specifies whether the detector
	// is enabled.
	Enable *bool `locationName:"enable" type:"boolean"`
	// contains filtered or unexported fields
}

Update Detector Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest

func (UpdateDetectorInput) GoString

func (s UpdateDetectorInput) GoString() string

GoString returns the string representation

func (UpdateDetectorInput) 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorResponse

func (UpdateDetectorOutput) GoString

func (s UpdateDetectorOutput) GoString() string

GoString returns the string representation

func (UpdateDetectorOutput) 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) SDKResponseMetadata

func (s UpdateDetectorOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateDetector API operation.

func (UpdateDetectorRequest) Send

Send marshals and sends the UpdateDetector API request.

type UpdateFindingsFeedbackInput

type UpdateFindingsFeedbackInput struct {

	// Additional feedback about the GuardDuty findings.
	Comments *string `locationName:"comments" type:"string"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// Valid values: USEFUL | NOT_USEFUL
	Feedback Feedback `locationName:"feedback" type:"string" enum:"true"`

	// IDs of the findings that you want to mark as useful or not useful.
	FindingIds []string `locationName:"findingIds" type:"list"`
	// contains filtered or unexported fields
}

Update findings feedback body Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackRequest

func (UpdateFindingsFeedbackInput) GoString

func (s UpdateFindingsFeedbackInput) GoString() string

GoString returns the string representation

func (UpdateFindingsFeedbackInput) 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackResponse

func (UpdateFindingsFeedbackOutput) GoString

func (s UpdateFindingsFeedbackOutput) GoString() string

GoString returns the string representation

func (UpdateFindingsFeedbackOutput) MarshalFields added in v0.3.0

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

func (UpdateFindingsFeedbackOutput) SDKResponseMetadata

func (s UpdateFindingsFeedbackOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateFindingsFeedbackOutput) String

String returns the string representation

type UpdateFindingsFeedbackRequest

type UpdateFindingsFeedbackRequest struct {
	*aws.Request
	Input *UpdateFindingsFeedbackInput
	Copy  func(*UpdateFindingsFeedbackInput) UpdateFindingsFeedbackRequest
}

UpdateFindingsFeedbackRequest is a API request type for the UpdateFindingsFeedback API operation.

func (UpdateFindingsFeedbackRequest) Send

Send marshals and sends the UpdateFindingsFeedback API request.

type UpdateIPSetInput

type UpdateIPSetInput struct {

	// The updated boolean value that specifies whether the IPSet is active or not.
	Activate *bool `locationName:"activate" type:"boolean"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// IpSetId is a required field
	IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"`

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

	// The unique ID that specifies the IPSet that you want to update.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Update IP Set Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetRequest

func (UpdateIPSetInput) GoString

func (s UpdateIPSetInput) GoString() string

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetResponse

func (UpdateIPSetOutput) GoString

func (s UpdateIPSetOutput) GoString() string

GoString returns the string representation

func (UpdateIPSetOutput) 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) SDKResponseMetadata

func (s UpdateIPSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateIPSet API operation.

func (UpdateIPSetRequest) Send

Send marshals and sends the UpdateIPSet API request.

type UpdateThreatIntelSetInput

type UpdateThreatIntelSetInput struct {

	// The updated boolean value that specifies whether the ThreateIntelSet is active
	// or not.
	Activate *bool `locationName:"activate" type:"boolean"`

	// DetectorId is a required field
	DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"`

	// The updated URI of the file that contains the ThreateIntelSet. For example
	// (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
	Location *string `locationName:"location" type:"string"`

	// The unique ID that specifies the ThreatIntelSet that you want to update.
	Name *string `locationName:"name" type:"string"`

	// ThreatIntelSetId is a required field
	ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Update Threat Intel Set Request Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetRequest

func (UpdateThreatIntelSetInput) GoString

func (s UpdateThreatIntelSetInput) GoString() string

GoString returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetResponse

func (UpdateThreatIntelSetOutput) GoString

func (s UpdateThreatIntelSetOutput) GoString() string

GoString returns the string representation

func (UpdateThreatIntelSetOutput) MarshalFields added in v0.3.0

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

func (UpdateThreatIntelSetOutput) SDKResponseMetadata

func (s UpdateThreatIntelSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateThreatIntelSetOutput) String

String returns the string representation

type UpdateThreatIntelSetRequest

type UpdateThreatIntelSetRequest struct {
	*aws.Request
	Input *UpdateThreatIntelSetInput
	Copy  func(*UpdateThreatIntelSetInput) UpdateThreatIntelSetRequest
}

UpdateThreatIntelSetRequest is a API request type for the UpdateThreatIntelSet API operation.

func (UpdateThreatIntelSetRequest) Send

Send marshals and sends the UpdateThreatIntelSet API 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