Last active
May 2, 2021 08:09
-
-
Save tejpochiraju/d32d80daf9982e5dc7853d8db17cd35b to your computer and use it in GitHub Desktop.
Module for ExAws.IoT using https://github.com/IoTReady/ex_aws_codegen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ExAws.Iot do | |
# version: 2.0 | |
# apiVersion: 2015-05-28 | |
# endpointPrefix: iot | |
# protocol: rest-json | |
# serviceFullName: AWS IoT | |
# serviceId: IoT | |
# signatureVersion: v4 | |
# signingName: execute-api | |
# uid: iot-2015-05-28 | |
@service :iot | |
@type abort_action :: binary | |
@type abort_config :: %{criteriaList: abort_criteria_list} | |
@type abort_criteria :: %{ | |
action: abort_action, | |
failureType: job_execution_failure_type, | |
minNumberOfExecutedThings: minimum_number_of_executed_things, | |
thresholdPercentage: abort_threshold_percentage | |
} | |
@type abort_criteria_list :: [abort_criteria] | |
@type abort_threshold_percentage :: float | |
@type accept_certificate_transfer_request :: %{certificateId: certificate_id} | |
@type acm_certificate_arn :: binary | |
@type action :: %{} | |
@type action_list :: [action] | |
@type action_type :: binary | |
@type active_violation :: %{} | |
@type active_violations :: [active_violation] | |
@type add_thing_to_billing_group_request :: %{} | |
@type add_thing_to_billing_group_response :: %{} | |
@type add_thing_to_thing_group_request :: %{} | |
@type add_thing_to_thing_group_response :: %{} | |
@type add_things_to_thing_group_params :: %{thingGroupNames: thing_group_names} | |
@type additional_metrics_to_retain_list :: [behavior_metric] | |
@type additional_metrics_to_retain_v2list :: [metric_to_retain] | |
@type additional_parameter_map :: map | |
@type aggregation_field :: binary | |
@type alarm_name :: binary | |
@type alert_target :: %{alertTargetArn: alert_target_arn, roleArn: role_arn} | |
@type alert_target_arn :: binary | |
@type alert_target_type :: binary | |
@type alert_targets :: map | |
@type allow_authorizer_override :: boolean | |
@type allow_auto_registration :: boolean | |
@type allowed :: %{} | |
@type approximate_seconds_before_timed_out :: integer | |
@type ascending_order :: boolean | |
@type asset_id :: binary | |
@type asset_property_alias :: binary | |
@type asset_property_boolean_value :: binary | |
@type asset_property_double_value :: binary | |
@type asset_property_entry_id :: binary | |
@type asset_property_id :: binary | |
@type asset_property_integer_value :: binary | |
@type asset_property_offset_in_nanos :: binary | |
@type asset_property_quality :: binary | |
@type asset_property_string_value :: binary | |
@type asset_property_time_in_seconds :: binary | |
@type asset_property_timestamp :: %{timeInSeconds: asset_property_time_in_seconds} | |
@type asset_property_value :: %{ | |
timestamp: asset_property_timestamp, | |
value: asset_property_variant | |
} | |
@type asset_property_value_list :: [asset_property_value] | |
@type asset_property_variant :: %{} | |
@type associate_targets_with_job_request :: %{jobId: job_id, targets: job_targets} | |
@type associate_targets_with_job_response :: %{} | |
@type attach_policy_request :: %{policyName: policy_name, target: policy_target} | |
@type attach_principal_policy_request :: %{policyName: policy_name, principal: principal} | |
@type attach_security_profile_request :: %{ | |
securityProfileName: security_profile_name, | |
securityProfileTargetArn: security_profile_target_arn | |
} | |
@type attach_security_profile_response :: %{} | |
@type attach_thing_principal_request :: %{principal: principal, thingName: thing_name} | |
@type attach_thing_principal_response :: %{} | |
@type attribute_key :: binary | |
@type attribute_name :: binary | |
@type attribute_payload :: %{} | |
@type attribute_value :: binary | |
@type attributes :: map | |
@type attributes_map :: map | |
@type audit_check_configuration :: %{} | |
@type audit_check_configurations :: map | |
@type audit_check_details :: %{} | |
@type audit_check_name :: binary | |
@type audit_check_run_status :: binary | |
@type audit_check_to_actions_mapping :: map | |
@type audit_check_to_reason_code_filter :: map | |
@type audit_description :: binary | |
@type audit_details :: map | |
@type audit_finding :: %{} | |
@type audit_finding_severity :: binary | |
@type audit_findings :: [audit_finding] | |
@type audit_frequency :: binary | |
@type audit_mitigation_action_execution_metadata :: %{} | |
@type audit_mitigation_action_execution_metadata_list :: [ | |
audit_mitigation_action_execution_metadata | |
] | |
@type audit_mitigation_actions_execution_status :: binary | |
@type audit_mitigation_actions_task_metadata :: %{} | |
@type audit_mitigation_actions_task_metadata_list :: [audit_mitigation_actions_task_metadata] | |
@type audit_mitigation_actions_task_statistics :: map | |
@type audit_mitigation_actions_task_status :: binary | |
@type audit_mitigation_actions_task_target :: %{} | |
@type audit_notification_target :: %{} | |
@type audit_notification_target_configurations :: map | |
@type audit_notification_type :: binary | |
@type audit_suppression :: %{ | |
checkName: audit_check_name, | |
resourceIdentifier: resource_identifier | |
} | |
@type audit_suppression_list :: [audit_suppression] | |
@type audit_task_id :: binary | |
@type audit_task_metadata :: %{} | |
@type audit_task_metadata_list :: [audit_task_metadata] | |
@type audit_task_status :: binary | |
@type audit_task_type :: binary | |
@type auth_decision :: binary | |
@type auth_info :: %{resources: resources} | |
@type auth_infos :: [auth_info] | |
@type auth_result :: %{} | |
@type auth_results :: [auth_result] | |
@type authorizer_arn :: binary | |
@type authorizer_config :: %{} | |
@type authorizer_description :: %{} | |
@type authorizer_function_arn :: binary | |
@type authorizer_name :: binary | |
@type authorizer_status :: binary | |
@type authorizer_summary :: %{} | |
@type authorizers :: [authorizer_summary] | |
@type auto_registration_status :: binary | |
@type average :: float | |
@type aws_account_id :: binary | |
@type aws_arn :: binary | |
@type aws_iot_job_arn :: binary | |
@type aws_iot_job_id :: binary | |
@type aws_iot_sql_version :: binary | |
@type aws_job_abort_config :: %{abortCriteriaList: aws_job_abort_criteria_list} | |
@type aws_job_abort_criteria :: %{ | |
action: aws_job_abort_criteria_abort_action, | |
failureType: aws_job_abort_criteria_failure_type, | |
minNumberOfExecutedThings: aws_job_abort_criteria_minimum_number_of_executed_things, | |
thresholdPercentage: aws_job_abort_criteria_abort_threshold_percentage | |
} | |
@type aws_job_abort_criteria_abort_action :: binary | |
@type aws_job_abort_criteria_abort_threshold_percentage :: float | |
@type aws_job_abort_criteria_failure_type :: binary | |
@type aws_job_abort_criteria_list :: [aws_job_abort_criteria] | |
@type aws_job_abort_criteria_minimum_number_of_executed_things :: integer | |
@type aws_job_executions_rollout_config :: %{} | |
@type aws_job_exponential_rollout_rate :: %{ | |
baseRatePerMinute: aws_job_rollout_rate_per_minute, | |
incrementFactor: aws_job_rollout_increment_factor, | |
rateIncreaseCriteria: aws_job_rate_increase_criteria | |
} | |
@type aws_job_presigned_url_config :: %{} | |
@type aws_job_rate_increase_criteria :: %{} | |
@type aws_job_rate_increase_criteria_number_of_things :: integer | |
@type aws_job_rollout_increment_factor :: float | |
@type aws_job_rollout_rate_per_minute :: integer | |
@type aws_job_timeout_config :: %{} | |
@type aws_job_timeout_in_progress_timeout_in_minutes :: integer | |
@type batch_mode :: boolean | |
@type behavior :: %{name: behavior_name} | |
@type behavior_criteria :: %{} | |
@type behavior_criteria_type :: binary | |
@type behavior_metric :: binary | |
@type behavior_model_training_summaries :: [behavior_model_training_summary] | |
@type behavior_model_training_summary :: %{} | |
@type behavior_name :: binary | |
@type behaviors :: [behavior] | |
@type billing_group_arn :: binary | |
@type billing_group_description :: binary | |
@type billing_group_id :: binary | |
@type billing_group_metadata :: %{} | |
@type billing_group_name :: binary | |
@type billing_group_name_and_arn_list :: [group_name_and_arn] | |
@type billing_group_properties :: %{} | |
@type boolean_key :: boolean | |
@type bucket_name :: binary | |
@type cacertificate :: %{} | |
@type cacertificate_description :: %{} | |
@type cacertificate_status :: binary | |
@type cacertificate_update_action :: binary | |
@type cacertificates :: [cacertificate] | |
@type cancel_audit_mitigation_actions_task_request :: %{taskId: mitigation_actions_task_id} | |
@type cancel_audit_mitigation_actions_task_response :: %{} | |
@type cancel_audit_task_request :: %{taskId: audit_task_id} | |
@type cancel_audit_task_response :: %{} | |
@type cancel_certificate_transfer_request :: %{certificateId: certificate_id} | |
@type cancel_detect_mitigation_actions_task_request :: %{taskId: mitigation_actions_task_id} | |
@type cancel_detect_mitigation_actions_task_response :: %{} | |
@type cancel_job_execution_request :: %{jobId: job_id, thingName: thing_name} | |
@type cancel_job_request :: %{jobId: job_id} | |
@type cancel_job_response :: %{} | |
@type canceled_checks_count :: integer | |
@type canceled_findings_count :: integer | |
@type canceled_things :: integer | |
@type canned_access_control_list :: binary | |
@type certificate :: %{} | |
@type certificate_arn :: binary | |
@type certificate_conflict_exception :: %{} | |
@type certificate_description :: %{} | |
@type certificate_id :: binary | |
@type certificate_mode :: binary | |
@type certificate_name :: binary | |
@type certificate_path_on_device :: binary | |
@type certificate_pem :: binary | |
@type certificate_signing_request :: binary | |
@type certificate_state_exception :: %{} | |
@type certificate_status :: binary | |
@type certificate_validation_exception :: %{} | |
@type certificate_validity :: %{} | |
@type certificates :: [certificate] | |
@type channel_name :: binary | |
@type check_compliant :: boolean | |
@type cidr :: binary | |
@type cidrs :: [cidr] | |
@type clear_default_authorizer_request :: %{} | |
@type clear_default_authorizer_response :: %{} | |
@type client_id :: binary | |
@type client_properties :: map | |
@type client_request_token :: binary | |
@type cloudwatch_alarm_action :: %{ | |
alarmName: alarm_name, | |
roleArn: aws_arn, | |
stateReason: state_reason, | |
stateValue: state_value | |
} | |
@type cloudwatch_logs_action :: %{logGroupName: log_group_name, roleArn: aws_arn} | |
@type cloudwatch_metric_action :: %{ | |
metricName: string, | |
metricNamespace: string, | |
metricUnit: string, | |
metricValue: string, | |
roleArn: aws_arn | |
} | |
@type code :: binary | |
@type code_signing :: %{} | |
@type code_signing_certificate_chain :: %{} | |
@type code_signing_signature :: %{} | |
@type cognito_identity_pool_id :: binary | |
@type comment :: binary | |
@type comparison_operator :: binary | |
@type compliant_checks_count :: integer | |
@type confidence_level :: binary | |
@type configuration :: %{} | |
@type confirm_topic_rule_destination_request :: %{confirmationToken: confirmation_token} | |
@type confirm_topic_rule_destination_response :: %{} | |
@type confirmation_token :: binary | |
@type conflicting_resource_update_exception :: %{} | |
@type connectivity_timestamp :: integer | |
@type consecutive_datapoints_to_alarm :: integer | |
@type consecutive_datapoints_to_clear :: integer | |
@type count :: integer | |
@type create_audit_suppression_request :: %{ | |
checkName: audit_check_name, | |
clientRequestToken: client_request_token, | |
resourceIdentifier: resource_identifier | |
} | |
@type create_audit_suppression_response :: %{} | |
@type create_authorizer_request :: %{ | |
authorizerFunctionArn: authorizer_function_arn, | |
authorizerName: authorizer_name | |
} | |
@type create_authorizer_response :: %{} | |
@type create_billing_group_request :: %{billingGroupName: billing_group_name} | |
@type create_billing_group_response :: %{} | |
@type create_certificate_from_csr_request :: %{ | |
certificateSigningRequest: certificate_signing_request | |
} | |
@type create_certificate_from_csr_response :: %{} | |
@type create_custom_metric_request :: %{ | |
clientRequestToken: client_request_token, | |
metricName: metric_name, | |
metricType: custom_metric_type | |
} | |
@type create_custom_metric_response :: %{} | |
@type create_dimension_request :: %{ | |
clientRequestToken: client_request_token, | |
name: dimension_name, | |
stringValues: dimension_string_values, | |
type: dimension_type | |
} | |
@type create_dimension_response :: %{} | |
@type create_domain_configuration_request :: %{ | |
domainConfigurationName: domain_configuration_name | |
} | |
@type create_domain_configuration_response :: %{} | |
@type create_dynamic_thing_group_request :: %{ | |
queryString: query_string, | |
thingGroupName: thing_group_name | |
} | |
@type create_dynamic_thing_group_response :: %{} | |
@type create_job_request :: %{jobId: job_id, targets: job_targets} | |
@type create_job_response :: %{} | |
@type create_keys_and_certificate_request :: %{} | |
@type create_keys_and_certificate_response :: %{} | |
@type create_mitigation_action_request :: %{ | |
actionName: mitigation_action_name, | |
actionParams: mitigation_action_params, | |
roleArn: role_arn | |
} | |
@type create_mitigation_action_response :: %{} | |
@type create_otaupdate_request :: %{ | |
files: otaupdate_files, | |
otaUpdateId: otaupdate_id, | |
roleArn: role_arn, | |
targets: targets | |
} | |
@type create_otaupdate_response :: %{} | |
@type create_policy_request :: %{policyDocument: policy_document, policyName: policy_name} | |
@type create_policy_response :: %{} | |
@type create_policy_version_request :: %{ | |
policyDocument: policy_document, | |
policyName: policy_name | |
} | |
@type create_policy_version_response :: %{} | |
@type create_provisioning_claim_request :: %{templateName: template_name} | |
@type create_provisioning_claim_response :: %{} | |
@type create_provisioning_template_request :: %{ | |
provisioningRoleArn: role_arn, | |
templateBody: template_body, | |
templateName: template_name | |
} | |
@type create_provisioning_template_response :: %{} | |
@type create_provisioning_template_version_request :: %{ | |
templateBody: template_body, | |
templateName: template_name | |
} | |
@type create_provisioning_template_version_response :: %{} | |
@type create_role_alias_request :: %{roleAlias: role_alias, roleArn: role_arn} | |
@type create_role_alias_response :: %{} | |
@type create_scheduled_audit_request :: %{ | |
frequency: audit_frequency, | |
scheduledAuditName: scheduled_audit_name, | |
targetCheckNames: target_audit_check_names | |
} | |
@type create_scheduled_audit_response :: %{} | |
@type create_security_profile_request :: %{securityProfileName: security_profile_name} | |
@type create_security_profile_response :: %{} | |
@type create_stream_request :: %{files: stream_files, roleArn: role_arn, streamId: stream_id} | |
@type create_stream_response :: %{} | |
@type create_thing_group_request :: %{thingGroupName: thing_group_name} | |
@type create_thing_group_response :: %{} | |
@type create_thing_request :: %{thingName: thing_name} | |
@type create_thing_response :: %{} | |
@type create_thing_type_request :: %{thingTypeName: thing_type_name} | |
@type create_thing_type_response :: %{} | |
@type create_topic_rule_destination_request :: %{ | |
destinationConfiguration: topic_rule_destination_configuration | |
} | |
@type create_topic_rule_destination_response :: %{} | |
@type create_topic_rule_request :: %{ruleName: rule_name, topicRulePayload: topic_rule_payload} | |
@type created_at_date :: integer | |
@type creation_date :: integer | |
@type credential_duration_seconds :: integer | |
@type custom_code_signing :: %{} | |
@type custom_metric_arn :: binary | |
@type custom_metric_display_name :: binary | |
@type custom_metric_type :: binary | |
@type customer_version :: integer | |
@type data_collection_percentage :: float | |
@type date_type :: integer | |
@type day_of_month :: binary | |
@type day_of_week :: binary | |
@type delete_account_audit_configuration_request :: %{} | |
@type delete_account_audit_configuration_response :: %{} | |
@type delete_additional_metrics_to_retain :: boolean | |
@type delete_alert_targets :: boolean | |
@type delete_audit_suppression_request :: %{ | |
checkName: audit_check_name, | |
resourceIdentifier: resource_identifier | |
} | |
@type delete_audit_suppression_response :: %{} | |
@type delete_authorizer_request :: %{authorizerName: authorizer_name} | |
@type delete_authorizer_response :: %{} | |
@type delete_behaviors :: boolean | |
@type delete_billing_group_request :: %{billingGroupName: billing_group_name} | |
@type delete_billing_group_response :: %{} | |
@type delete_cacertificate_request :: %{certificateId: certificate_id} | |
@type delete_cacertificate_response :: %{} | |
@type delete_certificate_request :: %{certificateId: certificate_id} | |
@type delete_conflict_exception :: %{} | |
@type delete_custom_metric_request :: %{metricName: metric_name} | |
@type delete_custom_metric_response :: %{} | |
@type delete_dimension_request :: %{name: dimension_name} | |
@type delete_dimension_response :: %{} | |
@type delete_domain_configuration_request :: %{ | |
domainConfigurationName: domain_configuration_name | |
} | |
@type delete_domain_configuration_response :: %{} | |
@type delete_dynamic_thing_group_request :: %{thingGroupName: thing_group_name} | |
@type delete_dynamic_thing_group_response :: %{} | |
@type delete_job_execution_request :: %{ | |
executionNumber: execution_number, | |
jobId: job_id, | |
thingName: thing_name | |
} | |
@type delete_job_request :: %{jobId: job_id} | |
@type delete_mitigation_action_request :: %{actionName: mitigation_action_name} | |
@type delete_mitigation_action_response :: %{} | |
@type delete_otaupdate_request :: %{otaUpdateId: otaupdate_id} | |
@type delete_otaupdate_response :: %{} | |
@type delete_policy_request :: %{policyName: policy_name} | |
@type delete_policy_version_request :: %{ | |
policyName: policy_name, | |
policyVersionId: policy_version_id | |
} | |
@type delete_provisioning_template_request :: %{templateName: template_name} | |
@type delete_provisioning_template_response :: %{} | |
@type delete_provisioning_template_version_request :: %{ | |
templateName: template_name, | |
versionId: template_version_id | |
} | |
@type delete_provisioning_template_version_response :: %{} | |
@type delete_registration_code_request :: %{} | |
@type delete_registration_code_response :: %{} | |
@type delete_role_alias_request :: %{roleAlias: role_alias} | |
@type delete_role_alias_response :: %{} | |
@type delete_scheduled_audit_request :: %{scheduledAuditName: scheduled_audit_name} | |
@type delete_scheduled_audit_response :: %{} | |
@type delete_scheduled_audits :: boolean | |
@type delete_security_profile_request :: %{securityProfileName: security_profile_name} | |
@type delete_security_profile_response :: %{} | |
@type delete_stream :: boolean | |
@type delete_stream_request :: %{streamId: stream_id} | |
@type delete_stream_response :: %{} | |
@type delete_thing_group_request :: %{thingGroupName: thing_group_name} | |
@type delete_thing_group_response :: %{} | |
@type delete_thing_request :: %{thingName: thing_name} | |
@type delete_thing_response :: %{} | |
@type delete_thing_type_request :: %{thingTypeName: thing_type_name} | |
@type delete_thing_type_response :: %{} | |
@type delete_topic_rule_destination_request :: %{arn: aws_arn} | |
@type delete_topic_rule_destination_response :: %{} | |
@type delete_topic_rule_request :: %{ruleName: rule_name} | |
@type delete_v2logging_level_request :: %{ | |
targetName: log_target_name, | |
targetType: log_target_type | |
} | |
@type delivery_stream_name :: binary | |
@type denied :: %{} | |
@type deprecate_thing_type_request :: %{thingTypeName: thing_type_name} | |
@type deprecate_thing_type_response :: %{} | |
@type deprecation_date :: integer | |
@type describe_account_audit_configuration_request :: %{} | |
@type describe_account_audit_configuration_response :: %{} | |
@type describe_audit_finding_request :: %{findingId: finding_id} | |
@type describe_audit_finding_response :: %{} | |
@type describe_audit_mitigation_actions_task_request :: %{taskId: mitigation_actions_task_id} | |
@type describe_audit_mitigation_actions_task_response :: %{} | |
@type describe_audit_suppression_request :: %{ | |
checkName: audit_check_name, | |
resourceIdentifier: resource_identifier | |
} | |
@type describe_audit_suppression_response :: %{} | |
@type describe_audit_task_request :: %{taskId: audit_task_id} | |
@type describe_audit_task_response :: %{} | |
@type describe_authorizer_request :: %{authorizerName: authorizer_name} | |
@type describe_authorizer_response :: %{} | |
@type describe_billing_group_request :: %{billingGroupName: billing_group_name} | |
@type describe_billing_group_response :: %{} | |
@type describe_cacertificate_request :: %{certificateId: certificate_id} | |
@type describe_cacertificate_response :: %{} | |
@type describe_certificate_request :: %{certificateId: certificate_id} | |
@type describe_certificate_response :: %{} | |
@type describe_custom_metric_request :: %{metricName: metric_name} | |
@type describe_custom_metric_response :: %{} | |
@type describe_default_authorizer_request :: %{} | |
@type describe_default_authorizer_response :: %{} | |
@type describe_detect_mitigation_actions_task_request :: %{taskId: mitigation_actions_task_id} | |
@type describe_detect_mitigation_actions_task_response :: %{} | |
@type describe_dimension_request :: %{name: dimension_name} | |
@type describe_dimension_response :: %{} | |
@type describe_domain_configuration_request :: %{ | |
domainConfigurationName: reserved_domain_configuration_name | |
} | |
@type describe_domain_configuration_response :: %{} | |
@type describe_endpoint_request :: %{} | |
@type describe_endpoint_response :: %{} | |
@type describe_event_configurations_request :: %{} | |
@type describe_event_configurations_response :: %{} | |
@type describe_index_request :: %{indexName: index_name} | |
@type describe_index_response :: %{} | |
@type describe_job_execution_request :: %{jobId: job_id, thingName: thing_name} | |
@type describe_job_execution_response :: %{} | |
@type describe_job_request :: %{jobId: job_id} | |
@type describe_job_response :: %{} | |
@type describe_mitigation_action_request :: %{actionName: mitigation_action_name} | |
@type describe_mitigation_action_response :: %{} | |
@type describe_provisioning_template_request :: %{templateName: template_name} | |
@type describe_provisioning_template_response :: %{} | |
@type describe_provisioning_template_version_request :: %{ | |
templateName: template_name, | |
versionId: template_version_id | |
} | |
@type describe_provisioning_template_version_response :: %{} | |
@type describe_role_alias_request :: %{roleAlias: role_alias} | |
@type describe_role_alias_response :: %{} | |
@type describe_scheduled_audit_request :: %{scheduledAuditName: scheduled_audit_name} | |
@type describe_scheduled_audit_response :: %{} | |
@type describe_security_profile_request :: %{securityProfileName: security_profile_name} | |
@type describe_security_profile_response :: %{} | |
@type describe_stream_request :: %{streamId: stream_id} | |
@type describe_stream_response :: %{} | |
@type describe_thing_group_request :: %{thingGroupName: thing_group_name} | |
@type describe_thing_group_response :: %{} | |
@type describe_thing_registration_task_request :: %{taskId: task_id} | |
@type describe_thing_registration_task_response :: %{} | |
@type describe_thing_request :: %{thingName: thing_name} | |
@type describe_thing_response :: %{} | |
@type describe_thing_type_request :: %{thingTypeName: thing_type_name} | |
@type describe_thing_type_response :: %{} | |
@type description :: binary | |
@type destination :: %{} | |
@type detach_policy_request :: %{policyName: policy_name, target: policy_target} | |
@type detach_principal_policy_request :: %{policyName: policy_name, principal: principal} | |
@type detach_security_profile_request :: %{ | |
securityProfileName: security_profile_name, | |
securityProfileTargetArn: security_profile_target_arn | |
} | |
@type detach_security_profile_response :: %{} | |
@type detach_thing_principal_request :: %{principal: principal, thingName: thing_name} | |
@type detach_thing_principal_response :: %{} | |
@type details_key :: binary | |
@type details_map :: map | |
@type details_value :: binary | |
@type detect_mitigation_action_execution :: %{} | |
@type detect_mitigation_action_execution_error_code :: binary | |
@type detect_mitigation_action_execution_list :: [detect_mitigation_action_execution] | |
@type detect_mitigation_action_execution_status :: binary | |
@type detect_mitigation_actions_task_statistics :: %{} | |
@type detect_mitigation_actions_task_status :: binary | |
@type detect_mitigation_actions_task_summary :: %{} | |
@type detect_mitigation_actions_task_summary_list :: [detect_mitigation_actions_task_summary] | |
@type detect_mitigation_actions_task_target :: %{} | |
@type detect_mitigation_actions_to_execute_list :: [mitigation_action_name] | |
@type device_certificate_update_action :: binary | |
@type device_defender_thing_name :: binary | |
@type dimension_arn :: binary | |
@type dimension_name :: binary | |
@type dimension_names :: [dimension_name] | |
@type dimension_string_value :: binary | |
@type dimension_string_values :: [dimension_string_value] | |
@type dimension_type :: binary | |
@type dimension_value_operator :: binary | |
@type disable_all_logs :: boolean | |
@type disable_topic_rule_request :: %{ruleName: rule_name} | |
@type domain_configuration_arn :: binary | |
@type domain_configuration_name :: binary | |
@type domain_configuration_status :: binary | |
@type domain_configuration_summary :: %{} | |
@type domain_configurations :: [domain_configuration_summary] | |
@type domain_name :: binary | |
@type domain_type :: binary | |
@type duration_seconds :: integer | |
@type dynamic_group_status :: binary | |
@type dynamo_dbaction :: %{ | |
hashKeyField: hash_key_field, | |
hashKeyValue: hash_key_value, | |
roleArn: aws_arn, | |
tableName: table_name | |
} | |
@type dynamo_dbv2action :: %{putItem: put_item_input, roleArn: aws_arn} | |
@type dynamo_key_type :: binary | |
@type dynamo_operation :: binary | |
@type effective_policies :: [effective_policy] | |
@type effective_policy :: %{} | |
@type elasticsearch_action :: %{ | |
endpoint: elasticsearch_endpoint, | |
id: elasticsearch_id, | |
index: elasticsearch_index, | |
roleArn: aws_arn, | |
type: elasticsearch_type | |
} | |
@type elasticsearch_endpoint :: binary | |
@type elasticsearch_id :: binary | |
@type elasticsearch_index :: binary | |
@type elasticsearch_type :: binary | |
@type enable_io_tlogging_params :: %{logLevel: log_level, roleArnForLogging: role_arn} | |
@type enable_topic_rule_request :: %{ruleName: rule_name} | |
@type enabled :: boolean | |
@type endpoint_address :: binary | |
@type endpoint_type :: binary | |
@type error_code :: binary | |
@type error_info :: %{} | |
@type error_message :: binary | |
@type evaluation_statistic :: binary | |
@type event_configurations :: map | |
@type event_type :: binary | |
@type execution_name_prefix :: binary | |
@type execution_number :: integer | |
@type expected_version :: integer | |
@type expires_in_sec :: integer | |
@type expires_in_seconds :: integer | |
@type explicit_deny :: %{} | |
@type exponential_rollout_rate :: %{ | |
baseRatePerMinute: rollout_rate_per_minute, | |
incrementFactor: increment_factor, | |
rateIncreaseCriteria: rate_increase_criteria | |
} | |
@type failed_checks_count :: integer | |
@type failed_findings_count :: integer | |
@type failed_things :: integer | |
@type field :: %{} | |
@type field_name :: binary | |
@type field_type :: binary | |
@type fields :: [field] | |
@type file_id :: integer | |
@type file_location :: %{} | |
@type file_name :: binary | |
@type file_type :: integer | |
@type finding_id :: binary | |
@type finding_ids :: [finding_id] | |
@type firehose_action :: %{deliveryStreamName: delivery_stream_name, roleArn: aws_arn} | |
@type firehose_separator :: binary | |
@type flag :: boolean | |
@type force_delete :: boolean | |
@type force_delete_awsjob :: boolean | |
@type force_flag :: boolean | |
@type forced :: boolean | |
@type function_arn :: binary | |
@type generation_id :: binary | |
@type generic_long_value :: integer | |
@type get_behavior_model_training_summaries_request :: %{} | |
@type get_behavior_model_training_summaries_response :: %{} | |
@type get_cardinality_request :: %{queryString: query_string} | |
@type get_cardinality_response :: %{} | |
@type get_effective_policies_request :: %{} | |
@type get_effective_policies_response :: %{} | |
@type get_indexing_configuration_request :: %{} | |
@type get_indexing_configuration_response :: %{} | |
@type get_job_document_request :: %{jobId: job_id} | |
@type get_job_document_response :: %{} | |
@type get_logging_options_request :: %{} | |
@type get_logging_options_response :: %{} | |
@type get_otaupdate_request :: %{otaUpdateId: otaupdate_id} | |
@type get_otaupdate_response :: %{} | |
@type get_percentiles_request :: %{queryString: query_string} | |
@type get_percentiles_response :: %{} | |
@type get_policy_request :: %{policyName: policy_name} | |
@type get_policy_response :: %{} | |
@type get_policy_version_request :: %{ | |
policyName: policy_name, | |
policyVersionId: policy_version_id | |
} | |
@type get_policy_version_response :: %{} | |
@type get_registration_code_request :: %{} | |
@type get_registration_code_response :: %{} | |
@type get_statistics_request :: %{queryString: query_string} | |
@type get_statistics_response :: %{} | |
@type get_topic_rule_destination_request :: %{arn: aws_arn} | |
@type get_topic_rule_destination_response :: %{} | |
@type get_topic_rule_request :: %{ruleName: rule_name} | |
@type get_topic_rule_response :: %{} | |
@type get_v2logging_options_request :: %{} | |
@type get_v2logging_options_response :: %{} | |
@type group_name_and_arn :: %{} | |
@type hash_algorithm :: binary | |
@type hash_key_field :: binary | |
@type hash_key_value :: binary | |
@type header_key :: binary | |
@type header_list :: [http_action_header] | |
@type header_value :: binary | |
@type http_action :: %{url: url} | |
@type http_action_header :: %{key: header_key, value: header_value} | |
@type http_authorization :: %{} | |
@type http_context :: %{} | |
@type http_header_name :: binary | |
@type http_header_value :: binary | |
@type http_headers :: map | |
@type http_query_string :: binary | |
@type http_url_destination_configuration :: %{confirmationUrl: url} | |
@type http_url_destination_properties :: %{} | |
@type http_url_destination_summary :: %{} | |
@type implicit_deny :: %{} | |
@type in_progress_checks_count :: integer | |
@type in_progress_things :: integer | |
@type in_progress_timeout_in_minutes :: integer | |
@type increment_factor :: float | |
@type index_name :: binary | |
@type index_names_list :: [index_name] | |
@type index_not_ready_exception :: %{} | |
@type index_schema :: binary | |
@type index_status :: binary | |
@type inline_document :: binary | |
@type input_name :: binary | |
@type internal_exception :: %{} | |
@type internal_failure_exception :: %{} | |
@type invalid_aggregation_exception :: %{} | |
@type invalid_query_exception :: %{} | |
@type invalid_request_exception :: %{} | |
@type invalid_response_exception :: %{} | |
@type invalid_state_transition_exception :: %{} | |
@type iot_analytics_action :: %{} | |
@type iot_events_action :: %{inputName: input_name, roleArn: aws_arn} | |
@type iot_site_wise_action :: %{ | |
putAssetPropertyValueEntries: put_asset_property_value_entry_list, | |
roleArn: aws_arn | |
} | |
@type is_authenticated :: boolean | |
@type is_default_version :: boolean | |
@type is_disabled :: boolean | |
@type is_suppressed :: boolean | |
@type job :: %{} | |
@type job_arn :: binary | |
@type job_description :: binary | |
@type job_document :: binary | |
@type job_document_source :: binary | |
@type job_execution :: %{} | |
@type job_execution_failure_type :: binary | |
@type job_execution_status :: binary | |
@type job_execution_status_details :: %{} | |
@type job_execution_summary :: %{} | |
@type job_execution_summary_for_job :: %{} | |
@type job_execution_summary_for_job_list :: [job_execution_summary_for_job] | |
@type job_execution_summary_for_thing :: %{} | |
@type job_execution_summary_for_thing_list :: [job_execution_summary_for_thing] | |
@type job_executions_rollout_config :: %{} | |
@type job_id :: binary | |
@type job_process_details :: %{} | |
@type job_status :: binary | |
@type job_summary :: %{} | |
@type job_summary_list :: [job_summary] | |
@type job_targets :: [target_arn] | |
@type json_document :: binary | |
@type kafka_action :: %{ | |
clientProperties: client_properties, | |
destinationArn: aws_arn, | |
topic: string | |
} | |
@type key :: binary | |
@type key_name :: binary | |
@type key_pair :: %{} | |
@type key_value :: binary | |
@type kinesis_action :: %{roleArn: aws_arn, streamName: stream_name} | |
@type lambda_action :: %{functionArn: function_arn} | |
@type laser_max_results :: integer | |
@type last_modified_date :: integer | |
@type last_updated_at_date :: integer | |
@type limit_exceeded_exception :: %{} | |
@type list_active_violations_request :: %{} | |
@type list_active_violations_response :: %{} | |
@type list_attached_policies_request :: %{target: policy_target} | |
@type list_attached_policies_response :: %{} | |
@type list_audit_findings_request :: %{} | |
@type list_audit_findings_response :: %{} | |
@type list_audit_mitigation_actions_executions_request :: %{ | |
findingId: finding_id, | |
taskId: mitigation_actions_task_id | |
} | |
@type list_audit_mitigation_actions_executions_response :: %{} | |
@type list_audit_mitigation_actions_tasks_request :: %{endTime: timestamp, startTime: timestamp} | |
@type list_audit_mitigation_actions_tasks_response :: %{} | |
@type list_audit_suppressions_request :: %{} | |
@type list_audit_suppressions_response :: %{} | |
@type list_audit_tasks_request :: %{endTime: timestamp, startTime: timestamp} | |
@type list_audit_tasks_response :: %{} | |
@type list_authorizers_request :: %{} | |
@type list_authorizers_response :: %{} | |
@type list_billing_groups_request :: %{} | |
@type list_billing_groups_response :: %{} | |
@type list_cacertificates_request :: %{} | |
@type list_cacertificates_response :: %{} | |
@type list_certificates_by_carequest :: %{caCertificateId: certificate_id} | |
@type list_certificates_by_caresponse :: %{} | |
@type list_certificates_request :: %{} | |
@type list_certificates_response :: %{} | |
@type list_custom_metrics_request :: %{} | |
@type list_custom_metrics_response :: %{} | |
@type list_detect_mitigation_actions_executions_request :: %{} | |
@type list_detect_mitigation_actions_executions_response :: %{} | |
@type list_detect_mitigation_actions_tasks_request :: %{ | |
endTime: timestamp, | |
startTime: timestamp | |
} | |
@type list_detect_mitigation_actions_tasks_response :: %{} | |
@type list_dimensions_request :: %{} | |
@type list_dimensions_response :: %{} | |
@type list_domain_configurations_request :: %{} | |
@type list_domain_configurations_response :: %{} | |
@type list_indices_request :: %{} | |
@type list_indices_response :: %{} | |
@type list_job_executions_for_job_request :: %{jobId: job_id} | |
@type list_job_executions_for_job_response :: %{} | |
@type list_job_executions_for_thing_request :: %{thingName: thing_name} | |
@type list_job_executions_for_thing_response :: %{} | |
@type list_jobs_request :: %{} | |
@type list_jobs_response :: %{} | |
@type list_mitigation_actions_request :: %{} | |
@type list_mitigation_actions_response :: %{} | |
@type list_otaupdates_request :: %{} | |
@type list_otaupdates_response :: %{} | |
@type list_outgoing_certificates_request :: %{} | |
@type list_outgoing_certificates_response :: %{} | |
@type list_policies_request :: %{} | |
@type list_policies_response :: %{} | |
@type list_policy_principals_request :: %{policyName: policy_name} | |
@type list_policy_principals_response :: %{} | |
@type list_policy_versions_request :: %{policyName: policy_name} | |
@type list_policy_versions_response :: %{} | |
@type list_principal_policies_request :: %{principal: principal} | |
@type list_principal_policies_response :: %{} | |
@type list_principal_things_request :: %{principal: principal} | |
@type list_principal_things_response :: %{} | |
@type list_provisioning_template_versions_request :: %{templateName: template_name} | |
@type list_provisioning_template_versions_response :: %{} | |
@type list_provisioning_templates_request :: %{} | |
@type list_provisioning_templates_response :: %{} | |
@type list_role_aliases_request :: %{} | |
@type list_role_aliases_response :: %{} | |
@type list_scheduled_audits_request :: %{} | |
@type list_scheduled_audits_response :: %{} | |
@type list_security_profiles_for_target_request :: %{ | |
securityProfileTargetArn: security_profile_target_arn | |
} | |
@type list_security_profiles_for_target_response :: %{} | |
@type list_security_profiles_request :: %{} | |
@type list_security_profiles_response :: %{} | |
@type list_streams_request :: %{} | |
@type list_streams_response :: %{} | |
@type list_suppressed_alerts :: boolean | |
@type list_suppressed_findings :: boolean | |
@type list_tags_for_resource_request :: %{resourceArn: resource_arn} | |
@type list_tags_for_resource_response :: %{} | |
@type list_targets_for_policy_request :: %{policyName: policy_name} | |
@type list_targets_for_policy_response :: %{} | |
@type list_targets_for_security_profile_request :: %{securityProfileName: security_profile_name} | |
@type list_targets_for_security_profile_response :: %{} | |
@type list_thing_groups_for_thing_request :: %{thingName: thing_name} | |
@type list_thing_groups_for_thing_response :: %{} | |
@type list_thing_groups_request :: %{} | |
@type list_thing_groups_response :: %{} | |
@type list_thing_principals_request :: %{thingName: thing_name} | |
@type list_thing_principals_response :: %{} | |
@type list_thing_registration_task_reports_request :: %{ | |
reportType: report_type, | |
taskId: task_id | |
} | |
@type list_thing_registration_task_reports_response :: %{} | |
@type list_thing_registration_tasks_request :: %{} | |
@type list_thing_registration_tasks_response :: %{} | |
@type list_thing_types_request :: %{} | |
@type list_thing_types_response :: %{} | |
@type list_things_in_billing_group_request :: %{billingGroupName: billing_group_name} | |
@type list_things_in_billing_group_response :: %{} | |
@type list_things_in_thing_group_request :: %{thingGroupName: thing_group_name} | |
@type list_things_in_thing_group_response :: %{} | |
@type list_things_request :: %{} | |
@type list_things_response :: %{} | |
@type list_topic_rule_destinations_request :: %{} | |
@type list_topic_rule_destinations_response :: %{} | |
@type list_topic_rules_request :: %{} | |
@type list_topic_rules_response :: %{} | |
@type list_v2logging_levels_request :: %{} | |
@type list_v2logging_levels_response :: %{} | |
@type list_violation_events_request :: %{endTime: timestamp, startTime: timestamp} | |
@type list_violation_events_response :: %{} | |
@type log_group_name :: binary | |
@type log_level :: binary | |
@type log_target :: %{targetType: log_target_type} | |
@type log_target_configuration :: %{} | |
@type log_target_configurations :: [log_target_configuration] | |
@type log_target_name :: binary | |
@type log_target_type :: binary | |
@type logging_options_payload :: %{roleArn: aws_arn} | |
@type machine_learning_detection_config :: %{confidenceLevel: confidence_level} | |
@type malformed_policy_exception :: %{} | |
@type marker :: binary | |
@type max_job_executions_per_min :: integer | |
@type max_results :: integer | |
@type maximum :: float | |
@type maximum_per_minute :: integer | |
@type message :: binary | |
@type message_format :: binary | |
@type message_id :: binary | |
@type metric_dimension :: %{dimensionName: dimension_name} | |
@type metric_name :: binary | |
@type metric_names :: [metric_name] | |
@type metric_to_retain :: %{metric: behavior_metric} | |
@type metric_value :: %{} | |
@type minimum :: float | |
@type minimum_number_of_executed_things :: integer | |
@type missing_context_value :: binary | |
@type missing_context_values :: [missing_context_value] | |
@type mitigation_action :: %{} | |
@type mitigation_action_arn :: binary | |
@type mitigation_action_id :: binary | |
@type mitigation_action_identifier :: %{} | |
@type mitigation_action_identifier_list :: [mitigation_action_identifier] | |
@type mitigation_action_list :: [mitigation_action] | |
@type mitigation_action_name :: binary | |
@type mitigation_action_name_list :: [mitigation_action_name] | |
@type mitigation_action_params :: %{} | |
@type mitigation_action_type :: binary | |
@type mitigation_actions_task_id :: binary | |
@type model_status :: binary | |
@type mqtt_client_id :: binary | |
@type mqtt_context :: %{} | |
@type mqtt_password :: binary | |
@type mqtt_username :: binary | |
@type namespace_id :: binary | |
@type next_token :: binary | |
@type non_compliant_checks_count :: integer | |
@type non_compliant_resource :: %{} | |
@type non_compliant_resources_count :: integer | |
@type not_configured_exception :: %{} | |
@type nullable_boolean :: boolean | |
@type number_list :: [number] | |
@type number_of_things :: integer | |
@type otaupdate_arn :: binary | |
@type otaupdate_description :: binary | |
@type otaupdate_error_message :: binary | |
@type otaupdate_file :: %{} | |
@type otaupdate_file_version :: binary | |
@type otaupdate_files :: [otaupdate_file] | |
@type otaupdate_id :: binary | |
@type otaupdate_info :: %{} | |
@type otaupdate_status :: binary | |
@type otaupdate_summary :: %{} | |
@type otaupdates_summary :: [otaupdate_summary] | |
@type optional_version :: integer | |
@type outgoing_certificate :: %{} | |
@type outgoing_certificates :: [outgoing_certificate] | |
@type override_dynamic_groups :: boolean | |
@type page_size :: integer | |
@type parameter :: binary | |
@type parameters :: map | |
@type partition_key :: binary | |
@type payload_field :: binary | |
@type payload_version :: binary | |
@type percent :: float | |
@type percent_list :: [percent] | |
@type percent_pair :: %{} | |
@type percent_value :: float | |
@type percentage :: integer | |
@type percentiles :: [percent_pair] | |
@type platform :: binary | |
@type policies :: [policy] | |
@type policy :: %{} | |
@type policy_arn :: binary | |
@type policy_document :: binary | |
@type policy_documents :: [policy_document] | |
@type policy_name :: binary | |
@type policy_names :: [policy_name] | |
@type policy_target :: binary | |
@type policy_targets :: [policy_target] | |
@type policy_template_name :: binary | |
@type policy_version :: %{} | |
@type policy_version_id :: binary | |
@type policy_version_identifier :: %{} | |
@type policy_versions :: [policy_version] | |
@type ports :: [port] | |
@type prefix :: binary | |
@type presigned_url_config :: %{} | |
@type primitive_boolean :: boolean | |
@type principal :: binary | |
@type principal_arn :: binary | |
@type principal_id :: binary | |
@type principals :: [principal_arn] | |
@type private_key :: binary | |
@type processing_target_name :: binary | |
@type processing_target_name_list :: [processing_target_name] | |
@type protocol :: binary | |
@type protocols :: [protocol] | |
@type provisioning_hook :: %{targetArn: target_arn} | |
@type provisioning_template_listing :: [provisioning_template_summary] | |
@type provisioning_template_summary :: %{} | |
@type provisioning_template_version_listing :: [provisioning_template_version_summary] | |
@type provisioning_template_version_summary :: %{} | |
@type public_key :: binary | |
@type public_key_map :: map | |
@type publish_finding_to_sns_params :: %{topicArn: sns_topic_arn} | |
@type put_asset_property_value_entry :: %{propertyValues: asset_property_value_list} | |
@type put_asset_property_value_entry_list :: [put_asset_property_value_entry] | |
@type put_item_input :: %{tableName: table_name} | |
@type qos :: integer | |
@type query_max_results :: integer | |
@type query_string :: binary | |
@type query_version :: binary | |
@type queue_url :: binary | |
@type queued_things :: integer | |
@type range_key_field :: binary | |
@type range_key_value :: binary | |
@type rate_increase_criteria :: %{} | |
@type reason_code :: binary | |
@type reason_for_non_compliance :: binary | |
@type reason_for_non_compliance_code :: binary | |
@type reason_for_non_compliance_codes :: [reason_for_non_compliance_code] | |
@type recursive :: boolean | |
@type recursive_without_default :: boolean | |
@type register_cacertificate_request :: %{ | |
caCertificate: certificate_pem, | |
verificationCertificate: certificate_pem | |
} | |
@type register_cacertificate_response :: %{} | |
@type register_certificate_request :: %{certificatePem: certificate_pem} | |
@type register_certificate_response :: %{} | |
@type register_certificate_without_carequest :: %{certificatePem: certificate_pem} | |
@type register_certificate_without_caresponse :: %{} | |
@type register_thing_request :: %{templateBody: template_body} | |
@type register_thing_response :: %{} | |
@type registration_code :: binary | |
@type registration_code_validation_exception :: %{} | |
@type registration_config :: %{} | |
@type registry_max_results :: integer | |
@type registry_s3bucket_name :: binary | |
@type registry_s3key_name :: binary | |
@type reject_certificate_transfer_request :: %{certificateId: certificate_id} | |
@type rejected_things :: integer | |
@type related_resource :: %{} | |
@type related_resources :: [related_resource] | |
@type remove_authorizer_config :: boolean | |
@type remove_auto_registration :: boolean | |
@type remove_hook :: boolean | |
@type remove_thing_from_billing_group_request :: %{} | |
@type remove_thing_from_billing_group_response :: %{} | |
@type remove_thing_from_thing_group_request :: %{} | |
@type remove_thing_from_thing_group_response :: %{} | |
@type remove_thing_type :: boolean | |
@type removed_things :: integer | |
@type replace_default_policy_version_params :: %{templateName: policy_template_name} | |
@type replace_topic_rule_request :: %{ruleName: rule_name, topicRulePayload: topic_rule_payload} | |
@type report_type :: binary | |
@type republish_action :: %{roleArn: aws_arn, topic: topic_pattern} | |
@type reserved_domain_configuration_name :: binary | |
@type resource :: binary | |
@type resource_already_exists_exception :: %{} | |
@type resource_arn :: binary | |
@type resource_arns :: map | |
@type resource_identifier :: %{} | |
@type resource_logical_id :: binary | |
@type resource_not_found_exception :: %{} | |
@type resource_registration_failure_exception :: %{} | |
@type resource_type :: binary | |
@type resources :: [resource] | |
@type role_alias :: binary | |
@type role_alias_arn :: binary | |
@type role_alias_description :: %{} | |
@type role_aliases :: [role_alias] | |
@type role_arn :: binary | |
@type rollout_rate_per_minute :: integer | |
@type rule_arn :: binary | |
@type rule_name :: binary | |
@type s3action :: %{bucketName: bucket_name, key: key, roleArn: aws_arn} | |
@type s3bucket :: binary | |
@type s3destination :: %{} | |
@type s3file_url :: binary | |
@type s3file_url_list :: [s3file_url] | |
@type s3key :: binary | |
@type s3location :: %{} | |
@type s3version :: binary | |
@type sql :: binary | |
@type salesforce_action :: %{token: salesforce_token, url: salesforce_endpoint} | |
@type salesforce_endpoint :: binary | |
@type salesforce_token :: binary | |
@type scheduled_audit_arn :: binary | |
@type scheduled_audit_metadata :: %{} | |
@type scheduled_audit_metadata_list :: [scheduled_audit_metadata] | |
@type scheduled_audit_name :: binary | |
@type search_index_request :: %{queryString: query_string} | |
@type search_index_response :: %{} | |
@type searchable_attributes :: [attribute_name] | |
@type seconds :: integer | |
@type security_group_id :: binary | |
@type security_group_list :: [security_group_id] | |
@type security_profile_arn :: binary | |
@type security_profile_description :: binary | |
@type security_profile_identifier :: %{arn: security_profile_arn, name: security_profile_name} | |
@type security_profile_identifiers :: [security_profile_identifier] | |
@type security_profile_name :: binary | |
@type security_profile_target :: %{arn: security_profile_target_arn} | |
@type security_profile_target_arn :: binary | |
@type security_profile_target_mapping :: %{} | |
@type security_profile_target_mappings :: [security_profile_target_mapping] | |
@type security_profile_targets :: [security_profile_target] | |
@type server_certificate_arns :: [acm_certificate_arn] | |
@type server_certificate_status :: binary | |
@type server_certificate_status_detail :: binary | |
@type server_certificate_summary :: %{} | |
@type server_certificates :: [server_certificate_summary] | |
@type server_name :: binary | |
@type service_name :: binary | |
@type service_type :: binary | |
@type service_unavailable_exception :: %{} | |
@type set_as_active :: boolean | |
@type set_as_active_flag :: boolean | |
@type set_as_default :: boolean | |
@type set_default_authorizer_request :: %{authorizerName: authorizer_name} | |
@type set_default_authorizer_response :: %{} | |
@type set_default_policy_version_request :: %{ | |
policyName: policy_name, | |
policyVersionId: policy_version_id | |
} | |
@type set_logging_options_request :: %{loggingOptionsPayload: logging_options_payload} | |
@type set_v2logging_level_request :: %{logLevel: log_level, logTarget: log_target} | |
@type set_v2logging_options_request :: %{} | |
@type sig_v4authorization :: %{ | |
roleArn: aws_arn, | |
serviceName: service_name, | |
signingRegion: signing_region | |
} | |
@type signature :: binary | |
@type signature_algorithm :: binary | |
@type signing_job_id :: binary | |
@type signing_profile_name :: binary | |
@type signing_profile_parameter :: %{} | |
@type signing_region :: binary | |
@type skipped_findings_count :: integer | |
@type skyfall_max_results :: integer | |
@type sns_action :: %{roleArn: aws_arn, targetArn: aws_arn} | |
@type sns_topic_arn :: binary | |
@type sql_parse_exception :: %{} | |
@type sqs_action :: %{queueUrl: queue_url, roleArn: aws_arn} | |
@type start_audit_mitigation_actions_task_request :: %{ | |
auditCheckToActionsMapping: audit_check_to_actions_mapping, | |
clientRequestToken: client_request_token, | |
target: audit_mitigation_actions_task_target, | |
taskId: mitigation_actions_task_id | |
} | |
@type start_audit_mitigation_actions_task_response :: %{} | |
@type start_detect_mitigation_actions_task_request :: %{ | |
actions: detect_mitigation_actions_to_execute_list, | |
clientRequestToken: client_request_token, | |
target: detect_mitigation_actions_task_target, | |
taskId: mitigation_actions_task_id | |
} | |
@type start_detect_mitigation_actions_task_response :: %{} | |
@type start_on_demand_audit_task_request :: %{targetCheckNames: target_audit_check_names} | |
@type start_on_demand_audit_task_response :: %{} | |
@type start_signing_job_parameter :: %{} | |
@type start_thing_registration_task_request :: %{ | |
inputFileBucket: registry_s3bucket_name, | |
inputFileKey: registry_s3key_name, | |
roleArn: role_arn, | |
templateBody: template_body | |
} | |
@type start_thing_registration_task_response :: %{} | |
@type state_machine_name :: binary | |
@type state_reason :: binary | |
@type state_value :: binary | |
@type statistical_threshold :: %{} | |
@type statistics :: %{} | |
@type status :: binary | |
@type std_deviation :: float | |
@type step_functions_action :: %{roleArn: aws_arn, stateMachineName: state_machine_name} | |
@type stop_thing_registration_task_request :: %{taskId: task_id} | |
@type stop_thing_registration_task_response :: %{} | |
@type stream :: %{} | |
@type stream_arn :: binary | |
@type stream_description :: binary | |
@type stream_file :: %{} | |
@type stream_files :: [stream_file] | |
@type stream_id :: binary | |
@type stream_info :: %{} | |
@type stream_name :: binary | |
@type stream_summary :: %{} | |
@type stream_version :: integer | |
@type streams_summary :: [stream_summary] | |
@type string_list :: [string_value] | |
@type string_map :: map | |
@type subnet_id :: binary | |
@type subnet_id_list :: [subnet_id] | |
@type succeeded_findings_count :: integer | |
@type succeeded_things :: integer | |
@type sum :: float | |
@type sum_of_squares :: float | |
@type suppress_alerts :: boolean | |
@type suppress_indefinitely :: boolean | |
@type suppressed_non_compliant_resources_count :: integer | |
@type table_name :: binary | |
@type tag :: %{Key: tag_key} | |
@type tag_key :: binary | |
@type tag_key_list :: [tag_key] | |
@type tag_list :: [tag] | |
@type tag_resource_request :: %{resourceArn: resource_arn, tags: tag_list} | |
@type tag_resource_response :: %{} | |
@type tag_value :: binary | |
@type target :: binary | |
@type target_arn :: binary | |
@type target_audit_check_names :: [audit_check_name] | |
@type target_selection :: binary | |
@type target_violation_ids_for_detect_mitigation_actions :: [violation_id] | |
@type targets :: [target] | |
@type task_already_exists_exception :: %{} | |
@type task_id :: binary | |
@type task_id_list :: [task_id] | |
@type task_statistics :: %{} | |
@type task_statistics_for_audit_check :: %{} | |
@type template_arn :: binary | |
@type template_body :: binary | |
@type template_description :: binary | |
@type template_name :: binary | |
@type template_version_id :: integer | |
@type test_authorization_request :: %{authInfos: auth_infos} | |
@type test_authorization_response :: %{} | |
@type test_invoke_authorizer_request :: %{authorizerName: authorizer_name} | |
@type test_invoke_authorizer_response :: %{} | |
@type thing_arn :: binary | |
@type thing_attribute :: %{} | |
@type thing_attribute_list :: [thing_attribute] | |
@type thing_connectivity :: %{} | |
@type thing_connectivity_indexing_mode :: binary | |
@type thing_document :: %{} | |
@type thing_document_list :: [thing_document] | |
@type thing_group_arn :: binary | |
@type thing_group_description :: binary | |
@type thing_group_document :: %{} | |
@type thing_group_document_list :: [thing_group_document] | |
@type thing_group_id :: binary | |
@type thing_group_indexing_configuration :: %{thingGroupIndexingMode: thing_group_indexing_mode} | |
@type thing_group_indexing_mode :: binary | |
@type thing_group_list :: [thing_group_name] | |
@type thing_group_metadata :: %{} | |
@type thing_group_name :: binary | |
@type thing_group_name_and_arn_list :: [group_name_and_arn] | |
@type thing_group_name_list :: [thing_group_name] | |
@type thing_group_names :: [thing_group_name] | |
@type thing_group_properties :: %{} | |
@type thing_id :: binary | |
@type thing_indexing_configuration :: %{thingIndexingMode: thing_indexing_mode} | |
@type thing_indexing_mode :: binary | |
@type thing_name :: binary | |
@type thing_name_list :: [thing_name] | |
@type thing_type_arn :: binary | |
@type thing_type_definition :: %{} | |
@type thing_type_description :: binary | |
@type thing_type_id :: binary | |
@type thing_type_list :: [thing_type_definition] | |
@type thing_type_metadata :: %{} | |
@type thing_type_name :: binary | |
@type thing_type_properties :: %{} | |
@type throttling_exception :: %{} | |
@type timed_out_things :: integer | |
@type timeout_config :: %{} | |
@type timestamp :: integer | |
@type timestream_action :: %{ | |
databaseName: timestream_database_name, | |
dimensions: timestream_dimension_list, | |
roleArn: aws_arn, | |
tableName: timestream_table_name | |
} | |
@type timestream_database_name :: binary | |
@type timestream_dimension :: %{ | |
name: timestream_dimension_name, | |
value: timestream_dimension_value | |
} | |
@type timestream_dimension_list :: [timestream_dimension] | |
@type timestream_dimension_name :: binary | |
@type timestream_dimension_value :: binary | |
@type timestream_table_name :: binary | |
@type timestream_timestamp :: %{ | |
unit: timestream_timestamp_unit, | |
value: timestream_timestamp_value | |
} | |
@type timestream_timestamp_unit :: binary | |
@type timestream_timestamp_value :: binary | |
@type tiny_max_results :: integer | |
@type tls_context :: %{} | |
@type token :: binary | |
@type token_key_name :: binary | |
@type token_signature :: binary | |
@type topic :: binary | |
@type topic_pattern :: binary | |
@type topic_rule :: %{} | |
@type topic_rule_destination :: %{} | |
@type topic_rule_destination_configuration :: %{} | |
@type topic_rule_destination_max_results :: integer | |
@type topic_rule_destination_status :: binary | |
@type topic_rule_destination_summaries :: [topic_rule_destination_summary] | |
@type topic_rule_destination_summary :: %{} | |
@type topic_rule_list :: [topic_rule_list_item] | |
@type topic_rule_list_item :: %{} | |
@type topic_rule_max_results :: integer | |
@type topic_rule_payload :: %{actions: action_list, sql: sql} | |
@type total_checks_count :: integer | |
@type total_findings_count :: integer | |
@type total_resources_count :: integer | |
@type transfer_already_completed_exception :: %{} | |
@type transfer_certificate_request :: %{ | |
certificateId: certificate_id, | |
targetAwsAccount: aws_account_id | |
} | |
@type transfer_certificate_response :: %{} | |
@type transfer_conflict_exception :: %{} | |
@type transfer_data :: %{} | |
@type unauthorized_exception :: %{} | |
@type undo_deprecate :: boolean | |
@type unsigned_long :: integer | |
@type untag_resource_request :: %{resourceArn: resource_arn, tagKeys: tag_key_list} | |
@type untag_resource_response :: %{} | |
@type update_account_audit_configuration_request :: %{} | |
@type update_account_audit_configuration_response :: %{} | |
@type update_audit_suppression_request :: %{ | |
checkName: audit_check_name, | |
resourceIdentifier: resource_identifier | |
} | |
@type update_audit_suppression_response :: %{} | |
@type update_authorizer_request :: %{authorizerName: authorizer_name} | |
@type update_authorizer_response :: %{} | |
@type update_billing_group_request :: %{ | |
billingGroupName: billing_group_name, | |
billingGroupProperties: billing_group_properties | |
} | |
@type update_billing_group_response :: %{} | |
@type update_cacertificate_params :: %{action: cacertificate_update_action} | |
@type update_cacertificate_request :: %{certificateId: certificate_id} | |
@type update_certificate_request :: %{ | |
certificateId: certificate_id, | |
newStatus: certificate_status | |
} | |
@type update_custom_metric_request :: %{ | |
displayName: custom_metric_display_name, | |
metricName: metric_name | |
} | |
@type update_custom_metric_response :: %{} | |
@type update_device_certificate_params :: %{action: device_certificate_update_action} | |
@type update_dimension_request :: %{name: dimension_name, stringValues: dimension_string_values} | |
@type update_dimension_response :: %{} | |
@type update_domain_configuration_request :: %{ | |
domainConfigurationName: reserved_domain_configuration_name | |
} | |
@type update_domain_configuration_response :: %{} | |
@type update_dynamic_thing_group_request :: %{ | |
thingGroupName: thing_group_name, | |
thingGroupProperties: thing_group_properties | |
} | |
@type update_dynamic_thing_group_response :: %{} | |
@type update_event_configurations_request :: %{} | |
@type update_event_configurations_response :: %{} | |
@type update_indexing_configuration_request :: %{} | |
@type update_indexing_configuration_response :: %{} | |
@type update_job_request :: %{jobId: job_id} | |
@type update_mitigation_action_request :: %{actionName: mitigation_action_name} | |
@type update_mitigation_action_response :: %{} | |
@type update_provisioning_template_request :: %{templateName: template_name} | |
@type update_provisioning_template_response :: %{} | |
@type update_role_alias_request :: %{roleAlias: role_alias} | |
@type update_role_alias_response :: %{} | |
@type update_scheduled_audit_request :: %{scheduledAuditName: scheduled_audit_name} | |
@type update_scheduled_audit_response :: %{} | |
@type update_security_profile_request :: %{securityProfileName: security_profile_name} | |
@type update_security_profile_response :: %{} | |
@type update_stream_request :: %{streamId: stream_id} | |
@type update_stream_response :: %{} | |
@type update_thing_group_request :: %{ | |
thingGroupName: thing_group_name, | |
thingGroupProperties: thing_group_properties | |
} | |
@type update_thing_group_response :: %{} | |
@type update_thing_groups_for_thing_request :: %{} | |
@type update_thing_groups_for_thing_response :: %{} | |
@type update_thing_request :: %{thingName: thing_name} | |
@type update_thing_response :: %{} | |
@type update_topic_rule_destination_request :: %{ | |
arn: aws_arn, | |
status: topic_rule_destination_status | |
} | |
@type update_topic_rule_destination_response :: %{} | |
@type url :: binary | |
@type use_base64 :: boolean | |
@type valid :: boolean | |
@type validate_security_profile_behaviors_request :: %{behaviors: behaviors} | |
@type validate_security_profile_behaviors_response :: %{} | |
@type validation_error :: %{} | |
@type validation_errors :: [validation_error] | |
@type value :: binary | |
@type variance :: float | |
@type version :: integer | |
@type version_conflict_exception :: %{} | |
@type version_number :: integer | |
@type versions_limit_exceeded_exception :: %{} | |
@type violation_event :: %{} | |
@type violation_event_additional_info :: %{} | |
@type violation_event_occurrence_range :: %{endTime: timestamp, startTime: timestamp} | |
@type violation_event_type :: binary | |
@type violation_events :: [violation_event] | |
@type violation_id :: binary | |
@type vpc_destination_configuration :: %{ | |
roleArn: aws_arn, | |
subnetIds: subnet_id_list, | |
vpcId: vpc_id | |
} | |
@type vpc_destination_properties :: %{} | |
@type vpc_destination_summary :: %{} | |
@type vpc_id :: binary | |
@type waiting_for_data_collection_checks_count :: integer | |
@type resource_id :: binary | |
@type string_value :: binary | |
@type use_prefix_attribute_value :: boolean | |
@query %ExAws.Operation.RestQuery{service: @service} | |
@spec accept_certificate_transfer(accept_certificate_transfer_request) :: nil | |
def accept_certificate_transfer(%{certificateId: certificate_id} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/accept-certificate-transfer/#{certificate_id}", | |
body: params | |
} | |
end | |
@spec add_thing_to_billing_group(add_thing_to_billing_group_request) :: | |
add_thing_to_billing_group_response | |
def add_thing_to_billing_group(%{} = params) do | |
%{@query | http_method: :put, path: "/billing-groups/addThingToBillingGroup", body: params} | |
end | |
@spec add_thing_to_thing_group(add_thing_to_thing_group_request) :: | |
add_thing_to_thing_group_response | |
def add_thing_to_thing_group(%{} = params) do | |
%{@query | http_method: :put, path: "/thing-groups/addThingToThingGroup", body: params} | |
end | |
@spec associate_targets_with_job(associate_targets_with_job_request) :: | |
associate_targets_with_job_response | |
def associate_targets_with_job(%{jobId: job_id, targets: job_targets} = params) do | |
%{@query | http_method: :post, path: "/jobs/#{job_id}/targets", body: params} | |
end | |
@spec attach_policy(attach_policy_request) :: nil | |
def attach_policy(%{policyName: policy_name, target: policy_target} = params) do | |
%{@query | http_method: :put, path: "/target-policies/#{policy_name}", body: params} | |
end | |
@spec attach_principal_policy(attach_principal_policy_request) :: nil | |
def attach_principal_policy(%{policyName: policy_name, principal: principal} = params) do | |
%{@query | http_method: :put, path: "/principal-policies/#{policy_name}", body: params} | |
end | |
@spec attach_security_profile(attach_security_profile_request) :: | |
attach_security_profile_response | |
def attach_security_profile( | |
%{ | |
securityProfileName: security_profile_name, | |
securityProfileTargetArn: security_profile_target_arn | |
} = params | |
) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/security-profiles/#{security_profile_name}/targets", | |
body: params | |
} | |
end | |
@spec attach_thing_principal(attach_thing_principal_request) :: attach_thing_principal_response | |
def attach_thing_principal(%{principal: principal, thingName: thing_name} = params) do | |
%{@query | http_method: :put, path: "/things/#{thing_name}/principals", body: params} | |
end | |
@spec cancel_audit_mitigation_actions_task(cancel_audit_mitigation_actions_task_request) :: | |
cancel_audit_mitigation_actions_task_response | |
def cancel_audit_mitigation_actions_task(%{taskId: mitigation_actions_task_id} = params) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/audit/mitigationactions/tasks/#{mitigation_actions_task_id}/cancel", | |
body: params | |
} | |
end | |
@spec cancel_audit_task(cancel_audit_task_request) :: cancel_audit_task_response | |
def cancel_audit_task(%{taskId: audit_task_id} = params) do | |
%{@query | http_method: :put, path: "/audit/tasks/#{audit_task_id}/cancel", body: params} | |
end | |
@spec cancel_certificate_transfer(cancel_certificate_transfer_request) :: nil | |
def cancel_certificate_transfer(%{certificateId: certificate_id} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/cancel-certificate-transfer/#{certificate_id}", | |
body: params | |
} | |
end | |
@spec cancel_detect_mitigation_actions_task(cancel_detect_mitigation_actions_task_request) :: | |
cancel_detect_mitigation_actions_task_response | |
def cancel_detect_mitigation_actions_task(%{taskId: mitigation_actions_task_id} = params) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/detect/mitigationactions/tasks/#{mitigation_actions_task_id}/cancel", | |
body: params | |
} | |
end | |
@spec cancel_job(cancel_job_request) :: cancel_job_response | |
def cancel_job(%{jobId: job_id} = params) do | |
%{@query | http_method: :put, path: "/jobs/#{job_id}/cancel", body: params} | |
end | |
@spec cancel_job_execution(cancel_job_execution_request) :: nil | |
def cancel_job_execution(%{jobId: job_id, thingName: thing_name} = params) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/things/#{thing_name}/jobs/#{job_id}/cancel", | |
body: params | |
} | |
end | |
@spec clear_default_authorizer(clear_default_authorizer_request) :: | |
clear_default_authorizer_response | |
def clear_default_authorizer(%{} = params) do | |
%{@query | http_method: :delete, path: "/default-authorizer", body: params} | |
end | |
@spec confirm_topic_rule_destination(confirm_topic_rule_destination_request) :: | |
confirm_topic_rule_destination_response | |
def confirm_topic_rule_destination(%{confirmationToken: confirmation_token} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/confirmdestination/#{confirmation_token}", | |
params: params | |
} | |
end | |
@spec create_audit_suppression(create_audit_suppression_request) :: | |
create_audit_suppression_response | |
def create_audit_suppression( | |
%{ | |
checkName: audit_check_name, | |
clientRequestToken: client_request_token, | |
resourceIdentifier: resource_identifier | |
} = params | |
) do | |
%{@query | http_method: :post, path: "/audit/suppressions/create", body: params} | |
end | |
@spec create_authorizer(create_authorizer_request) :: create_authorizer_response | |
def create_authorizer( | |
%{authorizerFunctionArn: authorizer_function_arn, authorizerName: authorizer_name} = | |
params | |
) do | |
%{@query | http_method: :post, path: "/authorizer/#{authorizer_name}", body: params} | |
end | |
@spec create_billing_group(create_billing_group_request) :: create_billing_group_response | |
def create_billing_group(%{billingGroupName: billing_group_name} = params) do | |
%{@query | http_method: :post, path: "/billing-groups/#{billing_group_name}", body: params} | |
end | |
@spec create_certificate_from_csr(create_certificate_from_csr_request) :: | |
create_certificate_from_csr_response | |
def create_certificate_from_csr( | |
%{certificateSigningRequest: certificate_signing_request} = params | |
) do | |
%{@query | http_method: :post, path: "/certificates", body: params} | |
end | |
@spec create_custom_metric(create_custom_metric_request) :: create_custom_metric_response | |
def create_custom_metric( | |
%{ | |
clientRequestToken: client_request_token, | |
metricName: metric_name, | |
metricType: custom_metric_type | |
} = params | |
) do | |
%{@query | http_method: :post, path: "/custom-metric/#{metric_name}", body: params} | |
end | |
@spec create_dimension(create_dimension_request) :: create_dimension_response | |
def create_dimension( | |
%{ | |
clientRequestToken: client_request_token, | |
name: dimension_name, | |
stringValues: dimension_string_values, | |
type: dimension_type | |
} = params | |
) do | |
%{@query | http_method: :post, path: "/dimensions/#{dimension_name}", body: params} | |
end | |
@spec create_domain_configuration(create_domain_configuration_request) :: | |
create_domain_configuration_response | |
def create_domain_configuration(%{domainConfigurationName: domain_configuration_name} = params) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/domainConfigurations/#{domain_configuration_name}", | |
body: params | |
} | |
end | |
@spec create_dynamic_thing_group(create_dynamic_thing_group_request) :: | |
create_dynamic_thing_group_response | |
def create_dynamic_thing_group( | |
%{queryString: query_string, thingGroupName: thing_group_name} = params | |
) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/dynamic-thing-groups/#{thing_group_name}", | |
body: params | |
} | |
end | |
@spec create_job(create_job_request) :: create_job_response | |
def create_job(%{jobId: job_id, targets: job_targets} = params) do | |
%{@query | http_method: :put, path: "/jobs/#{job_id}", body: params} | |
end | |
@spec create_keys_and_certificate(create_keys_and_certificate_request) :: | |
create_keys_and_certificate_response | |
def create_keys_and_certificate(%{} = params) do | |
%{@query | http_method: :post, path: "/keys-and-certificate", body: params} | |
end | |
@spec create_mitigation_action(create_mitigation_action_request) :: | |
create_mitigation_action_response | |
def create_mitigation_action( | |
%{ | |
actionName: mitigation_action_name, | |
actionParams: mitigation_action_params, | |
roleArn: role_arn | |
} = params | |
) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/mitigationactions/actions/#{mitigation_action_name}", | |
body: params | |
} | |
end | |
@spec create_otaupdate(create_otaupdate_request) :: create_otaupdate_response | |
def create_otaupdate( | |
%{files: otaupdate_files, otaUpdateId: otaupdate_id, roleArn: role_arn, targets: targets} = | |
params | |
) do | |
%{@query | http_method: :post, path: "/otaUpdates/#{otaupdate_id}", body: params} | |
end | |
@spec create_policy(create_policy_request) :: create_policy_response | |
def create_policy(%{policyDocument: policy_document, policyName: policy_name} = params) do | |
%{@query | http_method: :post, path: "/policies/#{policy_name}", body: params} | |
end | |
@spec create_policy_version(create_policy_version_request) :: create_policy_version_response | |
def create_policy_version(%{policyDocument: policy_document, policyName: policy_name} = params) do | |
%{@query | http_method: :post, path: "/policies/#{policy_name}/version", body: params} | |
end | |
@spec create_provisioning_claim(create_provisioning_claim_request) :: | |
create_provisioning_claim_response | |
def create_provisioning_claim(%{templateName: template_name} = params) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/provisioning-templates/#{template_name}/provisioning-claim", | |
body: params | |
} | |
end | |
@spec create_provisioning_template(create_provisioning_template_request) :: | |
create_provisioning_template_response | |
def create_provisioning_template( | |
%{provisioningRoleArn: role_arn, templateBody: template_body, templateName: template_name} = | |
params | |
) do | |
%{@query | http_method: :post, path: "/provisioning-templates", body: params} | |
end | |
@spec create_provisioning_template_version(create_provisioning_template_version_request) :: | |
create_provisioning_template_version_response | |
def create_provisioning_template_version( | |
%{templateBody: template_body, templateName: template_name} = params | |
) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/provisioning-templates/#{template_name}/versions", | |
body: params | |
} | |
end | |
@spec create_role_alias(create_role_alias_request) :: create_role_alias_response | |
def create_role_alias(%{roleAlias: role_alias, roleArn: role_arn} = params) do | |
%{@query | http_method: :post, path: "/role-aliases/#{role_alias}", body: params} | |
end | |
@spec create_scheduled_audit(create_scheduled_audit_request) :: create_scheduled_audit_response | |
def create_scheduled_audit( | |
%{ | |
frequency: audit_frequency, | |
scheduledAuditName: scheduled_audit_name, | |
targetCheckNames: target_audit_check_names | |
} = params | |
) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/audit/scheduledaudits/#{scheduled_audit_name}", | |
body: params | |
} | |
end | |
@spec create_security_profile(create_security_profile_request) :: | |
create_security_profile_response | |
def create_security_profile(%{securityProfileName: security_profile_name} = params) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/security-profiles/#{security_profile_name}", | |
body: params | |
} | |
end | |
@spec create_stream(create_stream_request) :: create_stream_response | |
def create_stream(%{files: stream_files, roleArn: role_arn, streamId: stream_id} = params) do | |
%{@query | http_method: :post, path: "/streams/#{stream_id}", body: params} | |
end | |
@spec create_thing(create_thing_request) :: create_thing_response | |
def create_thing(%{thingName: thing_name} = params) do | |
%{@query | http_method: :post, path: "/things/#{thing_name}", body: params} | |
end | |
@spec create_thing_group(create_thing_group_request) :: create_thing_group_response | |
def create_thing_group(%{thingGroupName: thing_group_name} = params) do | |
%{@query | http_method: :post, path: "/thing-groups/#{thing_group_name}", body: params} | |
end | |
@spec create_thing_type(create_thing_type_request) :: create_thing_type_response | |
def create_thing_type(%{thingTypeName: thing_type_name} = params) do | |
%{@query | http_method: :post, path: "/thing-types/#{thing_type_name}", body: params} | |
end | |
@spec create_topic_rule(create_topic_rule_request) :: nil | |
def create_topic_rule(%{ruleName: rule_name, topicRulePayload: topic_rule_payload} = params) do | |
%{@query | http_method: :post, path: "/rules/#{rule_name}", body: params} | |
end | |
@spec create_topic_rule_destination(create_topic_rule_destination_request) :: | |
create_topic_rule_destination_response | |
def create_topic_rule_destination( | |
%{destinationConfiguration: topic_rule_destination_configuration} = params | |
) do | |
%{@query | http_method: :post, path: "/destinations", body: params} | |
end | |
@spec delete_account_audit_configuration(delete_account_audit_configuration_request) :: | |
delete_account_audit_configuration_response | |
def delete_account_audit_configuration(%{} = params) do | |
%{@query | http_method: :delete, path: "/audit/configuration", body: params} | |
end | |
@spec delete_audit_suppression(delete_audit_suppression_request) :: | |
delete_audit_suppression_response | |
def delete_audit_suppression( | |
%{checkName: audit_check_name, resourceIdentifier: resource_identifier} = params | |
) do | |
%{@query | http_method: :post, path: "/audit/suppressions/delete", body: params} | |
end | |
@spec delete_authorizer(delete_authorizer_request) :: delete_authorizer_response | |
def delete_authorizer(%{authorizerName: authorizer_name} = params) do | |
%{@query | http_method: :delete, path: "/authorizer/#{authorizer_name}", body: params} | |
end | |
@spec delete_billing_group(delete_billing_group_request) :: delete_billing_group_response | |
def delete_billing_group(%{billingGroupName: billing_group_name} = params) do | |
%{@query | http_method: :delete, path: "/billing-groups/#{billing_group_name}", body: params} | |
end | |
@spec delete_cacertificate(delete_cacertificate_request) :: delete_cacertificate_response | |
def delete_cacertificate(%{certificateId: certificate_id} = params) do | |
%{@query | http_method: :delete, path: "/cacertificate/#{certificate_id}", body: params} | |
end | |
@spec delete_certificate(delete_certificate_request) :: nil | |
def delete_certificate(%{certificateId: certificate_id} = params) do | |
%{@query | http_method: :delete, path: "/certificates/#{certificate_id}", body: params} | |
end | |
@spec delete_custom_metric(delete_custom_metric_request) :: delete_custom_metric_response | |
def delete_custom_metric(%{metricName: metric_name} = params) do | |
%{@query | http_method: :delete, path: "/custom-metric/#{metric_name}", body: params} | |
end | |
@spec delete_dimension(delete_dimension_request) :: delete_dimension_response | |
def delete_dimension(%{name: dimension_name} = params) do | |
%{@query | http_method: :delete, path: "/dimensions/#{dimension_name}", body: params} | |
end | |
@spec delete_domain_configuration(delete_domain_configuration_request) :: | |
delete_domain_configuration_response | |
def delete_domain_configuration(%{domainConfigurationName: domain_configuration_name} = params) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/domainConfigurations/#{domain_configuration_name}", | |
body: params | |
} | |
end | |
@spec delete_dynamic_thing_group(delete_dynamic_thing_group_request) :: | |
delete_dynamic_thing_group_response | |
def delete_dynamic_thing_group(%{thingGroupName: thing_group_name} = params) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/dynamic-thing-groups/#{thing_group_name}", | |
body: params | |
} | |
end | |
@spec delete_job(delete_job_request) :: nil | |
def delete_job(%{jobId: job_id} = params) do | |
%{@query | http_method: :delete, path: "/jobs/#{job_id}", body: params} | |
end | |
@spec delete_job_execution(delete_job_execution_request) :: nil | |
def delete_job_execution( | |
%{executionNumber: execution_number, jobId: job_id, thingName: thing_name} = params | |
) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/things/#{thing_name}/jobs/#{job_id}/executionNumber/#{execution_number}", | |
body: params | |
} | |
end | |
@spec delete_mitigation_action(delete_mitigation_action_request) :: | |
delete_mitigation_action_response | |
def delete_mitigation_action(%{actionName: mitigation_action_name} = params) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/mitigationactions/actions/#{mitigation_action_name}", | |
body: params | |
} | |
end | |
@spec delete_otaupdate(delete_otaupdate_request) :: delete_otaupdate_response | |
def delete_otaupdate(%{otaUpdateId: otaupdate_id} = params) do | |
%{@query | http_method: :delete, path: "/otaUpdates/#{otaupdate_id}", body: params} | |
end | |
@spec delete_policy(delete_policy_request) :: nil | |
def delete_policy(%{policyName: policy_name} = params) do | |
%{@query | http_method: :delete, path: "/policies/#{policy_name}", body: params} | |
end | |
@spec delete_policy_version(delete_policy_version_request) :: nil | |
def delete_policy_version( | |
%{policyName: policy_name, policyVersionId: policy_version_id} = params | |
) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/policies/#{policy_name}/version/#{policy_version_id}", | |
body: params | |
} | |
end | |
@spec delete_provisioning_template(delete_provisioning_template_request) :: | |
delete_provisioning_template_response | |
def delete_provisioning_template(%{templateName: template_name} = params) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/provisioning-templates/#{template_name}", | |
body: params | |
} | |
end | |
@spec delete_provisioning_template_version(delete_provisioning_template_version_request) :: | |
delete_provisioning_template_version_response | |
def delete_provisioning_template_version( | |
%{templateName: template_name, versionId: template_version_id} = params | |
) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/provisioning-templates/#{template_name}/versions/#{template_version_id}", | |
body: params | |
} | |
end | |
@spec delete_registration_code(delete_registration_code_request) :: | |
delete_registration_code_response | |
def delete_registration_code(%{} = params) do | |
%{@query | http_method: :delete, path: "/registrationcode", body: params} | |
end | |
@spec delete_role_alias(delete_role_alias_request) :: delete_role_alias_response | |
def delete_role_alias(%{roleAlias: role_alias} = params) do | |
%{@query | http_method: :delete, path: "/role-aliases/#{role_alias}", body: params} | |
end | |
@spec delete_scheduled_audit(delete_scheduled_audit_request) :: delete_scheduled_audit_response | |
def delete_scheduled_audit(%{scheduledAuditName: scheduled_audit_name} = params) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/audit/scheduledaudits/#{scheduled_audit_name}", | |
body: params | |
} | |
end | |
@spec delete_security_profile(delete_security_profile_request) :: | |
delete_security_profile_response | |
def delete_security_profile(%{securityProfileName: security_profile_name} = params) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/security-profiles/#{security_profile_name}", | |
body: params | |
} | |
end | |
@spec delete_stream(delete_stream_request) :: delete_stream_response | |
def delete_stream(%{streamId: stream_id} = params) do | |
%{@query | http_method: :delete, path: "/streams/#{stream_id}", body: params} | |
end | |
@spec delete_thing(delete_thing_request) :: delete_thing_response | |
def delete_thing(%{thingName: thing_name} = params) do | |
%{@query | http_method: :delete, path: "/things/#{thing_name}", body: params} | |
end | |
@spec delete_thing_group(delete_thing_group_request) :: delete_thing_group_response | |
def delete_thing_group(%{thingGroupName: thing_group_name} = params) do | |
%{@query | http_method: :delete, path: "/thing-groups/#{thing_group_name}", body: params} | |
end | |
@spec delete_thing_type(delete_thing_type_request) :: delete_thing_type_response | |
def delete_thing_type(%{thingTypeName: thing_type_name} = params) do | |
%{@query | http_method: :delete, path: "/thing-types/#{thing_type_name}", body: params} | |
end | |
@spec delete_topic_rule(delete_topic_rule_request) :: nil | |
def delete_topic_rule(%{ruleName: rule_name} = params) do | |
%{@query | http_method: :delete, path: "/rules/#{rule_name}", body: params} | |
end | |
@spec delete_topic_rule_destination(delete_topic_rule_destination_request) :: | |
delete_topic_rule_destination_response | |
def delete_topic_rule_destination(%{arn: aws_arn} = params) do | |
%{@query | http_method: :delete, path: "/destinations/#{aws_arn}", body: params} | |
end | |
@spec delete_v2logging_level(delete_v2logging_level_request) :: nil | |
def delete_v2logging_level(%{targetName: log_target_name, targetType: log_target_type} = params) do | |
%{@query | http_method: :delete, path: "/v2LoggingLevel", body: params} | |
end | |
@spec deprecate_thing_type(deprecate_thing_type_request) :: deprecate_thing_type_response | |
def deprecate_thing_type(%{thingTypeName: thing_type_name} = params) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/thing-types/#{thing_type_name}/deprecate", | |
body: params | |
} | |
end | |
@spec describe_account_audit_configuration(describe_account_audit_configuration_request) :: | |
describe_account_audit_configuration_response | |
def describe_account_audit_configuration(%{} = params) do | |
%{@query | http_method: :get, path: "/audit/configuration", params: params} | |
end | |
@spec describe_audit_finding(describe_audit_finding_request) :: describe_audit_finding_response | |
def describe_audit_finding(%{findingId: finding_id} = params) do | |
%{@query | http_method: :get, path: "/audit/findings/#{finding_id}", params: params} | |
end | |
@spec describe_audit_mitigation_actions_task(describe_audit_mitigation_actions_task_request) :: | |
describe_audit_mitigation_actions_task_response | |
def describe_audit_mitigation_actions_task(%{taskId: mitigation_actions_task_id} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/audit/mitigationactions/tasks/#{mitigation_actions_task_id}", | |
params: params | |
} | |
end | |
@spec describe_audit_suppression(describe_audit_suppression_request) :: | |
describe_audit_suppression_response | |
def describe_audit_suppression( | |
%{checkName: audit_check_name, resourceIdentifier: resource_identifier} = params | |
) do | |
%{@query | http_method: :post, path: "/audit/suppressions/describe", body: params} | |
end | |
@spec describe_audit_task(describe_audit_task_request) :: describe_audit_task_response | |
def describe_audit_task(%{taskId: audit_task_id} = params) do | |
%{@query | http_method: :get, path: "/audit/tasks/#{audit_task_id}", params: params} | |
end | |
@spec describe_authorizer(describe_authorizer_request) :: describe_authorizer_response | |
def describe_authorizer(%{authorizerName: authorizer_name} = params) do | |
%{@query | http_method: :get, path: "/authorizer/#{authorizer_name}", params: params} | |
end | |
@spec describe_billing_group(describe_billing_group_request) :: describe_billing_group_response | |
def describe_billing_group(%{billingGroupName: billing_group_name} = params) do | |
%{@query | http_method: :get, path: "/billing-groups/#{billing_group_name}", params: params} | |
end | |
@spec describe_cacertificate(describe_cacertificate_request) :: describe_cacertificate_response | |
def describe_cacertificate(%{certificateId: certificate_id} = params) do | |
%{@query | http_method: :get, path: "/cacertificate/#{certificate_id}", params: params} | |
end | |
@spec describe_certificate(describe_certificate_request) :: describe_certificate_response | |
def describe_certificate(%{certificateId: certificate_id} = params) do | |
%{@query | http_method: :get, path: "/certificates/#{certificate_id}", params: params} | |
end | |
@spec describe_custom_metric(describe_custom_metric_request) :: describe_custom_metric_response | |
def describe_custom_metric(%{metricName: metric_name} = params) do | |
%{@query | http_method: :get, path: "/custom-metric/#{metric_name}", params: params} | |
end | |
@spec describe_default_authorizer(describe_default_authorizer_request) :: | |
describe_default_authorizer_response | |
def describe_default_authorizer(%{} = params) do | |
%{@query | http_method: :get, path: "/default-authorizer", params: params} | |
end | |
@spec describe_detect_mitigation_actions_task(describe_detect_mitigation_actions_task_request) :: | |
describe_detect_mitigation_actions_task_response | |
def describe_detect_mitigation_actions_task(%{taskId: mitigation_actions_task_id} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/detect/mitigationactions/tasks/#{mitigation_actions_task_id}", | |
params: params | |
} | |
end | |
@spec describe_dimension(describe_dimension_request) :: describe_dimension_response | |
def describe_dimension(%{name: dimension_name} = params) do | |
%{@query | http_method: :get, path: "/dimensions/#{dimension_name}", params: params} | |
end | |
@spec describe_domain_configuration(describe_domain_configuration_request) :: | |
describe_domain_configuration_response | |
def describe_domain_configuration( | |
%{domainConfigurationName: reserved_domain_configuration_name} = params | |
) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/domainConfigurations/#{reserved_domain_configuration_name}", | |
params: params | |
} | |
end | |
@spec describe_endpoint(describe_endpoint_request) :: describe_endpoint_response | |
def describe_endpoint(%{} = params) do | |
%{@query | http_method: :get, path: "/endpoint", params: params} | |
end | |
@spec describe_event_configurations(describe_event_configurations_request) :: | |
describe_event_configurations_response | |
def describe_event_configurations(%{} = params) do | |
%{@query | http_method: :get, path: "/event-configurations", params: params} | |
end | |
@spec describe_index(describe_index_request) :: describe_index_response | |
def describe_index(%{indexName: index_name} = params) do | |
%{@query | http_method: :get, path: "/indices/#{index_name}", params: params} | |
end | |
@spec describe_job(describe_job_request) :: describe_job_response | |
def describe_job(%{jobId: job_id} = params) do | |
%{@query | http_method: :get, path: "/jobs/#{job_id}", params: params} | |
end | |
@spec describe_job_execution(describe_job_execution_request) :: describe_job_execution_response | |
def describe_job_execution(%{jobId: job_id, thingName: thing_name} = params) do | |
%{@query | http_method: :get, path: "/things/#{thing_name}/jobs/#{job_id}", params: params} | |
end | |
@spec describe_mitigation_action(describe_mitigation_action_request) :: | |
describe_mitigation_action_response | |
def describe_mitigation_action(%{actionName: mitigation_action_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/mitigationactions/actions/#{mitigation_action_name}", | |
params: params | |
} | |
end | |
@spec describe_provisioning_template(describe_provisioning_template_request) :: | |
describe_provisioning_template_response | |
def describe_provisioning_template(%{templateName: template_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/provisioning-templates/#{template_name}", | |
params: params | |
} | |
end | |
@spec describe_provisioning_template_version(describe_provisioning_template_version_request) :: | |
describe_provisioning_template_version_response | |
def describe_provisioning_template_version( | |
%{templateName: template_name, versionId: template_version_id} = params | |
) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/provisioning-templates/#{template_name}/versions/#{template_version_id}", | |
params: params | |
} | |
end | |
@spec describe_role_alias(describe_role_alias_request) :: describe_role_alias_response | |
def describe_role_alias(%{roleAlias: role_alias} = params) do | |
%{@query | http_method: :get, path: "/role-aliases/#{role_alias}", params: params} | |
end | |
@spec describe_scheduled_audit(describe_scheduled_audit_request) :: | |
describe_scheduled_audit_response | |
def describe_scheduled_audit(%{scheduledAuditName: scheduled_audit_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/audit/scheduledaudits/#{scheduled_audit_name}", | |
params: params | |
} | |
end | |
@spec describe_security_profile(describe_security_profile_request) :: | |
describe_security_profile_response | |
def describe_security_profile(%{securityProfileName: security_profile_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/security-profiles/#{security_profile_name}", | |
params: params | |
} | |
end | |
@spec describe_stream(describe_stream_request) :: describe_stream_response | |
def describe_stream(%{streamId: stream_id} = params) do | |
%{@query | http_method: :get, path: "/streams/#{stream_id}", params: params} | |
end | |
@spec describe_thing(describe_thing_request) :: describe_thing_response | |
def describe_thing(%{thingName: thing_name} = params) do | |
%{@query | http_method: :get, path: "/things/#{thing_name}", params: params} | |
end | |
@spec describe_thing_group(describe_thing_group_request) :: describe_thing_group_response | |
def describe_thing_group(%{thingGroupName: thing_group_name} = params) do | |
%{@query | http_method: :get, path: "/thing-groups/#{thing_group_name}", params: params} | |
end | |
@spec describe_thing_registration_task(describe_thing_registration_task_request) :: | |
describe_thing_registration_task_response | |
def describe_thing_registration_task(%{taskId: task_id} = params) do | |
%{@query | http_method: :get, path: "/thing-registration-tasks/#{task_id}", params: params} | |
end | |
@spec describe_thing_type(describe_thing_type_request) :: describe_thing_type_response | |
def describe_thing_type(%{thingTypeName: thing_type_name} = params) do | |
%{@query | http_method: :get, path: "/thing-types/#{thing_type_name}", params: params} | |
end | |
@spec detach_policy(detach_policy_request) :: nil | |
def detach_policy(%{policyName: policy_name, target: policy_target} = params) do | |
%{@query | http_method: :post, path: "/target-policies/#{policy_name}", body: params} | |
end | |
@spec detach_principal_policy(detach_principal_policy_request) :: nil | |
def detach_principal_policy(%{policyName: policy_name, principal: principal} = params) do | |
%{@query | http_method: :delete, path: "/principal-policies/#{policy_name}", body: params} | |
end | |
@spec detach_security_profile(detach_security_profile_request) :: | |
detach_security_profile_response | |
def detach_security_profile( | |
%{ | |
securityProfileName: security_profile_name, | |
securityProfileTargetArn: security_profile_target_arn | |
} = params | |
) do | |
%{ | |
@query | |
| http_method: :delete, | |
path: "/security-profiles/#{security_profile_name}/targets", | |
body: params | |
} | |
end | |
@spec detach_thing_principal(detach_thing_principal_request) :: detach_thing_principal_response | |
def detach_thing_principal(%{principal: principal, thingName: thing_name} = params) do | |
%{@query | http_method: :delete, path: "/things/#{thing_name}/principals", body: params} | |
end | |
@spec disable_topic_rule(disable_topic_rule_request) :: nil | |
def disable_topic_rule(%{ruleName: rule_name} = params) do | |
%{@query | http_method: :post, path: "/rules/#{rule_name}/disable", body: params} | |
end | |
@spec enable_topic_rule(enable_topic_rule_request) :: nil | |
def enable_topic_rule(%{ruleName: rule_name} = params) do | |
%{@query | http_method: :post, path: "/rules/#{rule_name}/enable", body: params} | |
end | |
@spec get_behavior_model_training_summaries(get_behavior_model_training_summaries_request) :: | |
get_behavior_model_training_summaries_response | |
def get_behavior_model_training_summaries(%{} = params) do | |
%{@query | http_method: :get, path: "/behavior-model-training/summaries", params: params} | |
end | |
@spec get_cardinality(get_cardinality_request) :: get_cardinality_response | |
def get_cardinality(%{queryString: query_string} = params) do | |
%{@query | http_method: :post, path: "/indices/cardinality", body: params} | |
end | |
@spec get_effective_policies(get_effective_policies_request) :: get_effective_policies_response | |
def get_effective_policies(%{} = params) do | |
%{@query | http_method: :post, path: "/effective-policies", body: params} | |
end | |
@spec get_indexing_configuration(get_indexing_configuration_request) :: | |
get_indexing_configuration_response | |
def get_indexing_configuration(%{} = params) do | |
%{@query | http_method: :get, path: "/indexing/config", params: params} | |
end | |
@spec get_job_document(get_job_document_request) :: get_job_document_response | |
def get_job_document(%{jobId: job_id} = params) do | |
%{@query | http_method: :get, path: "/jobs/#{job_id}/job-document", params: params} | |
end | |
@spec get_logging_options(get_logging_options_request) :: get_logging_options_response | |
def get_logging_options(%{} = params) do | |
%{@query | http_method: :get, path: "/loggingOptions", params: params} | |
end | |
@spec get_otaupdate(get_otaupdate_request) :: get_otaupdate_response | |
def get_otaupdate(%{otaUpdateId: otaupdate_id} = params) do | |
%{@query | http_method: :get, path: "/otaUpdates/#{otaupdate_id}", params: params} | |
end | |
@spec get_percentiles(get_percentiles_request) :: get_percentiles_response | |
def get_percentiles(%{queryString: query_string} = params) do | |
%{@query | http_method: :post, path: "/indices/percentiles", body: params} | |
end | |
@spec get_policy(get_policy_request) :: get_policy_response | |
def get_policy(%{policyName: policy_name} = params) do | |
%{@query | http_method: :get, path: "/policies/#{policy_name}", params: params} | |
end | |
@spec get_policy_version(get_policy_version_request) :: get_policy_version_response | |
def get_policy_version(%{policyName: policy_name, policyVersionId: policy_version_id} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/policies/#{policy_name}/version/#{policy_version_id}", | |
params: params | |
} | |
end | |
@spec get_registration_code(get_registration_code_request) :: get_registration_code_response | |
def get_registration_code(%{} = params) do | |
%{@query | http_method: :get, path: "/registrationcode", params: params} | |
end | |
@spec get_statistics(get_statistics_request) :: get_statistics_response | |
def get_statistics(%{queryString: query_string} = params) do | |
%{@query | http_method: :post, path: "/indices/statistics", body: params} | |
end | |
@spec get_topic_rule(get_topic_rule_request) :: get_topic_rule_response | |
def get_topic_rule(%{ruleName: rule_name} = params) do | |
%{@query | http_method: :get, path: "/rules/#{rule_name}", params: params} | |
end | |
@spec get_topic_rule_destination(get_topic_rule_destination_request) :: | |
get_topic_rule_destination_response | |
def get_topic_rule_destination(%{arn: aws_arn} = params) do | |
%{@query | http_method: :get, path: "/destinations/#{aws_arn}", params: params} | |
end | |
@spec get_v2logging_options(get_v2logging_options_request) :: get_v2logging_options_response | |
def get_v2logging_options(%{} = params) do | |
%{@query | http_method: :get, path: "/v2LoggingOptions", params: params} | |
end | |
@spec list_active_violations(list_active_violations_request) :: list_active_violations_response | |
def list_active_violations(%{} = params) do | |
%{@query | http_method: :get, path: "/active-violations", params: params} | |
end | |
@spec list_attached_policies(list_attached_policies_request) :: list_attached_policies_response | |
def list_attached_policies(%{target: policy_target} = params) do | |
%{@query | http_method: :post, path: "/attached-policies/#{policy_target}", body: params} | |
end | |
@spec list_audit_findings(list_audit_findings_request) :: list_audit_findings_response | |
def list_audit_findings(%{} = params) do | |
%{@query | http_method: :post, path: "/audit/findings", body: params} | |
end | |
@spec list_audit_mitigation_actions_executions(list_audit_mitigation_actions_executions_request) :: | |
list_audit_mitigation_actions_executions_response | |
def list_audit_mitigation_actions_executions( | |
%{findingId: finding_id, taskId: mitigation_actions_task_id} = params | |
) do | |
%{@query | http_method: :get, path: "/audit/mitigationactions/executions", params: params} | |
end | |
@spec list_audit_mitigation_actions_tasks(list_audit_mitigation_actions_tasks_request) :: | |
list_audit_mitigation_actions_tasks_response | |
def list_audit_mitigation_actions_tasks(%{endTime: timestamp, startTime: timestamp} = params) do | |
%{@query | http_method: :get, path: "/audit/mitigationactions/tasks", params: params} | |
end | |
@spec list_audit_suppressions(list_audit_suppressions_request) :: | |
list_audit_suppressions_response | |
def list_audit_suppressions(%{} = params) do | |
%{@query | http_method: :post, path: "/audit/suppressions/list", body: params} | |
end | |
@spec list_audit_tasks(list_audit_tasks_request) :: list_audit_tasks_response | |
def list_audit_tasks(%{endTime: timestamp, startTime: timestamp} = params) do | |
%{@query | http_method: :get, path: "/audit/tasks", params: params} | |
end | |
@spec list_authorizers(list_authorizers_request) :: list_authorizers_response | |
def list_authorizers(%{} = params) do | |
%{@query | http_method: :get, path: "/authorizers/", params: params} | |
end | |
@spec list_billing_groups(list_billing_groups_request) :: list_billing_groups_response | |
def list_billing_groups(%{} = params) do | |
%{@query | http_method: :get, path: "/billing-groups", params: params} | |
end | |
@spec list_cacertificates(list_cacertificates_request) :: list_cacertificates_response | |
def list_cacertificates(%{} = params) do | |
%{@query | http_method: :get, path: "/cacertificates", params: params} | |
end | |
@spec list_certificates(list_certificates_request) :: list_certificates_response | |
def list_certificates(%{} = params) do | |
%{@query | http_method: :get, path: "/certificates", params: params} | |
end | |
@spec list_certificates_by_ca(list_certificates_by_carequest) :: list_certificates_by_caresponse | |
def list_certificates_by_ca(%{caCertificateId: certificate_id} = params) do | |
%{@query | http_method: :get, path: "/certificates-by-ca/#{certificate_id}", params: params} | |
end | |
@spec list_custom_metrics(list_custom_metrics_request) :: list_custom_metrics_response | |
def list_custom_metrics(%{} = params) do | |
%{@query | http_method: :get, path: "/custom-metrics", params: params} | |
end | |
@spec list_detect_mitigation_actions_executions( | |
list_detect_mitigation_actions_executions_request | |
) :: list_detect_mitigation_actions_executions_response | |
def list_detect_mitigation_actions_executions(%{} = params) do | |
%{@query | http_method: :get, path: "/detect/mitigationactions/executions", params: params} | |
end | |
@spec list_detect_mitigation_actions_tasks(list_detect_mitigation_actions_tasks_request) :: | |
list_detect_mitigation_actions_tasks_response | |
def list_detect_mitigation_actions_tasks(%{endTime: timestamp, startTime: timestamp} = params) do | |
%{@query | http_method: :get, path: "/detect/mitigationactions/tasks", params: params} | |
end | |
@spec list_dimensions(list_dimensions_request) :: list_dimensions_response | |
def list_dimensions(%{} = params) do | |
%{@query | http_method: :get, path: "/dimensions", params: params} | |
end | |
@spec list_domain_configurations(list_domain_configurations_request) :: | |
list_domain_configurations_response | |
def list_domain_configurations(%{} = params) do | |
%{@query | http_method: :get, path: "/domainConfigurations", params: params} | |
end | |
@spec list_indices(list_indices_request) :: list_indices_response | |
def list_indices(%{} = params) do | |
%{@query | http_method: :get, path: "/indices", params: params} | |
end | |
@spec list_job_executions_for_job(list_job_executions_for_job_request) :: | |
list_job_executions_for_job_response | |
def list_job_executions_for_job(%{jobId: job_id} = params) do | |
%{@query | http_method: :get, path: "/jobs/#{job_id}/things", params: params} | |
end | |
@spec list_job_executions_for_thing(list_job_executions_for_thing_request) :: | |
list_job_executions_for_thing_response | |
def list_job_executions_for_thing(%{thingName: thing_name} = params) do | |
%{@query | http_method: :get, path: "/things/#{thing_name}/jobs", params: params} | |
end | |
@spec list_jobs(list_jobs_request) :: list_jobs_response | |
def list_jobs(%{} = params) do | |
%{@query | http_method: :get, path: "/jobs", params: params} | |
end | |
@spec list_mitigation_actions(list_mitigation_actions_request) :: | |
list_mitigation_actions_response | |
def list_mitigation_actions(%{} = params) do | |
%{@query | http_method: :get, path: "/mitigationactions/actions", params: params} | |
end | |
@spec list_otaupdates(list_otaupdates_request) :: list_otaupdates_response | |
def list_otaupdates(%{} = params) do | |
%{@query | http_method: :get, path: "/otaUpdates", params: params} | |
end | |
@spec list_outgoing_certificates(list_outgoing_certificates_request) :: | |
list_outgoing_certificates_response | |
def list_outgoing_certificates(%{} = params) do | |
%{@query | http_method: :get, path: "/certificates-out-going", params: params} | |
end | |
@spec list_policies(list_policies_request) :: list_policies_response | |
def list_policies(%{} = params) do | |
%{@query | http_method: :get, path: "/policies", params: params} | |
end | |
@spec list_policy_principals(list_policy_principals_request) :: list_policy_principals_response | |
def list_policy_principals(%{policyName: policy_name} = params) do | |
%{@query | http_method: :get, path: "/policy-principals", params: params} | |
end | |
@spec list_policy_versions(list_policy_versions_request) :: list_policy_versions_response | |
def list_policy_versions(%{policyName: policy_name} = params) do | |
%{@query | http_method: :get, path: "/policies/#{policy_name}/version", params: params} | |
end | |
@spec list_principal_policies(list_principal_policies_request) :: | |
list_principal_policies_response | |
def list_principal_policies(%{principal: principal} = params) do | |
%{@query | http_method: :get, path: "/principal-policies", params: params} | |
end | |
@spec list_principal_things(list_principal_things_request) :: list_principal_things_response | |
def list_principal_things(%{principal: principal} = params) do | |
%{@query | http_method: :get, path: "/principals/things", params: params} | |
end | |
@spec list_provisioning_template_versions(list_provisioning_template_versions_request) :: | |
list_provisioning_template_versions_response | |
def list_provisioning_template_versions(%{templateName: template_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/provisioning-templates/#{template_name}/versions", | |
params: params | |
} | |
end | |
@spec list_provisioning_templates(list_provisioning_templates_request) :: | |
list_provisioning_templates_response | |
def list_provisioning_templates(%{} = params) do | |
%{@query | http_method: :get, path: "/provisioning-templates", params: params} | |
end | |
@spec list_role_aliases(list_role_aliases_request) :: list_role_aliases_response | |
def list_role_aliases(%{} = params) do | |
%{@query | http_method: :get, path: "/role-aliases", params: params} | |
end | |
@spec list_scheduled_audits(list_scheduled_audits_request) :: list_scheduled_audits_response | |
def list_scheduled_audits(%{} = params) do | |
%{@query | http_method: :get, path: "/audit/scheduledaudits", params: params} | |
end | |
@spec list_security_profiles(list_security_profiles_request) :: list_security_profiles_response | |
def list_security_profiles(%{} = params) do | |
%{@query | http_method: :get, path: "/security-profiles", params: params} | |
end | |
@spec list_security_profiles_for_target(list_security_profiles_for_target_request) :: | |
list_security_profiles_for_target_response | |
def list_security_profiles_for_target( | |
%{securityProfileTargetArn: security_profile_target_arn} = params | |
) do | |
%{@query | http_method: :get, path: "/security-profiles-for-target", params: params} | |
end | |
@spec list_streams(list_streams_request) :: list_streams_response | |
def list_streams(%{} = params) do | |
%{@query | http_method: :get, path: "/streams", params: params} | |
end | |
@spec list_tags_for_resource(list_tags_for_resource_request) :: list_tags_for_resource_response | |
def list_tags_for_resource(%{resourceArn: resource_arn} = params) do | |
%{@query | http_method: :get, path: "/tags", params: params} | |
end | |
@spec list_targets_for_policy(list_targets_for_policy_request) :: | |
list_targets_for_policy_response | |
def list_targets_for_policy(%{policyName: policy_name} = params) do | |
%{@query | http_method: :post, path: "/policy-targets/#{policy_name}", body: params} | |
end | |
@spec list_targets_for_security_profile(list_targets_for_security_profile_request) :: | |
list_targets_for_security_profile_response | |
def list_targets_for_security_profile(%{securityProfileName: security_profile_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/security-profiles/#{security_profile_name}/targets", | |
params: params | |
} | |
end | |
@spec list_thing_groups(list_thing_groups_request) :: list_thing_groups_response | |
def list_thing_groups(%{} = params) do | |
%{@query | http_method: :get, path: "/thing-groups", params: params} | |
end | |
@spec list_thing_groups_for_thing(list_thing_groups_for_thing_request) :: | |
list_thing_groups_for_thing_response | |
def list_thing_groups_for_thing(%{thingName: thing_name} = params) do | |
%{@query | http_method: :get, path: "/things/#{thing_name}/thing-groups", params: params} | |
end | |
@spec list_thing_principals(list_thing_principals_request) :: list_thing_principals_response | |
def list_thing_principals(%{thingName: thing_name} = params) do | |
%{@query | http_method: :get, path: "/things/#{thing_name}/principals", params: params} | |
end | |
@spec list_thing_registration_task_reports(list_thing_registration_task_reports_request) :: | |
list_thing_registration_task_reports_response | |
def list_thing_registration_task_reports(%{reportType: report_type, taskId: task_id} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/thing-registration-tasks/#{task_id}/reports", | |
params: params | |
} | |
end | |
@spec list_thing_registration_tasks(list_thing_registration_tasks_request) :: | |
list_thing_registration_tasks_response | |
def list_thing_registration_tasks(%{} = params) do | |
%{@query | http_method: :get, path: "/thing-registration-tasks", params: params} | |
end | |
@spec list_thing_types(list_thing_types_request) :: list_thing_types_response | |
def list_thing_types(%{} = params) do | |
%{@query | http_method: :get, path: "/thing-types", params: params} | |
end | |
@spec list_things(list_things_request) :: list_things_response | |
def list_things(%{} = params) do | |
%{@query | http_method: :get, path: "/things", params: params} | |
end | |
@spec list_things_in_billing_group(list_things_in_billing_group_request) :: | |
list_things_in_billing_group_response | |
def list_things_in_billing_group(%{billingGroupName: billing_group_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/billing-groups/#{billing_group_name}/things", | |
params: params | |
} | |
end | |
@spec list_things_in_thing_group(list_things_in_thing_group_request) :: | |
list_things_in_thing_group_response | |
def list_things_in_thing_group(%{thingGroupName: thing_group_name} = params) do | |
%{ | |
@query | |
| http_method: :get, | |
path: "/thing-groups/#{thing_group_name}/things", | |
params: params | |
} | |
end | |
@spec list_topic_rule_destinations(list_topic_rule_destinations_request) :: | |
list_topic_rule_destinations_response | |
def list_topic_rule_destinations(%{} = params) do | |
%{@query | http_method: :get, path: "/destinations", params: params} | |
end | |
@spec list_topic_rules(list_topic_rules_request) :: list_topic_rules_response | |
def list_topic_rules(%{} = params) do | |
%{@query | http_method: :get, path: "/rules", params: params} | |
end | |
@spec list_v2logging_levels(list_v2logging_levels_request) :: list_v2logging_levels_response | |
def list_v2logging_levels(%{} = params) do | |
%{@query | http_method: :get, path: "/v2LoggingLevel", params: params} | |
end | |
@spec list_violation_events(list_violation_events_request) :: list_violation_events_response | |
def list_violation_events(%{endTime: timestamp, startTime: timestamp} = params) do | |
%{@query | http_method: :get, path: "/violation-events", params: params} | |
end | |
@spec register_cacertificate(register_cacertificate_request) :: register_cacertificate_response | |
def register_cacertificate( | |
%{caCertificate: certificate_pem, verificationCertificate: certificate_pem} = params | |
) do | |
%{@query | http_method: :post, path: "/cacertificate", body: params} | |
end | |
@spec register_certificate(register_certificate_request) :: register_certificate_response | |
def register_certificate(%{certificatePem: certificate_pem} = params) do | |
%{@query | http_method: :post, path: "/certificate/register", body: params} | |
end | |
@spec register_certificate_without_ca(register_certificate_without_carequest) :: | |
register_certificate_without_caresponse | |
def register_certificate_without_ca(%{certificatePem: certificate_pem} = params) do | |
%{@query | http_method: :post, path: "/certificate/register-no-ca", body: params} | |
end | |
@spec register_thing(register_thing_request) :: register_thing_response | |
def register_thing(%{templateBody: template_body} = params) do | |
%{@query | http_method: :post, path: "/things", body: params} | |
end | |
@spec reject_certificate_transfer(reject_certificate_transfer_request) :: nil | |
def reject_certificate_transfer(%{certificateId: certificate_id} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/reject-certificate-transfer/#{certificate_id}", | |
body: params | |
} | |
end | |
@spec remove_thing_from_billing_group(remove_thing_from_billing_group_request) :: | |
remove_thing_from_billing_group_response | |
def remove_thing_from_billing_group(%{} = params) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/billing-groups/removeThingFromBillingGroup", | |
body: params | |
} | |
end | |
@spec remove_thing_from_thing_group(remove_thing_from_thing_group_request) :: | |
remove_thing_from_thing_group_response | |
def remove_thing_from_thing_group(%{} = params) do | |
%{@query | http_method: :put, path: "/thing-groups/removeThingFromThingGroup", body: params} | |
end | |
@spec replace_topic_rule(replace_topic_rule_request) :: nil | |
def replace_topic_rule(%{ruleName: rule_name, topicRulePayload: topic_rule_payload} = params) do | |
%{@query | http_method: :patch, path: "/rules/#{rule_name}", body: params} | |
end | |
@spec search_index(search_index_request) :: search_index_response | |
def search_index(%{queryString: query_string} = params) do | |
%{@query | http_method: :post, path: "/indices/search", body: params} | |
end | |
@spec set_default_authorizer(set_default_authorizer_request) :: set_default_authorizer_response | |
def set_default_authorizer(%{authorizerName: authorizer_name} = params) do | |
%{@query | http_method: :post, path: "/default-authorizer", body: params} | |
end | |
@spec set_default_policy_version(set_default_policy_version_request) :: nil | |
def set_default_policy_version( | |
%{policyName: policy_name, policyVersionId: policy_version_id} = params | |
) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/policies/#{policy_name}/version/#{policy_version_id}", | |
body: params | |
} | |
end | |
@spec set_logging_options(set_logging_options_request) :: nil | |
def set_logging_options(%{loggingOptionsPayload: logging_options_payload} = params) do | |
%{@query | http_method: :post, path: "/loggingOptions", body: params} | |
end | |
@spec set_v2logging_level(set_v2logging_level_request) :: nil | |
def set_v2logging_level(%{logLevel: log_level, logTarget: log_target} = params) do | |
%{@query | http_method: :post, path: "/v2LoggingLevel", body: params} | |
end | |
@spec set_v2logging_options(set_v2logging_options_request) :: nil | |
def set_v2logging_options(%{} = params) do | |
%{@query | http_method: :post, path: "/v2LoggingOptions", body: params} | |
end | |
@spec start_audit_mitigation_actions_task(start_audit_mitigation_actions_task_request) :: | |
start_audit_mitigation_actions_task_response | |
def start_audit_mitigation_actions_task( | |
%{ | |
auditCheckToActionsMapping: audit_check_to_actions_mapping, | |
clientRequestToken: client_request_token, | |
target: audit_mitigation_actions_task_target, | |
taskId: mitigation_actions_task_id | |
} = params | |
) do | |
%{ | |
@query | |
| http_method: :post, | |
path: "/audit/mitigationactions/tasks/#{mitigation_actions_task_id}", | |
body: params | |
} | |
end | |
@spec start_detect_mitigation_actions_task(start_detect_mitigation_actions_task_request) :: | |
start_detect_mitigation_actions_task_response | |
def start_detect_mitigation_actions_task( | |
%{ | |
actions: detect_mitigation_actions_to_execute_list, | |
clientRequestToken: client_request_token, | |
target: detect_mitigation_actions_task_target, | |
taskId: mitigation_actions_task_id | |
} = params | |
) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/detect/mitigationactions/tasks/#{mitigation_actions_task_id}", | |
body: params | |
} | |
end | |
@spec start_on_demand_audit_task(start_on_demand_audit_task_request) :: | |
start_on_demand_audit_task_response | |
def start_on_demand_audit_task(%{targetCheckNames: target_audit_check_names} = params) do | |
%{@query | http_method: :post, path: "/audit/tasks", body: params} | |
end | |
@spec start_thing_registration_task(start_thing_registration_task_request) :: | |
start_thing_registration_task_response | |
def start_thing_registration_task( | |
%{ | |
inputFileBucket: registry_s3bucket_name, | |
inputFileKey: registry_s3key_name, | |
roleArn: role_arn, | |
templateBody: template_body | |
} = params | |
) do | |
%{@query | http_method: :post, path: "/thing-registration-tasks", body: params} | |
end | |
@spec stop_thing_registration_task(stop_thing_registration_task_request) :: | |
stop_thing_registration_task_response | |
def stop_thing_registration_task(%{taskId: task_id} = params) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/thing-registration-tasks/#{task_id}/cancel", | |
body: params | |
} | |
end | |
@spec tag_resource(tag_resource_request) :: tag_resource_response | |
def tag_resource(%{resourceArn: resource_arn, tags: tag_list} = params) do | |
%{@query | http_method: :post, path: "/tags", body: params} | |
end | |
@spec test_authorization(test_authorization_request) :: test_authorization_response | |
def test_authorization(%{authInfos: auth_infos} = params) do | |
%{@query | http_method: :post, path: "/test-authorization", body: params} | |
end | |
@spec test_invoke_authorizer(test_invoke_authorizer_request) :: test_invoke_authorizer_response | |
def test_invoke_authorizer(%{authorizerName: authorizer_name} = params) do | |
%{@query | http_method: :post, path: "/authorizer/#{authorizer_name}/test", body: params} | |
end | |
@spec transfer_certificate(transfer_certificate_request) :: transfer_certificate_response | |
def transfer_certificate( | |
%{certificateId: certificate_id, targetAwsAccount: aws_account_id} = params | |
) do | |
%{@query | http_method: :patch, path: "/transfer-certificate/#{certificate_id}", body: params} | |
end | |
@spec untag_resource(untag_resource_request) :: untag_resource_response | |
def untag_resource(%{resourceArn: resource_arn, tagKeys: tag_key_list} = params) do | |
%{@query | http_method: :post, path: "/untag", body: params} | |
end | |
@spec update_account_audit_configuration(update_account_audit_configuration_request) :: | |
update_account_audit_configuration_response | |
def update_account_audit_configuration(%{} = params) do | |
%{@query | http_method: :patch, path: "/audit/configuration", body: params} | |
end | |
@spec update_audit_suppression(update_audit_suppression_request) :: | |
update_audit_suppression_response | |
def update_audit_suppression( | |
%{checkName: audit_check_name, resourceIdentifier: resource_identifier} = params | |
) do | |
%{@query | http_method: :patch, path: "/audit/suppressions/update", body: params} | |
end | |
@spec update_authorizer(update_authorizer_request) :: update_authorizer_response | |
def update_authorizer(%{authorizerName: authorizer_name} = params) do | |
%{@query | http_method: :put, path: "/authorizer/#{authorizer_name}", body: params} | |
end | |
@spec update_billing_group(update_billing_group_request) :: update_billing_group_response | |
def update_billing_group( | |
%{billingGroupName: billing_group_name, billingGroupProperties: billing_group_properties} = | |
params | |
) do | |
%{@query | http_method: :patch, path: "/billing-groups/#{billing_group_name}", body: params} | |
end | |
@spec update_cacertificate(update_cacertificate_request) :: nil | |
def update_cacertificate(%{certificateId: certificate_id} = params) do | |
%{@query | http_method: :put, path: "/cacertificate/#{certificate_id}", body: params} | |
end | |
@spec update_certificate(update_certificate_request) :: nil | |
def update_certificate(%{certificateId: certificate_id, newStatus: certificate_status} = params) do | |
%{@query | http_method: :put, path: "/certificates/#{certificate_id}", body: params} | |
end | |
@spec update_custom_metric(update_custom_metric_request) :: update_custom_metric_response | |
def update_custom_metric( | |
%{displayName: custom_metric_display_name, metricName: metric_name} = params | |
) do | |
%{@query | http_method: :patch, path: "/custom-metric/#{metric_name}", body: params} | |
end | |
@spec update_dimension(update_dimension_request) :: update_dimension_response | |
def update_dimension(%{name: dimension_name, stringValues: dimension_string_values} = params) do | |
%{@query | http_method: :patch, path: "/dimensions/#{dimension_name}", body: params} | |
end | |
@spec update_domain_configuration(update_domain_configuration_request) :: | |
update_domain_configuration_response | |
def update_domain_configuration( | |
%{domainConfigurationName: reserved_domain_configuration_name} = params | |
) do | |
%{ | |
@query | |
| http_method: :put, | |
path: "/domainConfigurations/#{reserved_domain_configuration_name}", | |
body: params | |
} | |
end | |
@spec update_dynamic_thing_group(update_dynamic_thing_group_request) :: | |
update_dynamic_thing_group_response | |
def update_dynamic_thing_group( | |
%{thingGroupName: thing_group_name, thingGroupProperties: thing_group_properties} = params | |
) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/dynamic-thing-groups/#{thing_group_name}", | |
body: params | |
} | |
end | |
@spec update_event_configurations(update_event_configurations_request) :: | |
update_event_configurations_response | |
def update_event_configurations(%{} = params) do | |
%{@query | http_method: :patch, path: "/event-configurations", body: params} | |
end | |
@spec update_indexing_configuration(update_indexing_configuration_request) :: | |
update_indexing_configuration_response | |
def update_indexing_configuration(%{} = params) do | |
%{@query | http_method: :post, path: "/indexing/config", body: params} | |
end | |
@spec update_job(update_job_request) :: nil | |
def update_job(%{jobId: job_id} = params) do | |
%{@query | http_method: :patch, path: "/jobs/#{job_id}", body: params} | |
end | |
@spec update_mitigation_action(update_mitigation_action_request) :: | |
update_mitigation_action_response | |
def update_mitigation_action(%{actionName: mitigation_action_name} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/mitigationactions/actions/#{mitigation_action_name}", | |
body: params | |
} | |
end | |
@spec update_provisioning_template(update_provisioning_template_request) :: | |
update_provisioning_template_response | |
def update_provisioning_template(%{templateName: template_name} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/provisioning-templates/#{template_name}", | |
body: params | |
} | |
end | |
@spec update_role_alias(update_role_alias_request) :: update_role_alias_response | |
def update_role_alias(%{roleAlias: role_alias} = params) do | |
%{@query | http_method: :put, path: "/role-aliases/#{role_alias}", body: params} | |
end | |
@spec update_scheduled_audit(update_scheduled_audit_request) :: update_scheduled_audit_response | |
def update_scheduled_audit(%{scheduledAuditName: scheduled_audit_name} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/audit/scheduledaudits/#{scheduled_audit_name}", | |
body: params | |
} | |
end | |
@spec update_security_profile(update_security_profile_request) :: | |
update_security_profile_response | |
def update_security_profile(%{securityProfileName: security_profile_name} = params) do | |
%{ | |
@query | |
| http_method: :patch, | |
path: "/security-profiles/#{security_profile_name}", | |
body: params | |
} | |
end | |
@spec update_stream(update_stream_request) :: update_stream_response | |
def update_stream(%{streamId: stream_id} = params) do | |
%{@query | http_method: :put, path: "/streams/#{stream_id}", body: params} | |
end | |
@spec update_thing(update_thing_request) :: update_thing_response | |
def update_thing(%{thingName: thing_name} = params) do | |
%{@query | http_method: :patch, path: "/things/#{thing_name}", body: params} | |
end | |
@spec update_thing_group(update_thing_group_request) :: update_thing_group_response | |
def update_thing_group( | |
%{thingGroupName: thing_group_name, thingGroupProperties: thing_group_properties} = params | |
) do | |
%{@query | http_method: :patch, path: "/thing-groups/#{thing_group_name}", body: params} | |
end | |
@spec update_thing_groups_for_thing(update_thing_groups_for_thing_request) :: | |
update_thing_groups_for_thing_response | |
def update_thing_groups_for_thing(%{} = params) do | |
%{@query | http_method: :put, path: "/thing-groups/updateThingGroupsForThing", body: params} | |
end | |
@spec update_topic_rule_destination(update_topic_rule_destination_request) :: | |
update_topic_rule_destination_response | |
def update_topic_rule_destination( | |
%{arn: aws_arn, status: topic_rule_destination_status} = params | |
) do | |
%{@query | http_method: :patch, path: "/destinations", body: params} | |
end | |
@spec validate_security_profile_behaviors(validate_security_profile_behaviors_request) :: | |
validate_security_profile_behaviors_response | |
def validate_security_profile_behaviors(%{behaviors: behaviors} = params) do | |
%{@query | http_method: :post, path: "/security-profile-behaviors/validate", body: params} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment