Class: Aws::IoT::Types::CreateAuditSuppressionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass CreateAuditSuppressionRequest data as a hash:

{
  check_name: "AuditCheckName", # required
  resource_identifier: { # required
    device_certificate_id: "CertificateId",
    ca_certificate_id: "CertificateId",
    cognito_identity_pool_id: "CognitoIdentityPoolId",
    client_id: "ClientId",
    policy_version_identifier: {
      policy_name: "PolicyName",
      policy_version_id: "PolicyVersionId",
    },
    account: "AwsAccountId",
    iam_role_arn: "RoleArn",
    role_alias_arn: "RoleAliasArn",
  },
  expiration_date: Time.now,
  suppress_indefinitely: false,
  description: "AuditDescription",
  client_request_token: "ClientRequestToken", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#check_nameString

An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

Returns:

  • (String)


2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2807

class CreateAuditSuppressionRequest < Struct.new(
  :check_name,
  :resource_identifier,
  :expiration_date,
  :suppress_indefinitely,
  :description,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

Each audit supression must have a unique client request token. If you try to create a new audit suppression with the same token as one that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2807

class CreateAuditSuppressionRequest < Struct.new(
  :check_name,
  :resource_identifier,
  :expiration_date,
  :suppress_indefinitely,
  :description,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the audit suppression.

Returns:

  • (String)


2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2807

class CreateAuditSuppressionRequest < Struct.new(
  :check_name,
  :resource_identifier,
  :expiration_date,
  :suppress_indefinitely,
  :description,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#expiration_dateTime

The epoch timestamp in seconds at which this suppression expires.

Returns:

  • (Time)


2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2807

class CreateAuditSuppressionRequest < Struct.new(
  :check_name,
  :resource_identifier,
  :expiration_date,
  :suppress_indefinitely,
  :description,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_identifierTypes::ResourceIdentifier

Information that identifies the noncompliant resource.



2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2807

class CreateAuditSuppressionRequest < Struct.new(
  :check_name,
  :resource_identifier,
  :expiration_date,
  :suppress_indefinitely,
  :description,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#suppress_indefinitelyBoolean

Indicates whether a suppression should exist indefinitely or not.

Returns:

  • (Boolean)


2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2807

class CreateAuditSuppressionRequest < Struct.new(
  :check_name,
  :resource_identifier,
  :expiration_date,
  :suppress_indefinitely,
  :description,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end