Client — AWS SDK for Ruby V3

Constructor Details

#initialize(options) ⇒ Client

Returns a new instance of Client.


473
474
475
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 473

def initialize(*args)
  super
end

Instance Method Details

#accept_certificate_transfer(params = {}) ⇒ Struct

Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.

To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

Requires permission to access the AcceptCertificateTransfer action.


510
511
512
513
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 510

def accept_certificate_transfer(params = {}, options = {})
  req = build_request(:accept_certificate_transfer, params)
  req.send_request(options)
end

#add_thing_to_billing_group(params = {}) ⇒ Struct


553
554
555
556
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 553

def add_thing_to_billing_group(params = {}, options = {})
  req = build_request(:add_thing_to_billing_group, params)
  req.send_request(options)
end

#add_thing_to_thing_group(params = {}) ⇒ Struct


598
599
600
601
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 598

def add_thing_to_thing_group(params = {}, options = {})
  req = build_request(:add_thing_to_thing_group, params)
  req.send_request(options)
end

#associate_sbom_with_package_version(params = {}) ⇒ Types::AssociateSbomWithPackageVersionResponse

Associates the selected software bill of materials (SBOM) with a specific software package version.

Requires permission to access the AssociateSbomWithPackageVersion action.


664
665
666
667
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 664

def associate_sbom_with_package_version(params = {}, options = {})
  req = build_request(:associate_sbom_with_package_version, params)
  req.send_request(options)
end

#associate_targets_with_job(params = {}) ⇒ Types::AssociateTargetsWithJobResponse

Associates a group with a continuous job. The following criteria must be met:

  • The job must have been created with the targetSelection field set to "CONTINUOUS".

  • The job status must currently be "IN_PROGRESS".

  • The total number of targets associated with a job must not exceed

Requires permission to access the AssociateTargetsWithJob action.


738
739
740
741
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 738

def associate_targets_with_job(params = {}, options = {})
  req = build_request(:associate_targets_with_job, params)
  req.send_request(options)
end

#attach_policy(params = {}) ⇒ Struct

Attaches the specified policy to the specified principal (certificate or other credential).

Requires permission to access the AttachPolicy action.


774
775
776
777
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 774

def attach_policy(params = {}, options = {})
  req = build_request(:attach_policy, params)
  req.send_request(options)
end

#attach_principal_policy(params = {}) ⇒ Struct

Attaches the specified policy to the specified principal (certificate or other credential).

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use AttachPolicy instead.

Requires permission to access the AttachPrincipalPolicy action.


810
811
812
813
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 810

def attach_principal_policy(params = {}, options = {})
  req = build_request(:attach_principal_policy, params)
  req.send_request(options)
end

#attach_security_profile(params = {}) ⇒ Struct

Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.

Requires permission to access the AttachSecurityProfile action.


843
844
845
846
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 843

def attach_security_profile(params = {}, options = {})
  req = build_request(:attach_security_profile, params)
  req.send_request(options)
end

#attach_thing_principal(params = {}) ⇒ Struct

Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito identities or federated identities.

Requires permission to access the AttachThingPrincipal action.


893
894
895
896
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 893

def attach_thing_principal(params = {}, options = {})
  req = build_request(:attach_thing_principal, params)
  req.send_request(options)
end

#cancel_audit_mitigation_actions_task(params = {}) ⇒ Struct

Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.

Requires permission to access the CancelAuditMitigationActionsTask action.


921
922
923
924
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 921

def cancel_audit_mitigation_actions_task(params = {}, options = {})
  req = build_request(:cancel_audit_mitigation_actions_task, params)
  req.send_request(options)
end

#cancel_audit_task(params = {}) ⇒ Struct

Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.

Requires permission to access the CancelAuditTask action.


950
951
952
953
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 950

def cancel_audit_task(params = {}, options = {})
  req = build_request(:cancel_audit_task, params)
  req.send_request(options)
end

#cancel_certificate_transfer(params = {}) ⇒ Struct

Cancels a pending transfer for the specified certificate.

Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.

After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.

Requires permission to access the CancelCertificateTransfer action.


988
989
990
991
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 988

def cancel_certificate_transfer(params = {}, options = {})
  req = build_request(:cancel_certificate_transfer, params)
  req.send_request(options)
end

#cancel_detect_mitigation_actions_task(params = {}) ⇒ Struct


1015
1016
1017
1018
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1015

def cancel_detect_mitigation_actions_task(params = {}, options = {})
  req = build_request(:cancel_detect_mitigation_actions_task, params)
  req.send_request(options)
end

#cancel_job(params = {}) ⇒ Types::CancelJobResponse

Cancels a job.

Requires permission to access the CancelJob action.


1070
1071
1072
1073
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1070

def cancel_job(params = {}, options = {})
  req = build_request(:cancel_job, params)
  req.send_request(options)
end

#cancel_job_execution(params = {}) ⇒ Struct

Cancels the execution of a job for a given thing.

Requires permission to access the CancelJobExecution action.


1131
1132
1133
1134
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1131

def cancel_job_execution(params = {}, options = {})
  req = build_request(:cancel_job_execution, params)
  req.send_request(options)
end

1148
1149
1150
1151
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1148

def clear_default_authorizer(params = {}, options = {})
  req = build_request(:clear_default_authorizer, params)
  req.send_request(options)
end

#confirm_topic_rule_destination(params = {}) ⇒ Struct

Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.

Requires permission to access the ConfirmTopicRuleDestination action.


1180
1181
1182
1183
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1180

def confirm_topic_rule_destination(params = {}, options = {})
  req = build_request(:confirm_topic_rule_destination, params)
  req.send_request(options)
end

#create_audit_suppression(params = {}) ⇒ Struct


1253
1254
1255
1256
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1253

def create_audit_suppression(params = {}, options = {})
  req = build_request(:create_audit_suppression, params)
  req.send_request(options)
end

#create_authorizer(params = {}) ⇒ Types::CreateAuthorizerResponse

Creates an authorizer.

Requires permission to access the CreateAuthorizer action.


1342
1343
1344
1345
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1342

def create_authorizer(params = {}, options = {})
  req = build_request(:create_authorizer, params)
  req.send_request(options)
end

#create_billing_group(params = {}) ⇒ Types::CreateBillingGroupResponse

Creates a billing group. If this call is made multiple times using the same billing group name and configuration, the call will succeed. If this call is made with the same billing group name but different configuration a ResourceAlreadyExistsException is thrown.

Requires permission to access the CreateBillingGroup action.


1396
1397
1398
1399
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1396

def create_billing_group(params = {}, options = {})
  req = build_request(:create_billing_group, params)
  req.send_request(options)
end

#create_certificate_from_csr(params = {}) ⇒ Types::CreateCertificateFromCsrResponse

Creates an X.509 certificate using the specified certificate signing request.

Requires permission to access the CreateCertificateFromCsr action.

The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.

Reusing the same certificate signing request (CSR) results in a distinct certificate.

You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:

On Linux and OS X, the command is:

$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}

This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr Amazon Web Services CLI command to create a certificate for the corresponding CSR.

You can also run the aws iot create-certificate-from-csr part of the command in parallel to speed up the certificate creation process:

$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}

On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:

> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}

On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:

> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"


1489
1490
1491
1492
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1489

def create_certificate_from_csr(params = {}, options = {})
  req = build_request(:create_certificate_from_csr, params)
  req.send_request(options)
end

#create_certificate_provider(params = {}) ⇒ Types::CreateCertificateProviderResponse


1565
1566
1567
1568
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1565

def create_certificate_provider(params = {}, options = {})
  req = build_request(:create_certificate_provider, params)
  req.send_request(options)
end

#create_command(params = {}) ⇒ Types::CreateCommandResponse

Creates a command. A command contains reusable configurations that can be applied before they are sent to the devices.


1709
1710
1711
1712
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1709

def create_command(params = {}, options = {})
  req = build_request(:create_command, params)
  req.send_request(options)
end

#create_custom_metric(params = {}) ⇒ Types::CreateCustomMetricResponse

Use this API to define a Custom Metric published by your devices to Device Defender.

Requires permission to access the CreateCustomMetric action.


1780
1781
1782
1783
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1780

def create_custom_metric(params = {}, options = {})
  req = build_request(:create_custom_metric, params)
  req.send_request(options)
end

#create_dimension(params = {}) ⇒ Types::CreateDimensionResponse

Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.

Requires permission to access the CreateDimension action.


1848
1849
1850
1851
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 1848

def create_dimension(params = {}, options = {})
  req = build_request(:create_dimension, params)
  req.send_request(options)
end

#create_domain_configuration(params = {}) ⇒ Types::CreateDomainConfigurationResponse


2028
2029
2030
2031
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2028

def create_domain_configuration(params = {}, options = {})
  req = build_request(:create_domain_configuration, params)
  req.send_request(options)
end

#create_dynamic_thing_group(params = {}) ⇒ Types::CreateDynamicThingGroupResponse


2118
2119
2120
2121
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2118

def create_dynamic_thing_group(params = {}, options = {})
  req = build_request(:create_dynamic_thing_group, params)
  req.send_request(options)
end

#create_fleet_metric(params = {}) ⇒ Types::CreateFleetMetricResponse


2202
2203
2204
2205
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2202

def create_fleet_metric(params = {}, options = {})
  req = build_request(:create_fleet_metric, params)
  req.send_request(options)
end

#create_job(params = {}) ⇒ Types::CreateJobResponse

Creates a job.

Requires permission to access the CreateJob action.


2415
2416
2417
2418
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2415

def create_job(params = {}, options = {})
  req = build_request(:create_job, params)
  req.send_request(options)
end

#create_job_template(params = {}) ⇒ Types::CreateJobTemplateResponse


2566
2567
2568
2569
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2566

def create_job_template(params = {}, options = {})
  req = build_request(:create_job_template, params)
  req.send_request(options)
end

#create_keys_and_certificate(params = {}) ⇒ Types::CreateKeysAndCertificateResponse

Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.

Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.

Requires permission to access the CreateKeysAndCertificate action.


2613
2614
2615
2616
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2613

def create_keys_and_certificate(params = {}, options = {})
  req = build_request(:create_keys_and_certificate, params)
  req.send_request(options)
end

#create_mitigation_action(params = {}) ⇒ Types::CreateMitigationActionResponse

Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change.

Requires permission to access the CreateMitigationAction action.


2691
2692
2693
2694
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2691

def create_mitigation_action(params = {}, options = {})
  req = build_request(:create_mitigation_action, params)
  req.send_request(options)
end

#create_ota_update(params = {}) ⇒ Types::CreateOTAUpdateResponse

Creates an IoT OTA update on a target group of things or groups.

Requires permission to access the CreateOTAUpdate action.


2872
2873
2874
2875
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2872

def create_ota_update(params = {}, options = {})
  req = build_request(:create_ota_update, params)
  req.send_request(options)
end

#create_package(params = {}) ⇒ Types::CreatePackageResponse


2929
2930
2931
2932
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 2929

def create_package(params = {}, options = {})
  req = build_request(:create_package, params)
  req.send_request(options)
end

#create_package_version(params = {}) ⇒ Types::CreatePackageVersionResponse


3027
3028
3029
3030
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3027

def create_package_version(params = {}, options = {})
  req = build_request(:create_package_version, params)
  req.send_request(options)
end

#create_policy(params = {}) ⇒ Types::CreatePolicyResponse

Creates an IoT policy.

The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.

Requires permission to access the CreatePolicy action.


3095
3096
3097
3098
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3095

def create_policy(params = {}, options = {})
  req = build_request(:create_policy, params)
  req.send_request(options)
end

#create_policy_version(params = {}) ⇒ Types::CreatePolicyVersionResponse

Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.

Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

Requires permission to access the CreatePolicyVersion action.


3154
3155
3156
3157
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3154

def create_policy_version(params = {}, options = {})
  req = build_request(:create_policy_version, params)
  req.send_request(options)
end

#create_provisioning_claim(params = {}) ⇒ Types::CreateProvisioningClaimResponse


3193
3194
3195
3196
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3193

def create_provisioning_claim(params = {}, options = {})
  req = build_request(:create_provisioning_claim, params)
  req.send_request(options)
end

#create_provisioning_template(params = {}) ⇒ Types::CreateProvisioningTemplateResponse


3292
3293
3294
3295
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3292

def create_provisioning_template(params = {}, options = {})
  req = build_request(:create_provisioning_template, params)
  req.send_request(options)
end

#create_provisioning_template_version(params = {}) ⇒ Types::CreateProvisioningTemplateVersionResponse


3339
3340
3341
3342
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3339

def create_provisioning_template_version(params = {}, options = {})
  req = build_request(:create_provisioning_template_version, params)
  req.send_request(options)
end

#create_role_alias(params = {}) ⇒ Types::CreateRoleAliasResponse


3414
3415
3416
3417
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3414

def create_role_alias(params = {}, options = {})
  req = build_request(:create_role_alias, params)
  req.send_request(options)
end

#create_scheduled_audit(params = {}) ⇒ Types::CreateScheduledAuditResponse

Creates a scheduled audit that is run at a specified time interval.

Requires permission to access the CreateScheduledAudit action.


3483
3484
3485
3486
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3483

def create_scheduled_audit(params = {}, options = {})
  req = build_request(:create_scheduled_audit, params)
  req.send_request(options)
end

#create_security_profile(params = {}) ⇒ Types::CreateSecurityProfileResponse

Creates a Device Defender security profile.

Requires permission to access the CreateSecurityProfile action.


3610
3611
3612
3613
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3610

def create_security_profile(params = {}, options = {})
  req = build_request(:create_security_profile, params)
  req.send_request(options)
end

#create_stream(params = {}) ⇒ Types::CreateStreamResponse

Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.

Requires permission to access the CreateStream action.


3682
3683
3684
3685
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3682

def create_stream(params = {}, options = {})
  req = build_request(:create_stream, params)
  req.send_request(options)
end

#create_thing(params = {}) ⇒ Types::CreateThingResponse

Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a ResourceAlreadyExistsException is thrown.

This is a control plane operation. See Authorization for information about authorizing control plane actions.

Requires permission to access the CreateThing action.


3751
3752
3753
3754
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3751

def create_thing(params = {}, options = {})
  req = build_request(:create_thing, params)
  req.send_request(options)
end

#create_thing_group(params = {}) ⇒ Types::CreateThingGroupResponse

Create a thing group.

This is a control plane operation. See Authorization for information about authorizing control plane actions.

If the ThingGroup that you create has the exact same attributes as an existing ThingGroup, you will get a 200 success response.

Requires permission to access the CreateThingGroup action.


3821
3822
3823
3824
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3821

def create_thing_group(params = {}, options = {})
  req = build_request(:create_thing_group, params)
  req.send_request(options)
end

#create_thing_type(params = {}) ⇒ Types::CreateThingTypeResponse

Creates a new thing type. If this call is made multiple times using the same thing type name and configuration, the call will succeed. If this call is made with the same thing type name but different configuration a ResourceAlreadyExistsException is thrown.

Requires permission to access the CreateThingType action.


3887
3888
3889
3890
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 3887

def create_thing_type(params = {}, options = {})
  req = build_request(:create_thing_type, params)
  req.send_request(options)
end

#create_topic_rule(params = {}) ⇒ Struct

Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

Requires permission to access the CreateTopicRule action.


4365
4366
4367
4368
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4365

def create_topic_rule(params = {}, options = {})
  req = build_request(:create_topic_rule, params)
  req.send_request(options)
end

#create_topic_rule_destination(params = {}) ⇒ Types::CreateTopicRuleDestinationResponse

Creates a topic rule destination. The destination must be confirmed prior to use.

Requires permission to access the CreateTopicRuleDestination action.


4420
4421
4422
4423
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4420

def create_topic_rule_destination(params = {}, options = {})
  req = build_request(:create_topic_rule_destination, params)
  req.send_request(options)
end

#delete_account_audit_configuration(params = {}) ⇒ Struct

Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.

Requires permission to access the DeleteAccountAuditConfiguration action.


4449
4450
4451
4452
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4449

def delete_account_audit_configuration(params = {}, options = {})
  req = build_request(:delete_account_audit_configuration, params)
  req.send_request(options)
end

#delete_audit_suppression(params = {}) ⇒ Struct


4500
4501
4502
4503
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4500

def delete_audit_suppression(params = {}, options = {})
  req = build_request(:delete_audit_suppression, params)
  req.send_request(options)
end

#delete_authorizer(params = {}) ⇒ Struct

Deletes an authorizer.

Requires permission to access the DeleteAuthorizer action.


4526
4527
4528
4529
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4526

def delete_authorizer(params = {}, options = {})
  req = build_request(:delete_authorizer, params)
  req.send_request(options)
end

#delete_billing_group(params = {}) ⇒ Struct


4559
4560
4561
4562
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4559

def delete_billing_group(params = {}, options = {})
  req = build_request(:delete_billing_group, params)
  req.send_request(options)
end

#delete_ca_certificate(params = {}) ⇒ Struct

Deletes a registered CA certificate.

Requires permission to access the DeleteCACertificate action.


4586
4587
4588
4589
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4586

def delete_ca_certificate(params = {}, options = {})
  req = build_request(:delete_ca_certificate, params)
  req.send_request(options)
end

#delete_certificate(params = {}) ⇒ Struct

Deletes the specified certificate.

A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the UpdateCertificate action to set the certificate to the INACTIVE status.

Requires permission to access the DeleteCertificate action.


4624
4625
4626
4627
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4624

def delete_certificate(params = {}, options = {})
  req = build_request(:delete_certificate, params)
  req.send_request(options)
end

#delete_certificate_provider(params = {}) ⇒ Struct

Deletes a certificate provider.

Requires permission to access the DeleteCertificateProvider action.

If you delete the certificate provider resource, the behavior of CreateCertificateFromCsr will resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).


4655
4656
4657
4658
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4655

def delete_certificate_provider(params = {}, options = {})
  req = build_request(:delete_certificate_provider, params)
  req.send_request(options)
end

#delete_command(params = {}) ⇒ Types::DeleteCommandResponse

Delete a command resource.


4681
4682
4683
4684
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4681

def delete_command(params = {}, options = {})
  req = build_request(:delete_command, params)
  req.send_request(options)
end

#delete_command_execution(params = {}) ⇒ Struct

Delete a command execution.

Only command executions that enter a terminal state can be deleted from your account.


4712
4713
4714
4715
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4712

def delete_command_execution(params = {}, options = {})
  req = build_request(:delete_command_execution, params)
  req.send_request(options)
end

#delete_custom_metric(params = {}) ⇒ Struct

Deletes a Device Defender detect custom metric.

Requires permission to access the DeleteCustomMetric action.

Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles API with metricName set to your custom metric name.


4747
4748
4749
4750
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4747

def delete_custom_metric(params = {}, options = {})
  req = build_request(:delete_custom_metric, params)
  req.send_request(options)
end

#delete_dimension(params = {}) ⇒ Struct

Removes the specified dimension from your Amazon Web Services accounts.

Requires permission to access the DeleteDimension action.


4774
4775
4776
4777
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4774

def delete_dimension(params = {}, options = {})
  req = build_request(:delete_dimension, params)
  req.send_request(options)
end

#delete_domain_configuration(params = {}) ⇒ Struct


4801
4802
4803
4804
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4801

def delete_domain_configuration(params = {}, options = {})
  req = build_request(:delete_domain_configuration, params)
  req.send_request(options)
end

#delete_dynamic_thing_group(params = {}) ⇒ Struct


4831
4832
4833
4834
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4831

def delete_dynamic_thing_group(params = {}, options = {})
  req = build_request(:delete_dynamic_thing_group, params)
  req.send_request(options)
end

#delete_fleet_metric(params = {}) ⇒ Struct

Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn't exist.

Requires permission to access the DeleteFleetMetric action.


4863
4864
4865
4866
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4863

def delete_fleet_metric(params = {}, options = {})
  req = build_request(:delete_fleet_metric, params)
  req.send_request(options)
end

#delete_job(params = {}) ⇒ Struct

Deletes a job and its related job executions.

Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.

Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.

Requires permission to access the DeleteJob action.


4937
4938
4939
4940
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 4937

def delete_job(params = {}, options = {})
  req = build_request(:delete_job, params)
  req.send_request(options)
end

#delete_job_execution(params = {}) ⇒ Struct


5011
5012
5013
5014
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5011

def delete_job_execution(params = {}, options = {})
  req = build_request(:delete_job_execution, params)
  req.send_request(options)
end

#delete_job_template(params = {}) ⇒ Struct

Deletes the specified job template.


5031
5032
5033
5034
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5031

def delete_job_template(params = {}, options = {})
  req = build_request(:delete_job_template, params)
  req.send_request(options)
end

#delete_mitigation_action(params = {}) ⇒ Struct

Deletes a defined mitigation action from your Amazon Web Services accounts.

Requires permission to access the DeleteMitigationAction action.


5058
5059
5060
5061
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5058

def delete_mitigation_action(params = {}, options = {})
  req = build_request(:delete_mitigation_action, params)
  req.send_request(options)
end

#delete_ota_update(params = {}) ⇒ Struct

Delete an OTA update.

Requires permission to access the DeleteOTAUpdate action.


5097
5098
5099
5100
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5097

def delete_ota_update(params = {}, options = {})
  req = build_request(:delete_ota_update, params)
  req.send_request(options)
end

#delete_package(params = {}) ⇒ Struct

Deletes a specific version from a software package.

Note: All package versions must be deleted before deleting the software package.

Requires permission to access the DeletePackageVersion action.


5135
5136
5137
5138
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5135

def delete_package(params = {}, options = {})
  req = build_request(:delete_package, params)
  req.send_request(options)
end

#delete_package_version(params = {}) ⇒ Struct

Deletes a specific version from a software package.

Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.


5172
5173
5174
5175
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5172

def delete_package_version(params = {}, options = {})
  req = build_request(:delete_package_version, params)
  req.send_request(options)
end

#delete_policy(params = {}) ⇒ Struct

Deletes the specified policy.

A policy cannot be deleted if it has non-default versions or it is attached to any certificate.

To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.

When a policy is deleted using DeletePolicy, its default version is deleted with it.

Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.

Requires permission to access the DeletePolicy action.


5215
5216
5217
5218
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5215

def delete_policy(params = {}, options = {})
  req = build_request(:delete_policy, params)
  req.send_request(options)
end

#delete_policy_version(params = {}) ⇒ Struct

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

Requires permission to access the DeletePolicyVersion action.


5249
5250
5251
5252
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5249

def delete_policy_version(params = {}, options = {})
  req = build_request(:delete_policy_version, params)
  req.send_request(options)
end

#delete_provisioning_template(params = {}) ⇒ Struct


5276
5277
5278
5279
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5276

def delete_provisioning_template(params = {}, options = {})
  req = build_request(:delete_provisioning_template, params)
  req.send_request(options)
end

#delete_provisioning_template_version(params = {}) ⇒ Struct


5307
5308
5309
5310
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5307

def delete_provisioning_template_version(params = {}, options = {})
  req = build_request(:delete_provisioning_template_version, params)
  req.send_request(options)
end

#delete_registration_code(params = {}) ⇒ Struct


5324
5325
5326
5327
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5324

def delete_registration_code(params = {}, options = {})
  req = build_request(:delete_registration_code, params)
  req.send_request(options)
end

#delete_role_alias(params = {}) ⇒ Struct

Deletes a role alias

Requires permission to access the DeleteRoleAlias action.


5350
5351
5352
5353
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5350

def delete_role_alias(params = {}, options = {})
  req = build_request(:delete_role_alias, params)
  req.send_request(options)
end

#delete_scheduled_audit(params = {}) ⇒ Struct


5376
5377
5378
5379
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5376

def delete_scheduled_audit(params = {}, options = {})
  req = build_request(:delete_scheduled_audit, params)
  req.send_request(options)
end

#delete_security_profile(params = {}) ⇒ Struct

Deletes a Device Defender security profile.

Requires permission to access the DeleteSecurityProfile action.


5409
5410
5411
5412
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5409

def delete_security_profile(params = {}, options = {})
  req = build_request(:delete_security_profile, params)
  req.send_request(options)
end

#delete_stream(params = {}) ⇒ Struct

Deletes a stream.

Requires permission to access the DeleteStream action.


5435
5436
5437
5438
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5435

def delete_stream(params = {}, options = {})
  req = build_request(:delete_stream, params)
  req.send_request(options)
end

#delete_thing(params = {}) ⇒ Struct

Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.

Requires permission to access the DeleteThing action.


5469
5470
5471
5472
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5469

def delete_thing(params = {}, options = {})
  req = build_request(:delete_thing, params)
  req.send_request(options)
end

#delete_thing_group(params = {}) ⇒ Struct

Deletes a thing group.

Requires permission to access the DeleteThingGroup action.


5499
5500
5501
5502
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5499

def delete_thing_group(params = {}, options = {})
  req = build_request(:delete_thing_group, params)
  req.send_request(options)
end

#delete_thing_type(params = {}) ⇒ Struct

Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.

Requires permission to access the DeleteThingType action.


5530
5531
5532
5533
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5530

def delete_thing_type(params = {}, options = {})
  req = build_request(:delete_thing_type, params)
  req.send_request(options)
end

#delete_topic_rule(params = {}) ⇒ Struct

Deletes the rule.

Requires permission to access the DeleteTopicRule action.


5556
5557
5558
5559
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5556

def delete_topic_rule(params = {}, options = {})
  req = build_request(:delete_topic_rule, params)
  req.send_request(options)
end

#delete_topic_rule_destination(params = {}) ⇒ Struct


5583
5584
5585
5586
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5583

def delete_topic_rule_destination(params = {}, options = {})
  req = build_request(:delete_topic_rule_destination, params)
  req.send_request(options)
end

#delete_v2_logging_level(params = {}) ⇒ Struct


5614
5615
5616
5617
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5614

def delete_v2_logging_level(params = {}, options = {})
  req = build_request(:delete_v2_logging_level, params)
  req.send_request(options)
end

#deprecate_thing_type(params = {}) ⇒ Struct

Deprecates a thing type. You can not associate new things with deprecated thing type.

Requires permission to access the DeprecateThingType action.


5647
5648
5649
5650
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5647

def deprecate_thing_type(params = {}, options = {})
  req = build_request(:deprecate_thing_type, params)
  req.send_request(options)
end

#describe_account_audit_configuration(params = {}) ⇒ Types::DescribeAccountAuditConfigurationResponse

Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.

Requires permission to access the DescribeAccountAuditConfiguration action.


5683
5684
5685
5686
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5683

def describe_account_audit_configuration(params = {}, options = {})
  req = build_request(:describe_account_audit_configuration, params)
  req.send_request(options)
end

#describe_audit_finding(params = {}) ⇒ Types::DescribeAuditFindingResponse

Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.

Requires permission to access the DescribeAuditFinding action.


5759
5760
5761
5762
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5759

def describe_audit_finding(params = {}, options = {})
  req = build_request(:describe_audit_finding, params)
  req.send_request(options)
end

#describe_audit_mitigation_actions_task(params = {}) ⇒ Types::DescribeAuditMitigationActionsTaskResponse

Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.


5824
5825
5826
5827
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5824

def describe_audit_mitigation_actions_task(params = {}, options = {})
  req = build_request(:describe_audit_mitigation_actions_task, params)
  req.send_request(options)
end

#describe_audit_suppression(params = {}) ⇒ Types::DescribeAuditSuppressionResponse

Gets information about a Device Defender audit suppression.


5895
5896
5897
5898
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5895

def describe_audit_suppression(params = {}, options = {})
  req = build_request(:describe_audit_suppression, params)
  req.send_request(options)
end

#describe_audit_task(params = {}) ⇒ Types::DescribeAuditTaskResponse

Gets information about a Device Defender audit.

Requires permission to access the DescribeAuditTask action.


5950
5951
5952
5953
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5950

def describe_audit_task(params = {}, options = {})
  req = build_request(:describe_audit_task, params)
  req.send_request(options)
end

#describe_authorizer(params = {}) ⇒ Types::DescribeAuthorizerResponse


5992
5993
5994
5995
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 5992

def describe_authorizer(params = {}, options = {})
  req = build_request(:describe_authorizer, params)
  req.send_request(options)
end

#describe_billing_group(params = {}) ⇒ Types::DescribeBillingGroupResponse

Returns information about a billing group.

Requires permission to access the DescribeBillingGroup action.


6034
6035
6036
6037
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6034

def describe_billing_group(params = {}, options = {})
  req = build_request(:describe_billing_group, params)
  req.send_request(options)
end

#describe_ca_certificate(params = {}) ⇒ Types::DescribeCACertificateResponse


6082
6083
6084
6085
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6082

def describe_ca_certificate(params = {}, options = {})
  req = build_request(:describe_ca_certificate, params)
  req.send_request(options)
end

#describe_certificate(params = {}) ⇒ Types::DescribeCertificateResponse

Gets information about the specified certificate.

Requires permission to access the DescribeCertificate action.


6133
6134
6135
6136
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6133

def describe_certificate(params = {}, options = {})
  req = build_request(:describe_certificate, params)
  req.send_request(options)
end

#describe_certificate_provider(params = {}) ⇒ Types::DescribeCertificateProviderResponse


6177
6178
6179
6180
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6177

def describe_certificate_provider(params = {}, options = {})
  req = build_request(:describe_certificate_provider, params)
  req.send_request(options)
end

#describe_custom_metric(params = {}) ⇒ Types::DescribeCustomMetricResponse

Gets information about a Device Defender detect custom metric.

Requires permission to access the DescribeCustomMetric action.


6219
6220
6221
6222
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6219

def describe_custom_metric(params = {}, options = {})
  req = build_request(:describe_custom_metric, params)
  req.send_request(options)
end

#describe_default_authorizer(params = {}) ⇒ Types::DescribeDefaultAuthorizerResponse


6253
6254
6255
6256
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6253

def describe_default_authorizer(params = {}, options = {})
  req = build_request(:describe_default_authorizer, params)
  req.send_request(options)
end

#describe_detect_mitigation_actions_task(params = {}) ⇒ Types::DescribeDetectMitigationActionsTaskResponse


6313
6314
6315
6316
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6313

def describe_detect_mitigation_actions_task(params = {}, options = {})
  req = build_request(:describe_detect_mitigation_actions_task, params)
  req.send_request(options)
end

#describe_dimension(params = {}) ⇒ Types::DescribeDimensionResponse

Provides details about a dimension that is defined in your Amazon Web Services accounts.

Requires permission to access the DescribeDimension action.


6357
6358
6359
6360
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6357

def describe_dimension(params = {}, options = {})
  req = build_request(:describe_dimension, params)
  req.send_request(options)
end

#describe_domain_configuration(params = {}) ⇒ Types::DescribeDomainConfigurationResponse


6422
6423
6424
6425
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6422

def describe_domain_configuration(params = {}, options = {})
  req = build_request(:describe_domain_configuration, params)
  req.send_request(options)
end

#describe_encryption_configuration(params = {}) ⇒ Types::DescribeEncryptionConfigurationResponse

Retrieves the encryption configuration for resources and data of your Amazon Web Services account in Amazon Web Services IoT Core. For more information, see Data encryption at rest in the Amazon Web Services IoT Core Developer Guide.


6475
6476
6477
6478
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6475

def describe_encryption_configuration(params = {}, options = {})
  req = build_request(:describe_encryption_configuration, params)
  req.send_request(options)
end

#describe_endpoint(params = {}) ⇒ Types::DescribeEndpointResponse

Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.

The first time DescribeEndpoint is called, an endpoint is created. All subsequent calls to DescribeEndpoint return the same endpoint.

Requires permission to access the DescribeEndpoint action.


6538
6539
6540
6541
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6538

def describe_endpoint(params = {}, options = {})
  req = build_request(:describe_endpoint, params)
  req.send_request(options)
end

#describe_event_configurations(params = {}) ⇒ Types::DescribeEventConfigurationsResponse


6567
6568
6569
6570
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6567

def describe_event_configurations(params = {}, options = {})
  req = build_request(:describe_event_configurations, params)
  req.send_request(options)
end

#describe_fleet_metric(params = {}) ⇒ Types::DescribeFleetMetricResponse

Gets information about the specified fleet metric.

Requires permission to access the DescribeFleetMetric action.


6625
6626
6627
6628
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6625

def describe_fleet_metric(params = {}, options = {})
  req = build_request(:describe_fleet_metric, params)
  req.send_request(options)
end

#describe_index(params = {}) ⇒ Types::DescribeIndexResponse

Describes a search index.

Requires permission to access the DescribeIndex action.


6661
6662
6663
6664
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6661

def describe_index(params = {}, options = {})
  req = build_request(:describe_index, params)
  req.send_request(options)
end

#describe_job(params = {}) ⇒ Types::DescribeJobResponse

Describes a job.

Requires permission to access the DescribeJob action.


6753
6754
6755
6756
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6753

def describe_job(params = {}, options = {})
  req = build_request(:describe_job, params)
  req.send_request(options)
end

#describe_job_execution(params = {}) ⇒ Types::DescribeJobExecutionResponse


6805
6806
6807
6808
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6805

def describe_job_execution(params = {}, options = {})
  req = build_request(:describe_job_execution, params)
  req.send_request(options)
end

#describe_job_template(params = {}) ⇒ Types::DescribeJobTemplateResponse

Returns information about a job template.


6869
6870
6871
6872
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6869

def describe_job_template(params = {}, options = {})
  req = build_request(:describe_job_template, params)
  req.send_request(options)
end

#describe_managed_job_template(params = {}) ⇒ Types::DescribeManagedJobTemplateResponse

View details of a managed job template.


6918
6919
6920
6921
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6918

def describe_managed_job_template(params = {}, options = {})
  req = build_request(:describe_managed_job_template, params)
  req.send_request(options)
end

#describe_mitigation_action(params = {}) ⇒ Types::DescribeMitigationActionResponse


6973
6974
6975
6976
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 6973

def describe_mitigation_action(params = {}, options = {})
  req = build_request(:describe_mitigation_action, params)
  req.send_request(options)
end

#describe_provisioning_template(params = {}) ⇒ Types::DescribeProvisioningTemplateResponse


7027
7028
7029
7030
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7027

def describe_provisioning_template(params = {}, options = {})
  req = build_request(:describe_provisioning_template, params)
  req.send_request(options)
end

#describe_provisioning_template_version(params = {}) ⇒ Types::DescribeProvisioningTemplateVersionResponse


7070
7071
7072
7073
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7070

def describe_provisioning_template_version(params = {}, options = {})
  req = build_request(:describe_provisioning_template_version, params)
  req.send_request(options)
end

#describe_role_alias(params = {}) ⇒ Types::DescribeRoleAliasResponse


7108
7109
7110
7111
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7108

def describe_role_alias(params = {}, options = {})
  req = build_request(:describe_role_alias, params)
  req.send_request(options)
end

#describe_scheduled_audit(params = {}) ⇒ Types::DescribeScheduledAuditResponse


7151
7152
7153
7154
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7151

def describe_scheduled_audit(params = {}, options = {})
  req = build_request(:describe_scheduled_audit, params)
  req.send_request(options)
end

#describe_security_profile(params = {}) ⇒ Types::DescribeSecurityProfileResponse

Gets information about a Device Defender security profile.

Requires permission to access the DescribeSecurityProfile action.


7233
7234
7235
7236
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7233

def describe_security_profile(params = {}, options = {})
  req = build_request(:describe_security_profile, params)
  req.send_request(options)
end

#describe_stream(params = {}) ⇒ Types::DescribeStreamResponse

Gets information about a stream.

Requires permission to access the DescribeStream action.


7276
7277
7278
7279
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7276

def describe_stream(params = {}, options = {})
  req = build_request(:describe_stream, params)
  req.send_request(options)
end

#describe_thing(params = {}) ⇒ Types::DescribeThingResponse

Gets information about the specified thing.

Requires permission to access the DescribeThing action.


7323
7324
7325
7326
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7323

def describe_thing(params = {}, options = {})
  req = build_request(:describe_thing, params)
  req.send_request(options)
end

#describe_thing_group(params = {}) ⇒ Types::DescribeThingGroupResponse


7380
7381
7382
7383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7380

def describe_thing_group(params = {}, options = {})
  req = build_request(:describe_thing_group, params)
  req.send_request(options)
end

#describe_thing_registration_task(params = {}) ⇒ Types::DescribeThingRegistrationTaskResponse


7435
7436
7437
7438
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7435

def describe_thing_registration_task(params = {}, options = {})
  req = build_request(:describe_thing_registration_task, params)
  req.send_request(options)
end

#describe_thing_type(params = {}) ⇒ Types::DescribeThingTypeResponse

Gets information about the specified thing type.

Requires permission to access the DescribeThingType action.


7483
7484
7485
7486
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7483

def describe_thing_type(params = {}, options = {})
  req = build_request(:describe_thing_type, params)
  req.send_request(options)
end

#detach_policy(params = {}) ⇒ Struct

Detaches a policy from the specified target.

Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.

Requires permission to access the DetachPolicy action.


7519
7520
7521
7522
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7519

def detach_policy(params = {}, options = {})
  req = build_request(:detach_policy, params)
  req.send_request(options)
end

#detach_principal_policy(params = {}) ⇒ Struct

Removes the specified policy from the specified certificate.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use DetachPolicy instead.

Requires permission to access the DetachPrincipalPolicy action.


7558
7559
7560
7561
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7558

def detach_principal_policy(params = {}, options = {})
  req = build_request(:detach_principal_policy, params)
  req.send_request(options)
end

#detach_security_profile(params = {}) ⇒ Struct

Disassociates a Device Defender security profile from a thing group or from this account.

Requires permission to access the DetachSecurityProfile action.


7590
7591
7592
7593
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7590

def detach_security_profile(params = {}, options = {})
  req = build_request(:detach_security_profile, params)
  req.send_request(options)
end

#detach_thing_principal(params = {}) ⇒ Struct

Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

This call is asynchronous. It might take several seconds for the detachment to propagate.

Requires permission to access the DetachThingPrincipal action.


7629
7630
7631
7632
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7629

def detach_thing_principal(params = {}, options = {})
  req = build_request(:detach_thing_principal, params)
  req.send_request(options)
end

#disable_topic_rule(params = {}) ⇒ Struct


7655
7656
7657
7658
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7655

def disable_topic_rule(params = {}, options = {})
  req = build_request(:disable_topic_rule, params)
  req.send_request(options)
end

#disassociate_sbom_from_package_version(params = {}) ⇒ Struct

Disassociates the selected software bill of materials (SBOM) from a specific software package version.

Requires permission to access the DisassociateSbomWithPackageVersion action.


7696
7697
7698
7699
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7696

def disassociate_sbom_from_package_version(params = {}, options = {})
  req = build_request(:disassociate_sbom_from_package_version, params)
  req.send_request(options)
end

#enable_topic_rule(params = {}) ⇒ Struct

Enables the rule.

Requires permission to access the EnableTopicRule action.


7722
7723
7724
7725
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7722

def enable_topic_rule(params = {}, options = {})
  req = build_request(:enable_topic_rule, params)
  req.send_request(options)
end

#get_behavior_model_training_summaries(params = {}) ⇒ Types::GetBehaviorModelTrainingSummariesResponse


7775
7776
7777
7778
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7775

def get_behavior_model_training_summaries(params = {}, options = {})
  req = build_request(:get_behavior_model_training_summaries, params)
  req.send_request(options)
end

#get_buckets_aggregation(params = {}) ⇒ Types::GetBucketsAggregationResponse

Aggregates on indexed data with search queries pertaining to particular fields.

Requires permission to access the GetBucketsAggregation action.


7833
7834
7835
7836
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7833

def get_buckets_aggregation(params = {}, options = {})
  req = build_request(:get_buckets_aggregation, params)
  req.send_request(options)
end

#get_cardinality(params = {}) ⇒ Types::GetCardinalityResponse

Returns the approximate count of unique values that match the query.

Requires permission to access the GetCardinality action.


7877
7878
7879
7880
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7877

def get_cardinality(params = {}, options = {})
  req = build_request(:get_cardinality, params)
  req.send_request(options)
end

#get_command(params = {}) ⇒ Types::GetCommandResponse

Gets information about the specified command.


7958
7959
7960
7961
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 7958

def get_command(params = {}, options = {})
  req = build_request(:get_command, params)
  req.send_request(options)
end

#get_command_execution(params = {}) ⇒ Types::GetCommandExecutionResponse

Gets information about the specific command execution on a single device.


8034
8035
8036
8037
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8034

def get_command_execution(params = {}, options = {})
  req = build_request(:get_command_execution, params)
  req.send_request(options)
end

#get_effective_policies(params = {}) ⇒ Types::GetEffectivePoliciesResponse

Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.

Requires permission to access the GetEffectivePolicies action.


8082
8083
8084
8085
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8082

def get_effective_policies(params = {}, options = {})
  req = build_request(:get_effective_policies, params)
  req.send_request(options)
end

#get_indexing_configuration(params = {}) ⇒ Types::GetIndexingConfigurationResponse


8128
8129
8130
8131
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8128

def get_indexing_configuration(params = {}, options = {})
  req = build_request(:get_indexing_configuration, params)
  req.send_request(options)
end

#get_job_document(params = {}) ⇒ Types::GetJobDocumentResponse

Gets a job document.

Requires permission to access the GetJobDocument action.


8165
8166
8167
8168
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8165

def get_job_document(params = {}, options = {})
  req = build_request(:get_job_document, params)
  req.send_request(options)
end

#get_logging_options(params = {}) ⇒ Types::GetLoggingOptionsResponse

Gets the logging options.

NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.

Requires permission to access the GetLoggingOptions action.


8193
8194
8195
8196
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8193

def get_logging_options(params = {}, options = {})
  req = build_request(:get_logging_options, params)
  req.send_request(options)
end

#get_ota_update(params = {}) ⇒ Types::GetOTAUpdateResponse

Gets an OTA update.

Requires permission to access the GetOTAUpdate action.


8270
8271
8272
8273
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8270

def get_ota_update(params = {}, options = {})
  req = build_request(:get_ota_update, params)
  req.send_request(options)
end

#get_package(params = {}) ⇒ Types::GetPackageResponse

Gets information about the specified software package.

Requires permission to access the GetPackage action.


8312
8313
8314
8315
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8312

def get_package(params = {}, options = {})
  req = build_request(:get_package, params)
  req.send_request(options)
end

#get_package_configuration(params = {}) ⇒ Types::GetPackageConfigurationResponse

Gets information about the specified software package's configuration.

Requires permission to access the GetPackageConfiguration action.


8337
8338
8339
8340
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8337

def get_package_configuration(params = {}, options = {})
  req = build_request(:get_package_configuration, params)
  req.send_request(options)
end

#get_package_version(params = {}) ⇒ Types::GetPackageVersionResponse

Gets information about the specified package version.

Requires permission to access the GetPackageVersion action.


8402
8403
8404
8405
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8402

def get_package_version(params = {}, options = {})
  req = build_request(:get_package_version, params)
  req.send_request(options)
end

#get_percentiles(params = {}) ⇒ Types::GetPercentilesResponse

Groups the aggregated values that match the query into percentile groupings. The default percentile groupings are: 1,5,25,50,75,95,99, although you can specify your own when you call GetPercentiles. This function returns a value for each percentile group specified (or the default percentile groupings). The percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately five percent of the values that match the query, and so on. The result is an approximation, the more values that match the query, the more accurate the percentile values.

Requires permission to access the GetPercentiles action.


8462
8463
8464
8465
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8462

def get_percentiles(params = {}, options = {})
  req = build_request(:get_percentiles, params)
  req.send_request(options)
end

#get_policy(params = {}) ⇒ Types::GetPolicyResponse

Gets information about the specified policy with the policy document of the default version.

Requires permission to access the GetPolicy action.


8507
8508
8509
8510
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8507

def get_policy(params = {}, options = {})
  req = build_request(:get_policy, params)
  req.send_request(options)
end

#get_policy_version(params = {}) ⇒ Types::GetPolicyVersionResponse

Gets information about the specified policy version.

Requires permission to access the GetPolicyVersion action.


8557
8558
8559
8560
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8557

def get_policy_version(params = {}, options = {})
  req = build_request(:get_policy_version, params)
  req.send_request(options)
end

#get_registration_code(params = {}) ⇒ Types::GetRegistrationCodeResponse

Gets a registration code used to register a CA certificate with IoT.

IoT will create a registration code as part of this API call if the registration code doesn't exist or has been deleted. If you already have a registration code, this API call will return the same registration code.

Requires permission to access the GetRegistrationCode action.


8585
8586
8587
8588
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8585

def get_registration_code(params = {}, options = {})
  req = build_request(:get_registration_code, params)
  req.send_request(options)
end

#get_statistics(params = {}) ⇒ Types::GetStatisticsResponse

Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type String, only the count statistic is returned.

Requires permission to access the GetStatistics action.


8641
8642
8643
8644
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8641

def get_statistics(params = {}, options = {})
  req = build_request(:get_statistics, params)
  req.send_request(options)
end

#get_thing_connectivity_data(params = {}) ⇒ Types::GetThingConnectivityDataResponse

Retrieves the live connectivity status per device.


8673
8674
8675
8676
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8673

def get_thing_connectivity_data(params = {}, options = {})
  req = build_request(:get_thing_connectivity_data, params)
  req.send_request(options)
end

#get_topic_rule(params = {}) ⇒ Types::GetTopicRuleResponse

Gets information about the rule.

Requires permission to access the GetTopicRule action.


8967
8968
8969
8970
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 8967

def get_topic_rule(params = {}, options = {})
  req = build_request(:get_topic_rule, params)
  req.send_request(options)
end

#get_topic_rule_destination(params = {}) ⇒ Types::GetTopicRuleDestinationResponse


9010
9011
9012
9013
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9010

def get_topic_rule_destination(params = {}, options = {})
  req = build_request(:get_topic_rule_destination, params)
  req.send_request(options)
end

#get_v2_logging_options(params = {}) ⇒ Types::GetV2LoggingOptionsResponse

Gets the fine grained logging options.

Requires permission to access the GetV2LoggingOptions action.


9052
9053
9054
9055
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9052

def get_v2_logging_options(params = {}, options = {})
  req = build_request(:get_v2_logging_options, params)
  req.send_request(options)
end

#list_active_violations(params = {}) ⇒ Types::ListActiveViolationsResponse

Lists the active violations for a given Device Defender security profile.

Requires permission to access the ListActiveViolations action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9154
9155
9156
9157
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9154

def list_active_violations(params = {}, options = {})
  req = build_request(:list_active_violations, params)
  req.send_request(options)
end

#list_attached_policies(params = {}) ⇒ Types::ListAttachedPoliciesResponse

Lists the policies attached to the specified thing group.

Requires permission to access the ListAttachedPolicies action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9208
9209
9210
9211
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9208

def list_attached_policies(params = {}, options = {})
  req = build_request(:list_attached_policies, params)
  req.send_request(options)
end

#list_audit_findings(params = {}) ⇒ Types::ListAuditFindingsResponse

Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)

Requires permission to access the ListAuditFindings action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9344
9345
9346
9347
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9344

def list_audit_findings(params = {}, options = {})
  req = build_request(:list_audit_findings, params)
  req.send_request(options)
end

#list_audit_mitigation_actions_executions(params = {}) ⇒ Types::ListAuditMitigationActionsExecutionsResponse


9409
9410
9411
9412
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9409

def list_audit_mitigation_actions_executions(params = {}, options = {})
  req = build_request(:list_audit_mitigation_actions_executions, params)
  req.send_request(options)
end

#list_audit_mitigation_actions_tasks(params = {}) ⇒ Types::ListAuditMitigationActionsTasksResponse


9480
9481
9482
9483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9480

def list_audit_mitigation_actions_tasks(params = {}, options = {})
  req = build_request(:list_audit_mitigation_actions_tasks, params)
  req.send_request(options)
end

#list_audit_suppressions(params = {}) ⇒ Types::ListAuditSuppressionsResponse


9573
9574
9575
9576
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9573

def list_audit_suppressions(params = {}, options = {})
  req = build_request(:list_audit_suppressions, params)
  req.send_request(options)
end

#list_audit_tasks(params = {}) ⇒ Types::ListAuditTasksResponse

Lists the Device Defender audits that have been performed during a given time period.

Requires permission to access the ListAuditTasks action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9639
9640
9641
9642
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9639

def list_audit_tasks(params = {}, options = {})
  req = build_request(:list_audit_tasks, params)
  req.send_request(options)
end

#list_authorizers(params = {}) ⇒ Types::ListAuthorizersResponse

Lists the authorizers registered in your account.

Requires permission to access the ListAuthorizers action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9689
9690
9691
9692
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9689

def list_authorizers(params = {}, options = {})
  req = build_request(:list_authorizers, params)
  req.send_request(options)
end

#list_billing_groups(params = {}) ⇒ Types::ListBillingGroupsResponse

Lists the billing groups you have created.

Requires permission to access the ListBillingGroups action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9737
9738
9739
9740
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9737

def list_billing_groups(params = {}, options = {})
  req = build_request(:list_billing_groups, params)
  req.send_request(options)
end

#list_ca_certificates(params = {}) ⇒ Types::ListCACertificatesResponse

Lists the CA certificates registered for your Amazon Web Services account.

The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

Requires permission to access the ListCACertificates action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9793
9794
9795
9796
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9793

def list_ca_certificates(params = {}, options = {})
  req = build_request(:list_ca_certificates, params)
  req.send_request(options)
end

#list_certificate_providers(params = {}) ⇒ Types::ListCertificateProvidersResponse

Lists all your certificate providers in your Amazon Web Services account.

Requires permission to access the ListCertificateProviders action.


9837
9838
9839
9840
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9837

def list_certificate_providers(params = {}, options = {})
  req = build_request(:list_certificate_providers, params)
  req.send_request(options)
end

#list_certificates(params = {}) ⇒ Types::ListCertificatesResponse

Lists the certificates registered in your Amazon Web Services account.

The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

Requires permission to access the ListCertificates action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9890
9891
9892
9893
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9890

def list_certificates(params = {}, options = {})
  req = build_request(:list_certificates, params)
  req.send_request(options)
end

#list_certificates_by_ca(params = {}) ⇒ Types::ListCertificatesByCAResponse

List the device certificates signed by the specified CA certificate.

Requires permission to access the ListCertificatesByCA action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


9945
9946
9947
9948
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 9945

def list_certificates_by_ca(params = {}, options = {})
  req = build_request(:list_certificates_by_ca, params)
  req.send_request(options)
end

#list_command_executions(params = {}) ⇒ Types::ListCommandExecutionsResponse

List all command executions.

  • You must provide only the startedTimeFilter or the completedTimeFilter information. If you provide both time filters, the API will generate an error. You can use this information to retrieve a list of command executions within a specific timeframe.

  • You must provide only the commandArn or the thingArn information depending on whether you want to list executions for a specific command or an IoT thing. If you provide both fields, the API will generate an error.

For more information about considerations for using this API, see List command executions in your account (CLI).

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10052
10053
10054
10055
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10052

def list_command_executions(params = {}, options = {})
  req = build_request(:list_command_executions, params)
  req.send_request(options)
end

#list_commands(params = {}) ⇒ Types::ListCommandsResponse

List all commands in your account.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10117
10118
10119
10120
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10117

def list_commands(params = {}, options = {})
  req = build_request(:list_commands, params)
  req.send_request(options)
end

#list_custom_metrics(params = {}) ⇒ Types::ListCustomMetricsResponse

Lists your Device Defender detect custom metrics.

Requires permission to access the ListCustomMetrics action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10159
10160
10161
10162
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10159

def list_custom_metrics(params = {}, options = {})
  req = build_request(:list_custom_metrics, params)
  req.send_request(options)
end

#list_detect_mitigation_actions_executions(params = {}) ⇒ Types::ListDetectMitigationActionsExecutionsResponse


10234
10235
10236
10237
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10234

def list_detect_mitigation_actions_executions(params = {}, options = {})
  req = build_request(:list_detect_mitigation_actions_executions, params)
  req.send_request(options)
end

#list_detect_mitigation_actions_tasks(params = {}) ⇒ Types::ListDetectMitigationActionsTasksResponse


10315
10316
10317
10318
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10315

def list_detect_mitigation_actions_tasks(params = {}, options = {})
  req = build_request(:list_detect_mitigation_actions_tasks, params)
  req.send_request(options)
end

#list_dimensions(params = {}) ⇒ Types::ListDimensionsResponse

List the set of dimensions that are defined for your Amazon Web Services accounts.

Requires permission to access the ListDimensions action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10357
10358
10359
10360
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10357

def list_dimensions(params = {}, options = {})
  req = build_request(:list_dimensions, params)
  req.send_request(options)
end

#list_domain_configurations(params = {}) ⇒ Types::ListDomainConfigurationsResponse

Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.

Requires permission to access the ListDomainConfigurations action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10406
10407
10408
10409
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10406

def list_domain_configurations(params = {}, options = {})
  req = build_request(:list_domain_configurations, params)
  req.send_request(options)
end

#list_fleet_metrics(params = {}) ⇒ Types::ListFleetMetricsResponse


10450
10451
10452
10453
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10450

def list_fleet_metrics(params = {}, options = {})
  req = build_request(:list_fleet_metrics, params)
  req.send_request(options)
end

#list_indices(params = {}) ⇒ Types::ListIndicesResponse

Lists the search indices.

Requires permission to access the ListIndices action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10492
10493
10494
10495
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10492

def list_indices(params = {}, options = {})
  req = build_request(:list_indices, params)
  req.send_request(options)
end

#list_job_executions_for_job(params = {}) ⇒ Types::ListJobExecutionsForJobResponse


10547
10548
10549
10550
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10547

def list_job_executions_for_job(params = {}, options = {})
  req = build_request(:list_job_executions_for_job, params)
  req.send_request(options)
end

#list_job_executions_for_thing(params = {}) ⇒ Types::ListJobExecutionsForThingResponse


10628
10629
10630
10631
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10628

def list_job_executions_for_thing(params = {}, options = {})
  req = build_request(:list_job_executions_for_thing, params)
  req.send_request(options)
end

#list_job_templates(params = {}) ⇒ Types::ListJobTemplatesResponse


10672
10673
10674
10675
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10672

def list_job_templates(params = {}, options = {})
  req = build_request(:list_job_templates, params)
  req.send_request(options)
end

#list_jobs(params = {}) ⇒ Types::ListJobsResponse

Lists jobs.

Requires permission to access the ListJobs action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10772
10773
10774
10775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10772

def list_jobs(params = {}, options = {})
  req = build_request(:list_jobs, params)
  req.send_request(options)
end

#list_managed_job_templates(params = {}) ⇒ Types::ListManagedJobTemplatesResponse

Returns a list of managed job templates.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10818
10819
10820
10821
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10818

def list_managed_job_templates(params = {}, options = {})
  req = build_request(:list_managed_job_templates, params)
  req.send_request(options)
end

#list_metric_values(params = {}) ⇒ Types::ListMetricValuesResponse

Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10890
10891
10892
10893
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10890

def list_metric_values(params = {}, options = {})
  req = build_request(:list_metric_values, params)
  req.send_request(options)
end

#list_mitigation_actions(params = {}) ⇒ Types::ListMitigationActionsResponse

Gets a list of all mitigation actions that match the specified filter criteria.

Requires permission to access the ListMitigationActions action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


10940
10941
10942
10943
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10940

def list_mitigation_actions(params = {}, options = {})
  req = build_request(:list_mitigation_actions, params)
  req.send_request(options)
end

#list_ota_updates(params = {}) ⇒ Types::ListOTAUpdatesResponse


10987
10988
10989
10990
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 10987

def list_ota_updates(params = {}, options = {})
  req = build_request(:list_ota_updates, params)
  req.send_request(options)
end

#list_outgoing_certificates(params = {}) ⇒ Types::ListOutgoingCertificatesResponse

Lists certificates that are being transferred but not yet accepted.

Requires permission to access the ListOutgoingCertificates action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11039
11040
11041
11042
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11039

def list_outgoing_certificates(params = {}, options = {})
  req = build_request(:list_outgoing_certificates, params)
  req.send_request(options)
end

#list_package_versions(params = {}) ⇒ Types::ListPackageVersionsResponse

Lists the software package versions associated to the account.

Requires permission to access the ListPackageVersions action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11097
11098
11099
11100
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11097

def list_package_versions(params = {}, options = {})
  req = build_request(:list_package_versions, params)
  req.send_request(options)
end

#list_packages(params = {}) ⇒ Types::ListPackagesResponse

Lists the software packages associated to the account.

Requires permission to access the ListPackages action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11141
11142
11143
11144
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11141

def list_packages(params = {}, options = {})
  req = build_request(:list_packages, params)
  req.send_request(options)
end

#list_policies(params = {}) ⇒ Types::ListPoliciesResponse

Lists your policies.

Requires permission to access the ListPolicies action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11188
11189
11190
11191
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11188

def list_policies(params = {}, options = {})
  req = build_request(:list_policies, params)
  req.send_request(options)
end

#list_policy_principals(params = {}) ⇒ Types::ListPolicyPrincipalsResponse

Lists the principals associated with the specified policy.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListTargetsForPolicy instead.

Requires permission to access the ListPolicyPrincipals action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11242
11243
11244
11245
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11242

def list_policy_principals(params = {}, options = {})
  req = build_request(:list_policy_principals, params)
  req.send_request(options)
end

#list_policy_versions(params = {}) ⇒ Types::ListPolicyVersionsResponse

Lists the versions of the specified policy and identifies the default version.

Requires permission to access the ListPolicyVersions action.


11278
11279
11280
11281
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11278

def list_policy_versions(params = {}, options = {})
  req = build_request(:list_policy_versions, params)
  req.send_request(options)
end

#list_principal_policies(params = {}) ⇒ Types::ListPrincipalPoliciesResponse

Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListAttachedPolicies instead.

Requires permission to access the ListPrincipalPolicies action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11339
11340
11341
11342
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11339

def list_principal_policies(params = {}, options = {})
  req = build_request(:list_principal_policies, params)
  req.send_request(options)
end

#list_principal_things(params = {}) ⇒ Types::ListPrincipalThingsResponse

Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

Requires permission to access the ListPrincipalThings action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11388
11389
11390
11391
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11388

def list_principal_things(params = {}, options = {})
  req = build_request(:list_principal_things, params)
  req.send_request(options)
end

#list_principal_things_v2(params = {}) ⇒ Types::ListPrincipalThingsV2Response

Lists the things associated with the specified principal. A principal can be an X.509 certificate or an Amazon Cognito ID.

Requires permission to access the ListPrincipalThings action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11457
11458
11459
11460
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11457

def list_principal_things_v2(params = {}, options = {})
  req = build_request(:list_principal_things_v2, params)
  req.send_request(options)
end

#list_provisioning_template_versions(params = {}) ⇒ Types::ListProvisioningTemplateVersionsResponse


11505
11506
11507
11508
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11505

def list_provisioning_template_versions(params = {}, options = {})
  req = build_request(:list_provisioning_template_versions, params)
  req.send_request(options)
end

#list_provisioning_templates(params = {}) ⇒ Types::ListProvisioningTemplatesResponse


11553
11554
11555
11556
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11553

def list_provisioning_templates(params = {}, options = {})
  req = build_request(:list_provisioning_templates, params)
  req.send_request(options)
end

The related resources of an Audit finding. The following resources can be returned from calling this API:

  • DEVICE_CERTIFICATE

  • CA_CERTIFICATE

  • IOT_POLICY

  • COGNITO_IDENTITY_POOL

  • CLIENT_ID

  • ACCOUNT_SETTINGS

  • ROLE_ALIAS

  • IAM_ROLE

  • ISSUER_CERTIFICATE

This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11640
11641
11642
11643
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11640

def list_related_resources_for_audit_finding(params = {}, options = {})
  req = build_request(:list_related_resources_for_audit_finding, params)
  req.send_request(options)
end

#list_role_aliases(params = {}) ⇒ Types::ListRoleAliasesResponse

Lists the role aliases registered in your account.

Requires permission to access the ListRoleAliases action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11685
11686
11687
11688
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11685

def list_role_aliases(params = {}, options = {})
  req = build_request(:list_role_aliases, params)
  req.send_request(options)
end

#list_sbom_validation_results(params = {}) ⇒ Types::ListSbomValidationResultsResponse

The validation results for all software bill of materials (SBOM) attached to a specific software package version.

Requires permission to access the ListSbomValidationResults action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11744
11745
11746
11747
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11744

def list_sbom_validation_results(params = {}, options = {})
  req = build_request(:list_sbom_validation_results, params)
  req.send_request(options)
end

#list_scheduled_audits(params = {}) ⇒ Types::ListScheduledAuditsResponse


11790
11791
11792
11793
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11790

def list_scheduled_audits(params = {}, options = {})
  req = build_request(:list_scheduled_audits, params)
  req.send_request(options)
end

#list_security_profiles(params = {}) ⇒ Types::ListSecurityProfilesResponse

Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.

Requires permission to access the ListSecurityProfiles action.

dimensionName and metricName cannot be used in the same request.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11846
11847
11848
11849
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11846

def list_security_profiles(params = {}, options = {})
  req = build_request(:list_security_profiles, params)
  req.send_request(options)
end

#list_security_profiles_for_target(params = {}) ⇒ Types::ListSecurityProfilesForTargetResponse


11900
11901
11902
11903
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11900

def list_security_profiles_for_target(params = {}, options = {})
  req = build_request(:list_security_profiles_for_target, params)
  req.send_request(options)
end

#list_streams(params = {}) ⇒ Types::ListStreamsResponse

Lists all of the streams in your Amazon Web Services account.

Requires permission to access the ListStreams action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11948
11949
11950
11951
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11948

def list_streams(params = {}, options = {})
  req = build_request(:list_streams, params)
  req.send_request(options)
end

#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse

Lists the tags (metadata) you have assigned to the resource.

Requires permission to access the ListTagsForResource action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


11992
11993
11994
11995
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 11992

def list_tags_for_resource(params = {}, options = {})
  req = build_request(:list_tags_for_resource, params)
  req.send_request(options)
end

#list_targets_for_policy(params = {}) ⇒ Types::ListTargetsForPolicyResponse


12037
12038
12039
12040
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12037

def list_targets_for_policy(params = {}, options = {})
  req = build_request(:list_targets_for_policy, params)
  req.send_request(options)
end

#list_targets_for_security_profile(params = {}) ⇒ Types::ListTargetsForSecurityProfileResponse

Lists the targets (thing groups) associated with a given Device Defender security profile.

Requires permission to access the ListTargetsForSecurityProfile action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12084
12085
12086
12087
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12084

def list_targets_for_security_profile(params = {}, options = {})
  req = build_request(:list_targets_for_security_profile, params)
  req.send_request(options)
end

#list_thing_groups(params = {}) ⇒ Types::ListThingGroupsResponse

List the thing groups in your account.

Requires permission to access the ListThingGroups action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12142
12143
12144
12145
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12142

def list_thing_groups(params = {}, options = {})
  req = build_request(:list_thing_groups, params)
  req.send_request(options)
end

#list_thing_groups_for_thing(params = {}) ⇒ Types::ListThingGroupsForThingResponse


12190
12191
12192
12193
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12190

def list_thing_groups_for_thing(params = {}, options = {})
  req = build_request(:list_thing_groups_for_thing, params)
  req.send_request(options)
end

#list_thing_principals(params = {}) ⇒ Types::ListThingPrincipalsResponse

Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

Requires permission to access the ListThingPrincipals action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12239
12240
12241
12242
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12239

def list_thing_principals(params = {}, options = {})
  req = build_request(:list_thing_principals, params)
  req.send_request(options)
end

#list_thing_principals_v2(params = {}) ⇒ Types::ListThingPrincipalsV2Response

Lists the principals associated with the specified thing. A principal can be an X.509 certificate or an Amazon Cognito ID.

Requires permission to access the ListThingPrincipals action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12307
12308
12309
12310
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12307

def list_thing_principals_v2(params = {}, options = {})
  req = build_request(:list_thing_principals_v2, params)
  req.send_request(options)
end

#list_thing_registration_task_reports(params = {}) ⇒ Types::ListThingRegistrationTaskReportsResponse

Information about the thing registration tasks.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12354
12355
12356
12357
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12354

def list_thing_registration_task_reports(params = {}, options = {})
  req = build_request(:list_thing_registration_task_reports, params)
  req.send_request(options)
end

#list_thing_registration_tasks(params = {}) ⇒ Types::ListThingRegistrationTasksResponse


12402
12403
12404
12405
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12402

def list_thing_registration_tasks(params = {}, options = {})
  req = build_request(:list_thing_registration_tasks, params)
  req.send_request(options)
end

#list_thing_types(params = {}) ⇒ Types::ListThingTypesResponse

Lists the existing thing types.

Requires permission to access the ListThingTypes action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12460
12461
12462
12463
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12460

def list_thing_types(params = {}, options = {})
  req = build_request(:list_thing_types, params)
  req.send_request(options)
end

#list_things(params = {}) ⇒ Types::ListThingsResponse

Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. For more information, see List Things from the Amazon Web Services IoT Core Developer Guide.

Requires permission to access the ListThings action.

You will not be charged for calling this API if an Access denied error is returned. You will also not be charged if no attributes or pagination token was provided in request and no pagination token and no results were returned.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12542
12543
12544
12545
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12542

def list_things(params = {}, options = {})
  req = build_request(:list_things, params)
  req.send_request(options)
end

#list_things_in_billing_group(params = {}) ⇒ Types::ListThingsInBillingGroupResponse


12590
12591
12592
12593
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12590

def list_things_in_billing_group(params = {}, options = {})
  req = build_request(:list_things_in_billing_group, params)
  req.send_request(options)
end

#list_things_in_thing_group(params = {}) ⇒ Types::ListThingsInThingGroupResponse


12642
12643
12644
12645
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12642

def list_things_in_thing_group(params = {}, options = {})
  req = build_request(:list_things_in_thing_group, params)
  req.send_request(options)
end

#list_topic_rule_destinations(params = {}) ⇒ Types::ListTopicRuleDestinationsResponse

Lists all the topic rule destinations in your Amazon Web Services account.

Requires permission to access the ListTopicRuleDestinations action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12698
12699
12700
12701
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12698

def list_topic_rule_destinations(params = {}, options = {})
  req = build_request(:list_topic_rule_destinations, params)
  req.send_request(options)
end

#list_topic_rules(params = {}) ⇒ Types::ListTopicRulesResponse

Lists the rules for the specific topic.

Requires permission to access the ListTopicRules action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12753
12754
12755
12756
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12753

def list_topic_rules(params = {}, options = {})
  req = build_request(:list_topic_rules, params)
  req.send_request(options)
end

#list_v2_logging_levels(params = {}) ⇒ Types::ListV2LoggingLevelsResponse


12803
12804
12805
12806
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12803

def list_v2_logging_levels(params = {}, options = {})
  req = build_request(:list_v2_logging_levels, params)
  req.send_request(options)
end

#list_violation_events(params = {}) ⇒ Types::ListViolationEventsResponse

Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).

Requires permission to access the ListViolationEvents action.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.


12916
12917
12918
12919
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12916

def list_violation_events(params = {}, options = {})
  req = build_request(:list_violation_events, params)
  req.send_request(options)
end

#put_verification_state_on_violation(params = {}) ⇒ Struct

Set a verification state and provide a description of that verification state on a violation (detect alarm).


12946
12947
12948
12949
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 12946

def put_verification_state_on_violation(params = {}, options = {})
  req = build_request(:put_verification_state_on_violation, params)
  req.send_request(options)
end

#register_ca_certificate(params = {}) ⇒ Types::RegisterCACertificateResponse

Registers a CA certificate with Amazon Web Services IoT Core. There is no limit to the number of CA certificates you can register in your Amazon Web Services account. You can register up to 10 CA certificates with the same CA subject field per Amazon Web Services account.

Requires permission to access the RegisterCACertificate action.


13045
13046
13047
13048
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13045

def register_ca_certificate(params = {}, options = {})
  req = build_request(:register_ca_certificate, params)
  req.send_request(options)
end

#register_certificate(params = {}) ⇒ Types::RegisterCertificateResponse

Registers a device certificate with IoT in the same certificate mode as the signing CA. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.

Requires permission to access the RegisterCertificate action.


13099
13100
13101
13102
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13099

def register_certificate(params = {}, options = {})
  req = build_request(:register_certificate, params)
  req.send_request(options)
end

#register_certificate_without_ca(params = {}) ⇒ Types::RegisterCertificateWithoutCAResponse


13137
13138
13139
13140
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13137

def register_certificate_without_ca(params = {}, options = {})
  req = build_request(:register_certificate_without_ca, params)
  req.send_request(options)
end

#register_thing(params = {}) ⇒ Types::RegisterThingResponse


13194
13195
13196
13197
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13194

def register_thing(params = {}, options = {})
  req = build_request(:register_thing, params)
  req.send_request(options)
end

#reject_certificate_transfer(params = {}) ⇒ Struct

Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.

To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.

Requires permission to access the RejectCertificateTransfer action.


13235
13236
13237
13238
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13235

def reject_certificate_transfer(params = {}, options = {})
  req = build_request(:reject_certificate_transfer, params)
  req.send_request(options)
end

#remove_thing_from_billing_group(params = {}) ⇒ Struct

Removes the given thing from the billing group.

Requires permission to access the RemoveThingFromBillingGroup action.

This call is asynchronous. It might take several seconds for the detachment to propagate.


13279
13280
13281
13282
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13279

def remove_thing_from_billing_group(params = {}, options = {})
  req = build_request(:remove_thing_from_billing_group, params)
  req.send_request(options)
end

#remove_thing_from_thing_group(params = {}) ⇒ Struct

Remove the specified thing from the specified group.

You must specify either a thingGroupArn or a thingGroupName to identify the thing group and either a thingArn or a thingName to identify the thing to remove from the thing group.

Requires permission to access the RemoveThingFromThingGroup action.


13322
13323
13324
13325
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13322

def remove_thing_from_thing_group(params = {}, options = {})
  req = build_request(:remove_thing_from_thing_group, params)
  req.send_request(options)
end

#replace_topic_rule(params = {}) ⇒ Struct

Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

Requires permission to access the ReplaceTopicRule action.


13786
13787
13788
13789
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13786

def replace_topic_rule(params = {}, options = {})
  req = build_request(:replace_topic_rule, params)
  req.send_request(options)
end

#search_index(params = {}) ⇒ Types::SearchIndexResponse

The query search index.

Requires permission to access the SearchIndex action.


13870
13871
13872
13873
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13870

def search_index(params = {}, options = {})
  req = build_request(:search_index, params)
  req.send_request(options)
end

#set_default_authorizer(params = {}) ⇒ Types::SetDefaultAuthorizerResponse

Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.

Requires permission to access the SetDefaultAuthorizer action.


13905
13906
13907
13908
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13905

def set_default_authorizer(params = {}, options = {})
  req = build_request(:set_default_authorizer, params)
  req.send_request(options)
end

#set_default_policy_version(params = {}) ⇒ Struct

Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicies action.

Requires permission to access the SetDefaultPolicyVersion action.


13938
13939
13940
13941
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13938

def set_default_policy_version(params = {}, options = {})
  req = build_request(:set_default_policy_version, params)
  req.send_request(options)
end

#set_logging_options(params = {}) ⇒ Struct

Sets the logging options.

NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.

Requires permission to access the SetLoggingOptions action.


13970
13971
13972
13973
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 13970

def set_logging_options(params = {}, options = {})
  req = build_request(:set_logging_options, params)
  req.send_request(options)
end

#set_v2_logging_level(params = {}) ⇒ Struct


14003
14004
14005
14006
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14003

def set_v2_logging_level(params = {}, options = {})
  req = build_request(:set_v2_logging_level, params)
  req.send_request(options)
end

#set_v2_logging_options(params = {}) ⇒ Struct

Sets the logging options for the V2 logging service.

Requires permission to access the SetV2LoggingOptions action.


14047
14048
14049
14050
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14047

def set_v2_logging_options(params = {}, options = {})
  req = build_request(:set_v2_logging_options, params)
  req.send_request(options)
end

#start_audit_mitigation_actions_task(params = {}) ⇒ Types::StartAuditMitigationActionsTaskResponse


14111
14112
14113
14114
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14111

def start_audit_mitigation_actions_task(params = {}, options = {})
  req = build_request(:start_audit_mitigation_actions_task, params)
  req.send_request(options)
end

#start_detect_mitigation_actions_task(params = {}) ⇒ Types::StartDetectMitigationActionsTaskResponse


14182
14183
14184
14185
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14182

def start_detect_mitigation_actions_task(params = {}, options = {})
  req = build_request(:start_detect_mitigation_actions_task, params)
  req.send_request(options)
end

#start_on_demand_audit_task(params = {}) ⇒ Types::StartOnDemandAuditTaskResponse


14218
14219
14220
14221
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14218

def start_on_demand_audit_task(params = {}, options = {})
  req = build_request(:start_on_demand_audit_task, params)
  req.send_request(options)
end

#start_thing_registration_task(params = {}) ⇒ Types::StartThingRegistrationTaskResponse


14265
14266
14267
14268
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14265

def start_thing_registration_task(params = {}, options = {})
  req = build_request(:start_thing_registration_task, params)
  req.send_request(options)
end

#stop_thing_registration_task(params = {}) ⇒ Struct


14292
14293
14294
14295
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14292

def stop_thing_registration_task(params = {}, options = {})
  req = build_request(:stop_thing_registration_task, params)
  req.send_request(options)
end

#tag_resource(params = {}) ⇒ Struct

Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.

Requires permission to access the TagResource action.


14328
14329
14330
14331
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14328

def tag_resource(params = {}, options = {})
  req = build_request(:tag_resource, params)
  req.send_request(options)
end

#test_authorization(params = {}) ⇒ Types::TestAuthorizationResponse

Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the IoT device gateway.

Requires permission to access the TestAuthorization action.


14407
14408
14409
14410
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14407

def test_authorization(params = {}, options = {})
  req = build_request(:test_authorization, params)
  req.send_request(options)
end

#test_invoke_authorizer(params = {}) ⇒ Types::TestInvokeAuthorizerResponse

Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.

Requires permission to access the TestInvokeAuthorizer action.


14482
14483
14484
14485
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14482

def test_invoke_authorizer(params = {}, options = {})
  req = build_request(:test_invoke_authorizer, params)
  req.send_request(options)
end

#transfer_certificate(params = {}) ⇒ Types::TransferCertificateResponse

Transfers the specified certificate to the specified Amazon Web Services account.

Requires permission to access the TransferCertificate action.

You can cancel the transfer until it is accepted by the recipient.

No notification is sent to the transfer destination's account. The caller is responsible for notifying the transfer target.

The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate action to deactivate it.

The certificate must not have any policies attached to it. You can use the DetachPolicy action to detach them.

Customer managed key behavior: When you use a customer managed key to encrypt your data and then transfer the certificate to a customer in a different account using the TransferCertificate operation, the certificates will no longer be encrypted by their customer managed key configuration. During the transfer process, certificates are encrypted using Amazon Web Services IoT Core owned keys.

While a certificate is in the PENDING_TRANSFER state, it's always protected by Amazon Web Services IoT Core owned keys, regardless of the customer managed key configuration of either the source or destination account.

Once the transfer is completed through AcceptCertificateTransfer, RejectCertificateTransfer, or CancelCertificateTransfer, the certificate will be protected by the customer managed key configuration of the account that owns the certificate after the transfer operation:

  • If the transfer is accepted: The certificate is encrypted by the target account's customer managed key configuration.

  • If the transfer is rejected or cancelled: The certificate is protected by the source account's customer managed key configuration.


14560
14561
14562
14563
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14560

def transfer_certificate(params = {}, options = {})
  req = build_request(:transfer_certificate, params)
  req.send_request(options)
end

#untag_resource(params = {}) ⇒ Struct

Removes the given tags (metadata) from the resource.

Requires permission to access the UntagResource action.


14590
14591
14592
14593
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14590

def untag_resource(params = {}, options = {})
  req = build_request(:untag_resource, params)
  req.send_request(options)
end

#update_account_audit_configuration(params = {}) ⇒ Struct

Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.

Requires permission to access the UpdateAccountAuditConfiguration action.


14655
14656
14657
14658
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14655

def update_account_audit_configuration(params = {}, options = {})
  req = build_request(:update_account_audit_configuration, params)
  req.send_request(options)
end

#update_audit_suppression(params = {}) ⇒ Struct

Updates a Device Defender audit suppression.


14713
14714
14715
14716
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14713

def update_audit_suppression(params = {}, options = {})
  req = build_request(:update_audit_suppression, params)
  req.send_request(options)
end

#update_authorizer(params = {}) ⇒ Types::UpdateAuthorizerResponse

Updates an authorizer.

Requires permission to access the UpdateAuthorizer action.


14771
14772
14773
14774
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14771

def update_authorizer(params = {}, options = {})
  req = build_request(:update_authorizer, params)
  req.send_request(options)
end

#update_billing_group(params = {}) ⇒ Types::UpdateBillingGroupResponse

Updates information about the billing group.

Requires permission to access the UpdateBillingGroup action.


14816
14817
14818
14819
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14816

def update_billing_group(params = {}, options = {})
  req = build_request(:update_billing_group, params)
  req.send_request(options)
end

#update_ca_certificate(params = {}) ⇒ Struct

Updates a registered CA certificate.

Requires permission to access the UpdateCACertificate action.


14866
14867
14868
14869
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14866

def update_ca_certificate(params = {}, options = {})
  req = build_request(:update_ca_certificate, params)
  req.send_request(options)
end

#update_certificate(params = {}) ⇒ Struct

Updates the status of the specified certificate. This operation is idempotent.

Requires permission to access the UpdateCertificate action.

Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT.

Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.


14914
14915
14916
14917
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14914

def update_certificate(params = {}, options = {})
  req = build_request(:update_certificate, params)
  req.send_request(options)
end

#update_certificate_provider(params = {}) ⇒ Types::UpdateCertificateProviderResponse


14959
14960
14961
14962
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 14959

def update_certificate_provider(params = {}, options = {})
  req = build_request(:update_certificate_provider, params)
  req.send_request(options)
end

#update_command(params = {}) ⇒ Types::UpdateCommandResponse

Update information about a command or mark a command for deprecation.


15005
15006
15007
15008
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15005

def update_command(params = {}, options = {})
  req = build_request(:update_command, params)
  req.send_request(options)
end

#update_custom_metric(params = {}) ⇒ Types::UpdateCustomMetricResponse

Updates a Device Defender detect custom metric.

Requires permission to access the UpdateCustomMetric action.


15053
15054
15055
15056
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15053

def update_custom_metric(params = {}, options = {})
  req = build_request(:update_custom_metric, params)
  req.send_request(options)
end

#update_dimension(params = {}) ⇒ Types::UpdateDimensionResponse

Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).

Requires permission to access the UpdateDimension action.


15104
15105
15106
15107
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15104

def update_dimension(params = {}, options = {})
  req = build_request(:update_dimension, params)
  req.send_request(options)
end

#update_domain_configuration(params = {}) ⇒ Types::UpdateDomainConfigurationResponse

Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.

Requires permission to access the UpdateDomainConfiguration action.


15246
15247
15248
15249
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15246

def update_domain_configuration(params = {}, options = {})
  req = build_request(:update_domain_configuration, params)
  req.send_request(options)
end

#update_dynamic_thing_group(params = {}) ⇒ Types::UpdateDynamicThingGroupResponse


15315
15316
15317
15318
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15315

def update_dynamic_thing_group(params = {}, options = {})
  req = build_request(:update_dynamic_thing_group, params)
  req.send_request(options)
end

#update_encryption_configuration(params = {}) ⇒ Struct

Updates the encryption configuration. By default, Amazon Web Services IoT Core encrypts your data at rest using Amazon Web Services owned keys. Amazon Web Services IoT Core also supports symmetric customer managed keys from Key Management Service (KMS). With customer managed keys, you create, own, and manage the KMS keys in your Amazon Web Services account.

Before using this API, you must set up permissions for Amazon Web Services IoT Core to access KMS. For more information, see Data encryption at rest in the Amazon Web Services IoT Core Developer Guide.


15369
15370
15371
15372
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15369

def update_encryption_configuration(params = {}, options = {})
  req = build_request(:update_encryption_configuration, params)
  req.send_request(options)
end

#update_event_configurations(params = {}) ⇒ Struct


15400
15401
15402
15403
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15400

def update_event_configurations(params = {}, options = {})
  req = build_request(:update_event_configurations, params)
  req.send_request(options)
end

#update_fleet_metric(params = {}) ⇒ Struct

Updates the data for a fleet metric.

Requires permission to access the UpdateFleetMetric action.


15471
15472
15473
15474
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15471

def update_fleet_metric(params = {}, options = {})
  req = build_request(:update_fleet_metric, params)
  req.send_request(options)
end

#update_indexing_configuration(params = {}) ⇒ Struct


15542
15543
15544
15545
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15542

def update_indexing_configuration(params = {}, options = {})
  req = build_request(:update_indexing_configuration, params)
  req.send_request(options)
end

#update_job(params = {}) ⇒ Struct

Updates supported fields of the specified job.

Requires permission to access the UpdateJob action.


15647
15648
15649
15650
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15647

def update_job(params = {}, options = {})
  req = build_request(:update_job, params)
  req.send_request(options)
end

#update_mitigation_action(params = {}) ⇒ Types::UpdateMitigationActionResponse

Updates the definition for the specified mitigation action.

Requires permission to access the UpdateMitigationAction action.


15712
15713
15714
15715
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15712

def update_mitigation_action(params = {}, options = {})
  req = build_request(:update_mitigation_action, params)
  req.send_request(options)
end

#update_package(params = {}) ⇒ Struct


15768
15769
15770
15771
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15768

def update_package(params = {}, options = {})
  req = build_request(:update_package, params)
  req.send_request(options)
end

#update_package_configuration(params = {}) ⇒ Struct


15809
15810
15811
15812
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15809

def update_package_configuration(params = {}, options = {})
  req = build_request(:update_package_configuration, params)
  req.send_request(options)
end

#update_package_version(params = {}) ⇒ Struct


15891
15892
15893
15894
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15891

def update_package_version(params = {}, options = {})
  req = build_request(:update_package_version, params)
  req.send_request(options)
end

#update_provisioning_template(params = {}) ⇒ Struct


15952
15953
15954
15955
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 15952

def update_provisioning_template(params = {}, options = {})
  req = build_request(:update_provisioning_template, params)
  req.send_request(options)
end

#update_role_alias(params = {}) ⇒ Types::UpdateRoleAliasResponse


16005
16006
16007
16008
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16005

def update_role_alias(params = {}, options = {})
  req = build_request(:update_role_alias, params)
  req.send_request(options)
end

#update_scheduled_audit(params = {}) ⇒ Types::UpdateScheduledAuditResponse

Updates a scheduled audit, including which checks are performed and how often the audit takes place.

Requires permission to access the UpdateScheduledAudit action.


16066
16067
16068
16069
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16066

def update_scheduled_audit(params = {}, options = {})
  req = build_request(:update_scheduled_audit, params)
  req.send_request(options)
end

#update_security_profile(params = {}) ⇒ Types::UpdateSecurityProfileResponse

Updates a Device Defender security profile.

Requires permission to access the UpdateSecurityProfile action.


16259
16260
16261
16262
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16259

def update_security_profile(params = {}, options = {})
  req = build_request(:update_security_profile, params)
  req.send_request(options)
end

#update_stream(params = {}) ⇒ Types::UpdateStreamResponse

Updates an existing stream. The stream version will be incremented by one.

Requires permission to access the UpdateStream action.


16320
16321
16322
16323
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16320

def update_stream(params = {}, options = {})
  req = build_request(:update_stream, params)
  req.send_request(options)
end

#update_thing(params = {}) ⇒ Struct

Updates the data for a thing.

Requires permission to access the UpdateThing action.


16380
16381
16382
16383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16380

def update_thing(params = {}, options = {})
  req = build_request(:update_thing, params)
  req.send_request(options)
end

#update_thing_group(params = {}) ⇒ Types::UpdateThingGroupResponse

Update a thing group.

Requires permission to access the UpdateThingGroup action.


16429
16430
16431
16432
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16429

def update_thing_group(params = {}, options = {})
  req = build_request(:update_thing_group, params)
  req.send_request(options)
end

#update_thing_groups_for_thing(params = {}) ⇒ Struct


16471
16472
16473
16474
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16471

def update_thing_groups_for_thing(params = {}, options = {})
  req = build_request(:update_thing_groups_for_thing, params)
  req.send_request(options)
end

#update_thing_type(params = {}) ⇒ Struct


16509
16510
16511
16512
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16509

def update_thing_type(params = {}, options = {})
  req = build_request(:update_thing_type, params)
  req.send_request(options)
end

#update_topic_rule_destination(params = {}) ⇒ Struct

Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.

Requires permission to access the UpdateTopicRuleDestination action.


16570
16571
16572
16573
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16570

def update_topic_rule_destination(params = {}, options = {})
  req = build_request(:update_topic_rule_destination, params)
  req.send_request(options)
end

#validate_security_profile_behaviors(params = {}) ⇒ Types::ValidateSecurityProfileBehaviorsResponse


16638
16639
16640
16641
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb', line 16638

def validate_security_profile_behaviors(params = {}, options = {})
  req = build_request(:validate_security_profile_behaviors, params)
  req.send_request(options)
end