Opensearchserverless

This page documents function available when using the Opensearchserverless module, created with @service Opensearchserverless.

Index

Documentation

Main.Opensearchserverless.batch_get_collectionMethod
batch_get_collection()
batch_get_collection(params::Dict{String,<:Any})

Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ids": A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
  • "names": A list of collection names. You can't provide names and IDs in the same request.
Main.Opensearchserverless.batch_get_vpc_endpointMethod
batch_get_vpc_endpoint(ids)
batch_get_vpc_endpoint(ids, params::Dict{String,<:Any})

Returns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Arguments

  • ids: A list of VPC endpoint identifiers.
Main.Opensearchserverless.create_access_policyMethod
create_access_policy(name, policy, type)
create_access_policy(name, policy, type, params::Dict{String,<:Any})

Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see Data access control for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the policy.
  • policy: The JSON policy document to use as the content for the policy.
  • type: The type of policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the policy. Typically used to store information about the permissions defined in the policy.
Main.Opensearchserverless.create_collectionMethod
create_collection(name)
create_collection(name, params::Dict{String,<:Any})

Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Arguments

  • name: Name of the collection.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": Description of the collection.
  • "tags": An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
  • "type": The type of collection.
Main.Opensearchserverless.create_security_configMethod
create_security_config(name, type)
create_security_config(name, type, params::Dict{String,<:Any})

Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the security configuration.
  • type: The type of security configuration.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the security configuration.
  • "samlOptions": Describes SAML options in in the form of a key-value map. This field is required if you specify saml for the type parameter.
Main.Opensearchserverless.create_security_policyMethod
create_security_policy(name, policy, type)
create_security_policy(name, policy, type, params::Dict{String,<:Any})

Creates a security policy to be used by one or more OpenSearch Serverless collections. Security policies provide access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. They also allow you to secure a collection with a KMS encryption key. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the policy.
  • policy: The JSON policy document to use as the content for the new policy.
  • type: The type of security policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the policy. Typically used to store information about the permissions defined in the policy.
Main.Opensearchserverless.create_vpc_endpointMethod
create_vpc_endpoint(name, subnet_ids, vpc_id)
create_vpc_endpoint(name, subnet_ids, vpc_id, params::Dict{String,<:Any})

Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Arguments

  • name: The name of the interface endpoint.
  • subnet_ids: The ID of one or more subnets from which you'll access OpenSearch Serverless.
  • vpc_id: The ID of the VPC from which you'll access OpenSearch Serverless.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "securityGroupIds": The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
Main.Opensearchserverless.delete_access_policyMethod
delete_access_policy(name, type)
delete_access_policy(name, type, params::Dict{String,<:Any})

Deletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the policy to delete.
  • type: The type of policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
Main.Opensearchserverless.delete_collectionMethod
delete_collection(id)
delete_collection(id, params::Dict{String,<:Any})

Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Arguments

  • id: The unique identifier of the collection. For example, 1iu5usc406kd. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": A unique, case-sensitive identifier to ensure idempotency of the request.
Main.Opensearchserverless.delete_security_configMethod
delete_security_config(id)
delete_security_config(id, params::Dict{String,<:Any})

Deletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Arguments

  • id: The security configuration identifier. For SAML the ID will be saml/&lt;accountId&gt;/&lt;idpProviderName&gt;. For example, saml/123456789123/OKTADev.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
Main.Opensearchserverless.delete_security_policyMethod
delete_security_policy(name, type)
delete_security_policy(name, type, params::Dict{String,<:Any})

Deletes an OpenSearch Serverless security policy.

Arguments

  • name: The name of the policy to delete.
  • type: The type of policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
Main.Opensearchserverless.delete_vpc_endpointMethod
delete_vpc_endpoint(id)
delete_vpc_endpoint(id, params::Dict{String,<:Any})

Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Arguments

  • id: The VPC endpoint identifier.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
Main.Opensearchserverless.get_access_policyMethod
get_access_policy(name, type)
get_access_policy(name, type, params::Dict{String,<:Any})

Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the access policy.
  • type: Tye type of policy. Currently the only supported value is data.
Main.Opensearchserverless.get_policies_statsMethod
get_policies_stats()
get_policies_stats(params::Dict{String,<:Any})

Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.

Main.Opensearchserverless.get_security_configMethod
get_security_config(id)
get_security_config(id, params::Dict{String,<:Any})

Returns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Arguments

  • id: The unique identifier of the security configuration.
Main.Opensearchserverless.get_security_policyMethod
get_security_policy(name, type)
get_security_policy(name, type, params::Dict{String,<:Any})

Returns information about a configured OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the security policy.
  • type: The type of security policy.
Main.Opensearchserverless.list_access_policiesMethod
list_access_policies(type)
list_access_policies(type, params::Dict{String,<:Any})

Returns information about a list of OpenSearch Serverless access policies.

Arguments

  • type: The type of access policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20.
  • "nextToken": If your initial ListAccessPolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListAccessPolicies operations, which returns results in the next page.
  • "resource": Resource filters (can be collections or indexes) that policies can apply to.
Main.Opensearchserverless.list_collectionsMethod
list_collections()
list_collections(params::Dict{String,<:Any})

Lists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections. Make sure to include an empty request body {} if you don't include any collection filters in the request.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "collectionFilters": List of filter names and values that you can use for requests.
  • "maxResults": The maximum number of results to return. Default is 20. You can use nextToken to get the next page of results.
  • "nextToken": If your initial ListCollections operation returns a nextToken, you can include the returned nextToken in subsequent ListCollections operations, which returns results in the next page.
Main.Opensearchserverless.list_security_configsMethod
list_security_configs(type)
list_security_configs(type, params::Dict{String,<:Any})

Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Arguments

  • type: The type of security configuration.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20.
  • "nextToken": If your initial ListSecurityConfigs operation returns a nextToken, you can include the returned nextToken in subsequent ListSecurityConfigs operations, which returns results in the next page.
Main.Opensearchserverless.list_security_policiesMethod
list_security_policies(type)
list_security_policies(type, params::Dict{String,<:Any})

Returns information about configured OpenSearch Serverless security policies.

Arguments

  • type: The type of policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20.
  • "nextToken": If your initial ListSecurityPolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListSecurityPolicies operations, which returns results in the next page.
  • "resource": Resource filters (can be collection or indexes) that policies can apply to.
Main.Opensearchserverless.list_tags_for_resourceMethod
list_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})

Returns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) of the resource. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.
Main.Opensearchserverless.list_vpc_endpointsMethod
list_vpc_endpoints()
list_vpc_endpoints(params::Dict{String,<:Any})

Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20.
  • "nextToken": If your initial ListVpcEndpoints operation returns a nextToken, you can include the returned nextToken in subsequent ListVpcEndpoints operations, which returns results in the next page.
  • "vpcEndpointFilters": Filter the results according to the current status of the VPC endpoint. Possible statuses are CREATING, DELETING, UPDATING, ACTIVE, and FAILED.
Main.Opensearchserverless.tag_resourceMethod
tag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})

Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) of the resource. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.
  • tags: A list of tags (key-value pairs) to add to the resource. All tag keys in the request must be unique.
Main.Opensearchserverless.untag_resourceMethod
untag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})

Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) of the resource to remove tags from. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.
  • tag_keys: The tag or set of tags to remove from the resource. All tag keys in the request must be unique.
Main.Opensearchserverless.update_access_policyMethod
update_access_policy(name, policy_version, type)
update_access_policy(name, policy_version, type, params::Dict{String,<:Any})

Updates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the policy.
  • policy_version: The version of the policy being updated.
  • type: The type of policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the policy. Typically used to store information about the permissions defined in the policy.
  • "policy": The JSON policy document to use as the content for the policy.
Main.Opensearchserverless.update_account_settingsMethod
update_account_settings()
update_account_settings(params::Dict{String,<:Any})

Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "capacityLimits":
Main.Opensearchserverless.update_collectionMethod
update_collection(id)
update_collection(id, params::Dict{String,<:Any})

Updates an OpenSearch Serverless collection.

Arguments

  • id: The unique identifier of the collection.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the collection.
Main.Opensearchserverless.update_security_configMethod
update_security_config(config_version, id)
update_security_config(config_version, id, params::Dict{String,<:Any})

Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Arguments

  • config_version: The version of the security configuration to be updated. You can find the most recent version of a security configuration using the GetSecurityPolicy command.
  • id: The security configuration identifier. For SAML the ID will be saml/&lt;accountId&gt;/&lt;idpProviderName&gt;. For example, saml/123456789123/OKTADev.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the security configuration.
  • "samlOptions": SAML options in in the form of a key-value map.
Main.Opensearchserverless.update_security_policyMethod
update_security_policy(name, policy_version, type)
update_security_policy(name, policy_version, type, params::Dict{String,<:Any})

Updates an OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.

Arguments

  • name: The name of the policy.
  • policy_version: The version of the policy being updated.
  • type: The type of access policy.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "description": A description of the policy. Typically used to store information about the permissions defined in the policy.
  • "policy": The JSON policy document to use as the content for the new policy.
Main.Opensearchserverless.update_vpc_endpointMethod
update_vpc_endpoint(id)
update_vpc_endpoint(id, params::Dict{String,<:Any})

Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Arguments

  • id: The unique identifier of the interface endpoint to update.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "addSecurityGroupIds": The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
  • "addSubnetIds": The ID of one or more subnets to add to the endpoint.
  • "clientToken": Unique, case-sensitive identifier to ensure idempotency of the request.
  • "removeSecurityGroupIds": The unique identifiers of the security groups to remove from the endpoint.
  • "removeSubnetIds": The unique identifiers of the subnets to remove from the endpoint.