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: 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:

  • "AcceptCodeValidation": An optional field that Incident Manager uses to ENFORCE AcceptCode validation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page. Incident Manager can also IGNORE AcceptCode validation. Ignoring AcceptCode validation causes Incident Manager to accept any value entered for the AcceptCode.
  • "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 operation 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 you are adding the contact channel to.
  • 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 operation is called only once with the specified details.
source
Main.Ssm_Contacts.create_rotationMethod
create_rotation(contact_ids, name, recurrence, time_zone_id)
create_rotation(contact_ids, name, recurrence, time_zone_id, params::Dict{String,<:Any})

Creates a rotation in an on-call schedule.

Arguments

  • contact_ids: The Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
  • name: The name of the rotation.
  • recurrence: Information about the rule that specifies when a shift's team members rotate.
  • time_zone_id: The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "IdempotencyToken": A token that ensures that the operation is called only once with the specified details.
  • "StartTime": The date and time that the rotation goes into effect.
  • "Tags": Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
source
Main.Ssm_Contacts.create_rotation_overrideMethod
create_rotation_override(end_time, new_contact_ids, rotation_id, start_time)
create_rotation_override(end_time, new_contact_ids, rotation_id, start_time, params::Dict{String,<:Any})

Creates an override for a rotation in an on-call schedule.

Arguments

  • end_time: The date and time when the override ends.
  • new_contact_ids: The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with. If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
  • rotation_id: The Amazon Resource Name (ARN) of the rotation to create an override for.
  • start_time: The date and time when the override goes into effect.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "IdempotencyToken": A token that ensures that the operation 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.delete_rotationMethod
delete_rotation(rotation_id)
delete_rotation(rotation_id, params::Dict{String,<:Any})

Deletes a rotation from the system. If a rotation belongs to more than one on-call schedule, this operation deletes it from all of them.

Arguments

  • rotation_id: The Amazon Resource Name (ARN) of the on-call rotation to delete.
source
Main.Ssm_Contacts.delete_rotation_overrideMethod
delete_rotation_override(rotation_id, rotation_override_id)
delete_rotation_override(rotation_id, rotation_override_id, params::Dict{String,<:Any})

Deletes an existing override for an on-call rotation.

Arguments

  • rotation_id: The Amazon Resource Name (ARN) of the rotation that was overridden.
  • rotation_override_id: The Amazon Resource Name (ARN) of the on-call rotation override to delete.
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.get_rotationMethod
get_rotation(rotation_id)
get_rotation(rotation_id, params::Dict{String,<:Any})

Retrieves information about an on-call rotation.

Arguments

  • rotation_id: The Amazon Resource Name (ARN) of the on-call rotation to retrieve information about.
source
Main.Ssm_Contacts.get_rotation_overrideMethod
get_rotation_override(rotation_id, rotation_override_id)
get_rotation_override(rotation_id, rotation_override_id, params::Dict{String,<:Any})

Retrieves information about an override to an on-call rotation.

Arguments

  • rotation_id: The Amazon Resource Name (ARN) of the overridden rotation to retrieve information about.
  • rotation_override_id: The Amazon Resource Name (ARN) of the on-call rotation override to retrieve information about.
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_page_resolutionsMethod
list_page_resolutions(page_id)
list_page_resolutions(page_id, params::Dict{String,<:Any})

Returns the resolution path of an engagement. For example, the escalation plan engaged in an incident might target an on-call schedule that includes several contacts in a rotation, but just one contact on-call when the incident starts. The resolution path indicates the hierarchy of escalation plan &gt; on-call schedule &gt; contact.

Arguments

  • page_id: The Amazon Resource Name (ARN) of the contact engaged for the incident.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "NextToken": A token to start the list. Use this token to get the next set 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_preview_rotation_shiftsMethod
list_preview_rotation_shifts(end_time, members, recurrence, time_zone_id)
list_preview_rotation_shifts(end_time, members, recurrence, time_zone_id, params::Dict{String,<:Any})

Returns a list of shifts based on rotation configuration parameters. The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users.

Arguments

  • end_time: The date and time a rotation shift would end.
  • members: The contacts that would be assigned to a rotation.
  • recurrence: Information about how long a rotation would last before restarting at the beginning of the shift order.
  • time_zone_id: The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
  • "NextToken": A token to start the list. This token is used to get the next set of results.
  • "Overrides": Information about changes that would be made in a rotation override.
  • "RotationStartTime": The date and time a rotation would begin. The first shift is calculated from this date and time.
  • "StartTime": Used to filter the range of calculated shifts before sending the response back to the user.
source
Main.Ssm_Contacts.list_rotation_overridesMethod
list_rotation_overrides(end_time, rotation_id, start_time)
list_rotation_overrides(end_time, rotation_id, start_time, params::Dict{String,<:Any})

Retrieves a list of overrides currently specified for an on-call rotation.

Arguments

  • end_time: The date and time for the end of a time range for listing overrides.
  • rotation_id: The Amazon Resource Name (ARN) of the rotation to retrieve information about.
  • start_time: The date and time for the beginning of a time range for listing overrides.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  • "NextToken": A token to start the list. Use this token to get the next set of results.
source
Main.Ssm_Contacts.list_rotation_shiftsMethod
list_rotation_shifts(end_time, rotation_id)
list_rotation_shifts(end_time, rotation_id, params::Dict{String,<:Any})

Returns a list of shifts generated by an existing rotation in the system.

Arguments

  • end_time: The date and time for the end of the time range to list shifts for.
  • rotation_id: The Amazon Resource Name (ARN) of the rotation to retrieve shift information about.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  • "NextToken": A token to start the list. Use this token to get the next set of results.
  • "StartTime": The date and time for the beginning of the time range to list shifts for.
source
Main.Ssm_Contacts.list_rotationsMethod
list_rotations()
list_rotations(params::Dict{String,<:Any})

Retrieves a list of on-call rotations.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  • "NextToken": A token to start the list. Use this token to get the next set of results.
  • "RotationNamePrefix": A filter to include rotations in list results based on their common prefix. For example, entering prod returns a list of all rotation names that begin with prod, such as production and prod-1.
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 policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.

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 operation. 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 operation 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
Main.Ssm_Contacts.update_rotationMethod
update_rotation(recurrence, rotation_id)
update_rotation(recurrence, rotation_id, params::Dict{String,<:Any})

Updates the information specified for an on-call rotation.

Arguments

  • recurrence: Information about how long the updated rotation lasts before restarting at the beginning of the shift order.
  • rotation_id: The Amazon Resource Name (ARN) of the rotation to update.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ContactIds": The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation. The order in which you list the contacts is their shift order in the rotation schedule.
  • "StartTime": The date and time the rotation goes into effect.
  • "TimeZoneId": The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), aren't supported.
source