You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SSM::Types::ListComplianceItemsRequest

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

Overview

Note:

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

{
  filters: [
    {
      key: "ComplianceStringFilterKey",
      values: ["ComplianceFilterValue"],
      type: "EQUAL", # accepts EQUAL, NOT_EQUAL, BEGIN_WITH, LESS_THAN, GREATER_THAN
    },
  ],
  resource_ids: ["ComplianceResourceId"],
  resource_types: ["ComplianceResourceType"],
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::ComplianceStringFilter>

One or more compliance filters. Use a filter to return a more specific list of results.

Returns:



6301
6302
6303
6304
6305
6306
6307
6308
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6301

class ListComplianceItemsRequest < Struct.new(
  :filters,
  :resource_ids,
  :resource_types,
  :next_token,
  :max_results)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Returns:

  • (Integer)


6301
6302
6303
6304
6305
6306
6307
6308
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6301

class ListComplianceItemsRequest < Struct.new(
  :filters,
  :resource_ids,
  :resource_types,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

A token to start the list. Use this token to get the next set of results.

Returns:

  • (String)


6301
6302
6303
6304
6305
6306
6307
6308
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6301

class ListComplianceItemsRequest < Struct.new(
  :filters,
  :resource_ids,
  :resource_types,
  :next_token,
  :max_results)
  include Aws::Structure
end

#resource_idsArray<String>

The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.

Returns:

  • (Array<String>)


6301
6302
6303
6304
6305
6306
6307
6308
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6301

class ListComplianceItemsRequest < Struct.new(
  :filters,
  :resource_ids,
  :resource_types,
  :next_token,
  :max_results)
  include Aws::Structure
end

#resource_typesArray<String>

The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance.

Returns:

  • (Array<String>)


6301
6302
6303
6304
6305
6306
6307
6308
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6301

class ListComplianceItemsRequest < Struct.new(
  :filters,
  :resource_ids,
  :resource_types,
  :next_token,
  :max_results)
  include Aws::Structure
end