File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (239 lines) | stat: -rw-r--r-- 5,990 bytes parent folder | download | duplicates (4)
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// Details about an Active Directory identity provider.
type ActiveDirectoryIdentityProvider struct {

	// The directory ID for an Active Directory identity provider.
	DirectoryId *string

	noSmithyDocumentSerde
}

// A filter name and value pair that is used to return more specific results from
// a describe operation. Filters can be used to match a set of resources by
// specific criteria, such as tags, attributes, or IDs.
type Filter struct {

	// The name of an attribute to use as a filter.
	Attribute *string

	// The type of search (For example, eq, geq, leq)
	Operation *string

	// Value of the filter.
	Value *string

	noSmithyDocumentSerde
}

// Details about an identity provider.
//
// The following types satisfy this interface:
//
//	IdentityProviderMemberActiveDirectoryIdentityProvider
type IdentityProvider interface {
	isIdentityProvider()
}

// An object that details an Active Directory identity provider.
type IdentityProviderMemberActiveDirectoryIdentityProvider struct {
	Value ActiveDirectoryIdentityProvider

	noSmithyDocumentSerde
}

func (*IdentityProviderMemberActiveDirectoryIdentityProvider) isIdentityProvider() {}

// Describes an identity provider.
type IdentityProviderSummary struct {

	// An object that specifies details for the identity provider.
	//
	// This member is required.
	IdentityProvider IdentityProvider

	// The name of the user-based subscription product.
	//
	// This member is required.
	Product *string

	// An object that details the registered identity provider’s product related
	// configuration settings such as the subnets to provision VPC endpoints.
	//
	// This member is required.
	Settings *Settings

	// The status of an identity provider.
	//
	// This member is required.
	Status *string

	// The failure message associated with an identity provider.
	FailureMessage *string

	noSmithyDocumentSerde
}

// Describes an EC2 instance providing user-based subscriptions.
type InstanceSummary struct {

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// This member is required.
	InstanceId *string

	// A list of provided user-based subscription products.
	//
	// This member is required.
	Products []string

	// The status of an EC2 instance resource.
	//
	// This member is required.
	Status *string

	// The date of the last status check.
	LastStatusCheckDate *string

	// The status message for an EC2 instance.
	StatusMessage *string

	noSmithyDocumentSerde
}

// Describes users of an EC2 instance providing user-based subscriptions.
type InstanceUserSummary struct {

	// An object that specifies details for the identity provider.
	//
	// This member is required.
	IdentityProvider IdentityProvider

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// This member is required.
	InstanceId *string

	// The status of a user associated with an EC2 instance.
	//
	// This member is required.
	Status *string

	// The user name from the identity provider for the user.
	//
	// This member is required.
	Username *string

	// The date a user was associated with an EC2 instance.
	AssociationDate *string

	// The date a user was disassociated from an EC2 instance.
	DisassociationDate *string

	// The domain name of the user.
	Domain *string

	// The status message for users of an EC2 instance.
	StatusMessage *string

	noSmithyDocumentSerde
}

// The summary of the user-based subscription products for a user.
type ProductUserSummary struct {

	// An object that specifies details for the identity provider.
	//
	// This member is required.
	IdentityProvider IdentityProvider

	// The name of the user-based subscription product.
	//
	// This member is required.
	Product *string

	// The status of a product for a user.
	//
	// This member is required.
	Status *string

	// The user name from the identity provider of the user.
	//
	// This member is required.
	Username *string

	// The domain name of the user.
	Domain *string

	// The status message for a product for a user.
	StatusMessage *string

	// The end date of a subscription.
	SubscriptionEndDate *string

	// The start date of a subscription.
	SubscriptionStartDate *string

	noSmithyDocumentSerde
}

// The registered identity provider’s product related configuration settings such
// as the subnets to provision VPC endpoints, and the security group ID that is
// associated with the VPC endpoints. The security group should permit inbound TCP
// port 1688 communication from resources in the VPC.
type Settings struct {

	// A security group ID that allows inbound TCP port 1688 communication between
	// resources in your VPC and the VPC endpoint for activation servers.
	//
	// This member is required.
	SecurityGroupId *string

	// The subnets defined for the registered identity provider.
	//
	// This member is required.
	Subnets []string

	noSmithyDocumentSerde
}

// Updates the registered identity provider’s product related configuration
// settings such as the subnets to provision VPC endpoints.
type UpdateSettings struct {

	// The ID of one or more subnets in which License Manager will create a VPC
	// endpoint for products that require connectivity to activation servers.
	//
	// This member is required.
	AddSubnets []string

	// The ID of one or more subnets to remove.
	//
	// This member is required.
	RemoveSubnets []string

	// A security group ID that allows inbound TCP port 1688 communication between
	// resources in your VPC and the VPC endpoints for activation servers.
	SecurityGroupId *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde

// UnknownUnionMember is returned when a union member is returned over the wire,
// but has an unknown tag.
type UnknownUnionMember struct {
	Tag   string
	Value []byte

	noSmithyDocumentSerde
}

func (*UnknownUnionMember) isIdentityProvider() {}