GetMembership - AWS Security Incident Response

GetMembership

Returns the attributes of a membership.

Request Syntax

GET /v1/membership/membershipId HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

membershipId

Required element for GetMembership to identify the membership ID to query.

Length Constraints: Minimum length of 12. Maximum length of 34.

Pattern: m-[a-z0-9]{10,32}

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "accountId": "string", "customerType": "string", "incidentResponseTeam": [ { "email": "string", "jobTitle": "string", "name": "string" } ], "membershipActivationTimestamp": number, "membershipArn": "string", "membershipDeactivationTimestamp": number, "membershipId": "string", "membershipName": "string", "membershipStatus": "string", "numberOfAccountsCovered": number, "optInFeatures": [ { "featureName": "string", "isEnabled": boolean } ], "region": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

accountId

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

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

customerType

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

Type: String

Valid Values: Standalone | Organization

incidentResponseTeam

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

Type: Array of IncidentResponder objects

Array Members: Minimum number of 2 items. Maximum number of 10 items.

membershipActivationTimestamp

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

Type: Timestamp

membershipArn

Response element for GetMembership that provides the membership ARN.

Type: String

Length Constraints: Minimum length of 12. Maximum length of 80.

Pattern: arn:aws:security-ir:\w+?-\w+?-\d+:[0-9]{12}:membership/m-[a-z0-9]{10,32}

membershipDeactivationTimestamp

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

Type: Timestamp

membershipId

Response element for GetMembership that provides the queried membership ID.

Type: String

Length Constraints: Minimum length of 12. Maximum length of 34.

Pattern: m-[a-z0-9]{10,32}

membershipName

Response element for GetMembership that provides the configured membership name.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 50.

membershipStatus

Response element for GetMembership that provides the current membership status.

Type: String

Valid Values: Active | Cancelled | Terminated

numberOfAccountsCovered

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

Type: Long

optInFeatures

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

Type: Array of OptInFeature objects

Array Members: Minimum number of 1 item. Maximum number of 2 items.

region

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

Type: String

Valid Values: af-south-1 | ap-east-1 | ap-northeast-1 | ap-northeast-2 | ap-northeast-3 | ap-south-1 | ap-south-2 | ap-southeast-1 | ap-southeast-2 | ap-southeast-3 | ap-southeast-4 | ap-southeast-5 | ca-central-1 | ca-west-1 | cn-north-1 | cn-northwest-1 | eu-central-1 | eu-central-2 | eu-north-1 | eu-south-1 | eu-south-2 | eu-west-1 | eu-west-2 | eu-west-3 | il-central-1 | me-central-1 | me-south-1 | sa-east-1 | us-east-1 | us-east-2 | us-west-1 | us-west-2

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

HTTP Status Code: 403

ConflictException

HTTP Status Code: 409

InternalServerException

HTTP Status Code: 500

InvalidTokenException

HTTP Status Code: 423

ResourceNotFoundException

HTTP Status Code: 404

SecurityIncidentResponseNotActiveException

HTTP Status Code: 400

ServiceQuotaExceededException

HTTP Status Code: 402

ThrottlingException

HTTP Status Code: 429

ValidationException

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: