Skip to content

CreateJobTemplateRequest

Source code in docs_src/capo_iot/types/create_job_template_request.py
class CreateJobTemplateRequest(TypedDict, closed=True):
    job_template_id: "capo_iot.types.job_template_id.JobTemplateId"
    """<p>A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.</p>"""
    job_arn: NotRequired["capo_iot.types.job_arn.JobArn"]
    """<p>The ARN of the job to use as the basis for the job template.</p>"""
    document_source: NotRequired["capo_iot.types.job_document_source.JobDocumentSource"]
    """<p>An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for <code>document</code>.</p> <p>For example, <code>--document-source https://s3.<i>region-code</i>.amazonaws.com/example-firmware/device-firmware.1.0</code> </p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html">Methods for accessing a bucket</a>.</p>"""
    document: NotRequired["capo_iot.types.job_document.JobDocument"]
    """<p>The job document. Required if you don't specify a value for <code>documentSource</code>.</p>"""
    description: "capo_iot.types.job_description.JobDescription"
    """<p>A description of the job document.</p>"""
    presigned_url_config: NotRequired[
        "capo_iot.types.presigned_url_config.PresignedUrlConfig"
    ]
    job_executions_rollout_config: NotRequired[
        "capo_iot.types.job_executions_rollout_config.JobExecutionsRolloutConfig"
    ]
    abort_config: NotRequired["capo_iot.types.abort_config.AbortConfig"]
    timeout_config: NotRequired["capo_iot.types.timeout_config.TimeoutConfig"]
    tags: NotRequired["capo_iot.types.tag_list.TagList"]
    """<p>Metadata that can be used to manage the job template.</p>"""
    job_executions_retry_config: NotRequired[
        "capo_iot.types.job_executions_retry_config.JobExecutionsRetryConfig"
    ]
    """<p>Allows you to create the criteria to retry a job.</p>"""
    maintenance_windows: NotRequired[
        "capo_iot.types.maintenance_windows.MaintenanceWindows"
    ]
    """<p>Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.</p>"""
    destination_package_versions: NotRequired[
        "capo_iot.types.destination_package_versions.DestinationPackageVersions"
    ]
    """<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle">Package version lifecycle</a>.</p> <p> <b>Note:</b>The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.</p>"""

abort_config instance-attribute

abort_config: NotRequired[AbortConfig]

description instance-attribute

description: JobDescription

A description of the job document.

destination_package_versions instance-attribute

destination_package_versions: NotRequired[DestinationPackageVersions]

The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.

Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.

document instance-attribute

document: NotRequired[JobDocument]

The job document. Required if you don't specify a value for documentSource.

document_source instance-attribute

document_source: NotRequired[JobDocumentSource]

An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for document.

For example, --document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0

For more information, see Methods for accessing a bucket.

job_arn instance-attribute

job_arn: NotRequired[JobArn]

The ARN of the job to use as the basis for the job template.

job_executions_retry_config instance-attribute

job_executions_retry_config: NotRequired[JobExecutionsRetryConfig]

Allows you to create the criteria to retry a job.

job_executions_rollout_config instance-attribute

job_executions_rollout_config: NotRequired[JobExecutionsRolloutConfig]

job_template_id instance-attribute

job_template_id: JobTemplateId

A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.

maintenance_windows instance-attribute

maintenance_windows: NotRequired[MaintenanceWindows]

Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.

presigned_url_config instance-attribute

presigned_url_config: NotRequired[PresignedUrlConfig]

tags instance-attribute

tags: NotRequired[TagList]

Metadata that can be used to manage the job template.

timeout_config instance-attribute

timeout_config: NotRequired[TimeoutConfig]