@aws-sdk/client-iot 3.345.0 → 3.347.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -0
- package/dist-cjs/IoT.js +24 -0
- package/dist-cjs/commands/CreatePackageCommand.js +47 -0
- package/dist-cjs/commands/CreatePackageVersionCommand.js +47 -0
- package/dist-cjs/commands/DeletePackageCommand.js +46 -0
- package/dist-cjs/commands/DeletePackageVersionCommand.js +46 -0
- package/dist-cjs/commands/GetPackageCommand.js +47 -0
- package/dist-cjs/commands/GetPackageConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetPackageVersionCommand.js +47 -0
- package/dist-cjs/commands/ListPackageVersionsCommand.js +46 -0
- package/dist-cjs/commands/ListPackagesCommand.js +46 -0
- package/dist-cjs/commands/UpdatePackageCommand.js +47 -0
- package/dist-cjs/commands/UpdatePackageConfigurationCommand.js +46 -0
- package/dist-cjs/commands/UpdatePackageVersionCommand.js +47 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/models/models_0.js +68 -1
- package/dist-cjs/models/models_1.js +13 -14
- package/dist-cjs/models/models_2.js +17 -1
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListPackagesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +897 -46
- package/dist-es/IoT.js +24 -0
- package/dist-es/commands/CreatePackageCommand.js +43 -0
- package/dist-es/commands/CreatePackageVersionCommand.js +43 -0
- package/dist-es/commands/DeletePackageCommand.js +42 -0
- package/dist-es/commands/DeletePackageVersionCommand.js +42 -0
- package/dist-es/commands/GetPackageCommand.js +43 -0
- package/dist-es/commands/GetPackageConfigurationCommand.js +42 -0
- package/dist-es/commands/GetPackageVersionCommand.js +43 -0
- package/dist-es/commands/ListPackageVersionsCommand.js +42 -0
- package/dist-es/commands/ListPackagesCommand.js +42 -0
- package/dist-es/commands/UpdatePackageCommand.js +43 -0
- package/dist-es/commands/UpdatePackageConfigurationCommand.js +42 -0
- package/dist-es/commands/UpdatePackageVersionCommand.js +43 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/models_0.js +60 -0
- package/dist-es/models/models_1.js +10 -12
- package/dist-es/models/models_2.js +14 -0
- package/dist-es/pagination/ListPackageVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListPackagesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +862 -35
- package/dist-types/IoT.d.ts +84 -0
- package/dist-types/IoTClient.d.ts +14 -2
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +97 -0
- package/dist-types/commands/CreatePackageVersionCommand.d.ts +107 -0
- package/dist-types/commands/DeleteFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +85 -0
- package/dist-types/commands/DeletePackageVersionCommand.d.ts +85 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetPackageCommand.d.ts +92 -0
- package/dist-types/commands/GetPackageConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/GetPackageVersionCommand.d.ts +98 -0
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +96 -0
- package/dist-types/commands/ListPackagesCommand.d.ts +93 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +1 -1
- package/dist-types/commands/ListRoleAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledAuditsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePackageCommand.d.ts +89 -0
- package/dist-types/commands/UpdatePackageConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/UpdatePackageVersionCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +184 -134
- package/dist-types/models/models_1.d.ts +416 -405
- package/dist-types/models/models_2.d.ts +529 -2
- package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPackagesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/IoT.d.ts +204 -0
- package/dist-types/ts3.4/IoTClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePackageVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteFleetMetricCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteJobExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteJobTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMitigationActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePackageVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPackageCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetPackageConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPackageVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRoleAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScheduledAuditsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePackageConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePackageVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -29
- package/dist-types/ts3.4/models/models_1.d.ts +114 -121
- package/dist-types/ts3.4/models/models_2.d.ts +152 -2
- package/dist-types/ts3.4/pagination/ListPackageVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
- package/package.json +28 -28
|
@@ -3689,7 +3689,8 @@ export interface CreateJobRequest {
|
|
|
3689
3689
|
targets: string[] | undefined;
|
|
3690
3690
|
/**
|
|
3691
3691
|
* <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>
|
|
3692
|
-
* <p>For example, <code>--document-source https://s3.<i>region-code</i>.amazonaws.com/example-firmware/device-firmware.1.0</code
|
|
3692
|
+
* <p>For example, <code>--document-source https://s3.<i>region-code</i>.amazonaws.com/example-firmware/device-firmware.1.0</code>
|
|
3693
|
+
* </p>
|
|
3693
3694
|
* <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>
|
|
3694
3695
|
*/
|
|
3695
3696
|
documentSource?: string;
|
|
@@ -3771,6 +3772,14 @@ export interface CreateJobRequest {
|
|
|
3771
3772
|
* addition to specifying the end behavior for each job execution.</p>
|
|
3772
3773
|
*/
|
|
3773
3774
|
schedulingConfig?: SchedulingConfig;
|
|
3775
|
+
/**
|
|
3776
|
+
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the
|
|
3777
|
+
* job successfully completes. </p>
|
|
3778
|
+
* <p>
|
|
3779
|
+
* <b>Note:</b>The following Length Constraints relates to a single string.
|
|
3780
|
+
* Up to five strings are allowed.</p>
|
|
3781
|
+
*/
|
|
3782
|
+
destinationPackageVersions?: string[];
|
|
3774
3783
|
}
|
|
3775
3784
|
/**
|
|
3776
3785
|
* @public
|
|
@@ -3796,6 +3805,10 @@ export interface CreateJobResponse {
|
|
|
3796
3805
|
export declare class ConflictException extends __BaseException {
|
|
3797
3806
|
readonly name: "ConflictException";
|
|
3798
3807
|
readonly $fault: "client";
|
|
3808
|
+
/**
|
|
3809
|
+
* <p>A resource with the same name already exists.</p>
|
|
3810
|
+
*/
|
|
3811
|
+
resourceId?: string;
|
|
3799
3812
|
/**
|
|
3800
3813
|
* @internal
|
|
3801
3814
|
*/
|
|
@@ -3865,6 +3878,13 @@ export interface CreateJobTemplateRequest {
|
|
|
3865
3878
|
* <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>
|
|
3866
3879
|
*/
|
|
3867
3880
|
maintenanceWindows?: MaintenanceWindow[];
|
|
3881
|
+
/**
|
|
3882
|
+
* <p>The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. </p>
|
|
3883
|
+
* <p>
|
|
3884
|
+
* <b>Note:</b>The following Length Constraints relates to a single string.
|
|
3885
|
+
* Up to five strings are allowed.</p>
|
|
3886
|
+
*/
|
|
3887
|
+
destinationPackageVersions?: string[];
|
|
3868
3888
|
}
|
|
3869
3889
|
/**
|
|
3870
3890
|
* @public
|
|
@@ -4554,6 +4574,159 @@ export interface CreateOTAUpdateResponse {
|
|
|
4554
4574
|
*/
|
|
4555
4575
|
otaUpdateStatus?: OTAUpdateStatus | string;
|
|
4556
4576
|
}
|
|
4577
|
+
/**
|
|
4578
|
+
* @public
|
|
4579
|
+
*/
|
|
4580
|
+
export interface CreatePackageRequest {
|
|
4581
|
+
/**
|
|
4582
|
+
* <p>The name of the new package.</p>
|
|
4583
|
+
*/
|
|
4584
|
+
packageName: string | undefined;
|
|
4585
|
+
/**
|
|
4586
|
+
* <p>A summary of the package being created. This can be used to outline the package's contents or purpose.</p>
|
|
4587
|
+
*/
|
|
4588
|
+
description?: string;
|
|
4589
|
+
/**
|
|
4590
|
+
* <p>Metadata that can be used to manage the package.</p>
|
|
4591
|
+
*/
|
|
4592
|
+
tags?: Record<string, string>;
|
|
4593
|
+
/**
|
|
4594
|
+
* <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
|
4595
|
+
* Don't reuse this client token if a new idempotent request is required.</p>
|
|
4596
|
+
*/
|
|
4597
|
+
clientToken?: string;
|
|
4598
|
+
}
|
|
4599
|
+
/**
|
|
4600
|
+
* @public
|
|
4601
|
+
*/
|
|
4602
|
+
export interface CreatePackageResponse {
|
|
4603
|
+
/**
|
|
4604
|
+
* <p>The name of the package.</p>
|
|
4605
|
+
*/
|
|
4606
|
+
packageName?: string;
|
|
4607
|
+
/**
|
|
4608
|
+
* <p>The Amazon Resource Name (ARN) for the package.</p>
|
|
4609
|
+
*/
|
|
4610
|
+
packageArn?: string;
|
|
4611
|
+
/**
|
|
4612
|
+
* <p>The package description.</p>
|
|
4613
|
+
*/
|
|
4614
|
+
description?: string;
|
|
4615
|
+
}
|
|
4616
|
+
/**
|
|
4617
|
+
* @public
|
|
4618
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
4619
|
+
* is unavailable.</p>
|
|
4620
|
+
*/
|
|
4621
|
+
export declare class InternalServerException extends __BaseException {
|
|
4622
|
+
readonly name: "InternalServerException";
|
|
4623
|
+
readonly $fault: "server";
|
|
4624
|
+
/**
|
|
4625
|
+
* @internal
|
|
4626
|
+
*/
|
|
4627
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
4628
|
+
}
|
|
4629
|
+
/**
|
|
4630
|
+
* @public
|
|
4631
|
+
* <p>A limit has been exceeded.</p>
|
|
4632
|
+
*/
|
|
4633
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
4634
|
+
readonly name: "ServiceQuotaExceededException";
|
|
4635
|
+
readonly $fault: "client";
|
|
4636
|
+
/**
|
|
4637
|
+
* @internal
|
|
4638
|
+
*/
|
|
4639
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
4640
|
+
}
|
|
4641
|
+
/**
|
|
4642
|
+
* @public
|
|
4643
|
+
* <p>The request is not valid.</p>
|
|
4644
|
+
*/
|
|
4645
|
+
export declare class ValidationException extends __BaseException {
|
|
4646
|
+
readonly name: "ValidationException";
|
|
4647
|
+
readonly $fault: "client";
|
|
4648
|
+
/**
|
|
4649
|
+
* @internal
|
|
4650
|
+
*/
|
|
4651
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
4652
|
+
}
|
|
4653
|
+
/**
|
|
4654
|
+
* @public
|
|
4655
|
+
*/
|
|
4656
|
+
export interface CreatePackageVersionRequest {
|
|
4657
|
+
/**
|
|
4658
|
+
* <p>The name of the associated package.</p>
|
|
4659
|
+
*/
|
|
4660
|
+
packageName: string | undefined;
|
|
4661
|
+
/**
|
|
4662
|
+
* <p>The name of the new package version.</p>
|
|
4663
|
+
*/
|
|
4664
|
+
versionName: string | undefined;
|
|
4665
|
+
/**
|
|
4666
|
+
* <p>A summary of the package version being created. This can be used to outline the package's contents or purpose.</p>
|
|
4667
|
+
*/
|
|
4668
|
+
description?: string;
|
|
4669
|
+
/**
|
|
4670
|
+
* <p>Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.</p>
|
|
4671
|
+
* <p>The combined size of all the attributes on a package version is limited to 3KB.</p>
|
|
4672
|
+
*/
|
|
4673
|
+
attributes?: Record<string, string>;
|
|
4674
|
+
/**
|
|
4675
|
+
* <p>Metadata that can be used to manage the package version.</p>
|
|
4676
|
+
*/
|
|
4677
|
+
tags?: Record<string, string>;
|
|
4678
|
+
/**
|
|
4679
|
+
* <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
|
4680
|
+
* Don't reuse this client token if a new idempotent request is required.</p>
|
|
4681
|
+
*/
|
|
4682
|
+
clientToken?: string;
|
|
4683
|
+
}
|
|
4684
|
+
/**
|
|
4685
|
+
* @public
|
|
4686
|
+
* @enum
|
|
4687
|
+
*/
|
|
4688
|
+
export declare const PackageVersionStatus: {
|
|
4689
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
4690
|
+
readonly DRAFT: "DRAFT";
|
|
4691
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
4692
|
+
};
|
|
4693
|
+
/**
|
|
4694
|
+
* @public
|
|
4695
|
+
*/
|
|
4696
|
+
export type PackageVersionStatus = (typeof PackageVersionStatus)[keyof typeof PackageVersionStatus];
|
|
4697
|
+
/**
|
|
4698
|
+
* @public
|
|
4699
|
+
*/
|
|
4700
|
+
export interface CreatePackageVersionResponse {
|
|
4701
|
+
/**
|
|
4702
|
+
* <p>The Amazon Resource Name (ARN) for the package.</p>
|
|
4703
|
+
*/
|
|
4704
|
+
packageVersionArn?: string;
|
|
4705
|
+
/**
|
|
4706
|
+
* <p>The name of the associated package.</p>
|
|
4707
|
+
*/
|
|
4708
|
+
packageName?: string;
|
|
4709
|
+
/**
|
|
4710
|
+
* <p>The name of the new package version.</p>
|
|
4711
|
+
*/
|
|
4712
|
+
versionName?: string;
|
|
4713
|
+
/**
|
|
4714
|
+
* <p>The package version description.</p>
|
|
4715
|
+
*/
|
|
4716
|
+
description?: string;
|
|
4717
|
+
/**
|
|
4718
|
+
* <p>Metadata that were added to the package version that can be used to define a package version’s configuration.</p>
|
|
4719
|
+
*/
|
|
4720
|
+
attributes?: Record<string, string>;
|
|
4721
|
+
/**
|
|
4722
|
+
* <p>The status of the package version. 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>
|
|
4723
|
+
*/
|
|
4724
|
+
status?: PackageVersionStatus | string;
|
|
4725
|
+
/**
|
|
4726
|
+
* <p>Error reason for a package version failure during creation or update.</p>
|
|
4727
|
+
*/
|
|
4728
|
+
errorReason?: string;
|
|
4729
|
+
}
|
|
4557
4730
|
/**
|
|
4558
4731
|
* @public
|
|
4559
4732
|
* <p>The input for the CreatePolicy operation.</p>
|
|
@@ -5642,152 +5815,29 @@ export interface DeleteDynamicThingGroupRequest {
|
|
|
5642
5815
|
export interface DeleteDynamicThingGroupResponse {
|
|
5643
5816
|
}
|
|
5644
5817
|
/**
|
|
5645
|
-
* @
|
|
5646
|
-
*/
|
|
5647
|
-
export interface DeleteFleetMetricRequest {
|
|
5648
|
-
/**
|
|
5649
|
-
* <p>The name of the fleet metric to delete.</p>
|
|
5650
|
-
*/
|
|
5651
|
-
metricName: string | undefined;
|
|
5652
|
-
/**
|
|
5653
|
-
* <p>The expected version of the fleet metric to delete.</p>
|
|
5654
|
-
*/
|
|
5655
|
-
expectedVersion?: number;
|
|
5656
|
-
}
|
|
5657
|
-
/**
|
|
5658
|
-
* @public
|
|
5659
|
-
*/
|
|
5660
|
-
export interface DeleteJobRequest {
|
|
5661
|
-
/**
|
|
5662
|
-
* <p>The ID of the job to be deleted.</p>
|
|
5663
|
-
* <p>After a job deletion is completed, you may reuse this jobId when you create a new job.
|
|
5664
|
-
* However, this is not recommended, and you must ensure that your devices are not using the
|
|
5665
|
-
* jobId to refer to the deleted job.</p>
|
|
5666
|
-
*/
|
|
5667
|
-
jobId: string | undefined;
|
|
5668
|
-
/**
|
|
5669
|
-
* <p>(Optional) When true, you can delete a job which is "IN_PROGRESS". Otherwise, you can
|
|
5670
|
-
* only delete a job which is in a terminal state ("COMPLETED" or "CANCELED") or an exception
|
|
5671
|
-
* will occur. The default is false.</p>
|
|
5672
|
-
* <note>
|
|
5673
|
-
* <p>Deleting a job which is "IN_PROGRESS", will cause a device which is executing
|
|
5674
|
-
* the job to be unable to access job information or update the job execution status.
|
|
5675
|
-
* Use caution and ensure that each device executing a job which is deleted is able to recover to
|
|
5676
|
-
* a valid state.</p>
|
|
5677
|
-
* </note>
|
|
5678
|
-
*/
|
|
5679
|
-
force?: boolean;
|
|
5680
|
-
/**
|
|
5681
|
-
* <p>The namespace used to indicate that a job is a customer-managed job.</p>
|
|
5682
|
-
* <p>When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that
|
|
5683
|
-
* contain the value in the following format.</p>
|
|
5684
|
-
* <p>
|
|
5685
|
-
* <code>$aws/things/<i>THING_NAME</i>/jobs/<i>JOB_ID</i>/notify-namespace-<i>NAMESPACE_ID</i>/</code>
|
|
5686
|
-
* </p>
|
|
5687
|
-
* <note>
|
|
5688
|
-
* <p>The <code>namespaceId</code> feature is in public preview.</p>
|
|
5689
|
-
* </note>
|
|
5690
|
-
*/
|
|
5691
|
-
namespaceId?: string;
|
|
5692
|
-
}
|
|
5693
|
-
/**
|
|
5694
|
-
* @public
|
|
5695
|
-
*/
|
|
5696
|
-
export interface DeleteJobExecutionRequest {
|
|
5697
|
-
/**
|
|
5698
|
-
* <p>The ID of the job whose execution on a particular device will be deleted.</p>
|
|
5699
|
-
*/
|
|
5700
|
-
jobId: string | undefined;
|
|
5701
|
-
/**
|
|
5702
|
-
* <p>The name of the thing whose job execution will be deleted.</p>
|
|
5703
|
-
*/
|
|
5704
|
-
thingName: string | undefined;
|
|
5705
|
-
/**
|
|
5706
|
-
* <p>The ID of the job execution to be deleted. The <code>executionNumber</code> refers to the
|
|
5707
|
-
* execution of a particular job on a particular device.</p>
|
|
5708
|
-
* <p>Note that once a job execution is deleted, the <code>executionNumber</code> may be reused
|
|
5709
|
-
* by IoT, so be sure you get and use the correct value here.</p>
|
|
5710
|
-
*/
|
|
5711
|
-
executionNumber: number | undefined;
|
|
5712
|
-
/**
|
|
5713
|
-
* <p>(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise,
|
|
5714
|
-
* you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED",
|
|
5715
|
-
* "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.</p>
|
|
5716
|
-
* <note>
|
|
5717
|
-
* <p>Deleting a job execution which is "IN_PROGRESS", will cause the device
|
|
5718
|
-
* to be unable to access job information or update the job execution status.
|
|
5719
|
-
* Use caution and ensure that the device is able to recover to a valid state.</p>
|
|
5720
|
-
* </note>
|
|
5721
|
-
*/
|
|
5722
|
-
force?: boolean;
|
|
5723
|
-
/**
|
|
5724
|
-
* <p>The namespace used to indicate that a job is a customer-managed job.</p>
|
|
5725
|
-
* <p>When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that
|
|
5726
|
-
* contain the value in the following format.</p>
|
|
5727
|
-
* <p>
|
|
5728
|
-
* <code>$aws/things/<i>THING_NAME</i>/jobs/<i>JOB_ID</i>/notify-namespace-<i>NAMESPACE_ID</i>/</code>
|
|
5729
|
-
* </p>
|
|
5730
|
-
* <note>
|
|
5731
|
-
* <p>The <code>namespaceId</code> feature is in public preview.</p>
|
|
5732
|
-
* </note>
|
|
5733
|
-
*/
|
|
5734
|
-
namespaceId?: string;
|
|
5735
|
-
}
|
|
5736
|
-
/**
|
|
5737
|
-
* @public
|
|
5738
|
-
*/
|
|
5739
|
-
export interface DeleteJobTemplateRequest {
|
|
5740
|
-
/**
|
|
5741
|
-
* <p>The unique identifier of the job template to delete.</p>
|
|
5742
|
-
*/
|
|
5743
|
-
jobTemplateId: string | undefined;
|
|
5744
|
-
}
|
|
5745
|
-
/**
|
|
5746
|
-
* @public
|
|
5818
|
+
* @internal
|
|
5747
5819
|
*/
|
|
5748
|
-
export
|
|
5749
|
-
/**
|
|
5750
|
-
* <p>The name of the mitigation action that you want to delete.</p>
|
|
5751
|
-
*/
|
|
5752
|
-
actionName: string | undefined;
|
|
5753
|
-
}
|
|
5820
|
+
export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
|
|
5754
5821
|
/**
|
|
5755
|
-
* @
|
|
5822
|
+
* @internal
|
|
5756
5823
|
*/
|
|
5757
|
-
export
|
|
5758
|
-
}
|
|
5824
|
+
export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (obj: CreateKeysAndCertificateResponse) => any;
|
|
5759
5825
|
/**
|
|
5760
|
-
* @
|
|
5826
|
+
* @internal
|
|
5761
5827
|
*/
|
|
5762
|
-
export
|
|
5763
|
-
/**
|
|
5764
|
-
* <p>The ID of the OTA update to delete.</p>
|
|
5765
|
-
*/
|
|
5766
|
-
otaUpdateId: string | undefined;
|
|
5767
|
-
/**
|
|
5768
|
-
* <p>When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted.
|
|
5769
|
-
* Ignored if the stream specified in the OTAUpdate is supplied by the user.</p>
|
|
5770
|
-
*/
|
|
5771
|
-
deleteStream?: boolean;
|
|
5772
|
-
/**
|
|
5773
|
-
* <p>When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS". Otherwise, if the
|
|
5774
|
-
* job is not in a terminal state ("COMPLETED" or "CANCELED") an exception will occur. The default is false.</p>
|
|
5775
|
-
*/
|
|
5776
|
-
forceDeleteAWSJob?: boolean;
|
|
5777
|
-
}
|
|
5828
|
+
export declare const CreatePackageRequestFilterSensitiveLog: (obj: CreatePackageRequest) => any;
|
|
5778
5829
|
/**
|
|
5779
|
-
* @
|
|
5830
|
+
* @internal
|
|
5780
5831
|
*/
|
|
5781
|
-
export
|
|
5782
|
-
}
|
|
5832
|
+
export declare const CreatePackageResponseFilterSensitiveLog: (obj: CreatePackageResponse) => any;
|
|
5783
5833
|
/**
|
|
5784
5834
|
* @internal
|
|
5785
5835
|
*/
|
|
5786
|
-
export declare const
|
|
5836
|
+
export declare const CreatePackageVersionRequestFilterSensitiveLog: (obj: CreatePackageVersionRequest) => any;
|
|
5787
5837
|
/**
|
|
5788
5838
|
* @internal
|
|
5789
5839
|
*/
|
|
5790
|
-
export declare const
|
|
5840
|
+
export declare const CreatePackageVersionResponseFilterSensitiveLog: (obj: CreatePackageVersionResponse) => any;
|
|
5791
5841
|
/**
|
|
5792
5842
|
* @internal
|
|
5793
5843
|
*/
|