SecurityIncidentResponse / Client / create_membership
create_membership#
- SecurityIncidentResponse.Client.create_membership(**kwargs)#
Grants permissions to create a new membership.
See also: AWS API Documentation
Request Syntax
response = client.create_membership( clientToken='string', membershipName='string', incidentResponseTeam=[ { 'name': 'string', 'jobTitle': 'string', 'email': 'string' }, ], optInFeatures=[ { 'featureName': 'Triage', 'isEnabled': True|False }, ], tags={ 'string': 'string' } )
- Parameters:
clientToken (string) –
An optional element used in combination with CreateMembership.
This field is autopopulated if not provided.
membershipName (string) –
[REQUIRED]
Required element use in combination with CreateMembership to create a name for the membership.
incidentResponseTeam (list) –
[REQUIRED]
Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
(dict) –
name (string) – [REQUIRED]
jobTitle (string) – [REQUIRED]
email (string) – [REQUIRED]
optInFeatures (list) –
Optional element to enable the monitoring and investigation opt-in features for the service.
(dict) –
featureName (string) – [REQUIRED]
isEnabled (boolean) – [REQUIRED]
tags (dict) –
Optional element for customer configured tags.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'membershipId': 'string' }
Response Structure
(dict) –
membershipId (string) –
Response element for CreateMembership providing the newly created membership ID.
Exceptions
SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException
SecurityIncidentResponse.Client.exceptions.AccessDeniedException
SecurityIncidentResponse.Client.exceptions.ValidationException
SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
SecurityIncidentResponse.Client.exceptions.InternalServerException
SecurityIncidentResponse.Client.exceptions.ConflictException
SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
SecurityIncidentResponse.Client.exceptions.ThrottlingException
SecurityIncidentResponse.Client.exceptions.InvalidTokenException