1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5// The classification type that Amazon Macie Classic applies to the associated S3
6// resources.
7type ClassificationType struct {
8
9	// A continuous classification of the objects that are added to a specified S3
10	// bucket. Amazon Macie Classic begins performing continuous classification after a
11	// bucket is successfully associated with Macie Classic.
12	//
13	// This member is required.
14	Continuous S3ContinuousClassificationType
15
16	// A one-time classification of all of the existing objects in a specified S3
17	// bucket.
18	//
19	// This member is required.
20	OneTime S3OneTimeClassificationType
21}
22
23// The classification type that Amazon Macie Classic applies to the associated S3
24// resources. At least one of the classification types (oneTime or continuous) must
25// be specified.
26type ClassificationTypeUpdate struct {
27
28	// A continuous classification of the objects that are added to a specified S3
29	// bucket. Amazon Macie Classic begins performing continuous classification after a
30	// bucket is successfully associated with Macie Classic.
31	Continuous S3ContinuousClassificationType
32
33	// A one-time classification of all of the existing objects in a specified S3
34	// bucket.
35	OneTime S3OneTimeClassificationType
36}
37
38// Includes details about the failed S3 resources.
39type FailedS3Resource struct {
40
41	// The status code of a failed item.
42	ErrorCode *string
43
44	// The error message of a failed item.
45	ErrorMessage *string
46
47	// The failed S3 resources.
48	FailedItem *S3Resource
49}
50
51// Contains information about the Amazon Macie Classic member account.
52type MemberAccount struct {
53
54	// The AWS account ID of the Amazon Macie Classic member account.
55	AccountId *string
56}
57
58// Contains information about the S3 resource. This data type is used as a request
59// parameter in the DisassociateS3Resources action and can be used as a response
60// parameter in the AssociateS3Resources and UpdateS3Resources actions.
61type S3Resource struct {
62
63	// The name of the S3 bucket.
64	//
65	// This member is required.
66	BucketName *string
67
68	// The prefix of the S3 bucket.
69	Prefix *string
70}
71
72// The S3 resources that you want to associate with Amazon Macie Classic for
73// monitoring and data classification. This data type is used as a request
74// parameter in the AssociateS3Resources action and a response parameter in the
75// ListS3Resources action.
76type S3ResourceClassification struct {
77
78	// The name of the S3 bucket that you want to associate with Amazon Macie Classic.
79	//
80	// This member is required.
81	BucketName *string
82
83	// The classification type that you want to specify for the resource associated
84	// with Amazon Macie Classic.
85	//
86	// This member is required.
87	ClassificationType *ClassificationType
88
89	// The prefix of the S3 bucket that you want to associate with Amazon Macie
90	// Classic.
91	Prefix *string
92}
93
94// The S3 resources whose classification types you want to update. This data type
95// is used as a request parameter in the UpdateS3Resources action.
96type S3ResourceClassificationUpdate struct {
97
98	// The name of the S3 bucket whose classification types you want to update.
99	//
100	// This member is required.
101	BucketName *string
102
103	// The classification type that you want to update for the resource associated with
104	// Amazon Macie Classic.
105	//
106	// This member is required.
107	ClassificationTypeUpdate *ClassificationTypeUpdate
108
109	// The prefix of the S3 bucket whose classification types you want to update.
110	Prefix *string
111}
112