Class: Aws::DataSync::Types::LocationFilter

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

Narrow down the list of resources returned by ‘ListLocations`. For example, to see all your Amazon S3 locations, create a filter using `“Name”: “LocationType”`, `“Operator”: “Equals”`, and `“Values”: “S3”`.

For more information, see [filtering resources].

[1]: docs.aws.amazon.com/datasync/latest/userguide/query-resources.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the filter being used. Each API call supports a list of filters that are available for it (for example, ‘LocationType` for `ListLocations`).

Returns:

  • (String)


3638
3639
3640
3641
3642
3643
3644
# File 'lib/aws-sdk-datasync/types.rb', line 3638

class LocationFilter < Struct.new(
  :name,
  :values,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The operator that is used to compare filter values (for example, ‘Equals` or `Contains`).

Returns:

  • (String)


3638
3639
3640
3641
3642
3643
3644
# File 'lib/aws-sdk-datasync/types.rb', line 3638

class LocationFilter < Struct.new(
  :name,
  :values,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The values that you want to filter for. For example, you might want to display only Amazon S3 locations.

Returns:

  • (Array<String>)


3638
3639
3640
3641
3642
3643
3644
# File 'lib/aws-sdk-datasync/types.rb', line 3638

class LocationFilter < Struct.new(
  :name,
  :values,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end