Ssm Contacts

This page documents function available when using the Ssm_Contacts module, created with @service Ssm_Contacts.

Index

Documentation

Main.Ssm_Contacts.accept_pageMethod
accept_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.
source
Main.Ssm_Contacts.activate_contact_channelMethod
activate_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.
source
Main.Ssm_Contacts.create_contactMethod
create_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.
source
Main.Ssm_Contacts.create_contact_channelMethod
create_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.
source
Main.Ssm_Contacts.deactivate_contact_channelMethod
deactivate_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.
source
Main.Ssm_Contacts.delete_contactMethod
delete_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.
source
Main.Ssm_Contacts.delete_contact_channelMethod
delete_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.
source
Main.Ssm_Contacts.describe_engagementMethod
describe_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.
source
Main.Ssm_Contacts.describe_pageMethod
describe_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.
source
Main.Ssm_Contacts.get_contactMethod
get_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.
source
Main.Ssm_Contacts.get_contact_channelMethod
get_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.
source
Main.Ssm_Contacts.get_contact_policyMethod
get_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.
source
Main.Ssm_Contacts.list_contact_channelsMethod
list_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.
source
Main.Ssm_Contacts.list_contactsMethod
list_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.
source
Main.Ssm_Contacts.list_engagementsMethod
list_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.
source
Main.Ssm_Contacts.list_page_receiptsMethod
list_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.
source
Main.Ssm_Contacts.list_pages_by_contactMethod
list_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.
source
Main.Ssm_Contacts.list_pages_by_engagementMethod
list_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.
source
Main.Ssm_Contacts.list_tags_for_resourceMethod
list_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.
source
Main.Ssm_Contacts.put_contact_policyMethod
put_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.
source
Main.Ssm_Contacts.send_activation_codeMethod
send_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.
source
Main.Ssm_Contacts.start_engagementMethod
start_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.
source
Main.Ssm_Contacts.stop_engagementMethod
stop_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.
source
Main.Ssm_Contacts.tag_resourceMethod
tag_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.
source
Main.Ssm_Contacts.untag_resourceMethod
untag_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.
source
Main.Ssm_Contacts.update_contactMethod
update_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.
source
Main.Ssm_Contacts.update_contact_channelMethod
update_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
source