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 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"github.com/aws/aws-sdk-go-v2/service/identitystore/document"
smithydocument "github.com/aws/smithy-go/document"
)
// The address associated with the specified user.
type Address struct {
// The country of the address.
Country *string
// A string containing a formatted version of the address for display.
Formatted *string
// A string of the address locality.
Locality *string
// The postal code of the address.
PostalCode *string
// A Boolean value representing whether this is the primary address for the
// associated resource.
Primary bool
// The region of the address.
Region *string
// The street of the address.
StreetAddress *string
// A string representing the type of address. For example, "Home."
Type *string
noSmithyDocumentSerde
}
// A unique identifier for a user or group that is not the primary identifier.
// This value can be an identifier from an external identity provider (IdP) that is
// associated with the user, the group, or a unique attribute.
//
// The following types satisfy this interface:
//
// AlternateIdentifierMemberExternalId
// AlternateIdentifierMemberUniqueAttribute
type AlternateIdentifier interface {
isAlternateIdentifier()
}
// The identifier issued to this resource by an external identity provider.
type AlternateIdentifierMemberExternalId struct {
Value ExternalId
noSmithyDocumentSerde
}
func (*AlternateIdentifierMemberExternalId) isAlternateIdentifier() {}
// An entity attribute that's unique to a specific entity.
type AlternateIdentifierMemberUniqueAttribute struct {
Value UniqueAttribute
noSmithyDocumentSerde
}
func (*AlternateIdentifierMemberUniqueAttribute) isAlternateIdentifier() {}
// An operation that applies to the requested group. This operation might add,
// replace, or remove an attribute.
type AttributeOperation struct {
// A string representation of the path to a given attribute or sub-attribute.
// Supports JMESPath.
//
// This member is required.
AttributePath *string
// The value of the attribute. This is a Document type. This type is not supported
// by Java V1, Go V1, and older versions of the CLI.
AttributeValue document.Interface
noSmithyDocumentSerde
}
// The email address associated with the user.
type Email struct {
// A Boolean value representing whether this is the primary email address for the
// associated resource.
Primary bool
// A string representing the type of address. For example, "Work."
Type *string
// A string containing an email address. For example, "johndoe@amazon.com."
Value *string
noSmithyDocumentSerde
}
// The identifier issued to this resource by an external identity provider.
type ExternalId struct {
// The identifier issued to this resource by an external identity provider.
//
// This member is required.
Id *string
// The issuer for an external identifier.
//
// This member is required.
Issuer *string
noSmithyDocumentSerde
}
// A query filter used by ListUsers and ListGroups . This filter object provides
// the attribute name and attribute value to search users or groups.
type Filter struct {
// The attribute path that is used to specify which attribute name to search.
// Length limit is 255 characters. For example, UserName is a valid attribute path
// for the ListUsers API, and DisplayName is a valid attribute path for the
// ListGroups API.
//
// This member is required.
AttributePath *string
// Represents the data for an attribute. Each attribute value is described as a
// name-value pair.
//
// This member is required.
AttributeValue *string
noSmithyDocumentSerde
}
// A group object that contains the metadata and attributes for a specified group.
type Group struct {
// The identifier for a group in the identity store.
//
// This member is required.
GroupId *string
// The globally unique identifier for the identity store.
//
// This member is required.
IdentityStoreId *string
// A string containing a description of the specified group.
Description *string
// The display name value for the group. The length limit is 1,024 characters.
// This value can consist of letters, accented characters, symbols, numbers,
// punctuation, tab, new line, carriage return, space, and nonbreaking space in
// this attribute. This value is specified at the time the group is created and
// stored as an attribute of the group object in the identity store.
DisplayName *string
// A list of ExternalId objects that contains the identifiers issued to this
// resource by an external identity provider.
ExternalIds []ExternalId
noSmithyDocumentSerde
}
// Contains the identifiers for a group, a group member, and a GroupMembership
// object in the identity store.
type GroupMembership struct {
// The globally unique identifier for the identity store.
//
// This member is required.
IdentityStoreId *string
// The identifier for a group in the identity store.
GroupId *string
// An object that contains the identifier of a group member. Setting the UserID
// field to the specific identifier for a user indicates that the user is a member
// of the group.
MemberId MemberId
// The identifier for a GroupMembership object in an identity store.
MembershipId *string
noSmithyDocumentSerde
}
// Indicates whether a resource is a member of a group in the identity store.
type GroupMembershipExistenceResult struct {
// The identifier for a group in the identity store.
GroupId *string
// An object that contains the identifier of a group member. Setting the UserID
// field to the specific identifier for a user indicates that the user is a member
// of the group.
MemberId MemberId
// Indicates whether a membership relation exists or not.
MembershipExists bool
noSmithyDocumentSerde
}
// An object containing the identifier of a group member.
//
// The following types satisfy this interface:
//
// MemberIdMemberUserId
type MemberId interface {
isMemberId()
}
// An object containing the identifiers of resources that can be members.
type MemberIdMemberUserId struct {
Value string
noSmithyDocumentSerde
}
func (*MemberIdMemberUserId) isMemberId() {}
// The full name of the user.
type Name struct {
// The family name of the user.
FamilyName *string
// A string containing a formatted version of the name for display.
Formatted *string
// The given name of the user.
GivenName *string
// The honorific prefix of the user. For example, "Dr."
HonorificPrefix *string
// The honorific suffix of the user. For example, "M.D."
HonorificSuffix *string
// The middle name of the user.
MiddleName *string
noSmithyDocumentSerde
}
// The phone number associated with the user.
type PhoneNumber struct {
// A Boolean value representing whether this is the primary phone number for the
// associated resource.
Primary bool
// A string representing the type of a phone number. For example, "Mobile."
Type *string
// A string containing a phone number. For example, "8675309" or "+1 (800)
// 123-4567".
Value *string
noSmithyDocumentSerde
}
// An entity attribute that's unique to a specific entity.
type UniqueAttribute struct {
// A string representation of the path to a given attribute or sub-attribute.
// Supports JMESPath.
//
// This member is required.
AttributePath *string
// The value of the attribute. This is a Document type. This type is not supported
// by Java V1, Go V1, and older versions of the CLI.
//
// This member is required.
AttributeValue document.Interface
noSmithyDocumentSerde
}
// A user object that contains the metadata and attributes for a specified user.
type User struct {
// The globally unique identifier for the identity store.
//
// This member is required.
IdentityStoreId *string
// The identifier for a user in the identity store.
//
// This member is required.
UserId *string
// A list of Address objects containing addresses associated with the user.
Addresses []Address
// A string containing the name of the user that is formatted for display when the
// user is referenced. For example, "John Doe."
DisplayName *string
// A list of Email objects containing email addresses associated with the user.
Emails []Email
// A list of ExternalId objects that contains the identifiers issued to this
// resource by an external identity provider.
ExternalIds []ExternalId
// A string containing the geographical region or location of the user.
Locale *string
// An object containing the name of the user.
Name *Name
// A string containing an alternate name for the user.
NickName *string
// A list of PhoneNumber objects containing phone numbers associated with the user.
PhoneNumbers []PhoneNumber
// A string containing the preferred language of the user. For example, "American
// English" or "en-us."
PreferredLanguage *string
// A string containing a URL that might be associated with the user.
ProfileUrl *string
// A string containing the time zone of the user.
Timezone *string
// A string containing the title of the user. Possible values are left
// unspecified. The value can vary based on your specific use case.
Title *string
// A unique string used to identify the user. The length limit is 128 characters.
// This value can consist of letters, accented characters, symbols, numbers, and
// punctuation. This value is specified at the time the user is created and stored
// as an attribute of the user object in the identity store.
UserName *string
// A string indicating the type of user. Possible values are left unspecified. The
// value can vary based on your specific use case.
UserType *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) isAlternateIdentifier() {}
func (*UnknownUnionMember) isMemberId() {}
|