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 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Contains information about an Amazon Web Services account that is a member of
// an organization.
type Account struct {
// The Amazon Resource Name (ARN) of the account.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// The email address associated with the Amazon Web Services account.
//
// The [regex pattern] for this parameter is a string of characters that represents a standard
// internet email address.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Email *string
// The unique identifier (ID) of the account.
//
// The [regex pattern] for an account ID string requires exactly 12 digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The method by which the account joined the organization.
JoinedMethod AccountJoinedMethod
// The date the account became a part of the organization.
JoinedTimestamp *time.Time
// The friendly name of the account.
//
// The [regex pattern] that is used to validate this parameter is a string of any of the
// characters in the ASCII character range.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Name *string
// The status of the account in the organization.
Status AccountStatus
noSmithyDocumentSerde
}
// Contains a list of child entities, either OUs or accounts.
type Child struct {
// The unique identifier (ID) of this child entity.
//
// The [regex pattern] for a child ID string requires one of the following:
//
// - Account - A string that consists of exactly 12 digits.
//
// - Organizational unit (OU) - A string that begins with "ou-" followed by from
// 4 to 32 lowercase letters or digits (the ID of the root that contains the OU).
// This string is followed by a second "-" dash and from 8 to 32 additional
// lowercase letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The type of this child entity.
Type ChildType
noSmithyDocumentSerde
}
// Contains the status about a CreateAccount or CreateGovCloudAccount request to create an Amazon Web Services
// account or an Amazon Web Services GovCloud (US) account in an organization.
type CreateAccountStatus struct {
// If the account was created successfully, the unique identifier (ID) of the new
// account.
//
// The [regex pattern] for an account ID string requires exactly 12 digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
AccountId *string
// The account name given to the account when it was created.
AccountName *string
// The date and time that the account was created and the request completed.
CompletedTimestamp *time.Time
// If the request failed, a description of the reason for the failure.
//
// - ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached
// the limit on the number of accounts in your organization.
//
// - CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the
// same information.
//
// - EMAIL_ALREADY_EXISTS: The account could not be created because another
// Amazon Web Services account with that email address already exists.
//
// - FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your
// organization failed to receive business license validation.
//
// - GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services
// GovCloud (US) Region could not be created because this Region already includes
// an account with that email address.
//
// - IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that
// owns your organization can't complete business license validation because it
// doesn't have valid identity data.
//
// - INVALID_ADDRESS: The account could not be created because the address you
// provided is not valid.
//
// - INVALID_EMAIL: The account could not be created because the email address
// you provided is not valid.
//
// - INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your
// organization does not have a supported payment method associated with the
// account. Amazon Web Services does not support cards issued by financial
// institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments].
//
// - INTERNAL_FAILURE: The account could not be created because of an internal
// failure. Try again later. If the problem persists, contact Amazon Web Services
// Customer Support.
//
// - MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your
// organization has not received Business Validation.
//
// - MISSING_PAYMENT_INSTRUMENT: You must configure the management account with
// a valid payment method, such as a credit card.
//
// - PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your
// organization is still in the process of completing business license validation.
//
// - UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your
// organization has an unknown issue with business license validation.
//
// [Managing your Amazon Web Services payments]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html
FailureReason CreateAccountFailureReason
// If the account was created successfully, the unique identifier (ID) of the new
// account in the Amazon Web Services GovCloud (US) Region.
GovCloudAccountId *string
// The unique identifier (ID) that references this request. You get this value
// from the response of the initial CreateAccountrequest to create the account.
//
// The [regex pattern] for a create account request ID string requires "car-" followed by from 8
// to 32 lowercase letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The date and time that the request was made for the account creation.
RequestedTimestamp *time.Time
// The status of the asynchronous request to create an Amazon Web Services account.
State CreateAccountState
noSmithyDocumentSerde
}
// Contains information about the delegated administrator.
type DelegatedAdministrator struct {
// The Amazon Resource Name (ARN) of the delegated administrator's account.
Arn *string
// The date when the account was made a delegated administrator.
DelegationEnabledDate *time.Time
// The email address that is associated with the delegated administrator's Amazon
// Web Services account.
Email *string
// The unique identifier (ID) of the delegated administrator's account.
Id *string
// The method by which the delegated administrator's account joined the
// organization.
JoinedMethod AccountJoinedMethod
// The date when the delegated administrator's account became a part of the
// organization.
JoinedTimestamp *time.Time
// The friendly name of the delegated administrator's account.
Name *string
// The status of the delegated administrator's account in the organization.
Status AccountStatus
noSmithyDocumentSerde
}
// Contains information about the Amazon Web Services service for which the
// account is a delegated administrator.
type DelegatedService struct {
// The date that the account became a delegated administrator for this service.
DelegationEnabledDate *time.Time
// The name of an Amazon Web Services service that can request an operation for
// the specified service. This is typically in the form of a URL, such as:
// servicename.amazonaws.com .
ServicePrincipal *string
noSmithyDocumentSerde
}
// Contains rules to be applied to the affected accounts. The effective policy is
// the aggregation of any policies the account inherits, plus any policy directly
// attached to the account.
type EffectivePolicy struct {
// The time of the last update to this policy.
LastUpdatedTimestamp *time.Time
// The text content of the policy.
PolicyContent *string
// The policy type.
PolicyType EffectivePolicyType
// The account ID of the policy target.
TargetId *string
noSmithyDocumentSerde
}
// A structure that contains details of a service principal that represents an
// Amazon Web Services service that is enabled to integrate with Organizations.
type EnabledServicePrincipal struct {
// The date that the service principal was enabled for integration with
// Organizations.
DateEnabled *time.Time
// The name of the service principal. This is typically in the form of a URL, such
// as: servicename.amazonaws.com .
ServicePrincipal *string
noSmithyDocumentSerde
}
// Contains information that must be exchanged to securely establish a
// relationship between two accounts (an originator and a recipient). For example,
// when a management account (the originator) invites another account (the
// recipient) to join its organization, the two accounts exchange information as a
// series of handshake requests and responses.
//
// Note: Handshakes that are CANCELED , ACCEPTED , DECLINED , or EXPIRED show up
// in lists for only 30 days after entering that state After that they are deleted.
type Handshake struct {
// The type of handshake, indicating what action occurs when the recipient accepts
// the handshake. The following handshake types are supported:
//
// - INVITE: This type of handshake represents a request to join an
// organization. It is always sent from the management account to only non-member
// accounts.
//
// - ENABLE_ALL_FEATURES: This type of handshake represents a request to enable
// all features in an organization. It is always sent from the management account
// to only invited member accounts. Created accounts do not receive this because
// those accounts were created by the organization's management account and
// approval is inferred.
//
// - APPROVE_ALL_FEATURES: This type of handshake is sent from the Organizations
// service when all member accounts have approved the ENABLE_ALL_FEATURES
// invitation. It is sent only to the management account and signals the master
// that it can finalize the process to enable all features.
Action ActionType
// The Amazon Resource Name (ARN) of a handshake.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// The date and time that the handshake expires. If the recipient of the handshake
// request fails to respond before the specified date and time, the handshake
// becomes inactive and is no longer valid.
ExpirationTimestamp *time.Time
// The unique identifier (ID) of a handshake. The originating account creates the
// ID when it initiates the handshake.
//
// The [regex pattern] for handshake ID string requires "h-" followed by from 8 to 32 lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// Information about the two accounts that are participating in the handshake.
Parties []HandshakeParty
// The date and time that the handshake request was made.
RequestedTimestamp *time.Time
// Additional information that is needed to process the handshake.
Resources []HandshakeResource
// The current state of the handshake. Use the state to trace the flow of the
// handshake through the process from its creation to its acceptance. The meaning
// of each of the valid values is as follows:
//
// - REQUESTED: This handshake was sent to multiple recipients (applicable to
// only some handshake types) and not all recipients have responded yet. The
// request stays in this state until all recipients respond.
//
// - OPEN: This handshake was sent to multiple recipients (applicable to only
// some policy types) and all recipients have responded, allowing the originator to
// complete the handshake action.
//
// - CANCELED: This handshake is no longer active because it was canceled by the
// originating account.
//
// - ACCEPTED: This handshake is complete because it has been accepted by the
// recipient.
//
// - DECLINED: This handshake is no longer active because it was declined by the
// recipient account.
//
// - EXPIRED: This handshake is no longer active because the originator did not
// receive a response of any kind from the recipient before the expiration time (15
// days).
State HandshakeState
noSmithyDocumentSerde
}
// Specifies the criteria that are used to select the handshakes for the operation.
type HandshakeFilter struct {
// Specifies the type of handshake action.
//
// If you specify ActionType , you cannot also specify ParentHandshakeId .
ActionType ActionType
// Specifies the parent handshake. Only used for handshake types that are a child
// of another type.
//
// If you specify ParentHandshakeId , you cannot also specify ActionType .
//
// The [regex pattern] for handshake ID string requires "h-" followed by from 8 to 32 lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
ParentHandshakeId *string
noSmithyDocumentSerde
}
// Identifies a participant in a handshake.
type HandshakeParty struct {
// The unique identifier (ID) for the party.
//
// The [regex pattern] for handshake ID string requires "h-" followed by from 8 to 32 lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
//
// This member is required.
Id *string
// The type of party.
//
// This member is required.
Type HandshakePartyType
noSmithyDocumentSerde
}
// Contains additional data that is needed to process a handshake.
type HandshakeResource struct {
// When needed, contains an additional array of HandshakeResource objects.
Resources []HandshakeResource
// The type of information being passed, specifying how the value is to be
// interpreted by the other party:
//
// - ACCOUNT - Specifies an Amazon Web Services account ID number.
//
// - ORGANIZATION - Specifies an organization ID number.
//
// - EMAIL - Specifies the email address that is associated with the account that
// receives the handshake.
//
// - OWNER_EMAIL - Specifies the email address associated with the management
// account. Included as information about an organization.
//
// - OWNER_NAME - Specifies the name associated with the management account.
// Included as information about an organization.
//
// - NOTES - Additional text provided by the handshake initiator and intended for
// the recipient to read.
Type HandshakeResourceType
// The information that is passed to the other party in the handshake. The format
// of the value string must match the requirements of the specified type.
Value *string
noSmithyDocumentSerde
}
// Contains details about an organization. An organization is a collection of
// accounts that are centrally managed together using consolidated billing,
// organized hierarchically with organizational units (OUs), and controlled with
// policies .
type Organization struct {
// The Amazon Resource Name (ARN) of an organization.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// Do not use. This field is deprecated and doesn't provide complete information
// about the policies in your organization.
//
// To determine the policies that are enabled and available for use in your
// organization, use the ListRootsoperation instead.
AvailablePolicyTypes []PolicyTypeSummary
// Specifies the functionality that currently is available to the organization. If
// set to "ALL", then all features are enabled and policies can be applied to
// accounts in the organization. If set to "CONSOLIDATED_BILLING", then only
// consolidated billing functionality is available. For more information, see [Enabling all features in your organization]in
// the Organizations User Guide.
//
// [Enabling all features in your organization]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
FeatureSet OrganizationFeatureSet
// The unique identifier (ID) of an organization.
//
// The [regex pattern] for an organization ID string requires "o-" followed by from 10 to 32
// lowercase letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The Amazon Resource Name (ARN) of the account that is designated as the
// management account for the organization.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
MasterAccountArn *string
// The email address that is associated with the Amazon Web Services account that
// is designated as the management account for the organization.
MasterAccountEmail *string
// The unique identifier (ID) of the management account of an organization.
//
// The [regex pattern] for an account ID string requires exactly 12 digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
MasterAccountId *string
noSmithyDocumentSerde
}
// Contains details about an organizational unit (OU). An OU is a container of
// Amazon Web Services accounts within a root of an organization. Policies that are
// attached to an OU apply to all accounts contained in that OU and in any child
// OUs.
type OrganizationalUnit struct {
// The Amazon Resource Name (ARN) of this OU.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// The unique identifier (ID) associated with this OU. The ID is unique to the
// organization only.
//
// The [regex pattern] for an organizational unit ID string requires "ou-" followed by from 4 to
// 32 lowercase letters or digits (the ID of the root that contains the OU). This
// string is followed by a second "-" dash and from 8 to 32 additional lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The friendly name of this OU.
//
// The [regex pattern] that is used to validate this parameter is a string of any of the
// characters in the ASCII character range.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Name *string
noSmithyDocumentSerde
}
// Contains information about either a root or an organizational unit (OU) that
// can contain OUs or accounts in an organization.
type Parent struct {
// The unique identifier (ID) of the parent entity.
//
// The [regex pattern] for a parent ID string requires one of the following:
//
// - Root - A string that begins with "r-" followed by from 4 to 32 lowercase
// letters or digits.
//
// - Organizational unit (OU) - A string that begins with "ou-" followed by from
// 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This
// string is followed by a second "-" dash and from 8 to 32 additional lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The type of the parent entity.
Type ParentType
noSmithyDocumentSerde
}
// Contains rules to be applied to the affected accounts. Policies can be attached
// directly to accounts, or to roots and OUs to affect all accounts in those
// hierarchies.
type Policy struct {
// The text content of the policy.
Content *string
// A structure that contains additional details about the policy.
PolicySummary *PolicySummary
noSmithyDocumentSerde
}
// Contains information about a policy, but does not include the content. To see
// the content of a policy, see DescribePolicy.
type PolicySummary struct {
// The Amazon Resource Name (ARN) of the policy.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// A boolean value that indicates whether the specified policy is an Amazon Web
// Services managed policy. If true, then you can attach the policy to roots, OUs,
// or accounts, but you cannot edit it.
AwsManaged bool
// The description of the policy.
Description *string
// The unique identifier (ID) of the policy.
//
// The [regex pattern] for a policy ID string requires "p-" followed by from 8 to 128 lowercase
// or uppercase letters, digits, or the underscore character (_).
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The friendly name of the policy.
//
// The [regex pattern] that is used to validate this parameter is a string of any of the
// characters in the ASCII character range.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Name *string
// The type of policy.
Type PolicyType
noSmithyDocumentSerde
}
// Contains information about a root, OU, or account that a policy is attached to.
type PolicyTargetSummary struct {
// The Amazon Resource Name (ARN) of the policy target.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// The friendly name of the policy target.
//
// The [regex pattern] that is used to validate this parameter is a string of any of the
// characters in the ASCII character range.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Name *string
// The unique identifier (ID) of the policy target.
//
// The [regex pattern] for a target ID string requires one of the following:
//
// - Root - A string that begins with "r-" followed by from 4 to 32 lowercase
// letters or digits.
//
// - Account - A string that consists of exactly 12 digits.
//
// - Organizational unit (OU) - A string that begins with "ou-" followed by from
// 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This
// string is followed by a second "-" dash and from 8 to 32 additional lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
TargetId *string
// The type of the policy target.
Type TargetType
noSmithyDocumentSerde
}
// Contains information about a policy type and its status in the associated root.
type PolicyTypeSummary struct {
// The status of the policy type as it relates to the associated root. To attach a
// policy of the specified type to a root or to an OU or account in that root, it
// must be available in the organization and enabled for that root.
Status PolicyTypeStatus
// The name of the policy type.
Type PolicyType
noSmithyDocumentSerde
}
// A structure that contains details about a resource policy.
type ResourcePolicy struct {
// The policy text of the resource policy.
Content *string
// A structure that contains resource policy ID and Amazon Resource Name (ARN).
ResourcePolicySummary *ResourcePolicySummary
noSmithyDocumentSerde
}
// A structure that contains resource policy ID and Amazon Resource Name (ARN).
type ResourcePolicySummary struct {
// The Amazon Resource Name (ARN) of the resource policy.
Arn *string
// The unique identifier (ID) of the resource policy.
Id *string
noSmithyDocumentSerde
}
// Contains details about a root. A root is a top-level parent node in the
// hierarchy of an organization that can contain organizational units (OUs) and
// accounts. The root contains every Amazon Web Services account in the
// organization.
type Root struct {
// The Amazon Resource Name (ARN) of the root.
//
// For more information about ARNs in Organizations, see [ARN Formats Supported by Organizations] in the Amazon Web
// Services Service Authorization Reference.
//
// [ARN Formats Supported by Organizations]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies
Arn *string
// The unique identifier (ID) for the root. The ID is unique to the organization
// only.
//
// The [regex pattern] for a root ID string requires "r-" followed by from 4 to 32 lowercase
// letters or digits.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Id *string
// The friendly name of the root.
//
// The [regex pattern] that is used to validate this parameter is a string of any of the
// characters in the ASCII character range.
//
// [regex pattern]: http://wikipedia.org/wiki/regex
Name *string
// The types of policies that are currently enabled for the root and therefore can
// be attached to the root or to its OUs or accounts.
//
// Even if a policy type is shown as available in the organization, you can
// separately enable and disable them at the root level by using EnablePolicyTypeand DisablePolicyType. Use DescribeOrganization to see
// the availability of the policy types in that organization.
PolicyTypes []PolicyTypeSummary
noSmithyDocumentSerde
}
// A custom key-value pair associated with a resource within your organization.
//
// You can attach tags to any of the following organization resources.
//
// - Amazon Web Services account
//
// - Organizational unit (OU)
//
// - Organization root
//
// - Policy
type Tag struct {
// The key identifier, or name, of the tag.
//
// This member is required.
Key *string
// The string value that's associated with the key of the tag. You can set the
// value of a tag to an empty string, but you can't set the value of a tag to null.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|