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

Class: Aws::CloudDirectory::Types::BatchReadOperation

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchReadOperation as input to an Aws::Client method, you can use a vanilla Hash:

{
  list_object_attributes: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
    facet_filter: {
      schema_arn: "Arn",
      facet_name: "FacetName",
    },
  },
  list_object_children: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
  },
  list_attached_indices: {
    target_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
  },
  list_object_parent_paths: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
  },
  get_object_information: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
  },
  list_object_policies: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
  },
  list_policy_attachments: {
    policy_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
  },
  lookup_policy: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    next_token: "NextToken",
    max_results: 1,
  },
  list_index: {
    ranges_on_indexed_values: [
      {
        attribute_key: {
          schema_arn: "Arn", # required
          facet_name: "FacetName", # required
          name: "AttributeName", # required
        },
        range: {
          start_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
          start_value: {
            string_value: "StringAttributeValue",
            binary_value: "data",
            boolean_value: false,
            number_value: "NumberAttributeValue",
            datetime_value: Time.now,
          },
          end_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
          end_value: {
            string_value: "StringAttributeValue",
            binary_value: "data",
            boolean_value: false,
            number_value: "NumberAttributeValue",
            datetime_value: Time.now,
          },
        },
      },
    ],
    index_reference: { # required
      selector: "SelectorObjectReference",
    },
    max_results: 1,
    next_token: "NextToken",
  },
  list_outgoing_typed_links: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    filter_attribute_ranges: [
      {
        attribute_name: "AttributeName",
        range: { # required
          start_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
          start_value: {
            string_value: "StringAttributeValue",
            binary_value: "data",
            boolean_value: false,
            number_value: "NumberAttributeValue",
            datetime_value: Time.now,
          },
          end_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
          end_value: {
            string_value: "StringAttributeValue",
            binary_value: "data",
            boolean_value: false,
            number_value: "NumberAttributeValue",
            datetime_value: Time.now,
          },
        },
      },
    ],
    filter_typed_link: {
      schema_arn: "Arn", # required
      typed_link_name: "TypedLinkName", # required
    },
    next_token: "NextToken",
    max_results: 1,
  },
  list_incoming_typed_links: {
    object_reference: { # required
      selector: "SelectorObjectReference",
    },
    filter_attribute_ranges: [
      {
        attribute_name: "AttributeName",
        range: { # required
          start_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
          start_value: {
            string_value: "StringAttributeValue",
            binary_value: "data",
            boolean_value: false,
            number_value: "NumberAttributeValue",
            datetime_value: Time.now,
          },
          end_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
          end_value: {
            string_value: "StringAttributeValue",
            binary_value: "data",
            boolean_value: false,
            number_value: "NumberAttributeValue",
            datetime_value: Time.now,
          },
        },
      },
    ],
    filter_typed_link: {
      schema_arn: "Arn", # required
      typed_link_name: "TypedLinkName", # required
    },
    next_token: "NextToken",
    max_results: 1,
  },
}

Represents the output of a BatchRead operation.

Instance Attribute Summary collapse

Instance Attribute Details

#get_object_informationTypes::BatchGetObjectInformation

Retrieves metadata about an object.

Returns:

#list_attached_indicesTypes::BatchListAttachedIndices

Lists indices attached to an object.

Returns:

Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed link.

Returns:

#list_indexTypes::BatchListIndex

Lists objects attached to the specified index.

Returns:

#list_object_attributesTypes::BatchListObjectAttributes

Lists all attributes that are associated with an object.

Returns:

#list_object_childrenTypes::BatchListObjectChildren

Returns a paginated list of child objects that are associated with a given object.

Returns:

#list_object_parent_pathsTypes::BatchListObjectParentPaths

Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure.

Returns:

#list_object_policiesTypes::BatchListObjectPolicies

Returns policies attached to an object in pagination fashion.

Returns:

Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also supports filtering by typed link facet and identity attributes. For more information, see Typed link.

Returns:

#list_policy_attachmentsTypes::BatchListPolicyAttachments

Returns all of the ObjectIdentifiers to which a given policy is attached.

Returns:

#lookup_policyTypes::BatchLookupPolicy

Lists all policies from the root of the Directory to the object specified. If there are no policies present, an empty list is returned. If policies are present, and if some objects don\'t have the policies attached, it returns the ObjectIdentifier for such objects. If policies are present, it returns ObjectIdentifier, policyId, and policyType. Paths that don\'t lead to the root from the target object are ignored. For more information, see Policies.

Returns: