Ssm Contacts
This page documents function available when using the Ssm_Contacts
module, created with @service Ssm_Contacts
.
Index
Main.Ssm_Contacts.accept_page
Main.Ssm_Contacts.activate_contact_channel
Main.Ssm_Contacts.create_contact
Main.Ssm_Contacts.create_contact_channel
Main.Ssm_Contacts.deactivate_contact_channel
Main.Ssm_Contacts.delete_contact
Main.Ssm_Contacts.delete_contact_channel
Main.Ssm_Contacts.describe_engagement
Main.Ssm_Contacts.describe_page
Main.Ssm_Contacts.get_contact
Main.Ssm_Contacts.get_contact_channel
Main.Ssm_Contacts.get_contact_policy
Main.Ssm_Contacts.list_contact_channels
Main.Ssm_Contacts.list_contacts
Main.Ssm_Contacts.list_engagements
Main.Ssm_Contacts.list_page_receipts
Main.Ssm_Contacts.list_pages_by_contact
Main.Ssm_Contacts.list_pages_by_engagement
Main.Ssm_Contacts.list_tags_for_resource
Main.Ssm_Contacts.put_contact_policy
Main.Ssm_Contacts.send_activation_code
Main.Ssm_Contacts.start_engagement
Main.Ssm_Contacts.stop_engagement
Main.Ssm_Contacts.tag_resource
Main.Ssm_Contacts.untag_resource
Main.Ssm_Contacts.update_contact
Main.Ssm_Contacts.update_contact_channel
Documentation
Main.Ssm_Contacts.accept_page
— Methodaccept_page(accept_code, accept_type, page_id)
accept_page(accept_code, accept_type, page_id, params::Dict{String,<:Any})
Used to acknowledge an engagement to a contact channel during an incident.
Arguments
accept_code
: The accept code is a 6-digit code used to acknowledge the page.accept_type
: The type indicates if the page was DELIVERED or READ.page_id
: The Amazon Resource Name (ARN) of the engagement to a contact channel.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ContactChannelId"
: The ARN of the contact channel."Note"
: Information provided by the user when the user acknowledges the page.
Main.Ssm_Contacts.activate_contact_channel
— Methodactivate_contact_channel(activation_code, contact_channel_id)
activate_contact_channel(activation_code, contact_channel_id, params::Dict{String,<:Any})
Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.
Arguments
activation_code
: The code sent to the contact channel when it was created in the contact.contact_channel_id
: The Amazon Resource Name (ARN) of the contact channel.
Main.Ssm_Contacts.create_contact
— Methodcreate_contact(alias, plan, type)
create_contact(alias, plan, type, params::Dict{String,<:Any})
Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.
Arguments
alias
: The short name to quickly identify a contact or escalation plan. The contact alias must be unique and identifiable.plan
: A list of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.type
: To create an escalation plan use ESCALATION. To create a contact use PERSONAL.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DisplayName"
: The full name of the contact or escalation plan."IdempotencyToken"
: A token ensuring that the action is called only once with the specified details."Tags"
: Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
Main.Ssm_Contacts.create_contact_channel
— Methodcreate_contact_channel(contact_id, delivery_address, name, type)
create_contact_channel(contact_id, delivery_address, name, type, params::Dict{String,<:Any})
A contact channel is the method that Incident Manager uses to engage your contact.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact channel.delivery_address
: The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats: SMS - '+' followed by the country code and phone number VOICE- '+' followed by the country code and phone number EMAIL - any standard email format
name
: The name of the contact channel.type
: Incident Manager supports three types of contact channels: SMS VOICE EMAIL
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DeferActivation"
: If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated."IdempotencyToken"
: A token ensuring that the action is called only once with the specified details.
Main.Ssm_Contacts.deactivate_contact_channel
— Methoddeactivate_contact_channel(contact_channel_id)
deactivate_contact_channel(contact_channel_id, params::Dict{String,<:Any})
To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.
Arguments
contact_channel_id
: The Amazon Resource Name (ARN) of the contact channel you're deactivating.
Main.Ssm_Contacts.delete_contact
— Methoddelete_contact(contact_id)
delete_contact(contact_id, params::Dict{String,<:Any})
To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact that you're deleting.
Main.Ssm_Contacts.delete_contact_channel
— Methoddelete_contact_channel(contact_channel_id)
delete_contact_channel(contact_channel_id, params::Dict{String,<:Any})
To no longer receive engagements on a contact channel, you can delete the channel from a contact. Deleting the contact channel removes it from the contact's engagement plan. If you delete the only contact channel for a contact, you won't be able to engage that contact during an incident.
Arguments
contact_channel_id
: The Amazon Resource Name (ARN) of the contact channel.
Main.Ssm_Contacts.describe_engagement
— Methoddescribe_engagement(engagement_id)
describe_engagement(engagement_id, params::Dict{String,<:Any})
Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
Arguments
engagement_id
: The Amazon Resource Name (ARN) of the engagement you want the details of.
Main.Ssm_Contacts.describe_page
— Methoddescribe_page(page_id)
describe_page(page_id, params::Dict{String,<:Any})
Lists details of the engagement to a contact channel.
Arguments
page_id
: The ID of the engagement to a contact channel.
Main.Ssm_Contacts.get_contact
— Methodget_contact(contact_id)
get_contact(contact_id, params::Dict{String,<:Any})
Retrieves information about the specified contact or escalation plan.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact or escalation plan.
Main.Ssm_Contacts.get_contact_channel
— Methodget_contact_channel(contact_channel_id)
get_contact_channel(contact_channel_id, params::Dict{String,<:Any})
List details about a specific contact channel.
Arguments
contact_channel_id
: The Amazon Resource Name (ARN) of the contact channel you want information about.
Main.Ssm_Contacts.get_contact_policy
— Methodget_contact_policy(contact_arn)
get_contact_policy(contact_arn, params::Dict{String,<:Any})
Retrieves the resource policies attached to the specified contact or escalation plan.
Arguments
contact_arn
: The Amazon Resource Name (ARN) of the contact or escalation plan.
Main.Ssm_Contacts.list_contact_channels
— Methodlist_contact_channels(contact_id)
list_contact_channels(contact_id, params::Dict{String,<:Any})
Lists all contact channels for the specified contact.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum number of contact channels per page."NextToken"
: The pagination token to continue to the next page of results.
Main.Ssm_Contacts.list_contacts
— Methodlist_contacts()
list_contacts(params::Dict{String,<:Any})
Lists all contacts and escalation plans in Incident Manager.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AliasPrefix"
: Used to list only contacts who's aliases start with the specified prefix."MaxResults"
: The maximum number of contacts and escalation plans per page of results."NextToken"
: The pagination token to continue to the next page of results."Type"
: The type of contact. A contact is type PERSONAL and an escalation plan is type ESCALATION.
Main.Ssm_Contacts.list_engagements
— Methodlist_engagements()
list_engagements(params::Dict{String,<:Any})
Lists all engagements that have happened in an incident.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"IncidentId"
: The Amazon Resource Name (ARN) of the incident you're listing engagements for."MaxResults"
: The maximum number of engagements per page of results."NextToken"
: The pagination token to continue to the next page of results."TimeRangeValue"
: The time range to lists engagements for an incident.
Main.Ssm_Contacts.list_page_receipts
— Methodlist_page_receipts(page_id)
list_page_receipts(page_id, params::Dict{String,<:Any})
Lists all of the engagements to contact channels that have been acknowledged.
Arguments
page_id
: The Amazon Resource Name (ARN) of the engagement to a specific contact channel.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum number of acknowledgements per page of results."NextToken"
: The pagination token to continue to the next page of results.
Main.Ssm_Contacts.list_pages_by_contact
— Methodlist_pages_by_contact(contact_id)
list_pages_by_contact(contact_id, params::Dict{String,<:Any})
Lists the engagements to a contact's contact channels.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum number of engagements to contact channels to list per page of results."NextToken"
: The pagination token to continue to the next page of results.
Main.Ssm_Contacts.list_pages_by_engagement
— Methodlist_pages_by_engagement(engagement_id)
list_pages_by_engagement(engagement_id, params::Dict{String,<:Any})
Lists the engagements to contact channels that occurred by engaging a contact.
Arguments
engagement_id
: The Amazon Resource Name (ARN) of the engagement.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum number of engagements to contact channels to list per page of results."NextToken"
: The pagination token to continue to the next page of results.
Main.Ssm_Contacts.list_tags_for_resource
— Methodlist_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Lists the tags of an escalation plan or contact.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the contact or escalation plan.
Main.Ssm_Contacts.put_contact_policy
— Methodput_contact_policy(contact_arn, policy)
put_contact_policy(contact_arn, policy, params::Dict{String,<:Any})
Adds a resource to the specified contact or escalation plan.
Arguments
contact_arn
: The Amazon Resource Name (ARN) of the contact or escalation plan.policy
: Details of the resource policy.
Main.Ssm_Contacts.send_activation_code
— Methodsend_activation_code(contact_channel_id)
send_activation_code(contact_channel_id, params::Dict{String,<:Any})
Sends an activation code to a contact channel. The contact can use this code to activate the contact channel in the console or with the ActivateChannel action. Incident Manager can't engage a contact channel until it has been activated.
Arguments
contact_channel_id
: The Amazon Resource Name (ARN) of the contact channel.
Main.Ssm_Contacts.start_engagement
— Methodstart_engagement(contact_id, content, sender, subject)
start_engagement(contact_id, content, sender, subject, params::Dict{String,<:Any})
Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact being engaged.content
: The secure content of the message that was sent to the contact. Use this field for engagements to VOICE or EMAIL.sender
: The user that started the engagement.subject
: The secure subject of the message that was sent to the contact. Use this field for engagements to VOICE or EMAIL.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"IdempotencyToken"
: A token ensuring that the action is called only once with the specified details."IncidentId"
: The ARN of the incident that the engagement is part of."PublicContent"
: The insecure content of the message that was sent to the contact. Use this field for engagements to SMS."PublicSubject"
: The insecure subject of the message that was sent to the contact. Use this field for engagements to SMS.
Main.Ssm_Contacts.stop_engagement
— Methodstop_engagement(engagement_id)
stop_engagement(engagement_id, params::Dict{String,<:Any})
Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
Arguments
engagement_id
: The Amazon Resource Name (ARN) of the engagement.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Reason"
: The reason that you're stopping the engagement.
Main.Ssm_Contacts.tag_resource
— Methodtag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Tags a contact or escalation plan. You can tag only contacts and escalation plans in the first region of your replication set.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the contact or escalation plan.tags
: A list of tags that you are adding to the contact or escalation plan.
Main.Ssm_Contacts.untag_resource
— Methoduntag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Removes tags from the specified resource.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the contact or escalation plan.tag_keys
: The key of the tag that you want to remove.
Main.Ssm_Contacts.update_contact
— Methodupdate_contact(contact_id)
update_contact(contact_id, params::Dict{String,<:Any})
Updates the contact or escalation plan specified.
Arguments
contact_id
: The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DisplayName"
: The full name of the contact or escalation plan."Plan"
: A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
Main.Ssm_Contacts.update_contact_channel
— Methodupdate_contact_channel(contact_channel_id)
update_contact_channel(contact_channel_id, params::Dict{String,<:Any})
Updates a contact's contact channel.
Arguments
contact_channel_id
: The Amazon Resource Name (ARN) of the contact channel you want to update.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DeliveryAddress"
: The details that Incident Manager uses when trying to engage the contact channel."Name"
: The name of the contact channel