detective

package
v0.0.0-...-7b64836 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package detective provides the client and types for making API requests to Amazon Detective.

Detective uses machine learning and purpose-built visualizations to help you to analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by Amazon GuardDuty.

The Detective API primarily supports the creation and management of behavior graphs. A behavior graph contains the extracted data from a set of member accounts, and is created and managed by an administrator account.

To add a member account to the behavior graph, the administrator account sends an invitation to the account. When the account accepts the invitation, it becomes a member account in the behavior graph.

Detective is also integrated with Organizations. The organization management account designates the Detective administrator account for the organization. That account becomes the administrator account for the organization behavior graph. The Detective administrator account is also the delegated administrator account for Detective in Organizations.

The Detective administrator account can enable any organization account as a member account in the organization behavior graph. The organization accounts do not receive invitations. The Detective administrator account can also invite other accounts to the organization behavior graph.

Every behavior graph is specific to a Region. You can only use the API to manage behavior graphs that belong to the Region that is associated with the currently selected endpoint.

The administrator account for a behavior graph can use the Detective API to do the following:

  • Enable and disable Detective. Enabling Detective creates a new behavior graph.

  • View the list of member accounts in a behavior graph.

  • Add member accounts to a behavior graph.

  • Remove member accounts from a behavior graph.

  • Apply tags to a behavior graph.

The organization management account can use the Detective API to select the delegated administrator for Detective.

The Detective administrator account for an organization can use the Detective API to do the following:

  • Perform all of the functions of an administrator account.

  • Determine whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

An invited member account can use the Detective API to do the following:

  • View the list of behavior graphs that they are invited to.

  • Accept an invitation to contribute to a behavior graph.

  • Decline an invitation to contribute to a behavior graph.

  • Remove their account from a behavior graph.

All API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail (https://docs.aws.amazon.com/detective/latest/adminguide/logging-using-cloudtrail.html).

We replaced the term "master account" with the term "administrator account." An administrator account is used to centrally manage multiple accounts. In the case of Detective, the administrator account manages the accounts in their behavior graph.

See https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26 for more information on this service.

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

Using the Client

To contact Amazon Detective 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 Detective client Detective for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/detective/#New

Index

Constants

View Source
const (
	// DatasourcePackageDetectiveCore is a DatasourcePackage enum value
	DatasourcePackageDetectiveCore = "DETECTIVE_CORE"

	// DatasourcePackageEksAudit is a DatasourcePackage enum value
	DatasourcePackageEksAudit = "EKS_AUDIT"

	// DatasourcePackageAsffSecurityhubFinding is a DatasourcePackage enum value
	DatasourcePackageAsffSecurityhubFinding = "ASFF_SECURITYHUB_FINDING"
)
View Source
const (
	// DatasourcePackageIngestStateStarted is a DatasourcePackageIngestState enum value
	DatasourcePackageIngestStateStarted = "STARTED"

	// DatasourcePackageIngestStateStopped is a DatasourcePackageIngestState enum value
	DatasourcePackageIngestStateStopped = "STOPPED"

	// DatasourcePackageIngestStateDisabled is a DatasourcePackageIngestState enum value
	DatasourcePackageIngestStateDisabled = "DISABLED"
)
View Source
const (
	// EntityTypeIamRole is a EntityType enum value
	EntityTypeIamRole = "IAM_ROLE"

	// EntityTypeIamUser is a EntityType enum value
	EntityTypeIamUser = "IAM_USER"
)
View Source
const (
	// ErrorCodeInvalidGraphArn is a ErrorCode enum value
	ErrorCodeInvalidGraphArn = "INVALID_GRAPH_ARN"

	// ErrorCodeInvalidRequestBody is a ErrorCode enum value
	ErrorCodeInvalidRequestBody = "INVALID_REQUEST_BODY"

	// ErrorCodeInternalError is a ErrorCode enum value
	ErrorCodeInternalError = "INTERNAL_ERROR"
)
View Source
const (
	// FieldSeverity is a Field enum value
	FieldSeverity = "SEVERITY"

	// FieldStatus is a Field enum value
	FieldStatus = "STATUS"

	// FieldCreatedTime is a Field enum value
	FieldCreatedTime = "CREATED_TIME"
)
View Source
const (
	// IndicatorTypeTtpObserved is a IndicatorType enum value
	IndicatorTypeTtpObserved = "TTP_OBSERVED"

	// IndicatorTypeImpossibleTravel is a IndicatorType enum value
	IndicatorTypeImpossibleTravel = "IMPOSSIBLE_TRAVEL"

	// IndicatorTypeFlaggedIpAddress is a IndicatorType enum value
	IndicatorTypeFlaggedIpAddress = "FLAGGED_IP_ADDRESS"

	// IndicatorTypeNewGeolocation is a IndicatorType enum value
	IndicatorTypeNewGeolocation = "NEW_GEOLOCATION"

	// IndicatorTypeNewAso is a IndicatorType enum value
	IndicatorTypeNewAso = "NEW_ASO"

	// IndicatorTypeNewUserAgent is a IndicatorType enum value
	IndicatorTypeNewUserAgent = "NEW_USER_AGENT"

	// IndicatorTypeRelatedFinding is a IndicatorType enum value
	IndicatorTypeRelatedFinding = "RELATED_FINDING"

	// IndicatorTypeRelatedFindingGroup is a IndicatorType enum value
	IndicatorTypeRelatedFindingGroup = "RELATED_FINDING_GROUP"
)
View Source
const (
	// InvitationTypeInvitation is a InvitationType enum value
	InvitationTypeInvitation = "INVITATION"

	// InvitationTypeOrganization is a InvitationType enum value
	InvitationTypeOrganization = "ORGANIZATION"
)
View Source
const (
	// MemberDisabledReasonVolumeTooHigh is a MemberDisabledReason enum value
	MemberDisabledReasonVolumeTooHigh = "VOLUME_TOO_HIGH"

	// MemberDisabledReasonVolumeUnknown is a MemberDisabledReason enum value
	MemberDisabledReasonVolumeUnknown = "VOLUME_UNKNOWN"
)
View Source
const (
	// MemberStatusInvited is a MemberStatus enum value
	MemberStatusInvited = "INVITED"

	// MemberStatusVerificationInProgress is a MemberStatus enum value
	MemberStatusVerificationInProgress = "VERIFICATION_IN_PROGRESS"

	// MemberStatusVerificationFailed is a MemberStatus enum value
	MemberStatusVerificationFailed = "VERIFICATION_FAILED"

	// MemberStatusEnabled is a MemberStatus enum value
	MemberStatusEnabled = "ENABLED"

	// MemberStatusAcceptedButDisabled is a MemberStatus enum value
	MemberStatusAcceptedButDisabled = "ACCEPTED_BUT_DISABLED"
)
View Source
const (
	// SeverityInformational is a Severity enum value
	SeverityInformational = "INFORMATIONAL"

	// SeverityLow is a Severity enum value
	SeverityLow = "LOW"

	// SeverityMedium is a Severity enum value
	SeverityMedium = "MEDIUM"

	// SeverityHigh is a Severity enum value
	SeverityHigh = "HIGH"

	// SeverityCritical is a Severity enum value
	SeverityCritical = "CRITICAL"
)
View Source
const (
	// SortOrderAsc is a SortOrder enum value
	SortOrderAsc = "ASC"

	// SortOrderDesc is a SortOrder enum value
	SortOrderDesc = "DESC"
)
View Source
const (
	// StateActive is a State enum value
	StateActive = "ACTIVE"

	// StateArchived is a State enum value
	StateArchived = "ARCHIVED"
)
View Source
const (
	// StatusRunning is a Status enum value
	StatusRunning = "RUNNING"

	// StatusFailed is a Status enum value
	StatusFailed = "FAILED"

	// StatusSuccessful is a Status enum value
	StatusSuccessful = "SUCCESSFUL"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// The request issuer does not have permission to access this resource or perform
	// this operation.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request attempted an invalid action.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The request was valid but failed because of a problem with the service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The request refers to a nonexistent resource.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// This request cannot be completed for one of the following reasons.
	//
	//    * The request would cause the number of member accounts in the behavior
	//    graph to exceed the maximum allowed. A behavior graph cannot have more
	//    than 1200 member accounts.
	//
	//    * The request would cause the data rate for the behavior graph to exceed
	//    the maximum allowed.
	//
	//    * Detective is unable to verify the data rate for the member account.
	//    This is usually because the member account is not enrolled in Amazon GuardDuty.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// The request cannot be completed because too many other requests are occurring
	// at the same time.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The request parameters are invalid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Detective"     // Name of service.
	EndpointsID = "api.detective" // ID to lookup a service endpoint with.
	ServiceID   = "Detective"     // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ReasonAwsThreatIntelligence is a Reason enum value
	ReasonAwsThreatIntelligence = "AWS_THREAT_INTELLIGENCE"
)

Variables

This section is empty.

Functions

func DatasourcePackageIngestState_Values

func DatasourcePackageIngestState_Values() []string

DatasourcePackageIngestState_Values returns all elements of the DatasourcePackageIngestState enum

func DatasourcePackage_Values

func DatasourcePackage_Values() []string

DatasourcePackage_Values returns all elements of the DatasourcePackage enum

func EntityType_Values

func EntityType_Values() []string

EntityType_Values returns all elements of the EntityType enum

func ErrorCode_Values

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func Field_Values

func Field_Values() []string

Field_Values returns all elements of the Field enum

func IndicatorType_Values

func IndicatorType_Values() []string

IndicatorType_Values returns all elements of the IndicatorType enum

func InvitationType_Values

func InvitationType_Values() []string

InvitationType_Values returns all elements of the InvitationType enum

func MemberDisabledReason_Values

func MemberDisabledReason_Values() []string

MemberDisabledReason_Values returns all elements of the MemberDisabledReason enum

func MemberStatus_Values

func MemberStatus_Values() []string

MemberStatus_Values returns all elements of the MemberStatus enum

func Reason_Values

func Reason_Values() []string

Reason_Values returns all elements of the Reason enum

func Severity_Values

func Severity_Values() []string

Severity_Values returns all elements of the Severity enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func State_Values

func State_Values() []string

State_Values returns all elements of the State enum

func Status_Values

func Status_Values() []string

Status_Values returns all elements of the Status enum

Types

type AcceptInvitationInput

type AcceptInvitationInput struct {

	// The ARN of the behavior graph that the member account is accepting the invitation
	// for.
	//
	// The member account status in the behavior graph must be INVITED.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AcceptInvitationInput) GoString

func (s AcceptInvitationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AcceptInvitationInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (AcceptInvitationInput) String

func (s AcceptInvitationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AcceptInvitationInput) Validate

func (s *AcceptInvitationInput) Validate() error

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

type AcceptInvitationOutput

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

func (AcceptInvitationOutput) GoString

func (s AcceptInvitationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AcceptInvitationOutput) String

func (s AcceptInvitationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The SDK default error code associated with the access denied exception.
	ErrorCode *string `type:"string" enum:"ErrorCode"`

	// The SDK default explanation of why access was denied.
	ErrorCodeReason *string `type:"string"`

	Message_ *string `locationName:"Message" type:"string"`

	// The error code associated with the access denied exception.
	SubErrorCode *string `type:"string" enum:"ErrorCode"`

	// An explanation of why access was denied.
	SubErrorCodeReason *string `type:"string"`
	// contains filtered or unexported fields
}

The request issuer does not have permission to access this resource or perform this operation.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Account

type Account struct {

	// The account identifier of the Amazon Web Services account.
	//
	// AccountId is a required field
	AccountId *string `min:"12" type:"string" required:"true"`

	// The Amazon Web Services account root user email address for the Amazon Web
	// Services account.
	//
	// EmailAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Account's
	// String and GoString methods.
	//
	// EmailAddress is a required field
	EmailAddress *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

An Amazon Web Services account that is the administrator account of or a member of a behavior graph.

func (Account) GoString

func (s Account) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Account) SetAccountId

func (s *Account) SetAccountId(v string) *Account

SetAccountId sets the AccountId field's value.

func (*Account) SetEmailAddress

func (s *Account) SetEmailAddress(v string) *Account

SetEmailAddress sets the EmailAddress field's value.

func (Account) String

func (s Account) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Account) Validate

func (s *Account) Validate() error

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

type Administrator

type Administrator struct {

	// The Amazon Web Services account identifier of the Detective administrator
	// account for the organization.
	AccountId *string `min:"12" type:"string"`

	// The date and time when the Detective administrator account was enabled. The
	// value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	DelegationTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The ARN of the organization behavior graph.
	GraphArn *string `type:"string"`
	// contains filtered or unexported fields
}

Information about the Detective administrator account for an organization.

func (Administrator) GoString

func (s Administrator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Administrator) SetAccountId

func (s *Administrator) SetAccountId(v string) *Administrator

SetAccountId sets the AccountId field's value.

func (*Administrator) SetDelegationTime

func (s *Administrator) SetDelegationTime(v time.Time) *Administrator

SetDelegationTime sets the DelegationTime field's value.

func (*Administrator) SetGraphArn

func (s *Administrator) SetGraphArn(v string) *Administrator

SetGraphArn sets the GraphArn field's value.

func (Administrator) String

func (s Administrator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetGraphMemberDatasourcesInput

type BatchGetGraphMemberDatasourcesInput struct {

	// The list of Amazon Web Services accounts to get data source package information
	// on.
	//
	// AccountIds is a required field
	AccountIds []*string `min:"1" type:"list" required:"true"`

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetGraphMemberDatasourcesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetGraphMemberDatasourcesInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (*BatchGetGraphMemberDatasourcesInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (BatchGetGraphMemberDatasourcesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetGraphMemberDatasourcesInput) Validate

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

type BatchGetGraphMemberDatasourcesOutput

type BatchGetGraphMemberDatasourcesOutput struct {

	// Details on the status of data source packages for members of the behavior
	// graph.
	MemberDatasources []*MembershipDatasources `type:"list"`

	// Accounts that data source package information could not be retrieved for.
	UnprocessedAccounts []*UnprocessedAccount `type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetGraphMemberDatasourcesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetGraphMemberDatasourcesOutput) SetMemberDatasources

SetMemberDatasources sets the MemberDatasources field's value.

func (*BatchGetGraphMemberDatasourcesOutput) SetUnprocessedAccounts

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (BatchGetGraphMemberDatasourcesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetMembershipDatasourcesInput

type BatchGetMembershipDatasourcesInput struct {

	// The ARN of the behavior graph.
	//
	// GraphArns is a required field
	GraphArns []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetMembershipDatasourcesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMembershipDatasourcesInput) SetGraphArns

SetGraphArns sets the GraphArns field's value.

func (BatchGetMembershipDatasourcesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMembershipDatasourcesInput) Validate

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

type BatchGetMembershipDatasourcesOutput

type BatchGetMembershipDatasourcesOutput struct {

	// Details on the data source package history for an member of the behavior
	// graph.
	MembershipDatasources []*MembershipDatasources `type:"list"`

	// Graphs that data source package information could not be retrieved for.
	UnprocessedGraphs []*UnprocessedGraph `type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetMembershipDatasourcesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetMembershipDatasourcesOutput) SetMembershipDatasources

SetMembershipDatasources sets the MembershipDatasources field's value.

func (*BatchGetMembershipDatasourcesOutput) SetUnprocessedGraphs

SetUnprocessedGraphs sets the UnprocessedGraphs field's value.

func (BatchGetMembershipDatasourcesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request attempted an invalid action.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateGraphInput

type CreateGraphInput struct {

	// The tags to assign to the new behavior graph. You can add up to 50 tags.
	// For each tag, you provide the tag key and the tag value. Each tag key can
	// contain up to 128 characters. Each tag value can contain up to 256 characters.
	Tags map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateGraphInput) GoString

func (s CreateGraphInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGraphInput) SetTags

func (s *CreateGraphInput) SetTags(v map[string]*string) *CreateGraphInput

SetTags sets the Tags field's value.

func (CreateGraphInput) String

func (s CreateGraphInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGraphInput) Validate

func (s *CreateGraphInput) Validate() error

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

type CreateGraphOutput

type CreateGraphOutput struct {

	// The ARN of the new behavior graph.
	GraphArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateGraphOutput) GoString

func (s CreateGraphOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGraphOutput) SetGraphArn

func (s *CreateGraphOutput) SetGraphArn(v string) *CreateGraphOutput

SetGraphArn sets the GraphArn field's value.

func (CreateGraphOutput) String

func (s CreateGraphOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateMembersInput

type CreateMembersInput struct {

	// The list of Amazon Web Services accounts to invite or to enable. You can
	// invite or enable up to 50 accounts at a time. For each invited account, the
	// account list contains the account identifier and the Amazon Web Services
	// account root user email address. For organization accounts in the organization
	// behavior graph, the email address is not required.
	//
	// Accounts is a required field
	Accounts []*Account `min:"1" type:"list" required:"true"`

	// if set to true, then the invited accounts do not receive email notifications.
	// By default, this is set to false, and the invited accounts receive email
	// notifications.
	//
	// Organization accounts in the organization behavior graph do not receive email
	// notifications.
	DisableEmailNotification *bool `type:"boolean"`

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// Customized message text to include in the invitation email message to the
	// invited member accounts.
	//
	// Message is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateMembersInput's
	// String and GoString methods.
	Message *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (CreateMembersInput) GoString

func (s CreateMembersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMembersInput) SetAccounts

func (s *CreateMembersInput) SetAccounts(v []*Account) *CreateMembersInput

SetAccounts sets the Accounts field's value.

func (*CreateMembersInput) SetDisableEmailNotification

func (s *CreateMembersInput) SetDisableEmailNotification(v bool) *CreateMembersInput

SetDisableEmailNotification sets the DisableEmailNotification field's value.

func (*CreateMembersInput) SetGraphArn

func (s *CreateMembersInput) SetGraphArn(v string) *CreateMembersInput

SetGraphArn sets the GraphArn field's value.

func (*CreateMembersInput) SetMessage

func (s *CreateMembersInput) SetMessage(v string) *CreateMembersInput

SetMessage sets the Message field's value.

func (CreateMembersInput) String

func (s CreateMembersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The set of member account invitation or enablement requests that Detective
	// was able to process. This includes accounts that are being verified, that
	// failed verification, and that passed verification and are being sent an invitation
	// or are being enabled.
	Members []*MemberDetail `type:"list"`

	// The list of accounts for which Detective was unable to process the invitation
	// or enablement request. For each account, the list provides the reason why
	// the request could not be processed. The list includes accounts that are already
	// member accounts in the behavior graph.
	UnprocessedAccounts []*UnprocessedAccount `type:"list"`
	// contains filtered or unexported fields
}

func (CreateMembersOutput) GoString

func (s CreateMembersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateMembersOutput) SetMembers

SetMembers sets the Members field's value.

func (*CreateMembersOutput) SetUnprocessedAccounts

func (s *CreateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (CreateMembersOutput) String

func (s CreateMembersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DatasourcePackageIngestDetail

type DatasourcePackageIngestDetail struct {

	// Details on which data source packages are ingested for a member account.
	DatasourcePackageIngestState *string `type:"string" enum:"DatasourcePackageIngestState"`

	// The date a data source package was enabled for this account
	LastIngestStateChange map[string]*TimestampForCollection `type:"map"`
	// contains filtered or unexported fields
}

Details about the data source packages ingested by your behavior graph.

func (DatasourcePackageIngestDetail) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DatasourcePackageIngestDetail) SetDatasourcePackageIngestState

func (s *DatasourcePackageIngestDetail) SetDatasourcePackageIngestState(v string) *DatasourcePackageIngestDetail

SetDatasourcePackageIngestState sets the DatasourcePackageIngestState field's value.

func (*DatasourcePackageIngestDetail) SetLastIngestStateChange

SetLastIngestStateChange sets the LastIngestStateChange field's value.

func (DatasourcePackageIngestDetail) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DatasourcePackageUsageInfo

type DatasourcePackageUsageInfo struct {

	// Total volume of data in bytes per day ingested for a given data source package.
	VolumeUsageInBytes *int64 `type:"long"`

	// The data and time when the member account data volume was last updated. The
	// value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	VolumeUsageUpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Information on the usage of a data source package in the behavior graph.

func (DatasourcePackageUsageInfo) GoString

func (s DatasourcePackageUsageInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DatasourcePackageUsageInfo) SetVolumeUsageInBytes

func (s *DatasourcePackageUsageInfo) SetVolumeUsageInBytes(v int64) *DatasourcePackageUsageInfo

SetVolumeUsageInBytes sets the VolumeUsageInBytes field's value.

func (*DatasourcePackageUsageInfo) SetVolumeUsageUpdateTime

func (s *DatasourcePackageUsageInfo) SetVolumeUsageUpdateTime(v time.Time) *DatasourcePackageUsageInfo

SetVolumeUsageUpdateTime sets the VolumeUsageUpdateTime field's value.

func (DatasourcePackageUsageInfo) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DateFilter

type DateFilter struct {

	// A timestamp representing the end date of the time period until when data
	// is filtered , including the end date.
	//
	// EndInclusive is a required field
	EndInclusive *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// A timestamp representing the start of the time period from when data is filtered,
	// including the start date.
	//
	// StartInclusive is a required field
	StartInclusive *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains details on the time range used to filter data.

func (DateFilter) GoString

func (s DateFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DateFilter) SetEndInclusive

func (s *DateFilter) SetEndInclusive(v time.Time) *DateFilter

SetEndInclusive sets the EndInclusive field's value.

func (*DateFilter) SetStartInclusive

func (s *DateFilter) SetStartInclusive(v time.Time) *DateFilter

SetStartInclusive sets the StartInclusive field's value.

func (DateFilter) String

func (s DateFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DateFilter) Validate

func (s *DateFilter) Validate() error

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

type DeleteGraphInput

type DeleteGraphInput struct {

	// The ARN of the behavior graph to disable.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGraphInput) GoString

func (s DeleteGraphInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGraphInput) SetGraphArn

func (s *DeleteGraphInput) SetGraphArn(v string) *DeleteGraphInput

SetGraphArn sets the GraphArn field's value.

func (DeleteGraphInput) String

func (s DeleteGraphInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGraphInput) Validate

func (s *DeleteGraphInput) Validate() error

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

type DeleteGraphOutput

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

func (DeleteGraphOutput) GoString

func (s DeleteGraphOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteGraphOutput) String

func (s DeleteGraphOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMembersInput

type DeleteMembersInput struct {

	// The list of Amazon Web Services account identifiers for the member accounts
	// to remove from the behavior graph. You can remove up to 50 member accounts
	// at a time.
	//
	// AccountIds is a required field
	AccountIds []*string `min:"1" type:"list" required:"true"`

	// The ARN of the behavior graph to remove members from.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMembersInput) GoString

func (s DeleteMembersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMembersInput) SetAccountIds

func (s *DeleteMembersInput) SetAccountIds(v []*string) *DeleteMembersInput

SetAccountIds sets the AccountIds field's value.

func (*DeleteMembersInput) SetGraphArn

func (s *DeleteMembersInput) SetGraphArn(v string) *DeleteMembersInput

SetGraphArn sets the GraphArn field's value.

func (DeleteMembersInput) String

func (s DeleteMembersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMembersInput) Validate

func (s *DeleteMembersInput) Validate() error

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

type DeleteMembersOutput

type DeleteMembersOutput struct {

	// The list of Amazon Web Services account identifiers for the member accounts
	// that Detective successfully removed from the behavior graph.
	AccountIds []*string `min:"1" type:"list"`

	// The list of member accounts that Detective was not able to remove from the
	// behavior graph. For each member account, provides the reason that the deletion
	// could not be processed.
	UnprocessedAccounts []*UnprocessedAccount `type:"list"`
	// contains filtered or unexported fields
}

func (DeleteMembersOutput) GoString

func (s DeleteMembersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMembersOutput) SetAccountIds

func (s *DeleteMembersOutput) SetAccountIds(v []*string) *DeleteMembersOutput

SetAccountIds sets the AccountIds field's value.

func (*DeleteMembersOutput) SetUnprocessedAccounts

func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeleteMembersOutput) String

func (s DeleteMembersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeOrganizationConfigurationInput

type DescribeOrganizationConfigurationInput struct {

	// The ARN of the organization behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeOrganizationConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationConfigurationInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (DescribeOrganizationConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationConfigurationInput) Validate

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

type DescribeOrganizationConfigurationOutput

type DescribeOrganizationConfigurationOutput struct {

	// Indicates whether to automatically enable new organization accounts as member
	// accounts in the organization behavior graph.
	AutoEnable *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (DescribeOrganizationConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOrganizationConfigurationOutput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

func (DescribeOrganizationConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Detective

type Detective struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Detective

New creates a new instance of the Detective client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Detective client from just a session.
svc := detective.New(mySession)

// Create a Detective client with additional configuration
svc := detective.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Detective) AcceptInvitation

func (c *Detective) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error)

AcceptInvitation API operation for Amazon Detective.

Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account.

The request provides the ARN of behavior graph.

The member account status in the graph must be INVITED.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation AcceptInvitation for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • ConflictException The request attempted an invalid action.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/AcceptInvitation

func (*Detective) AcceptInvitationRequest

func (c *Detective) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput)

AcceptInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcceptInvitation for more information on using the AcceptInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AcceptInvitationRequest method.
req, resp := client.AcceptInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/AcceptInvitation

func (*Detective) AcceptInvitationWithContext

func (c *Detective) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error)

AcceptInvitationWithContext is the same as AcceptInvitation with the addition of the ability to pass a context and additional request options.

See AcceptInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) BatchGetGraphMemberDatasources

func (c *Detective) BatchGetGraphMemberDatasources(input *BatchGetGraphMemberDatasourcesInput) (*BatchGetGraphMemberDatasourcesOutput, error)

BatchGetGraphMemberDatasources API operation for Amazon Detective.

Gets data source package information for the behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation BatchGetGraphMemberDatasources for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/BatchGetGraphMemberDatasources

func (*Detective) BatchGetGraphMemberDatasourcesRequest

func (c *Detective) BatchGetGraphMemberDatasourcesRequest(input *BatchGetGraphMemberDatasourcesInput) (req *request.Request, output *BatchGetGraphMemberDatasourcesOutput)

BatchGetGraphMemberDatasourcesRequest generates a "aws/request.Request" representing the client's request for the BatchGetGraphMemberDatasources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetGraphMemberDatasources for more information on using the BatchGetGraphMemberDatasources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetGraphMemberDatasourcesRequest method.
req, resp := client.BatchGetGraphMemberDatasourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/BatchGetGraphMemberDatasources

func (*Detective) BatchGetGraphMemberDatasourcesWithContext

func (c *Detective) BatchGetGraphMemberDatasourcesWithContext(ctx aws.Context, input *BatchGetGraphMemberDatasourcesInput, opts ...request.Option) (*BatchGetGraphMemberDatasourcesOutput, error)

BatchGetGraphMemberDatasourcesWithContext is the same as BatchGetGraphMemberDatasources with the addition of the ability to pass a context and additional request options.

See BatchGetGraphMemberDatasources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) BatchGetMembershipDatasources

func (c *Detective) BatchGetMembershipDatasources(input *BatchGetMembershipDatasourcesInput) (*BatchGetMembershipDatasourcesOutput, error)

BatchGetMembershipDatasources API operation for Amazon Detective.

Gets information on the data source package history for an account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation BatchGetMembershipDatasources for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/BatchGetMembershipDatasources

func (*Detective) BatchGetMembershipDatasourcesRequest

func (c *Detective) BatchGetMembershipDatasourcesRequest(input *BatchGetMembershipDatasourcesInput) (req *request.Request, output *BatchGetMembershipDatasourcesOutput)

BatchGetMembershipDatasourcesRequest generates a "aws/request.Request" representing the client's request for the BatchGetMembershipDatasources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetMembershipDatasources for more information on using the BatchGetMembershipDatasources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetMembershipDatasourcesRequest method.
req, resp := client.BatchGetMembershipDatasourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/BatchGetMembershipDatasources

func (*Detective) BatchGetMembershipDatasourcesWithContext

func (c *Detective) BatchGetMembershipDatasourcesWithContext(ctx aws.Context, input *BatchGetMembershipDatasourcesInput, opts ...request.Option) (*BatchGetMembershipDatasourcesOutput, error)

BatchGetMembershipDatasourcesWithContext is the same as BatchGetMembershipDatasources with the addition of the ability to pass a context and additional request options.

See BatchGetMembershipDatasources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) CreateGraph

func (c *Detective) CreateGraph(input *CreateGraphInput) (*CreateGraphOutput, error)

CreateGraph API operation for Amazon Detective.

Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective.

Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable Detective.

The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph.

CreateGraph triggers a process to create the corresponding data tables for the new behavior graph.

An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation CreateGraph for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • ConflictException The request attempted an invalid action.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ServiceQuotaExceededException This request cannot be completed for one of the following reasons.

  • The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.

  • The request would cause the data rate for the behavior graph to exceed the maximum allowed.

  • Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateGraph

func (*Detective) CreateGraphRequest

func (c *Detective) CreateGraphRequest(input *CreateGraphInput) (req *request.Request, output *CreateGraphOutput)

CreateGraphRequest generates a "aws/request.Request" representing the client's request for the CreateGraph operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateGraph for more information on using the CreateGraph API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateGraphRequest method.
req, resp := client.CreateGraphRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateGraph

func (*Detective) CreateGraphWithContext

func (c *Detective) CreateGraphWithContext(ctx aws.Context, input *CreateGraphInput, opts ...request.Option) (*CreateGraphOutput, error)

CreateGraphWithContext is the same as CreateGraph with the addition of the ability to pass a context and additional request options.

See CreateGraph for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) CreateMembers

func (c *Detective) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error)

CreateMembers API operation for Amazon Detective.

CreateMembers is used to send invitations to accounts. For the organization behavior graph, the Detective administrator account uses CreateMembers to enable organization accounts as member accounts.

For invited accounts, CreateMembers sends a request to invite the specified Amazon Web Services accounts to be member accounts in the behavior graph. This operation can only be called by the administrator account for a behavior graph.

CreateMembers verifies the accounts and then invites the verified accounts. The administrator can optionally specify to not send invitation emails to the member accounts. This would be used when the administrator manages their member accounts centrally.

For organization accounts in the organization behavior graph, CreateMembers attempts to enable the accounts. The organization accounts do not receive invitations.

The request provides the behavior graph ARN and the list of accounts to invite or to enable.

The response separates the requested accounts into two lists:

  • The accounts that CreateMembers was able to process. For invited accounts, includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. For organization accounts in the organization behavior graph, includes accounts that can be enabled and that cannot be enabled.

  • The accounts that CreateMembers was unable to process. This list includes accounts that were already invited to be member accounts in the behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation CreateMembers for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

  • ServiceQuotaExceededException This request cannot be completed for one of the following reasons.

  • The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.

  • The request would cause the data rate for the behavior graph to exceed the maximum allowed.

  • Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateMembers

func (*Detective) CreateMembersRequest

func (c *Detective) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput)

CreateMembersRequest generates a "aws/request.Request" representing the client's request for the CreateMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMembers for more information on using the CreateMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMembersRequest method.
req, resp := client.CreateMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateMembers

func (*Detective) CreateMembersWithContext

func (c *Detective) CreateMembersWithContext(ctx aws.Context, input *CreateMembersInput, opts ...request.Option) (*CreateMembersOutput, error)

CreateMembersWithContext is the same as CreateMembers with the addition of the ability to pass a context and additional request options.

See CreateMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) DeleteGraph

func (c *Detective) DeleteGraph(input *DeleteGraphInput) (*DeleteGraphOutput, error)

DeleteGraph API operation for Amazon Detective.

Disables the specified behavior graph and queues it to be deleted. This operation removes the behavior graph from each member account's list of behavior graphs.

DeleteGraph can only be called by the administrator account for a behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation DeleteGraph for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteGraph

func (*Detective) DeleteGraphRequest

func (c *Detective) DeleteGraphRequest(input *DeleteGraphInput) (req *request.Request, output *DeleteGraphOutput)

DeleteGraphRequest generates a "aws/request.Request" representing the client's request for the DeleteGraph operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGraph for more information on using the DeleteGraph API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGraphRequest method.
req, resp := client.DeleteGraphRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteGraph

func (*Detective) DeleteGraphWithContext

func (c *Detective) DeleteGraphWithContext(ctx aws.Context, input *DeleteGraphInput, opts ...request.Option) (*DeleteGraphOutput, error)

DeleteGraphWithContext is the same as DeleteGraph with the addition of the ability to pass a context and additional request options.

See DeleteGraph for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) DeleteMembers

func (c *Detective) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error)

DeleteMembers API operation for Amazon Detective.

Removes the specified member accounts from the behavior graph. The removed accounts no longer contribute data to the behavior graph. This operation can only be called by the administrator account for the behavior graph.

For invited accounts, the removed accounts are deleted from the list of accounts in the behavior graph. To restore the account, the administrator account must send another invitation.

For organization accounts in the organization behavior graph, the Detective administrator account can always enable the organization account again. Organization accounts that are not enabled as member accounts are not included in the ListMembers results for the organization behavior graph.

An administrator account cannot use DeleteMembers to remove their own account from the behavior graph. To disable a behavior graph, the administrator account uses the DeleteGraph API method.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation DeleteMembers for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • ConflictException The request attempted an invalid action.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteMembers

func (*Detective) DeleteMembersRequest

func (c *Detective) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput)

DeleteMembersRequest generates a "aws/request.Request" representing the client's request for the DeleteMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMembers for more information on using the DeleteMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMembersRequest method.
req, resp := client.DeleteMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteMembers

func (*Detective) DeleteMembersWithContext

func (c *Detective) DeleteMembersWithContext(ctx aws.Context, input *DeleteMembersInput, opts ...request.Option) (*DeleteMembersOutput, error)

DeleteMembersWithContext is the same as DeleteMembers with the addition of the ability to pass a context and additional request options.

See DeleteMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) DescribeOrganizationConfiguration

func (c *Detective) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error)

DescribeOrganizationConfiguration API operation for Amazon Detective.

Returns information about the configuration for the organization behavior graph. Currently indicates whether to automatically enable new organization accounts as member accounts.

Can only be called by the Detective administrator account for the organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation DescribeOrganizationConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DescribeOrganizationConfiguration

func (*Detective) DescribeOrganizationConfigurationRequest

func (c *Detective) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput)

DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOrganizationConfigurationRequest method.
req, resp := client.DescribeOrganizationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DescribeOrganizationConfiguration

func (*Detective) DescribeOrganizationConfigurationWithContext

func (c *Detective) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error)

DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeOrganizationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) DisableOrganizationAdminAccount

func (c *Detective) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error)

DisableOrganizationAdminAccount API operation for Amazon Detective.

Removes the Detective administrator account in the current Region. Deletes the organization behavior graph.

Can only be called by the organization management account.

Removing the Detective administrator account does not affect the delegated administrator account for Detective in Organizations.

To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation DisableOrganizationAdminAccount for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisableOrganizationAdminAccount

func (*Detective) DisableOrganizationAdminAccountRequest

func (c *Detective) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput)

DisableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the client's request for the DisableOrganizationAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableOrganizationAdminAccount for more information on using the DisableOrganizationAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableOrganizationAdminAccountRequest method.
req, resp := client.DisableOrganizationAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisableOrganizationAdminAccount

func (*Detective) DisableOrganizationAdminAccountWithContext

func (c *Detective) DisableOrganizationAdminAccountWithContext(ctx aws.Context, input *DisableOrganizationAdminAccountInput, opts ...request.Option) (*DisableOrganizationAdminAccountOutput, error)

DisableOrganizationAdminAccountWithContext is the same as DisableOrganizationAdminAccount with the addition of the ability to pass a context and additional request options.

See DisableOrganizationAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) DisassociateMembership

func (c *Detective) DisassociateMembership(input *DisassociateMembershipInput) (*DisassociateMembershipOutput, error)

DisassociateMembership API operation for Amazon Detective.

Removes the member account from the specified behavior graph. This operation can only be called by an invited member account that has the ENABLED status.

DisassociateMembership cannot be called by an organization account in the organization behavior graph. For the organization behavior graph, the Detective administrator account determines which organization accounts to enable or disable as member accounts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation DisassociateMembership for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • ConflictException The request attempted an invalid action.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisassociateMembership

func (*Detective) DisassociateMembershipRequest

func (c *Detective) DisassociateMembershipRequest(input *DisassociateMembershipInput) (req *request.Request, output *DisassociateMembershipOutput)

DisassociateMembershipRequest generates a "aws/request.Request" representing the client's request for the DisassociateMembership operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateMembership for more information on using the DisassociateMembership API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateMembershipRequest method.
req, resp := client.DisassociateMembershipRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisassociateMembership

func (*Detective) DisassociateMembershipWithContext

func (c *Detective) DisassociateMembershipWithContext(ctx aws.Context, input *DisassociateMembershipInput, opts ...request.Option) (*DisassociateMembershipOutput, error)

DisassociateMembershipWithContext is the same as DisassociateMembership with the addition of the ability to pass a context and additional request options.

See DisassociateMembership for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) EnableOrganizationAdminAccount

func (c *Detective) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error)

EnableOrganizationAdminAccount API operation for Amazon Detective.

Designates the Detective administrator account for the organization in the current Region.

If the account does not have Detective enabled, then enables Detective for that account and creates a new behavior graph.

Can only be called by the organization management account.

If the organization has a delegated administrator account in Organizations, then the Detective administrator account must be either the delegated administrator account or the organization management account.

If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other than the organization management account, Detective calls Organizations to make that account the delegated administrator account for Detective. The organization management account cannot be the delegated administrator account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation EnableOrganizationAdminAccount for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/EnableOrganizationAdminAccount

func (*Detective) EnableOrganizationAdminAccountRequest

func (c *Detective) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput)

EnableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the client's request for the EnableOrganizationAdminAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableOrganizationAdminAccount for more information on using the EnableOrganizationAdminAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableOrganizationAdminAccountRequest method.
req, resp := client.EnableOrganizationAdminAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/EnableOrganizationAdminAccount

func (*Detective) EnableOrganizationAdminAccountWithContext

func (c *Detective) EnableOrganizationAdminAccountWithContext(ctx aws.Context, input *EnableOrganizationAdminAccountInput, opts ...request.Option) (*EnableOrganizationAdminAccountOutput, error)

EnableOrganizationAdminAccountWithContext is the same as EnableOrganizationAdminAccount with the addition of the ability to pass a context and additional request options.

See EnableOrganizationAdminAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) GetInvestigation

func (c *Detective) GetInvestigation(input *GetInvestigationInput) (*GetInvestigationOutput, error)

GetInvestigation API operation for Amazon Detective.

Returns the investigation results of an investigation for a behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation GetInvestigation for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/GetInvestigation

func (*Detective) GetInvestigationRequest

func (c *Detective) GetInvestigationRequest(input *GetInvestigationInput) (req *request.Request, output *GetInvestigationOutput)

GetInvestigationRequest generates a "aws/request.Request" representing the client's request for the GetInvestigation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInvestigation for more information on using the GetInvestigation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInvestigationRequest method.
req, resp := client.GetInvestigationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/GetInvestigation

func (*Detective) GetInvestigationWithContext

func (c *Detective) GetInvestigationWithContext(ctx aws.Context, input *GetInvestigationInput, opts ...request.Option) (*GetInvestigationOutput, error)

GetInvestigationWithContext is the same as GetInvestigation with the addition of the ability to pass a context and additional request options.

See GetInvestigation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) GetMembers

func (c *Detective) GetMembers(input *GetMembersInput) (*GetMembersOutput, error)

GetMembers API operation for Amazon Detective.

Returns the membership details for specified member accounts for a behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation GetMembers for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/GetMembers

func (*Detective) GetMembersRequest

func (c *Detective) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput)

GetMembersRequest generates a "aws/request.Request" representing the client's request for the GetMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMembers for more information on using the GetMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMembersRequest method.
req, resp := client.GetMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/GetMembers

func (*Detective) GetMembersWithContext

func (c *Detective) GetMembersWithContext(ctx aws.Context, input *GetMembersInput, opts ...request.Option) (*GetMembersOutput, error)

GetMembersWithContext is the same as GetMembers with the addition of the ability to pass a context and additional request options.

See GetMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListDatasourcePackages

func (c *Detective) ListDatasourcePackages(input *ListDatasourcePackagesInput) (*ListDatasourcePackagesOutput, error)

ListDatasourcePackages API operation for Amazon Detective.

Lists data source packages in the behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListDatasourcePackages for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListDatasourcePackages

func (*Detective) ListDatasourcePackagesPages

func (c *Detective) ListDatasourcePackagesPages(input *ListDatasourcePackagesInput, fn func(*ListDatasourcePackagesOutput, bool) bool) error

ListDatasourcePackagesPages iterates over the pages of a ListDatasourcePackages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDatasourcePackages method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListDatasourcePackages operation.
pageNum := 0
err := client.ListDatasourcePackagesPages(params,
    func(page *detective.ListDatasourcePackagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Detective) ListDatasourcePackagesPagesWithContext

func (c *Detective) ListDatasourcePackagesPagesWithContext(ctx aws.Context, input *ListDatasourcePackagesInput, fn func(*ListDatasourcePackagesOutput, bool) bool, opts ...request.Option) error

ListDatasourcePackagesPagesWithContext same as ListDatasourcePackagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListDatasourcePackagesRequest

func (c *Detective) ListDatasourcePackagesRequest(input *ListDatasourcePackagesInput) (req *request.Request, output *ListDatasourcePackagesOutput)

ListDatasourcePackagesRequest generates a "aws/request.Request" representing the client's request for the ListDatasourcePackages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDatasourcePackages for more information on using the ListDatasourcePackages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDatasourcePackagesRequest method.
req, resp := client.ListDatasourcePackagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListDatasourcePackages

func (*Detective) ListDatasourcePackagesWithContext

func (c *Detective) ListDatasourcePackagesWithContext(ctx aws.Context, input *ListDatasourcePackagesInput, opts ...request.Option) (*ListDatasourcePackagesOutput, error)

ListDatasourcePackagesWithContext is the same as ListDatasourcePackages with the addition of the ability to pass a context and additional request options.

See ListDatasourcePackages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListGraphs

func (c *Detective) ListGraphs(input *ListGraphsInput) (*ListGraphsOutput, error)

ListGraphs API operation for Amazon Detective.

Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account.

Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListGraphs for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListGraphs

func (*Detective) ListGraphsPages

func (c *Detective) ListGraphsPages(input *ListGraphsInput, fn func(*ListGraphsOutput, bool) bool) error

ListGraphsPages iterates over the pages of a ListGraphs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGraphs method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListGraphs operation.
pageNum := 0
err := client.ListGraphsPages(params,
    func(page *detective.ListGraphsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Detective) ListGraphsPagesWithContext

func (c *Detective) ListGraphsPagesWithContext(ctx aws.Context, input *ListGraphsInput, fn func(*ListGraphsOutput, bool) bool, opts ...request.Option) error

ListGraphsPagesWithContext same as ListGraphsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListGraphsRequest

func (c *Detective) ListGraphsRequest(input *ListGraphsInput) (req *request.Request, output *ListGraphsOutput)

ListGraphsRequest generates a "aws/request.Request" representing the client's request for the ListGraphs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListGraphs for more information on using the ListGraphs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListGraphsRequest method.
req, resp := client.ListGraphsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListGraphs

func (*Detective) ListGraphsWithContext

func (c *Detective) ListGraphsWithContext(ctx aws.Context, input *ListGraphsInput, opts ...request.Option) (*ListGraphsOutput, error)

ListGraphsWithContext is the same as ListGraphs with the addition of the ability to pass a context and additional request options.

See ListGraphs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListIndicators

func (c *Detective) ListIndicators(input *ListIndicatorsInput) (*ListIndicatorsOutput, error)

ListIndicators API operation for Amazon Detective.

Get the indicators from an investigation

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListIndicators for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListIndicators

func (*Detective) ListIndicatorsRequest

func (c *Detective) ListIndicatorsRequest(input *ListIndicatorsInput) (req *request.Request, output *ListIndicatorsOutput)

ListIndicatorsRequest generates a "aws/request.Request" representing the client's request for the ListIndicators operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListIndicators for more information on using the ListIndicators API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListIndicatorsRequest method.
req, resp := client.ListIndicatorsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListIndicators

func (*Detective) ListIndicatorsWithContext

func (c *Detective) ListIndicatorsWithContext(ctx aws.Context, input *ListIndicatorsInput, opts ...request.Option) (*ListIndicatorsOutput, error)

ListIndicatorsWithContext is the same as ListIndicators with the addition of the ability to pass a context and additional request options.

See ListIndicators for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListInvestigations

func (c *Detective) ListInvestigations(input *ListInvestigationsInput) (*ListInvestigationsOutput, error)

ListInvestigations API operation for Amazon Detective.

List all Investigations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListInvestigations for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvestigations

func (*Detective) ListInvestigationsRequest

func (c *Detective) ListInvestigationsRequest(input *ListInvestigationsInput) (req *request.Request, output *ListInvestigationsOutput)

ListInvestigationsRequest generates a "aws/request.Request" representing the client's request for the ListInvestigations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInvestigations for more information on using the ListInvestigations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInvestigationsRequest method.
req, resp := client.ListInvestigationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvestigations

func (*Detective) ListInvestigationsWithContext

func (c *Detective) ListInvestigationsWithContext(ctx aws.Context, input *ListInvestigationsInput, opts ...request.Option) (*ListInvestigationsOutput, error)

ListInvestigationsWithContext is the same as ListInvestigations with the addition of the ability to pass a context and additional request options.

See ListInvestigations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListInvitations

func (c *Detective) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)

ListInvitations API operation for Amazon Detective.

Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by an invited member account.

Open invitations are invitations that the member account has not responded to.

The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListInvitations for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations

func (*Detective) ListInvitationsPages

func (c *Detective) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error

ListInvitationsPages iterates over the pages of a ListInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListInvitations method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListInvitations operation.
pageNum := 0
err := client.ListInvitationsPages(params,
    func(page *detective.ListInvitationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Detective) ListInvitationsPagesWithContext

func (c *Detective) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error

ListInvitationsPagesWithContext same as ListInvitationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListInvitationsRequest

func (c *Detective) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)

ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInvitations for more information on using the ListInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInvitationsRequest method.
req, resp := client.ListInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations

func (*Detective) ListInvitationsWithContext

func (c *Detective) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)

ListInvitationsWithContext is the same as ListInvitations with the addition of the ability to pass a context and additional request options.

See ListInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListMembers

func (c *Detective) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for Amazon Detective.

Retrieves the list of member accounts for a behavior graph.

For invited accounts, the results do not include member accounts that were removed from the behavior graph.

For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListMembers for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers

func (*Detective) ListMembersPages

func (c *Detective) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error

ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMembers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListMembers operation.
pageNum := 0
err := client.ListMembersPages(params,
    func(page *detective.ListMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Detective) ListMembersPagesWithContext

func (c *Detective) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error

ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListMembersRequest

func (c *Detective) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMembers for more information on using the ListMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers

func (*Detective) ListMembersWithContext

func (c *Detective) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)

ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.

See ListMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListOrganizationAdminAccounts

func (c *Detective) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error)

ListOrganizationAdminAccounts API operation for Amazon Detective.

Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListOrganizationAdminAccounts for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListOrganizationAdminAccounts

func (*Detective) ListOrganizationAdminAccountsPages

func (c *Detective) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error

ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListOrganizationAdminAccounts method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation.
pageNum := 0
err := client.ListOrganizationAdminAccountsPages(params,
    func(page *detective.ListOrganizationAdminAccountsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Detective) ListOrganizationAdminAccountsPagesWithContext

func (c *Detective) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error

ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListOrganizationAdminAccountsRequest

func (c *Detective) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput)

ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the client's request for the ListOrganizationAdminAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListOrganizationAdminAccounts for more information on using the ListOrganizationAdminAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListOrganizationAdminAccountsRequest method.
req, resp := client.ListOrganizationAdminAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListOrganizationAdminAccounts

func (*Detective) ListOrganizationAdminAccountsWithContext

func (c *Detective) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, opts ...request.Option) (*ListOrganizationAdminAccountsOutput, error)

ListOrganizationAdminAccountsWithContext is the same as ListOrganizationAdminAccounts with the addition of the ability to pass a context and additional request options.

See ListOrganizationAdminAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) ListTagsForResource

func (c *Detective) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Detective.

Returns the tag values that are assigned to a behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource

func (*Detective) ListTagsForResourceRequest

func (c *Detective) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource

func (*Detective) ListTagsForResourceWithContext

func (c *Detective) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) RejectInvitation

func (c *Detective) RejectInvitation(input *RejectInvitationInput) (*RejectInvitationOutput, error)

RejectInvitation API operation for Amazon Detective.

Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by an invited member account that has the INVITED status.

RejectInvitation cannot be called by an organization account in the organization behavior graph. In the organization behavior graph, organization accounts do not receive an invitation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation RejectInvitation for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • ConflictException The request attempted an invalid action.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/RejectInvitation

func (*Detective) RejectInvitationRequest

func (c *Detective) RejectInvitationRequest(input *RejectInvitationInput) (req *request.Request, output *RejectInvitationOutput)

RejectInvitationRequest generates a "aws/request.Request" representing the client's request for the RejectInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RejectInvitation for more information on using the RejectInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RejectInvitationRequest method.
req, resp := client.RejectInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/RejectInvitation

func (*Detective) RejectInvitationWithContext

func (c *Detective) RejectInvitationWithContext(ctx aws.Context, input *RejectInvitationInput, opts ...request.Option) (*RejectInvitationOutput, error)

RejectInvitationWithContext is the same as RejectInvitation with the addition of the ability to pass a context and additional request options.

See RejectInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) StartInvestigation

func (c *Detective) StartInvestigation(input *StartInvestigationInput) (*StartInvestigationOutput, error)

StartInvestigation API operation for Amazon Detective.

initiate an investigation on an entity in a graph

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation StartInvestigation for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

  • ResourceNotFoundException The request refers to a nonexistent resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartInvestigation

func (*Detective) StartInvestigationRequest

func (c *Detective) StartInvestigationRequest(input *StartInvestigationInput) (req *request.Request, output *StartInvestigationOutput)

StartInvestigationRequest generates a "aws/request.Request" representing the client's request for the StartInvestigation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartInvestigation for more information on using the StartInvestigation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartInvestigationRequest method.
req, resp := client.StartInvestigationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartInvestigation

func (*Detective) StartInvestigationWithContext

func (c *Detective) StartInvestigationWithContext(ctx aws.Context, input *StartInvestigationInput, opts ...request.Option) (*StartInvestigationOutput, error)

StartInvestigationWithContext is the same as StartInvestigation with the addition of the ability to pass a context and additional request options.

See StartInvestigation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) StartMonitoringMember

func (c *Detective) StartMonitoringMember(input *StartMonitoringMemberInput) (*StartMonitoringMemberOutput, error)

StartMonitoringMember API operation for Amazon Detective.

Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED.

For valid member accounts, the status is updated as follows.

  • If Detective enabled the member account, then the new status is ENABLED.

  • If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation StartMonitoringMember for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • ConflictException The request attempted an invalid action.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ServiceQuotaExceededException This request cannot be completed for one of the following reasons.

  • The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.

  • The request would cause the data rate for the behavior graph to exceed the maximum allowed.

  • Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartMonitoringMember

func (*Detective) StartMonitoringMemberRequest

func (c *Detective) StartMonitoringMemberRequest(input *StartMonitoringMemberInput) (req *request.Request, output *StartMonitoringMemberOutput)

StartMonitoringMemberRequest generates a "aws/request.Request" representing the client's request for the StartMonitoringMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartMonitoringMember for more information on using the StartMonitoringMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartMonitoringMemberRequest method.
req, resp := client.StartMonitoringMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartMonitoringMember

func (*Detective) StartMonitoringMemberWithContext

func (c *Detective) StartMonitoringMemberWithContext(ctx aws.Context, input *StartMonitoringMemberInput, opts ...request.Option) (*StartMonitoringMemberOutput, error)

StartMonitoringMemberWithContext is the same as StartMonitoringMember with the addition of the ability to pass a context and additional request options.

See StartMonitoringMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) TagResource

func (c *Detective) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Detective.

Applies tag values to a behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation TagResource for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResource

func (*Detective) TagResourceRequest

func (c *Detective) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResource

func (*Detective) TagResourceWithContext

func (c *Detective) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) UntagResource

func (c *Detective) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Detective.

Removes tags from a behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation UntagResource for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResource

func (*Detective) UntagResourceRequest

func (c *Detective) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResource

func (*Detective) UntagResourceWithContext

func (c *Detective) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) UpdateDatasourcePackages

func (c *Detective) UpdateDatasourcePackages(input *UpdateDatasourcePackagesInput) (*UpdateDatasourcePackagesOutput, error)

UpdateDatasourcePackages API operation for Amazon Detective.

Starts a data source packages for the behavior graph.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation UpdateDatasourcePackages for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • ServiceQuotaExceededException This request cannot be completed for one of the following reasons.

  • The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.

  • The request would cause the data rate for the behavior graph to exceed the maximum allowed.

  • Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

  • ValidationException The request parameters are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateDatasourcePackages

func (*Detective) UpdateDatasourcePackagesRequest

func (c *Detective) UpdateDatasourcePackagesRequest(input *UpdateDatasourcePackagesInput) (req *request.Request, output *UpdateDatasourcePackagesOutput)

UpdateDatasourcePackagesRequest generates a "aws/request.Request" representing the client's request for the UpdateDatasourcePackages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDatasourcePackages for more information on using the UpdateDatasourcePackages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDatasourcePackagesRequest method.
req, resp := client.UpdateDatasourcePackagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateDatasourcePackages

func (*Detective) UpdateDatasourcePackagesWithContext

func (c *Detective) UpdateDatasourcePackagesWithContext(ctx aws.Context, input *UpdateDatasourcePackagesInput, opts ...request.Option) (*UpdateDatasourcePackagesOutput, error)

UpdateDatasourcePackagesWithContext is the same as UpdateDatasourcePackages with the addition of the ability to pass a context and additional request options.

See UpdateDatasourcePackages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) UpdateInvestigationState

func (c *Detective) UpdateInvestigationState(input *UpdateInvestigationStateInput) (*UpdateInvestigationStateOutput, error)

UpdateInvestigationState API operation for Amazon Detective.

Update the state of an investigation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation UpdateInvestigationState for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • ResourceNotFoundException The request refers to a nonexistent resource.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateInvestigationState

func (*Detective) UpdateInvestigationStateRequest

func (c *Detective) UpdateInvestigationStateRequest(input *UpdateInvestigationStateInput) (req *request.Request, output *UpdateInvestigationStateOutput)

UpdateInvestigationStateRequest generates a "aws/request.Request" representing the client's request for the UpdateInvestigationState operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateInvestigationState for more information on using the UpdateInvestigationState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateInvestigationStateRequest method.
req, resp := client.UpdateInvestigationStateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateInvestigationState

func (*Detective) UpdateInvestigationStateWithContext

func (c *Detective) UpdateInvestigationStateWithContext(ctx aws.Context, input *UpdateInvestigationStateInput, opts ...request.Option) (*UpdateInvestigationStateOutput, error)

UpdateInvestigationStateWithContext is the same as UpdateInvestigationState with the addition of the ability to pass a context and additional request options.

See UpdateInvestigationState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Detective) UpdateOrganizationConfiguration

func (c *Detective) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfiguration API operation for Amazon Detective.

Updates the configuration for the Organizations integration in the current Region. Can only be called by the Detective administrator account for the organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Detective's API operation UpdateOrganizationConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException The request issuer does not have permission to access this resource or perform this operation.

  • InternalServerException The request was valid but failed because of a problem with the service.

  • ValidationException The request parameters are invalid.

  • TooManyRequestsException The request cannot be completed because too many other requests are occurring at the same time.

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration

func (*Detective) UpdateOrganizationConfigurationRequest

func (c *Detective) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput)

UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateOrganizationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateOrganizationConfigurationRequest method.
req, resp := client.UpdateOrganizationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration

func (*Detective) UpdateOrganizationConfigurationWithContext

func (c *Detective) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateOrganizationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type DisableOrganizationAdminAccountInput

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

func (DisableOrganizationAdminAccountInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisableOrganizationAdminAccountInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisableOrganizationAdminAccountOutput

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

func (DisableOrganizationAdminAccountOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisableOrganizationAdminAccountOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateMembershipInput

type DisassociateMembershipInput struct {

	// The ARN of the behavior graph to remove the member account from.
	//
	// The member account's member status in the behavior graph must be ENABLED.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateMembershipInput) GoString

func (s DisassociateMembershipInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMembershipInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (DisassociateMembershipInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateMembershipInput) Validate

func (s *DisassociateMembershipInput) Validate() error

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

type DisassociateMembershipOutput

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

func (DisassociateMembershipOutput) GoString

func (s DisassociateMembershipOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisassociateMembershipOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EnableOrganizationAdminAccountInput

type EnableOrganizationAdminAccountInput struct {

	// The Amazon Web Services account identifier of the account to designate as
	// the Detective administrator account for the organization.
	//
	// AccountId is a required field
	AccountId *string `min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableOrganizationAdminAccountInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableOrganizationAdminAccountInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (EnableOrganizationAdminAccountInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableOrganizationAdminAccountInput) Validate

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

type EnableOrganizationAdminAccountOutput

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

func (EnableOrganizationAdminAccountOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (EnableOrganizationAdminAccountOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FilterCriteria

type FilterCriteria struct {

	// Filter the investigation results based on when the investigation was created.
	CreatedTime *DateFilter `type:"structure"`

	// Filter the investigation results based on the Amazon Resource Name (ARN)
	// of the entity.
	EntityArn *StringFilter `type:"structure"`

	// Filter the investigation results based on the severity.
	Severity *StringFilter `type:"structure"`

	// Filter the investigation results based on the state.
	State *StringFilter `type:"structure"`

	// Filter the investigation results based on the status.
	Status *StringFilter `type:"structure"`
	// contains filtered or unexported fields
}

Details on the criteria used to define the filter for investigation results.

func (FilterCriteria) GoString

func (s FilterCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterCriteria) SetCreatedTime

func (s *FilterCriteria) SetCreatedTime(v *DateFilter) *FilterCriteria

SetCreatedTime sets the CreatedTime field's value.

func (*FilterCriteria) SetEntityArn

func (s *FilterCriteria) SetEntityArn(v *StringFilter) *FilterCriteria

SetEntityArn sets the EntityArn field's value.

func (*FilterCriteria) SetSeverity

func (s *FilterCriteria) SetSeverity(v *StringFilter) *FilterCriteria

SetSeverity sets the Severity field's value.

func (*FilterCriteria) SetState

func (s *FilterCriteria) SetState(v *StringFilter) *FilterCriteria

SetState sets the State field's value.

func (*FilterCriteria) SetStatus

func (s *FilterCriteria) SetStatus(v *StringFilter) *FilterCriteria

SetStatus sets the Status field's value.

func (FilterCriteria) String

func (s FilterCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterCriteria) Validate

func (s *FilterCriteria) Validate() error

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

type FlaggedIpAddressDetail

type FlaggedIpAddressDetail struct {

	// IP address of the suspicious entity.
	IpAddress *string `type:"string"`

	// Details the reason the IP address was flagged as suspicious.
	Reason *string `type:"string" enum:"Reason"`
	// contains filtered or unexported fields
}

Contains information on suspicious IP addresses identified as indicators of compromise. This indicator is derived from Amazon Web Services threat intelligence.

func (FlaggedIpAddressDetail) GoString

func (s FlaggedIpAddressDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FlaggedIpAddressDetail) SetIpAddress

SetIpAddress sets the IpAddress field's value.

func (*FlaggedIpAddressDetail) SetReason

SetReason sets the Reason field's value.

func (FlaggedIpAddressDetail) String

func (s FlaggedIpAddressDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetInvestigationInput

type GetInvestigationInput struct {

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// The investigation ID of the investigation report.
	//
	// InvestigationId is a required field
	InvestigationId *string `min:"21" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetInvestigationInput) GoString

func (s GetInvestigationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetInvestigationInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*GetInvestigationInput) SetInvestigationId

func (s *GetInvestigationInput) SetInvestigationId(v string) *GetInvestigationInput

SetInvestigationId sets the InvestigationId field's value.

func (GetInvestigationInput) String

func (s GetInvestigationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetInvestigationInput) Validate

func (s *GetInvestigationInput) Validate() error

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

type GetInvestigationOutput

type GetInvestigationOutput struct {

	// The UTC time stamp of the creation time of the investigation report.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
	EntityArn *string `type:"string"`

	// Type of entity. For example, Amazon Web Services accounts, such as IAM user
	// and role.
	EntityType *string `type:"string" enum:"EntityType"`

	// The ARN of the behavior graph.
	GraphArn *string `type:"string"`

	// The investigation ID of the investigation report.
	InvestigationId *string `min:"21" type:"string"`

	// The data and time when the investigation began. The value is an UTC ISO8601
	// formatted string. For example, 2021-08-18T16:35:56.284Z.
	ScopeEndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The start date and time for the scope time set to generate the investigation
	// report.
	ScopeStartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Severity based on the likelihood and impact of the indicators of compromise
	// discovered in the investigation.
	Severity *string `type:"string" enum:"Severity"`

	// The current state of the investigation. An archived investigation indicates
	// you have completed reviewing the investigation.
	State *string `type:"string" enum:"State"`

	// Status based on the completion status of the investigation.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

func (GetInvestigationOutput) GoString

func (s GetInvestigationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetInvestigationOutput) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*GetInvestigationOutput) SetEntityArn

SetEntityArn sets the EntityArn field's value.

func (*GetInvestigationOutput) SetEntityType

SetEntityType sets the EntityType field's value.

func (*GetInvestigationOutput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*GetInvestigationOutput) SetInvestigationId

func (s *GetInvestigationOutput) SetInvestigationId(v string) *GetInvestigationOutput

SetInvestigationId sets the InvestigationId field's value.

func (*GetInvestigationOutput) SetScopeEndTime

func (s *GetInvestigationOutput) SetScopeEndTime(v time.Time) *GetInvestigationOutput

SetScopeEndTime sets the ScopeEndTime field's value.

func (*GetInvestigationOutput) SetScopeStartTime

func (s *GetInvestigationOutput) SetScopeStartTime(v time.Time) *GetInvestigationOutput

SetScopeStartTime sets the ScopeStartTime field's value.

func (*GetInvestigationOutput) SetSeverity

SetSeverity sets the Severity field's value.

func (*GetInvestigationOutput) SetState

SetState sets the State field's value.

func (*GetInvestigationOutput) SetStatus

SetStatus sets the Status field's value.

func (GetInvestigationOutput) String

func (s GetInvestigationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMembersInput

type GetMembersInput struct {

	// The list of Amazon Web Services account identifiers for the member account
	// for which to return member details. You can request details for up to 50
	// member accounts at a time.
	//
	// You cannot use GetMembers to retrieve information about member accounts that
	// were removed from the behavior graph.
	//
	// AccountIds is a required field
	AccountIds []*string `min:"1" type:"list" required:"true"`

	// The ARN of the behavior graph for which to request the member details.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMembersInput) GoString

func (s GetMembersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMembersInput) SetAccountIds

func (s *GetMembersInput) SetAccountIds(v []*string) *GetMembersInput

SetAccountIds sets the AccountIds field's value.

func (*GetMembersInput) SetGraphArn

func (s *GetMembersInput) SetGraphArn(v string) *GetMembersInput

SetGraphArn sets the GraphArn field's value.

func (GetMembersInput) String

func (s GetMembersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The member account details that Detective is returning in response to the
	// request.
	MemberDetails []*MemberDetail `type:"list"`

	// The requested member accounts for which Detective was unable to return member
	// details.
	//
	// For each account, provides the reason why the request could not be processed.
	UnprocessedAccounts []*UnprocessedAccount `type:"list"`
	// contains filtered or unexported fields
}

func (GetMembersOutput) GoString

func (s GetMembersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMembersOutput) SetMemberDetails

func (s *GetMembersOutput) SetMemberDetails(v []*MemberDetail) *GetMembersOutput

SetMemberDetails sets the MemberDetails field's value.

func (*GetMembersOutput) SetUnprocessedAccounts

func (s *GetMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *GetMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (GetMembersOutput) String

func (s GetMembersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Graph

type Graph struct {

	// The ARN of the behavior graph.
	Arn *string `type:"string"`

	// The date and time that the behavior graph was created. The value is an ISO8601
	// formatted string. For example, 2021-08-18T16:35:56.284Z.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

A behavior graph in Detective.

func (Graph) GoString

func (s Graph) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Graph) SetArn

func (s *Graph) SetArn(v string) *Graph

SetArn sets the Arn field's value.

func (*Graph) SetCreatedTime

func (s *Graph) SetCreatedTime(v time.Time) *Graph

SetCreatedTime sets the CreatedTime field's value.

func (Graph) String

func (s Graph) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImpossibleTravelDetail

type ImpossibleTravelDetail struct {

	// IP address where the resource was last used in the impossible travel.
	EndingIpAddress *string `type:"string"`

	// Location where the resource was last used in the impossible travel.
	EndingLocation *string `type:"string"`

	// Returns the time difference between the first and last timestamp the resource
	// was used.
	HourlyTimeDelta *int64 `type:"integer"`

	// IP address where the resource was first used in the impossible travel
	StartingIpAddress *string `type:"string"`

	// Location where the resource was first used in the impossible travel
	StartingLocation *string `type:"string"`
	// contains filtered or unexported fields
}

Contains information on unusual and impossible travel in an account.

func (ImpossibleTravelDetail) GoString

func (s ImpossibleTravelDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImpossibleTravelDetail) SetEndingIpAddress

func (s *ImpossibleTravelDetail) SetEndingIpAddress(v string) *ImpossibleTravelDetail

SetEndingIpAddress sets the EndingIpAddress field's value.

func (*ImpossibleTravelDetail) SetEndingLocation

func (s *ImpossibleTravelDetail) SetEndingLocation(v string) *ImpossibleTravelDetail

SetEndingLocation sets the EndingLocation field's value.

func (*ImpossibleTravelDetail) SetHourlyTimeDelta

func (s *ImpossibleTravelDetail) SetHourlyTimeDelta(v int64) *ImpossibleTravelDetail

SetHourlyTimeDelta sets the HourlyTimeDelta field's value.

func (*ImpossibleTravelDetail) SetStartingIpAddress

func (s *ImpossibleTravelDetail) SetStartingIpAddress(v string) *ImpossibleTravelDetail

SetStartingIpAddress sets the StartingIpAddress field's value.

func (*ImpossibleTravelDetail) SetStartingLocation

func (s *ImpossibleTravelDetail) SetStartingLocation(v string) *ImpossibleTravelDetail

SetStartingLocation sets the StartingLocation field's value.

func (ImpossibleTravelDetail) String

func (s ImpossibleTravelDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Indicator

type Indicator struct {

	// Details about the indicator of compromise.
	IndicatorDetail *IndicatorDetail `type:"structure"`

	// The type of indicator.
	IndicatorType *string `type:"string" enum:"IndicatorType"`
	// contains filtered or unexported fields
}

Investigations triages indicators of compromises such as a finding and surfaces only the most critical and suspicious issues, so you can focus on high-level investigations.

func (Indicator) GoString

func (s Indicator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Indicator) SetIndicatorDetail

func (s *Indicator) SetIndicatorDetail(v *IndicatorDetail) *Indicator

SetIndicatorDetail sets the IndicatorDetail field's value.

func (*Indicator) SetIndicatorType

func (s *Indicator) SetIndicatorType(v string) *Indicator

SetIndicatorType sets the IndicatorType field's value.

func (Indicator) String

func (s Indicator) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IndicatorDetail

type IndicatorDetail struct {

	// Suspicious IP addresses that are flagged, which indicates critical or severe
	// threats based on threat intelligence by Detective. This indicator is derived
	// from AWS threat intelligence.
	FlaggedIpAddressDetail *FlaggedIpAddressDetail `type:"structure"`

	// Identifies unusual and impossible user activity for an account.
	ImpossibleTravelDetail *ImpossibleTravelDetail `type:"structure"`

	// Contains details about the new Autonomous System Organization (ASO).
	NewAsoDetail *NewAsoDetail `type:"structure"`

	// Contains details about the new geographic location.
	NewGeolocationDetail *NewGeolocationDetail `type:"structure"`

	// Contains details about the new user agent.
	NewUserAgentDetail *NewUserAgentDetail `type:"structure"`

	// Contains details about related findings.
	RelatedFindingDetail *RelatedFindingDetail `type:"structure"`

	// Contains details about related finding groups.
	RelatedFindingGroupDetail *RelatedFindingGroupDetail `type:"structure"`

	// Details about the indicator of compromise.
	TTPsObservedDetail *TTPsObservedDetail `type:"structure"`
	// contains filtered or unexported fields
}

Details about the indicators of compromise which are used to determine if a resource is involved in a security incident.

func (IndicatorDetail) GoString

func (s IndicatorDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IndicatorDetail) SetFlaggedIpAddressDetail

func (s *IndicatorDetail) SetFlaggedIpAddressDetail(v *FlaggedIpAddressDetail) *IndicatorDetail

SetFlaggedIpAddressDetail sets the FlaggedIpAddressDetail field's value.

func (*IndicatorDetail) SetImpossibleTravelDetail

func (s *IndicatorDetail) SetImpossibleTravelDetail(v *ImpossibleTravelDetail) *IndicatorDetail

SetImpossibleTravelDetail sets the ImpossibleTravelDetail field's value.

func (*IndicatorDetail) SetNewAsoDetail

func (s *IndicatorDetail) SetNewAsoDetail(v *NewAsoDetail) *IndicatorDetail

SetNewAsoDetail sets the NewAsoDetail field's value.

func (*IndicatorDetail) SetNewGeolocationDetail

func (s *IndicatorDetail) SetNewGeolocationDetail(v *NewGeolocationDetail) *IndicatorDetail

SetNewGeolocationDetail sets the NewGeolocationDetail field's value.

func (*IndicatorDetail) SetNewUserAgentDetail

func (s *IndicatorDetail) SetNewUserAgentDetail(v *NewUserAgentDetail) *IndicatorDetail

SetNewUserAgentDetail sets the NewUserAgentDetail field's value.

func (*IndicatorDetail) SetRelatedFindingDetail

func (s *IndicatorDetail) SetRelatedFindingDetail(v *RelatedFindingDetail) *IndicatorDetail

SetRelatedFindingDetail sets the RelatedFindingDetail field's value.

func (*IndicatorDetail) SetRelatedFindingGroupDetail

func (s *IndicatorDetail) SetRelatedFindingGroupDetail(v *RelatedFindingGroupDetail) *IndicatorDetail

SetRelatedFindingGroupDetail sets the RelatedFindingGroupDetail field's value.

func (*IndicatorDetail) SetTTPsObservedDetail

func (s *IndicatorDetail) SetTTPsObservedDetail(v *TTPsObservedDetail) *IndicatorDetail

SetTTPsObservedDetail sets the TTPsObservedDetail field's value.

func (IndicatorDetail) String

func (s IndicatorDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request was valid but failed because of a problem with the service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvestigationDetail

type InvestigationDetail struct {

	// The UTC time stamp of the creation time of the investigation report.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
	EntityArn *string `type:"string"`

	// Type of entity. For example, Amazon Web Services accounts, such as IAM user
	// and role.
	EntityType *string `type:"string" enum:"EntityType"`

	// The investigation ID of the investigation report.
	InvestigationId *string `min:"21" type:"string"`

	// Severity based on the likelihood and impact of the indicators of compromise
	// discovered in the investigation.
	Severity *string `type:"string" enum:"Severity"`

	// The current state of the investigation. An archived investigation indicates
	// you have completed reviewing the investigation.
	State *string `type:"string" enum:"State"`

	// Status based on the completion status of the investigation.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Details about the investigation related to a potential security event identified by Detective

func (InvestigationDetail) GoString

func (s InvestigationDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvestigationDetail) SetCreatedTime

func (s *InvestigationDetail) SetCreatedTime(v time.Time) *InvestigationDetail

SetCreatedTime sets the CreatedTime field's value.

func (*InvestigationDetail) SetEntityArn

func (s *InvestigationDetail) SetEntityArn(v string) *InvestigationDetail

SetEntityArn sets the EntityArn field's value.

func (*InvestigationDetail) SetEntityType

func (s *InvestigationDetail) SetEntityType(v string) *InvestigationDetail

SetEntityType sets the EntityType field's value.

func (*InvestigationDetail) SetInvestigationId

func (s *InvestigationDetail) SetInvestigationId(v string) *InvestigationDetail

SetInvestigationId sets the InvestigationId field's value.

func (*InvestigationDetail) SetSeverity

func (s *InvestigationDetail) SetSeverity(v string) *InvestigationDetail

SetSeverity sets the Severity field's value.

func (*InvestigationDetail) SetState

SetState sets the State field's value.

func (*InvestigationDetail) SetStatus

SetStatus sets the Status field's value.

func (InvestigationDetail) String

func (s InvestigationDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListDatasourcePackagesInput

type ListDatasourcePackagesInput struct {

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// The maximum number of results to return.
	MaxResults *int64 `min:"1" type:"integer"`

	// For requests to get the next page of results, the pagination token that was
	// returned with the previous set of results. The initial request does not include
	// a pagination token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDatasourcePackagesInput) GoString

func (s ListDatasourcePackagesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDatasourcePackagesInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*ListDatasourcePackagesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDatasourcePackagesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDatasourcePackagesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDatasourcePackagesInput) Validate

func (s *ListDatasourcePackagesInput) Validate() error

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

type ListDatasourcePackagesOutput

type ListDatasourcePackagesOutput struct {

	// Details on the data source packages active in the behavior graph.
	DatasourcePackages map[string]*DatasourcePackageIngestDetail `type:"map"`

	// For requests to get the next page of results, the pagination token that was
	// returned with the previous set of results. The initial request does not include
	// a pagination token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDatasourcePackagesOutput) GoString

func (s ListDatasourcePackagesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDatasourcePackagesOutput) SetDatasourcePackages

SetDatasourcePackages sets the DatasourcePackages field's value.

func (*ListDatasourcePackagesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDatasourcePackagesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGraphsInput

type ListGraphsInput struct {

	// The maximum number of graphs to return at a time. The total must be less
	// than the overall limit on the number of results to return, which is currently
	// 200.
	MaxResults *int64 `min:"1" type:"integer"`

	// For requests to get the next page of results, the pagination token that was
	// returned with the previous set of results. The initial request does not include
	// a pagination token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGraphsInput) GoString

func (s ListGraphsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGraphsInput) SetMaxResults

func (s *ListGraphsInput) SetMaxResults(v int64) *ListGraphsInput

SetMaxResults sets the MaxResults field's value.

func (*ListGraphsInput) SetNextToken

func (s *ListGraphsInput) SetNextToken(v string) *ListGraphsInput

SetNextToken sets the NextToken field's value.

func (ListGraphsInput) String

func (s ListGraphsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGraphsInput) Validate

func (s *ListGraphsInput) Validate() error

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

type ListGraphsOutput

type ListGraphsOutput struct {

	// A list of behavior graphs that the account is an administrator account for.
	GraphList []*Graph `type:"list"`

	// If there are more behavior graphs remaining in the results, then this is
	// the pagination token to use to request the next page of behavior graphs.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGraphsOutput) GoString

func (s ListGraphsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGraphsOutput) SetGraphList

func (s *ListGraphsOutput) SetGraphList(v []*Graph) *ListGraphsOutput

SetGraphList sets the GraphList field's value.

func (*ListGraphsOutput) SetNextToken

func (s *ListGraphsOutput) SetNextToken(v string) *ListGraphsOutput

SetNextToken sets the NextToken field's value.

func (ListGraphsOutput) String

func (s ListGraphsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListIndicatorsInput

type ListIndicatorsInput struct {

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// See Detective investigations. (https://docs.aws.amazon.com/detective/latest/userguide/detective-investigations.html).
	IndicatorType *string `type:"string" enum:"IndicatorType"`

	// The investigation ID of the investigation report.
	//
	// InvestigationId is a required field
	InvestigationId *string `min:"21" type:"string" required:"true"`

	// List the maximum number of indicators in a page.
	MaxResults *int64 `min:"1" type:"integer"`

	// List if there are more results available. The value of nextToken is a unique
	// pagination token for each page. Repeat the call using the returned token
	// to retrieve the next page. Keep all other arguments unchanged.
	//
	// Each pagination token expires after 24 hours. Using an expired pagination
	// token will return a Validation Exception error.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListIndicatorsInput) GoString

func (s ListIndicatorsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListIndicatorsInput) SetGraphArn

func (s *ListIndicatorsInput) SetGraphArn(v string) *ListIndicatorsInput

SetGraphArn sets the GraphArn field's value.

func (*ListIndicatorsInput) SetIndicatorType

func (s *ListIndicatorsInput) SetIndicatorType(v string) *ListIndicatorsInput

SetIndicatorType sets the IndicatorType field's value.

func (*ListIndicatorsInput) SetInvestigationId

func (s *ListIndicatorsInput) SetInvestigationId(v string) *ListIndicatorsInput

SetInvestigationId sets the InvestigationId field's value.

func (*ListIndicatorsInput) SetMaxResults

func (s *ListIndicatorsInput) SetMaxResults(v int64) *ListIndicatorsInput

SetMaxResults sets the MaxResults field's value.

func (*ListIndicatorsInput) SetNextToken

func (s *ListIndicatorsInput) SetNextToken(v string) *ListIndicatorsInput

SetNextToken sets the NextToken field's value.

func (ListIndicatorsInput) String

func (s ListIndicatorsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListIndicatorsInput) Validate

func (s *ListIndicatorsInput) Validate() error

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

type ListIndicatorsOutput

type ListIndicatorsOutput struct {

	// The ARN of the behavior graph.
	GraphArn *string `type:"string"`

	// Indicators of compromise listed based on severity.
	Indicators []*Indicator `type:"list"`

	// The investigation ID of the investigation report.
	InvestigationId *string `min:"21" type:"string"`

	// List if there are more results available. The value of nextToken is a unique
	// pagination token for each page. Repeat the call using the returned token
	// to retrieve the next page. Keep all other arguments unchanged.
	//
	// Each pagination token expires after 24 hours. Using an expired pagination
	// token will return a Validation Exception error.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListIndicatorsOutput) GoString

func (s ListIndicatorsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListIndicatorsOutput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*ListIndicatorsOutput) SetIndicators

func (s *ListIndicatorsOutput) SetIndicators(v []*Indicator) *ListIndicatorsOutput

SetIndicators sets the Indicators field's value.

func (*ListIndicatorsOutput) SetInvestigationId

func (s *ListIndicatorsOutput) SetInvestigationId(v string) *ListIndicatorsOutput

SetInvestigationId sets the InvestigationId field's value.

func (*ListIndicatorsOutput) SetNextToken

func (s *ListIndicatorsOutput) SetNextToken(v string) *ListIndicatorsOutput

SetNextToken sets the NextToken field's value.

func (ListIndicatorsOutput) String

func (s ListIndicatorsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInvestigationsInput

type ListInvestigationsInput struct {

	// Filter the investigation results based on a criteria.
	FilterCriteria *FilterCriteria `type:"structure"`

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// List the maximum number of investigations in a page.
	MaxResults *int64 `min:"1" type:"integer"`

	// List if there are more results available. The value of nextToken is a unique
	// pagination token for each page. Repeat the call using the returned token
	// to retrieve the next page. Keep all other arguments unchanged.
	//
	// Each pagination token expires after 24 hours. Using an expired pagination
	// token will return a Validation Exception error.
	NextToken *string `min:"1" type:"string"`

	// Sorts the investigation results based on a criteria.
	SortCriteria *SortCriteria `type:"structure"`
	// contains filtered or unexported fields
}

func (ListInvestigationsInput) GoString

func (s ListInvestigationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInvestigationsInput) SetFilterCriteria

SetFilterCriteria sets the FilterCriteria field's value.

func (*ListInvestigationsInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*ListInvestigationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListInvestigationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListInvestigationsInput) SetSortCriteria

SetSortCriteria sets the SortCriteria field's value.

func (ListInvestigationsInput) String

func (s ListInvestigationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInvestigationsInput) Validate

func (s *ListInvestigationsInput) Validate() error

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

type ListInvestigationsOutput

type ListInvestigationsOutput struct {

	// Investigations details lists the summary of uncommon behavior or malicious
	// activity which indicates a compromise.
	InvestigationDetails []*InvestigationDetail `type:"list"`

	// List if there are more results available. The value of nextToken is a unique
	// pagination token for each page. Repeat the call using the returned token
	// to retrieve the next page. Keep all other arguments unchanged.
	//
	// Each pagination token expires after 24 hours. Using an expired pagination
	// token will return an HTTP 400 InvalidToken error.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListInvestigationsOutput) GoString

func (s ListInvestigationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInvestigationsOutput) SetInvestigationDetails

func (s *ListInvestigationsOutput) SetInvestigationDetails(v []*InvestigationDetail) *ListInvestigationsOutput

SetInvestigationDetails sets the InvestigationDetails field's value.

func (*ListInvestigationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListInvestigationsOutput) String

func (s ListInvestigationsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInvitationsInput

type ListInvitationsInput struct {

	// The maximum number of behavior graph invitations to return in the response.
	// The total must be less than the overall limit on the number of results to
	// return, which is currently 200.
	MaxResults *int64 `min:"1" type:"integer"`

	// For requests to retrieve the next page of results, the pagination token that
	// was returned with the previous page of results. The initial request does
	// not include a pagination token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListInvitationsInput) GoString

func (s ListInvitationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInvitationsInput) SetMaxResults

func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListInvitationsInput) SetNextToken

func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput

SetNextToken sets the NextToken field's value.

func (ListInvitationsInput) String

func (s ListInvitationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The list of behavior graphs for which the member account has open or accepted
	// invitations.
	Invitations []*MemberDetail `type:"list"`

	// If there are more behavior graphs remaining in the results, then this is
	// the pagination token to use to request the next page of behavior graphs.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListInvitationsOutput) GoString

func (s ListInvitationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInvitationsOutput) SetInvitations

func (s *ListInvitationsOutput) SetInvitations(v []*MemberDetail) *ListInvitationsOutput

SetInvitations sets the Invitations field's value.

func (*ListInvitationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListMembersInput

type ListMembersInput struct {

	// The ARN of the behavior graph for which to retrieve the list of member accounts.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// The maximum number of member accounts to include in the response. The total
	// must be less than the overall limit on the number of results to return, which
	// is currently 200.
	MaxResults *int64 `min:"1" type:"integer"`

	// For requests to retrieve the next page of member account results, the pagination
	// token that was returned with the previous page of results. The initial request
	// does not include a pagination token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMembersInput) GoString

func (s ListMembersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMembersInput) SetGraphArn

func (s *ListMembersInput) SetGraphArn(v string) *ListMembersInput

SetGraphArn sets the GraphArn field's value.

func (*ListMembersInput) SetMaxResults

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetNextToken

func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput

SetNextToken sets the NextToken field's value.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The list of member accounts in the behavior graph.
	//
	// For invited accounts, the results include member accounts that did not pass
	// verification and member accounts that have not yet accepted the invitation
	// to the behavior graph. The results do not include member accounts that were
	// removed from the behavior graph.
	//
	// For the organization behavior graph, the results do not include organization
	// accounts that the Detective administrator account has not enabled as member
	// accounts.
	MemberDetails []*MemberDetail `type:"list"`

	// If there are more member accounts remaining in the results, then use this
	// pagination token to request the next page of member accounts.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMembersOutput) GoString

func (s ListMembersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListMembersOutput) SetMemberDetails

func (s *ListMembersOutput) SetMemberDetails(v []*MemberDetail) *ListMembersOutput

SetMemberDetails sets the MemberDetails field's value.

func (*ListMembersOutput) SetNextToken

func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListOrganizationAdminAccountsInput

type ListOrganizationAdminAccountsInput struct {

	// The maximum number of results to return.
	MaxResults *int64 `min:"1" type:"integer"`

	// For requests to get the next page of results, the pagination token that was
	// returned with the previous set of results. The initial request does not include
	// a pagination token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListOrganizationAdminAccountsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOrganizationAdminAccountsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationAdminAccountsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListOrganizationAdminAccountsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOrganizationAdminAccountsInput) Validate

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

type ListOrganizationAdminAccountsOutput

type ListOrganizationAdminAccountsOutput struct {

	// The list of Detective administrator accounts.
	Administrators []*Administrator `type:"list"`

	// If there are more accounts remaining in the results, then this is the pagination
	// token to use to request the next page of accounts.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListOrganizationAdminAccountsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOrganizationAdminAccountsOutput) SetAdministrators

SetAdministrators sets the Administrators field's value.

func (*ListOrganizationAdminAccountsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListOrganizationAdminAccountsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the behavior graph for which to retrieve the tag values.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tag values that are assigned to the behavior graph. The request returns
	// up to 50 tag values.
	Tags map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MemberDetail

type MemberDetail struct {

	// The Amazon Web Services account identifier for the member account.
	AccountId *string `min:"12" type:"string"`

	// The Amazon Web Services account identifier of the administrator account for
	// the behavior graph.
	AdministratorId *string `min:"12" type:"string"`

	// The state of a data source package for the behavior graph.
	DatasourcePackageIngestStates map[string]*string `type:"map"`

	// For member accounts with a status of ACCEPTED_BUT_DISABLED, the reason that
	// the member account is not enabled.
	//
	// The reason can have one of the following values:
	//
	//    * VOLUME_TOO_HIGH - Indicates that adding the member account would cause
	//    the data volume for the behavior graph to be too high.
	//
	//    * VOLUME_UNKNOWN - Indicates that Detective is unable to verify the data
	//    volume for the member account. This is usually because the member account
	//    is not enrolled in Amazon GuardDuty.
	DisabledReason *string `type:"string" enum:"MemberDisabledReason"`

	// The Amazon Web Services account root user email address for the member account.
	//
	// EmailAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by MemberDetail's
	// String and GoString methods.
	EmailAddress *string `min:"1" type:"string" sensitive:"true"`

	// The ARN of the behavior graph.
	GraphArn *string `type:"string"`

	// The type of behavior graph membership.
	//
	// For an organization account in the organization behavior graph, the type
	// is ORGANIZATION.
	//
	// For an account that was invited to a behavior graph, the type is INVITATION.
	InvitationType *string `type:"string" enum:"InvitationType"`

	// For invited accounts, the date and time that Detective sent the invitation
	// to the account. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	InvitedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The Amazon Web Services account identifier of the administrator account for
	// the behavior graph.
	//
	// Deprecated: This property is deprecated. Use AdministratorId instead.
	MasterId *string `min:"12" deprecated:"true" type:"string"`

	// The member account data volume as a percentage of the maximum allowed data
	// volume. 0 indicates 0 percent, and 100 indicates 100 percent.
	//
	// Note that this is not the percentage of the behavior graph data volume.
	//
	// For example, the data volume for the behavior graph is 80 GB per day. The
	// maximum data volume is 160 GB per day. If the data volume for the member
	// account is 40 GB per day, then PercentOfGraphUtilization is 25. It represents
	// 25% of the maximum allowed data volume.
	//
	// Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.
	PercentOfGraphUtilization *float64 `deprecated:"true" type:"double"`

	// The date and time when the graph utilization percentage was last updated.
	// The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	//
	// Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.
	PercentOfGraphUtilizationUpdatedTime *time.Time `deprecated:"true" type:"timestamp" timestampFormat:"iso8601"`

	// The current membership status of the member account. The status can have
	// one of the following values:
	//
	//    * INVITED - For invited accounts only. Indicates that the member was sent
	//    an invitation but has not yet responded.
	//
	//    * VERIFICATION_IN_PROGRESS - For invited accounts only, indicates that
	//    Detective is verifying that the account identifier and email address provided
	//    for the member account match. If they do match, then Detective sends the
	//    invitation. If the email address and account identifier don't match, then
	//    the member cannot be added to the behavior graph. For organization accounts
	//    in the organization behavior graph, indicates that Detective is verifying
	//    that the account belongs to the organization.
	//
	//    * VERIFICATION_FAILED - For invited accounts only. Indicates that the
	//    account and email address provided for the member account do not match,
	//    and Detective did not send an invitation to the account.
	//
	//    * ENABLED - Indicates that the member account currently contributes data
	//    to the behavior graph. For invited accounts, the member account accepted
	//    the invitation. For organization accounts in the organization behavior
	//    graph, the Detective administrator account enabled the organization account
	//    as a member account.
	//
	//    * ACCEPTED_BUT_DISABLED - The account accepted the invitation, or was
	//    enabled by the Detective administrator account, but is prevented from
	//    contributing data to the behavior graph. DisabledReason provides the reason
	//    why the member account is not enabled.
	//
	// Invited accounts that declined an invitation or that were removed from the
	// behavior graph are not included. In the organization behavior graph, organization
	// accounts that the Detective administrator account did not enable are not
	// included.
	Status *string `type:"string" enum:"MemberStatus"`

	// The date and time that the member account was last updated. The value is
	// an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	UpdatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Details on the volume of usage for each data source package in a behavior
	// graph.
	VolumeUsageByDatasourcePackage map[string]*DatasourcePackageUsageInfo `type:"map"`

	// The data volume in bytes per day for the member account.
	//
	// Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.
	VolumeUsageInBytes *int64 `deprecated:"true" type:"long"`

	// The data and time when the member account data volume was last updated. The
	// value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	//
	// Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.
	VolumeUsageUpdatedTime *time.Time `deprecated:"true" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Details about a member account in a behavior graph.

func (MemberDetail) GoString

func (s MemberDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MemberDetail) SetAccountId

func (s *MemberDetail) SetAccountId(v string) *MemberDetail

SetAccountId sets the AccountId field's value.

func (*MemberDetail) SetAdministratorId

func (s *MemberDetail) SetAdministratorId(v string) *MemberDetail

SetAdministratorId sets the AdministratorId field's value.

func (*MemberDetail) SetDatasourcePackageIngestStates

func (s *MemberDetail) SetDatasourcePackageIngestStates(v map[string]*string) *MemberDetail

SetDatasourcePackageIngestStates sets the DatasourcePackageIngestStates field's value.

func (*MemberDetail) SetDisabledReason

func (s *MemberDetail) SetDisabledReason(v string) *MemberDetail

SetDisabledReason sets the DisabledReason field's value.

func (*MemberDetail) SetEmailAddress

func (s *MemberDetail) SetEmailAddress(v string) *MemberDetail

SetEmailAddress sets the EmailAddress field's value.

func (*MemberDetail) SetGraphArn

func (s *MemberDetail) SetGraphArn(v string) *MemberDetail

SetGraphArn sets the GraphArn field's value.

func (*MemberDetail) SetInvitationType

func (s *MemberDetail) SetInvitationType(v string) *MemberDetail

SetInvitationType sets the InvitationType field's value.

func (*MemberDetail) SetInvitedTime

func (s *MemberDetail) SetInvitedTime(v time.Time) *MemberDetail

SetInvitedTime sets the InvitedTime field's value.

func (*MemberDetail) SetMasterId

func (s *MemberDetail) SetMasterId(v string) *MemberDetail

SetMasterId sets the MasterId field's value.

func (*MemberDetail) SetPercentOfGraphUtilization

func (s *MemberDetail) SetPercentOfGraphUtilization(v float64) *MemberDetail

SetPercentOfGraphUtilization sets the PercentOfGraphUtilization field's value.

func (*MemberDetail) SetPercentOfGraphUtilizationUpdatedTime

func (s *MemberDetail) SetPercentOfGraphUtilizationUpdatedTime(v time.Time) *MemberDetail

SetPercentOfGraphUtilizationUpdatedTime sets the PercentOfGraphUtilizationUpdatedTime field's value.

func (*MemberDetail) SetStatus

func (s *MemberDetail) SetStatus(v string) *MemberDetail

SetStatus sets the Status field's value.

func (*MemberDetail) SetUpdatedTime

func (s *MemberDetail) SetUpdatedTime(v time.Time) *MemberDetail

SetUpdatedTime sets the UpdatedTime field's value.

func (*MemberDetail) SetVolumeUsageByDatasourcePackage

func (s *MemberDetail) SetVolumeUsageByDatasourcePackage(v map[string]*DatasourcePackageUsageInfo) *MemberDetail

SetVolumeUsageByDatasourcePackage sets the VolumeUsageByDatasourcePackage field's value.

func (*MemberDetail) SetVolumeUsageInBytes

func (s *MemberDetail) SetVolumeUsageInBytes(v int64) *MemberDetail

SetVolumeUsageInBytes sets the VolumeUsageInBytes field's value.

func (*MemberDetail) SetVolumeUsageUpdatedTime

func (s *MemberDetail) SetVolumeUsageUpdatedTime(v time.Time) *MemberDetail

SetVolumeUsageUpdatedTime sets the VolumeUsageUpdatedTime field's value.

func (MemberDetail) String

func (s MemberDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MembershipDatasources

type MembershipDatasources struct {

	// The account identifier of the Amazon Web Services account.
	AccountId *string `min:"12" type:"string"`

	// Details on when a data source package was added to a behavior graph.
	DatasourcePackageIngestHistory map[string]map[string]*TimestampForCollection `type:"map"`

	// The ARN of the organization behavior graph.
	GraphArn *string `type:"string"`
	// contains filtered or unexported fields
}

Details on data source packages for members of the behavior graph.

func (MembershipDatasources) GoString

func (s MembershipDatasources) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MembershipDatasources) SetAccountId

SetAccountId sets the AccountId field's value.

func (*MembershipDatasources) SetDatasourcePackageIngestHistory

func (s *MembershipDatasources) SetDatasourcePackageIngestHistory(v map[string]map[string]*TimestampForCollection) *MembershipDatasources

SetDatasourcePackageIngestHistory sets the DatasourcePackageIngestHistory field's value.

func (*MembershipDatasources) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (MembershipDatasources) String

func (s MembershipDatasources) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NewAsoDetail

type NewAsoDetail struct {

	// Details about the new Autonomous System Organization (ASO).
	Aso *string `type:"string"`

	// Checks if the ASO is for new for the entire account.
	IsNewForEntireAccount *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Details new Autonomous System Organizations (ASOs) used either at the resource or account level.

func (NewAsoDetail) GoString

func (s NewAsoDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewAsoDetail) SetAso

func (s *NewAsoDetail) SetAso(v string) *NewAsoDetail

SetAso sets the Aso field's value.

func (*NewAsoDetail) SetIsNewForEntireAccount

func (s *NewAsoDetail) SetIsNewForEntireAccount(v bool) *NewAsoDetail

SetIsNewForEntireAccount sets the IsNewForEntireAccount field's value.

func (NewAsoDetail) String

func (s NewAsoDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NewGeolocationDetail

type NewGeolocationDetail struct {

	// IP address using which the resource was accessed.
	IpAddress *string `type:"string"`

	// Checks if the gelocation is new for the entire account.
	IsNewForEntireAccount *bool `type:"boolean"`

	// Location where the resource was accessed.
	Location *string `type:"string"`
	// contains filtered or unexported fields
}

Details new geolocations used either at the resource or account level. For example, lists an observed geolocation that is an infrequent or unused location based on previous user activity.

func (NewGeolocationDetail) GoString

func (s NewGeolocationDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewGeolocationDetail) SetIpAddress

func (s *NewGeolocationDetail) SetIpAddress(v string) *NewGeolocationDetail

SetIpAddress sets the IpAddress field's value.

func (*NewGeolocationDetail) SetIsNewForEntireAccount

func (s *NewGeolocationDetail) SetIsNewForEntireAccount(v bool) *NewGeolocationDetail

SetIsNewForEntireAccount sets the IsNewForEntireAccount field's value.

func (*NewGeolocationDetail) SetLocation

SetLocation sets the Location field's value.

func (NewGeolocationDetail) String

func (s NewGeolocationDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NewUserAgentDetail

type NewUserAgentDetail struct {

	// Checks if the user agent is new for the entire account.
	IsNewForEntireAccount *bool `type:"boolean"`

	// New user agent which accessed the resource.
	UserAgent *string `type:"string"`
	// contains filtered or unexported fields
}

Details new user agents used either at the resource or account level.

func (NewUserAgentDetail) GoString

func (s NewUserAgentDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewUserAgentDetail) SetIsNewForEntireAccount

func (s *NewUserAgentDetail) SetIsNewForEntireAccount(v bool) *NewUserAgentDetail

SetIsNewForEntireAccount sets the IsNewForEntireAccount field's value.

func (*NewUserAgentDetail) SetUserAgent

func (s *NewUserAgentDetail) SetUserAgent(v string) *NewUserAgentDetail

SetUserAgent sets the UserAgent field's value.

func (NewUserAgentDetail) String

func (s NewUserAgentDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RejectInvitationInput

type RejectInvitationInput struct {

	// The ARN of the behavior graph to reject the invitation to.
	//
	// The member account's current member status in the behavior graph must be
	// INVITED.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RejectInvitationInput) GoString

func (s RejectInvitationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RejectInvitationInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (RejectInvitationInput) String

func (s RejectInvitationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RejectInvitationInput) Validate

func (s *RejectInvitationInput) Validate() error

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

type RejectInvitationOutput

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

func (RejectInvitationOutput) GoString

func (s RejectInvitationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RejectInvitationOutput) String

func (s RejectInvitationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RelatedFindingDetail

type RelatedFindingDetail struct {

	// The ARN of the related finding.
	Arn *string `type:"string"`

	// The IP address of the finding.
	IpAddress *string `type:"string"`

	// The type of finding.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Details related activities associated with a potential security event. Lists all distinct categories of evidence that are connected to the resource or the finding group.

func (RelatedFindingDetail) GoString

func (s RelatedFindingDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RelatedFindingDetail) SetArn

SetArn sets the Arn field's value.

func (*RelatedFindingDetail) SetIpAddress

func (s *RelatedFindingDetail) SetIpAddress(v string) *RelatedFindingDetail

SetIpAddress sets the IpAddress field's value.

func (*RelatedFindingDetail) SetType

SetType sets the Type field's value.

func (RelatedFindingDetail) String

func (s RelatedFindingDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RelatedFindingGroupDetail

type RelatedFindingGroupDetail struct {

	// The unique identifier for the finding group.
	Id *string `type:"string"`
	// contains filtered or unexported fields
}

Details multiple activities as they related to a potential security event. Detective uses graph analysis technique that infers relationships between findings and entities, and groups them together as a finding group.

func (RelatedFindingGroupDetail) GoString

func (s RelatedFindingGroupDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RelatedFindingGroupDetail) SetId

SetId sets the Id field's value.

func (RelatedFindingGroupDetail) String

func (s RelatedFindingGroupDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request refers to a nonexistent resource.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The type of resource that has exceeded the service quota.
	Resources []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

This request cannot be completed for one of the following reasons.

  • The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.

  • The request would cause the data rate for the behavior graph to exceed the maximum allowed.

  • Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SortCriteria

type SortCriteria struct {

	// Represents the Field attribute to sort investigations.
	Field *string `type:"string" enum:"Field"`

	// The order by which the sorted findings are displayed.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Details about the criteria used for sorting investigations.

func (SortCriteria) GoString

func (s SortCriteria) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SortCriteria) SetField

func (s *SortCriteria) SetField(v string) *SortCriteria

SetField sets the Field field's value.

func (*SortCriteria) SetSortOrder

func (s *SortCriteria) SetSortOrder(v string) *SortCriteria

SetSortOrder sets the SortOrder field's value.

func (SortCriteria) String

func (s SortCriteria) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartInvestigationInput

type StartInvestigationInput struct {

	// The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
	//
	// EntityArn is a required field
	EntityArn *string `type:"string" required:"true"`

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// The data and time when the investigation began. The value is an UTC ISO8601
	// formatted string. For example, 2021-08-18T16:35:56.284Z.
	//
	// ScopeEndTime is a required field
	ScopeEndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The data and time when the investigation began. The value is an UTC ISO8601
	// formatted string. For example, 2021-08-18T16:35:56.284Z.
	//
	// ScopeStartTime is a required field
	ScopeStartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (StartInvestigationInput) GoString

func (s StartInvestigationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartInvestigationInput) SetEntityArn

SetEntityArn sets the EntityArn field's value.

func (*StartInvestigationInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*StartInvestigationInput) SetScopeEndTime

SetScopeEndTime sets the ScopeEndTime field's value.

func (*StartInvestigationInput) SetScopeStartTime

func (s *StartInvestigationInput) SetScopeStartTime(v time.Time) *StartInvestigationInput

SetScopeStartTime sets the ScopeStartTime field's value.

func (StartInvestigationInput) String

func (s StartInvestigationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartInvestigationInput) Validate

func (s *StartInvestigationInput) Validate() error

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

type StartInvestigationOutput

type StartInvestigationOutput struct {

	// The investigation ID of the investigation report.
	InvestigationId *string `min:"21" type:"string"`
	// contains filtered or unexported fields
}

func (StartInvestigationOutput) GoString

func (s StartInvestigationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartInvestigationOutput) SetInvestigationId

func (s *StartInvestigationOutput) SetInvestigationId(v string) *StartInvestigationOutput

SetInvestigationId sets the InvestigationId field's value.

func (StartInvestigationOutput) String

func (s StartInvestigationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartMonitoringMemberInput

type StartMonitoringMemberInput struct {

	// The account ID of the member account to try to enable.
	//
	// The account must be an invited member account with a status of ACCEPTED_BUT_DISABLED.
	//
	// AccountId is a required field
	AccountId *string `min:"12" type:"string" required:"true"`

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartMonitoringMemberInput) GoString

func (s StartMonitoringMemberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMonitoringMemberInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*StartMonitoringMemberInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (StartMonitoringMemberInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartMonitoringMemberInput) Validate

func (s *StartMonitoringMemberInput) Validate() error

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

type StartMonitoringMemberOutput

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

func (StartMonitoringMemberOutput) GoString

func (s StartMonitoringMemberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (StartMonitoringMemberOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StringFilter

type StringFilter struct {

	// The string filter value.
	//
	// Value is a required field
	Value *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A string for filtering Detective investigations.

func (StringFilter) GoString

func (s StringFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StringFilter) SetValue

func (s *StringFilter) SetValue(v string) *StringFilter

SetValue sets the Value field's value.

func (StringFilter) String

func (s StringFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StringFilter) Validate

func (s *StringFilter) Validate() error

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

type TTPsObservedDetail

type TTPsObservedDetail struct {

	// The total number of failed API requests.
	APIFailureCount *int64 `type:"long"`

	// The name of the API where the TTP was observed.
	APIName *string `type:"string"`

	// The total number of successful API requests.
	APISuccessCount *int64 `type:"long"`

	// The IP address where the TTP was observed.
	IpAddress *string `type:"string"`

	// The procedure used, identified by the investigation.
	Procedure *string `type:"string"`

	// The tactic used, identified by the investigation.
	Tactic *string `type:"string"`

	// The technique used, identified by the investigation.
	Technique *string `type:"string"`
	// contains filtered or unexported fields
}

Details tactics, techniques, and procedures (TTPs) used in a potential security event. Tactics are based on MITRE ATT&CK Matrix for Enterprise (https://attack.mitre.org/matrices/enterprise/).

func (TTPsObservedDetail) GoString

func (s TTPsObservedDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TTPsObservedDetail) SetAPIFailureCount

func (s *TTPsObservedDetail) SetAPIFailureCount(v int64) *TTPsObservedDetail

SetAPIFailureCount sets the APIFailureCount field's value.

func (*TTPsObservedDetail) SetAPIName

func (s *TTPsObservedDetail) SetAPIName(v string) *TTPsObservedDetail

SetAPIName sets the APIName field's value.

func (*TTPsObservedDetail) SetAPISuccessCount

func (s *TTPsObservedDetail) SetAPISuccessCount(v int64) *TTPsObservedDetail

SetAPISuccessCount sets the APISuccessCount field's value.

func (*TTPsObservedDetail) SetIpAddress

func (s *TTPsObservedDetail) SetIpAddress(v string) *TTPsObservedDetail

SetIpAddress sets the IpAddress field's value.

func (*TTPsObservedDetail) SetProcedure

func (s *TTPsObservedDetail) SetProcedure(v string) *TTPsObservedDetail

SetProcedure sets the Procedure field's value.

func (*TTPsObservedDetail) SetTactic

func (s *TTPsObservedDetail) SetTactic(v string) *TTPsObservedDetail

SetTactic sets the Tactic field's value.

func (*TTPsObservedDetail) SetTechnique

func (s *TTPsObservedDetail) SetTechnique(v string) *TTPsObservedDetail

SetTechnique sets the Technique field's value.

func (TTPsObservedDetail) String

func (s TTPsObservedDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the behavior graph to assign the tags to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tags to assign to the behavior graph. You can add up to 50 tags. For
	// each tag, you provide the tag key and the tag value. Each tag key can contain
	// up to 128 characters. Each tag value can contain up to 256 characters.
	//
	// Tags is a required field
	Tags map[string]*string `min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TimestampForCollection

type TimestampForCollection struct {

	// The data and time when data collection began for a source package. The value
	// is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
	Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Details on when data collection began for a source package.

func (TimestampForCollection) GoString

func (s TimestampForCollection) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TimestampForCollection) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (TimestampForCollection) String

func (s TimestampForCollection) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TooManyRequestsException

type TooManyRequestsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request cannot be completed because too many other requests are occurring at the same time.

func (*TooManyRequestsException) Code

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString

func (s TooManyRequestsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TooManyRequestsException) Message

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode

func (s *TooManyRequestsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyRequestsException) String

func (s TooManyRequestsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnprocessedAccount

type UnprocessedAccount struct {

	// The Amazon Web Services account identifier of the member account that was
	// not processed.
	AccountId *string `min:"12" type:"string"`

	// The reason that the member account request could not be processed.
	Reason *string `type:"string"`
	// contains filtered or unexported fields
}

A member account that was included in a request but for which the request could not be processed.

func (UnprocessedAccount) GoString

func (s UnprocessedAccount) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnprocessedAccount) SetAccountId

func (s *UnprocessedAccount) SetAccountId(v string) *UnprocessedAccount

SetAccountId sets the AccountId field's value.

func (*UnprocessedAccount) SetReason

func (s *UnprocessedAccount) SetReason(v string) *UnprocessedAccount

SetReason sets the Reason field's value.

func (UnprocessedAccount) String

func (s UnprocessedAccount) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnprocessedGraph

type UnprocessedGraph struct {

	// The ARN of the organization behavior graph.
	GraphArn *string `type:"string"`

	// The reason data source package information could not be processed for a behavior
	// graph.
	Reason *string `type:"string"`
	// contains filtered or unexported fields
}

Behavior graphs that could not be processed in the request.

func (UnprocessedGraph) GoString

func (s UnprocessedGraph) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnprocessedGraph) SetGraphArn

func (s *UnprocessedGraph) SetGraphArn(v string) *UnprocessedGraph

SetGraphArn sets the GraphArn field's value.

func (*UnprocessedGraph) SetReason

func (s *UnprocessedGraph) SetReason(v string) *UnprocessedGraph

SetReason sets the Reason field's value.

func (UnprocessedGraph) String

func (s UnprocessedGraph) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the behavior graph to remove the tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tag keys of the tags to remove from the behavior graph. You can remove
	// up to 50 tags at a time.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateDatasourcePackagesInput

type UpdateDatasourcePackagesInput struct {

	// The data source package start for the behavior graph.
	//
	// DatasourcePackages is a required field
	DatasourcePackages []*string `min:"1" type:"list" required:"true" enum:"DatasourcePackage"`

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDatasourcePackagesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateDatasourcePackagesInput) SetDatasourcePackages

func (s *UpdateDatasourcePackagesInput) SetDatasourcePackages(v []*string) *UpdateDatasourcePackagesInput

SetDatasourcePackages sets the DatasourcePackages field's value.

func (*UpdateDatasourcePackagesInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (UpdateDatasourcePackagesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateDatasourcePackagesInput) Validate

func (s *UpdateDatasourcePackagesInput) Validate() error

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

type UpdateDatasourcePackagesOutput

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

func (UpdateDatasourcePackagesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateDatasourcePackagesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateInvestigationStateInput

type UpdateInvestigationStateInput struct {

	// The ARN of the behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`

	// The investigation ID of the investigation report.
	//
	// InvestigationId is a required field
	InvestigationId *string `min:"21" type:"string" required:"true"`

	// The current state of the investigation. An archived investigation indicates
	// you have completed reviewing the investigation.
	//
	// State is a required field
	State *string `type:"string" required:"true" enum:"State"`
	// contains filtered or unexported fields
}

func (UpdateInvestigationStateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateInvestigationStateInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (*UpdateInvestigationStateInput) SetInvestigationId

SetInvestigationId sets the InvestigationId field's value.

func (*UpdateInvestigationStateInput) SetState

SetState sets the State field's value.

func (UpdateInvestigationStateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateInvestigationStateInput) Validate

func (s *UpdateInvestigationStateInput) Validate() error

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

type UpdateInvestigationStateOutput

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

func (UpdateInvestigationStateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateInvestigationStateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateOrganizationConfigurationInput

type UpdateOrganizationConfigurationInput struct {

	// Indicates whether to automatically enable new organization accounts as member
	// accounts in the organization behavior graph.
	AutoEnable *bool `type:"boolean"`

	// The ARN of the organization behavior graph.
	//
	// GraphArn is a required field
	GraphArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateOrganizationConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrganizationConfigurationInput) SetAutoEnable

SetAutoEnable sets the AutoEnable field's value.

func (*UpdateOrganizationConfigurationInput) SetGraphArn

SetGraphArn sets the GraphArn field's value.

func (UpdateOrganizationConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOrganizationConfigurationInput) Validate

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

type UpdateOrganizationConfigurationOutput

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

func (UpdateOrganizationConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateOrganizationConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The error code associated with the validation failure.
	ErrorCode *string `type:"string" enum:"ErrorCode"`

	// An explanation of why validation failed.
	ErrorCodeReason *string `type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request parameters are invalid.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

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

Jump to

Keyboard shortcuts

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