File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (76 lines) | stat: -rw-r--r-- 1,989 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
)

// An event from a source outside of Amazon Web Services that you want CloudTrail
// to log.
type AuditEvent struct {

	// The content of an audit event that comes from the event, such as userIdentity ,
	// userAgent , and eventSource .
	//
	// This member is required.
	EventData *string

	// The original event ID from the source event.
	//
	// This member is required.
	Id *string

	// A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail
	// receives the event that matches with the checksum. Calculate the checksum by
	// running a command like the following: printf %s $eventdata | openssl dgst
	// -binary -sha256 | base64
	EventDataChecksum *string

	noSmithyDocumentSerde
}

// A response that includes successful and failed event results.
type AuditEventResultEntry struct {

	// The event ID assigned by CloudTrail.
	//
	// This member is required.
	EventID *string

	// The original event ID from the source event.
	//
	// This member is required.
	Id *string

	noSmithyDocumentSerde
}

// Includes the error code and error message for events that could not be ingested
// by CloudTrail.
type ResultErrorEntry struct {

	// The error code for events that could not be ingested by CloudTrail. Possible
	// error codes include: FieldTooLong , FieldNotFound , InvalidChecksum ,
	// InvalidData , InvalidRecipient , InvalidEventSource , AccountNotSubscribed ,
	// Throttling , and InternalFailure .
	//
	// This member is required.
	ErrorCode *string

	// The message that describes the error for events that could not be ingested by
	// CloudTrail.
	//
	// This member is required.
	ErrorMessage *string

	// The original event ID from the source event that could not be ingested by
	// CloudTrail.
	//
	// This member is required.
	Id *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde