Documentation ¶
Index ¶
- type AWSUserIdentity
- type AWSUserIdentitySessionContext
- type AWSUserIdentitySessionContextAttributes
- type AWSUserIdentitySessionContextSessionIssuer
- type AWSUserIdentitySessionContextWebIdFederationData
- type AWSUserIdentitySessionContextWebIdFederationDataFederationAttributes
- type CloudTrailEventResource
- type CloudtrailClient
- type CloudtrailEvent
- type EventsFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSUserIdentity ¶
type AWSUserIdentity struct { Type string `json:"type"` PrincipalId string `json:"principalId"` Arn string `json:"arn"` AccountId string `json:"accountId"` UserName string `json:"userName"` AccessKeyId string `json:"accessKeyId"` InvokedBy string `json:"invokedBy"` SessionContext *AWSUserIdentitySessionContext `json:"sessionContext"` IdentityProvider string `json:"identityProvider"` }
type AWSUserIdentitySessionContext ¶
type AWSUserIdentitySessionContext struct { Attributes *AWSUserIdentitySessionContextAttributes `json:"attributes"` SessionIssuer *AWSUserIdentitySessionContextSessionIssuer `json:"sessionIssuer"` Ec2RoleDelivery string `json:"ec2RoleDelivery"` WebIdFederationData *AWSUserIdentitySessionContextWebIdFederationData `json:"webIdFederationData"` }
type AWSUserIdentitySessionContextWebIdFederationData ¶
type AWSUserIdentitySessionContextWebIdFederationData struct { FederatedProvider string `json:"federatedProvider"` Attributes *AWSUserIdentitySessionContextWebIdFederationDataFederationAttributes `json:"attributes"` }
type CloudTrailEventResource ¶
type CloudtrailClient ¶
type CloudtrailClient struct {
// contains filtered or unexported fields
}
func NewCloudtrailClient ¶
func NewCloudtrailClient(region string, profile string) (client *CloudtrailClient, err error)
func (*CloudtrailClient) GetEvents ¶
func (c *CloudtrailClient) GetEvents(startTime time.Time, eventsFilter *EventsFilter) ([]CloudtrailEvent, error)
type CloudtrailEvent ¶
type EventsFilter ¶
type EventsFilter struct {
EventName *string
}
Click to show internal directories.
Click to hide internal directories.