File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (137 lines) | stat: -rw-r--r-- 4,151 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// (Discontinued) The classification type that Amazon Macie Classic applies to the
// associated S3 resources.
type ClassificationType struct {

	// (Discontinued) A continuous classification of the objects that are added to a
	// specified S3 bucket. Amazon Macie Classic begins performing continuous
	// classification after a bucket is successfully associated with Macie Classic.
	//
	// This member is required.
	Continuous S3ContinuousClassificationType

	// (Discontinued) A one-time classification of all of the existing objects in a
	// specified S3 bucket.
	//
	// This member is required.
	OneTime S3OneTimeClassificationType

	noSmithyDocumentSerde
}

// (Discontinued) The classification type that Amazon Macie Classic applies to the
// associated S3 resources. At least one of the classification types (oneTime or
// continuous) must be specified.
type ClassificationTypeUpdate struct {

	// (Discontinued) A continuous classification of the objects that are added to a
	// specified S3 bucket. Amazon Macie Classic begins performing continuous
	// classification after a bucket is successfully associated with Macie Classic.
	Continuous S3ContinuousClassificationType

	// (Discontinued) A one-time classification of all of the existing objects in a
	// specified S3 bucket.
	OneTime S3OneTimeClassificationType

	noSmithyDocumentSerde
}

// (Discontinued) Includes details about the failed S3 resources.
type FailedS3Resource struct {

	// (Discontinued) The status code of a failed item.
	ErrorCode *string

	// (Discontinued) The error message of a failed item.
	ErrorMessage *string

	// (Discontinued) The failed S3 resources.
	FailedItem *S3Resource

	noSmithyDocumentSerde
}

// (Discontinued) Contains information about the Amazon Macie Classic member
// account.
type MemberAccount struct {

	// (Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic
	// member account.
	AccountId *string

	noSmithyDocumentSerde
}

// (Discontinued) Contains information about the S3 resource. This data type is
// used as a request parameter in the DisassociateS3Resources action and can be
// used as a response parameter in the AssociateS3Resources and UpdateS3Resources
// actions.
type S3Resource struct {

	// (Discontinued) The name of the S3 bucket.
	//
	// This member is required.
	BucketName *string

	// (Discontinued) The prefix of the S3 bucket.
	Prefix *string

	noSmithyDocumentSerde
}

// (Discontinued) The S3 resources that you want to associate with Amazon Macie
// Classic for monitoring and data classification. This data type is used as a
// request parameter in the AssociateS3Resources action and a response parameter in
// the ListS3Resources action.
type S3ResourceClassification struct {

	// (Discontinued) The name of the S3 bucket that you want to associate with Amazon
	// Macie Classic.
	//
	// This member is required.
	BucketName *string

	// (Discontinued) The classification type that you want to specify for the resource
	// associated with Amazon Macie Classic.
	//
	// This member is required.
	ClassificationType *ClassificationType

	// (Discontinued) The prefix of the S3 bucket that you want to associate with
	// Amazon Macie Classic.
	Prefix *string

	noSmithyDocumentSerde
}

// (Discontinued) The S3 resources whose classification types you want to update.
// This data type is used as a request parameter in the UpdateS3Resources action.
type S3ResourceClassificationUpdate struct {

	// (Discontinued) The name of the S3 bucket whose classification types you want to
	// update.
	//
	// This member is required.
	BucketName *string

	// (Discontinued) The classification type that you want to update for the resource
	// associated with Amazon Macie Classic.
	//
	// This member is required.
	ClassificationTypeUpdate *ClassificationTypeUpdate

	// (Discontinued) The prefix of the S3 bucket whose classification types you want
	// to update.
	Prefix *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde