Module Values.GetMembershipResponseSource

Returns the attributes of a membership.

Sourcetype nonrec t = {
  1. membershipId : MembershipId.t option;
    (*

    Response element for GetMembership that provides the queried membership ID.

    *)
  2. accountId : AWSAccountId.t option;
    (*

    Response element for GetMembership that provides the account configured to manage the membership.

    *)
  3. region : AwsRegion.t option;
    (*

    Response element for GetMembership that provides the region configured to manage the membership.

    *)
  4. membershipName : MembershipName.t option;
    (*

    Response element for GetMembership that provides the configured membership name.

    *)
  5. membershipArn : MembershipArn.t option;
    (*

    Response element for GetMembership that provides the membership ARN.

    *)
  6. membershipStatus : MembershipStatus.t option;
    (*

    Response element for GetMembership that provides the current membership status.

    *)
  7. membershipActivationTimestamp : Timestamp.t option;
    (*

    Response element for GetMembership that provides the configured membership activation timestamp.

    *)
  8. membershipDeactivationTimestamp : Timestamp.t option;
    (*

    Response element for GetMembership that provides the configured membership name deactivation timestamp.

    *)
  9. customerType : CustomerType.t option;
    (*

    Response element for GetMembership that provides the configured membership type. Options include Standalone | Organizations.

    *)
  10. numberOfAccountsCovered : Long.t option;
    (*

    Response element for GetMembership that provides the number of accounts in the membership.

    *)
  11. incidentResponseTeam : IncidentResponseTeam.t option;
    (*

    Response element for GetMembership that provides the configured membership incident response team members.

    *)
  12. optInFeatures : OptInFeatures.t option;
    (*

    Response element for GetMembership that provides the if opt-in features have been enabled.

    *)
  13. membershipAccountsConfigurations : MembershipAccountsConfigurations.t option;
    (*

    The membershipAccountsConfigurations field contains the configuration details for member accounts within the Amazon Web Services Organizations membership structure. This field returns a structure containing information about: Account configurations for member accounts Membership settings and preferences Account-level permissions and roles

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `InvalidTokenException of InvalidTokenException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `SecurityIncidentResponseNotActiveException of SecurityIncidentResponseNotActiveException.t
  7. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  8. | `ThrottlingException of ThrottlingException.t
  9. | `ValidationException of ValidationException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?membershipId:??? -> ?accountId:??? -> ?region:??? -> ?membershipName:??? -> ?membershipArn:??? -> ?membershipStatus:??? -> ?membershipActivationTimestamp:??? -> ?membershipDeactivationTimestamp:??? -> ?customerType:??? -> ?numberOfAccountsCovered:??? -> ?incidentResponseTeam:??? -> ?optInFeatures:??? -> ?membershipAccountsConfigurations:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `InvalidTokenException of InvalidTokenException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `SecurityIncidentResponseNotActiveException of SecurityIncidentResponseNotActiveException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `InvalidTokenException of InvalidTokenException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `SecurityIncidentResponseNotActiveException of SecurityIncidentResponseNotActiveException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Enum of string ] list | `String of IncidentResponderName.t ]) list ] list | `Long of Long.t | `String of MembershipId.t | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of OrganizationalUnitId.t ] list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t