diff --git a/opensearchapi/api._.go b/opensearchapi/api._.go index 80f9780..50249d4 100755 --- a/opensearchapi/api._.go +++ b/opensearchapi/api._.go @@ -202,11 +202,12 @@ type Remote struct { // Security contains the Security APIs type Security struct { - Create CreateSecurityRoleMapping - Patch PatchSecurityRoleMapping - Delete DeleteSecurityRoleMapping - Get GetSecurityRoleMapping - List ListSecurityRoleMapping + Create CreateSecurityRoleMapping + BulkUpsert BulkUpsertSecurityRoleMapping + Patch PatchSecurityRoleMapping + Delete DeleteSecurityRoleMapping + Get GetSecurityRoleMapping + List ListSecurityRoleMapping } // Snapshot contains the Snapshot APIs @@ -380,11 +381,12 @@ func New(t Transport) *API { }, Remote: &Remote{}, Security: &Security{ - Create: newCreateSecurityRoleMappingFunc(t), - Patch: newPatchSecurityRoleMappingFunc(t), - Delete: newDeleteSecurityRoleMappingFunc(t), - Get: newGetSecurityRoleMappingFunc(t), - List: newListSecurityRoleMappingFunc(t), + Create: newCreateSecurityRoleMappingFunc(t), + BulkUpsert: newBulkUpsertSecurityRoleMappingFunc(t), + Patch: newPatchSecurityRoleMappingFunc(t), + Delete: newDeleteSecurityRoleMappingFunc(t), + Get: newGetSecurityRoleMappingFunc(t), + List: newListSecurityRoleMappingFunc(t), }, Snapshot: &Snapshot{ CleanupRepository: newSnapshotCleanupRepositoryFunc(t),