@aws-sdk/client-iot 3.128.0 → 3.134.0
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/CHANGELOG.md +30 -0
- package/dist-cjs/commands/ListThingGroupsForThingCommand.js +2 -1
- package/dist-cjs/models/models_1.js +9 -9
- package/dist-cjs/models/models_2.js +9 -3
- package/dist-cjs/protocols/Aws_restJson1.js +40 -0
- package/dist-es/commands/ListThingGroupsForThingCommand.js +2 -1
- package/dist-es/models/models_1.js +4 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +38 -1
- package/dist-types/IoT.d.ts +2 -1
- package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +2 -1
- package/dist-types/models/models_1.d.ts +26 -16
- package/dist-types/models/models_2.d.ts +17 -1
- package/dist-types/ts3.4/commands/ListThingGroupsForThingCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_1.d.ts +11 -10
- package/dist-types/ts3.4/models/models_2.d.ts +11 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.134.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.133.0...v3.134.0) (2022-07-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-iot:** GA release the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs. This includes Named Shadow Selection as a part of the UpdateIndexingConfiguration API. ([358a73e](https://github.com/aws/aws-sdk-js-v3/commit/358a73e37eca1782a115e9c304bdc27889fc7026))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-iot
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-iot
|
|
@@ -4,6 +4,7 @@ exports.ListThingGroupsForThingCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const models_2_1 = require("../models/models_2");
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListThingGroupsForThingCommand extends smithy_client_1.Command {
|
|
9
10
|
constructor(input) {
|
|
@@ -21,7 +22,7 @@ class ListThingGroupsForThingCommand extends smithy_client_1.Command {
|
|
|
21
22
|
clientName,
|
|
22
23
|
commandName,
|
|
23
24
|
inputFilterSensitiveLog: models_1_1.ListThingGroupsForThingRequest.filterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: models_2_1.ListThingGroupsForThingResponse.filterSensitiveLog,
|
|
25
26
|
};
|
|
26
27
|
const { requestHandler } = configuration;
|
|
27
28
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DescribeCustomMetricResponse = exports.DescribeCustomMetricRequest = exports.DescribeCertificateResponse = exports.CertificateDescription = exports.TransferData = exports.CertificateStatus = exports.DescribeCertificateRequest = exports.DescribeCACertificateResponse = exports.RegistrationConfig = exports.CACertificateDescription = exports.CertificateValidity = exports.CACertificateStatus = exports.CertificateMode = exports.DescribeCACertificateRequest = exports.DescribeBillingGroupResponse = exports.BillingGroupMetadata = exports.DescribeBillingGroupRequest = exports.DescribeAuthorizerResponse = exports.DescribeAuthorizerRequest = exports.DescribeAuditTaskResponse = exports.TaskStatistics = exports.DescribeAuditTaskRequest = exports.DescribeAuditSuppressionResponse = exports.DescribeAuditSuppressionRequest = exports.DescribeAuditMitigationActionsTaskResponse = exports.MitigationAction = exports.DescribeAuditMitigationActionsTaskRequest = exports.DescribeAuditFindingResponse = exports.DescribeAuditFindingRequest = exports.DescribeAccountAuditConfigurationResponse = exports.DescribeAccountAuditConfigurationRequest = exports.DeprecateThingTypeResponse = exports.DeprecateThingTypeRequest = exports.DeleteV2LoggingLevelRequest = exports.LogTargetType = exports.DeleteTopicRuleDestinationResponse = exports.DeleteTopicRuleDestinationRequest = exports.DeleteTopicRuleRequest = exports.DeleteThingTypeResponse = exports.DeleteThingTypeRequest = exports.DeleteThingGroupResponse = exports.DeleteThingGroupRequest = exports.DeleteThingResponse = exports.DeleteThingRequest = exports.DeleteStreamResponse = exports.DeleteStreamRequest = exports.DeleteSecurityProfileResponse = exports.DeleteSecurityProfileRequest = exports.DeleteScheduledAuditResponse = exports.DeleteScheduledAuditRequest = void 0;
|
|
4
4
|
exports.DescribeProvisioningTemplateVersionRequest = exports.DescribeProvisioningTemplateResponse = exports.DescribeProvisioningTemplateRequest = exports.DescribeMitigationActionResponse = exports.MitigationActionType = exports.DescribeMitigationActionRequest = exports.InternalServerException = exports.DescribeManagedJobTemplateResponse = exports.DocumentParameter = exports.DescribeManagedJobTemplateRequest = exports.DescribeJobTemplateResponse = exports.DescribeJobTemplateRequest = exports.DescribeJobExecutionResponse = exports.JobExecution = exports.JobExecutionStatusDetails = exports.JobExecutionStatus = exports.DescribeJobExecutionRequest = exports.DescribeJobResponse = exports.Job = exports.JobStatus = exports.JobProcessDetails = exports.DescribeJobRequest = exports.DescribeIndexResponse = exports.IndexStatus = exports.DescribeIndexRequest = exports.DescribeFleetMetricResponse = exports.DescribeFleetMetricRequest = exports.DescribeEventConfigurationsResponse = exports.Configuration = exports.EventType = exports.DescribeEventConfigurationsRequest = exports.DescribeEndpointResponse = exports.DescribeEndpointRequest = exports.DescribeDomainConfigurationResponse = exports.ServerCertificateSummary = exports.ServerCertificateStatus = exports.DomainType = exports.DomainConfigurationStatus = exports.DescribeDomainConfigurationRequest = exports.DescribeDimensionResponse = exports.DescribeDimensionRequest = exports.DescribeDetectMitigationActionsTaskResponse = exports.DetectMitigationActionsTaskSummary = exports.ViolationEventOccurrenceRange = exports.DetectMitigationActionsTaskStatus = exports.DetectMitigationActionsTaskStatistics = exports.DetectMitigationActionsTaskTarget = exports.DescribeDetectMitigationActionsTaskRequest = exports.DescribeDefaultAuthorizerResponse = exports.DescribeDefaultAuthorizerRequest = void 0;
|
|
5
5
|
exports.ThingGroupIndexingMode = exports.Field = exports.FieldType = exports.GetIndexingConfigurationRequest = exports.GetEffectivePoliciesResponse = exports.EffectivePolicy = exports.GetEffectivePoliciesRequest = exports.GetCardinalityResponse = exports.GetCardinalityRequest = exports.GetBucketsAggregationResponse = exports.Bucket = exports.GetBucketsAggregationRequest = exports.BucketsAggregationType = exports.TermsAggregation = exports.GetBehaviorModelTrainingSummariesResponse = exports.BehaviorModelTrainingSummary = exports.ModelStatus = exports.GetBehaviorModelTrainingSummariesRequest = exports.EnableTopicRuleRequest = exports.DisableTopicRuleRequest = exports.DetachThingPrincipalResponse = exports.DetachThingPrincipalRequest = exports.DetachSecurityProfileResponse = exports.DetachSecurityProfileRequest = exports.DetachPrincipalPolicyRequest = exports.DetachPolicyRequest = exports.DescribeThingTypeResponse = exports.ThingTypeMetadata = exports.DescribeThingTypeRequest = exports.DescribeThingRegistrationTaskResponse = exports.Status = exports.DescribeThingRegistrationTaskRequest = exports.DescribeThingGroupResponse = exports.ThingGroupMetadata = exports.GroupNameAndArn = exports.DynamicGroupStatus = exports.DescribeThingGroupRequest = exports.DescribeThingResponse = exports.DescribeThingRequest = exports.DescribeStreamResponse = exports.StreamInfo = exports.DescribeStreamRequest = exports.DescribeSecurityProfileResponse = exports.DescribeSecurityProfileRequest = exports.DescribeScheduledAuditResponse = exports.DescribeScheduledAuditRequest = exports.DescribeRoleAliasResponse = exports.RoleAliasDescription = exports.DescribeRoleAliasRequest = exports.DescribeProvisioningTemplateVersionResponse = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
6
|
+
exports.ListAuditTasksRequest = exports.ListAuditSuppressionsResponse = exports.ListAuditSuppressionsRequest = exports.ListAuditMitigationActionsTasksResponse = exports.ListAuditMitigationActionsTasksRequest = exports.ListAuditMitigationActionsExecutionsResponse = exports.ListAuditMitigationActionsExecutionsRequest = exports.ListAuditFindingsResponse = exports.ListAuditFindingsRequest = exports.ListAttachedPoliciesResponse = exports.ListAttachedPoliciesRequest = exports.ListActiveViolationsResponse = exports.ListActiveViolationsRequest = exports.BehaviorCriteriaType = exports.NotConfiguredException = exports.GetV2LoggingOptionsResponse = exports.GetV2LoggingOptionsRequest = exports.GetTopicRuleDestinationResponse = exports.GetTopicRuleDestinationRequest = exports.GetTopicRuleResponse = exports.TopicRule = exports.GetTopicRuleRequest = exports.GetStatisticsResponse = exports.Statistics = exports.GetStatisticsRequest = exports.GetRegistrationCodeResponse = exports.GetRegistrationCodeRequest = exports.GetPolicyVersionResponse = exports.GetPolicyVersionRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetPercentilesResponse = exports.PercentPair = exports.GetPercentilesRequest = exports.GetOTAUpdateResponse = exports.OTAUpdateInfo = exports.ErrorInfo = exports.GetOTAUpdateRequest = exports.GetLoggingOptionsResponse = exports.GetLoggingOptionsRequest = exports.GetJobDocumentResponse = exports.GetJobDocumentRequest = exports.GetIndexingConfigurationResponse = exports.ThingIndexingConfiguration = exports.ThingIndexingMode = exports.ThingConnectivityIndexingMode = exports.NamedShadowIndexingMode = exports.IndexingFilter = exports.DeviceDefenderIndexingMode = exports.ThingGroupIndexingConfiguration = void 0;
|
|
7
|
+
exports.ListMetricValuesResponse = exports.MetricDatum = exports.ListMetricValuesRequest = exports.ListManagedJobTemplatesResponse = exports.ManagedJobTemplateSummary = exports.ListManagedJobTemplatesRequest = exports.ListJobTemplatesResponse = exports.JobTemplateSummary = exports.ListJobTemplatesRequest = exports.ListJobsResponse = exports.JobSummary = exports.ListJobsRequest = exports.ListJobExecutionsForThingResponse = exports.JobExecutionSummaryForThing = exports.ListJobExecutionsForThingRequest = exports.ListJobExecutionsForJobResponse = exports.JobExecutionSummaryForJob = exports.JobExecutionSummary = exports.ListJobExecutionsForJobRequest = exports.ListIndicesResponse = exports.ListIndicesRequest = exports.ListFleetMetricsResponse = exports.FleetMetricNameAndArn = exports.ListFleetMetricsRequest = exports.ListDomainConfigurationsResponse = exports.DomainConfigurationSummary = exports.ListDomainConfigurationsRequest = exports.ListDimensionsResponse = exports.ListDimensionsRequest = exports.ListDetectMitigationActionsTasksResponse = exports.ListDetectMitigationActionsTasksRequest = exports.ListDetectMitigationActionsExecutionsResponse = exports.DetectMitigationActionExecution = exports.DetectMitigationActionExecutionStatus = exports.ListDetectMitigationActionsExecutionsRequest = exports.ListCustomMetricsResponse = exports.ListCustomMetricsRequest = exports.ListCertificatesByCAResponse = exports.ListCertificatesByCARequest = exports.ListCertificatesResponse = exports.Certificate = exports.ListCertificatesRequest = exports.ListCACertificatesResponse = exports.CACertificate = exports.ListCACertificatesRequest = exports.ListBillingGroupsResponse = exports.ListBillingGroupsRequest = exports.ListAuthorizersResponse = exports.ListAuthorizersRequest = exports.ListAuditTasksResponse = void 0;
|
|
8
|
+
exports.ListThingGroupsForThingRequest = exports.ListThingGroupsResponse = exports.ListThingGroupsRequest = exports.ListTargetsForSecurityProfileResponse = exports.ListTargetsForSecurityProfileRequest = exports.ListTargetsForPolicyResponse = exports.ListTargetsForPolicyRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.ListSecurityProfilesForTargetResponse = exports.SecurityProfileTargetMapping = exports.SecurityProfileTarget = exports.ListSecurityProfilesForTargetRequest = exports.ListSecurityProfilesResponse = exports.SecurityProfileIdentifier = exports.ListSecurityProfilesRequest = exports.ListScheduledAuditsResponse = exports.ScheduledAuditMetadata = exports.ListScheduledAuditsRequest = exports.ListRoleAliasesResponse = exports.ListRoleAliasesRequest = exports.ListProvisioningTemplateVersionsResponse = exports.ProvisioningTemplateVersionSummary = exports.ListProvisioningTemplateVersionsRequest = exports.ListProvisioningTemplatesResponse = exports.ProvisioningTemplateSummary = exports.ListProvisioningTemplatesRequest = exports.ListPrincipalThingsResponse = exports.ListPrincipalThingsRequest = exports.ListPrincipalPoliciesResponse = exports.ListPrincipalPoliciesRequest = exports.ListPolicyVersionsResponse = exports.PolicyVersion = exports.ListPolicyVersionsRequest = exports.ListPolicyPrincipalsResponse = exports.ListPolicyPrincipalsRequest = exports.ListPoliciesResponse = exports.ListPoliciesRequest = exports.ListOutgoingCertificatesResponse = exports.OutgoingCertificate = exports.ListOutgoingCertificatesRequest = exports.ListOTAUpdatesResponse = exports.OTAUpdateSummary = exports.ListOTAUpdatesRequest = exports.ListMitigationActionsResponse = exports.MitigationActionIdentifier = exports.ListMitigationActionsRequest = void 0;
|
|
9
9
|
const IoTServiceException_1 = require("./IoTServiceException");
|
|
10
10
|
var DeleteScheduledAuditRequest;
|
|
11
11
|
(function (DeleteScheduledAuditRequest) {
|
|
@@ -945,6 +945,12 @@ var DeviceDefenderIndexingMode;
|
|
|
945
945
|
DeviceDefenderIndexingMode["OFF"] = "OFF";
|
|
946
946
|
DeviceDefenderIndexingMode["VIOLATIONS"] = "VIOLATIONS";
|
|
947
947
|
})(DeviceDefenderIndexingMode = exports.DeviceDefenderIndexingMode || (exports.DeviceDefenderIndexingMode = {}));
|
|
948
|
+
var IndexingFilter;
|
|
949
|
+
(function (IndexingFilter) {
|
|
950
|
+
IndexingFilter.filterSensitiveLog = (obj) => ({
|
|
951
|
+
...obj,
|
|
952
|
+
});
|
|
953
|
+
})(IndexingFilter = exports.IndexingFilter || (exports.IndexingFilter = {}));
|
|
948
954
|
var NamedShadowIndexingMode;
|
|
949
955
|
(function (NamedShadowIndexingMode) {
|
|
950
956
|
NamedShadowIndexingMode["OFF"] = "OFF";
|
|
@@ -1833,9 +1839,3 @@ var ListThingGroupsForThingRequest;
|
|
|
1833
1839
|
...obj,
|
|
1834
1840
|
});
|
|
1835
1841
|
})(ListThingGroupsForThingRequest = exports.ListThingGroupsForThingRequest || (exports.ListThingGroupsForThingRequest = {}));
|
|
1836
|
-
var ListThingGroupsForThingResponse;
|
|
1837
|
-
(function (ListThingGroupsForThingResponse) {
|
|
1838
|
-
ListThingGroupsForThingResponse.filterSensitiveLog = (obj) => ({
|
|
1839
|
-
...obj,
|
|
1840
|
-
});
|
|
1841
|
-
})(ListThingGroupsForThingResponse = exports.ListThingGroupsForThingResponse || (exports.ListThingGroupsForThingResponse = {}));
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.ValidateSecurityProfileBehaviorsResponse = exports.ValidationError = exports.ValidateSecurityProfileBehaviorsRequest = exports.UpdateTopicRuleDestinationResponse = exports.UpdateTopicRuleDestinationRequest = exports.UpdateThingGroupsForThingResponse = exports.UpdateThingGroupsForThingRequest = exports.UpdateThingGroupResponse = exports.UpdateThingGroupRequest = exports.UpdateThingResponse = exports.UpdateThingRequest = exports.UpdateStreamResponse = exports.UpdateStreamRequest = exports.UpdateSecurityProfileResponse = exports.UpdateSecurityProfileRequest = exports.UpdateScheduledAuditResponse = exports.UpdateScheduledAuditRequest = exports.UpdateRoleAliasResponse = exports.UpdateRoleAliasRequest = exports.UpdateProvisioningTemplateResponse = exports.UpdateProvisioningTemplateRequest = exports.UpdateMitigationActionResponse = exports.UpdateMitigationActionRequest = exports.UpdateJobRequest = exports.UpdateIndexingConfigurationResponse = exports.UpdateIndexingConfigurationRequest = exports.UpdateFleetMetricRequest = exports.UpdateEventConfigurationsResponse = exports.UpdateEventConfigurationsRequest = exports.UpdateDynamicThingGroupResponse = exports.UpdateDynamicThingGroupRequest = exports.UpdateDomainConfigurationResponse = exports.UpdateDomainConfigurationRequest = exports.UpdateDimensionResponse = exports.UpdateDimensionRequest = exports.UpdateCustomMetricResponse = exports.UpdateCustomMetricRequest = void 0;
|
|
3
|
+
exports.RemoveThingFromBillingGroupResponse = exports.RemoveThingFromBillingGroupRequest = exports.RejectCertificateTransferRequest = exports.ResourceRegistrationFailureException = exports.RegisterThingResponse = exports.RegisterThingRequest = exports.RegisterCertificateWithoutCAResponse = exports.RegisterCertificateWithoutCARequest = exports.RegisterCertificateResponse = exports.RegisterCertificateRequest = exports.CertificateConflictException = exports.RegistrationCodeValidationException = exports.RegisterCACertificateResponse = exports.RegisterCACertificateRequest = exports.PutVerificationStateOnViolationResponse = exports.PutVerificationStateOnViolationRequest = exports.ListViolationEventsResponse = exports.ViolationEvent = exports.ViolationEventType = exports.ListViolationEventsRequest = exports.ListV2LoggingLevelsResponse = exports.LogTargetConfiguration = exports.LogTarget = exports.ListV2LoggingLevelsRequest = exports.ListTopicRulesResponse = exports.TopicRuleListItem = exports.ListTopicRulesRequest = exports.ListTopicRuleDestinationsResponse = exports.TopicRuleDestinationSummary = exports.VpcDestinationSummary = exports.HttpUrlDestinationSummary = exports.ListTopicRuleDestinationsRequest = exports.ListThingTypesResponse = exports.ThingTypeDefinition = exports.ListThingTypesRequest = exports.ListThingsInThingGroupResponse = exports.ListThingsInThingGroupRequest = exports.ListThingsInBillingGroupResponse = exports.ListThingsInBillingGroupRequest = exports.ListThingsResponse = exports.ThingAttribute = exports.ListThingsRequest = exports.ListThingRegistrationTasksResponse = exports.ListThingRegistrationTasksRequest = exports.ListThingRegistrationTaskReportsResponse = exports.ListThingRegistrationTaskReportsRequest = exports.ReportType = exports.ListThingPrincipalsResponse = exports.ListThingPrincipalsRequest = exports.ListThingGroupsForThingResponse = void 0;
|
|
4
|
+
exports.UpdateCACertificateRequest = exports.UpdateBillingGroupResponse = exports.UpdateBillingGroupRequest = exports.UpdateAuthorizerResponse = exports.UpdateAuthorizerRequest = exports.UpdateAuditSuppressionResponse = exports.UpdateAuditSuppressionRequest = exports.UpdateAccountAuditConfigurationResponse = exports.UpdateAccountAuditConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TransferConflictException = exports.TransferCertificateResponse = exports.TransferCertificateRequest = exports.TestInvokeAuthorizerResponse = exports.TestInvokeAuthorizerRequest = exports.TlsContext = exports.MqttContext = exports.HttpContext = exports.InvalidResponseException = exports.TestAuthorizationResponse = exports.TestAuthorizationRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopThingRegistrationTaskResponse = exports.StopThingRegistrationTaskRequest = exports.StartThingRegistrationTaskResponse = exports.StartThingRegistrationTaskRequest = exports.StartOnDemandAuditTaskResponse = exports.StartOnDemandAuditTaskRequest = exports.StartDetectMitigationActionsTaskResponse = exports.StartDetectMitigationActionsTaskRequest = exports.TaskAlreadyExistsException = exports.StartAuditMitigationActionsTaskResponse = exports.StartAuditMitigationActionsTaskRequest = exports.SetV2LoggingOptionsRequest = exports.SetV2LoggingLevelRequest = exports.SetLoggingOptionsRequest = exports.LoggingOptionsPayload = exports.SetDefaultPolicyVersionRequest = exports.SetDefaultAuthorizerResponse = exports.SetDefaultAuthorizerRequest = exports.SearchIndexResponse = exports.ThingDocument = exports.ThingConnectivity = exports.ThingGroupDocument = exports.SearchIndexRequest = exports.ReplaceTopicRuleRequest = exports.RemoveThingFromThingGroupResponse = exports.RemoveThingFromThingGroupRequest = void 0;
|
|
5
|
+
exports.ValidateSecurityProfileBehaviorsResponse = exports.ValidationError = exports.ValidateSecurityProfileBehaviorsRequest = exports.UpdateTopicRuleDestinationResponse = exports.UpdateTopicRuleDestinationRequest = exports.UpdateThingGroupsForThingResponse = exports.UpdateThingGroupsForThingRequest = exports.UpdateThingGroupResponse = exports.UpdateThingGroupRequest = exports.UpdateThingResponse = exports.UpdateThingRequest = exports.UpdateStreamResponse = exports.UpdateStreamRequest = exports.UpdateSecurityProfileResponse = exports.UpdateSecurityProfileRequest = exports.UpdateScheduledAuditResponse = exports.UpdateScheduledAuditRequest = exports.UpdateRoleAliasResponse = exports.UpdateRoleAliasRequest = exports.UpdateProvisioningTemplateResponse = exports.UpdateProvisioningTemplateRequest = exports.UpdateMitigationActionResponse = exports.UpdateMitigationActionRequest = exports.UpdateJobRequest = exports.UpdateIndexingConfigurationResponse = exports.UpdateIndexingConfigurationRequest = exports.UpdateFleetMetricRequest = exports.UpdateEventConfigurationsResponse = exports.UpdateEventConfigurationsRequest = exports.UpdateDynamicThingGroupResponse = exports.UpdateDynamicThingGroupRequest = exports.UpdateDomainConfigurationResponse = exports.UpdateDomainConfigurationRequest = exports.UpdateDimensionResponse = exports.UpdateDimensionRequest = exports.UpdateCustomMetricResponse = exports.UpdateCustomMetricRequest = exports.UpdateCertificateRequest = void 0;
|
|
6
6
|
const IoTServiceException_1 = require("./IoTServiceException");
|
|
7
|
+
var ListThingGroupsForThingResponse;
|
|
8
|
+
(function (ListThingGroupsForThingResponse) {
|
|
9
|
+
ListThingGroupsForThingResponse.filterSensitiveLog = (obj) => ({
|
|
10
|
+
...obj,
|
|
11
|
+
});
|
|
12
|
+
})(ListThingGroupsForThingResponse = exports.ListThingGroupsForThingResponse || (exports.ListThingGroupsForThingResponse = {}));
|
|
7
13
|
var ListThingPrincipalsRequest;
|
|
8
14
|
(function (ListThingPrincipalsRequest) {
|
|
9
15
|
ListThingPrincipalsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -20704,6 +20704,13 @@ const serializeAws_restJson1HttpUrlDestinationConfiguration = (input, context) =
|
|
|
20704
20704
|
...(input.confirmationUrl != null && { confirmationUrl: input.confirmationUrl }),
|
|
20705
20705
|
};
|
|
20706
20706
|
};
|
|
20707
|
+
const serializeAws_restJson1IndexingFilter = (input, context) => {
|
|
20708
|
+
return {
|
|
20709
|
+
...(input.namedShadowNames != null && {
|
|
20710
|
+
namedShadowNames: serializeAws_restJson1NamedShadowNamesFilter(input.namedShadowNames, context),
|
|
20711
|
+
}),
|
|
20712
|
+
};
|
|
20713
|
+
};
|
|
20707
20714
|
const serializeAws_restJson1IotAnalyticsAction = (input, context) => {
|
|
20708
20715
|
return {
|
|
20709
20716
|
...(input.batchMode != null && { batchMode: input.batchMode }),
|
|
@@ -20856,6 +20863,16 @@ const serializeAws_restJson1MqttContext = (input, context) => {
|
|
|
20856
20863
|
...(input.username != null && { username: input.username }),
|
|
20857
20864
|
};
|
|
20858
20865
|
};
|
|
20866
|
+
const serializeAws_restJson1NamedShadowNamesFilter = (input, context) => {
|
|
20867
|
+
return input
|
|
20868
|
+
.filter((e) => e != null)
|
|
20869
|
+
.map((entry) => {
|
|
20870
|
+
if (entry === null) {
|
|
20871
|
+
return null;
|
|
20872
|
+
}
|
|
20873
|
+
return entry;
|
|
20874
|
+
});
|
|
20875
|
+
};
|
|
20859
20876
|
const serializeAws_restJson1NumberList = (input, context) => {
|
|
20860
20877
|
return input
|
|
20861
20878
|
.filter((e) => e != null)
|
|
@@ -21341,6 +21358,7 @@ const serializeAws_restJson1ThingIndexingConfiguration = (input, context) => {
|
|
|
21341
21358
|
return {
|
|
21342
21359
|
...(input.customFields != null && { customFields: serializeAws_restJson1Fields(input.customFields, context) }),
|
|
21343
21360
|
...(input.deviceDefenderIndexingMode != null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode }),
|
|
21361
|
+
...(input.filter != null && { filter: serializeAws_restJson1IndexingFilter(input.filter, context) }),
|
|
21344
21362
|
...(input.managedFields != null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) }),
|
|
21345
21363
|
...(input.namedShadowIndexingMode != null && { namedShadowIndexingMode: input.namedShadowIndexingMode }),
|
|
21346
21364
|
...(input.thingConnectivityIndexingMode != null && {
|
|
@@ -22660,6 +22678,13 @@ const deserializeAws_restJson1ImplicitDeny = (output, context) => {
|
|
|
22660
22678
|
policies: output.policies != null ? deserializeAws_restJson1Policies(output.policies, context) : undefined,
|
|
22661
22679
|
};
|
|
22662
22680
|
};
|
|
22681
|
+
const deserializeAws_restJson1IndexingFilter = (output, context) => {
|
|
22682
|
+
return {
|
|
22683
|
+
namedShadowNames: output.namedShadowNames != null
|
|
22684
|
+
? deserializeAws_restJson1NamedShadowNamesFilter(output.namedShadowNames, context)
|
|
22685
|
+
: undefined,
|
|
22686
|
+
};
|
|
22687
|
+
};
|
|
22663
22688
|
const deserializeAws_restJson1IndexNamesList = (output, context) => {
|
|
22664
22689
|
const retVal = (output || [])
|
|
22665
22690
|
.filter((e) => e != null)
|
|
@@ -23109,6 +23134,17 @@ const deserializeAws_restJson1MitigationActionParams = (output, context) => {
|
|
|
23109
23134
|
: undefined,
|
|
23110
23135
|
};
|
|
23111
23136
|
};
|
|
23137
|
+
const deserializeAws_restJson1NamedShadowNamesFilter = (output, context) => {
|
|
23138
|
+
const retVal = (output || [])
|
|
23139
|
+
.filter((e) => e != null)
|
|
23140
|
+
.map((entry) => {
|
|
23141
|
+
if (entry === null) {
|
|
23142
|
+
return null;
|
|
23143
|
+
}
|
|
23144
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
23145
|
+
});
|
|
23146
|
+
return retVal;
|
|
23147
|
+
};
|
|
23112
23148
|
const deserializeAws_restJson1NonCompliantResource = (output, context) => {
|
|
23113
23149
|
return {
|
|
23114
23150
|
additionalInfo: output.additionalInfo != null ? deserializeAws_restJson1StringMap(output.additionalInfo, context) : undefined,
|
|
@@ -24123,6 +24159,7 @@ const deserializeAws_restJson1ThingIndexingConfiguration = (output, context) =>
|
|
|
24123
24159
|
return {
|
|
24124
24160
|
customFields: output.customFields != null ? deserializeAws_restJson1Fields(output.customFields, context) : undefined,
|
|
24125
24161
|
deviceDefenderIndexingMode: (0, smithy_client_1.expectString)(output.deviceDefenderIndexingMode),
|
|
24162
|
+
filter: output.filter != null ? deserializeAws_restJson1IndexingFilter(output.filter, context) : undefined,
|
|
24126
24163
|
managedFields: output.managedFields != null ? deserializeAws_restJson1Fields(output.managedFields, context) : undefined,
|
|
24127
24164
|
namedShadowIndexingMode: (0, smithy_client_1.expectString)(output.namedShadowIndexingMode),
|
|
24128
24165
|
thingConnectivityIndexingMode: (0, smithy_client_1.expectString)(output.thingConnectivityIndexingMode),
|
|
@@ -24426,6 +24463,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
24426
24463
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
24427
24464
|
const sanitizeErrorCode = (rawValue) => {
|
|
24428
24465
|
let cleanValue = rawValue;
|
|
24466
|
+
if (typeof cleanValue === "number") {
|
|
24467
|
+
cleanValue = cleanValue.toString();
|
|
24468
|
+
}
|
|
24429
24469
|
if (cleanValue.indexOf(":") >= 0) {
|
|
24430
24470
|
cleanValue = cleanValue.split(":")[0];
|
|
24431
24471
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListThingGroupsForThingRequest
|
|
4
|
+
import { ListThingGroupsForThingRequest } from "../models/models_1";
|
|
5
|
+
import { ListThingGroupsForThingResponse } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_restJson1ListThingGroupsForThingCommand, serializeAws_restJson1ListThingGroupsForThingCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
var ListThingGroupsForThingCommand = (function (_super) {
|
|
7
8
|
__extends(ListThingGroupsForThingCommand, _super);
|
|
@@ -673,6 +673,10 @@ export var DeviceDefenderIndexingMode;
|
|
|
673
673
|
DeviceDefenderIndexingMode["OFF"] = "OFF";
|
|
674
674
|
DeviceDefenderIndexingMode["VIOLATIONS"] = "VIOLATIONS";
|
|
675
675
|
})(DeviceDefenderIndexingMode || (DeviceDefenderIndexingMode = {}));
|
|
676
|
+
export var IndexingFilter;
|
|
677
|
+
(function (IndexingFilter) {
|
|
678
|
+
IndexingFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
679
|
+
})(IndexingFilter || (IndexingFilter = {}));
|
|
676
680
|
export var NamedShadowIndexingMode;
|
|
677
681
|
(function (NamedShadowIndexingMode) {
|
|
678
682
|
NamedShadowIndexingMode["OFF"] = "OFF";
|
|
@@ -1278,7 +1282,3 @@ export var ListThingGroupsForThingRequest;
|
|
|
1278
1282
|
(function (ListThingGroupsForThingRequest) {
|
|
1279
1283
|
ListThingGroupsForThingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1280
1284
|
})(ListThingGroupsForThingRequest || (ListThingGroupsForThingRequest = {}));
|
|
1281
|
-
export var ListThingGroupsForThingResponse;
|
|
1282
|
-
(function (ListThingGroupsForThingResponse) {
|
|
1283
|
-
ListThingGroupsForThingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1284
|
-
})(ListThingGroupsForThingResponse || (ListThingGroupsForThingResponse = {}));
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
+
export var ListThingGroupsForThingResponse;
|
|
4
|
+
(function (ListThingGroupsForThingResponse) {
|
|
5
|
+
ListThingGroupsForThingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(ListThingGroupsForThingResponse || (ListThingGroupsForThingResponse = {}));
|
|
3
7
|
export var ListThingPrincipalsRequest;
|
|
4
8
|
(function (ListThingPrincipalsRequest) {
|
|
5
9
|
ListThingPrincipalsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -26260,6 +26260,11 @@ var serializeAws_restJson1HttpHeaders = function (input, context) {
|
|
|
26260
26260
|
var serializeAws_restJson1HttpUrlDestinationConfiguration = function (input, context) {
|
|
26261
26261
|
return __assign({}, (input.confirmationUrl != null && { confirmationUrl: input.confirmationUrl }));
|
|
26262
26262
|
};
|
|
26263
|
+
var serializeAws_restJson1IndexingFilter = function (input, context) {
|
|
26264
|
+
return __assign({}, (input.namedShadowNames != null && {
|
|
26265
|
+
namedShadowNames: serializeAws_restJson1NamedShadowNamesFilter(input.namedShadowNames, context),
|
|
26266
|
+
}));
|
|
26267
|
+
};
|
|
26263
26268
|
var serializeAws_restJson1IotAnalyticsAction = function (input, context) {
|
|
26264
26269
|
return __assign(__assign(__assign(__assign({}, (input.batchMode != null && { batchMode: input.batchMode })), (input.channelArn != null && { channelArn: input.channelArn })), (input.channelName != null && { channelName: input.channelName })), (input.roleArn != null && { roleArn: input.roleArn }));
|
|
26265
26270
|
};
|
|
@@ -26350,6 +26355,16 @@ var serializeAws_restJson1MitigationActionParams = function (input, context) {
|
|
|
26350
26355
|
var serializeAws_restJson1MqttContext = function (input, context) {
|
|
26351
26356
|
return __assign(__assign(__assign({}, (input.clientId != null && { clientId: input.clientId })), (input.password != null && { password: context.base64Encoder(input.password) })), (input.username != null && { username: input.username }));
|
|
26352
26357
|
};
|
|
26358
|
+
var serializeAws_restJson1NamedShadowNamesFilter = function (input, context) {
|
|
26359
|
+
return input
|
|
26360
|
+
.filter(function (e) { return e != null; })
|
|
26361
|
+
.map(function (entry) {
|
|
26362
|
+
if (entry === null) {
|
|
26363
|
+
return null;
|
|
26364
|
+
}
|
|
26365
|
+
return entry;
|
|
26366
|
+
});
|
|
26367
|
+
};
|
|
26353
26368
|
var serializeAws_restJson1NumberList = function (input, context) {
|
|
26354
26369
|
return input
|
|
26355
26370
|
.filter(function (e) { return e != null; })
|
|
@@ -26714,7 +26729,7 @@ var serializeAws_restJson1ThingGroupProperties = function (input, context) {
|
|
|
26714
26729
|
})), (input.thingGroupDescription != null && { thingGroupDescription: input.thingGroupDescription }));
|
|
26715
26730
|
};
|
|
26716
26731
|
var serializeAws_restJson1ThingIndexingConfiguration = function (input, context) {
|
|
26717
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.customFields != null && { customFields: serializeAws_restJson1Fields(input.customFields, context) })), (input.deviceDefenderIndexingMode != null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode })), (input.managedFields != null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) })), (input.namedShadowIndexingMode != null && { namedShadowIndexingMode: input.namedShadowIndexingMode })), (input.thingConnectivityIndexingMode != null && {
|
|
26732
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.customFields != null && { customFields: serializeAws_restJson1Fields(input.customFields, context) })), (input.deviceDefenderIndexingMode != null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode })), (input.filter != null && { filter: serializeAws_restJson1IndexingFilter(input.filter, context) })), (input.managedFields != null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) })), (input.namedShadowIndexingMode != null && { namedShadowIndexingMode: input.namedShadowIndexingMode })), (input.thingConnectivityIndexingMode != null && {
|
|
26718
26733
|
thingConnectivityIndexingMode: input.thingConnectivityIndexingMode,
|
|
26719
26734
|
})), (input.thingIndexingMode != null && { thingIndexingMode: input.thingIndexingMode }));
|
|
26720
26735
|
};
|
|
@@ -27975,6 +27990,13 @@ var deserializeAws_restJson1ImplicitDeny = function (output, context) {
|
|
|
27975
27990
|
policies: output.policies != null ? deserializeAws_restJson1Policies(output.policies, context) : undefined,
|
|
27976
27991
|
};
|
|
27977
27992
|
};
|
|
27993
|
+
var deserializeAws_restJson1IndexingFilter = function (output, context) {
|
|
27994
|
+
return {
|
|
27995
|
+
namedShadowNames: output.namedShadowNames != null
|
|
27996
|
+
? deserializeAws_restJson1NamedShadowNamesFilter(output.namedShadowNames, context)
|
|
27997
|
+
: undefined,
|
|
27998
|
+
};
|
|
27999
|
+
};
|
|
27978
28000
|
var deserializeAws_restJson1IndexNamesList = function (output, context) {
|
|
27979
28001
|
var retVal = (output || [])
|
|
27980
28002
|
.filter(function (e) { return e != null; })
|
|
@@ -28424,6 +28446,17 @@ var deserializeAws_restJson1MitigationActionParams = function (output, context)
|
|
|
28424
28446
|
: undefined,
|
|
28425
28447
|
};
|
|
28426
28448
|
};
|
|
28449
|
+
var deserializeAws_restJson1NamedShadowNamesFilter = function (output, context) {
|
|
28450
|
+
var retVal = (output || [])
|
|
28451
|
+
.filter(function (e) { return e != null; })
|
|
28452
|
+
.map(function (entry) {
|
|
28453
|
+
if (entry === null) {
|
|
28454
|
+
return null;
|
|
28455
|
+
}
|
|
28456
|
+
return __expectString(entry);
|
|
28457
|
+
});
|
|
28458
|
+
return retVal;
|
|
28459
|
+
};
|
|
28427
28460
|
var deserializeAws_restJson1NonCompliantResource = function (output, context) {
|
|
28428
28461
|
return {
|
|
28429
28462
|
additionalInfo: output.additionalInfo != null ? deserializeAws_restJson1StringMap(output.additionalInfo, context) : undefined,
|
|
@@ -29434,6 +29467,7 @@ var deserializeAws_restJson1ThingIndexingConfiguration = function (output, conte
|
|
|
29434
29467
|
return {
|
|
29435
29468
|
customFields: output.customFields != null ? deserializeAws_restJson1Fields(output.customFields, context) : undefined,
|
|
29436
29469
|
deviceDefenderIndexingMode: __expectString(output.deviceDefenderIndexingMode),
|
|
29470
|
+
filter: output.filter != null ? deserializeAws_restJson1IndexingFilter(output.filter, context) : undefined,
|
|
29437
29471
|
managedFields: output.managedFields != null ? deserializeAws_restJson1Fields(output.managedFields, context) : undefined,
|
|
29438
29472
|
namedShadowIndexingMode: __expectString(output.namedShadowIndexingMode),
|
|
29439
29473
|
thingConnectivityIndexingMode: __expectString(output.thingConnectivityIndexingMode),
|
|
@@ -29744,6 +29778,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
29744
29778
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
29745
29779
|
var sanitizeErrorCode = function (rawValue) {
|
|
29746
29780
|
var cleanValue = rawValue;
|
|
29781
|
+
if (typeof cleanValue === "number") {
|
|
29782
|
+
cleanValue = cleanValue.toString();
|
|
29783
|
+
}
|
|
29747
29784
|
if (cleanValue.indexOf(":") >= 0) {
|
|
29748
29785
|
cleanValue = cleanValue.split(":")[0];
|
|
29749
29786
|
}
|
package/dist-types/IoT.d.ts
CHANGED
|
@@ -313,7 +313,8 @@ export declare class IoT extends IoTClient {
|
|
|
313
313
|
* <p>Attaches the specified policy to the specified principal (certificate or other
|
|
314
314
|
* credential).</p>
|
|
315
315
|
* <p>
|
|
316
|
-
* <b>Note:</b> This action is deprecated
|
|
316
|
+
* <b>Note:</b> This action is deprecated and works as
|
|
317
|
+
* expected for backward compatibility, but we won't add enhancements. Use <a>AttachPolicy</a> instead.</p>
|
|
317
318
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">AttachPrincipalPolicy</a> action.</p>
|
|
318
319
|
*/
|
|
319
320
|
attachPrincipalPolicy(args: AttachPrincipalPolicyCommandInput, options?: __HttpHandlerOptions): Promise<AttachPrincipalPolicyCommandOutput>;
|
|
@@ -12,7 +12,8 @@ export interface AttachPrincipalPolicyCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* <p>Attaches the specified policy to the specified principal (certificate or other
|
|
13
13
|
* credential).</p>
|
|
14
14
|
* <p>
|
|
15
|
-
* <b>Note:</b> This action is deprecated
|
|
15
|
+
* <b>Note:</b> This action is deprecated and works as
|
|
16
|
+
* expected for backward compatibility, but we won't add enhancements. Use <a>AttachPolicy</a> instead.</p>
|
|
16
17
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">AttachPrincipalPolicy</a> action.</p>
|
|
17
18
|
* @example
|
|
18
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingGroupsForThingRequest
|
|
4
|
+
import { ListThingGroupsForThingRequest } from "../models/models_1";
|
|
5
|
+
import { ListThingGroupsForThingResponse } from "../models/models_2";
|
|
5
6
|
export interface ListThingGroupsForThingCommandInput extends ListThingGroupsForThingRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface ListThingGroupsForThingCommandOutput extends ListThingGroupsForThingResponse, __MetadataBearer {
|
|
@@ -3288,6 +3288,26 @@ export declare enum DeviceDefenderIndexingMode {
|
|
|
3288
3288
|
OFF = "OFF",
|
|
3289
3289
|
VIOLATIONS = "VIOLATIONS"
|
|
3290
3290
|
}
|
|
3291
|
+
/**
|
|
3292
|
+
* <p>Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter.
|
|
3293
|
+
* To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to be <code>ON</code> and
|
|
3294
|
+
* specify your shadow names in <code>filter</code>.</p>
|
|
3295
|
+
*/
|
|
3296
|
+
export interface IndexingFilter {
|
|
3297
|
+
/**
|
|
3298
|
+
* <p>The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase
|
|
3299
|
+
* the limit, see <a href="https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits">Amazon Web Services IoT Device Management
|
|
3300
|
+
* Quotas</a> in the <i>Amazon Web Services General Reference</i>.
|
|
3301
|
+
* </p>
|
|
3302
|
+
*/
|
|
3303
|
+
namedShadowNames?: string[];
|
|
3304
|
+
}
|
|
3305
|
+
export declare namespace IndexingFilter {
|
|
3306
|
+
/**
|
|
3307
|
+
* @internal
|
|
3308
|
+
*/
|
|
3309
|
+
const filterSensitiveLog: (obj: IndexingFilter) => any;
|
|
3310
|
+
}
|
|
3291
3311
|
export declare enum NamedShadowIndexingMode {
|
|
3292
3312
|
OFF = "OFF",
|
|
3293
3313
|
ON = "ON"
|
|
@@ -3376,6 +3396,12 @@ export interface ThingIndexingConfiguration {
|
|
|
3376
3396
|
* <p>Contains custom field names and their data type.</p>
|
|
3377
3397
|
*/
|
|
3378
3398
|
customFields?: Field[];
|
|
3399
|
+
/**
|
|
3400
|
+
* <p>Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter.
|
|
3401
|
+
* To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to be <code>ON</code> and
|
|
3402
|
+
* specify your shadow names in <code>filter</code>.</p>
|
|
3403
|
+
*/
|
|
3404
|
+
filter?: IndexingFilter;
|
|
3379
3405
|
}
|
|
3380
3406
|
export declare namespace ThingIndexingConfiguration {
|
|
3381
3407
|
/**
|
|
@@ -6629,19 +6655,3 @@ export declare namespace ListThingGroupsForThingRequest {
|
|
|
6629
6655
|
*/
|
|
6630
6656
|
const filterSensitiveLog: (obj: ListThingGroupsForThingRequest) => any;
|
|
6631
6657
|
}
|
|
6632
|
-
export interface ListThingGroupsForThingResponse {
|
|
6633
|
-
/**
|
|
6634
|
-
* <p>The thing groups.</p>
|
|
6635
|
-
*/
|
|
6636
|
-
thingGroups?: GroupNameAndArn[];
|
|
6637
|
-
/**
|
|
6638
|
-
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
6639
|
-
*/
|
|
6640
|
-
nextToken?: string;
|
|
6641
|
-
}
|
|
6642
|
-
export declare namespace ListThingGroupsForThingResponse {
|
|
6643
|
-
/**
|
|
6644
|
-
* @internal
|
|
6645
|
-
*/
|
|
6646
|
-
const filterSensitiveLog: (obj: ListThingGroupsForThingResponse) => any;
|
|
6647
|
-
}
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
3
|
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
export interface ListThingGroupsForThingResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The thing groups.</p>
|
|
8
|
+
*/
|
|
9
|
+
thingGroups?: GroupNameAndArn[];
|
|
10
|
+
/**
|
|
11
|
+
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
12
|
+
*/
|
|
13
|
+
nextToken?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace ListThingGroupsForThingResponse {
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
const filterSensitiveLog: (obj: ListThingGroupsForThingResponse) => any;
|
|
20
|
+
}
|
|
5
21
|
/**
|
|
6
22
|
* <p>The input for the ListThingPrincipal operation.</p>
|
|
7
23
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListThingGroupsForThingRequest
|
|
4
|
+
import { ListThingGroupsForThingRequest } from "../models/models_1";
|
|
5
|
+
import { ListThingGroupsForThingResponse } from "../models/models_2";
|
|
5
6
|
export interface ListThingGroupsForThingCommandInput extends ListThingGroupsForThingRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface ListThingGroupsForThingCommandOutput extends ListThingGroupsForThingResponse, __MetadataBearer {
|
|
@@ -1787,6 +1787,15 @@ export declare enum DeviceDefenderIndexingMode {
|
|
|
1787
1787
|
OFF = "OFF",
|
|
1788
1788
|
VIOLATIONS = "VIOLATIONS"
|
|
1789
1789
|
}
|
|
1790
|
+
|
|
1791
|
+
export interface IndexingFilter {
|
|
1792
|
+
|
|
1793
|
+
namedShadowNames?: string[];
|
|
1794
|
+
}
|
|
1795
|
+
export declare namespace IndexingFilter {
|
|
1796
|
+
|
|
1797
|
+
const filterSensitiveLog: (obj: IndexingFilter) => any;
|
|
1798
|
+
}
|
|
1790
1799
|
export declare enum NamedShadowIndexingMode {
|
|
1791
1800
|
OFF = "OFF",
|
|
1792
1801
|
ON = "ON"
|
|
@@ -1814,6 +1823,8 @@ export interface ThingIndexingConfiguration {
|
|
|
1814
1823
|
managedFields?: Field[];
|
|
1815
1824
|
|
|
1816
1825
|
customFields?: Field[];
|
|
1826
|
+
|
|
1827
|
+
filter?: IndexingFilter;
|
|
1817
1828
|
}
|
|
1818
1829
|
export declare namespace ThingIndexingConfiguration {
|
|
1819
1830
|
|
|
@@ -3597,13 +3608,3 @@ export declare namespace ListThingGroupsForThingRequest {
|
|
|
3597
3608
|
|
|
3598
3609
|
const filterSensitiveLog: (obj: ListThingGroupsForThingRequest) => any;
|
|
3599
3610
|
}
|
|
3600
|
-
export interface ListThingGroupsForThingResponse {
|
|
3601
|
-
|
|
3602
|
-
thingGroups?: GroupNameAndArn[];
|
|
3603
|
-
|
|
3604
|
-
nextToken?: string;
|
|
3605
|
-
}
|
|
3606
|
-
export declare namespace ListThingGroupsForThingResponse {
|
|
3607
|
-
|
|
3608
|
-
const filterSensitiveLog: (obj: ListThingGroupsForThingResponse) => any;
|
|
3609
|
-
}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
3
|
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
|
-
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
|
+
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
export interface ListThingGroupsForThingResponse {
|
|
6
|
+
|
|
7
|
+
thingGroups?: GroupNameAndArn[];
|
|
8
|
+
|
|
9
|
+
nextToken?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare namespace ListThingGroupsForThingResponse {
|
|
12
|
+
|
|
13
|
+
const filterSensitiveLog: (obj: ListThingGroupsForThingResponse) => any;
|
|
14
|
+
}
|
|
5
15
|
|
|
6
16
|
export interface ListThingPrincipalsRequest {
|
|
7
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.134.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.131.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.131.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|