Skip to main content

mission_profiles

Creates, updates, deletes, gets or lists a mission_profiles resource.

Overview

Namemission_profiles
TypeResource
Idaws.groundstation.mission_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of a mission profile. (pattern: <code>[ a-zA-Z0-9_:-]{1,256}</code>)
contact_post_pass_duration_secondsintegerAmount of time after a contact ends that you'd like to receive a CloudWatch event indicating the pass has finished.
contact_pre_pass_duration_secondsintegerAmount of time prior to contact start you'd like to receive a CloudWatch event indicating an upcoming pass.
dataflow_edgesarrayA list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to Config.
minimum_viable_contact_duration_secondsintegerSmallest amount of time in seconds that you'd like to see for an available contact. AWS Ground Station will not present you with contacts shorter than this duration.
mission_profile_arnstringARN of a mission profile. (pattern: <code>arn:aws:groundstation:[-a-z0-9]{1,50}:[0-9]{12}:mission-profile/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
mission_profile_idstringUUID of a mission profile. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
regionstringRegion of a mission profile. (pattern: <code>[\w-]+</code>)
streams_kms_keyobjectKMS key info.
streams_kms_rolestringRole to use for encrypting streams with KMS key. (pattern: <code>arn:[a-z0-9-.]{1,63}:iam::[0-9]{12}:role/[\w+=,.@-]{1,64}</code>)
tagsobjectTags assigned to a mission profile.
telemetry_sink_config_arnstringARN of a telemetry sink Config. (pattern: <code>arn:aws:groundstation:[-a-z0-9]{1,50}:[0-9]{12}:config/[a-z0-9]+(-[a-z0-9]+){0,4}/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(/.{1,256})?</code>)
tracking_config_arnstringARN of a tracking Config. (pattern: <code>arn:aws:groundstation:[-a-z0-9]{1,50}:[0-9]{12}:config/[a-z0-9]+(-[a-z0-9]+){0,4}/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(/.{1,256})?</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_mission_profileselectmission_profile_id, regionReturns a mission profile.
list_mission_profilesselectregionmaxResults, nextTokenReturns a list of mission profiles.
create_mission_profileinsertregion, name, minimumViableContactDurationSeconds, dataflowEdges, trackingConfigArnCreates a mission profile. dataflowEdges is a list of lists of strings. Each lower level list of strings has two elements: a from ARN and a to ARN.
update_mission_profileupdatemission_profile_id, regionUpdates a mission profile. Updating a mission profile will not update the execution parameters for existing future contacts.
delete_mission_profiledeletemission_profile_id, regionDeletes a mission profile.
reserve_contactexecregion, missionProfileArn, startTime, endTime, groundStationReserves a contact using specified parameters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
mission_profile_idstringUUID of a mission profile.
regionstringAWS region (default: us-east-1)
maxResultsintegerMaximum number of mission profiles returned.
nextTokenstringNext token returned in the request of a previous ListMissionProfiles call. Used to get the next page of results.

SELECT examples

Returns a mission profile.

SELECT
name,
contact_post_pass_duration_seconds,
contact_pre_pass_duration_seconds,
dataflow_edges,
minimum_viable_contact_duration_seconds,
mission_profile_arn,
mission_profile_id,
region,
streams_kms_key,
streams_kms_role,
tags,
telemetry_sink_config_arn,
tracking_config_arn
FROM aws.groundstation.mission_profiles
WHERE mission_profile_id = '{{ mission_profile_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a mission profile. dataflowEdges is a list of lists of strings. Each lower level list of strings has two elements: a from ARN and a to ARN.

INSERT INTO aws.groundstation.mission_profiles (
name,
contactPrePassDurationSeconds,
contactPostPassDurationSeconds,
minimumViableContactDurationSeconds,
dataflowEdges,
trackingConfigArn,
telemetrySinkConfigArn,
tags,
streamsKmsKey,
streamsKmsRole,
region
)
SELECT
'{{ name }}' /* required */,
{{ contactPrePassDurationSeconds }},
{{ contactPostPassDurationSeconds }},
{{ minimumViableContactDurationSeconds }} /* required */,
'{{ dataflowEdges }}' /* required */,
'{{ trackingConfigArn }}' /* required */,
'{{ telemetrySinkConfigArn }}',
'{{ tags }}',
'{{ streamsKmsKey }}',
'{{ streamsKmsRole }}',
'{{ region }}'
RETURNING
mission_profile_id
;

UPDATE examples

Updates a mission profile. Updating a mission profile will not update the execution parameters for existing future contacts.

UPDATE aws.groundstation.mission_profiles
SET
name = '{{ name }}',
contactPrePassDurationSeconds = {{ contactPrePassDurationSeconds }},
contactPostPassDurationSeconds = {{ contactPostPassDurationSeconds }},
minimumViableContactDurationSeconds = {{ minimumViableContactDurationSeconds }},
dataflowEdges = '{{ dataflowEdges }}',
trackingConfigArn = '{{ trackingConfigArn }}',
telemetrySinkConfigArn = '{{ telemetrySinkConfigArn }}',
streamsKmsKey = '{{ streamsKmsKey }}',
streamsKmsRole = '{{ streamsKmsRole }}'
WHERE
mission_profile_id = '{{ mission_profile_id }}' --required
AND region = '{{ region }}' --required
RETURNING
mission_profile_id;

DELETE examples

Deletes a mission profile.

DELETE FROM aws.groundstation.mission_profiles
WHERE mission_profile_id = '{{ mission_profile_id }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

Reserves a contact using specified parameters.

EXEC aws.groundstation.mission_profiles.reserve_contact
@region='{{ region }}' --required
@@json=
'{
"missionProfileArn": "{{ missionProfileArn }}",
"satelliteArn": "{{ satelliteArn }}",
"startTime": "{{ startTime }}",
"endTime": "{{ endTime }}",
"groundStation": "{{ groundStation }}",
"tags": "{{ tags }}",
"trackingOverrides": "{{ trackingOverrides }}"
}'
;